/* ============================================
   Dee A. Elliott, DC — Chiropractic Website
   Terracotta + Sand | Fresh & Airy
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --terracotta-50: #fdf0ec;
    --terracotta-100: #fce4db;
    --terracotta-200: #f8c4b4;
    --terracotta-300: #f3a088;
    --terracotta-400: #ec7556;
    --terracotta-500: #e05a34;
    --terracotta-600: #c4785b;
    --terracotta-700: #a85e42;
    --terracotta-800: #8a4a35;
    --terracotta-900: #723d2e;
    --terracotta-950: #3f1f16;

    --sand-50: #fefcf8;
    --sand-100: #fdf6ec;
    --sand-200: #faedcf;
    --sand-300: #f5deb3;
    --sand-400: #e8c97a;
    --sand-500: #d4a853;
    --sand-600: #b8862e;
    --sand-700: #96661f;
    --sand-800: #7a511b;
    --sand-900: #654217;
    --sand-950: #36230a;

    --warm-gray-50: #faf8f6;
    --warm-gray-100: #f5f0eb;
    --warm-gray-200: #ebe4dc;
    --warm-gray-300: #d6cdc3;
    --warm-gray-400: #b8ada2;
    --warm-gray-500: #968779;
    --warm-gray-600: #7a6b5e;
    --warm-gray-700: #5e5046;
    --warm-gray-800: #423830;
    --warm-gray-900: #2a231e;

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

    --shadow-sm: 0 1px 2px rgba(63, 31, 22, 0.05);
    --shadow-md: 0 4px 12px rgba(63, 31, 22, 0.08);
    --shadow-lg: 0 12px 32px rgba(63, 31, 22, 0.10);
    --shadow-xl: 0 20px 48px rgba(63, 31, 22, 0.12);

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

    --transition: 0.3s 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-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--warm-gray-800);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.25;
    color: var(--warm-gray-900);
}

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--terracotta-500);
    outline-offset: 2px;
}

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--warm-gray-600);
    max-width: 560px;
    margin-top: 12px;
}

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

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--terracotta-700);
    border-color: var(--terracotta-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--terracotta-50);
    color: var(--terracotta-700);
}

.btn-white {
    background: #fff;
    color: var(--terracotta-700);
    border: 2px solid #fff;
}

.btn-white:hover {
    background: var(--sand-100);
    color: var(--terracotta-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

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

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

.btn-full {
    width: 100%;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 252, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    transition: box-shadow var(--transition);
}

.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;
    color: var(--warm-gray-900);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
}

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

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

.logo-text {
    font-style: italic;
}

/* Nav */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    color: var(--warm-gray-700);
    font-size: 0.9rem;
    font-weight: 450;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--terracotta-50) 50%, var(--sand-100) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 120, 91, 0.08) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(212, 168, 83, 0.06) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    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='%23c4785b' 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-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terracotta-600);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--terracotta-400);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: var(--warm-gray-900);
    line-height: 1.15;
    margin-bottom: 20px;
}

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

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

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-600);
}

.trust-item svg {
    color: var(--sand-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 520/640;
    width: 100%;
    max-width: 440px;
}

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

.hero-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-800);
}

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

/* Decorative blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 120, 91, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 480/560;
}

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

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--sand-50);
    aspect-ratio: 300/260;
    width: 220px;
}

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

.about-accent-box {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--terracotta-600);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-accent-box .accent-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.about-accent-box .accent-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 4px;
}

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--warm-gray-600);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.about-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--warm-gray-700);
}

.list-icon {
    color: var(--terracotta-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--warm-gray-50) 0%, var(--sand-50) 100%);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid rgba(212, 168, 83, 0.08);
    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(--sand-400));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card:hover::before {
    opacity: 1;
}

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

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

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--warm-gray-900);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--warm-gray-600);
    line-height: 1.65;
}

/* --- Approach --- */
.approach {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--terracotta-50) 0%, var(--sand-100) 100%);
}

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

.approach-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.approach-intro {
    color: var(--warm-gray-600);
    font-size: 1.02rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.approach-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--terracotta-300);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.approach-step h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--warm-gray-900);
    margin-bottom: 4px;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

.approach-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 560/700;
}

.approach-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    border: 1px solid rgba(212, 168, 83, 0.08);
    transition: all var(--transition);
}

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

.quote-mark {
    color: var(--terracotta-200);
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--warm-gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card footer {
    border-top: 1px solid var(--warm-gray-200);
    padding-top: 16px;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--warm-gray-500);
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--warm-gray-50) 0%, var(--sand-50) 100%);
}

.faq-container {
    max-width: 800px;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 168, 83, 0.08);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray-800);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--terracotta-600);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--terracotta-400);
    transition: transform var(--transition);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

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

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--warm-gray-600);
    line-height: 1.7;
}

/* --- CTA --- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--terracotta-700) 0%, var(--terracotta-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    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='%23fff' fill-opacity='1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

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

.contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--warm-gray-600);
    margin-bottom: 36px;
    font-size: 1.02rem;
}

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

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

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

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

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

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

.contact-detail address {
    font-style: normal;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 168, 83, 0.06);
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-gray-800);
    background: var(--sand-50);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(196, 120, 91, 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.78rem;
    color: var(--warm-gray-400);
    text-align: center;
    margin-top: 12px;
}

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

.form-success svg {
    color: var(--terracotta-500);
    margin: 0 auto 16px;
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--warm-gray-600);
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: var(--warm-gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    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.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 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: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

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

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

/* --- Scroll Reveal --- */
.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);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-card {
        max-width: 360px;
    }

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 252, 248, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--warm-gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1rem;
        width: 100%;
    }

    .nav-menu li:last-child {
        margin-top: 8px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
        order: -1;
    }

    .hero-card {
        max-width: 300px;
    }

    .hero-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .about-grid,
    .approach-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-images {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-img-accent {
        right: -10px;
        bottom: -20px;
        width: 180px;
    }

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

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

    .contact-form-wrapper {
        padding: 28px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}
