/* ========================================
   H-E-B Medical — Corpus Christi
   Deep Navy + Warm Gold | Vibrant Modern
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --navy-950: #050D1A;
    --navy-900: #0A1628;
    --navy-800: #0F1F36;
    --navy-700: #162A4A;
    --navy-600: #1E3A5F;
    --navy-500: #254770;
    
    --gold-500: #D4A017;
    --gold-400: #E8B828;
    --gold-300: #F0C94A;
    --gold-200: #F5D77A;
    --gold-100: #FB E8A8;
    
    --white: #FFFFFF;
    --off-white: #F8F7F4;
    --gray-50: #F5F5F3;
    --gray-100: #EDECE8;
    --gray-200: #D4D3CE;
    --gray-300: #A8A69E;
    --gray-400: #78766E;
    --gray-500: #57554E;
    --gray-600: #44403C;
    
    --green-500: #10B981;
    --green-100: #D1FAE5;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.18);
    --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.22);
    
    --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.6;
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-900);
}

.text-gold {
    color: var(--gold-500);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.45);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy-900);
    border: 2px solid var(--gray-200);
}

.btn-outline-dark:hover {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: var(--white);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-900);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.35);
}

.btn-gold:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.45);
}

/* --- Section Tags --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--gold-500);
}

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

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.03;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--gold-500);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gold-400);
    bottom: 20%;
    left: -80px;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: var(--gold-500);
    top: 50%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-diamond-1 {
    width: 120px;
    height: 120px;
    background: var(--gold-300);
    top: 30%;
    left: 3%;
    transform: rotate(30deg);
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gold-500);
    bottom: 10%;
    right: 15%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: all var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    z-index: 1001;
}

.logo--light .logo-text {
    color: var(--white);
}

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

.logo-main {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

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

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--navy-900);
    background: var(--gray-50);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-900);
    background: var(--gold-500);
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 12px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    transition: all var(--transition);
}

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

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy-900);
    z-index: 999;
    padding: 100px 32px 40px;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--transition);
}

.mobile-nav-link:hover {
    color: var(--gold-500);
}

.mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-900);
    background: var(--gold-500);
    padding: 18px 32px;
    border-radius: 50px;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-900);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 10% 80%, rgba(212, 160, 23, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.25);
    color: var(--gold-400);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
    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, 6vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

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

/* Floating Stat Cards */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card--primary {
    background: var(--navy-700);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card--gold {
    background: var(--gold-500);
    color: var(--navy-900);
}

.stat-card--white {
    background: var(--white);
    color: var(--navy-900);
    box-shadow: var(--shadow-lg);
}

.stat-card--accent {
    background: var(--gold-400);
    color: var(--navy-900);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.stat-card--primary .stat-card-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.stat-card--gold .stat-card-icon {
    background: rgba(10, 22, 40, 0.15);
    color: var(--navy-900);
}

.stat-card--white .stat-card-icon {
    background: var(--navy-900);
    color: var(--white);
}

.stat-card--accent .stat-card-icon {
    background: rgba(10, 22, 40, 0.12);
    color: var(--navy-900);
}

.stat-card-number {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 500;
}

.stat-card-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -20px;
    right: -20px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

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

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 1fr;
    }
    
    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 28px;
    }
    
    .stat-card-number {
        font-size: 30px;
    }
}

/* --- Services Section --- */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0 80px;
    background: var(--white);
}

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

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

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

.service-card {
    position: relative;
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    overflow: hidden;
}

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

.service-card-bg {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.service-card--dark .service-card-bg {
    background: var(--navy-900);
}

.service-card--dark .service-title,
.service-card--dark .service-desc {
    color: var(--white);
}

.service-card--dark .service-icon {
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold-400);
}

.service-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

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

.service-icon--navy {
    background: rgba(10, 22, 40, 0.07);
    color: var(--navy-900);
}

.service-icon--gold {
    background: rgba(212, 160, 23, 0.12);
    color: var(--gold-500);
}

.service-icon--white {
    background: var(--navy-900);
    color: var(--white);
}

.service-icon--accent {
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold-500);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy-900);
    transition: color var(--transition);
}

.service-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    transition: color var(--transition);
}

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

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

/* --- About Section --- */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--navy-900);
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center right, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 6/7;
}

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

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.5) 100%);
    border-radius: var(--radius-xl);
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gold-500);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.afc-number {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}

.afc-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy-800);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.af-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .about {
        padding: 120px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Insurance Banner --- */
.insurance-banner {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
    overflow: hidden;
}

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

.insurance-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.insurance-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.insurance-content .section-tag {
    color: var(--navy-900);
}

.insurance-content .section-tag::before {
    background: var(--navy-900);
}

.insurance-content .section-title {
    color: var(--navy-900);
}

.insurance-content .section-subtitle {
    color: rgba(10, 22, 40, 0.7);
    margin: 0 auto 36px;
}

.insurance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.ins-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 22, 40, 0.08);
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
}

.insurance-content .btn-gold {
    background: var(--navy-900);
    color: var(--gold-400);
}

.insurance-content .btn-gold:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
}

/* --- Testimonials Section --- */
.testimonials {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    position: relative;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    overflow: hidden;
}

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

.testimonial-card--gold {
    background: var(--navy-900);
    border-color: transparent;
}

.testimonial-card--gold .testimonial-text {
    color: rgba(255, 255, 255, 0.75);
}

.testimonial-card--gold .ta-name {
    color: var(--white);
}

.testimonial-card--gold .ta-location {
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.testimonial-card--gold .testimonial-card-accent {
    background: linear-gradient(90deg, var(--gold-400), var(--gold-200));
}

.testimonial-quote-icon {
    margin-bottom: 20px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ta-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.ta-avatar--gold {
    background: var(--gold-500);
}

.ta-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
}

.ta-location {
    font-size: 13px;
    color: var(--gray-400);
}

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

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

/* --- Contact Section --- */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--white);
}

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

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

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

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

.cd-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(10, 22, 40, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    flex-shrink: 0;
}

.cd-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.cd-value {
    font-size: 15px;
    color: var(--navy-900);
    font-weight: 500;
    line-height: 1.6;
}

.cd-link {
    color: var(--gold-500);
    transition: color var(--transition);
}

.cd-link:hover {
    color: var(--gold-400);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form Card */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--navy-900);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.form-input::placeholder {
    color: var(--gray-300);
}

.form-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 24 24' fill='none' stroke='%2378766E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

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

.success-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.success-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--navy-900);
    padding: 64px 0 0;
}

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

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

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-link {
    color: var(--gold-400);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--gold-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

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

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

.footer-bottom a:hover {
    color: var(--gold-400);
}

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

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

@media (prefers-reduced-motion: no-preference) {
    [data-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);
    }
    
    [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    [data-reveal] {
        transition-delay: calc(var(--reveal-index, 0) * 0.1s);
    }
}

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