/* ============================================
   ELICA HEALTH CENTERS — Brand Stylesheet
   Palette: Terracotta + Sand | Serif + Sans
   ============================================ */

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

:root {
    /* Terracotta + Sand Palette */
    --terracotta-50:  #fdf2ee;
    --terracotta-100: #fce4d8;
    --terracotta-200: #f8c4b0;
    --terracotta-300: #f0a080;
    --terracotta-400: #e8784e;
    --terracotta-500: #c45a2e;
    --terracotta-600: #b8603c;
    --terracotta-700: #9a4d30;
    --terracotta-800: #7d3f28;
    --terracotta-900: #5e2f1f;
    --terracotta-950: #3a1c11;

    --sand-50:  #fdfbf7;
    --sand-100: #faf5ec;
    --sand-200: #f3e8d0;
    --sand-300: #e8d4a8;
    --sand-400: #d4b878;
    --sand-500: #c4a055;
    --sand-600: #a88342;
    --sand-700: #8a6835;
    --sand-800: #6e522c;
    --sand-900: #4a381e;
    --sand-950: #2a1f0e;

    --cream: #faf8f4;
    --warm-white: #fefcf9;
    --warm-gray-50:  #f9f7f3;
    --warm-gray-100: #f0ebe2;
    --warm-gray-200: #e2dbce;
    --warm-gray-300: #c8bfb0;
    --warm-gray-400: #a89d8c;
    --warm-gray-500: #7a7066;
    --warm-gray-600: #5c544a;
    --warm-gray-700: #3d3730;
    --warm-gray-800: #2a2420;
    --warm-gray-900: #1a1512;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--warm-gray-800);
    background-color: var(--warm-white);
    line-height: 1.6;
    -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: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    color: var(--warm-gray-900);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background-color: var(--terracotta-400);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
    color: var(--warm-gray-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray-500);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--terracotta-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 96, 60, 0.3);
}

.btn-ghost {
    background-color: transparent;
    color: var(--warm-gray-700);
    border: 1.5px solid var(--warm-gray-300);
}

.btn-ghost:hover {
    border-color: var(--terracotta-400);
    color: var(--terracotta-600);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(254, 252, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    border-color: var(--warm-gray-200);
    box-shadow: 0 1px 12px rgba(42, 36, 32, 0.06);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-gray-900);
}

.nav-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--terracotta-600);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    font-family: var(--font-serif);
}

.nav-logo-text {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--warm-gray-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--terracotta-500);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-cta {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: var(--terracotta-600) !important;
    border: 1.5px solid var(--terracotta-200);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out-expo) !important;
}

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

.nav-cta:hover {
    background-color: var(--terracotta-50) !important;
    border-color: var(--terracotta-400) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--warm-gray-700);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--warm-gray-800);
    padding: 12px 0;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--terracotta-600);
}

.mobile-menu-divider {
    width: 48px;
    height: 1px;
    background-color: var(--warm-gray-200);
    margin: 8px 0;
}

.mobile-menu-cta {
    font-size: 1.1rem;
    color: var(--terracotta-600);
    padding: 8px 0;
    font-weight: 500;
}

.mobile-menu-btn {
    margin-top: 8px;
    background-color: var(--terracotta-600);
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 500;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 24px 60px;
    background-color: var(--sand-100);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(184, 96, 60, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 184, 120, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-left {
    padding-right: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 28px;
}

.hero-eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background-color: var(--terracotta-400);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 28px;
    color: var(--warm-gray-900);
    font-weight: 500;
}

.hero-headline em {
    font-style: italic;
    color: var(--terracotta-600);
    font-weight: 400;
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--warm-gray-600);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--terracotta-600);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray-500);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--warm-gray-200);
}

/* Hero Right — Image */
.hero-right {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--terracotta-300);
    border-radius: 4px;
    z-index: -1;
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -32px;
    background-color: var(--warm-white);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(42, 36, 32, 0.12);
    z-index: 2;
}

.hero-floating-icon {
    width: 40px;
    height: 40px;
    background-color: var(--terracotta-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    flex-shrink: 0;
}

.hero-floating-title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--warm-gray-800);
}

.hero-floating-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--warm-gray-500);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-400);
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--terracotta-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ── Services ── */
.services {
    padding: 120px 0;
    background-color: var(--warm-white);
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-eyebrow {
    justify-content: center;
}

.services-header .section-eyebrow::before {
    display: none;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: 6px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--terracotta-400), var(--terracotta-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 36, 32, 0.08);
    border-color: var(--terracotta-200);
}

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

.service-card-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--terracotta-300);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 52px;
    height: 52px;
    background-color: var(--terracotta-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin-bottom: 20px;
    transition: all 0.3s var(--ease-out-expo);
}

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

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--terracotta-600);
    letter-spacing: 0.02em;
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    gap: 8px;
}

/* ── About ── */
.about {
    padding: 120px 0;
    background-color: var(--sand-100);
}

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

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

.about-image-main {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(42, 36, 32, 0.1);
}

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 6px;
    overflow: hidden;
    border: 4px solid var(--sand-100);
    box-shadow: 0 8px 32px rgba(42, 36, 32, 0.1);
}

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

.about-text-col .section-title {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray-600);
    margin-bottom: 16px;
}

.about-body {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--warm-gray-500);
    margin-bottom: 36px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.about-value strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--warm-gray-800);
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.875rem;
    color: var(--warm-gray-500);
    line-height: 1.5;
}

/* ── Approach ── */
.approach {
    padding: 120px 0;
    background-color: var(--warm-gray-900);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 96, 60, 0.15), transparent 70%);
    pointer-events: none;
}

.approach-content {
    position: relative;
    z-index: 1;
}

.approach-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.approach-quote-mark {
    font-family: var(--font-serif);
    font-size: 6rem;
    line-height: 1;
    color: var(--terracotta-500);
    opacity: 0.4;
    margin-bottom: -20px;
    display: block;
}

.approach-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--sand-100);
    margin-bottom: 24px;
}

.approach-quote-attribution {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta-400);
}

.approach-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.approach-pillar {
    padding: 36px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    transition: all 0.4s var(--ease-out-expo);
}

.approach-pillar:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(184, 96, 60, 0.3);
    transform: translateY(-4px);
}

.approach-pillar-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--terracotta-500);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.approach-pillar h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.approach-pillar p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--warm-gray-400);
}

/* ── Testimonials ── */
.testimonials {
    padding: 120px 0;
    background-color: var(--warm-white);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonials-header .section-eyebrow {
    justify-content: center;
}

.testimonials-header .section-eyebrow::before {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background-color: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: 6px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(42, 36, 32, 0.08);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta-300);
    position: absolute;
    top: 20px;
    right: 28px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--warm-gray-600);
    margin-bottom: 24px;
    padding-top: 16px;
}

.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--terracotta-600);
    letter-spacing: 0.02em;
    padding-top: 16px;
    border-top: 1px solid var(--sand-200);
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background-color: var(--sand-100);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--warm-gray-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray-700);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form-col {
    background-color: var(--warm-white);
    border: 1px solid var(--warm-gray-200);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(42, 36, 32, 0.06);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--warm-gray-900);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--warm-gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--warm-gray-200);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--warm-gray-800);
    background-color: var(--warm-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

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

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

.form-privacy {
    font-size: 0.75rem;
    color: var(--warm-gray-400);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--terracotta-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-600);
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

/* ── Map ── */
.map-section {
    background-color: var(--warm-gray-100);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 320px;
    filter: saturate(0.6) contrast(1.05);
}

/* ── Footer ── */
.footer {
    background-color: var(--warm-gray-900);
    color: var(--warm-gray-400);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .nav-logo-mark {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sand-100);
}

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

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

.footer-nav a {
    font-size: 0.875rem;
    color: var(--warm-gray-500);
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--terracotta-400);
    transition: color 0.2s ease;
}

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

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

.footer-legal {
    max-width: 480px;
    text-align: right;
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.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 ── */
@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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .hero-scroll-line {
        animation: none;
        opacity: 0.6;
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-right {
        max-width: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .approach-pillars {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 24px 80px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    .hero-floating-card {
        left: 16px;
        bottom: 24px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-image-secondary {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 16px;
        border: none;
    }
    
    .approach {
        padding: 80px 0;
    }
    
    .testimonials {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-form-col {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal {
        text-align: left;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}
