/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
    --terracotta-50: #fdf0ec;
    --terracotta-100: #fce4d9;
    --terracotta-200: #f8c4b3;
    --terracotta-300: #f3a088;
    --terracotta-400: #eb7d60;
    --terracotta-500: #d4624a;
    --terracotta-600: #b85d42;
    --terracotta-700: #9a4e38;
    --terracotta-800: #7d402f;
    --terracotta-900: #643427;
    
    --sand-50: #faf8f5;
    --sand-100: #f5f0e8;
    --sand-200: #ece4d4;
    --sand-300: #dfcfb5;
    --sand-400: #cfb58e;
    --sand-500: #c4a473;
    --sand-600: #b8945e;
    --sand-700: #9e7c4e;
    --sand-800: #846642;
    --sand-900: #6d5538;
    
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(100, 52, 39, 0.06), 0 1px 2px rgba(100, 52, 39, 0.04);
    --shadow-md: 0 4px 16px rgba(100, 52, 39, 0.08), 0 2px 6px rgba(100, 52, 39, 0.05);
    --shadow-lg: 0 12px 40px rgba(100, 52, 39, 0.10), 0 4px 12px rgba(100, 52, 39, 0.06);
    --shadow-xl: 0 24px 60px rgba(100, 52, 39, 0.12), 0 8px 20px rgba(100, 52, 39, 0.08);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--neutral-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--terracotta-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--terracotta-700);
}

ul {
    list-style: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta-600);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}

.skip-link:focus {
    top: 16px;
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.25;
    color: var(--neutral-900);
    font-weight: 500;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--neutral-600);
    max-width: 600px;
    line-height: 1.7;
}

.accent {
    color: var(--terracotta-600);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--terracotta-600);
    color: #fff;
    border-color: var(--terracotta-600);
    box-shadow: 0 4px 14px rgba(184, 93, 66, 0.3);
}

.btn-primary:hover {
    background: var(--terracotta-700);
    border-color: var(--terracotta-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 93, 66, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--terracotta-600);
    border-color: var(--terracotta-300);
}

.btn-outline:hover {
    background: var(--terracotta-50);
    border-color: var(--terracotta-600);
    color: var(--terracotta-700);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

/* ========================================
   Header
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--neutral-800);
}

.logo-icon {
    color: var(--terracotta-600);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.logo-accent {
    color: var(--terracotta-600);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--terracotta-600);
    background: var(--terracotta-50);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--sand-100);
}

.mobile-menu-btn svg {
    transition: transform var(--transition-base);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line-top {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .menu-line-mid {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .menu-line-bot {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    animation: slideDown 0.25s ease;
}

.nav-links.open a {
    padding: 12px 16px;
    width: 100%;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
    
    .nav-links.open {
        position: static;
        animation: none;
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
        border: none;
    }
}

/* ========================================
   Hero
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--terracotta-50) 100%);
    padding: 48px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 48px;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta-700);
    background: rgba(184, 93, 66, 0.1);
    border: 1px solid var(--terracotta-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.trust-item svg {
    color: var(--terracotta-500);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 7/8;
    background: var(--sand-200);
}

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

.hero-float-card {
    position: absolute;
    bottom: 32px;
    left: -24px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.float-card-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.float-card-label {
    font-size: 0.78rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.float-card-value {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--neutral-800);
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-wave {
    margin-top: -1px;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

@media (min-width: 1024px) {
    .hero {
        padding: 64px 0 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        padding-bottom: 64px;
    }
    
    .hero-float-card {
        left: -32px;
        bottom: 48px;
    }
}

/* ========================================
   Services
   ======================================== */
.services {
    background: var(--sand-50);
    padding: 72px 0 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--sand-200);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--terracotta-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--terracotta-600);
    color: #fff;
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--neutral-800);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services {
        padding: 96px 0 104px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ========================================
   About
   ======================================== */
.about {
    background: #fff;
    padding: 72px 0 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: var(--sand-200);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -28px;
    right: -16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #fff;
    aspect-ratio: 4/3;
    width: 60%;
    max-width: 200px;
    background: var(--sand-200);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -16px;
    right: -8px;
    background: var(--terracotta-600);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
}

.about-experience-badge .exp-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    font-weight: 600;
}

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

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--neutral-700);
    line-height: 1.5;
}

.value-icon {
    width: 32px;
    height: 32px;
    background: var(--terracotta-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .about {
        padding: 96px 0 104px;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 72px;
    }
}

/* ========================================
   New Patients
   ======================================== */
.new-patients {
    background: linear-gradient(135deg, var(--terracotta-600) 0%, var(--terracotta-700) 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.new-patients::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.new-patients::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.new-patients .container {
    position: relative;
    z-index: 1;
}

.new-patients-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.new-patients .section-tag {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.new-patients .section-title {
    color: #fff;
}

.new-patients .accent {
    color: var(--sand-200);
}

.new-patients .about-text {
    color: rgba(255, 255, 255, 0.85);
}

.new-patient-steps {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.new-patient-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-num {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    padding-top: 3px;
}

.new-patient-steps a {
    color: var(--sand-200);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.new-patient-steps a:hover {
    color: #fff;
}

.new-patients-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    text-align: center;
    max-width: 340px;
}

.visual-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin: 0 auto 20px;
}

.visual-card-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.visual-card .btn-primary {
    background: #fff;
    color: var(--terracotta-600);
    border-color: #fff;
}

.visual-card .btn-primary:hover {
    background: var(--sand-100);
    border-color: var(--sand-100);
    color: var(--terracotta-700);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .new-patients {
        padding: 96px 0 104px;
    }
    
    .new-patients-inner {
        grid-template-columns: 1.1fr 1fr;
        gap: 72px;
    }
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
    background: var(--sand-100);
    padding: 72px 0 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1px solid var(--sand-200);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-quote-mark {
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta-200);
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.98rem;
    color: var(--neutral-700);
    line-height: 1.75;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    padding-top: 8px;
}

.testimonial-author {
    font-size: 0.85rem;
    color: var(--terracotta-600);
    font-weight: 500;
    font-style: italic;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 96px 0 104px;
    }
}

/* ========================================
   Contact
   ======================================== */
.contact {
    background: #fff;
    padding: 72px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neutral-800);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--terracotta-600);
}

.contact-detail a:hover {
    color: var(--terracotta-700);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--sand-50);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    border: 1px solid var(--sand-200);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--neutral-800);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--neutral-800);
    background: #fff;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px rgba(184, 93, 66, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 16px;
    color: #065f46;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.form-success svg {
    color: #10b981;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .contact {
        padding: 96px 0 104px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--terracotta-300);
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact a {
    color: var(--terracotta-300);
}

.footer-contact a:hover {
    color: var(--terracotta-200);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--terracotta-300);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========================================
   Scroll Animations
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s 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; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
