/* =========================================================
   Dr. Bhavin Baria — Global Stylesheet (clean rebuild)
   ========================================================= */
:root {
    --primary: #0c88c8;
    --primary-dark: #0a6ea3;
    --primary-light: #4bb6e3;
    --secondary: #D01317;
    --accent: #d01317;
    --accent-dark: #a90f12;
    --ink: #11294b;
    --body: #4b5563;
    --muted: #8593a6;
    --bg: #ffffff;
    --bg-soft: #f2f8fb;
    --bg-soft2: #eef6f4;
    --border: #e5edf3;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(17, 41, 75, .08);
    --shadow-lg: 0 20px 50px rgba(17, 41, 75, .12);
    --container: 1200px;
    --font: 'Inter', system-ui, Arial, sans-serif;
    --head: 'Poppins', var(--font);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    color: var(--body);
    font-size: 16px;
    line-height: 1.7;
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--head);
    color: var(--primary);
    line-height: 1.25;
    font-weight: 700
}

a {
    color: inherit;
    text-decoration: none;
    transition: .25s
}

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

ul {
    list-style: none
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px
}

.muted {
    color: var(--muted)
}

section {
    position: relative
}

/* The .reveal--right elements sit 40px to the right until they animate in,
   which widened the document and caused a horizontal scrollbar on mobile.
   `clip` trims that without creating a scroll container, so position:sticky
   (header, service sidebar, why/vtesti columns) keeps working. */
.site-main {
    overflow-x: clip
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .25s;
    line-height: 1;
    white-space: nowrap
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px)
}

.btn--accent {
    background: var(--accent);
    color: #fff
}

.btn--accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px)
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary)
}

.btn--outline:hover {
    background: var(--primary);
    color: #fff
}

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

.btn--white:hover {
    transform: translateY(-2px)
}

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

/* ---------- Section helpers ---------- */
.section {
    padding: 80px 0
}

.section--soft {
    background: var(--bg-soft)
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px
}

.section-head .eyebrow {
    color: var(--secondary);
    font-family: var(--head);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 12px
}

.section-head h2,
.section-head h3 {
    font-size: clamp(24px, 4.2vw, 36px);
    margin-bottom: 14px
}

.section-head p {
    color: var(--body)
}

.eyebrow {
    color: var(--secondary);
    font-family: var(--head);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px
}

/* stethoscope marker on every eyebrow — the hero variant already has its own
   pulsing dot, so it opts out */
.eyebrow:not(.eyebrow--dot)::before {
    content: "\f0f1";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0;
    margin-right: 8px;
    vertical-align: -1px
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--ink);
    color: #cdd8e6;
    font-size: 13.5px
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px
}

.topbar__left {
    display: flex;
    gap: 22px
}

.topbar__left a:hover {
    color: #fff
}

.topbar__left i,
.topbar__right i {
    color: var(--secondary);
    margin-right: 6px
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 16px
}

.topbar__right a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08)
}

.topbar__right a i {
    margin: 0
}

.topbar__right a:hover {
    background: var(--bg);
    color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 14px rgba(17, 41, 75, .06)
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 20px;
    padding: 0 20px;
}

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

.brand img {
    height: 48px;
    width: auto
}

.brand__text strong {
    display: block;
    font-family: var(--head);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.1
}

.brand__text small {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600
}

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

.menu__link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--head);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
    padding: 10px 12px;
    border-radius: 8px;
    white-space: nowrap
}

.menu__link i {
    font-size: 10px;
    opacity: .7
}

.menu__link:hover,
.menu__link.active {
    color: var(--primary)
}

.menu__cta {
    margin-left: 8px
}

/* dropdown */
.has-dropdown {
    position: relative
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .22s;
    border-top: 3px solid var(--primary)
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink)
}

.dropdown li a:hover {
    background: var(--bg-soft);
    color: var(--primary)
}

/* mega menu */
.has-mega {
    position: static
}

.mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: min(900px, 94vw);
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: 14px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: .22s;
    border-top: 3px solid var(--primary)
}

.has-mega:hover .mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0)
}

/* only needed on mobile, where the parent link expands instead of navigating */
.mega__all {
    display: none !important
}

.mega a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink)
}

.mega a i {
    color: var(--secondary);
    width: 18px
}

.mega a:hover {
    background: var(--bg-soft);
    color: var(--primary)
}

.nav-toggle {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer
}

.nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    z-index: 2
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(115deg, #eaf6fc 0%, #eef9f5 50%, #e6f4fb 100%);
    background-size: 180% 180%;
    animation: heroWash 20s ease-in-out infinite;
    overflow: hidden
}

@keyframes heroWash {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

/* drifting colour blobs */
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none
}

.hero__blob--1 {
    width: 460px;
    height: 460px;
    top: -160px;
    left: -120px;
    background: rgba(12, 136, 200, .22);
    animation: blobDrift 16s ease-in-out infinite
}

.hero__blob--2 {
    width: 380px;
    height: 380px;
    right: 8%;
    bottom: -180px;
    background: rgba(208, 19, 23, .12);
    animation: blobDrift 20s ease-in-out infinite reverse
}

@keyframes blobDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(40px, 30px) scale(1.12)
    }
}

/* faint grid, fading out to the right */
.hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(12, 136, 200, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 136, 200, .07) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: linear-gradient(100deg, rgba(0, 0, 0, .9), transparent 55%);
    mask-image: linear-gradient(100deg, rgba(0, 0, 0, .9), transparent 55%);
    pointer-events: none
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    padding: 60px 20px 70px
}

/* staggered entrance */
.hero__content>* {
    opacity: 0;
    animation: heroUp .85s cubic-bezier(.22, .61, .36, 1) forwards
}

.hero__content>*:nth-child(1) {
    animation-delay: .1s
}

.hero__content>*:nth-child(2) {
    animation-delay: .22s
}

.hero__content>*:nth-child(3) {
    animation-delay: .34s
}

.hero__content>*:nth-child(4) {
    animation-delay: .46s
}

.hero__content>*:nth-child(5) {
    animation-delay: .58s
}

@keyframes heroUp {
    from {
        opacity: 0;
        transform: translateY(26px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.hero__content .eyebrow {
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px
}

.eyebrow--dot::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 0 rgba(208, 19, 23, .5);
    animation: dotPulse 2.2s infinite
}

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(208, 19, 23, .5)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(208, 19, 23, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(208, 19, 23, 0)
    }
}

.hero__content h1 {
    font-size: clamp(28px, 5.6vw, 48px);
    line-height: 1.12;
    margin-bottom: 18px
}

.hero__content h1 span {
    position: relative;
    color: var(--primary);
    white-space: nowrap
}

/* brush stroke that draws itself under the highlighted words */
.hero__content h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: rgba(208, 19, 23, .22);
    transform: scaleX(0);
    transform-origin: left;
    animation: strokeIn .9s cubic-bezier(.22, .61, .36, 1) .9s forwards
}

@keyframes strokeIn {
    to {
        transform: scaleX(1)
    }
}

.hero__content p {
    font-size: 18px;
    max-width: 560px;
    margin-bottom: 28px
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.hero__media {
    position: relative;
    opacity: 0;
    animation: heroUp 1s cubic-bezier(.22, .61, .36, 1) .3s forwards
}

/* slow dashed ring behind the photo */
.hero__ring {
    position: absolute;
    top: -34px;
    right: -34px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 2px dashed rgba(12, 136, 200, .35);
    animation: spinSlow 26s linear infinite;
    pointer-events: none
}

@keyframes spinSlow {
    to {
        transform: rotate(360deg)
    }
}

/* offset accent outline echoing the photo's shape */
.hero__media::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 16px;
    right: 16px;
    bottom: -16px;
    border: 2px solid rgba(12, 136, 200, .35);
    border-radius: 130px 28px 130px 28px;
    pointer-events: none
}

.hero__media img {
    position: relative;
    z-index: 1;
    border-radius: 130px 28px 130px 28px;
    box-shadow: var(--shadow-lg);
    width: 100%
}

.hero__badge {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: -18px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floaty 5s ease-in-out infinite
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.hero__badge i {
    font-size: 30px;
    color: var(--secondary)
}

.hero__badge strong {
    display: block;
    font-family: var(--head);
    font-size: clamp(18px, 2.6vw, 22px);
    color: var(--ink)
}

.hero__badge small {
    color: var(--muted);
    font-size: 12.5px
}

@media(prefers-reduced-motion:reduce) {

    .hero,
    .hero__blob,
    .hero__ring,
    .hero__badge,
    .eyebrow--dot::before {
        animation: none
    }

    .hero__content>*,
    .hero__media {
        opacity: 1;
        animation: none
    }

    .hero__content h1 span::after {
        transform: scaleX(1);
        animation: none
    }
}

/* ---------- Service cards grid ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s;
    display: flex;
    flex-direction: column
}

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

.card__media {
    aspect-ratio: 16/10;
    overflow: hidden
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.card:hover .card__media img {
    transform: scale(1.06)
}

.card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.card__body h3,
.card__body h4 {
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 600;
}

.card__body p {
    font-size: 14.5px;
    margin-bottom: 16px;
    flex: 1
}

.card__link {
    color: var(--primary);
    font-family: var(--head);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    gap: 6px;
    align-items: center
}

.card__link:hover {
    gap: 10px
}

/* icon service card (no image) */
.card-icon {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: .3s
}

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

.card-icon .ic {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px
}

.card-icon h3 {
    font-size: 19px;
    margin-bottom: 10px
}

.card-icon p {
    font-size: 14.5px
}

/* ---------- Doctor section ---------- */
.doctor {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 50px;
    align-items: center
}

.doctor__media {
    position: relative
}

/* left-heavy variant so it doesn't read as a copy of the hero frame,
   and the bottom-right stays square for the "14+" badge */
.doctor__media::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 16px;
    right: 16px;
    bottom: -16px;
    border: 2px solid rgba(12, 136, 200, .3);
    border-radius: 130px 28px 28px 130px;
    pointer-events: none
}

.doctor__media img {
    position: relative;
    z-index: 1;
    border-radius: 130px 28px 28px 130px;
    box-shadow: var(--shadow-lg)
}

.doctor__media .exp {
    z-index: 2
}

.doctor__media .exp {
    position: absolute;
    right: -14px;
    bottom: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-lg)
}

.doctor__media .exp strong {
    font-family: var(--head);
    font-size: clamp(24px, 3.4vw, 30px);
    display: block
}

.doctor__content h2,
.doctor__content h3 {
    font-size: clamp(24px, 4vw, 34px);
    margin-bottom: 8px
}

.doctor__content .sub {
    color: var(--secondary);
    font-family: var(--head);
    font-weight: 600;
    margin-bottom: 18px
}

.doctor__content p {
    margin-bottom: 16px
}

.doctor__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 26px
}

.doctor__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 500
}

.doctor__list i {
    color: var(--secondary);
    margin-top: 3px
}

/* ---------- Stats ---------- */
.stats {
    background: #fff;
    color: var(--body)
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center
}

.stat {
    position: relative;
    padding: 36px 24px 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease
}

.stat:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 22px 45px rgba(17, 41, 75, .14)
}

.stat i {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    background: rgba(12, 136, 200, .1);
    transition: transform .45s cubic-bezier(.34, 1.4, .64, 1), background .4s ease, color .4s ease, box-shadow .4s ease
}

.stat:hover i {
    transform: translateY(-4px);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 24px rgba(12, 136, 200, .35)
}

.stat strong {
    font-family: var(--head);
    font-size: clamp(32px, 5vw, 44px);
    display: block;
    line-height: 1;
    letter-spacing: -1.5px;
    color: var(--primary)
}

.stat strong span {
    font-size: inherit;
    opacity: 1
}

/* rule between the number and its label */
.stat strong::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    border-radius: 3px;
    margin: 16px auto 0;
    background: var(--border);
    transition: width .45s cubic-bezier(.22, .61, .36, 1), background .45s ease
}

.stat:hover strong::after {
    width: 56px;
    background: var(--secondary)
}

.stat>span {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    font-family: var(--head);
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--ink);
    transition: color .4s ease
}

/* ---------- Generic slider ---------- */
.slider {
    position: relative
}

.slider-track {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px
}

.slider-track::-webkit-scrollbar {
    display: none
}

.slider-track>* {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 52px) / 3)
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: .25s;
    z-index: 3
}

.slider-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.slider-btn:disabled {
    opacity: .35;
    cursor: default
}

.slider-btn--prev {
    left: -22px
}

.slider-btn--next {
    right: -22px
}

/* ---------- Testimonials ---------- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px
}

.testi {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative
}

.testi .quote {
    font-size: 40px;
    color: var(--bg-soft2);
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: Georgia, serif
}

.testi__stars {
    color: #f6b800;
    margin-bottom: 12px
}

.testi p {
    font-style: italic;
    margin-bottom: 18px;
    color: var(--body)
}

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

.testi__author .av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--head);
    font-weight: 600
}

.testi__author strong {
    color: var(--ink);
    font-family: var(--head)
}

.testi__author small {
    color: var(--muted);
    display: block
}

/* ---------- Why choose (list + doctor photo) ---------- */
.why {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 46px;
    align-items: start
}

.why__list {
    display: grid;
    gap: 18px
}

.why-card {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease
}

.why-card:hover {
    transform: translateX(6px);
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(17, 41, 75, .13)
}

.why-card__ic {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: var(--primary);
    background: rgba(12, 136, 200, .1);
    transition: background .35s ease, color .35s ease, transform .35s ease
}

.why-card:hover .why-card__ic {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05)
}

.why-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
    transition: color .3s ease
}

.why-card p {
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0
}

/* doctor photo column — soft asymmetric frame with an offset blue outline */
.why__media {
    position: sticky;
    top: 104px;
    width: 100%;
    max-width: 380px;
    margin: 0 0 0 auto
}

.why__media::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 14px;
    right: 14px;
    bottom: -14px;
    border: 2px solid var(--primary);
    border-radius: 48px 10px 48px 10px;
    pointer-events: none
}

.why__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top center;
    border-radius: 48px 10px 48px 10px;
    box-shadow: var(--shadow-lg)
}

.why__badge {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 26px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow)
}

.why__badge i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    background: var(--secondary)
}

.why__badge strong {
    display: block;
    font-family: var(--head);
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.2
}

.why__badge small {
    color: var(--body);
    font-size: 12px
}

/* ---------- Features (inner pages) ---------- */
.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: .3s
}

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

.feature .ic {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px
}

.feature h3,
.feature h4 {
    font-size: 18px;
    margin-bottom: 8px
}

.feature p {
    font-size: 14px
}

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

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

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

/* ---------- Benefits chips ---------- */
/* ---------- Benefits ---------- */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.benefit {
    position: relative;
    overflow: hidden;
    padding: 32px 26px 30px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease
}

/* accent rule draws itself across the top edge */
.benefit::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1)
}

.benefit:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(17, 41, 75, .13)
}

.benefit:hover::before {
    transform: scaleX(1)
}

.benefit__num {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--head);
    font-weight: 800;
    font-size: 32px;
    line-height: 1;
    color: var(--ink);
    opacity: .06;
    transition: color .4s ease, opacity .4s ease
}

.benefit:hover .benefit__num {
    color: var(--primary);
    opacity: .16
}

.benefit__ic {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: #fff;
    background: var(--secondary);
    margin-bottom: 20px;
    transition: border-radius .4s ease, box-shadow .4s ease
}

/* soft pulse ring, like a heartbeat monitor blip */
.benefit__ic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--secondary);
    opacity: 0;
    transition: transform .55s ease, opacity .55s ease
}

.benefit:hover .benefit__ic {
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(208, 19, 23, .28)
}

.benefit:hover .benefit__ic::after {
    transform: scale(1.35);
    opacity: .35
}

.benefit h4 {
    font-size: 18px;
    margin-bottom: 8px;
    transition: color .35s ease
}

.benefit:hover h4 {
    color: var(--primary)
}

.benefit p {
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 820px;
    margin: 0 auto
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    overflow: hidden
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--head);
    font-weight: 600;
    color: var(--ink);
    font-size: 16px
}

.faq-q i {
    color: var(--primary);
    transition: .3s;
    flex-shrink: 0
}

.faq-item.open .faq-q i {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 24px
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 20px
}

/* ---------- Blog cards ---------- */
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s;
    display: flex;
    flex-direction: column
}

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

.blog-card__media {
    aspect-ratio: 16/9;
    overflow: hidden
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.06)
}

.blog-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1
}

.blog-card__meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
    display: flex;
    gap: 14px
}

.blog-card__meta i {
    color: var(--secondary);
    margin-right: 5px
}

.blog-card__body h3,
.blog-card__body h4 {
    font-size: 18px;
    margin-bottom: 14px;
    flex: 1
}

.blog-card__body h3 a:hover,
.blog-card__body h4 a:hover {
    color: var(--primary)
}

/* ---------- Appointment form ---------- */
.appointment {
    background:
        radial-gradient(900px 520px at 88% -15%, rgba(255, 255, 255, .18), transparent 62%),
        radial-gradient(760px 460px at 0% 115%, rgba(208, 19, 23, .28), transparent 60%),
        linear-gradient(130deg, #0e93d6 0%, #0a6ea3 50%, #084f76 100%);
    color: #fff;
    overflow: hidden
}

/* dotted texture, fading downward */
.appointment::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.6px);
    background-size: 24px 24px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 65%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 65%);
    pointer-events: none
}

/* soft ring accent */
.appointment::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, .05);
    pointer-events: none
}

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

.appointment__inner h2,
.appointment__inner h3 {
    color: #fff;
    font-size: clamp(23px, 4vw, 34px);
    margin-bottom: 14px
}

.appointment__inner .eyebrow {
    color: #bfe6f7
}

.appointment__inner p {
    opacity: .92;
    margin-bottom: 20px
}

.appt-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    font-weight: 500
}

.appt-list i {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: rgba(255, 255, 255, .18)
}

.appt-form {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(4, 40, 62, .3);
    border-top: 4px solid var(--secondary)
}

.appt-form .field {
    margin-bottom: 16px
}

.appt-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    font-family: var(--head)
}

.appt-form input,
.appt-form textarea,
.appt-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    background: #fbfdfe
}

.appt-form input:focus,
.appt-form textarea:focus,
.appt-form select:focus {
    outline: none;
    border-color: var(--primary)
}

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

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

/* ---------- Video testimonials ---------- */
.vtesti-sec {
    background: linear-gradient(180deg, #f4f9fd 0%, #eaf4fb 100%)
}

/* Keeps the soft/white rhythm going when sections are stacked by includes.
   On service pages the doctor block sits right above this one, so the videos
   go white; on the homepage a white stats band precedes it and the tint stays. */
.section--soft+.vtesti-sec {
    background: #fff
}

.vtesti {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 54px;
    align-items: start
}

/* stays in view while the video column scrolls (84px header + breathing room) */
.vtesti__content {
    position: sticky;
    top: 104px
}

.vtesti__content h2,
.vtesti__content h3 {
    color: var(--primary);
    font-size: clamp(24px, 4.2vw, 36px);
    margin: 10px 0 16px
}

.vtesti__content>p {
    max-width: 520px;
    margin-bottom: 24px
}

.vtesti__sub {
    color: var(--primary);
    font-size: clamp(17px, 2.2vw, 19px);
    margin-bottom: 18px
}

.vtesti__list {
    margin-bottom: 28px
}

.vtesti__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 14px
}

.vtesti__list i {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    background: rgba(12, 136, 200, .12)
}

.vtesti__media {
    display: grid;
    gap: 22px
}

/* click-to-load YouTube facade */
.ytlite {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    background: #0b1f33 center/cover no-repeat;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 0;
    transition: .3s
}

.ytlite:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px)
}

.ytlite::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 22, 38, .1) 0%, rgba(6, 22, 38, .55) 100%);
    transition: .3s
}

.ytlite:hover::after {
    background: linear-gradient(180deg, rgba(6, 22, 38, .05) 0%, rgba(6, 22, 38, .45) 100%)
}

.ytlite__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 52px;
    border-radius: 14px;
    background: #f00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 2;
    transition: .3s
}

.ytlite:hover .ytlite__play {
    transform: translate(-50%, -50%) scale(1.08)
}

.ytlite__title {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5)
}

.ytlite iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3
}

.ytlite.playing::after,
.ytlite.playing .ytlite__play,
.ytlite.playing .ytlite__title {
    display: none
}

.ytlite.playing:hover {
    transform: none
}

/* clips hosted on the site use the browser's own player */
.ytlite--file {
    background: #0b1f33;
    cursor: default;
    margin: 0
}

.ytlite--file:hover {
    transform: none
}

.ytlite--file::after {
    display: none
}

.ytlite--file video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b1f33
}

.ytlite--file .ytlite__title {
    /* clear of the native control bar */
    bottom: 46px;
    pointer-events: none
}

.ytlite--empty {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dfeaf3;
    box-shadow: none;
    border: 2px dashed #b9cfe0
}

.ytlite--empty::after {
    display: none
}

.ytlite--empty span {
    color: #7e93a6;
    font-family: var(--head);
    font-weight: 600
}

.ytlite--empty:hover {
    transform: none;
    box-shadow: none
}

/* ---------- Appointment page (own look, not the homepage blue block) ---------- */
.appt-page {
    background: var(--bg-soft)
}

.appt-page__inner {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 44px;
    align-items: start
}

.appt-page__aside {
    position: sticky;
    top: 104px
}

.appt-page__aside h2 {
    margin: 10px 0 14px
}

.appt-page__aside>p {
    margin-bottom: 26px
}

.appt-contact {
    display: grid;
    gap: 14px
}

.appt-contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: transform .3s ease, box-shadow .3s ease
}

.appt-contact li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow)
}

.appt-contact .ic {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    background: var(--primary)
}

.appt-contact small {
    display: block;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px
}

.appt-contact a,
.appt-contact strong {
    display: block;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    color: var(--ink)
}

.appt-contact a:hover {
    color: var(--primary)
}

.appt-contact .muted {
    font-size: 13px
}

/* form card */
.appt-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.appt-card__head {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(12, 136, 200, .07), rgba(12, 136, 200, .02))
}

.appt-card__head h3 {
    font-size: 22px;
    margin-bottom: 4px
}

.appt-card__head p {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0
}

.appt-card__head span,
.appt-card__form label span {
    color: var(--secondary)
}

.appt-card__form {
    padding: 26px 30px 30px
}

.appt-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px
}

.appt-card__form .field {
    margin-bottom: 18px
}

/* spans both columns so the row after it starts fresh */
.appt-card__grid .field--full {
    grid-column: 1 / -1
}

.appt-card__form label {
    display: block;
    font-family: var(--head);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px
}

/* the phone plugin wraps the input, so the wrapper has to carry the width */
.iti {
    width: 100%;
    display: block
}

.iti__country-list {
    max-height: 220px
}

.appt-card__form input,
.appt-card__form select,
.appt-card__form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fbfdfe;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .25s, box-shadow .25s
}

.appt-card__form input:focus,
.appt-card__form select:focus,
.appt-card__form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 136, 200, .13)
}

.appt-card__form textarea {
    resize: vertical;
    min-height: 118px
}

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

/* date picker — native inputs render the date in the OS locale, this one
   always shows DD/MM/YYYY */
.datepick {
    position: relative
}

.datepick__input {
    cursor: pointer
}

.datepick__icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none
}

.datepick__pop {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    width: 290px;
    max-width: 100%;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg)
}

.datepick__pop[hidden] {
    display: none
}

.datepick__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.datepick__head strong {
    font-family: var(--head);
    font-size: 15px;
    color: var(--ink)
}

.datepick__nav {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    cursor: pointer;
    transition: .2s
}

.datepick__nav:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.datepick__nav:disabled {
    opacity: .3;
    cursor: default
}

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

.datepick__dow {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    padding-bottom: 4px
}

.datepick__day {
    aspect-ratio: 1;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--ink);
    cursor: pointer;
    transition: .18s
}

.datepick__day:hover:not(:disabled) {
    background: rgba(12, 136, 200, .12);
    color: var(--primary)
}

.datepick__day:disabled {
    color: #c8d4dd;
    cursor: default
}

.datepick__day.is-selected {
    background: var(--primary);
    color: #fff;
    font-weight: 600
}

/* the generic .appt-card__form label rules turn this bold + red, so the
   consent line has to out-specify them */
.appt-card__form label.appt-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 22px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--body);
    cursor: pointer
}

.appt-card__form label.appt-consent input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer
}

.appt-card__form label.appt-consent span {
    color: var(--body);
    font-weight: 400
}

.appt-card__form label.appt-consent a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline
}

.appt-card__note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: var(--muted)
}

.appt-card__note i {
    color: var(--primary);
    margin-right: 5px
}

/* ---------- CTA strip ---------- */
.cta-strip {
    background: var(--ink);
    color: #fff;
    padding: 50px 0
}

.cta-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap
}

.cta-strip h3 {
    color: #fff;
    font-size: clamp(20px, 3vw, 26px);
    margin-bottom: 6px
}

.cta-strip p {
    opacity: .85
}

.cta-strip__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

/* ---------- Page hero / breadcrumb ---------- */
.page-hero {
    position: relative;
    background: #11294b url("../img/breadcrumbs.webp") right center / cover no-repeat;
    color: #fff;
    padding: 100px 0;
    text-align: left;
    overflow: hidden;
    background-repeat: repeat;
    background-position: bottom;
}

/* readability overlay — heavy on the left, lighter over the photo */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(17, 41, 75, .95) 0%,
            rgba(17, 41, 75, .88) 38%,
            rgba(12, 136, 200, .62) 78%,
            rgba(12, 136, 200, .42) 100%);
    pointer-events: none
}

.page-hero>.container {
    position: relative;
    z-index: 1
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(26px, 5.2vw, 40px);
    margin-bottom: 12px;
    max-width: 780px
}

/* article titles run long, so they sit a step smaller than a page title */
.page-hero h1.page-hero__title--article {
    font-size: clamp(24px, 3.4vw, 32px);
    max-width: 900px;
    margin: 0 0 12px
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    opacity: .9;
    flex-wrap: wrap
}

.breadcrumb a:hover {
    color: #bfe6f7
}

.breadcrumb span {
    opacity: .6
}

/* ---------- Prose (article/legal/service body) ---------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16.5px
}

.prose.wide {
    max-width: none
}

/* section headings inside long-form copy — h3 is used once a page already
   has its single h2, so both levels share the same look */
.prose h2,
.prose h3 {
    font-size: clamp(22px, 3.4vw, 30px);
    margin: 34px 0 16px
}

.prose h4 {
    font-size: clamp(19px, 2.6vw, 23px);
    margin: 28px 0 12px
}

.prose p {
    margin-bottom: 16px
}

/* imported articles occasionally include comparison tables — let them scroll
   inside the column instead of widening the page on a phone */
.prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 0 0 20px;
    font-size: 14.5px;
    -webkit-overflow-scrolling: touch
}

.prose table th,
.prose table td {
    padding: 11px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    min-width: 140px
}

.prose table th {
    background: var(--bg-soft);
    font-family: var(--head);
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap
}

.prose table tr:nth-child(even) td {
    background: #fbfdfe
}

.prose ul {
    margin: 0 0 18px 0;
    display: grid;
    gap: 10px
}

.prose ul li {
    position: relative;
    padding-left: 30px
}

.prose ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 1px
}

.prose img {
    border-radius: var(--radius);
    margin: 24px 0
}

.prose a {
    color: var(--primary);
    font-weight: 600
}

.prose blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-soft);
    padding: 18px 24px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    margin: 20px 0
}

/* ---------- Service detail layout ---------- */
.svc-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start
}

/* article layout with the contents panel on the left */
.svc-layout--toc {
    grid-template-columns: 320px 1fr
}

/* ---------- Table of contents ---------- */
.toc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.toc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(150deg, var(--primary), var(--primary-dark));
    padding: 15px 20px
}

.toc-head h4 {
    margin: 0;
    color: #fff;
    font-size: 17px
}

/* the toggle is only needed on small screens */
.toc-toggle {
    display: none;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    cursor: pointer;
    position: relative
}

.toc-toggle::before {
    content: "";
    position: absolute;
    left: 50%;
    2 top: 45%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform .25s;
}

.toc.is-open .toc-toggle::before {
    transform: translate(-50%, -20%) rotate(-135deg)
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin
}

.toc-item {
    position: relative;
    padding: 12px 18px 12px 40px;
    border-bottom: 1px solid var(--border);
    font-family: var(--head);
    font-weight: 500;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ink);
    cursor: pointer;
    transition: background .22s, color .22s
}

.toc-item:last-child {
    border-bottom: 0
}

/* nested levels sit slightly further in */
.toc-item--h3 {
    padding-left: 50px;
    font-size: 13px
}

.toc-item--h4 {
    padding-left: 58px;
    font-size: 12.5px;
    color: var(--body)
}

/* red chevron marker */
.toc-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 18px;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(-45deg);
    transition: border-color .22s, transform .22s
}

.toc-item--h3::before {
    left: 30px
}

.toc-item--h4::before {
    left: 38px
}

.toc-item:hover {
    background: var(--bg-soft);
    color: var(--primary)
}

.toc-item:hover::before {
    transform: rotate(-45deg) translate(2px, 2px)
}

.toc-item.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 600;
    border-left: 4px solid var(--secondary);
    padding-left: 36px
}

.toc-item--h3.is-active {
    padding-left: 46px
}

.toc-item--h4.is-active {
    padding-left: 54px
}

.toc-item.is-active::before {
    border-color: #fff
}

.svc-hero-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 26px;
    width: 100%
}

.svc-side {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 24px
}

.svc-side__box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px
}

.svc-side__box h4 {
    font-size: 18px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-soft)
}

.svc-side__box.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-align: center
}

.svc-side__box.cta h4 {
    color: #fff;
    border-color: rgba(255, 255, 255, .2)
}

.svc-side__box.cta p {
    opacity: .92;
    margin-bottom: 16px;
    font-size: 14.5px
}

.svc-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink)
}

.svc-nav li a:hover,
.svc-nav li a.active {
    background: var(--bg-soft);
    color: var(--primary)
}

.svc-nav li a i {
    font-size: 11px;
    color: var(--muted)
}

/* ---------- Media / gallery ---------- */
/* ---------- Doctor intro (service pages) ---------- */
.doc-intro__title {
    font-size: clamp(22px, 3.6vw, 30px);
    color: var(--ink);
    margin-bottom: 28px
}

.doc-intro__card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow)
}

.doc-intro__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px
}

.doc-intro__media img {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    box-shadow: var(--shadow-lg)
}

/* concentric arcs opening to the right, behind the portrait */
.doc-intro__arc {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 16px solid rgba(12, 136, 200, .16);
    clip-path: inset(0 0 0 45%);
    pointer-events: none
}

.doc-intro__arc--in {
    width: 250px;
    height: 250px;
    transform: translate(-50%, -50%)
}

.doc-intro__arc--out {
    width: 320px;
    height: 320px;
    border-color: rgba(12, 136, 200, .1);
    transform: translate(-50%, -50%)
}

.doc-intro__eyebrow {
    display: block;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    color: var(--body);
    padding-left: 16px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 6px
}

.doc-intro__body h4 {
    font-size: clamp(22px, 3.6vw, 30px);
    padding-left: 16px;
    border-left: 4px solid var(--secondary);
    margin-bottom: 20px;
    padding-bottom: 2px
}

.doc-intro__body p {
    text-align: justify;
    margin-bottom: 16px
}

.doc-intro__body strong {
    color: var(--ink)
}

.doc-intro__body .btn {
    margin-top: 8px
}

/* ---------- Tabs ---------- */
.tabs__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 34px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 50px
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    border: 0;
    border-radius: 50px;
    background: transparent;
    color: var(--body);
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: color .3s ease, background .3s ease, box-shadow .3s ease
}

.tab-btn i {
    font-size: 14px;
    color: var(--muted);
    transition: color .3s ease
}

.tab-btn:hover:not(.is-active) {
    color: var(--ink);
    background: rgba(255, 255, 255, .8)
}

.tab-btn.is-active {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(208, 19, 23, .3)
}

.tab-btn.is-active i {
    color: #fff
}

.tab-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--body);
    background: rgba(17, 41, 75, .08);
    transition: .3s
}

.tab-btn.is-active .tab-btn__count {
    color: #fff;
    background: rgba(255, 255, 255, .25)
}

.tab-panel {
    display: none
}

.tab-panel.is-active {
    display: block;
    animation: tabIn .45s cubic-bezier(.22, .61, .36, 1)
}

@keyframes tabIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .tab-panel.is-active {
        animation: none
    }
}

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

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .3s
}

.gallery img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg)
}

/* ---------- 404 / thank you ---------- */
.err,
.ty {
    text-align: center;
    max-width: 760px;
    margin: 0 auto
}

.err__code {
    font-family: var(--head);
    font-weight: 800;
    font-size: clamp(84px, 18vw, 150px);
    line-height: 1;
    letter-spacing: -4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px
}

.err__actions,
.ty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px
}

.err__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border)
}

.err__col h3 {
    font-size: 18px;
    margin-bottom: 16px
}

/* the footer link styling is dark-on-dark, so re-colour it for a light section */
.err__list li a,
.err__list li a i {
    color: var(--body)
}

.err__list li a:hover,
.err__list li a:hover i {
    color: var(--primary)
}

/* thank you */
.ty__tick {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #fff;
    background: linear-gradient(135deg, #22a06b, #14855a);
    box-shadow: 0 14px 30px rgba(20, 133, 90, .3)
}

.ty__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0 0 30px;
    text-align: left
}

.ty__steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.ty__steps .ic {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    background: var(--primary)
}

.ty__steps strong {
    display: block;
    font-family: var(--head);
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 2px
}

.ty__steps span {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--body)
}

.ty__note {
    margin-top: 22px;
    font-size: 14px;
    color: var(--muted)
}

.ty__note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline
}

/* ---------- Pagination ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 44px
}

.pager__btn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    font-family: var(--head);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    transition: .25s
}

.pager__btn:hover:not(.is-disabled):not(.is-active) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px)
}

.pager__btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(12, 136, 200, .28)
}

.pager__btn.is-disabled {
    opacity: .4;
    cursor: default
}

.pager__gap {
    padding: 0 2px;
    color: var(--muted);
    font-weight: 600
}

.pager__count {
    margin-top: 14px;
    text-align: center;
    font-size: 13.5px;
    color: var(--muted)
}

@media(max-width:560px) {
    .pager__btn {
        min-width: 38px;
        height: 38px;
        padding: 0 9px;
        font-size: 13.5px
    }
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.contact-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px
}

.contact-card .ic {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px
}

.contact-card h4 {
    margin-bottom: 4px
}

/* ---------- Back to top ---------- */
/* sits on the right — the quick-connect FABs now occupy the bottom-left */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 900
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0c1a30;
    color: #aebacb;
    font-size: 14.5px
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 80px 20px 40px
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.footer__brand img {
    height: 54px;
    width: auto;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px
}

.footer__brand strong {
    display: block;
    color: #fff;
    font-family: var(--head);
    font-size: 17px
}

.footer__brand small {
    color: var(--secondary)
}

.footer__reg {
    color: var(--bg);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 10px
}

.footer__col h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px
}

.footer__col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px
}

.footer__col ul li {
    margin-bottom: 11px
}

.footer__col ul li a:hover {
    color: #fff;
    padding-left: 4px
}

.footer__links li a {
    display: flex;
    align-items: flex-start;
    gap: 9px
}

.footer__links li a i {
    flex: 0 0 10px;
    width: 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
    color: var(--secondary);
    transition: .25s
}

.footer__links li a:hover i {
    color: #fff
}

.footer__contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    line-height: 1.6
}

.footer__contact i {
    color: var(--secondary);
    margin-top: 4px;
    width: 16px;
    text-align: center;
    flex-shrink: 0
}

.footer__contact a {
    color: #cdd7e5
}

.footer__contact a:hover {
    color: #fff
}

.footer__contact strong {
    color: #fff;
    font-family: var(--head);
    font-weight: 600
}

/* lives in the bottom bar, opposite the copyright */
.footer__policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 13px;
    white-space: nowrap
}

.footer__policy a {
    color: #8c9bb1
}

.footer__policy a:hover {
    color: #fff
}

.footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px
}

.footer__badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--head);
    color: #cdd7e5;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50px;
    padding: 6px 13px
}

.footer__badges i {
    color: var(--secondary);
    font-size: 12px
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.footer__social a:hover {
    background: var(--secondary)
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    background-color: var(--primary);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    font-size: 13px;
    color: var(--bg);
}

.footer__bottom-text {
    flex: 1 1 auto;
    min-width: 0
}

.footer__bottom-inner p {
    margin: 2px 0
}

.footer__bottom-inner a {
    color: #cdd7e5;
    font-weight: 600
}

.footer__bottom-inner a:hover {
    color: var(--secondary)
}

/* ---------- Animations on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform
}

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

/* variants */
.reveal--left {
    transform: translate3d(-40px, 0, 0)
}

.reveal--right {
    transform: translate3d(40px, 0, 0)
}

.reveal--zoom {
    transform: translateY(28px) scale(.96)
}

@media(prefers-reduced-motion:reduce) {

    .reveal,
    .reveal--left,
    .reveal--right,
    .reveal--zoom {
        opacity: 1;
        transform: none;
        transition: none
    }
}

/* ---------- Responsive ---------- */
@media(max-width:1024px) {

    .cards,
    .grid-3,
    .grid-4,
    .benefit-grid,
    .err__links,
    .ty__steps,
    .gallery {
        grid-template-columns: repeat(2, 1fr)
    }

    /* keep the arrows inside the viewport once the container hits the edges */
    .slider-btn--prev {
        left: -6px
    }

    .slider-btn--next {
        right: -6px
    }

    .slider-track>* {
        flex: 0 0 calc((100% - 26px) / 2)
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr
    }

    /* the photo crops tighter here, so darken the overlay to keep text legible */
    .page-hero {
        padding: 54px 0;
        background-position: 72% center
    }

    .page-hero::before {
        background: linear-gradient(100deg,
                rgba(17, 41, 75, .96) 0%,
                rgba(17, 41, 75, .9) 55%,
                rgba(12, 136, 200, .72) 100%)
    }

    .svc-layout,
    .svc-layout--toc {
        grid-template-columns: 1fr
    }

    .svc-side {
        position: static;
        grid-template-columns: 1fr 1fr;
        display: grid
    }

    /* contents collapses behind a toggle once it sits above the article */
    .svc-layout--toc .svc-side {
        grid-template-columns: 1fr
    }

    /* comfortable touch targets */
    .toc-toggle {
        display: block;
        width: 40px;
        height: 40px
    }

    .toc-item {
        padding-top: 14px;
        padding-bottom: 14px
    }

    .datepick__nav {
        width: 40px;
        height: 40px
    }

    .datepick__day {
        min-height: 38px
    }

    .toc-list {
        display: none
    }

    .toc.is-open .toc-list {
        display: block
    }
}

@media(max-width:1080px) {
    .nav-toggle {
        display: block
    }

    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(330px, 85vw);
        background: #fff;
        flex-direction: column;
        padding: 80px 20px 30px;
        transform: translateX(100%);
        transition: .3s;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        z-index: 1100
    }

    .main-nav.open {
        transform: none
    }

    .nav-close {
        display: block
    }

    .main-nav .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px
    }

    .menu__link {
        padding: 12px 10px;
        border-bottom: 1px solid var(--border)
    }

    .dropdown,
    .mega {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        border-top: none;
        padding: 0 0 0 14px;
        width: auto;
        /* 270px desktop min-width would overflow the 85vw drawer on small phones */
        min-width: 0;
        background: transparent
    }

    .mega {
        grid-template-columns: 1fr
    }

    /* Tapping on a touch screen leaves :hover stuck on the parent, and the
       desktop hover rule is more specific than the plain .mega rule above —
       it re-applied translateX(-50%) and shoved the panel off to the left. */
    .has-dropdown:hover .dropdown,
    .has-mega:hover .mega {
        transform: none
    }

    .has-dropdown.open .dropdown,
    .has-mega.open .mega {
        display: grid
    }

    .mega__all {
        display: flex !important;
        font-weight: 600;
        color: var(--primary)
    }

    .menu__cta {
        margin: 14px 0 0
    }

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

    body.nav-open {
        overflow: hidden
    }
}

@media(max-width:768px) {

    .topbar {
        display: none
    }

    .hero__inner,
    .doctor,
    .appointment__inner,
    .appt-page__inner,
    .vtesti,
    .why,
    .doc-intro__card,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .appt-page__aside {
        position: static
    }

    .appt-card__head,
    .appt-card__form {
        padding-left: 20px;
        padding-right: 20px
    }

    .appt-card__grid {
        grid-template-columns: 1fr;
        gap: 0
    }

    /* 16px stops iOS Safari zooming the page when a field gets focus */
    .appt-card__form input,
    .appt-card__form select,
    .appt-card__form textarea,
    .appt-form input,
    .appt-form select,
    .appt-form textarea {
        font-size: 16px
    }

    .doc-intro__card {
        padding: 28px 22px;
        gap: 24px
    }

    .doc-intro__body p {
        text-align: left
    }

    /* keep the decorative arcs inside narrow screens */
    .doc-intro__media {
        min-height: 210px;
        overflow: hidden
    }

    .doc-intro__media img {
        width: 160px;
        height: 160px
    }

    .doc-intro__arc--in {
        width: 200px;
        height: 200px;
        border-width: 12px
    }

    .doc-intro__arc--out {
        width: 258px;
        height: 258px;
        border-width: 12px
    }

    .hero__badge {
        left: 12px;
        bottom: 12px;
        padding: 12px 16px
    }

    .hero__ring {
        display: none
    }

    /* softer curves so the shape still reads on small images */
    .hero__media img,
    .hero__media::before {
        border-radius: 80px 20px 80px 20px
    }

    .doctor__media img,
    .doctor__media::before {
        border-radius: 80px 20px 20px 80px
    }

    .why__media {
        position: relative;
        top: auto;
        order: -1;
        margin: 0 auto
    }

    .why__media img {
        height: 340px
    }

    .vtesti {
        gap: 34px
    }

    .vtesti__content {
        position: static
    }

    .doctor__media {
        order: -1
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .slider-track>* {
        flex: 0 0 100%
    }

    .testi-grid {
        grid-template-columns: 1fr
    }

    .section-head h2,
    .section-head h3 {
        font-size: 28px
    }

    .section {
        padding: 56px 0
    }

    .doctor__list {
        grid-template-columns: 1fr
    }

    .svc-side {
        grid-template-columns: 1fr
    }
}

@media(max-width:560px) {

    /* on a phone the photo is barely visible — lean on a near-solid wash */
    .page-hero {
        padding: 42px 0;
        background-position: 80% center
    }

    .page-hero::before {
        background: linear-gradient(120deg,
                rgba(17, 41, 75, .97) 0%,
                rgba(17, 41, 75, .93) 60%,
                rgba(12, 136, 200, .8) 100%)
    }

    .cards,
    .grid-3,
    .grid-4,
    .grid-2,
    .benefit-grid,
    .err__links,
    .ty__steps,
    .footer__grid,
    .gallery {
        grid-template-columns: 1fr
    }

    .topbar__left {
        gap: 12px;
        font-size: 12px
    }

    .brand__text small {
        display: none
    }

    .footer__bottom {
        padding: 20px 0 70px;
    }

    .footer__brand img {
        height: 80px;
    }

    /* copyright and policy links stack, both centred */
    .footer__bottom-inner {
        justify-content: center;
        text-align: center
    }

    .footer__policy {
        justify-content: center;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .12)
    }

    .footer__grid {
        padding: 70px 20px 40px;
    }

    .brand img {
        height: 56px;
    }

    .hero__content h1 {
        line-height: 1.29;
    }

    .hero__content p {
        font-size: 18px;
    }

    .stat {
        padding: 18px 24px 18px;
    }
}