/* ============================================
   Pediatric Cardiologists of Northern California
   Premium Dark Luxury — Terracotta & Sand
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #1A1410;
    --bg-secondary: #231C16;
    --bg-tertiary: #2C231C;
    --bg-elevated: #332A22;
    --bg-card: #2A2119;
    --bg-card-hover: #332A22;

    --text-primary: #F5EDE4;
    --text-secondary: #C8B8A8;
    --text-muted: #9A8A7A;
    --text-dark: #1A1410;

    --accent-terracotta: #C8956C;
    --accent-terracotta-light: #D4A574;
    --accent-terracotta-dark: #A87550;
    --accent-sand: #E8D5C0;
    --accent-sand-light: #F0E4D6;
    --accent-gold: #C9A84C;
    --accent-gold-light: #D4B85C;

    --border-subtle: rgba(200, 149, 108, 0.12);
    --border-medium: rgba(200, 149, 108, 0.25);
    --border-strong: rgba(200, 149, 108, 0.4);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 40px rgba(200, 149, 108, 0.15);

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

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

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s 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-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--accent-sand);
}

ul {
    list-style: none;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

address {
    font-style: normal;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent-terracotta);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

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

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-terracotta-light));
    color: var(--text-dark);
    box-shadow: 0 4px 20px rgba(200, 149, 108, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-terracotta-light), var(--accent-sand));
    color: var(--text-dark);
    box-shadow: 0 6px 28px rgba(200, 149, 108, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-terracotta-light);
    border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
    background: rgba(200, 149, 108, 0.1);
    border-color: var(--accent-terracotta-light);
    color: var(--accent-sand);
    transform: translateY(-2px);
}

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

/* --- Section Common --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-terracotta);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--accent-terracotta);
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

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

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

.section-header {
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 80px;
    }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: all var(--transition-base);
    background: transparent;
}

.header.scrolled {
    background: rgba(26, 20, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 101;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.logo-secondary {
    font-size: 11px;
    color: var(--accent-terracotta);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Navigation --- */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(0, 0);
    background: var(--accent-terracotta-light);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(0, 0);
    background: var(--accent-terracotta-light);
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 20, 16, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 100;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-link:hover {
    color: var(--accent-terracotta-light);
    background: rgba(200, 149, 108, 0.08);
}

.nav-cta {
    margin-top: 16px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-terracotta-light));
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    letter-spacing: 0.02em;
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-terracotta-light), var(--accent-sand));
    color: var(--text-dark);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        gap: 4px;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .nav-link {
        font-size: 14px;
        font-family: var(--font-body);
        font-weight: 500;
        padding: 8px 16px;
        letter-spacing: 0.03em;
    }

    .nav-cta {
        margin-top: 0;
        padding: 10px 24px;
        font-size: 14px;
    }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

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

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200, 149, 108, 0.06) 0%, transparent 70%),
        radial-gradient(circle at 20% 80%, rgba(200, 149, 108, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(26, 20, 16, 0.3) 0%,
            rgba(26, 20, 16, 0.1) 40%,
            rgba(26, 20, 16, 0.4) 80%,
            rgba(26, 20, 16, 1) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(200, 149, 108, 0.1);
    border: 1px solid var(--border-medium);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-terracotta-light);
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-terracotta);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(32px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-terracotta-light);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-terracotta-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border-medium);
    align-self: center;
    margin: 0 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

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

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

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

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-gold));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}

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

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

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
    .about-image-wrapper img {
        height: 560px;
    }
}

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

.about-floating-card {
    position: absolute;
    bottom: 24px;
    left: -12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
}

.floating-card-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-terracotta-light);
    line-height: 1;
}

.floating-card-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 160px;
}

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

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

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 149, 108, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.value-item h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Conditions --- */
.conditions {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 48px;
}

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

@media (min-width: 1024px) {
    .conditions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.condition-item:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.condition-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-terracotta);
}

.condition-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.conditions-cta {
    text-align: center;
    padding: 24px;
    background: rgba(200, 149, 108, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.conditions-cta p {
    font-size: 15px;
    color: var(--text-secondary);
}

.conditions-cta a {
    color: var(--accent-terracotta-light);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(200, 149, 108, 0.3);
    text-underline-offset: 4px;
}

.conditions-cta a:hover {
    text-decoration-color: var(--accent-terracotta-light);
}

/* --- Patients --- */
.patients {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 64px;
}

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

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: rgba(200, 149, 108, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.insurance-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.insurance-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 149, 108, 0.1);
    border-radius: var(--radius-md);
}

.insurance-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.insurance-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Trust --- */
.trust {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(200, 149, 108, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

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

@media (min-width: 1024px) {
    .trust-content {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.trust-text .section-title {
    margin-bottom: 20px;
}

.trust-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.trust-list li svg {
    flex-shrink: 0;
}

.trust-visual {
    position: relative;
}

.trust-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.trust-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
    .trust-image img {
        height: 480px;
    }
}

.trust-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 20, 16, 0.4) 0%, transparent 50%);
    border-radius: var(--radius-xl);
}

.trust-quote-card {
    position: absolute;
    bottom: -24px;
    right: -12px;
    left: 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-lg);
}

.quote-mark {
    color: var(--accent-terracotta);
    opacity: 0.3;
    margin-bottom: 12px;
}

.trust-quote-card blockquote {
    font-family: var(--font-display);
    font-size: 16px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.quote-attr {
    font-size: 13px;
    color: var(--accent-terracotta);
    font-weight: 500;
}

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

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

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 149, 108, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--accent-terracotta-light);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-terracotta);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.map-link:hover {
    color: var(--accent-terracotta-light);
    border-color: var(--accent-terracotta);
}

/* --- Form --- */
.contact-form-wrapper {
    max-width: 100%;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
}

@media (min-width: 640px) {
    .form-card {
        padding: 44px 36px;
    }
}

.form-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

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

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-terracotta);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%239A8A7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

.form-notice {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

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

.form-success.active {
    display: block;
}

.success-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 149, 108, 0.1);
    border-radius: 50%;
}

.form-success h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-success p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 360px;
    margin: 0 auto;
}

/* --- Footer --- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

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

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-terracotta);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-terracotta-light);
    padding-left: 4px;
}

.footer-contact address {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    color: var(--accent-terracotta-light);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 12px !important;
    color: var(--text-muted) !important;
    max-width: 600px;
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-scroll {
        display: none;
    }
}
