:root {
    --navy: #0c2340;
    --navy-light: #163a64;
    --blue: #2563eb;
    --blue-light: #3b82f6;
    --sky: #e8f0fe;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --text: #1e293b;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.07), 0 10px 40px rgba(0,0,0,0.1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 65px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background: var(--blue-light) !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e4976 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--blue-light);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 span {
    color: var(--blue-light);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.hero-stat p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0;
}

/* ── SECTIONS ── */
.section {
    padding: 96px 0;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-dark .section-label {
    color: var(--blue-light);
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.65);
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.25s;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--sky);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 650;
    margin-bottom: 8px;
}

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

/* ── TEAM ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 4px solid rgba(255,255,255,0.15);
    background: #f7f3f3;
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 650;
    color: var(--white);
    margin-bottom: 4px;
}

.team-card .qualifications {
    font-size: 0.85rem;
    color: var(--blue-light);
    font-weight: 500;
    margin-bottom: 8px;
}

.team-card .role {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* ── HEARTBUG ── */
.heartbug-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.heartbug-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.heartbug-content > p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.heartbug-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.heartbug-feature {
    display: flex;
    gap: 16px;
}

.heartbug-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--sky);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.heartbug-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.heartbug-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.heartbug-feature p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.heartbug-visual {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 20px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 380px;
}

.heartbug-visual svg {
    width: 80px;
    height: 80px;
    stroke: var(--blue-light);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 24px;
}

.heartbug-visual h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.heartbug-visual p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    max-width: 280px;
}

/* ── REFERRALS ── */
.referral-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.referral-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
}

.referral-card.preferred {
    border: 2px solid var(--blue);
    position: relative;
}

.preferred-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 6px;
}

.referral-card h3 {
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 6px;
}

.referral-card > p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.referral-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--gray-100);
}

.referral-detail svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.referral-detail span {
    font-size: 0.9rem;
    color: var(--gray-700);
}

.referral-detail strong {
    font-weight: 600;
}

/* ── BULK BILLING BANNER ── */
.billing-banner {
    background: var(--sky);
    border: 1px solid #c7d8f4;
    border-radius: var(--radius);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
}

.billing-banner svg {
    width: 36px;
    height: 36px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.billing-banner h4 {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 2px;
}

.billing-banner p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

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

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

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-light);
    fill: none;
    stroke-width: 2;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    color: var(--white);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--blue-light);
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 24px;
    margin-top: 8px;
}

.hours-grid dt {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.hours-grid dd {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.hours-grid .closed {
    color: rgba(255,255,255,0.35);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    border: 1px solid rgba(255,255,255,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--blue);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ── WHAT TO BRING ── */
.bring-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.bring-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.bring-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
    background: #071525;
    padding: 40px 0;
    text-align: center;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .heartbug-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .map-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 130px 0 72px;
    }

    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-photo {
        width: 160px;
        height: 160px;
    }

    .section {
        padding: 64px 0;
    }

    .billing-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .referral-cards {
        grid-template-columns: 1fr;
    }

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

    .cta-section {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .bring-list {
        grid-template-columns: 1fr;
    }
}
