:root {
    --navy: #0b2638;
    --navy-2: #123f52;
    --teal: #54c6b1;
    --teal-dark: #168578;
    --ivory: #f6f7f4;
    --paper: #fff;
    --ink: #15232b;
    --muted: #64737a;
    --line: #dce5e3;
    --soft: #e7f1ee;
    --serif: 'Manrope', sans-serif;
    --mono: 'DM Mono', monospace
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    background: var(--ivory);
    line-height: 1.6;
    font-size: 15px
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 1000;
    background: var(--teal);
    color: var(--navy);
    padding: .65rem 1rem;
    border-radius: .4rem
}

.skip-link:focus {
    top: 1rem
}

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

button,
input,
select,
textarea {
    font: inherit
}

.eyebrow,
.footer-label {
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .68rem;
    color: var(--teal-dark);
    margin: 0 0 1rem
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--navy);
    line-height: 1
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 1.25rem;
    font-style: normal
}

.brand-copy {
    display: grid;
    gap: .24rem
}

.brand-copy strong {
    font-size: .92rem;
    letter-spacing: -.03em
}

.brand-copy small {
    font-family: var(--mono);
    font-size: .48rem;
    letter-spacing: .14em;
    opacity: .7
}

.brand-light {
    color: #fff
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    width: 100%;
    padding: 1.4rem 0;
    color: #fff;
    transition: .3s ease
}

.site-header.scrolled {
    position: fixed;
    padding: .8rem 0;
    background: rgba(11, 38, 56, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12)
}

.site-header .brand {
    color: #fff
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto
}

.desktop-nav a {
    font-size: .75rem;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .78);
    padding: .5rem 0
}

.desktop-nav a:hover,
.desktop-nav a[aria-current=page] {
    color: #fff
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .8rem
}

.btn {
    border-radius: 999px;
    padding: .75rem 1.15rem;
    font-size: .75rem;
    font-weight: 700;
    border: 0
}

.btn-primary {
    background: var(--teal);
    color: var(--navy)
}

.btn-primary:hover {
    background: #79dccb;
    color: var(--navy);
    transform: translateY(-2px)
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff
}

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

.btn i {
    margin-left: .35rem
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.65rem;
    line-height: 1
}

.hero {
    min-height: 760px;
    height: 100svh;
    max-height: 920px;
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--navy)
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: end
}

.hero-slide.active {
    opacity: 1
}

.hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 22, 32, .87) 0%, rgba(5, 27, 38, .64) 46%, rgba(5, 27, 38, .12) 100%)
}

.hero-slide .container {
    position: relative;
    z-index: 1;
    padding-bottom: 9.5rem
}

.hero-copy {
    max-width: 680px
}

.hero-copy .eyebrow {
    color: var(--teal)
}

.hero h1 {
    font-size: clamp(2.8rem, 6.2vw, 6rem);
    line-height: 1.03;
    letter-spacing: -.07em;
    margin: 0 0 1.4rem;
    font-weight: 600
}

.hero-copy p {
    font-size: 1.12rem;
    max-width: 540px;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 2rem
}

.text-link {
    font-size: .78rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: .4rem
}

.text-link:hover {
    gap: .7rem
}

.hero-meta {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 2
}

.hero-meta-inner {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    padding-top: 1rem
}

.slider-controls {
    display: flex;
    gap: .5rem
}

.slider-controls button {
    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer
}

.slider-controls button:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy)
}

.section {
    padding: 7rem 0
}

.section-heading h2,
.split-copy h2,
.story-copy h2 {
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.08;
    letter-spacing: -.065em;
    font-weight: 600;
    margin: 0 0 1.3rem
}

.intro-section {
    background: var(--ivory)
}

.speciality-section {
    background: var(--navy);
    color: #fff
}

.speciality-section .eyebrow {
    color: var(--teal)
}

.speciality-section h2 {
    max-width: 620px
}

.speciality-section p {
    color: rgba(255, 255, 255, .65)
}

.image-split {
    background: var(--paper)
}

.pathway-section {
    background: #e7f1ee
}

.pathway-tabs {
    display: grid;
    gap: .5rem
}

.pathway-tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(11, 38, 56, .15);
    border-radius: .55rem;
    background: transparent;
    text-align: left;
    color: var(--navy);
    cursor: pointer
}

.pathway-tab.active,
.pathway-tab:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.pathway-tab span {
    font-size: .9rem;
    font-weight: 700
}

.pathway-tab small {
    font-family: var(--mono);
    font-size: .6rem;
    opacity: .7
}

.pathway-panel {
    display: none;
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    min-height: 275px
}

.pathway-panel.active {
    display: block
}

.pathway-panel h3 {
    font-size: 1.7rem;
    letter-spacing: -.04em;
    margin: 0 0 1rem
}

.pathway-panel p {
    color: var(--muted);
    max-width: 470px
}

.journal-section {
    background: var(--ivory)
}

.appointment-band {
    background: var(--teal);
    color: var(--navy);
    padding: 4rem 0
}

.appointment-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem
}

.appointment-band h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.06em;
    max-width: 630px;
    margin: 0
}

.appointment-band .btn {
    background: var(--navy);
    color: #fff
}

.location-section {
    background: var(--paper)
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center
}

.map-placeholder {
    min-height: 350px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #cfe6e1, #edf5f1);
    position: relative;
    overflow: hidden
}

.map-placeholder:before {
    content: "";
    position: absolute;
    inset: 15% 20%;
    border: 1px solid rgba(11, 38, 56, .22);
    transform: rotate(-12deg);
    border-radius: 40% 60% 50% 30%
}

.map-placeholder:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 6px solid var(--navy);
    background: var(--teal);
    border-radius: 50%;
    left: 52%;
    top: 43%;
    box-shadow: 0 0 0 14px rgba(84, 198, 177, .22)
}

.location-card {
    padding: 2rem 0
}

.location-card address {
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0
}

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 4.5rem 0 1rem
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr .75fr .75fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem
}

.footer-brand p {
    color: rgba(255, 255, 255, .6);
    max-width: 300px;
    font-size: .82rem;
    margin-top: 1.5rem
}

.footer-label {
    color: var(--teal);
    margin-bottom: 1.2rem
}

.site-footer a,
.site-footer address {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: .76rem;
    margin: .6rem 0;
    font-style: normal
}

.site-footer a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    color: rgba(255, 255, 255, .5);
    font-size: .67rem
}

.footer-bottom div {
    display: flex;
    gap: 1rem
}

.footer-bottom div a {
    margin: 0
}

.inner-hero {
    background: var(--navy);
    color: #fff;
    padding: 11rem 0 5rem;
    position: relative;
    overflow: hidden
}

.inner-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -.07em;
    max-width: 850px;
    margin: 1.5rem 0
}

.inner-hero p {
    color: rgba(255, 255, 255, .72);
    max-width: 650px;
    font-size: 1.05rem
}

.breadcrumb-wrap {
    display: flex;
    gap: .6rem;
    align-items: center;
    font-family: var(--mono);
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .55)
}

.breadcrumb-wrap a {
    color: var(--teal)
}

.content-section {
    background: var(--paper)
}

.form-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem
}

.form-label,
.appointment-form label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: var(--navy)
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: .35rem;
    padding: .75rem .85rem;
    background: #fbfcfa;
    color: var(--ink);
    outline: none
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(84, 198, 177, .18)
}

.consent {
    display: flex !important;
    gap: .6rem;
    align-items: flex-start;
    color: var(--muted) !important;
    font-weight: 400 !important
}

.consent input {
    width: auto !important;
    margin-top: .3rem
}

.appointment-modal {
    border: 0;
    border-radius: 1rem;
    overflow: hidden
}

.appointment-modal .modal-header,
.appointment-modal .modal-body {
    padding: 2rem 2.2rem
}

.appointment-modal h2 {
    font-size: 2rem;
    letter-spacing: -.06em;
    margin: 0
}

.modal-intro {
    color: var(--muted);
    font-size: .82rem
}

.whatsapp-float {
    position: fixed;
    z-index: 15;
    left: 1.4rem;
    bottom: 1.4rem;
    background: #1cad70;
    color: #fff;
    padding: .75rem 1rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .75rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .16)
}

.whatsapp-float:hover {
    background: #128c58;
    color: #fff;
    transform: translateY(-3px)
}

.mobile-action-bar {
    display: none
}

@media(max-width:991px) {

    .desktop-nav,
    .header-phone {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .btn-appointment {
        padding: .65rem .9rem
    }

    .intro-grid,
    .split-grid,
    .pathway-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem
    }

    

    

    

    

    

    

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    

    

    

    
}

@media(max-width:600px) {
    body {
        font-size: 14px;
        padding-bottom: 67px
    }

    .site-header {
        padding: 1rem 0
    }

    .brand-mark {
        width: 30px;
        height: 30px
    }

    .brand-copy strong {
        font-size: .8rem
    }

    .brand-copy small {
        font-size: .42rem
    }

    .btn-appointment {
        font-size: .68rem;
        padding: .6rem .8rem
    }

    .hero {
        min-height: 690px
    }

    .hero-slide .container {
        padding-bottom: 8.5rem
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13vw, 4rem)
    }

    .hero-copy p {
        font-size: .95rem
    }

    

    .hero-meta {
        bottom: 1rem
    }

    .hero-meta-inner {
        align-items: center
    }

    .section {
        padding: 4.5rem 0
    }

    .section-heading h2,
    .split-copy h2,
    .story-copy h2 {
        font-size: 2.25rem
    }

    

    

    .pathway-panel {
        padding: 1.5rem;
        min-height: 0
    }

    

    

    

    .appointment-band {
        padding: 3.5rem 0
    }

    .appointment-band-inner {
        align-items: flex-start;
        flex-direction: column
    }

    .location-grid {
        gap: 1rem
    }

    .map-placeholder {
        min-height: 260px
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2.5rem
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .footer-bottom div {
        flex-wrap: wrap
    }

    

    .whatsapp-float {
        display: none
    }

    .mobile-action-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        z-index: 30;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--navy);
        padding: .55rem .3rem calc(.55rem + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 20px rgba(0, 0, 0, .14)
    }

    .mobile-action-bar a,
    .mobile-action-bar button {
        border: 0;
        background: transparent;
        color: #fff;
        text-align: center;
        font-size: .62rem;
        display: grid;
        gap: .15rem;
        justify-items: center
    }

    .mobile-action-bar i {
        font-size: 1.1rem;
        color: var(--teal)
    }

    

    .form-card {
        padding: 1.4rem
    }

    .appointment-modal .modal-header,
    .appointment-modal .modal-body {
        padding: 1.4rem
    }

    .inner-hero {
        padding: 9rem 0 3.5rem
    }

    .inner-hero h1 {
        font-size: 3rem
    }

    .content-section {
        padding: 3.5rem 0
    }
}

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

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important
    }
}
/* --------------------------------------------------------------------------
   Google Maps embed (includes/map-embed.php)
   Fills whichever card it is dropped into; the card supplies the height.
   -------------------------------------------------------------------------- */
.map-embed {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-embed-wrap {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    border-radius: 1rem;
    background: var(--soft);
    box-shadow: 0 16px 44px rgba(16, 44, 61, .07);
}

.map-embed-wrap-tall {
    min-height: 500px;
}

@media (max-width: 760px) {
    .map-embed-wrap,
    .map-embed-wrap-tall {
        min-height: 300px;
    }
}

/* --------------------------------------------------------------------------
   Home hero call-to-action
   Outlined pill matching the speciality chips beside it.
   -------------------------------------------------------------------------- */
.home-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.6rem;
}

/* A slide that is faded out still sits in the layout — stop its links from
   being clickable. (main.js also marks those slides inert.) */
.hero-slide {
    pointer-events: none;
}

.hero-slide.active {
    pointer-events: auto;
}

@media (max-width: 760px) {
    .home-hero .hero-actions {
        margin-top: 1.1rem;
    }
}
