/* ============================================
   Raymer Psychotherapy — Custom Styles
   Palette: Terracotta + Sand | Serif + Sans
   ============================================ */

:root {
    /* Terracotta */
    --terra-50: #fdf0ec;
    --terra-100: #fce4db;
    --terra-200: #f7c4b4;
    --terra-300: #ef9f87;
    --terra-400: #e47d5e;
    --terra-500: #d4634a;
    --terra-600: #b85c38;
    --terra-700: #9a4d30;
    --terra-800: #7e402a;
    --terra-900: #683624;

    /* Sand */
    --sand-50: #faf8f5;
    --sand-100: #f5f0e8;
    --sand-200: #ece2d0;
    --sand-300: #dfcbb0;
    --sand-400: #d0b48e;
    --sand-500: #c09e72;
    --sand-600: #a8845a;
    --sand-700: #8c6b48;
    --sand-800: #74593e;
    --sand-900: #614b35;

    /* Neutrals */
    --neutral-50: #faf9f7;
    --neutral-100: #f3f1ed;
    --neutral-200: #e8e4de;
    --neutral-300: #d4cfc7;
    --neutral-400: #b8b0a4;
    --neutral-500: #8e8579;
    --neutral-600: #6e665c;
    --neutral-700: #544e46;
    --neutral-800: #3d3831;
    --neutral-900: #27241f;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --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;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* 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: 1rem;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

input, select, textarea, button {
    font: inherit;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--terra-700);
    color: #fff;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    text-decoration: none;
    font-weight: 500;
}
.skip-link:focus {
    top: var(--space-md);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
}

@media (max-width: 480px) {
    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 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);
    height: var(--header-height);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(126, 64, 42, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--terra-700);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    flex-shrink: 0;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
}

.nav-links a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--neutral-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

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

.nav-cta {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    margin-left: auto;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--terra-50);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--sand-50);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl);
        gap: var(--space-sm);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        overflow-y: auto;
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }

    .nav-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        margin-top: var(--space-lg);
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.7em 1.6em;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terra-700);
    border-color: var(--terra-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-lg {
    padding: 0.9em 2em;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section Shared
   ============================================ */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: var(--space-md);
}

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

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            var(--terra-700) 0%,
            var(--terra-500) 25%,
            var(--sand-500) 50%,
            var(--terra-400) 75%,
            var(--terra-800) 100%
        );
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(184, 92, 56, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(192, 158, 114, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(250, 248, 245, 0.08) 0%, transparent 60%);
}

/* Subtle pattern overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(104, 54, 36, 0.15) 0%,
        rgba(104, 54, 36, 0.05) 50%,
        rgba(104, 54, 36, 0.25) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: var(--space-xl);
}

.hero-title em {
    font-style: italic;
    color: var(--sand-200);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.trust-item svg {
    opacity: 0.7;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    animation: scroll-bounce 2s ease-in-out infinite;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

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

.service-card:hover {
    border-color: var(--terra-200);
    box-shadow: 0 8px 32px rgba(184, 92, 56, 0.1);
    transform: translateY(-2px);
}

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

.service-card:hover .service-icon {
    background: var(--terra-100);
}

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

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

/* ============================================
   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 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--sand-200);
}

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

.about-content .section-eyebrow {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--sand-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--terra-700);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-500);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image-wrap {
        aspect-ratio: 16/10;
    }

    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
}

/* ============================================
   Approach
   ============================================ */
.approach {
    padding: var(--space-4xl) 0;
    background: var(--sand-50);
}

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

.approach-step {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
}

.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: calc(var(--space-xl) / -2);
    width: 1px;
    height: 60px;
    background: var(--sand-300);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terra-200);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

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

@media (max-width: 900px) {
    .approach-steps {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .approach-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .approach-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial-section {
    padding: var(--space-4xl) 0;
    background:
        linear-gradient(135deg, var(--terra-800) 0%, var(--terra-600) 50%, var(--terra-700) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.testimonial-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.quote-mark {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: var(--space-xl);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: #fff;
    margin-bottom: var(--space-xl);
}

.testimonial-attr {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--sand-50);
}

.faq-list {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--sand-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--sand-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-xl) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--neutral-800);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--terra-700);
}

.faq-question[aria-expanded="true"] {
    color: var(--terra-700);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--terra-500);
    transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer.open {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--neutral-600);
}

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

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

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

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

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-400);
    margin-bottom: var(--space-xs);
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--neutral-800);
    font-weight: 500;
}

.contact-link {
    font-size: 1rem;
    color: var(--terra-600);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--terra-800);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--sand-200);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7em 1em;
    font-size: 0.95rem;
    color: var(--neutral-800);
    background: var(--sand-50);
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-400);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 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: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    border-radius: var(--radius-md);
    color: var(--terra-800);
    font-size: 0.95rem;
    margin-top: var(--space-lg);
}

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

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-light {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-md);
}

.footer-note {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: var(--space-lg);
}

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

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

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

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.footer-link {
    color: var(--terra-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--terra-300);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    max-width: 680px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }
}
</style>
