/* DNA Rehab V3 — editorial, interaction-led rehabilitation website */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ========================================
   01. COLOUR PALETTE AND GLOBAL VARIABLES
======================================== */

:root {
    --navy: #102f48;
    --ink: #15354b;
    --deep: #0b273c;
    --orange: #f47735;
    --orange-dark: #e65f1d;
    --pale: #fff4eb;
    --mist: #edf4f7;
    --line: #dae6eb;
    --muted: #657888;
    --white: #fff;
    --container: 1220px;
    --shadow: 0 20px 45px rgba(15,43,64,.10);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: 'DM Sans',Arial,sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

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

h1,h2,h3,h4,p {
    margin: 0;
}

h1,h2,h3,h4 {
    font-family: 'Plus Jakarta Sans','DM Sans',sans-serif;
    line-height: 1.2;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(2.7rem,5.2vw,5.35rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem,3.45vw,3.55rem);
    font-weight: 800;
}

h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

p {
    color: var(--muted);
}

/* ========================================
   02. LAYOUT AND TYPOGRAPHY
======================================== */

.container {
    width: min(calc(100% - 48px),var(--container));
    margin: auto;
}

.section {
    padding: 104px 0;
}

.section-sm {
    padding: 72px 0;
}

.section-tint {
    background: #f4f8fa;
}

.section-head {
    display: flex;
    gap: 35px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 38px;
}

.section-head>div:first-child {
    max-width: 790px;
}

.section-head>p {
    max-width: 355px;
}

.overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-dark);
    margin-bottom: 17px;
}

.overline:before {
    content: "";
    height: 3px;
    width: 22px;
    background: var(--orange);
    border-radius: 3px;
}

.overline.white {
    color: #ffd0ae;
}

.overline.white:before {
    background: #ffd0ae;
}

.lead {
    font-size: 1.13rem;
    line-height: 1.8;
}

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

.orange {
    color: var(--orange);
}

.eyebrow-line {
    height: 4px;
    width: 50px;
    background: var(--orange);
    margin-bottom: 20px;
    border-radius: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 15px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: .94rem;
    transition: transform .25s ease,box-shadow .25s ease,background .2s ease,border-color .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.2;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform .22s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 12px 28px rgba(244,119,53,.26);
}

.btn-orange:hover {
    background: var(--orange-dark);
}

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

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

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

.btn-outline-light {
    border-color: rgba(255,255,255,.56);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
}

.link-arrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    font-weight: 800;
    color: var(--orange-dark);
    font-size: .94rem;
}

.link-arrow svg {
    width: 17px;
    height: 17px;
    transition: transform .25s;
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

.text-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 5px;
    background: #fff;
    color: #000;
    z-index: 100;
    padding: 12px;
}

.skip:focus {
    left: 5px;
}

/* ========================================
   03. TOP UTILITY BAR AND NAVIGATION
======================================== */

.utility {
    height: 39px;
    background: #0d2c43;
    color: #dce8ee;
    font-size: 12px;
    font-weight: 650;
}

.utility .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.utility-right,.utility-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.utility svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    margin-right: 5px;
    stroke: var(--orange);
}

.utility a:hover {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    box-shadow: 0 1px 0 rgba(14,46,68,.08);
    transition: box-shadow .25s,transform .25s;
}

.site-header.scrolled {
    box-shadow: 0 10px 28px rgba(14,46,68,.12);
}

.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand-symbol {
    width: 47px;
    height: 47px;
}

.brand-text strong {
    display: block;
    font-family: 'Plus Jakarta Sans',sans-serif;
    font-size: 24px;
    letter-spacing: -.075em;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.05;
}

.brand-text strong span {
    color: var(--orange);
}

.brand-text small {
    display: block;
    color: #6b7983;
    font-size: 9px;
    letter-spacing: .085em;
    font-weight: 800;
    margin-top: 3px;
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.nav-link,.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 15px 12px;
    color: var(--navy);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .22s;
}

.nav-link:hover,.nav-toggle:hover,.nav-link.active,.nav-toggle.active {
    color: var(--orange-dark);
}

.nav-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-item.is-open .nav-toggle svg {
    transform: rotate(180deg);
}

.nav-item.is-open .nav-toggle {
    color: var(--orange-dark);
}

.header-cta {
    font-size: .86rem;
    padding: 14px 18px;
}

.mega-panel {
    position: absolute;
    z-index: 80;
    top: calc(100% - 1px);
    left: 50%;
    transform: translate(-50%,-9px);
    width: min(1030px,calc(100vw - 56px));
    padding: 26px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    border-top: 3px solid var(--orange);
    background: #fff;
    box-shadow: 0 28px 60px rgba(8,36,55,.20);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s,transform .22s,visibility .22s;
}

.nav-item.is-open .mega-panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%,0);
    pointer-events: auto;
}

.mega-intro {
    background: #f1f6f8;
    border-radius: 9px;
    padding: 23px;
}

.mega-intro b {
    display: block;
    font-size: 1.24rem;
    font-family: 'Plus Jakarta Sans';
    line-height: 1.2;
    margin-bottom: 12px;
}

.mega-intro p {
    font-size: .85rem;
    line-height: 1.6;
    margin-bottom: 17px;
}

.mega-intro a {
    color: var(--orange-dark);
    font-weight: 800;
    font-size: .84rem;
}

.mega-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
}

.mega-links a {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 16px 13px;
    border-radius: 8px;
    transition: background .2s,transform .2s;
}

.mega-links a:hover {
    background: #fff3eb;
    transform: translateX(3px);
}

.mega-links .mini-icon {
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eef5f7;
    color: var(--orange-dark);
    width: 39px;
    height: 39px;
    flex-shrink: 0;
}

.mega-links b {
    display: block;
    font-size: .88rem;
    line-height: 1.25;
}

.mega-links small {
    display: block;
    color: #72818c;
    font-size: .74rem;
    line-height: 1.4;
    margin-top: 4px;
}

.nav-backdrop {
    position: fixed;
    inset: 129px 0 0;
    background: rgba(2,27,45,.12);
    z-index: 55;
    display: none;
}

.nav-backdrop.open {
    display: block;
}

.mobile-toggle,.mobile-drawer {
    display: none;
}

/* Hero slider */

/* ========================================
   04. HOME PAGE HERO CAROUSEL
======================================== */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
}

.hero-slide {
    display: none;
    min-height: 625px;
    position: relative;
    align-items: center;
    overflow: hidden;
    animation: heroEnter .65s ease both;
}

.hero-slide.active {
    display: flex;
}

.hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#102f48 0%,#102f48 32%,rgba(16,47,72,.93) 44%,rgba(16,47,72,.54) 68%,rgba(16,47,72,.12) 100%);
    z-index: 1;
}

.hero-slide:after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -200px;
    height: 430px;
    width: 430px;
    border-radius: 50%;
    border: 55px solid rgba(244,119,53,.13);
    z-index: 1;
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-position: center right;
    background-size: cover;
    background-image: linear-gradient(135deg,#2e5869 0%,#739baa 100%);
}

.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('illustration.svg');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 87% center;
    opacity: .32;
}

.hero-photo[data-image] {
    background-position: center center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 64px),var(--container));
    margin: auto;
    padding: 84px 0 110px;
}

.hero-content {
    max-width: 685px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(3rem,5.3vw,5.25rem);
    line-height: 1.12;
}

.hero h1 em {
    font-style: normal;
    color: #ffb077;
}

.hero-desc {
    max-width: 615px;
    font-size: 1.12rem;
    line-height: 1.78;
    color: #e7eff2;
    margin: 25px 0 29px;
}

.hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 25px 0 29px;
}

.hero-chip {
    padding: 8px 13px;
    border-radius: 30px;
    color: #f2f5f7;
    border: 1px solid rgba(255,255,255,.32);
    font-size: .8rem;
    font-weight: 700;
    background: rgba(255,255,255,.07);
}

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

.hero-ui {
    position: absolute;
    z-index: 4;
    bottom: 25px;
    left: 0;
    width: 100%;
}

.hero-ui-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    height: 7px;
    width: 31px;
    cursor: pointer;
    border: 0;
    background: #91a6b5;
    border-radius: 10px;
    transition: width .25s,background .25s;
}

.hero-dot[aria-current=true] {
    width: 58px;
    background: var(--orange);
}

.hero-control {
    display: flex;
    gap: 9px;
}

.round-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.42);
    color: #fff;
    transition: background .2s;
}

.round-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.round-btn svg {
    width: 19px;
    height: 19px;
}

.hero-index {
    font-size: .83rem;
    color: #d5e0e7;
    font-weight: 800;
    letter-spacing: .1em;
}

.hero-index span {
    color: #fff;
    font-size: 1.25rem;
}

.hero-side-mark {
    position: absolute;
    right: 5%;
    bottom: 100px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    transform: rotate(-90deg) translateY(100%);
    transform-origin: right bottom;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .6;
}

@keyframes heroEnter {
    from {
        opacity: .5;
        transform: scale(1.018);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

/* ========================================
   05. HOME PAGE QUICK LINKS AND CONTENT SECTIONS
======================================== */

.quick-strip {
    background: #fff;
    box-shadow: 0 18px 38px rgba(12,47,68,.06);
    position: relative;
    z-index: 5;
}

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

.quick-item {
    padding: 28px 23px;
    border-right: 1px solid #e4ebee;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background .2s;
}

.quick-item:first-child {
    border-left: 1px solid #e4ebee;
}

.quick-item:hover {
    background: #fff7f1;
}

.quick-icon {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff0e5;
    color: var(--orange-dark);
}

.quick-icon svg {
    width: 23px;
    height: 23px;
}

.quick-item b {
    display: block;
    color: var(--navy);
    font-size: .91rem;
    line-height: 1.3;
}

.quick-item small {
    font-size: .76rem;
    color: #81909b;
}

.quick-item>.arrow {
    width: 17px;
    height: 17px;
    margin-left: auto;
    flex-shrink: 0;
    color: var(--orange);
}

.intro-grid {
    display: grid;
    grid-template-columns: .97fr 1.03fr;
    align-items: center;
    gap: 83px;
}

.photo-arch {
    min-height: 530px;
    border-radius: 170px 16px 16px 16px;
    position: relative;
    overflow: visible;
    background: #e8edf0;
}

.photo-arch .picture {
    display: block;
    width: 100%;
    height: 530px;
    object-fit: cover;
    object-position: center;
    border-radius: 170px 16px 16px 16px;
    background: linear-gradient(135deg,#9fbcc4,#dbe9ec);
}

.photo-arch:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -17px;
    right: -18px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffdcc4;
}

.float-panel {
    position: absolute;
    right: -30px;
    bottom: 27px;
    background: #fff;
    border-left: 5px solid var(--orange);
    border-radius: 10px;
    padding: 19px 22px;
    box-shadow: var(--shadow);
    max-width: 240px;
}

.float-panel b {
    font-size: 1.02rem;
    display: block;
    line-height: 1.3;
}

.float-panel small {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    margin-top: 5px;
}

.intro-copy h2 {
    margin-bottom: 22px;
}

.intro-copy>p {
    margin-bottom: 20px;
}

.tick-points {
    display: grid;
    gap: 12px;
    margin: 26px 0 28px;
}

.tick-points div {
    display: flex;
    gap: 11px;
    align-items: start;
    color: var(--navy);
    font-weight: 700;
    font-size: .92rem;
}

.tick-points svg {
    color: var(--orange);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

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

.audience-tile {
    background: #fff;
    border: 1px solid #e3eaee;
    border-radius: 13px;
    padding: 31px 24px;
    position: relative;
    overflow: hidden;
    transition: transform .3s,box-shadow .3s,border-color .3s;
    min-height: 275px;
}

.audience-tile:after {
    content: "";
    position: absolute;
    right: -50px;
    top: -50px;
    width: 135px;
    height: 135px;
    background: var(--pale);
    border-radius: 50%;
    transition: transform .3s;
}

.audience-tile:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(11,44,66,.1);
    border-color: #ffbf95;
}

.audience-tile:hover:after {
    transform: scale(1.2);
}

.tile-icon {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #fef0e5;
    color: var(--orange-dark);
    position: relative;
    z-index: 1;
}

.tile-icon svg {
    width: 27px;
    height: 27px;
}

.audience-tile h3 {
    margin: 22px 0 11px;
    position: relative;
    z-index: 1;
}

.audience-tile p {
    font-size: .88rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.audience-tile .link-arrow {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: #fff;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid #e1ebef;
    box-shadow: 0 6px 20px rgba(14,51,72,.03);
    transition: box-shadow .25s,transform .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.service-picture {
    height: 212px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,#a3c3c5,#eef1ef);
}

.service-picture img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .55s;
}

.service-card:hover .service-picture img {
    transform: scale(1.075);
}

.service-number {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 8px 15px;
    background: var(--orange);
    color: white;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.service-content {
    padding: 26px;
}

.service-content h3 {
    margin-bottom: 12px;
    min-height: 54px;
}

.service-content p {
    font-size: .89rem;
    min-height: 73px;
    line-height: 1.7;
    margin-bottom: 21px;
}

.service-content .link-arrow {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    width: 100%;
    justify-content: space-between;
}

.service-detail-rows {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.mini-service {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    gap: 16px;
    background: #fff;
}

.mini-service .tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mini-service h3 {
    font-size: 1.07rem;
    margin-bottom: 5px;
}

.mini-service p {
    font-size: .84rem;
}

.feature-dark {
    background: #10354f;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.feature-dark:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 6% 5%,rgba(244,119,53,.18),transparent 30%),radial-gradient(circle at 92% 70%,rgba(255,255,255,.05),transparent 40%);
}

.feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.feature-dark h2,.feature-dark h3 {
    color: #fff;
}

.feature-dark p {
    color: #c9dbe5;
}

.feature-copy h2 {
    margin-bottom: 22px;
}

.feature-copy>p {
    margin-bottom: 26px;
}

.feature-photo {
    height: 530px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background: #275b6c;
}

.feature-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.feature-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 48%,rgba(6,28,44,.62));
}

.feature-sticker {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 25px;
    background: var(--orange);
    color: #fff;
    padding: 13px 18px;
    border-radius: 5px;
    letter-spacing: .1em;
    font-weight: 800;
    font-size: .73rem;
}

.checks-dark {
    display: grid;
    gap: 17px;
    margin: 26px 0 31px;
}

.checks-dark>div {
    display: flex;
    gap: 13px;
}

.checks-dark svg {
    color: #ffad76;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.checks-dark b {
    display: block;
    color: #fff;
    font-size: .95rem;
}

.checks-dark small {
    display: block;
    color: #c3d7e3;
    margin-top: 5px;
    font-size: .85rem;
}

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

.process-step {
    padding: 27px 20px 25px;
    border: 1px solid #dce7ec;
    border-radius: 9px;
    position: relative;
    background: #fff;
}

.process-step:not(:last-child):after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 35px;
    z-index: 3;
    font-size: 26px;
    color: var(--orange);
}

.process-step strong {
    font-size: 2.4rem;
    color: #e7eff1;
    font-family: 'Plus Jakarta Sans';
    font-weight: 800;
    display: block;
}

.process-step h3 {
    font-size: 1.07rem;
    margin: 8px 0 9px;
}

.process-step p {
    font-size: .85rem;
}

.process-step .process-icon {
    margin-top: 15px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--orange);
    background: var(--pale);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: #e0eaee;
    border: 1px solid #e0eaee;
    border-radius: 12px;
    overflow: hidden;
}

.why-tile {
    background: #fff;
    padding: 33px 26px;
    transition: background .2s;
}

.why-tile:hover {
    background: #fff8f3;
}

.why-tile .tile-icon {
    margin-bottom: 19px;
}

.why-tile h3 {
    font-size: 1.05rem;
    margin-bottom: 9px;
}

.why-tile p {
    font-size: .87rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.faq-layout .intro h2 {
    margin-bottom: 18px;
}

.faq-layout .intro p {
    margin-bottom: 25px;
}

.accordion-item {
    border-bottom: 1px solid #d9e5ea;
}

.accordion-q {
    display: flex;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 22px 2px;
    align-items: center;
    justify-content: space-between;
    color: var(--navy);
    font-weight: 800;
    font-size: 1rem;
}

.accordion-q svg {
    width: 22px;
    height: 22px;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform .25s;
}

.accordion-item.open .accordion-q svg {
    transform: rotate(45deg);
}

.accordion-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordion-a>div {
    padding: 0 30px 22px 2px;
    color: var(--muted);
    font-size: .94rem;
}

.accordion-a a {
    color: var(--orange-dark);
    text-decoration: underline;
}

.accordion-item.open .accordion-a {
    max-height: 350px;
}

.final-cta {
    background: var(--orange);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.final-cta:before,.final-cta:after {
    content: "";
    position: absolute;
    border: 60px solid rgba(255,255,255,.11);
    width: 360px;
    height: 360px;
    border-radius: 50%;
}

.final-cta:before {
    top: -240px;
    right: 2%;
}

.final-cta:after {
    left: -200px;
    bottom: -270px;
}

.final-cta .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.final-cta h2 {
    color: #fff;
    font-size: clamp(2rem,3.2vw,3.4rem);
    margin: 12px 0;
}

.final-cta p {
    color: #fff3ea;
    max-width: 690px;
}

.final-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer {
    background: #0c2a40;
    color: #dfebf1;
    padding: 71px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer .brand-text strong {
    color: #fff;
}

.footer .brand-text small {
    color: #adc3cf;
}

.footer-about p {
    color: #b6cad5;
    font-size: .88rem;
    margin: 24px 0;
    max-width: 300px;
}

.footer h4 {
    font-size: 1rem;
    color: #fff;
    margin: 7px 0 25px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    font-size: .85rem;
    color: #c7d9e2;
    transition: color .2s,transform .2s;
}

.footer-links a:hover {
    color: #ffaa71;
    transform: translateX(3px);
}

.footer-note {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid #49677a;
    border-radius: 5px;
    font-size: .76rem;
    color: #c8dbe4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #315166;
    margin-top: 55px;
    padding-top: 20px;
    color: #a5bdc9;
    font-size: .75rem;
}

.floating-contact {
    position: fixed;
    right: 24px;
    bottom: 84px;
    z-index: 45;
    border-radius: 99px;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 16px 38px rgba(244,119,53,.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: .85rem;
    padding: 13px 19px;
    transition: transform .22s;
}

.floating-contact:hover {
    transform: translateY(-3px);
}

.floating-contact svg {
    width: 18px;
    height: 18px;
}

.to-top {
    position: fixed;
    right: 27px;
    bottom: 25px;
    z-index: 44;
    width: 43px;
    height: 43px;
    border: 1px solid #cbdce5;
    background: white;
    color: var(--navy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s,transform .2s;
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.to-top svg {
    width: 18px;
    height: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease,transform .65s ease;
}

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

/* Inner pages */

/* ========================================
   06. INNER PAGES AND SHARED COMPONENTS
======================================== */

.page-hero {
    background: linear-gradient(110deg,rgba(9,42,63,.96),rgba(16,50,71,.88)),linear-gradient(135deg,#123b55,#527d88);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero:before {
    content: "";
    position: absolute;
    right: -120px;
    top: -200px;
    width: 550px;
    height: 550px;
    border: 110px solid rgba(244,119,53,.10);
    border-radius: 50%;
}

.page-hero .container {
    position: relative;
    padding: 90px 0 100px;
}

.page-hero h1 {
    font-size: clamp(2.8rem,4.9vw,4.9rem);
    max-width: 880px;
}

.page-hero p {
    color: #d5e5ec;
    max-width: 720px;
    margin-top: 24px;
    font-size: 1.08rem;
}

.breadcrumbs {
    font-size: .77rem;
    font-weight: 750;
    letter-spacing: .06em;
    margin-bottom: 28px;
    color: #aec5d2;
}

.breadcrumbs a {
    color: #fcb17c;
}

.page-subhead {
    max-width: 820px;
    margin-bottom: 37px;
}

.page-subhead p {
    margin-top: 17px;
    font-size: 1.06rem;
}

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

.info-card {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
}

.info-card .tile-icon {
    margin-bottom: 18px;
}

.info-card h3 {
    margin-bottom: 10px;
}

.info-card p {
    font-size: .93rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.split .picture {
    width: 100%;
    height: 490px;
    object-fit: cover;
    border-radius: 12px;
    background: #d9e8e9;
}

.split h2 {
    margin-bottom: 24px;
}

.split p {
    margin-bottom: 19px;
}

.service-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin: 22px 0 30px;
}

.service-bullets>div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    font-weight: 750;
}

.service-bullets svg {
    color: var(--orange);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.pill-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.pill-tabs button {
    border: 1px solid #d5e4e8;
    background: #fff;
    padding: 10px 15px;
    color: var(--navy);
    font-weight: 800;
    border-radius: 6px;
    transition: background .2s,color .2s;
}

.pill-tabs button[aria-selected=true] {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.tab-panel {
    display: none;
    grid-template-columns: .75fr 1.25fr;
    gap: 38px;
    align-items: center;
    padding: 32px;
    background: #f1f7f9;
    border-radius: 13px;
}

.tab-panel.active {
    display: grid;
}

.tab-panel h3 {
    font-size: 1.65rem;
    margin: 0 0 12px;
}

.tab-panel p {
    margin-bottom: 19px;
}

.tab-panel .tile-icon {
    width: 84px;
    height: 84px;
    border-radius: 18px;
}

.tab-panel .tile-icon svg {
    width: 45px;
    height: 45px;
}

.resource-card {
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
}

.resource-card h3 {
    font-size: 1.15rem;
}

.resource-card p {
    font-size: .91rem;
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-grid label,.form-wide {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: .83rem;
    font-weight: 800;
}

.form-wide {
    margin-top: 17px;
}

.form-grid input,.form-grid select,.form-wide textarea {
    width: 100%;
    padding: 14px 13px;
    border: 1px solid #cbdde5;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: var(--navy);
    font-weight: 500;
    font-size: .92rem;
}

.form-grid input:focus,.form-grid select:focus,.form-wide textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(244,119,53,.14);
}

textarea {
    resize: vertical;
}

.form-shell {
    padding: 33px;
    border-radius: 13px;
    box-shadow: 0 14px 40px rgba(13,46,65,.08);
    background: #fff;
    border: 1px solid #dde9ed;
}

.form-shell h3 {
    font-size: 1.65rem;
    margin-bottom: 8px;
}

.form-shell>p {
    font-size: .87rem;
    margin-bottom: 26px;
}

.form-layout {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 62px;
    align-items: start;
}

.form-consent {
    display: flex;
    align-items: start;
    gap: 9px;
    margin: 17px 0;
    color: #536c7b;
    font-size: .82rem;
}

.form-consent input {
    margin-top: 5px;
    accent-color: var(--orange);
}

.form-feedback {
    font-size: .85rem;
    margin-top: 15px;
}

.contact-block {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin-top: 16px;
    background: #fff;
}

.contact-block .tile-icon {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-block b {
    display: block;
    font-size: .96rem;
}

.contact-block span {
    font-size: .82rem;
    color: var(--muted);
}

.fine-print {
    font-size: .78rem;
    padding: 16px;
    border-left: 3px solid var(--orange);
    background: #fff6ef;
    color: #73563c;
    margin-top: 25px;
}

.search-box {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 1px solid #d8e4e9;
    border-radius: 8px;
    margin: 20px 0 26px;
    max-width: 650px;
}

.search-box svg {
    height: 21px;
    width: 21px;
    color: var(--orange);
}

.search-box input {
    border: 0;
    outline: none;
    width: 100%;
    font-size: 1rem;
    background: transparent;
}

.faq-filter-empty {
    display: none;
    color: #637886;
    padding: 20px;
    background: white;
}

.faq-filter-empty.show {
    display: block;
}

/* Mobile */

/* ========================================
   07. RESPONSIVE STYLES — TABLET AND MOBILE
======================================== */

@media (max-width:1120px) {
    .desktop-nav {
        gap: 0;
    }

    .nav-link,.nav-toggle {
        font-size: .8rem;
        padding: 12px 8px;
    }

    .navbar {
        gap: 10px;
    }

    .brand-text strong {
        font-size: 22px;
    }

    .header-cta {
        padding: 13px;
    }

    .intro-grid {
        gap: 50px;
    }

    .hero-slide {
        min-height: 590px;
    }

    .feature-grid {
        gap: 38px;
    }

}

@media (max-width:950px) {
    .desktop-nav,.header-cta {
        display: none;
    }

    .mobile-toggle {
        margin-left: auto;
        display: grid;
        place-items: center;
        width: 47px;
        height: 47px;
        background: transparent;
        border: 1px solid #d7e4e9;
        border-radius: 7px;
        color: var(--navy);
    }

    .mobile-toggle svg {
        width: 25px;
        height: 25px;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        z-index: 65;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(410px,90vw);
        background: #fff;
        padding: 28px;
        box-shadow: -20px 0 50px rgba(0,0,0,.15);
        overflow-y: auto;
        transform: translateX(106%);
        transition: transform .35s ease;
    }

    .mobile-drawer.open {
        transform: none;
    }

    .mobile-drawer .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 32px;
    }

    .drawer-close {
        border: none;
        background: #eef3f5;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: grid;
        place-items: center;
    }

    .mobile-menu-link,.mobile-drawer summary {
        display: block;
        padding: 17px 0;
        border-bottom: 1px solid #e1e9ed;
        color: var(--navy);
        font-weight: 800;
        font-size: 1rem;
    }

    .mobile-drawer details summary {
        cursor: pointer;
        list-style: none;
        display: flex;
        justify-content: space-between;
    }

    .mobile-drawer details summary::after {
        content: '+';
        color: var(--orange);
        font-size: 22px;
        line-height: 1;
    }

    .mobile-drawer details[open] summary::after {
        content: '−';
    }

    .mobile-submenu {
        padding: 7px 0 14px 15px;
        display: grid;
        gap: 0;
    }

    .mobile-submenu a {
        padding: 10px 0;
        color: #526978;
        font-size: .9rem;
    }

    .drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 64;
        background: rgba(0,30,47,.5);
    }

    .drawer-overlay.open {
        display: block;
    }

    .quick-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .quick-item:nth-child(3) {
        border-left: 1px solid #e4ebee;
    }

    .intro-grid,.feature-grid,.faq-layout {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        gap: 38px;
    }

    .photo-arch {
        max-width: 600px;
    }

    .audience-grid,.process {
        grid-template-columns: repeat(2,1fr);
    }

    .service-grid,.why-grid,.resource-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .process-step:nth-child(2):after {
        display: none;
    }

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

    .form-layout,.split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

}

@media (max-width:620px) {
    .container {
        width: min(calc(100% - 34px),var(--container));
    }

    .section {
        padding: 72px 0;
    }

    .section-sm {
        padding: 55px 0;
    }

    .utility {
        height: 32px;
        font-size: 11px;
    }

    .utility-right {
        display: none;
    }

    .navbar {
        height: 74px;
    }

    .brand-symbol {
        width: 39px;
        height: 39px;
    }

    .brand-text strong {
        font-size: 20px;
    }

    .brand-text small {
        font-size: 7px;
    }

    .hero-slide {
        min-height: 670px;
        align-items: flex-start;
    }

    .hero-slide:before {
        background: linear-gradient(90deg,rgba(10,41,63,.94),rgba(10,41,63,.78)),linear-gradient(180deg,transparent,rgba(10,41,63,.88));
    }

    .hero-photo {
        background-position: 63% center !important;
    }

    .hero-inner {
        width: min(calc(100% - 34px),var(--container));
        padding: 68px 0 96px;
    }

    .hero h1 {
        font-size: clamp(2.65rem,11vw,4.2rem);
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-side-mark {
        display: none;
    }

    .hero-chips {
        gap: 6px;
    }

    .hero-chip {
        font-size: .7rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-index {
        display: none;
    }

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

    .quick-item {
        padding: 20px 12px;
        gap: 9px;
    }

    .quick-icon {
        width: 38px;
        height: 38px;
    }

    .quick-icon svg {
        width: 18px;
        height: 18px;
    }

    .quick-item b {
        font-size: .78rem;
    }

    .quick-item small {
        font-size: .69rem;
    }

    .quick-item>.arrow {
        display: none;
    }

    .section-head {
        display: block;
    }

    .section-head>p {
        margin-top: 18px;
    }

    .intro-grid {
        gap: 35px;
    }

    .photo-arch,.photo-arch .picture {
        height: 350px;
        min-height: 350px;
    }

    .photo-arch {
        max-width: calc(100% - 15px);
    }

    .float-panel {
        right: -18px;
        bottom: 12px;
        padding: 12px;
        max-width: 190px;
    }

    .float-panel b {
        font-size: .81rem;
    }

    .float-panel small {
        font-size: .7rem;
    }

    .audience-grid,.service-grid,.why-grid,.resource-grid,.info-grid,.service-detail-rows,.process,.form-grid {
        grid-template-columns: 1fr;
    }

    .audience-tile {
        min-height: 230px;
    }

    .service-picture {
        height: 220px;
    }

    .service-content h3,.service-content p {
        min-height: unset;
    }

    .process-step:after {
        display: none;
    }

    .feature-photo {
        height: 350px;
    }

    .faq-layout {
        gap: 28px;
    }

    .final-cta .container {
        display: block;
    }

    .final-actions {
        margin-top: 25px;
    }

    .final-actions .btn {
        width: 100%;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 31px 20px;
    }

    .footer-about {
        grid-column: 1/-1;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin-bottom: 8px;
    }

    .floating-contact {
        bottom: 77px;
        right: 16px;
        padding: 12px;
        font-size: .79rem;
    }

    .to-top {
        right: 18px;
        bottom: 19px;
    }

    .page-hero .container {
        padding: 66px 0 73px;
    }

    .service-bullets {
        grid-template-columns: 1fr;
    }

    .split .picture {
        height: 310px;
    }

    .form-shell {
        padding: 22px;
    }

    .tab-panel.active {
        grid-template-columns: 1fr;
    }

    .tab-panel {
        padding: 25px;
    }

    .form-layout {
        gap: 30px;
    }

}

@media (prefers-reduced-motion:reduce) {
    *,*:before,*:after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

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

}

.desktop-header-cta {
    flex-shrink: 0;
}

.hero-photo.image-fallback:after {
    opacity: .7;
}

.hero-photo.image-fallback {
    background-image: linear-gradient(120deg,#20516b,#4b8892) !important;
}

.service-picture img.is-fallback {
    object-fit: cover;
}

.hero-chip svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}

.nav-backdrop {
    pointer-events: auto;
}

@media (max-width:950px) {
    .desktop-header-cta {
        display: none;
    }

}

@media (max-width:620px) {
    .utility-right {
        display: none;
    }

}

/* Layout corrections for wide mega menu and stock-photo placeholders */

.service-picture {
    display: block;
    height: 215px;
    line-height: 0;
}

.service-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    position: relative;
}

.hero-photo:after {
    opacity: 0;
}

.mega-panel {
    position: fixed;
    top: var(--mega-top,129px);
    left: 50vw;
    width: min(1030px,calc(100vw - 56px));
    transform: translate(-50%,-9px);
}

.nav-item.is-open .mega-panel {
    transform: translate(-50%,0);
}

.nav-backdrop {
    top: var(--mega-top,129px);
}

/* Audience pathway tab switcher */

/* ========================================
   08. AUDIENCE PATHWAY TABS AND FINAL OVERRIDES
======================================== */

.pathways {
    margin-top: 30px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 250px 1fr;
    border: 1px solid #dce8ee;
    overflow: hidden;
}

.pathway-tabs {
    padding: 15px;
    background: #edf4f7;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pathway-tab {
    border: 0;
    background: transparent;
    color: var(--navy);
    text-align: left;
    padding: 16px;
    border-radius: 7px;
    font-size: .92rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.pathway-tab[aria-selected=true] {
    background: var(--navy);
    color: #fff;
}

.pathway-tab svg {
    width: 18px;
    height: 18px;
    color: var(--orange);
}

.pathway-panel {
    display: none;
    padding: 35px 43px;
    align-items: center;
    gap: 35px;
    grid-template-columns: 1fr 1fr;
}

.pathway-panel.active {
    display: grid;
}

.pathway-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 9px;
}

.pathway-panel p {
    font-size: .9rem;
    margin-bottom: 17px;
}

.pathway-panel .pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.pathway-panel .pill-list span {
    font-size: .77rem;
    font-weight: 800;
    background: #f7f1eb;
    color: #af571c;
    padding: 6px 10px;
    border-radius: 5px;
}

.pathway-panel .pathway-art {
    width: 100%;
    min-height: 160px;
    background: linear-gradient(135deg,#f8e6da,#e6f2f4);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pathway-panel .pathway-art svg {
    height: 95px;
    width: 95px;
    color: #f47735;
}

@media (max-width:950px) {
    .pathways {
        grid-template-columns: 1fr;
    }

    .pathway-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    .pathway-tab {
        min-width: 180px;
    }

    .pathway-panel {
        padding: 25px;
    }

}

@media (max-width:620px) {
    .pathway-panel.active {
        grid-template-columns: 1fr;
    }

    .pathway-panel .pathway-art {
        display: none;
    }

    .pathway-tab {
        min-width: 150px;
        font-size: .78rem;
        padding: 12px;
    }

}

.icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    flex-shrink: 0;
}


/* ========================================
   CTP REHABILITATION - CONTENT SECTIONS
======================================== */

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

.ctp-topic-grid .info-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ctp-topic-grid .info-card h3 {
    margin-bottom: 0;
}

.ctp-comparison {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.ctp-comparison .info-card {
    padding: 36px;
}

.ctp-comparison .info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.ctp-comparison .info-card p {
    margin-bottom: 20px;
}

.ctp-list {
    margin: 0;
    padding-left: 21px;
    color: var(--ink);
    line-height: 2;
}

.ctp-list li {
    padding-left: 4px;
}

.ctp-list li::marker {
    color: var(--orange);
}

.ctp-safety-note {
    margin-top: 25px;
    padding: 20px 25px;
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    background: #fff6ee;
    color: #6b4d3e;
    line-height: 1.75;
}

.ctp-action {
    margin-top: 37px;
}

.ctp-highlight-panel {
    background: #f1f7f9;
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 36px;
}

.ctp-highlight-panel h3 {
    margin: 4px 0 14px;
}

.ctp-highlight-panel p {
    margin-bottom: 15px;
}

.ctp-highlight-panel hr {
    border: 0;
    border-top: 1px solid #cbdfe5;
    margin: 24px 0;
}

@media (max-width: 950px) {
    .ctp-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ctp-topic-grid,
    .ctp-comparison {
        grid-template-columns: 1fr;
    }

    .ctp-comparison .info-card,
    .ctp-highlight-panel {
        padding: 24px;
    }
}

/* ========================================
   09. DNA Rehab CLIENT BRAND IDENTITY
   Uses the client's supplied blue / green DNA emblem.
======================================== */

.brand-symbol {
    width: 58px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand {
    gap: 10px;
}

.brand-text strong {
    color: #125477;
    font-size: 23px;
    letter-spacing: -0.055em;
}

.brand-text strong span {
    color: #319957;
}

.brand-text small {
    color: #39875c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.footer .brand-symbol {
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}

.footer .brand-text strong {
    color: #fff;
}

.footer .brand-text strong span {
    color: #8dd29f;
}

.footer .brand-text small {
    color: #a6d7b7;
}

/* ========================================
   10. READABILITY UPDATE
   Larger body copy and small headings across the site.
   Existing hero and navigation hierarchy stays in place.
======================================== */

body {
    font-size: 17px;
}

main p {
    line-height: 1.8;
}

.section-head > p,
.section-head > div > p,
.intro-copy > p,
.feature-copy > p,
.page-subhead > p,
.page-hero p,
.gp-section-lead {
    font-size: 1.10rem;
}

.overline {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
}

.hero-desc {
    font-size: 1.19rem;
}

.hero-chip {
    font-size: 0.85rem;
}

.quick-item b {
    font-size: 1.02rem;
}

.quick-item small {
    font-size: 0.88rem;
}

.service-content h3 {
    font-size: 1.36rem;
}

.service-content p,
.info-card p,
.resource-card p,
.pathway-panel p,
.tab-panel p,
.contact-block span,
.faq-answer p,
.audience-tile p,
.intro-copy p,
.feature-copy p {
    font-size: 1.02rem;
}

.service-content .link-arrow,
.resource-card .link-arrow,
.pathway-panel .link-arrow {
    font-size: 0.98rem;
}

.faq-question,
.info-card h3,
.process-step h3,
.resource-card h3 {
    font-size: 1.12rem;
}

/* ========================================
   11. HOME — FEATURED WORKCOVER / CTP DOCTOR
   Large split layout inspired by the client's example,
   but with original DNA Rehab wording and branding.
======================================== */

.gp-feature-section {
    position: relative;
    padding: 86px 0 80px;
    background: #e9f3f8;
    scroll-margin-top: 110px;
}

.gp-section-intro {
    max-width: 970px;
    margin: 0 0 35px;
}

.gp-section-intro h2 {
    max-width: 890px;
    font-size: clamp(2.3rem, 3.9vw, 3.95rem);
    line-height: 1.14;
    margin-bottom: 21px;
}

.gp-section-lead {
    max-width: 850px;
    color: #496575;
}

.gp-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 65px rgba(14, 48, 72, 0.12);
}

.gp-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 520px;
    padding: clamp(34px, 4vw, 67px);
    background: linear-gradient(128deg, #123e5e 0%, #1a567e 78%, #226d8d 100%);
    color: #fff;
}

.gp-kicker {
    color: #b5e4f2;
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    font-weight: 800;
    line-height: 1.5;
}

.gp-hero-copy h3 {
    color: #fff;
    font-size: clamp(2.05rem, 2.85vw, 3.1rem);
    line-height: 1.16;
    font-weight: 750;
    letter-spacing: -0.035em;
    margin: 23px 0 22px;
}

.gp-hero-copy > p:not(.gp-kicker) {
    color: #e7f0f7;
    font-size: 1.14rem;
    line-height: 1.76;
}

.gp-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.gp-hero-actions .btn-white {
    color: #164562;
    box-shadow: 0 7px 20px rgba(9, 40, 60, 0.14);
}

.gp-benefit-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 19px;
    margin-top: 31px;
}

.gp-benefit-list > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f5fbff;
    font-size: 0.86rem;
    font-weight: 750;
}

.gp-benefit-list > span::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #103f5c;
    background: #f47735;
    font-weight: 900;
}

.gp-hero-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gp-visual {
    height: 270px;
    overflow: hidden;
    background: #d4e5ea;
}

.gp-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gp-answer-card {
    padding: 33px 39px 36px;
    background: #fff;
}

.gp-answer-label {
    color: #266eaa;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    margin-bottom: 15px;
}

.gp-answer-card h3,
.gp-answer-card h2 {
    color: #133e5c;
    font-size: clamp(1.25rem, 1.7vw, 1.7rem);
    line-height: 1.28;
    margin-bottom: 14px;
}

.gp-answer-card > p:not(.gp-answer-label) {
    font-size: 1.02rem;
    color: #4f6370;
    margin-bottom: 22px;
}

.gp-answer-card .link-arrow {
    border-bottom: 2px solid var(--orange);
    padding-bottom: 7px;
}

.gp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
    margin-top: 38px;
}

.gp-step {
    padding-top: 17px;
    border-top: 2px solid #79afd0;
}

.gp-step-number {
    display: block;
    color: #226da5;
    font-weight: 900;
    font-size: 1.02rem;
    margin-bottom: 5px;
}

.gp-step h3 {
    color: #163c5a;
    font-size: 1.16rem;
    margin-bottom: 6px;
}

.gp-step p {
    color: #405a6c;
    font-size: 1.04rem;
    line-height: 1.65;
}

.gp-footnote {
    font-size: 0.90rem;
    color: #617482;
    margin-top: 28px;
}

.gp-quick-item {
    background: #eaf4f8;
}

.gp-quick-item:hover {
    background: #daecf4;
}

/* ========================================
   12. DEDICATED WORKCOVER / CTP DOCTOR PAGE
======================================== */

.gp-page-hero {
    background: linear-gradient(115deg, #103a57, #235f86);
}

.gp-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
}

.gp-page-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding: 75px 55px 73px 0;
}

.gp-page-copy h1 {
    color: #fff;
    margin: 25px 0 28px;
    max-width: 680px;
    font-size: clamp(2.8rem, 4.55vw, 4.8rem);
    line-height: 1.12;
}

.gp-page-copy > p:not(.gp-kicker) {
    color: #e8f2f6;
    font-size: 1.17rem;
    max-width: 620px;
    line-height: 1.75;
}

.gp-page-aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gp-page-aside .gp-visual {
    height: 320px;
}

.gp-page-aside .gp-answer-card {
    flex: 1;
}

.gp-process-section {
    background: #eff6f9;
}

.gp-process-section h2 {
    max-width: 900px;
}

.gp-enquiry-section {
    padding: 70px 0;
    scroll-margin-top: 110px;
}

.gp-enquiry-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 55px;
    align-items: center;
    padding: 42px 45px;
    border: 1px solid #b9d2df;
    border-radius: 12px;
    background: #f7fbfe;
}

.gp-enquiry-panel h2 {
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    margin-bottom: 20px;
}

.gp-enquiry-panel p {
    font-size: 1.08rem;
}

.gp-enquiry-email {
    border-left: 3px solid #3f97ae;
    padding: 26px 0 26px 23px;
}

.gp-enquiry-email > span {
    display: block;
    color: #266eaa;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.gp-enquiry-email a {
    font-size: clamp(1.05rem, 1.4vw, 1.38rem);
    font-weight: 800;
    overflow-wrap: anywhere;
    color: #123e5e;
}

.gp-enquiry-email p {
    margin-top: 16px;
    font-size: 0.95rem;
}

.gp-caution-section p {
    max-width: 850px;
    margin: 16px 0 22px;
}

/* ========================================
   13. TABLET AND MOBILE ADJUSTMENTS
======================================== */

@media (max-width: 1120px) {
    .brand-symbol {
        width: 48px;
        height: 54px;
    }

    .brand-text strong {
        font-size: 21px;
    }

    .gp-hero-copy {
        padding: 39px;
    }

    .gp-hero-copy h3 {
        font-size: 2.25rem;
    }
}

@media (max-width: 950px) {
    .gp-page-grid,
    .gp-hero-grid {
        grid-template-columns: 1fr;
    }

    .gp-hero-copy {
        min-height: auto;
        padding: 50px;
    }

    .gp-hero-side {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
    }

    .gp-hero-side .gp-visual {
        height: 100%;
        min-height: 290px;
    }

    .gp-page-copy {
        padding: 66px 0;
    }

    .gp-page-aside {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
    }

    .gp-page-aside .gp-visual {
        height: 100%;
        min-height: 310px;
    }

    .gp-enquiry-panel {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 620px) {
    body {
        font-size: 17px;
    }

    .brand-symbol {
        width: 43px;
        height: 49px;
    }

    .brand-text strong {
        font-size: 19px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .gp-feature-section {
        padding: 60px 0 65px;
    }

    .gp-section-intro h2 {
        font-size: 2.05rem;
    }

    .gp-hero-copy {
        padding: 37px 23px;
    }

    .gp-hero-copy h3 {
        font-size: 2.03rem;
    }

    .gp-hero-copy > p:not(.gp-kicker),
    .gp-page-copy > p:not(.gp-kicker) {
        font-size: 1.07rem;
    }

    .gp-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .gp-hero-actions .btn {
        white-space: normal;
        text-align: center;
    }

    .gp-hero-side,
    .gp-page-aside {
        grid-template-columns: 1fr;
    }

    .gp-hero-side .gp-visual,
    .gp-page-aside .gp-visual {
        height: 220px;
        min-height: 0;
    }

    .gp-answer-card {
        padding: 29px 25px;
    }

    .gp-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gp-step p {
        font-size: 1.04rem;
    }

    .gp-page-copy {
        padding: 52px 0 43px;
    }

    .gp-page-copy h1 {
        font-size: 2.55rem;
    }

    .gp-enquiry-panel {
        padding: 29px 22px;
    }

    .gp-enquiry-section {
        padding: 54px 0;
    }
}

/* Client's original logo tagline, retained in the footer on every page. */
.footer-about .brand-motto {
    color: #a5dcbb;
    font-size: 0.91rem;
    letter-spacing: 0.025em;
    font-weight: 700;
    margin: 10px 0 14px;
}

/* ========================================
   20. ENGLISH / CHINESE LANGUAGE SWITCHER
======================================== */

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-shrink: 0;
    min-width: 99px;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #c8dce7;
    border-radius: 7px;
    background: #f4f8fa;
    color: #657888;
    font-size: 0.87rem;
    font-weight: 800;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
    background: #e7f1f5;
    border-color: #7e9aaf;
}

.language-toggle .selected {
    color: #102f48;
}

.language-toggle .language-divider {
    color: #a6b6c1;
}

.mobile-language-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid #e1e9ed;
    border-bottom: 1px solid #e1e9ed;
    margin-bottom: 15px;
    padding: 12px 0;
    font-size: 0.94rem;
    font-weight: 750;
    color: #102f48;
}

/* The button stays at the right edge of the desktop navigation. */
.site-header .navbar {
    gap: 13px;
}

/* Chinese titles can be wider or narrower than their English counterparts. */
html[data-language="zh"] body {
    line-height: 1.75;
}

html[data-language="zh"] .nav-link,
html[data-language="zh"] .nav-toggle {
    white-space: nowrap;
}

@media (max-width: 1360px) {
    .desktop-nav,
    .desktop-header-cta {
        display: none;
    }

    .mobile-toggle {
        display: grid;
        place-items: center;
        width: 47px;
        height: 47px;
        background: transparent;
        border: 1px solid #d7e4e9;
        border-radius: 7px;
        color: #102f48;
    }

    .mobile-toggle svg {
        width: 25px;
        height: 25px;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        z-index: 65;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(410px, 90vw);
        background: #fff;
        padding: 28px;
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        transform: translateX(106%);
        transition: transform 0.35s ease;
    }

    .mobile-drawer.open {
        transform: none;
    }

    .drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 64;
        background: rgba(0, 30, 47, 0.5);
    }

    .drawer-overlay.open {
        display: block;
    }
}

@media (max-width: 620px) {
    .site-header .navbar {
        gap: 9px;
    }

    .site-header .language-toggle:not(.language-toggle-mobile) {
        min-width: 88px;
        padding: 7px;
        font-size: 0.79rem;
        margin-left: auto;
    }

    .site-header .mobile-toggle {
        margin-left: 0;
    }
}

/* ========================================
   21. EDITABLE TWO-LANGUAGE HTML CONTENT
   ========================================
   Each page contains one English and one Chinese span beside each other.
   Edit either text in its own HTML. Do not delete the other span.
======================================== */

.text-zh {
    display: none !important;
}

html[data-language="zh"] .text-en {
    display: none !important;
}

html[data-language="zh"] .text-zh {
    display: inline !important;
}

/* Form success/error messages are also authored in HTML, not JavaScript. */
[data-form-feedback] [data-feedback-message] {
    display: none;
}

[data-form-feedback][data-feedback-state="error"] [data-feedback-message="error"],
[data-form-feedback][data-feedback-state="success"] [data-feedback-message="success"] {
    display: inline;
}


/* ========================================
   22. V8 — BILINGUAL BUTTON ALIGNMENT
   ======================================== */

/* Keep the label centred even when an arrow icon is present. */
.btn {
    position: relative;
    text-align: center;
    justify-content: center;
    min-height: 48px;
}

.btn:has(> svg) {
    padding-left: 44px;
    padding-right: 44px;
}

.btn > svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.btn:hover > svg {
    transform: translate(3px, -50%);
}

/* No duplicated pseudo checkmarks on nested translated text spans. */
.gp-benefit-list > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
}

.gp-benefit-list > span > .text-en,
.gp-benefit-list > span > .text-zh {
    flex: 1;
    min-width: 0;
}

/* ========================================
   23. V8 — TELEHEALTH SERVICE SECTION
   ======================================== */
.telehealth-section {
    padding: 88px 0;
    background: #ffffff;
}

.telehealth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(30px, 5vw, 75px);
    align-items: center;
}

.telehealth-copy h2 {
    margin: 0 0 21px;
    font-size: clamp(2rem, 3.25vw, 3.2rem);
}

.telehealth-copy .telehealth-lead {
    color: #536c7b;
    font-size: 1.09rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.telehealth-points {
    display: grid;
    gap: 15px;
    margin: 24px 0 30px;
}

.telehealth-point {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.telehealth-point .telehealth-tick {
    width: 29px;
    height: 29px;
    background: #fff0e5;
    color: #b75017;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 800;
}

.telehealth-point strong {
    display: block;
    font-size: 1.04rem;
    line-height: 1.4;
    color: var(--navy);
}

.telehealth-point p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 4px;
}

.telehealth-visual {
    min-height: 435px;
    padding: clamp(26px, 4vw, 49px);
    border-radius: 20px;
    background: linear-gradient(145deg, #e6f1f6, #cee4e9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.telehealth-visual:before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border: 64px solid rgba(244, 119, 53, 0.13);
    border-radius: 50%;
    right: -170px;
    top: -125px;
}

.telehealth-screen {
    position: relative;
    z-index: 1;
    background: var(--navy);
    border-radius: 16px;
    box-shadow: 0 20px 42px rgba(12, 45, 66, 0.18);
    padding: 34px;
    color: white;
}

.telehealth-screen svg {
    height: 48px;
    width: 48px;
    color: #ffb078;
    margin-bottom: 21px;
}

.telehealth-screen h3 {
    color: white;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    margin-bottom: 15px;
}

.telehealth-screen p {
    color: #d6e8f1;
    font-size: 0.96rem;
    line-height: 1.75;
}

.telehealth-visual-note {
    position: relative;
    z-index: 1;
    padding-top: 19px;
    color: #35556a;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ========================================
   24. V8 — ACTUAL ONLINE FORM SUBMISSION
   ======================================== */

.form-feedback[data-feedback-state="pending"],
.form-feedback[data-feedback-state="success"],
.form-feedback[data-feedback-state="error"],
.form-feedback[data-feedback-state="setup"] {
    display: block;
    padding: 13px 15px;
    border-radius: 7px;
    line-height: 1.55;
}

.form-feedback[data-feedback-state="pending"] {
    background: #eaf2f9;
    color: #1b4f79;
}

.form-feedback[data-feedback-state="success"] {
    background: #e9f6eb;
    color: #215c32;
}

.form-feedback[data-feedback-state="error"],
.form-feedback[data-feedback-state="setup"] {
    background: #fff0e8;
    color: #8d3b1a;
}

[data-form-feedback] [data-feedback-message="pending"],
[data-form-feedback] [data-feedback-message="setup"] {
    display: none;
}

[data-form-feedback][data-feedback-state="pending"] [data-feedback-message="pending"],
[data-form-feedback][data-feedback-state="setup"] [data-feedback-message="setup"] {
    display: inline;
}

[data-enquiry-form] button[type="submit"][disabled] {
    opacity: 0.72;
    cursor: wait;
}

/* The doctor's enquiry form is built into the WorkCover page. */
.gp-enquiry-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
}

.gp-online-form {
    background: white;
    padding: 28px;
    border: 1px solid #d4e4e9;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(10, 40, 70, 0.05);
}

.gp-online-form h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.gp-online-form .form-grid {
    gap: 14px;
}

.gp-online-form .form-wide {
    margin-top: 14px;
}

.gp-online-form .form-consent {
    margin: 15px 0;
}

.gp-online-form .form-consent span {
    font-size: 0.82rem;
    line-height: 1.55;
}

.gp-online-form button.btn {
    width: 100%;
}

@media (max-width: 950px) {
    .telehealth-layout {
        grid-template-columns: 1fr;
    }

    .gp-enquiry-panel {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 620px) {
    .telehealth-section {
        padding: 65px 0;
    }

    .telehealth-visual {
        min-height: 365px;
        padding: 18px;
    }

    .telehealth-screen {
        padding: 25px;
    }

    .gp-online-form {
        padding: 19px;
    }

    .btn:has(> svg) {
        padding-left: 37px;
        padding-right: 37px;
    }
}

/* In the homepage GP panel, link to the new telehealth service. */
.gp-telehealth-link {
    color: #ffffff;
    border-bottom: 2px solid #ffb078;
    font-size: 0.94rem;
    font-weight: 800;
    margin-top: 22px;
    padding-bottom: 5px;
    align-self: flex-start;
}

.gp-telehealth-link:hover {
    color: #ffb078;
}

/* ========================================
   26. V9 — ACCURATE BUTTON LABEL CENTRING
   ========================================
   A button's visible text occupies the centre of a 1-cell CSS grid.
   The optional arrow is absolutely positioned, outside the grid flow.
   English and Chinese use the same geometry, with no flex-shift.
======================================== */

.btn {
    display: inline-grid;
    place-items: center;
    position: relative;
    text-align: center;
    column-gap: 0;
    row-gap: 0;
    min-height: 48px;
}

.btn > .text-en,
.btn > .text-zh {
    grid-area: 1 / 1;
    text-align: center;
    justify-self: center;
    align-self: center;
}

.btn:has(> svg) {
    padding-left: 43px;
    padding-right: 43px;
}

.btn > svg {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.btn:hover > svg {
    transform: translate(3px, -50%);
}

/* Floating referral link: centre text independently of its left icon. */
.floating-contact {
    display: inline-grid;
    place-items: center;
    position: fixed;
    text-align: center;
    gap: 0;
    padding-left: 38px;
    padding-right: 38px;
}

.floating-contact > .text-en,
.floating-contact > .text-zh {
    grid-area: 1 / 1;
    text-align: center;
}

.floating-contact > svg {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ========================================
   27. V9 — CLICK-TO-CALL CONTACT INFORMATION
======================================== */

.utility-phone,
.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.footer-phone-link svg,
.mobile-phone-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: var(--orange);
}

.header-phone {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #d0e1e8;
    border-radius: 8px;
    color: var(--navy);
    flex-shrink: 0;
    transition: border-color .2s, background .2s;
}

.header-phone:hover {
    border-color: var(--orange);
    background: #fff2e9;
}

.header-phone svg {
    width: 19px;
    height: 19px;
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
}

.contact-phone-link {
    font-weight: 750;
    color: var(--navy);
    font-size: 1.12rem;
}

.contact-phone-link:hover,
.footer-phone-link:hover {
    color: var(--orange-dark);
}

.gp-call-button {
    min-width: 175px;
}

/* The full header is intentionally unchanged at smaller widths. */
@media (max-width: 1450px) {
    .header-phone {
        display: none;
    }
}

@media (max-width: 620px) {
    .btn:has(> svg) {
        padding-left: 36px;
        padding-right: 36px;
    }

    .floating-contact {
        padding-left: 27px;
        padding-right: 27px;
    }

    .floating-contact > svg {
        width: 13px;
        height: 13px;
        left: 8px;
    }

    .gp-call-button {
        min-width: 0;
    }
}


/* ========================================
   INLINE SVG ICONS — NAVIGATION AND SITE UI
   ========================================
   All icons are embedded in the HTML to work even when the site is
   previewed from a local file (file://), without a development server.
======================================== */

.mega-links .mini-icon {
    width: 42px;
    height: 42px;
    background: #edf4f7;
    color: #e65f1d;
    border: 1px solid #dfebef;
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-links .mini-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    flex-shrink: 0;
}

.mega-links a:hover .mini-icon,
.mega-links a:focus-visible .mini-icon {
    background: #fff0e6;
    color: #cf4e16;
}

/* ========================================
   REFERRALS PAGE — TWO COLUMN ENQUIRY
   Desktop: referral information on the left,
            online form visible at the top-right.
   Mobile:  information first, form below.
======================================== */

.referral-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 48px;
    align-items: start;
}

.referral-info,
.referral-form {
    min-width: 0;
}

.referral-form {
    align-self: start;
}

.referral-info .fine-print {
    margin-bottom: 0;
}

@media (max-width: 950px) {
    .referral-layout {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 36px;
    }
}

@media (max-width: 620px) {
    .referral-layout {
        row-gap: 26px;
    }
}

/* Avoid covering fields with a second referral CTA on the referral page. */
.referrals-page .floating-contact {
    display: none;
}

/* ========================================
   V12 — DNA REHAB BRAND WORD SPACING
======================================== */
.brand-text strong {
    letter-spacing: -0.045em;
}


/* ========================================
   V13 — BILINGUAL BUTTON LABEL ALIGNMENT
   ========================================
   The English and Chinese labels live inside one .btn-label wrapper.
   The label stays on the geometric centre of the button; the arrow
   sits independently at the right edge and does not shift the words.
   Edit the text-en / text-zh spans in each HTML file as before.
======================================== */

.btn > .btn-label {
    grid-area: 1 / 1;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    text-align: center;
    justify-self: center;
    align-self: center;
    pointer-events: none;
}

.btn-label > .text-en,
.btn-label > .text-zh {
    grid-area: 1 / 1;
    text-align: center;
    justify-self: center;
    align-self: center;
}

/* Both sides have equal spacing to keep the text centred.
   Right-hand arrow is positioned independently (existing .btn > svg). */
.hero-actions .btn {
    min-width: 188px;
}

@media (max-width: 620px) {
    .hero-actions .btn {
        min-width: 0;
    }
}

/* ========================================
   V14 — SEARCH-FOCUSED PAGE COMPONENTS
   These classes are shared by the two doctor topic pages.
   The existing V13 UI and bilingual display rules are retained.
======================================== */

.hero-slide .hero-heading {
    color: #fff;
    font-size: clamp(3rem, 5.3vw, 5.25rem);
    line-height: 1.12;
    font-weight: 800;
}

.hero-slide .hero-heading em {
    font-style: normal;
    color: #ffb077;
}

.seo-service-hero .container {
    padding-top: 85px;
    padding-bottom: 96px;
}

.seo-service-hero h1 {
    max-width: 900px;
    margin: 0 0 24px;
}

.seo-service-hero .breadcrumbs {
    margin-bottom: 30px;
}

.seo-service-hero .breadcrumbs a {
    color: #fcb17c;
    font-weight: 800;
}

.seo-hero-lead {
    max-width: 760px;
}

.seo-hero-lead p {
    color: #e6f0f5;
    font-size: 1.13rem;
    line-height: 1.75;
}

.seo-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.seo-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(30px, 5vw, 78px);
    align-items: start;
}

.seo-split h2 {
    margin: 0 0 22px;
}

.seo-split p {
    margin: 0 0 22px;
    font-size: 1.04rem;
}

.seo-quick-answer {
    border: 1px solid #d6e4ea;
    border-top: 4px solid var(--orange);
    border-radius: 12px;
    background: #fff;
    padding: clamp(24px, 3vw, 40px);
    box-shadow: 0 18px 48px rgba(15, 43, 64, .07);
}

.seo-quick-answer h3 {
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    margin-bottom: 16px;
}

.seo-quick-answer .link-arrow {
    display: flex;
    margin-top: 18px;
}

.seo-topic-grid,
.seo-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 36px;
}

.seo-topic-card,
.seo-step,
.seo-pathway-card {
    border: 1px solid #d9e6ed;
    border-radius: 12px;
    background: white;
    padding: clamp(24px, 2.8vw, 35px);
    min-width: 0;
}

.seo-topic-card h3,
.seo-step h3,
.seo-pathway-card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.seo-topic-card p,
.seo-step p,
.seo-pathway-card p {
    margin-bottom: 18px;
    font-size: 1.02rem;
    line-height: 1.75;
}

.seo-topic-card .link-arrow,
.seo-pathway-card .link-arrow {
    margin-top: auto;
}

.seo-step-number {
    color: var(--orange-dark);
    display: block;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 19px;
}

.seo-faq-item {
    background: #fff;
    border: 1px solid #d6e4eb;
    border-radius: 9px;
    margin-bottom: 12px;
}

.seo-faq-item summary {
    padding: 20px 22px;
    cursor: pointer;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.5;
}

.seo-faq-item[open] summary {
    border-bottom: 1px solid #e4ebee;
}

.seo-faq-item p {
    padding: 18px 22px;
    margin-bottom: 0;
}

.seo-pathway-section h2 {
    margin-bottom: 18px;
}

.seo-pathway-section > .container > p:not(.overline) {
    max-width: 850px;
}

.seo-pathway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.seo-pathway-card {
    display: block;
    transition: transform .22s, box-shadow .22s;
}

.seo-pathway-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 43, 64, .1);
}

.seo-pathway-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #fff1e7;
    border-radius: 50%;
    color: var(--orange-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.seo-related-section .btn {
    width: fit-content;
}

.seo-quick-answer > .link-arrow {
    margin-bottom: 12px;
}

@media (max-width: 950px) {
    .seo-split {
        grid-template-columns: 1fr;
    }

    .seo-topic-grid,
    .seo-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .seo-topic-grid,
    .seo-process-grid,
    .seo-pathway-grid {
        grid-template-columns: 1fr;
    }

    .seo-hero-actions .btn {
        width: 100%;
    }

    .hero-slide .hero-heading {
        font-size: clamp(2.65rem, 11vw, 4.2rem);
    }

    .seo-service-hero .container {
        padding-top: 64px;
        padding-bottom: 70px;
    }

    .seo-pathway-card {
        padding: 24px;
    }
}
