@font-face { font-family: 'GT Walsheim Pro'; src: url('../../media/client/fonts/gt-walsheim-pro-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'GT Walsheim Pro'; src: url('../../media/client/fonts/gt-walsheim-pro-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'GT Walsheim Pro'; src: url('../../media/client/fonts/gt-walsheim-pro-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../../media/client/fonts/archivo-latin-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../../media/client/fonts/lato-regular-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('../../media/client/fonts/lato-bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bahij Janna'; src: url('../../media/client/fonts/bahij-janna-regular.ttf') format('truetype'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
    --navy: #37415b;
    --navy-deep: #202a45;
    --teal: #5ca6a5;
    --teal-dark: #397f80;
    --teal-pale: #e9f6f5;
    --sky-pale: #f2f8fb;
    --accent: #ef9561;
    --accent-dark: #d87540;
    --ink: #1f2b37;
    --muted: #63727b;
    --line: #dce7e8;
    --cream: #faf8f3;
    --focus: #f5b63f;
    --shadow-sm: 0 10px 34px rgba(32, 42, 69, .08);
    --shadow-lg: 0 28px 80px rgba(32, 42, 69, .16);
    --radius-md: 24px;
    --radius-lg: 40px;
    --container: 1280px;
    --section-space: clamp(5rem, 9vw, 9rem);
}

/*
 * Maxcare fidelity layer.
 * Values below were measured from the supplied/live Home 01 reference at
 * 1440 x 900 and 390 x 844. It intentionally scopes the Home composition
 * while the shared shell applies to every public page.
 */
:root {
    --maxcare-cyan: #5ca6a5;
    --maxcare-cyan-bright: #69bebd;
    --maxcare-cyan-pale: #eaf7f7;
    --maxcare-cyan-soft: #dff2f4;
    --maxcare-navy: #37415b;
    --maxcare-navy-deep: #202a45;
    --maxcare-copy: #686877;
    --maxcare-line: #d7e2e4;
    --maxcare-white: #fff;
    --maxcare-container: 1295px;
    --maxcare-radius-card: 42px;
}

body.public-site {
    color: var(--maxcare-copy);
    font-family: 'Archivo', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6875;
}

html[dir='rtl'] body.public-site {
    font-family: 'Bahij Janna', Arial, sans-serif;
}

.public-site h1,
.public-site h2,
.public-site h3,
.public-site h4 {
    color: var(--maxcare-navy-deep);
    font-family: 'Archivo', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: -.025em;
}

html[dir='rtl'] .public-site h1,
html[dir='rtl'] .public-site h2,
html[dir='rtl'] .public-site h3,
html[dir='rtl'] .public-site h4 {
    font-family: 'Bahij Janna', Arial, sans-serif;
    letter-spacing: 0;
}

.public-site .site-container {
    width: min(calc(100% - 30px), var(--maxcare-container));
}

.maxcare-header .utility-bar {
    background: var(--maxcare-cyan-bright);
    color: #fff;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
}

.maxcare-header .utility-inner {
    min-height: 49px;
}

.maxcare-header .utility-inner p {
    max-width: 620px;
    font-weight: 700;
    letter-spacing: 0;
}

.maxcare-header .utility-inner nav {
    gap: 20px;
}

.maxcare-header .language-link {
    border-color: rgba(255,255,255,.42);
}

.maxcare-header .main-nav-wrap {
    background: linear-gradient(110deg, #22304d, #17223f);
    box-shadow: none;
    backdrop-filter: none;
}

.public-site .maxcare-header .site-container {
    width: 100%;
    max-width: none;
    padding-inline: 15px;
}

.maxcare-header .main-nav {
    min-height: 89px;
    justify-content: flex-start;
}

.maxcare-header .brand {
    width: 190px;
    height: 72px;
    justify-content: flex-start;
}

.maxcare-header .brand img {
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

html[dir='rtl'] .maxcare-header .brand img {
    object-position: right center;
}

.maxcare-header .primary-navigation {
    display: block;
    flex: 1;
    margin-inline-start: 40px;
}

.maxcare-header .primary-navigation-links {
    display: flex;
    align-items: center;
    gap: clamp(21px, 2vw, 34px);
}

.maxcare-header .primary-navigation-links > a,
.maxcare-header .nav-dropdown-row > a {
    position: relative;
    padding-block: 34px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 21px;
}

.maxcare-header .primary-navigation-links > a:not(.nav-cta)::after,
.maxcare-header .nav-dropdown-row > a::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 24px;
    height: 2px;
    background: var(--maxcare-cyan-bright);
    content: '';
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.maxcare-header .primary-navigation-links > a:hover::after,
.maxcare-header .primary-navigation-links > a.is-active::after,
.maxcare-header .nav-dropdown-row > a:hover::after,
.maxcare-header .nav-dropdown-row > a.is-active::after {
    transform: scaleX(1);
}

.maxcare-header .nav-cta {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    gap: 16px;
    padding: 15px 22px !important;
    border-radius: 999px;
    background: var(--maxcare-cyan-bright);
    color: #fff;
    box-shadow: none;
    margin-inline-start: auto;
}

.maxcare-header .nav-cta i {
    font-size: 12px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-row {
    display: flex;
    align-items: center;
}

.nav-dropdown-row > button {
    margin-inline-start: 6px;
    padding: 8px 3px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 10px;
}

.nav-submenu {
    position: absolute;
    inset-block-start: calc(100% + 1px);
    inset-inline-start: -24px;
    width: 290px;
    padding: 18px 0;
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(20,31,57,.2);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-submenu a {
    display: block;
    padding: 10px 24px;
    color: var(--maxcare-navy-deep);
    font-weight: 600;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
    background: var(--maxcare-cyan-pale);
    color: var(--teal-dark);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu-heading,
.mobile-menu-utility,
.mobile-menu-backdrop {
    display: none;
}

.maxcare-hero {
    position: relative;
    height: 905px;
    overflow: hidden;
    background: var(--maxcare-navy-deep);
}

.maxcare-hero .hero-track,
.maxcare-hero .hero-slide {
    position: absolute;
    inset: 0;
}

.maxcare-hero .hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.maxcare-hero .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.maxcare-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: transform 8s ease;
}

.maxcare-hero .hero-slide.is-active .hero-image {
    transform: scale(1);
}

.maxcare-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19,34,65,.94) 0%, rgba(25,57,83,.76) 39%, rgba(24,67,86,.25) 67%, rgba(20,35,64,.08) 100%);
}

html[dir='rtl'] .maxcare-hero .hero-overlay {
    background: linear-gradient(270deg, rgba(19,34,65,.94) 0%, rgba(25,57,83,.76) 39%, rgba(24,67,86,.25) 67%, rgba(20,35,64,.08) 100%);
}

.hero-slide-pattern {
    position: absolute;
    inset-inline-start: 30px;
    inset-block-start: 165px;
    width: 118px;
    height: 118px;
    object-fit: cover;
    opacity: .75;
}

.maxcare-hero .hero-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-items: center;
    padding-block: 110px 100px;
}

.maxcare-hero .hero-content {
    width: min(692px, 60vw);
    color: #fff;
}

.maxcare-hero .hero-content h1 {
    max-width: 692px;
    margin-bottom: 31px;
    color: #fff;
    font-size: clamp(58px, 5.05vw, 72px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.1;
    text-wrap: balance;
}

.maxcare-hero .hero-content > p:not(.eyebrow) {
    max-width: 540px;
    margin-bottom: 34px;
    color: rgba(255,255,255,.9);
    font-size: 18px;
}

.hero-button,
.maxcare-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    gap: 20px;
    padding: 8px 9px 8px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--maxcare-cyan-bright);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.2;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

html[dir='rtl'] .hero-button,
html[dir='rtl'] .maxcare-button {
    padding: 8px 28px 8px 9px;
}

.hero-button {
    background: #fff;
    color: var(--maxcare-navy-deep);
}

.hero-button i,
.maxcare-button i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--maxcare-cyan-bright);
    color: #fff;
}

.maxcare-button:hover,
.hero-button:hover {
    transform: translateY(-2px);
}

.maxcare-hero .hero-controls {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: min(calc(100% - 30px), var(--maxcare-container));
    margin-inline: auto;
    pointer-events: none;
}

.maxcare-hero .carousel-dots {
    position: absolute;
    inset-inline-end: 11px;
    inset-block-start: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
    pointer-events: auto;
}

.maxcare-hero .carousel-dots button {
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    font-size: 10px;
}

.maxcare-hero .carousel-dots button::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maxcare-cyan-bright);
    content: '';
}

.maxcare-hero .carousel-dots button span {
    position: absolute;
    opacity: 0;
}

.maxcare-hero .carousel-dots button.is-active {
    border-color: rgba(255,255,255,.82);
}

.maxcare-hero .carousel-dots button.is-active::before {
    background: #fff;
}

.maxcare-hero .carousel-arrows {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 52px;
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.maxcare-hero .carousel-arrows button {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(20,35,64,.18);
    color: #fff;
    cursor: pointer;
}

.maxcare-quick-links {
    padding: 42px 0 145px;
    background: #fff;
}

.quick-links-grid {
    position: relative;
    display: grid;
    min-height: 510px;
    grid-template-columns: 1.7fr .76fr .72fr;
    gap: 36px;
}

.quick-card {
    position: relative;
    overflow: hidden;
    border-radius: 38px;
}

.quick-card-intro {
    min-width: 0;
    background: var(--maxcare-cyan-bright);
}

.quick-card-image,
.quick-card-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.quick-card-image {
    object-fit: cover;
}

.quick-card-overlay {
    background: linear-gradient(90deg, rgba(16,129,145,.96), rgba(35,182,201,.5));
}

.quick-card-intro-copy {
    position: relative;
    z-index: 1;
    width: 44%;
    padding: 72px 36px;
    color: #fff;
}

.quick-card-intro-copy p {
    max-width: 16ch;
    margin-bottom: 24px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.quick-card-intro-copy h2 {
    color: #fff;
    font-size: clamp(37px, 3.6vw, 54px);
    font-weight: 600;
    line-height: 1.14;
}

.quick-card-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: #fff;
    font-weight: 700;
}

.quick-card-appointment {
    position: absolute;
    z-index: 3;
    inset-block: 16px 42px;
    inset-inline-start: 18.5%;
    display: flex;
    width: 29%;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 44px;
    border: 1px solid rgba(255,255,255,.82);
    background: rgba(240,251,252,.88);
    box-shadow: 0 25px 55px rgba(38,68,91,.14);
    color: var(--maxcare-navy);
    backdrop-filter: blur(7px);
}

.quick-card-appointment > i:first-child,
.quick-card-standard > i:first-child,
.quick-card-teal > i:first-child {
    color: var(--teal-dark);
    font-size: 38px;
}

.quick-card span {
    display: grid;
    gap: 18px;
}

.quick-card strong {
    color: var(--maxcare-navy);
    font-size: 27px;
    line-height: 1.18;
}

.quick-card small {
    color: var(--maxcare-copy);
    font-size: 16px;
    line-height: 1.7;
}

.quick-card-standard,
.quick-card-teal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 54px 34px 42px;
    border: 1px solid #e0f0f1;
    background: linear-gradient(145deg, #fff, #e9fafa);
}

.quick-card-teal {
    background: var(--maxcare-cyan-bright);
    color: #fff;
}

.quick-card-teal strong,
.quick-card-teal small,
.quick-card-teal > i:first-child {
    color: #fff;
}

.quick-card-arrow {
    align-self: flex-end;
    color: currentColor;
}

.maxcare-about-section {
    padding-block: 80px 165px;
}

.maxcare-about-grid {
    display: grid;
    grid-template-columns: 1.07fr .93fr;
    gap: clamp(62px, 8vw, 120px);
    align-items: center;
}

.maxcare-about-collage {
    position: relative;
    min-height: 650px;
}

.about-dot-pattern {
    position: absolute;
    inset-inline-start: -40px;
    inset-block-start: 30px;
    width: 90%;
    opacity: .25;
}

.about-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 95px 40px 95px 40px;
    background: var(--maxcare-cyan-pale);
    box-shadow: 0 18px 50px rgba(35,61,88,.11);
}

.about-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-1 {
    inset-inline-start: 24px;
    inset-block-start: 165px;
    width: 43%;
    height: 365px;
}

.about-photo-2 {
    inset-inline-end: 66px;
    inset-block-start: 20px;
    width: 34%;
    height: 250px;
}

.about-photo-3 {
    inset-inline-end: 58px;
    inset-block-end: 18px;
    width: 35%;
    height: 278px;
}

.about-object {
    position: absolute;
    inset-inline-start: 44%;
    inset-block-end: 54px;
    width: 136px;
    opacity: .44;
}

.maxcare-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 6px 14px;
    border: 1px solid rgba(92,166,165,.48);
    border-radius: 999px;
    color: var(--teal-dark);
    font-family: 'Lato', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

html[dir='rtl'] .maxcare-pill-label {
    font-family: 'Bahij Janna', Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}

.maxcare-about-copy h2,
.maxcare-section-heading h2,
.maxcare-why-copy h2,
.appointment-form-card h2 {
    margin-bottom: 32px;
    font-size: clamp(39px, 3.55vw, 50px);
    line-height: 1.08;
}

.maxcare-body-copy p {
    margin-bottom: 24px;
    color: var(--maxcare-copy);
    line-height: 1.72;
}

.maxcare-about-copy .maxcare-button {
    margin-top: 20px;
}

.maxcare-programs-section {
    padding-block: 130px 150px;
    border-radius: 54px 54px 0 0;
    background: #f0fafc;
}

.maxcare-section-heading.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 790px;
    margin: 0 auto 62px;
    text-align: center;
}

.maxcare-section-heading h2 {
    max-width: 17ch;
}

.maxcare-section-heading > p:not(.maxcare-pill-label) {
    max-width: 680px;
    color: var(--maxcare-copy);
}

.program-tablist {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 44px;
}

.program-tablist button {
    display: flex;
    min-height: 158px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    border: 0;
    border-radius: 26px;
    background: transparent;
    color: var(--maxcare-navy);
    cursor: pointer;
    font-weight: 600;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.program-tablist button > i,
.tab-program-icon {
    color: var(--maxcare-navy);
    font-size: 39px;
}

.tab-program-icon .program-icon {
    width: 46px;
    height: 46px;
}

.program-tablist button.is-active {
    background: var(--maxcare-cyan-bright);
    box-shadow: 0 18px 38px rgba(61,157,164,.2);
    color: #fff;
}

.program-tablist button.is-active > i,
.program-tablist button.is-active .tab-program-icon {
    color: #fff;
}

.maxcare-program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    padding: 42px;
    border-radius: 64px;
    background: #dff5f8;
}

.maxcare-program-grid[hidden] {
    display: none;
}

.maxcare-program-card {
    overflow: hidden;
    border-radius: var(--maxcare-radius-card);
    background: #fff;
    box-shadow: 0 14px 34px rgba(43,72,95,.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.maxcare-program-card[hidden] {
    display: none;
}

.maxcare-program-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 54px rgba(43,72,95,.13);
}

.program-card-media {
    display: block;
    aspect-ratio: 1.6;
    margin: 24px 24px 0;
    overflow: hidden;
    border-radius: 32px;
    background: var(--maxcare-cyan-pale);
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.maxcare-program-card:hover .program-card-image {
    transform: scale(1.04);
}

.program-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--teal-dark);
}

.program-card-placeholder .program-icon {
    width: 98px;
    height: 98px;
}

.program-card-body {
    position: relative;
    padding: 34px 34px 38px;
}

.program-card-icon {
    position: absolute;
    inset-block-start: -36px;
    inset-inline-end: 32px;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border: 7px solid #fff;
    border-radius: 50%;
    background: var(--maxcare-cyan-bright);
    color: #fff;
}

.program-card-icon .program-icon {
    width: 34px;
    height: 34px;
}

.program-card-body h3 {
    max-width: calc(100% - 55px);
    margin-bottom: 22px;
    font-size: 22px;
    line-height: 1.2;
}

.program-card-body > p {
    min-height: 108px;
    margin-bottom: 26px;
    color: var(--maxcare-copy);
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--maxcare-navy);
    font-weight: 600;
}

.maxcare-practitioners-section {
    overflow: hidden;
    padding-block: 125px 140px;
    background: #fff;
}

.maxcare-practitioner-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 58px;
}

.maxcare-practitioner-heading h2 {
    max-width: 760px;
    margin-bottom: 16px;
    font-size: clamp(39px, 3.55vw, 50px);
}

.maxcare-practitioner-heading > div:first-child > p:not(.maxcare-pill-label) {
    max-width: 650px;
    margin: 0;
    color: var(--maxcare-copy);
}

.practitioner-carousel-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
}

.practitioner-carousel-controls button {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 1px solid rgba(30,52,85,.18);
    border-radius: 50%;
    background: #fff;
    color: var(--maxcare-navy-deep);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.practitioner-carousel-controls button:hover:not(:disabled) {
    background: var(--maxcare-cyan-bright);
    color: #fff;
}

.practitioner-carousel-controls button:disabled {
    cursor: default;
    opacity: .35;
}

.maxcare-practitioner-track {
    display: grid;
    grid-auto-columns: calc((100% - 72px) / 4);
    grid-auto-flow: column;
    gap: 24px;
    padding-block: 4px 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.maxcare-practitioner-track::-webkit-scrollbar {
    display: none;
}

.maxcare-practitioner-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 34px;
    background: #f0fafc;
    scroll-snap-align: start;
}

.practitioner-photo {
    aspect-ratio: .82;
    overflow: hidden;
    background: var(--maxcare-cyan-pale);
}

.practitioner-photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.maxcare-practitioner-card:hover .practitioner-photo-image {
    transform: scale(1.035);
}

.practitioner-card-copy {
    padding: 28px 26px 30px;
    text-align: center;
}

.practitioner-card-copy h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.practitioner-card-copy p {
    margin: 0;
    color: var(--maxcare-copy);
}

.maxcare-button-outline {
    border: 1px solid var(--maxcare-navy);
    background: transparent;
    color: var(--maxcare-navy);
}

.maxcare-why-section {
    overflow: hidden;
    background: #fff;
}

.maxcare-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.maxcare-why-copy {
    display: flex;
    justify-content: flex-end;
    padding: 125px max(66px, calc((100vw - var(--maxcare-container)) / 2)) 125px 15px;
    border-radius: 0 0 52px 0;
    background: #eef9fb;
}

html[dir='rtl'] .maxcare-why-copy {
    padding: 125px 15px 125px max(66px, calc((100vw - var(--maxcare-container)) / 2));
    border-radius: 0 0 0 52px;
}

.maxcare-why-inner {
    width: min(100%, 585px);
}

.maxcare-feature-list ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: maxcare-feature;
}

.maxcare-feature-list li {
    position: relative;
    display: grid;
    min-height: 92px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 25px;
    counter-increment: maxcare-feature;
}

.maxcare-feature-list li::before {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--maxcare-cyan-bright);
    color: #fff;
    content: counter(maxcare-feature);
    font-size: 15px;
    font-weight: 700;
}

.maxcare-feature-list li::after {
    position: absolute;
    inset-block: 54px 0;
    inset-inline-start: 26px;
    border-inline-start: 1px dashed rgba(92,166,165,.5);
    content: '';
}

.maxcare-feature-list li:last-child::after {
    display: none;
}

.maxcare-feature-list strong,
.maxcare-feature-list span {
    grid-column: 2;
}

.maxcare-feature-list strong {
    align-self: end;
    color: var(--maxcare-navy-deep);
    font-size: 19px;
    font-weight: 600;
}

.maxcare-feature-list span {
    margin-top: -22px;
    color: var(--maxcare-copy);
}

.maxcare-why-media {
    position: relative;
    min-height: 920px;
    overflow: hidden;
    background: var(--maxcare-navy);
}

.why-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-media-line {
    position: absolute;
    inset-inline-end: -30px;
    inset-block-end: 0;
    width: 60%;
    opacity: .42;
}

.maxcare-appointment-section {
    display: grid;
    min-height: 720px;
    grid-template-columns: .92fr 1.08fr;
    background: var(--maxcare-navy-deep);
}

.appointment-media-panel,
.appointment-form-panel {
    position: relative;
    min-width: 0;
}

.appointment-background,
.appointment-media-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.appointment-background {
    object-fit: cover;
}

.appointment-media-overlay {
    background: linear-gradient(180deg, rgba(25,40,67,.12), rgba(25,40,67,.72));
}

.appointment-media-copy {
    position: absolute;
    z-index: 1;
    inset-inline: max(40px, calc((100vw - var(--maxcare-container)) / 2)) 40px;
    inset-block-end: 72px;
    color: #fff;
}

.appointment-media-copy p {
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.appointment-media-copy h2 {
    max-width: 10ch;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4vw, 58px);
}

.appointment-form-panel {
    display: grid;
    place-items: center;
    padding: 42px clamp(30px, 5vw, 80px);
    background: #dff6f8;
}

.appointment-form-card {
    width: min(100%, 640px);
    text-align: center;
}

.appointment-form-card > p:not(.maxcare-pill-label) {
    max-width: 560px;
    margin: 0 auto 34px;
}

.home-booking-entry {
    display: grid;
    gap: 24px;
    text-align: start;
}

.home-booking-entry .form-field span {
    font-weight: 600;
}

.home-booking-entry select {
    min-height: 58px;
    border-radius: 12px;
    background: #fff;
}

.appointment-entry-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.appointment-entry-notes span {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(55,65,91,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.58);
    color: var(--maxcare-navy);
    font-weight: 600;
}

.appointment-entry-notes i {
    color: var(--teal-dark);
    font-size: 22px;
}

.home-booking-entry .maxcare-button {
    justify-self: center;
}

.maxcare-footer.site-footer {
    position: relative;
    padding-block: 110px 28px;
    background: linear-gradient(rgba(22,31,60,.94), rgba(22,31,60,.97)), url('../../media/maxcare/bg-footer1.jpg') center/cover;
}

.maxcare-footer .footer-grid {
    grid-template-columns: 1.1fr .55fr .7fr .9fr;
    gap: clamp(38px, 5vw, 78px);
}

.maxcare-footer .footer-brand img {
    width: 210px;
    max-height: 94px;
    object-fit: contain;
    object-position: left center;
}

html[dir='rtl'] .maxcare-footer .footer-brand img {
    object-position: right center;
}

.footer-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 17px;
    color: #fff;
    font-weight: 700;
}

.maxcare-footer h2 {
    position: relative;
    padding-bottom: 13px;
    font-size: 18px;
}

.maxcare-footer h2::after {
    position: absolute;
    inset-inline-start: 0;
    inset-block-end: 0;
    width: 32px;
    height: 2px;
    background: var(--maxcare-cyan-bright);
    content: '';
}

.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    color: #fff;
}

.footer-contact-card > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--maxcare-cyan-bright);
}

.footer-contact-card span {
    display: grid;
}

.footer-contact-card small {
    color: rgba(255,255,255,.62);
}

.footer-contact-card strong {
    font-size: 14px;
}

html[dir='rtl'] .fa-arrow-right,
html[dir='rtl'] .fa-arrow-left,
html[dir='rtl'] .quick-card-arrow {
    transform: scaleX(-1);
}

@media (max-width: 1100px) {
    .maxcare-header .primary-navigation-links {
        gap: 18px;
    }

    .maxcare-header .primary-navigation-links > a,
    .maxcare-header .nav-dropdown-row > a {
        font-size: 14px;
    }

    .quick-links-grid {
        gap: 22px;
    }

    .quick-card-appointment {
        width: 31%;
        inset-inline-start: 16%;
        padding: 34px;
    }

    .maxcare-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maxcare-practitioner-track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }

    .maxcare-footer .footer-grid {
        grid-template-columns: 1.15fr .7fr .8fr;
    }

    .maxcare-footer .footer-appointment {
        grid-column: 1 / -1;
        max-width: 520px;
    }
}

@media (max-width: 860px) {
    body.menu-open {
        overflow: hidden;
    }

    .maxcare-header .utility-bar {
        display: none;
    }

    .maxcare-header .main-nav-wrap {
        background: #fff;
        box-shadow: 0 5px 22px rgba(32,42,69,.08);
    }

    .maxcare-header .main-nav {
        min-height: 85px;
    }

    .maxcare-header .brand {
        width: 146px;
        height: 66px;
    }

    .maxcare-header .brand img {
        max-height: 58px;
        filter: none;
    }

    .maxcare-header .menu-toggle {
        display: block;
        border-radius: 0;
        background: transparent;
    }

    .maxcare-header .menu-toggle > span:not(.sr-only) {
        background: var(--maxcare-navy-deep);
    }

    .mobile-menu-backdrop {
        position: fixed;
        z-index: 998;
        inset: 0;
        display: block;
        background: rgba(20,30,54,.48);
    }

    .mobile-menu-backdrop[hidden] {
        display: none;
    }

    .js .maxcare-header .primary-navigation {
        position: fixed;
        z-index: 999;
        inset-block: 0;
        inset-inline-start: auto;
        inset-inline-end: 0;
        display: flex;
        flex: none;
        width: min(100vw, 430px);
        flex-direction: column;
        overflow-y: auto;
        padding: 20px 24px 34px;
        margin-inline-start: 0;
        background: #fff;
        box-shadow: -24px 0 60px rgba(20,30,54,.18);
        transform: translateX(110%);
        visibility: hidden;
        transition: transform 250ms ease, visibility 250ms ease;
    }

    html.js[dir='rtl'] .maxcare-header .primary-navigation {
        transform: translateX(-110%);
    }

    .js .maxcare-header .primary-navigation.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu-heading {
        display: flex;
        min-height: 78px;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--maxcare-line);
    }

    .mobile-menu-brand {
        width: 130px;
    }

    .mobile-menu-brand img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .mobile-menu-close {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: var(--maxcare-cyan-pale);
        color: var(--maxcare-navy);
        cursor: pointer;
        font-size: 27px;
    }

    .maxcare-header .primary-navigation-links {
        display: grid;
        gap: 0;
        margin-top: 24px;
    }

    .maxcare-header .primary-navigation-links > a,
    .maxcare-header .nav-dropdown-row > a {
        min-height: 58px;
        padding: 17px 0;
        border-bottom: 1px solid var(--maxcare-line);
        color: var(--maxcare-navy);
        font-size: 17px;
    }

    .maxcare-header .primary-navigation-links > a::after,
    .maxcare-header .nav-dropdown-row > a::after {
        display: none;
    }

    .nav-dropdown-row {
        border-bottom: 1px solid var(--maxcare-line);
    }

    .nav-dropdown-row > a {
        flex: 1;
        border: 0 !important;
    }

    .nav-dropdown-row > button {
        width: 48px;
        color: var(--maxcare-navy);
    }

    .nav-submenu {
        position: static;
        display: none;
        width: 100%;
        padding: 5px 0 13px 18px;
        border-bottom: 1px solid var(--maxcare-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    html[dir='rtl'] .nav-submenu {
        padding: 5px 18px 13px 0;
    }

    .nav-dropdown.is-open .nav-submenu {
        display: block;
    }

    .maxcare-header .nav-cta {
        justify-content: space-between;
        margin-top: 22px;
        margin-inline-start: 0;
        padding: 15px 20px !important;
        border: 0 !important;
        color: #fff !important;
    }

    .mobile-menu-utility {
        display: flex;
        flex-wrap: wrap;
        gap: 13px 20px;
        margin-top: auto;
        padding-top: 34px;
        color: var(--teal-dark);
        font-weight: 600;
    }

    .maxcare-hero {
        height: 710px;
    }

    .maxcare-hero .hero-content-wrap {
        align-items: center;
        padding-block: 85px 105px;
    }

    .maxcare-hero .hero-content {
        width: min(610px, 82vw);
    }

    .maxcare-hero .hero-content h1 {
        font-size: clamp(45px, 8vw, 62px);
    }

    .hero-slide-pattern {
        inset-inline-start: 10px;
        inset-block-start: 80px;
        width: 92px;
        height: 92px;
    }

    .maxcare-hero .carousel-dots {
        inset-inline: 50% auto;
        inset-block: auto 32px;
        flex-direction: row;
        transform: translateX(-50%);
    }

    html[dir='rtl'] .maxcare-hero .carousel-dots {
        transform: translateX(50%);
    }

    .maxcare-hero .carousel-arrows {
        display: none;
    }

    .maxcare-quick-links {
        padding-block: 28px 100px;
    }

    .quick-links-grid {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
    }

    .quick-card-intro {
        min-height: 420px;
        grid-column: 1 / -1;
    }

    .quick-card-appointment {
        position: relative;
        inset: auto;
        width: auto;
        min-height: 310px;
        padding: 35px;
    }

    .quick-card-standard,
    .quick-card-teal {
        min-height: 310px;
    }

    .maxcare-about-grid,
    .maxcare-why-grid,
    .maxcare-appointment-section {
        grid-template-columns: 1fr;
    }

    .maxcare-about-section {
        padding-block: 55px 110px;
    }

    .maxcare-about-collage {
        min-height: 560px;
    }

    .maxcare-about-copy {
        padding-inline: 14px;
    }

    .program-tablist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maxcare-programs-section {
        padding-block: 100px;
    }

    .maxcare-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 30px;
    }

    .maxcare-why-copy,
    html[dir='rtl'] .maxcare-why-copy {
        justify-content: center;
        padding: 100px 30px;
        border-radius: 0;
    }

    .maxcare-why-media {
        min-height: 620px;
    }

    .appointment-media-panel {
        min-height: 540px;
    }

    .appointment-form-panel {
        min-height: 650px;
    }

    .maxcare-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maxcare-footer .footer-appointment {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .public-site .site-container {
        width: min(calc(100% - 30px), var(--maxcare-container));
    }

    .maxcare-header .main-nav {
        min-height: 84px;
    }

    .maxcare-header .brand {
        width: 132px;
    }

    .maxcare-hero {
        height: 700px;
    }

    .maxcare-hero .hero-image {
        object-position: 62% center;
    }

    .maxcare-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(21,36,65,.18), rgba(21,36,65,.78) 50%, rgba(21,36,65,.95));
    }

    html[dir='rtl'] .maxcare-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(21,36,65,.18), rgba(21,36,65,.78) 50%, rgba(21,36,65,.95));
    }

    .maxcare-hero .hero-content-wrap {
        align-items: center;
        padding-block: 95px 85px;
    }

    .maxcare-hero .hero-content {
        width: 100%;
    }

    .maxcare-hero .hero-content h1 {
        margin-bottom: 50px;
        font-size: clamp(41px, 12vw, 52px);
        line-height: 1.06;
    }

    .hero-button,
    .maxcare-button {
        min-height: 54px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .quick-card-intro {
        min-height: 390px;
    }

    .quick-card-intro-copy {
        width: 72%;
        padding: 54px 26px;
    }

    .quick-card-intro-copy h2 {
        font-size: 39px;
    }

    .quick-card-appointment,
    .quick-card-standard,
    .quick-card-teal {
        min-height: 270px;
        padding: 32px 28px;
    }

    .maxcare-about-grid {
        gap: 56px;
    }

    .maxcare-about-collage {
        min-height: 430px;
    }

    .about-photo {
        border-radius: 52px 24px 52px 24px;
    }

    .about-photo-1 {
        inset-inline-start: 0;
        inset-block-start: 120px;
        width: 49%;
        height: 255px;
    }

    .about-photo-2 {
        inset-inline-end: 8px;
        inset-block-start: 0;
        width: 42%;
        height: 190px;
    }

    .about-photo-3 {
        inset-inline-end: 0;
        width: 43%;
        height: 195px;
    }

    .about-object {
        width: 90px;
        inset-inline-start: 40%;
    }

    .maxcare-about-copy h2,
    .maxcare-section-heading h2,
    .maxcare-why-copy h2,
    .appointment-form-card h2 {
        font-size: 39px;
    }

    .maxcare-programs-section {
        padding-block: 82px;
        border-radius: 34px 34px 0 0;
    }

    .program-tablist {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-inline: 0;
        padding-inline: 0;
        overflow: visible;
    }

    .program-tablist button {
        min-width: 0;
        min-height: 126px;
        padding-inline: 12px;
    }

    .maxcare-program-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-inline: -4px;
        padding: 18px;
        border-radius: 36px;
    }

    .program-card-body > p {
        min-height: 0;
    }

    .maxcare-practitioners-section {
        padding-block: 82px 94px;
    }

    .maxcare-practitioner-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 38px;
    }

    .maxcare-practitioner-track {
        grid-auto-columns: 82%;
    }

    .maxcare-why-copy,
    html[dir='rtl'] .maxcare-why-copy {
        padding: 84px 22px;
    }

    .maxcare-feature-list li {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 15px;
    }

    .maxcare-feature-list li::before {
        width: 48px;
        height: 48px;
    }

    .maxcare-feature-list li::after {
        inset-block-start: 48px;
        inset-inline-start: 23px;
    }

    .maxcare-why-media,
    .appointment-media-panel {
        min-height: 430px;
    }

    .appointment-media-copy {
        inset-inline: 24px;
        inset-block-end: 40px;
    }

    .appointment-media-copy h2 {
        font-size: 42px;
    }

    .appointment-form-panel {
        min-height: 0;
        padding: 74px 22px;
    }

    .appointment-entry-notes {
        grid-template-columns: 1fr;
    }

    .maxcare-footer.site-footer {
        padding-block-start: 82px;
    }

    .maxcare-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .maxcare-footer .footer-appointment {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .maxcare-hero .hero-image,
    .program-card-image,
    .practitioner-photo-image {
        transform: none !important;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: #fff; color: var(--ink); font: 400 16px/1.7 'GT Walsheim Pro', Arial, sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html[dir='rtl'] body { font-family: 'Bahij Janna', 'GT Walsheim Pro', Arial, sans-serif; font-size: 17px; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--teal); color: #fff; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy-deep); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
html[dir='rtl'] h1, html[dir='rtl'] h2, html[dir='rtl'] h3, html[dir='rtl'] h4 { letter-spacing: 0; line-height: 1.28; }
.site-container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 9999; padding: 12px 18px; border-radius: 8px; background: var(--navy-deep); color: #fff; transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; color: var(--teal-dark); font-size: .78rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 2px; background: currentColor; content: ''; }
html[dir='rtl'] .eyebrow { font-size: .92rem; letter-spacing: 0; }
.eyebrow.light { color: rgba(255,255,255,.82); }
.section-heading h2 { max-width: 16ch; margin-bottom: 22px; font-size: clamp(2.3rem, 4.8vw, 4.75rem); }
.section-heading > p:not(.eyebrow) { max-width: 630px; color: var(--muted); font-size: 1.08rem; }
.section-heading.centered { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(3rem, 5vw, 5rem); text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered h2, .section-heading.centered > p { margin-inline: auto; }
.section-heading.compact-heading h2 { max-width: 20ch; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 18px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-size: .95rem; font-weight: 700; line-height: 1.2; transition: transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.button span { font-size: 1.2rem; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); box-shadow: 0 12px 28px rgba(239,149,97,.3); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-light { background: #fff; color: var(--navy-deep); box-shadow: var(--shadow-sm); }
.text-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; color: var(--navy); font-weight: 700; line-height: 1.4; transition: gap 200ms ease, color 200ms ease; }
.text-link:hover { gap: 16px; color: var(--teal-dark); }
.text-link.light { color: #fff; }

/* Header */
.site-header { position: relative; z-index: 1000; }
.utility-bar { background: var(--navy-deep); color: rgba(255,255,255,.84); font-size: .78rem; }
.utility-inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner p { margin: 0; letter-spacing: .04em; }
.utility-inner nav { display: flex; align-items: center; gap: 24px; }
.utility-inner a { transition: color 160ms ease; }
.utility-inner a:hover { color: #fff; }
.language-link { padding-inline-start: 24px; border-inline-start: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.main-nav-wrap { position: relative; background: rgba(255,255,255,.96); box-shadow: 0 5px 24px rgba(32,42,69,.07); backdrop-filter: blur(16px); }
.site-header.is-scrolled .main-nav-wrap { position: fixed; inset-block-start: 0; inset-inline: 0; animation: nav-in 300ms ease both; }
@keyframes nav-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.main-nav { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; width: 178px; align-items: center; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.primary-navigation { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.primary-navigation > a { position: relative; padding-block: 31px; color: var(--navy-deep); font-size: .94rem; font-weight: 700; line-height: 1.2; }
.primary-navigation > a:not(.nav-cta)::after { position: absolute; inset-block-end: 22px; inset-inline: 0; height: 2px; background: var(--teal); content: ''; transform: scaleX(0); transition: transform 180ms ease; }
.primary-navigation > a:hover::after, .primary-navigation > a.is-active::after { transform: scaleX(1); }
.primary-navigation .nav-cta { min-height: 50px; padding: 16px 22px; border-radius: 999px; background: var(--teal); color: #fff; box-shadow: 0 10px 28px rgba(92,166,165,.25); transition: background 180ms ease, transform 180ms ease; }
.primary-navigation .nav-cta:hover { background: var(--teal-dark); transform: translateY(-2px); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 50%; background: var(--teal-pale); }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy-deep); transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded='true'] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Home hero */
.hero { position: relative; min-height: min(760px, calc(100vh - 68px)); overflow: hidden; background: var(--navy-deep); }
.hero-track, .hero-slide { position: absolute; inset: 0; }
.hero-slide { z-index: 1; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 700ms ease; }
.hero-slide.is-active { z-index: 2; opacity: 1; visibility: visible; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.035); transition: transform 8s ease; }
.hero-slide.is-active .hero-image { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,36,60,.76), rgba(32,42,69,.4) 48%, rgba(32,42,69,.08) 78%); }
html[dir='rtl'] .hero-overlay { background: linear-gradient(270deg, rgba(27,36,60,.76), rgba(32,42,69,.4) 48%, rgba(32,42,69,.08) 78%); }
.hero-content-wrap { position: relative; z-index: 3; display: flex; min-height: min(760px, calc(100vh - 68px)); align-items: center; padding-block: 100px 130px; }
.hero-content { width: min(720px, 67vw); color: #fff; }
.hero-content h1 { max-width: 11ch; margin-bottom: 32px; color: #fff; font-size: clamp(3.4rem, 6.3vw, 6.8rem); font-weight: 500; letter-spacing: -.055em; text-wrap: balance; }
html[dir='rtl'] .hero-content h1 { max-width: 13ch; font-size: clamp(3.3rem, 5.8vw, 6.4rem); letter-spacing: 0; }
.hero-content > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.88); font-size: 1.15rem; }
.hero-controls { position: absolute; inset-inline: 0; inset-block-end: 54px; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.carousel-arrows { display: flex; gap: 12px; }
.carousel-arrows button { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(255,255,255,.44); border-radius: 50%; background: rgba(32,42,69,.25); color: #fff; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.carousel-arrows button:hover { border-color: #fff; background: rgba(32,42,69,.72); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: width 180ms ease, border-radius 180ms ease, background 180ms ease; }
.carousel-dots button.is-active { width: 32px; border-radius: 999px; background: #fff; }
.hero-wave { position: absolute; inset-inline: -4%; inset-block-end: -80px; z-index: 4; height: 115px; border-radius: 50% 50% 0 0; background: #fff; }

/* Core sections */
.intro-grid { display: grid; grid-template-columns: minmax(280px,.84fr) minmax(0,1.16fr); gap: clamp(54px,8vw,120px); align-items: start; }
.sticky-heading { position: sticky; inset-block-start: 132px; }
.large-copy > p:first-child { color: var(--navy-deep); font-size: clamp(1.35rem,2.2vw,2rem); line-height: 1.45; }
.editorial-copy p { margin-bottom: 1.5em; color: #53636d; font-size: 1.07rem; line-height: 1.9; }
html[dir='rtl'] .editorial-copy p { line-height: 2; }
.programs-section { position: relative; overflow: hidden; background: var(--sky-pale); }
.programs-section::before, .programs-section::after { position: absolute; border-radius: 50%; background: rgba(92,166,165,.08); content: ''; }
.programs-section::before { width: 420px; height: 420px; inset-block-start: -230px; inset-inline-end: -110px; }
.programs-section::after { width: 220px; height: 220px; inset-block-end: -110px; inset-inline-start: -80px; }
.portal-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.portal-card { position: relative; min-height: 450px; overflow: hidden; padding: 38px 30px; border: 1px solid rgba(55,65,91,.08); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform 300ms ease, box-shadow 300ms ease; }
.portal-card::after { position: absolute; width: 170px; height: 170px; inset-inline-end: -84px; inset-block-end: -84px; border: 28px solid rgba(92,166,165,.09); border-radius: 50%; content: ''; transition: transform 360ms ease; }
.portal-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.portal-card:hover::after { transform: scale(1.18); }
.portal-card:nth-child(even) { margin-top: 34px; }
.portal-icon-wrap { display: grid; width: 78px; height: 78px; place-items: center; margin-bottom: 54px; border-radius: 22px; background: var(--teal-pale); color: var(--teal-dark); }
.program-icon { width: 46px; height: 46px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.program-icon path:not(.icon-cut) { fill: currentColor; fill-opacity: .12; }
.program-icon .icon-cut { fill: none; }
.portal-card .card-index { position: absolute; inset-block-start: 34px; inset-inline-end: 30px; color: #a4b0b6; font-size: .8rem; font-weight: 700; }
.portal-card h3 { margin-bottom: 18px; font-size: clamp(1.6rem,2vw,2.15rem); }
.portal-card h3 a::after { position: absolute; inset: 0; content: ''; }
.portal-card > p:not(.card-index) { color: var(--muted); line-height: 1.7; }
.circle-link { position: absolute; inset-inline-start: 30px; inset-block-end: 30px; z-index: 2; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background 200ms ease, color 200ms ease, transform 200ms ease; }
.portal-card:hover .circle-link { background: var(--teal); color: #fff; transform: rotate(45deg); }
.section-action { display: flex; justify-content: center; margin-top: 58px; }
.reasons-section { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.reasons-section::before { position: absolute; width: 700px; height: 700px; inset-block-start: -440px; inset-inline-start: -330px; border: 100px solid rgba(92,166,165,.09); border-radius: 50%; content: ''; }
.reasons-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: clamp(60px,9vw,140px); }
.light-heading h2 { color: #fff; }
.reasons-content ol { margin: 0; padding: 0; list-style: none; counter-reset: reason; }
.reasons-content li { display: grid; grid-template-columns: 52px minmax(150px,.55fr) minmax(0,1fr); gap: 22px; align-items: start; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); counter-increment: reason; }
.reasons-content li::before { color: var(--teal); content: counter(reason,decimal-leading-zero); font-size: .82rem; font-weight: 700; }
.reasons-content strong { color: #fff; font-size: 1.16rem; font-weight: 500; }
.reasons-content span { color: rgba(255,255,255,.68); }
.booking-cta-section { padding-block: clamp(4.5rem,8vw,8rem); background: #fff; }
.booking-cta-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: center; overflow: hidden; padding: clamp(42px,7vw,88px); border-radius: var(--radius-lg); background: linear-gradient(120deg,var(--teal-dark),var(--teal)); box-shadow: var(--shadow-lg); color: #fff; }
.booking-cta-card > *:not(.cta-rings) { position: relative; z-index: 2; }
.booking-cta-card h2 { max-width: 12ch; margin-bottom: 18px; color: #fff; font-size: clamp(2.7rem,5vw,5rem); }
.booking-cta-card p:not(.eyebrow) { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.cta-rings { position: absolute; width: 420px; height: 420px; inset-inline-end: -180px; inset-block-end: -210px; border: 65px solid rgba(255,255,255,.09); border-radius: 50%; }

/* Page, portal and service heroes */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(5.5rem,10vw,9.5rem); background: linear-gradient(135deg,var(--navy-deep),var(--navy)); color: #fff; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1, .portal-hero h1, .service-hero h1 { max-width: 14ch; margin-bottom: 28px; color: inherit; font-size: clamp(3.2rem,7vw,7rem); }
.page-lead { max-width: 760px; color: rgba(255,255,255,.76); font-size: clamp(1.1rem,1.8vw,1.35rem); line-height: 1.65; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 44px; color: rgba(255,255,255,.68); font-size: .82rem; }
.breadcrumbs a:hover { color: #fff; }
.page-hero-orb { position: absolute; border-radius: 50%; }
.orb-one { width: 460px; height: 460px; inset-inline-end: -100px; inset-block-start: -230px; border: 90px solid rgba(92,166,165,.18); }
.orb-two { width: 150px; height: 150px; inset-inline-end: 28%; inset-block-end: -70px; background: rgba(239,149,97,.22); }
.portal-hero { position: relative; overflow: hidden; padding-block: clamp(5rem,9vw,9rem); background: var(--teal-pale); }
.portal-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr); gap: 64px; align-items: center; }
.portal-hero .breadcrumbs, .service-hero .breadcrumbs { color: rgba(32,42,69,.6); }
.portal-hero .breadcrumbs a:hover, .service-hero .breadcrumbs a:hover { color: var(--navy-deep); }
.portal-hero h1 { color: var(--navy-deep); }
.portal-hero .page-lead { color: var(--muted); }
.portal-hero-symbol { display: grid; aspect-ratio: 1; width: min(100%,420px); place-items: center; justify-self: end; border-radius: 38% 62% 55% 45%/43% 41% 59% 57%; background: linear-gradient(145deg,#fff,rgba(255,255,255,.38)); box-shadow: var(--shadow-lg); color: var(--teal-dark); animation: morph 10s ease-in-out infinite alternate; }
.portal-hero-symbol .program-icon { width: 46%; height: 46%; stroke-width: 2; }
@keyframes morph { to { border-radius: 58% 42% 37% 63%/49% 59% 41% 51%; } }
.services-section { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.service-card { overflow: hidden; border: 1px solid rgba(55,65,91,.09); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform 260ms ease, box-shadow 260ms ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--teal-pale); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg,var(--teal-pale),#fff); color: var(--teal-dark); }
.service-media-placeholder .program-icon { width: 116px; height: 116px; stroke-width: 1.5; }
.service-card-body { position: relative; padding: 34px 36px 38px; }
.service-number { position: absolute; inset-block-start: 36px; inset-inline-end: 34px; color: #a5b1b7; font-size: .78rem; font-weight: 700; }
.service-card h3 { max-width: calc(100% - 54px); margin-bottom: 16px; font-size: clamp(1.55rem,2.5vw,2.25rem); }
.service-card h3 a::after { position: absolute; inset: 0; content: ''; }
.service-card-body > p:not(.service-number) { min-height: 82px; color: var(--muted); }
.service-card .text-link { position: relative; z-index: 2; }

/* Programs overview */
.programs-index { background: #fff; }
.program-band { display: grid; grid-template-columns: minmax(260px,.76fr) minmax(0,1.24fr); gap: clamp(40px,7vw,100px); padding: clamp(42px,6vw,80px); border-radius: var(--radius-lg); background: var(--sky-pale); }
.program-band + .program-band { margin-top: 32px; }
.program-band:nth-child(even) { background: var(--cream); }
.program-band-intro .portal-icon-wrap { margin-bottom: 34px; background: #fff; }
.program-band-intro h2 { margin-bottom: 18px; font-size: clamp(2.5rem,4vw,4.2rem); }
.program-band-intro > p:not(.eyebrow) { color: var(--muted); }
.program-service-list { border-block-start: 1px solid rgba(55,65,91,.15); }
.program-service-list a { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 22px 4px; border-block-end: 1px solid rgba(55,65,91,.15); transition: color 180ms ease, padding 180ms ease; }
.program-service-list a:hover { padding-inline: 12px; color: var(--teal-dark); }
.program-service-list span { color: #9aa8af; font-size: .75rem; }
.program-service-list strong { font-size: 1.08rem; font-weight: 500; }
.program-service-list i { font-style: normal; }

/* Service detail */
.service-hero { padding-block: clamp(4.5rem,8vw,8rem); background: linear-gradient(135deg,var(--sky-pale),#fff); }
.service-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.86fr); gap: clamp(50px,8vw,110px); align-items: center; }
.service-hero h1 { max-width: 12ch; color: var(--navy-deep); font-size: clamp(3rem,5.8vw,6rem); }
.service-hero .page-lead { color: var(--muted); }
.service-hero-copy .button { margin-top: 18px; }
.service-hero-media { position: relative; }
.service-hero-media > img, .service-hero-media > .service-media-placeholder { position: relative; z-index: 1; aspect-ratio: 4/5; width: 100%; overflow: hidden; border-radius: 46% 46% 24px 24px; box-shadow: var(--shadow-lg); object-fit: cover; }
.service-hero-media::before { position: absolute; width: 180px; height: 180px; inset-inline-start: -45px; inset-block-start: -45px; border: 30px solid rgba(92,166,165,.17); border-radius: 50%; content: ''; }
.media-badge { position: absolute !important; inset-inline-start: -36px; inset-block-end: 34px; z-index: 2 !important; display: flex; max-width: 230px; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); color: var(--navy); font-size: .84rem; font-weight: 700; }
.media-badge span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); }
.service-copy-layout { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: clamp(58px,9vw,130px); align-items: start; }
.service-side-card { position: sticky; inset-block-start: 130px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--sky-pale); }
.service-side-card h2 { margin-bottom: 30px; font-size: 2rem; }
.service-side-card dl, .service-side-card dd { margin: 0; }
.service-side-card dl > div { padding-block: 16px; border-block-start: 1px solid var(--line); }
.service-side-card dt { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-side-card dd { color: var(--navy-deep); font-weight: 700; }
.service-article h2 { margin-bottom: 30px; font-size: clamp(2.4rem,4vw,4.2rem); }
.journey-section { position: relative; overflow: hidden; background: var(--navy-deep); }
.journey-section .section-heading h2 { color: #fff; }
.journey-grid { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; list-style: none; }
.journey-grid li { min-height: 330px; padding: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-md); background: rgba(255,255,255,.055); color: rgba(255,255,255,.7); transition: background 240ms ease, transform 240ms ease; }
.journey-grid li:hover { background: rgba(92,166,165,.17); transform: translateY(-5px); }
.journey-number { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 48px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; }
.journey-grid h3 { margin-bottom: 14px; color: #fff; font-size: 1.55rem; }
.journey-grid p { margin-bottom: 26px; }
.journey-grid strong { color: #fff; font-size: .82rem; font-weight: 500; }

/* About and standard pages */
.statement-section { position: relative; overflow: hidden; padding-block: clamp(5rem,9vw,9rem); background: var(--teal-dark); color: #fff; text-align: center; }
.statement-section .eyebrow { justify-content: center; }
.statement-section blockquote { max-width: 1050px; margin: 0 auto; color: #fff; font-size: clamp(3rem,6vw,6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
html[dir='rtl'] .statement-section blockquote { letter-spacing: 0; line-height: 1.35; }
.values-section { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.value-card { min-height: 390px; padding: clamp(38px,5vw,68px); border: 1px solid rgba(55,65,91,.09); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.value-card:nth-child(even) { background: var(--navy-deep); color: #fff; }
.value-card:nth-child(even) h2 { color: #fff; }
.value-card h2 { margin-bottom: 26px; font-size: clamp(2.2rem,4vw,4rem); }
.value-card p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.value-card:nth-child(even) p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.type-methodology { background: var(--teal-pale); }

/* Contact and booking */
.contact-section { background: var(--cream); }
.contact-grid, .booking-page-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(340px,1.08fr); gap: clamp(48px,8vw,110px); align-items: center; }
.contact-copy h2, .booking-intro h1 { max-width: 12ch; margin-bottom: 26px; font-size: clamp(2.8rem,5.6vw,5.8rem); }
.contact-copy > p:not(.eyebrow), .booking-intro > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.1rem; }
.privacy-note { margin-top: 36px; padding: 24px; border-inline-start: 4px solid var(--teal); background: #fff; }
.privacy-note p { margin: 6px 0 0; color: var(--muted); }
.setup-card { padding: clamp(38px,6vw,72px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.setup-card h2 { margin-bottom: 18px; font-size: clamp(2rem,3.5vw,3.4rem); }
.setup-card p { color: var(--muted); }
.setup-card .button { margin-top: 16px; }
.setup-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 32px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-size: 1.3rem; font-weight: 700; }
.contact-form { display: grid; gap: 22px; }
.contact-form > h2, .contact-form > p { margin: 0; }
.contact-form .form-errors { margin: 0; }
.contact-form .form-errors h3 { margin: 0 0 8px; font-size: 1rem; }
.contact-submit { width: 100%; }
.honeypot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.booking-page { position: relative; min-height: 720px; padding-block: clamp(5rem,9vw,9rem); overflow: hidden; background: linear-gradient(135deg,var(--sky-pale),var(--teal-pale)); }
.booking-page::after { position: absolute; width: 500px; height: 500px; inset-inline-start: -250px; inset-block-end: -300px; border: 80px solid rgba(92,166,165,.1); border-radius: 50%; content: ''; }
.booking-page-grid { position: relative; z-index: 1; }
.booking-steps-preview { display: flex; flex-wrap: wrap; gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.booking-steps-preview li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.76); color: var(--navy); font-size: .8rem; font-weight: 700; }
.booking-steps-preview span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .7rem; }

/* Booking flow, authentication, and patient portal */
.flash-banner { padding-block: 14px; border-block-end: 1px solid #b7ded7; background: #e8f7f3; color: #205f5c; font-weight: 700; text-align: center; }
.button.primary { background: var(--accent); box-shadow: 0 12px 28px rgba(239,149,97,.25); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--navy); }
.button.secondary:hover { border-color: var(--teal); background: var(--teal-pale); }
.button.danger { background: #9f2d3b; color: #fff; }
.button.small { min-height: 44px; padding: 10px 18px; font-size: .82rem; }
.button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.form-grid { display: grid; gap: 18px; }
.form-grid.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.form-field { display: grid; gap: 8px; min-width: 0; color: var(--navy-deep); font-size: .86rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #ccd7d7; border-radius: 12px; outline: none; background: #fff; color: var(--navy-deep); font-size: 1rem; font-weight: 400; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(92,166,165,.17); }
.form-field input:disabled, .form-field select:disabled, .form-field textarea:disabled { background: #f1f4f4; color: #657375; }
.form-field small, .field-help { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 400; line-height: 1.5; }
.consent-field { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 11px; align-items: start; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.consent-field input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-dark); }
.consent-field.compact { margin-block: 4px 18px; }
.form-errors { margin-bottom: 20px; padding: 18px 20px; border: 1px solid #e2a8af; border-inline-start: 5px solid #a53644; border-radius: 14px; background: #fff3f4; color: #7d2632; }
.form-errors h2 { margin: 0 0 8px; color: inherit; font-size: 1rem; }
.form-errors ul { margin: 0; padding-inline-start: 20px; }
.form-errors li + li { margin-top: 5px; }
.no-payment-note { display: grid; gap: 3px; max-width: 490px; margin-top: 30px; padding: 18px 20px; border: 1px solid rgba(55,65,91,.1); border-radius: 16px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .87rem; }
.no-payment-note strong { color: var(--teal-dark); }
.booking-page { align-items: start; }
.booking-page-grid { align-items: start; }
.booking-intro { position: sticky; inset-block-start: 150px; }
.booking-shell { min-width: 0; }
.booking-form { display: grid; gap: 16px; }
.booking-step-card { min-width: 0; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.booking-step-card[disabled] { opacity: .55; }
.booking-step-card legend { display: inline-flex; align-items: center; gap: 10px; padding-inline: 2px 12px; color: var(--navy-deep); font-size: 1rem; font-weight: 700; }
.booking-step-card legend span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; }
.booking-step-card > * + * { margin-top: 18px; }
.date-field { max-width: 280px; }
.slot-status:not(:empty) { margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: var(--teal-pale); color: var(--teal-dark); font-size: .86rem; }
.slot-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.slot-choice { position: relative; cursor: pointer; }
.slot-choice input { position: absolute; opacity: 0; pointer-events: none; }
.slot-choice span { display: grid; min-height: 45px; place-items: center; padding: 8px; border: 1px solid #cbd9d8; border-radius: 11px; background: #fff; color: var(--navy); font-size: .86rem; font-weight: 700; transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.slot-choice:hover span { border-color: var(--teal); background: var(--teal-pale); }
.slot-choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.slot-choice input:checked + span { border-color: var(--teal-dark); background: var(--teal-dark); color: #fff; box-shadow: 0 7px 18px rgba(57,127,128,.23); }
.is-saved-profile { display: none; }
.booking-submit { width: 100%; margin-top: 24px !important; }
.submission-note { margin: 8px 0 0 !important; color: var(--muted); font-size: .78rem; text-align: center; }
.confirmation-page { padding-block: clamp(5rem,10vw,9rem); background: linear-gradient(135deg,var(--sky-pale),var(--teal-pale)); }
.confirmation-card { max-width: 830px; padding: clamp(36px,7vw,76px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); text-align: center; }
.confirmation-mark { display: grid; width: 70px; height: 70px; place-items: center; margin: 0 auto 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 2rem; font-weight: 700; }
.confirmation-card h1 { max-width: 12ch; margin: 0 auto 20px; font-size: clamp(2.5rem,6vw,5rem); }
.confirmation-card > p:not(.eyebrow) { max-width: 580px; margin-inline: auto; color: var(--muted); }
.appointment-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 34px 0; border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); text-align: start; }
.appointment-summary > div { min-width: 0; padding: 18px; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.appointment-summary dt { margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.appointment-summary dd { margin: 0; color: var(--navy-deep); font-weight: 700; overflow-wrap: anywhere; }
.appointment-summary dd small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.confirmation-actions { display: grid; justify-items: center; gap: 18px; }
.confirmation-actions p { max-width: 560px; margin: 0; color: var(--muted); }

.auth-page { padding-block: clamp(5rem,9vw,9rem); background: linear-gradient(135deg,var(--cream),var(--teal-pale)); }
.auth-page.compact-page { min-height: 650px; }
.auth-card { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,.65fr); gap: clamp(40px,8vw,100px); align-items: center; }
.auth-card.single-card { display: block; max-width: 600px; }
.auth-copy h1, .auth-form-card > h1 { max-width: 11ch; margin-bottom: 22px; font-size: clamp(2.7rem,5.6vw,5.5rem); }
.auth-copy > p:not(.eyebrow), .auth-form-card > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.auth-form-card { padding: clamp(30px,5vw,52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.auth-form-card h2 { margin-bottom: 24px; font-size: 2.3rem; }
.auth-form-card form { display: grid; gap: 17px; }
.auth-form-card form + .text-link { display: inline-flex; margin-top: 22px; }
.auth-help { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }

.patient-page { min-height: 720px; padding-block: clamp(4rem,7vw,7rem); background: #f5f8f8; }
.patient-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.patient-header h1 { margin: 0 0 10px; font-size: clamp(2.5rem,5vw,4.8rem); }
.patient-header p:not(.eyebrow) { margin: 0; color: var(--muted); }
.patient-header.compact-header { align-items: center; }
.compact-header .text-link { display: inline-flex; margin-bottom: 20px; }
.patient-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.patient-nav a, .patient-nav button { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer; font-size: .82rem; font-weight: 700; }
.patient-nav a[aria-current='page'] { background: var(--teal-pale); color: var(--teal-dark); }
.patient-nav form { margin: 0; }
.patient-nav button { color: #963341; }
.patient-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(310px,.75fr); gap: 26px; align-items: start; }
.patient-panel { min-width: 0; padding: clamp(25px,4vw,42px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading h2, .profiles-panel h2, .activity-panel h2 { margin: 0; font-size: clamp(1.8rem,3vw,2.7rem); }
.profiles-panel > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
.appointment-list { display: grid; gap: 12px; }
.appointment-card { display: grid; grid-template-columns: 68px minmax(0,1fr) 42px; gap: 18px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.appointment-card:hover { border-color: rgba(92,166,165,.65); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.appointment-card.is-past { opacity: .7; }
.appointment-date { display: grid; place-items: center; padding: 10px 5px; border-radius: 13px; background: var(--teal-pale); color: var(--teal-dark); }
.appointment-date span { font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.appointment-date strong { font-size: 1.7rem; line-height: 1.1; }
.appointment-card-topline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .68rem; }
.appointment-card h3 { margin: 8px 0 5px; font-size: 1.2rem; }
.appointment-card p { margin: 0; color: var(--muted); font-size: .83rem; }
.appointment-card .patient-name { margin-top: 4px; color: var(--navy); font-weight: 600; }
.card-arrow { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--cream); color: var(--navy); }
.status-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; background: #eef2f2; color: #536668; font-size: .65rem; font-weight: 700; }
.status-confirmed { background: #e0f3ed; color: #236959; }
.status-requested { background: #fff2d8; color: #8a5b0e; }
.status-cancelled_by_patient, .status-cancelled_by_staff, .status-declined, .status-no_show { background: #f9e7e9; color: #913543; }
.status-completed { background: #e8edf8; color: #40547f; }
.empty-state { display: grid; min-height: 320px; place-items: center; align-content: center; padding: 28px; border: 1px dashed #bdcdcc; border-radius: 18px; text-align: center; }
.empty-state > span { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-size: 2rem; }
.empty-state h3 { margin-bottom: 8px; font-size: 1.4rem; }
.empty-state p { max-width: 410px; margin: 0; color: var(--muted); }
.profile-list { display: grid; gap: 10px; margin-top: 22px; }
.profile-item { border: 1px solid var(--line); border-radius: 15px; }
.profile-item summary { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 13px; cursor: pointer; list-style: none; }
.profile-item summary::-webkit-details-marker, .add-profile summary::-webkit-details-marker, .cancel-appointment summary::-webkit-details-marker { display: none; }
.profile-initial { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-weight: 700; }
.profile-item summary small { display: block; margin-top: 1px; color: var(--muted); font-size: .68rem; }
.profile-form { display: grid; gap: 14px; padding: 16px; border-top: 1px solid var(--line); }
.profile-form .form-field { font-size: .75rem; }
.profile-form .form-field input, .profile-form .form-field select { min-height: 44px; padding: 9px 10px; font-size: .85rem; }
.profile-remove-form { padding: 0 16px 16px; }
.danger-link { padding: 0; border: 0; background: transparent; color: #993644; cursor: pointer; font-size: .75rem; font-weight: 700; text-decoration: underline; }
.add-profile { margin-top: 18px; }
.add-profile > summary { width: 100%; cursor: pointer; list-style: none; text-align: center; }
.add-profile[open] > summary { margin-bottom: 12px; }
.pagination-wrap { margin-top: 24px; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap nav > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pagination-wrap nav span, .pagination-wrap nav a { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; padding: 6px; border: 1px solid var(--line); background: #fff; font-size: .76rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.65fr); gap: 26px; align-items: start; }
.detail-status-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .75rem; }
.appointment-summary.detailed { margin-bottom: 26px; }
.appointment-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; }
.cancel-appointment { position: relative; }
.cancel-appointment > summary { list-style: none; cursor: pointer; }
.cancel-appointment form { position: absolute; z-index: 5; width: min(340px,80vw); inset-block-start: calc(100% + 10px); inset-inline-end: 0; padding: 20px; border: 1px solid #e1b0b6; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); }
.cancel-appointment form p { margin-top: 0; color: var(--muted); font-size: .85rem; }
.cutoff-note { margin: 18px 0 0; color: var(--muted); font-size: .78rem; }
.contact-required-note { padding: 16px; border-radius: 13px; background: #fff2d8; color: #76501a; font-size: .87rem; }
.activity-panel h2 { margin-bottom: 22px; font-size: 1.4rem; }
.activity-panel h2:not(:first-child) { margin-top: 32px; }
.activity-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.activity-timeline li { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 12px; min-height: 66px; }
.activity-timeline li > span { position: relative; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--teal); }
.activity-timeline li > span::after { position: absolute; width: 1px; inset-block: 12px -50px; inset-inline-start: 50%; background: var(--line); content: ''; }
.activity-timeline li:last-child > span::after { display: none; }
.activity-timeline strong, .activity-timeline time { display: block; }
.activity-timeline strong { font-size: .86rem; }
.activity-timeline time { margin-top: 3px; color: var(--muted); font-size: .71rem; }
.notification-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notification-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #f4f7f7; font-size: .75rem; }
.reschedule-grid { display: grid; grid-template-columns: minmax(260px,.55fr) minmax(0,1fr); gap: 26px; align-items: start; }
.current-appointment h2 { margin-bottom: 18px; font-size: 2rem; }
.current-appointment p { color: var(--muted); }
.reschedule-card form { display: grid; gap: 16px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-block: 90px 24px; background: var(--navy-deep); color: rgba(255,255,255,.72); }
.footer-shape { position: absolute; width: 520px; height: 520px; inset-inline-end: -260px; inset-block-start: -310px; border: 90px solid rgba(92,166,165,.09); border-radius: 50%; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(270px,1.25fr) minmax(150px,.55fr) minmax(240px,.8fr); gap: clamp(44px,8vw,100px); }
.footer-brand img { width: 190px; margin-bottom: 28px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { max-width: 420px; }
.site-footer h2 { margin-bottom: 24px; color: #fff; font-size: 1.1rem; letter-spacing: 0; }
.site-footer nav { display: grid; gap: 12px; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 68px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.footer-bottom p { margin: 0; }

/* Progressive reveal */
.js .reveal-card { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease, box-shadow 300ms ease; }
.js .reveal-card.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
    .portal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .portal-card:nth-child(even) { margin-top: 0; }
    .primary-navigation { gap: 18px; }
    .primary-navigation > a { font-size: .86rem; }
    .brand { width: 152px; }
    .journey-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 860px) {
    :root { --section-space: 5.5rem; }
    .site-container { width: min(calc(100% - 36px),var(--container)); }
    .utility-inner > p { display: none; }
    .utility-inner { justify-content: flex-end; }
    .main-nav { min-height: 80px; }
    .brand { width: 142px; }
    .menu-toggle { display: block; }
    .js .primary-navigation { position: absolute; inset-block-start: 100%; inset-inline: 18px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 180ms ease, transform 180ms ease; }
    .js .primary-navigation.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .primary-navigation > a, .primary-navigation .nav-cta { min-height: 48px; padding: 14px 16px; border-radius: 10px; }
    .primary-navigation > a:not(.nav-cta)::after { display: none; }
    .hero, .hero-content-wrap { min-height: 680px; }
    .hero-content { width: min(610px,88vw); }
    .hero-content h1 { font-size: clamp(3rem,9vw,5.2rem); }
    .hero-overlay { background: linear-gradient(90deg,rgba(27,36,60,.82),rgba(32,42,69,.42) 70%,rgba(32,42,69,.18)); }
    html[dir='rtl'] .hero-overlay { background: linear-gradient(270deg,rgba(27,36,60,.82),rgba(32,42,69,.42) 70%,rgba(32,42,69,.18)); }
    .intro-grid, .reasons-layout, .program-band, .portal-hero-grid, .service-hero-grid, .service-copy-layout, .contact-grid, .booking-page-grid { grid-template-columns: 1fr; }
    .sticky-heading, .service-side-card { position: static; }
    .portal-hero-symbol { width: min(68vw,370px); justify-self: center; }
    .service-hero-media { width: min(100%,620px); margin-inline: auto; }
    .service-hero-media > img, .service-hero-media > .service-media-placeholder { aspect-ratio: 4/3; border-radius: 36px; }
    .service-grid { grid-template-columns: 1fr; }
    .booking-cta-card { grid-template-columns: 1fr; }
    .booking-intro { position: static; }
    .auth-card, .patient-grid, .detail-grid, .reschedule-grid { grid-template-columns: 1fr; }
    .patient-header { align-items: start; flex-direction: column; }
    .patient-nav { justify-content: flex-start; }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 600px) {
    .site-container { width: min(calc(100% - 28px),var(--container)); }
    .utility-inner { min-height: 36px; }
    .utility-inner nav { gap: 14px; }
    .language-link { padding-inline-start: 14px; }
    .main-nav { min-height: 74px; }
    .brand { width: 126px; }
    .hero, .hero-content-wrap { min-height: 640px; }
    .hero-content-wrap { align-items: flex-end; padding-block: 80px 145px; }
    .hero-content { width: 100%; }
    .hero-content h1, html[dir='rtl'] .hero-content h1 { max-width: 12ch; margin-bottom: 24px; font-size: clamp(2.75rem,13vw,4.2rem); }
    .hero-image { object-position: 58% center; }
    html[dir='rtl'] .hero-image { object-position: 42% center; }
    .hero-controls { inset-block-end: 52px; }
    .carousel-arrows button { width: 44px; height: 44px; }
    .hero-wave { inset-block-end: -94px; }
    .section-heading h2, .contact-copy h2, .booking-intro h1 { font-size: clamp(2.35rem,11vw,3.6rem); }
    .portal-grid, .journey-grid, .values-grid, .footer-grid { grid-template-columns: 1fr; }
    .portal-card { min-height: 410px; padding: 30px 26px; }
    .reasons-content li { grid-template-columns: 38px 1fr; gap: 14px; }
    .reasons-content span { grid-column: 2; }
    .booking-cta-card { gap: 34px; padding: 36px 26px; border-radius: 26px; }
    .booking-cta-card h2 { font-size: 2.8rem; }
    .page-hero, .portal-hero, .service-hero { padding-block: 4.5rem; }
    .page-hero h1, .portal-hero h1, .service-hero h1 { font-size: clamp(2.75rem,13vw,4.4rem); }
    .breadcrumbs { margin-bottom: 32px; }
    .service-card-body { padding: 28px 24px 32px; }
    .service-card-body > p:not(.service-number) { min-height: 0; }
    .program-band { padding: 34px 24px; border-radius: 26px; }
    .program-service-list a { grid-template-columns: 32px minmax(0,1fr) auto; gap: 10px; }
    .media-badge { inset-inline-start: 16px; inset-block-end: 16px; }
    .journey-grid li { min-height: 300px; }
    .statement-section blockquote { font-size: clamp(2.7rem,12vw,4.3rem); }
    .value-card { min-height: 0; padding: 34px 26px; }
    .setup-card { padding: 34px 26px; border-radius: 26px; }
    .booking-step-card { padding: 22px 18px; border-radius: 18px; }
    .form-grid.two-columns, .appointment-summary { grid-template-columns: 1fr; }
    .slot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .auth-form-card, .patient-panel { padding: 24px 20px; border-radius: 20px; }
    .auth-copy h1, .auth-form-card > h1 { font-size: clamp(2.35rem,11vw,3.5rem); }
    .patient-header h1 { font-size: clamp(2.4rem,11vw,3.6rem); }
    .patient-nav { display: grid; width: 100%; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .patient-nav a, .patient-nav button { justify-content: center; padding-inline: 8px; text-align: center; }
    .patient-nav form { display: contents; }
    .panel-heading { align-items: start; flex-direction: column; }
    .appointment-card { grid-template-columns: 56px minmax(0,1fr) 34px; gap: 12px; padding: 13px; }
    .appointment-card-topline { align-items: start; flex-direction: column; }
    .appointment-card h3 { font-size: 1rem; }
    .appointment-date strong { font-size: 1.35rem; }
    .cancel-appointment form { inset-inline: 0 auto; }
    .detail-status-line { align-items: start; flex-direction: column; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-image { transform: none !important; }
    .js .reveal-card { opacity: 1; transform: none; }
}
