/* CheckMate v7, September 2026.
   Hero, services, doctor story and motion. Loaded last. */

/* ---------- Motion ---------- */

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero-tagline {
    margin: 4px 0 14px;
    text-align: center;
    font: 600 14px/1.2 "Poppins", sans-serif;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--cm-ink);
}

.hero-tagline span { margin: 0 10px; color: var(--color-primary); }

@media (min-width: 768px) {
    .hero-content-box {
        overflow: visible;
        background:
            radial-gradient(60% 85% at 48% 100%, rgba(62, 181, 186, 0.45) 0%, rgba(62, 181, 186, 0) 70%),
            linear-gradient(135deg, #15817f 0%, #13777b 45%, #0d5a5e 100%);
        box-shadow: 0 30px 60px rgba(13, 90, 94, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .hero-doctor-image { filter: drop-shadow(0 24px 30px rgba(3, 30, 33, 0.35)); }

    .hero-left-content {
        left: 48px;
        width: min(360px, 32%);
    }

    .hero-kicker {
        margin: 0 0 14px;
        font: 600 12.5px/1.3 "Poppins", sans-serif;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.72);
    }

    .hero-kicker span { margin: 0 6px; color: rgba(255, 255, 255, 0.45); }

    .hero-description {
        margin-bottom: 26px !important;
        font-size: 20px !important;
        line-height: 1.5 !important;
        color: #fff !important;
    }

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

    .hero-right-content { right: 48px; }
}

/* Buttons on the teal hero */
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary) !important;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(3, 30, 33, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(3, 30, 33, 0.24); }

.hero-left-content .hero-ghost-btn {
    width: auto;
    height: auto;
    min-height: 50px;
    padding: 0 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-left-content .hero-ghost-btn:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    box-shadow: none;
}

/* Glass contact card */
.hero-contact {
    width: 280px;
    padding: 22px 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(3, 30, 33, 0.18);
    color: #fff;
}

.hero-contact-title {
    margin: 0;
    font: 600 17px/1.3 "Poppins", sans-serif;
}

.hero-contact-hours {
    margin: 4px 0 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-contact-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hc-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
}

.hc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 8px 18px rgba(3, 30, 33, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hc-icon svg { width: 22px; height: 22px; }

.hc-btn:hover .hc-icon,
.hc-btn:focus-visible .hc-icon { transform: translateY(-2px); background: var(--cm-soft); }

.hc-label { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }

.hero-contact-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.hero-contact-meta a {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.hero-contact-meta a:hover { color: #fff; text-decoration: underline; }

@media (min-width: 768px) and (max-width: 1100px) {
    .hero-left-content { left: 32px; width: min(300px, 34%); }
    .hero-description { font-size: 17px !important; }
    .hero-right-content { right: 28px; }
    .hero-contact { width: 216px; padding: 18px 16px 14px; }
    .hc-icon { width: 44px; height: 44px; }
    .hero-contact-meta a { font-size: 12.5px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* Mobile hero */
@media (max-width: 767px) {
    .hero-tagline { display: none; }

    .hero-mobile-title { letter-spacing: -0.02em; }

    .hero-mobile-highlight {
        background: none !important;
        color: var(--color-primary) !important;
    }

    .hero-mobile-image-card {
        border-radius: 24px !important;
        background:
            radial-gradient(70% 70% at 50% 100%, rgba(62, 181, 186, 0.5) 0%, rgba(62, 181, 186, 0) 70%),
            linear-gradient(160deg, #15817f 0%, #0d5a5e 100%) !important;
        box-shadow: 0 20px 40px rgba(13, 90, 94, 0.2);
    }

    .hero-mobile-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        filter: drop-shadow(0 18px 24px rgba(3, 30, 33, 0.35));
    }

    .hero-mobile-overlay { top: auto !important; bottom: 18px; }

    .mobile-qa-btn {
        min-height: 46px;
        padding: 0 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        color: #fff !important;
    }

    .mobile-book-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        margin-top: 14px;
        border-radius: 999px !important;
        background: var(--color-primary) !important;
        color: #fff !important;
        box-shadow: 0 10px 22px rgba(19, 119, 123, 0.25);
    }
}

/* ---------- Services: one clear action per card ---------- */

.services-grid .service-card { position: relative; padding-right: 84px; }

body .services-grid .service-book.service-go {
    position: static;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-size: 0 !important;
}

body .services-grid .service-book.service-go::after { display: none; content: none; }

body .services-grid .service-go::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    z-index: 1;
}

body .services-grid .service-go svg {
    position: absolute;
    top: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    padding: 12px;
    border: 1.5px solid rgba(19, 119, 123, 0.25);
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.services-grid .service-card:hover .service-go svg,
.services-grid .service-go:focus-visible svg {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateX(3px);
}

.services-grid .service-go:focus-visible { outline: none; }
.services-grid .service-go:focus-visible::before { outline: 2px solid var(--color-primary); outline-offset: 3px; }

.services-grid .service-card { cursor: pointer; }
.services-grid .service-description { margin-bottom: 0 !important; }

.services-grid .service-badge {
    position: static;
    order: 5;
    align-self: flex-start;
    margin-top: 18px;
}

.services-grid .service-card > .service-icon-svg { margin-bottom: 20px; }

@media (max-width: 767px) {
    .services-grid .service-card { padding-right: 72px !important; }
    body .services-grid .service-go svg { top: 18px; right: 18px; width: 42px; height: 42px; padding: 11px; }
}

/* ---------- Clinic ---------- */

.cm-media .about-clinic-image-container { box-shadow: 0 30px 60px rgba(8, 60, 72, 0.25); }

/* ---------- Doctor ---------- */

.dr-section {
    padding: 96px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--color-background) 100%);
}

.dr-intro {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: center;
}

.dr-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 28px;
    background: #050809;
    box-shadow: 0 30px 60px rgba(13, 35, 40, 0.22);
}

.dr-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% 30%;
    display: block;
}

.dr-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 22, 25, 0.88) 0%, rgba(4, 22, 25, 0) 42%);
    pointer-events: none;
}

.dr-plate {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 24px;
    z-index: 1;
    color: #fff;
}

.dr-plate strong { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.dr-plate span { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.dr-plate span span { margin: 0 4px; }

.dr-copy .cm-role { margin: -6px 0 18px; font-size: 18px !important; }
.dr-copy .cm-lead { margin-bottom: 14px; }

.dr-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.dr-facts li {
    flex: 1 1 140px;
    padding: 16px 18px;
    border: 1px solid var(--cm-line);
    border-radius: 18px;
    background: #fff;
}

.dr-facts strong {
    display: block;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-primary);
}

.dr-facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--cm-muted); }

.dr-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 64px;
}

.dr-pillar {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--cm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--cm-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dr-pillar:hover { transform: translateY(-3px); box-shadow: var(--cm-shadow-hover); }

.dr-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--cm-soft);
    color: var(--color-primary);
}

.dr-pillar h3 {
    margin: 20px 0 10px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cm-ink);
}

.dr-pillar p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--cm-text);
}

.dr-pillar .dr-pillar-meta {
    margin-top: auto;
    padding-top: 18px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--cm-muted);
}

.dr-pillar p + .dr-pillar-meta { border-top: 0; }

.dr-pillar-feature {
    border-color: transparent;
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(62, 181, 186, 0.35) 0%, rgba(62, 181, 186, 0) 70%),
        linear-gradient(150deg, #15817f 0%, #0d5a5e 100%);
    box-shadow: 0 24px 48px rgba(13, 90, 94, 0.25);
}

.dr-pillar-feature .dr-pillar-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.dr-pillar-feature h3 { color: #fff; }
.dr-pillar-feature p { color: rgba(255, 255, 255, 0.88); }
.dr-pillar-feature .dr-pillar-meta { color: rgba(255, 255, 255, 0.7); }

.dr-journey {
    margin-top: 56px;
    padding: 30px 34px 34px;
    border: 1px solid var(--cm-line);
    border-radius: 24px;
    background: #fff;
}

.dr-journey-title {
    margin: 0 0 26px;
    font: 600 13px/1 "Poppins", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.dr-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dr-steps::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 7px;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(19, 119, 123, 0.15) 100%);
}

.dr-steps li { position: relative; padding-top: 30px; }

.dr-steps li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-primary);
    box-sizing: border-box;
}

.dr-steps li:last-child::before { background: var(--color-primary); box-shadow: 0 0 0 5px rgba(19, 119, 123, 0.15); }

.dr-year {
    display: block;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cm-ink);
}

.dr-step { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--cm-muted); }

@media (max-width: 1024px) {
    .dr-intro { grid-template-columns: 1fr 1fr; gap: 40px; }
    .dr-pillars { grid-template-columns: 1fr; }
    .dr-pillar { padding: 26px; }
}

@media (max-width: 767px) {
    .dr-section { padding: 56px 0; }
    .dr-intro { grid-template-columns: 1fr; gap: 28px; }
    .dr-photo { aspect-ratio: 4 / 4.2; border-radius: 22px; }
    .dr-facts { gap: 10px; }
    .dr-facts li { flex: 1 1 90px; padding: 14px; }
    .dr-facts strong { font-size: 26px; }
    .dr-facts span { font-size: 12.5px; }
    .dr-pillars { margin-top: 36px; gap: 14px; }
    .dr-journey { margin-top: 28px; padding: 24px 22px; }
    .dr-steps { grid-template-columns: 1fr; gap: 18px; padding-left: 4px; }
    .dr-steps::before { top: 6px; bottom: 6px; left: 11px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--color-primary), rgba(19, 119, 123, 0.15)); }
    .dr-steps li { padding: 0 0 0 34px; }
    .dr-steps li::before { top: 4px; left: 0; }
    .dr-year { font-size: 18px; }
    .cm-btn-linkedin { width: 100%; }
}

/* Arrow sits in the icon row, so titles keep the full card width */
.services-grid .service-card { padding-right: 32px; }

@media (max-width: 767px) {
    .services-grid .service-card { padding-right: 18px !important; }
}

@media (min-width: 1200px) {
    .hero-left-content { width: 400px; }
}

/* Hero balance: text left, portrait centred, contact card right */
.btn-white,
.hero-left-content .hero-ghost-btn { white-space: nowrap; }

@media (min-width: 1101px) {
    .hero-doctor-container { left: 50%; }
    .hero-left-content { width: 330px; }
    .hero-description { font-size: 19px !important; }
}

/* Tablets: the portrait moves right and the contact card steps aside
   (the same contacts stay one tap away in "Have a question?") */
@media (min-width: 768px) and (max-width: 1100px) {
    .hero-right-content { display: none; }
    .hero-doctor-container { left: 66%; }
    .hero-left-content { width: 300px; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 768px) {
    .hero-kicker {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.01em;
        text-transform: none;
        color: rgba(255, 255, 255, 0.78);
        white-space: nowrap;
    }
}

/* ---------- Why us: same depth as the hero, stats as glass tiles ---------- */

@media (min-width: 768px) {
    .why-us-section {
        height: auto !important;
        min-height: 520px;
        padding: 56px 56px 48px !important;
        border-radius: 28px !important;
        background:
            radial-gradient(55% 80% at 15% 100%, rgba(62, 181, 186, 0.35) 0%, rgba(62, 181, 186, 0) 70%),
            linear-gradient(135deg, #15817f 0%, #13777b 45%, #0d5a5e 100%) !important;
        box-shadow: 0 30px 60px rgba(13, 90, 94, 0.2);
    }

    .advantages-tag { display: none !important; }

    .stats-grid { gap: 16px !important; }

    .stat-card {
        padding: 24px 26px !important;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        text-align: left !important;
        transition: background-color 0.25s ease, transform 0.25s ease;
    }

    .stat-card:hover { background: rgba(255, 255, 255, 0.13) !important; transform: translateY(-2px); }
    .stat-number, .stat-number1, .stat-label { color: #fff !important; }

    .stat-number,
    .stat-number1 { font-size: 52px !important; line-height: 1 !important; margin-bottom: 12px !important; }

    .stat-label { font-size: 16px !important; margin-bottom: 6px !important; }
    .stat-description { font-size: 14.5px !important; color: rgba(255, 255, 255, 0.78) !important; }

    .why-us-tagline {
        margin-top: 22px !important;
        text-align: left !important;
        font-style: normal !important;
        font-size: 15px !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
}

/* Doctor: one fact tile, four milestones */
.dr-facts li { flex: 0 1 220px; }
.dr-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dr-journey { margin-top: 56px; }

@media (max-width: 767px) {
    .dr-steps { grid-template-columns: 1fr; }
    .dr-facts li { flex: 0 1 200px; }
}

/* =====================================================================
   Doctor section, refresh 9: a dark, warm band that matches the new
   portrait (black backdrop, amber light). Champagne is used only as a
   fine accent; teal stays the brand colour.
   ===================================================================== */

.dr-section {
    --dr-bg-1: #0c2225;
    --dr-bg-2: #081416;
    --dr-champagne: #d8bd8a;
    --dr-teal-light: #7fd3d1;
    position: relative;
    overflow: hidden;
    padding: 112px 0 104px;
    color: #fff;
    background:
        radial-gradient(45% 60% at 12% 35%, rgba(216, 189, 138, 0.14) 0%, rgba(216, 189, 138, 0) 70%),
        radial-gradient(50% 60% at 95% 10%, rgba(19, 119, 123, 0.35) 0%, rgba(19, 119, 123, 0) 70%),
        linear-gradient(165deg, var(--dr-bg-1) 0%, var(--dr-bg-2) 60%, #050a0b 100%);
}

.dr-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }

.dr-photo {
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    background: #060606;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dr-photo img { object-position: 50% 12%; }

.dr-photo::after {
    background:
        linear-gradient(to top, rgba(5, 10, 11, 0.9) 0%, rgba(5, 10, 11, 0) 38%),
        linear-gradient(to right, rgba(216, 189, 138, 0.08), rgba(216, 189, 138, 0) 30%);
}

.dr-plate strong { font-size: 22px; }
.dr-plate span { color: rgba(255, 255, 255, 0.78); }

.dr-section .cm-eyebrow { color: var(--dr-champagne); }
.dr-section .cm-title { color: #fff !important; }
.dr-section .cm-title .text-green { color: var(--dr-teal-light) !important; }

.dr-section .cm-lead { color: rgba(255, 255, 255, 0.76) !important; }
.dr-section .cm-lead strong { color: #fff; }

.dr-section .dr-facts li {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.dr-section .dr-facts strong { color: var(--dr-champagne); }
.dr-section .dr-facts span { color: rgba(255, 255, 255, 0.7); }

.dr-section .cm-btn-linkedin {
    background: #fff;
    color: var(--cm-ink);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dr-section .cm-btn-linkedin svg { color: #0a66c2; }
.dr-section .cm-btn-linkedin:hover { background: var(--cm-soft); color: var(--cm-ink); }

.dr-section .dr-journey {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.dr-section .dr-journey-title { color: var(--dr-champagne); }

.dr-section .dr-steps::before {
    background: linear-gradient(90deg, var(--dr-champagne) 0%, rgba(216, 189, 138, 0.12) 100%);
}

.dr-section .dr-steps li::before {
    background: var(--dr-bg-2);
    border-color: var(--dr-champagne);
}

.dr-section .dr-steps li:last-child::before {
    background: var(--dr-champagne);
    box-shadow: 0 0 0 5px rgba(216, 189, 138, 0.18);
}

.dr-section .dr-year { color: #fff; }
.dr-section .dr-step { color: rgba(255, 255, 255, 0.66); }

@media (max-width: 1024px) {
    .dr-intro { gap: 44px; }
}

@media (max-width: 767px) {
    .dr-section { padding: 64px 0 56px; }
    .dr-photo { aspect-ratio: 4 / 5; }
    .dr-section .dr-steps::before {
        background: linear-gradient(180deg, var(--dr-champagne), rgba(216, 189, 138, 0.12));
    }
}

@media (max-width: 1024px) {
    .dr-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .dr-intro { grid-template-columns: 1fr; gap: 28px; }
    .dr-photo { max-width: 420px; width: 100%; margin: 0 auto; }
}

.dr-section + .beauty-section { padding-top: 88px; }
@media (max-width: 767px) { .dr-section + .beauty-section { padding-top: 48px; } }

/* =====================================================================
   Refresh 10: one colour family.
   Teal #13777B is the brand. Deep teal #0b3b3e for dark bands, aqua
   #8fd8d6 only as a light accent on dark, off-white page, white cards.
   No black, no gold, no baby blue.
   ===================================================================== */

:root {
    --cm-deep: #0b3b3e;
    --cm-deep-2: #0e4a4d;
    --cm-aqua: #8fd8d6;
}

.dr-section {
    --dr-champagne: var(--cm-aqua);
    --dr-teal-light: var(--cm-aqua);
    --dr-bg-2: var(--cm-deep);
    background:
        radial-gradient(50% 65% at 10% 30%, rgba(143, 216, 214, 0.12) 0%, rgba(143, 216, 214, 0) 70%),
        radial-gradient(55% 60% at 95% 5%, rgba(19, 119, 123, 0.55) 0%, rgba(19, 119, 123, 0) 70%),
        linear-gradient(160deg, #10585b 0%, var(--cm-deep-2) 45%, var(--cm-deep) 100%);
}

.dr-photo {
    background: var(--cm-deep);
    box-shadow: 0 40px 80px rgba(3, 30, 33, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dr-photo::after {
    background: linear-gradient(to top, rgba(8, 44, 47, 0.92) 0%, rgba(8, 44, 47, 0) 40%);
}

.dr-section .dr-facts strong { color: #fff; }
.dr-section .dr-steps li::before { background: var(--cm-deep); }

/* ---------- Services: Aesthetic card points to Instagram ---------- */

.service-tags {
    display: flex;
    gap: 6px;
    order: 5;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.service-tags li {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--cm-soft);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
}

.service-ig {
    position: relative;
    z-index: 2;
    order: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 14px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.service-ig:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Aesthetics and Instagram ---------- */

.ig-section {
    padding: 24px 0 96px;
}

.ig-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 56px;
    align-items: center;
    padding: 56px;
    border-radius: 32px;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(143, 216, 214, 0.35) 0%, rgba(143, 216, 214, 0) 70%),
        linear-gradient(135deg, #e9f4f4 0%, #f7fbfb 60%, #ffffff 100%);
    border: 1px solid var(--cm-line);
    box-shadow: var(--cm-shadow);
}

.ig-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.ig-chips li {
    padding: 7px 14px;
    border: 1px solid rgba(19, 119, 123, 0.25);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
}

.ig-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ig-follow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px 0 8px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(19, 119, 123, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ig-follow svg {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f9a13a 0%, #e1306c 50%, #833ab4 100%);
    color: #fff;
}

.ig-follow:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.ig-phone {
    position: relative;
    display: block;
    justify-self: center;
    width: min(300px, 100%);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 34px;
    border: 8px solid #0b3b3e;
    background: var(--cm-deep);
    box-shadow: 0 30px 60px rgba(11, 59, 62, 0.35);
    text-decoration: none;
    transform: rotate(2deg);
    transition: transform 0.35s ease;
}

.ig-phone:hover { transform: rotate(0deg) translateY(-4px); }

.ig-phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ig-phone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 44, 47, 0.9) 0%, rgba(8, 44, 47, 0) 45%);
    pointer-events: none;
}

.ig-phone-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    line-height: 1.45;
}

.ig-phone-caption strong { display: block; margin-bottom: 2px; color: #fff; font-size: 16px; }

.ig-phone-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--cm-ink);
    font-size: 12.5px;
    font-weight: 600;
}

.ig-phone-badge svg { width: 15px; height: 15px; }

.ig-feed-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 56px 0 20px;
}

.ig-feed-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--cm-ink);
}

.ig-feed-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.ig-feed-all:hover svg { transform: translateX(3px); }
.ig-feed-all svg { transition: transform 0.2s ease; }

.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ig-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--cm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--cm-shadow);
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.ig-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--cm-soft);
}

.ig-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ig-card:hover .ig-media img { transform: scale(1.04); }

.ig-type {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cm-ink);
    font-size: 12.5px;
    font-weight: 600;
}

.ig-type svg { width: 12px; height: 12px; }

.ig-body { display: block; padding: 16px 18px 20px; }

.ig-body time {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.ig-caption {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.55;
    color: var(--cm-text);
}

@media (max-width: 1024px) {
    .ig-spotlight { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 36px; padding: 40px; }
    .ig-grid { gap: 14px; }
}

@media (max-width: 767px) {
    .ig-section { padding: 8px 0 56px; }
    .ig-spotlight { grid-template-columns: 1fr; gap: 32px; padding: 28px 22px; border-radius: 24px; }
    .ig-phone { width: min(260px, 80%); transform: none; }
    .ig-actions .ig-follow, .ig-actions .cm-btn { width: 100%; justify-content: center; }
    .ig-feed-head { margin-top: 40px; }
    .ig-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .ig-card { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
    .ig-phone { transform: none; }
}

.ig-topic {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-primary);
}

@media (max-width: 767px) {
    /* the services block overlaps the next section by 80px on phones */
    .ig-section { padding-top: 104px; }
    .ig-feed-title { font-size: 20px; }
    .ig-feed-all { white-space: nowrap; font-size: 14px; }
}

/* =====================================================================
   Refresh 11: more motion, same design.
   ===================================================================== */

/* ---------- Hero entrance ---------- */

@keyframes cmRise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes cmSlideL { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes cmSlideR { from { opacity: 0; translate: 18px 0; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: no-preference) {
    .hero-tagline { animation: cmRise 0.7s ease both; }
    .hero-title { animation: cmRise 0.8s 0.05s ease both; }
    .hero-content-box { animation: cmRise 0.8s 0.12s ease both; }
    .hero-left-content { animation: cmSlideL 0.8s 0.35s ease both; }
    .hero-doctor-container { animation: cmRise 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .hero-right-content { animation: cmSlideR 0.8s 0.45s ease both; }
    .hero-mobile-head { animation: cmRise 0.7s ease both; }
    .hero-mobile-image-card { animation: cmRise 0.8s 0.1s ease both; }

    /* a slow light sweep across the hero panel */
    .hero-content-box::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0) 60%);
        background-size: 250% 100%;
        animation: cmSweep 9s ease-in-out infinite;
        pointer-events: none;
    }
}

@keyframes cmSweep { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }

/* ---------- Video strip ---------- */

.vid-section { padding: 96px 0 40px; }

.vid-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.vid-head .cm-lead { margin-bottom: 0; }

.vid-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vid-card {
    position: relative;
    display: block;
    aspect-ratio: 9 / 14;
    overflow: hidden;
    border-radius: 26px;
    background: var(--cm-deep, #0b3b3e);
    box-shadow: var(--cm-shadow);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vid-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(11, 59, 62, 0.25); }

.vid-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.vid-card:hover .vid-video { transform: scale(1.04); }

.vid-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(6, 36, 39, 0.92) 0%, rgba(6, 36, 39, 0.25) 42%, rgba(6, 36, 39, 0) 60%);
    pointer-events: none;
}

.vid-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 600;
}

.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    translate: -50% -50%;
    transition: opacity 0.4s ease, scale 0.3s ease;
}

.vid-play svg { width: 22px; height: 22px; margin-left: 3px; color: #fff; }
.vid-card.is-playing .vid-play { opacity: 0; }
.vid-card:hover .vid-play { opacity: 1; scale: 1.08; }

.vid-text {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.vid-text strong {
    display: block;
    margin-bottom: 6px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
}

@media (max-width: 1024px) {
    .vid-grid { gap: 14px; }
    .vid-text strong { font-size: 16px; }
    .vid-text { font-size: 13px; }
}

@media (max-width: 767px) {
    .vid-section { padding: 56px 0 24px; }
    .vid-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
    .vid-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 72%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .vid-card { scroll-snap-align: start; aspect-ratio: 9 / 15; }
}

/* ---------- Why us numbers keep their width while counting ---------- */

.stat-number, .stat-number1 { font-variant-numeric: tabular-nums; }

/* ---------- Phone action bar ---------- */

.action-bar { display: none; }

@media (max-width: 767px) {
    .action-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 10002;
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        box-shadow: 0 16px 40px rgba(11, 59, 62, 0.22);
        translate: 0 140%;
        opacity: 0;
        transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease;
    }

    .action-bar.is-visible { translate: 0 0; opacity: 1; }

    .ab-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 999px;
        background: var(--cm-soft);
        color: var(--color-primary);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .ab-btn svg { width: 18px; height: 18px; }

    .ab-primary { background: var(--color-primary); color: #fff; }

    body.has-action-bar .deftform-toggle { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transition: bottom 0.35s ease; }
    body.has-action-bar { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    .action-bar { transition: none; }
    .vid-card, .vid-video { transition: none; }
}

.hero-right-content { z-index: 3; }
.hero-content-box::after { z-index: 0; }
.vid-video { object-position: 50% 28%; }
