/* ==========================================================================
   Dr. Bhagyashree Yewale-Goykar — Page sections
   Hero, ribbon, About, Expertise, Services, Hospitals, Gallery, Media, FAQ
   and the appointment panel.

   Section backgrounds alternate white and cream (#F4EEE2); the footer is green:
   About white · Expertise cream · Services white · Hospitals cream ·
   Gallery white · Media cream · FAQ white · Appointment cream
   ========================================================================== */

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

.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(44px, 6vw, 88px)) 0 clamp(72px, 9vw, 120px);
    background: linear-gradient(180deg, var(--ivory) 0%, #F6F0E4 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
}

.hero__glow--green {
    right: -220px;
    top: -240px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(19, 112, 95, 0.17), transparent 64%);
}

.hero__glow--gold {
    left: -260px;
    bottom: -280px;
    width: 660px;
    height: 660px;
    background: radial-gradient(circle, rgba(221, 180, 90, 0.24), transparent 64%);
}

.hero__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__lines path {
    fill: none;
    stroke: var(--gold-300);
    stroke-width: 1.2;
    opacity: 0.65;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 4vw, 56px);
}

/* The role badge, between the intro paragraph and the buttons */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 8px 18px 8px 14px;
    border: 1px solid var(--gold-200);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-family: var(--font-brand);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--green-800);
}

.hero__eyebrow .icon {
    width: 14px;
    height: 14px;
    color: var(--gold-500);
}

.hero__title {
    margin: 0;
}

.hero__tagline {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 1.3rem + 3.9vw, 5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.hero__tagline em {
    position: relative;
    font-style: italic;
    font-weight: 500;
    color: var(--green-600);
    white-space: nowrap;
}

/* A hand-drawn gold underline beneath "womanhood" */
.hero__tagline em::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: -0.08em;
    height: 0.16em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10C70 3 170 1 297 7' fill='none' stroke='%23C99A3A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero__lead {
    max-width: 34rem;
    margin: 28px 0 0;
    font-size: clamp(1.05rem, 1rem + 0.2vw, 1.18rem);
}

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

.hero__creds {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero__creds-label {
    font-family: var(--font-brand);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
}

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

.hero__creds-list li {
    padding: 5px 14px;
    border: 1px solid var(--green-100);
    border-radius: 999px;
    background: var(--green-50);
    font-family: var(--font-brand);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--green-800);
}

.hero__creds-list small {
    font-size: 0.8em;
    font-weight: 500;
    color: var(--green-600);
}

/* Visual: the life-stages wheel in a round frame, with the tagline turning
   around it */
/* Raised a little above centre, level with the top of the heading
   (top, not transform: the entrance animation uses transform) */
.hero__visual {
    position: relative;
    top: -40px;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    justify-self: center;
}

/* The round frame, with a white ring over its edge; the tagline's circle
   (radius 134 of 300 in the SVG) sits just outside it */
.hero__disc {
    position: absolute;
    inset: 7.5%;
    overflow: hidden;
    border-radius: 50%;
    /* white, to match the wheel image's own background */
    background: #fff;
    box-shadow: 0 44px 80px -44px rgba(6, 50, 43, 0.4);
}

.hero__disc::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px var(--line);
    pointer-events: none;
}

/* The wheel in the image runs right to its left and right edges and sits a
   little above centre, so it is shown at 95% and nudged down: that keeps its
   whole rim inside the frame's white ring instead of cut at the sides */
.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(0.5%) scale(0.95);
}

/* overflow: visible so no letter is clipped at the edge of the SVG */
.hero__orbit {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hero__orbit text {
    font-family: var(--font-brand);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    fill: var(--green-700);
}

/* --------------------------------------------------------------------------
   Ribbon of services
   -------------------------------------------------------------------------- */

.ticker {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: var(--green-900);
    color: var(--gold-200);
}

.ticker__track {
    display: flex;
    width: max-content;
}

.ticker__list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticker__item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 30px;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
}

.ticker__item .icon {
    width: 14px;
    height: 14px;
    color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
    background: #fff;
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(44px, 5vw, 72px) clamp(40px, 4.5vw, 72px);
}

/* "Dr. Bhagyashree Yewale-Goykar" stays on one line: the heading is sized
   from the column's width (the text is about 12.2 times its font size wide,
   so 8% of the column fits with a little to spare) */
.about__content {
    container-type: inline-size;
}

.about__content .section-title {
    font-size: clamp(1.6rem, 0.9rem + 2.4vw, 3rem);    /* older browsers */
    font-size: min(3.6rem, 8cqi);
    white-space: nowrap;
}

/* Visual: an arch-framed photo with a dotted back panel and a gold outline */
.about__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1;
    justify-self: center;
}

.about__arch-wrap {
    position: relative;
    width: 70%;
    aspect-ratio: 3 / 4;
}

.about__arch,
.about__arch-back,
.about__arch-line {
    position: absolute;
    inset: 0;
    /* a round top (an arch) on a 3:4 frame */
    border-radius: 50% 50% 8% 8% / 37.5% 37.5% 6% 6%;
}

.about__arch-back {
    background:
        radial-gradient(rgba(235, 203, 131, 0.28) 1px, transparent 1.5px) 0 0 / 14px 14px,
        var(--green-800);
    transform: translate(-8%, 5%);
}

.about__arch-line {
    border: 1.5px solid var(--gold-400);
    transform: translate(7%, -4%);
}

.about__arch {
    overflow: hidden;
    border: 7px solid #fff;
    background: var(--green-100);
    box-shadow: var(--shadow-lg);
}

/* The photo is square and she stands in the middle of the room, so the
   arch crops the sides and zooms in a little, keeping her head to toe */
.about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transform-origin: 50% 80%;
}

.about__note {
    position: absolute;
    right: -2%;
    bottom: 4%;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 270px;
    padding: 14px 18px 14px 14px;
    border-radius: 18px;
    background: var(--green-900);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.about__note strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-300);
}

.about__note-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(235, 203, 131, 0.14);
    color: var(--gold-300);
}

.about__note-icon .icon {
    width: 22px;
    height: 22px;
}

.about__bio {
    margin-top: 26px;
}

.about__bio p {
    margin: 0 0 16px;
}

.about__lead {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.62rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

/* Qualifications under her name: one line between thin rules, the degrees
   divided by small gold dots. Every degree has a dot before it; the list
   starts 33px (one dot and its margins) to the left and that strip is
   clipped, so the dot opening each line is hidden when it wraps on phones */
.about__creds {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    row-gap: 6px;
    margin: 20px 0 0 -33px;
    padding: 12px 0;
    border-block: 1px solid var(--line);
    list-style: none;
    clip-path: inset(0 0 0 33px);
}

.about__creds li {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--green-800);
    white-space: nowrap;
}

.about__creds li::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 14px;
    border-radius: 50%;
    background: var(--gold-500);
    vertical-align: middle;
}

.about__creds small {
    margin-left: 4px;
    font-family: var(--font-brand);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-700);
}

/* --------------------------------------------------------------------------
   Areas of Expertise
   Smaller screens (the base styles below): the logo in its circle above a
   grid of the six areas. From 1240px: a wheel around the logo (see the
   min-width block at the end of this part).
   -------------------------------------------------------------------------- */

.expertise {
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 45% at 50% 62%, rgba(255, 255, 255, 0.9), transparent 70%),
        var(--cream);
}

/* Centre: the logo in a glowing cream circle */
.x-wheel__hub {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto 56px;
}

.x-wheel__lines {
    display: none;
}

.x-wheel__core {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #FCF6EA 55%, #F4E7CB 100%);
    box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.55),
        0 0 0 11px rgba(221, 180, 90, 0.25),
        0 34px 70px -28px rgba(168, 116, 28, 0.45);
}

/* A soft halo behind the circle */
.x-wheel__core::before {
    content: "";
    position: absolute;
    inset: -28%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 68%);
}

.x-wheel__core img {
    width: 68%;
    height: auto;
}

/* The six areas */
.x-wheel__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.x-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.x-item__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #FFFFFF 0%, #F8F3E8 70%, #EFE6D3 100%);
    color: var(--green-700);
    box-shadow:
        inset 0 0 0 6px rgba(255, 255, 255, 0.85),
        0 18px 32px -16px rgba(6, 50, 43, 0.4);
    transition: transform 0.5s var(--ease);
}

/* A green gradient ring around each icon */
.x-item__icon::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2.5px;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #0A4A40, #13705F, #8FC4B4, #13705F, #0A4A40);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.x-item__icon .icon {
    width: 44px;
    height: 44px;
    stroke-width: 1.35;
}

.x-item:hover .x-item__icon {
    transform: scale(1.06);
}

.x-item__num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-600);
}

.x-item__title {
    margin: 6px 0 8px;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.08;
    color: var(--green-900);
}

.x-item__text {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.58;
}

/* ---- The wheel (1240px and wider) -------------------------------------- */

@media (min-width: 1240px) {
    /* The wheel has its own empty space above the top items, so the heading
       needs no extra margin here */
    .expertise__head {
        margin-bottom: 0;
    }

    .x-wheel {
        position: relative;
        height: 720px;
    }

    .x-wheel__hub {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 600px;
        height: 600px;
        margin: -300px 0 0 -300px;
    }

    .x-wheel__lines {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .x-wheel__core {
        inset: auto;
        left: 50%;
        top: 50%;
        width: 280px;
        height: 280px;
        margin: -140px 0 0 -140px;
    }

    .x-wheel__ring {
        fill: none;
        stroke: url(#x-ring);
        stroke-width: 3.5;
        stroke-linecap: round;
    }

    .x-wheel__line {
        fill: none;
        stroke: var(--green-600);
        stroke-width: 1.5;
        stroke-linecap: round;
    }

    .x-wheel__dot {
        fill: var(--gold-500);
        stroke: #fff;
        stroke-width: 2.5;
    }

    .x-wheel__list {
        display: block;
    }

    /* Each item is a point at the centre of the wheel; --x and --y place its
       icon, and the text sits beside the icon on the outer side. (1px, not 0:
       the scroll reveal never sees a zero-size element come into view.) */
    .x-item {
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        width: 1px;
        height: 1px;
    }

    .x-item__icon {
        position: absolute;
        left: calc(var(--x) * 1px - 56px);
        top: calc(var(--y) * 1px - 56px);
        width: 112px;
        height: 112px;
    }

    .x-item__icon .icon {
        width: 50px;
        height: 50px;
    }

    .x-item__body {
        position: absolute;
        top: calc(var(--y) * 1px);
        width: var(--w, 250px);
        transform: translateY(-50%);
    }

    /* Left side: text ends 16px before the icon */
    .x-item--1 .x-item__body,
    .x-item--2 .x-item__body,
    .x-item--3 .x-item__body {
        right: calc(72px - var(--x) * 1px);
    }

    /* Right side: text starts 16px after the icon */
    .x-item--4 .x-item__body,
    .x-item--5 .x-item__body,
    .x-item--6 .x-item__body {
        left: calc(var(--x) * 1px + 72px);
    }

    .x-item__num {
        font-size: 1.95rem;
    }

    .x-item__title {
        margin: 4px 0 6px;
        font-size: 1.5rem;
    }

    .x-item__text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Icon centres, in px from the centre of the wheel (the connector lines in
       home.blade.php are drawn to match these) */
    .x-item--1 { --x: -215; --y: -220; }
    .x-item--2 { --x: -262; --y: 0; }
    .x-item--3 { --x: -205; --y: 228; --w: 270px; }
    .x-item--4 { --x: 215; --y: -220; }
    .x-item--5 { --x: 262; --y: 0; }
    .x-item--6 { --x: 205; --y: 228; --w: 270px; }
}

/* --------------------------------------------------------------------------
   Services: four stages of life, each a round portrait joined to the next
   by a wavy line. Odd stages are teal, even ones peach.
   -------------------------------------------------------------------------- */

.services {
    background:
        radial-gradient(ellipse 50% 60% at 0% 0%, rgba(251, 228, 196, 0.55), transparent 70%),
        linear-gradient(100deg, #FFFAF3 0%, #FFFFFF 45%, #F4FAF8 100%);
}

.stages {
    --photo: clamp(168px, 15.5vw, 222px);  /* portrait diameter */
    --gap: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.stage {
    --accent: #5BB09B;
    --accent-soft: #A9D8CB;
    --accent-tint: #E2F2EC;
    --accent-halo: rgba(91, 176, 155, 0.22);
    position: relative;
}

.stage:nth-child(even) {
    --accent: #EE9F55;
    --accent-soft: #F6CFA6;
    --accent-tint: #FCEAD6;
    --accent-halo: rgba(238, 159, 85, 0.22);
}

.stage__media {
    position: relative;
    width: var(--photo);
    aspect-ratio: 1;
    margin: 16px auto 34px;
}

/* The arc: a ring around the top-left of the portrait, fading at both ends */
.stage__media::before {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: conic-gradient(from 225deg, transparent 0deg, var(--accent) 45deg, var(--accent-soft) 135deg, transparent 175deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}

.stage__photo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 6px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 18px 36px -20px rgba(6, 50, 43, 0.45);
    transition: transform 0.6s var(--ease);
}

.stage:hover .stage__photo {
    transform: scale(1.03);
}

/* Shown until a photo is added */
.stage__photo--empty {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 30%, #fff 0%, var(--accent-tint) 100%);
    color: var(--accent);
}

.stage__photo--empty .icon {
    width: 38%;
    height: 38%;
    stroke-width: 1.1;
    opacity: 0.7;
}

.stage__badge {
    position: absolute;
    right: -6%;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 36%;
    aspect-ratio: 1;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #fff 55%, var(--accent-tint) 100%);
    color: var(--green-800);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.85), 0 12px 24px -12px rgba(6, 50, 43, 0.45);
}

.stage__badge .icon {
    width: 46%;
    height: 46%;
    stroke-width: 1.6;
}

/* Wavy line from this portrait to the next, with a dot halfway */
.stage__link {
    position: absolute;
    top: calc(16px + var(--photo) / 2 - 20px);
    left: calc(50% + var(--photo) / 2 + 12px);
    width: calc(100% - var(--photo) + var(--gap) - 36px);
    height: 40px;
}

.stage__link svg {
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
}

.stage__link path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.75;
    vector-effect: non-scaling-stroke;
}

.stage__link i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-halo);
    transform: translate(-50%, -50%);
}

.stage__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 1.2rem + 0.8vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--green-800);
}

.stage__text {
    margin: 0 0 22px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.stage__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 2px 0 2px 18px;
    border-left: 2px solid var(--accent-soft);
    list-style: none;
}

.stage__list li {
    display: flex;
    gap: 12px;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.stage__list .icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    stroke-width: 2.4;
    color: var(--green-600);
}

.services__note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    max-width: max-content;
    margin: 52px auto 0;
    padding: 16px 28px;
    border: 1px solid var(--green-100);
    border-radius: 999px;
    background: var(--green-50);
    text-align: center;
}

.services__note > .icon {
    width: 20px;
    height: 20px;
    color: var(--gold-600);
}

.services__note p {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

.services__note-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: var(--green-700);
    text-decoration: none;
}

.services__note-link:hover {
    color: var(--green-900);
}

/* --------------------------------------------------------------------------
   Hospital Affiliations (light: cream background, white cards)
   -------------------------------------------------------------------------- */

.hospitals {
    overflow: hidden;
    isolation: isolate;
    background: var(--cream);
}

.hospitals::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 90% 6%, rgba(221, 180, 90, 0.16), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(19, 112, 95, 0.08), transparent 45%);
}

.hospitals__decor {
    position: absolute;
    right: -140px;
    top: 50%;
    z-index: -1;
    width: 640px;
    opacity: 0.07;
    transform: translateY(-50%);
    pointer-events: none;
}

.h-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.h-card {
    padding: 26px 24px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.4s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.h-card:hover {
    border-color: var(--gold-300);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.h-card__area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-brand);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--green-800);
}

.h-card__area .icon {
    width: 20px;
    height: 20px;
    color: var(--gold-600);
}

.h-card__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.h-card__list li {
    position: relative;
    padding-left: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.h-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-500);
}

/* The clinic card: white like the others, with a gold border */
.h-card--clinic {
    border-color: var(--gold-300);
}

.h-card__clinic {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--green-950);
}

.h-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--green-900);
    text-decoration: none;
}

.h-card__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Gallery and lightbox
   -------------------------------------------------------------------------- */

.gallery {
    background: #fff;
}

/* A row of portrait tiles that slides sideways and snaps to each photo;
   --per-view tiles are in view at once (3 here, fewer on smaller screens) */
.g-track {
    --per-view: 3;
    --gap: 22px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    gap: var(--gap);
    margin: 0;
    padding: 4px 0 12px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
}

/* With scripts running the arrows take over, so the scrollbar is hidden */
.js-enabled .g-track {
    scrollbar-width: none;
}

.js-enabled .g-track::-webkit-scrollbar {
    display: none;
}

.g-slide {
    scroll-snap-align: start;
}

/* The previous / next arrows sit on the left and right ends of the row,
   half over the edge of the first and last photo in view. They need the
   script, and always show (they wrap around at the ends). */
.g-stage {
    position: relative;
}

.g-arrow {
    position: absolute;
    top: calc(50% - 4px);
    z-index: 2;
    display: none;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1.5px solid rgba(13, 90, 78, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px -12px rgba(6, 50, 43, 0.45);
    color: var(--green-800);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.js-enabled .g-arrow {
    display: grid;
}

.g-arrow--prev {
    left: -26px;
}

.g-arrow--next {
    right: -26px;
}

.g-arrow:hover {
    border-color: var(--green-800);
    background: var(--green-800);
    color: #fff;
}

.g-arrow .icon {
    width: 20px;
    height: 20px;
}

.g-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.g-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 31, 26, 0.78));
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.g-item__caption {
    position: absolute;
    left: 22px;
    right: 70px;
    bottom: 18px;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.g-item__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--green-800);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

/* Drawn inside the tile, so the edge of the sliding row never clips it */
.g-item:focus-visible {
    outline-offset: -4px;
}

.g-item:hover img,
.g-item:focus-visible img {
    transform: scale(1.04);
}

.g-item:hover::after,
.g-item:focus-visible::after,
.g-item:hover .g-item__caption,
.g-item:focus-visible .g-item__caption,
.g-item:hover .g-item__zoom,
.g-item:focus-visible .g-item__zoom {
    opacity: 1;
    transform: none;
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 31, 26, 0.95);
    color: #fff;
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox::backdrop {
    background: rgba(4, 31, 26, 0.6);
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(1100px, calc(100vw - 150px));
    margin: 0;
}

.lightbox__img {
    max-width: 100%;
    max-height: calc(100dvh - 150px);
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.lightbox__caption {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-align: center;
}

.lightbox__count {
    margin-left: 8px;
    font-family: var(--font-brand);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--gold-300);
}

.lightbox__btn {
    position: fixed;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(235, 203, 131, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.lightbox__btn:hover {
    border-color: var(--gold-300);
    background: rgba(255, 255, 255, 0.14);
}

.lightbox__btn .icon {
    width: 24px;
    height: 24px;
}

.lightbox__close {
    top: 20px;
    right: 20px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: 20px;
}

.lightbox__nav--next {
    right: 20px;
}

.lightbox.is-single .lightbox__nav {
    display: none;
}

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */

.media {
    background: var(--cream);
}

/* The award photos use the gallery slider (see "Gallery and lightbox"),
   without captions, so the dark shading behind a caption is left out */
.g-slider--plain .g-item::after {
    content: none;
}

/* The newspaper clipping is a wide page in a tall tile, so the tile is
   framed on her portrait in it; the lightbox shows the whole page */
.g-item--clipping img {
    object-position: 26% 50%;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
    background: #fff;
}

.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(40px, 6vw, 96px);
}

.faq__intro {
    position: sticky;
    top: calc(var(--bar-h) + var(--header-top) + 32px);
}

.faq__card {
    position: relative;
    margin-top: 34px;
    padding: 30px 28px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--green-900);
    color: #fff;
}

.faq__card-icon {
    width: 40px;
    height: 40px;
    color: var(--gold-400);
}

.faq__card p {
    margin: 12px 0 22px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    line-height: 1.25;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ivory);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
    border-color: var(--gold-300);
    box-shadow: var(--shadow);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    list-style: none;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item__q:hover {
    color: var(--green-700);
}

.faq-item__toggle {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1.5px solid var(--gold-400);
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s, transform 0.45s var(--ease);
}

.faq-item__toggle::before,
.faq-item__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--green-800);
    transform: translate(-50%, -50%);
    transition: transform 0.45s var(--ease), background-color 0.3s;
}

.faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__toggle {
    border-color: var(--green-800);
    background: var(--green-800);
    transform: rotate(180deg);
}

.faq-item[open] .faq-item__toggle::before,
.faq-item[open] .faq-item__toggle::after {
    background: #fff;
}

.faq-item[open] .faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__a {
    padding: 0 24px 24px;
}

.faq-item__a p {
    margin: 0;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

/* --------------------------------------------------------------------------
   Appointment panel
   -------------------------------------------------------------------------- */

/* The whole section is the banner image, edge to edge; its content lines up
   with the rest of the page. The image is plain cream on its left half and
   has the artwork on its right, so it is shown at the section's full height,
   anchored right, and the rest is filled with the same cream (#FEF8F4).
   Below 1100px it moves under the text instead (responsive.css). */
.cta {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 4vw, 52px) 0 clamp(56px, 5vw, 70px);
    border-top: 1px solid var(--gold-200);
    background: #FEF8F4 url("../images/gallery/banner.png") no-repeat right center / auto 100%;
}

.cta__content {
    max-width: 640px;
}

.cta .eyebrow {
    gap: 18px;
    margin-bottom: 22px;
}

.cta .eyebrow::before {
    width: 46px;
}

.cta__title {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem);
    line-height: 1.08;
    color: var(--green-800);
}

/* Amber accent word; dark enough to pass AA for large text on the peach */
.cta__title em {
    font-weight: 600;
    color: #CF6E10;
}

/* Short gold rule under the heading */
.cta__title::after {
    content: "";
    display: block;
    width: 88px;
    height: 2px;
    margin-top: 26px;
    border-radius: 2px;
    background: var(--gold-grad);
}

.cta__text {
    max-width: 34rem;
    margin: 22px 0 0;
    font-size: 1.08rem;
    color: var(--ink-2);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.cta .btn--outline {
    border-color: var(--green-800);
    background: rgba(255, 255, 255, 0.7);
}

.cta .btn--outline:hover {
    background: var(--green-800);
}
