/* ========================================
   John D Mountjoy DMD — Dental Practice
   Plum + Amber Color Palette
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8cfd9;
    --plum-300: #d4a5b8;
    --plum-400: #c07a96;
    --plum-500: #a85578;
    --plum-600: #8e3d5e;
    --plum-700: #7b2d4a;
    --plum-800: #4a1528;
    --plum-900: #2a0c15;
    --plum-950: #1a080e;

    --amber-50: #fffbeb;
    --amber-100: #fff3cd;
    --amber-200: #ffeaa8;
    --amber-300: #ffd06b;
    --amber-400: #ffc020;
    --amber-500: #d4a017;
    --amber-600: #b8860b;
    --amber-700: #92600a;
    --amber-800: #6b4507;
    --amber-900: #442c05;

    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --neutral-950: #0c0a09;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-600));
    color: white;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--neutral-900);
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--neutral-600);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--plum-600);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--plum-700);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--plum-700);
    color: white !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background var(--transition), transform var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--plum-800);
    color: white !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle-bar {
    width: 22px;
    height: 1.5px;
    background: var(--neutral-700);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 13, 21, 0.82) 0%,
        rgba(74, 21, 40, 0.75) 50%,
        rgba(123, 45, 74, 0.68) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255, 208, 107, 0.3);
    padding: var(--space-xs) var(--space-md);
    border-radius: 100px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: white;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-300);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-2xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-details {
    display: flex;
    justify-content: center;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}

.hero-detail svg {
    color: var(--amber-400);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--amber-500);
    color: var(--neutral-900);
}

.btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--amber-300);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   Section Shared
   ======================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
}

.section-tag-light {
    color: var(--amber-300);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--neutral-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.section-title-light {
    color: white;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-500);
    line-height: 1.8;
}

/* ========================================
   Services
   ======================================== */
.services {
    padding: var(--space-4xl) 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--plum-50);
    color: var(--plum-700);
    margin-bottom: var(--space-xl);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--plum-700);
    color: white;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ========================================
   About
   ======================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--neutral-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--plum-200), var(--plum-100));
    border-radius: var(--radius-lg);
    z-index: 0;
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-values {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.value-item {
    border-left: 2px solid var(--plum-200);
    padding-left: var(--space-lg);
    transition: border-color var(--transition);
}

.value-item:hover {
    border-left-color: var(--plum-600);
}

.value-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.value-item p {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* ========================================
   Divider
   ======================================== */
.section-divider {
    padding: var(--space-3xl) 0;
    background: var(--plum-800);
}

.divider-line {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.divider-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-style: italic;
    color: var(--plum-200);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.divider-line::before,
.divider-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--plum-600);
}

.divider-line::before {
    left: calc(50% - 80px);
}

.divider-line::after {
    right: calc(50% - 80px);
}

/* ========================================
   Patient Info
   ======================================== */
.patient-info {
    padding: var(--space-4xl) 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.info-card {
    padding: var(--space-2xl);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition);
}

.info-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    color: var(--plum-700);
}

.info-card-header svg {
    flex-shrink: 0;
}

.info-card-header h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.info-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--neutral-200);
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list li span:first-child {
    color: var(--neutral-600);
    font-weight: 400;
}

.info-list li span:last-child {
    color: var(--neutral-900);
    font-weight: 500;
}

.info-desc {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ========================================
   CTA / Contact
   ======================================== */
.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 13, 21, 0.88) 0%,
        rgba(74, 21, 40, 0.82) 100%
    );
}

.cta .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.cta-content {
    padding-top: var(--space-xl);
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 420px;
}

.cta-contact-row {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--amber-400);
    transition: color var(--transition);
}

.cta-phone:hover {
    color: var(--amber-300);
}

.cta-divider {
    color: rgba(255, 255, 255, 0.3);
}

.cta-address {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-address svg {
    color: var(--amber-400);
}

/* Contact Form */
.cta-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-2xl);
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neutral-700);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem var(--space-md);
    font-family: var(--font-sans);
    font-size: 0.925rem;
    color: var(--neutral-900);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    background: white;
    box-shadow: 0 0 0 3px rgba(168, 85, 120, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    font-size: 0.925rem;
    margin-top: var(--space-lg);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--plum-600);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    color: white;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--neutral-500);
    max-width: 280px;
}

.footer h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-lg);
}

.footer address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.footer a {
    color: var(--neutral-400);
    transition: color var(--transition);
}

.footer a:hover {
    color: var(--amber-400);
}

.footer-hours ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.footer-hours li span:first-child {
    color: var(--neutral-500);
}

.footer-hours li span:last-child {
    color: var(--neutral-300);
    font-weight: 400;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--neutral-600);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--neutral-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-2xl) var(--space-2xl);
        gap: var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-overlay {
        display: block;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image img {
        height: 350px;
    }

    .about-content {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .cta-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav-inner {
        padding: 0 var(--space-md);
    }

    .hero-content {
        padding: var(--space-3xl) var(--space-md);
    }

    .service-card {
        padding: var(--space-xl);
    }

    .cta-form-wrap {
        padding: var(--space-xl);
    }
}
