/*
Theme Name: Muri Health
Theme URI: https://murihealth.com.au
Author: Muri Health
Author URI: https://murihealth.com.au
Description: Custom WordPress theme for Muri Health, a respiratory & sleep specialist centre. Includes Services, Conditions, Tests and FAQ custom post types with dynamic AJAX booking, referral and enquiry forms.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: muri-health
*/

:root {
    --navy: #123a5c;
    --navy-2: #0d2c47;
    --teal: #2b7f95;
    --teal-2: #3a9db5;
    --gold: #cda24e;
    --orange: #e0b256;
    --orange-d: #c99a38;
    --ink: #213547;
    --muted: #5c7284;
    --bg: #f5f9fb;
    --line: #e1e9ef;
    --white: #ffffff;
    --shadow: 0 6px 24px rgba(18, 58, 92, .08);
    --shadow-lg: 0 14px 40px rgba(18, 58, 92, .14);
    --radius: 14px;
}

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

.mq-mobile {
    display: none;
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Lato', system-ui, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -.01em
}

h2 {
    font-size: 2rem;
    margin-bottom: .6rem
}

h3 {
    font-size: 1.25rem
}

p {
    color: var(--muted)
}

a {
    color: var(--teal);
    text-decoration: none
}

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

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px
}

.eyebrow {
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    margin-bottom: .5rem
}

.section {
    padding: 78px 0
}

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

.section.pb-0 {
    padding-top: 0
}

.center {
    text-align: center
}

.lead {
    font-size: 1.12rem;
    max-width: 720px
}

.center .lead {
    margin-left: auto;
    margin-right: auto
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Lato';
    font-weight: 700;
    font-size: .95rem;
    padding: 13px 26px;
    border-radius: 40px;
    border: 0;
    cursor: pointer;
    transition: .2s
}

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

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

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

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

.btn-teal:hover {
    background: var(--navy)
}

.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--line)
}

.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal)
}

.btn-ghost.alt {
    color: var(--line);
}

.btn-ghost.alt:hover {
    background: var(--line);
    color: var(--teal)
}

/* Header */
.site-header {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    border-bottom: 1px solid var(--line);
    z-index: 50;
}

.site-header.sticky {
    position: fixed;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

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

.custom-logo {
    max-width: 250px;
    height: auto;
}

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

.brand svg {
    width: 44px;
    height: 44px
}

.brand .name {
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1
}

.brand .name .h {
    color: var(--teal)
}

.brand .tag {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-top: 3px
}

.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px
}

.burger span {
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 3px
}


.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.9375rem;
    color: var(--c-text-body);
}

.nav__list a:hover {
    color: var(--c-white);
}

.nav__item {
    position: relative;
}

/* Dropdown */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 345px;
    background: var(--c-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 42, 102, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 100;
}

.nav__link {
    font-weight: 700;
    color: var(--navy);
    font-size: .92rem;
    padding: 9px 11px;
    border-radius: 8px;
    cursor: pointer;
    transition: .15s;
    white-space: nowrap
}

.nav__item-current > .nav__link,
.nav__link:hover {
    background: var(--bg);
    color: var(--teal)
}

.nav__cta-desktop {
    margin-left: 6px
}

.nav__cta-desktop {
    background: var(--orange);
    color: var(--navy)
}

.nav__cta-desktop:hover {
    background: var(--orange-d);
    color: var(--navy)
}

.nav__chevron {
    line-height: 16px;
    margin-top: 5px;
}

.nav__item-current .nav__chevron svg {
    border-color: var(--c-gold);
    transform: rotate(0deg);
    transition: transform var(--transition-fast);
}

.nav__dropdown-inner {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav__dropdown a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 10px;
    gap: 12px;
    font-size: 16px;
    color: var(--navy-2);
    transition: all 0.45s ease-in-out;
    border-radius: 8px;
}

.nav__dropdown a > .nav__sub-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 6px;
    border: 1px solid transparent;
    background: linear-gradient(#040F24, #040F24);
    color: var(--navy-2);
}

.nav__dropdown a.nav__sub-item-current > .nav__sub-item-icon,
.nav__dropdown a:hover > .nav__sub-item-icon {
    background: rgb(213, 177, 58);
}

.nav__dropdown a.nav__sub-item-current,
.nav__dropdown a:hover {
    background: rgba(213, 177, 58, 0.2);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    color: var(--navy-2);
    font-size: 1.5rem;
}

/* -------------------------------------------------------------------------
   Header nav — animated hamburger + slide-in mobile drawer
   ------------------------------------------------------------------------- */
.nav__drawer {
    width: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__cta-desktop {
    display: inline-flex;
}

.nav__drawer-cta {
    display: none;
}

/* Hamburger button */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 0;
    z-index: 60;
}

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-2);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
}

/* Hamburger → X animation */
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Right Arrow */
.nav__toggle[aria-expanded="true"].is-arrow {
    gap: 0;
}

.nav__toggle[aria-expanded="true"].is-arrow .nav__toggle-bar:nth-child(1) {
    transform: translateY(3px) translateX(4px) rotate(45deg);
    width: 14px;
    transform-origin: right center;
    background: var(--orange);
}

.nav__toggle[aria-expanded="true"].is-arrow .nav__toggle-bar:nth-child(2) {
    width: 22px;
    opacity: 1;
    background: var(--orange);
}

.nav__toggle[aria-expanded="true"].is-arrow .nav__toggle-bar:nth-child(3) {
    transform: translateY(-3px) translateX(4px) rotate(-45deg);
    width: 14px;
    transform-origin: right center;
    background: var(--orange);
}

/* Backdrop overlay */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 6, 18, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 45;
}

.nav__overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Hero */
.hero {
    background: linear-gradient(160deg, #0d2c47 0%, #123a5c 45%, #1f5f77 100%);
    color: #fff;
    position: relative;
    overflow: hidden
}

.hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(58, 157, 181, .5), transparent 62%)
}

.hero .wrap {
    position: relative;
    z-index: 2;
    padding: 96px 24px
}

.hero h1 {
    color: #fff;
    font-size: 3.15rem;
    max-width: 760px
}

.hero .accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 400
}

.hero p {
    color: #cfe1ea;
    font-size: 1.18rem;
    max-width: 600px;
    margin: 20px 0 30px
}

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

.btns.center {
    justify-content: center;
}

.hero.compact .wrap {
    padding: 70px 24px
}

.hero.compact h1 {
    font-size: 2.5rem
}

.badge-row {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 44px;
    color: #bcd4de;
    font-weight: 700;
    font-size: .92rem
}

.badge-row span {
    display: flex;
    align-items: center;
    gap: 8px
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold)
}

.crumb {
    color: #bcd4de;
    font-size: .85rem;
    margin-bottom: 14px
}

.crumb a {
    color: #bcd4de;
    text-decoration: underline
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 24px
}

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

.g3 {
    grid-template-columns: repeat(3, 1fr)
}

.g4 {
    grid-template-columns: repeat(4, 1fr)
}

.g5 {
    grid-template-columns: repeat(5, 1fr)
}

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

.pad {
    padding: 26px
}

.card .thumb {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}

.icon-chip {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px
}

.icon-chip svg {
    width: 26px;
    height: 26px;
    stroke: var(--teal)
}

.feature h3 {
    margin-bottom: 6px;
    font-size: 1.08rem
}

.feature p {
    font-size: .95rem
}

.num-chip {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    margin-bottom: 14px
}

/* Value tiles */
.value-tile {
    border-left: 3px solid var(--gold);
    padding: 25px 18px 25px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.value-tile h3 {
    font-size: 1.05rem;
    margin-bottom: 4px
}

.value-tile p {
    font-size: .92rem
}

/* Service / condition cards */
.svc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .2s
}

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

.svc .thumb {
    height: auto;
    background: linear-gradient(90deg, var(--teal), var(--gold))
}

.svc .body {
    padding: 22px
}

.svc h3 {
    font-size: 1.06rem;
    margin-bottom: 6px
}

.svc p {
    font-size: .92rem
}

.svc .chip {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px
}

.cond {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    transition: .2s
}

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

.cond h3 {
    font-size: 1.02rem;
    margin-bottom: 6px
}

.cond p {
    font-size: .88rem
}

/* Doctors / specialist */
.doc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center
}

.doc .ph {
    height: 230px;
    background: linear-gradient(160deg, #e8f1f5, #d3e5ec);
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.doc .ph svg {
    width: 140px;
    height: 180px
}

.doc .body {
    padding: 24px
}

.doc h3 {
    font-size: 1.2rem;
    margin-bottom: 2px
}

.doc .role {
    color: var(--teal);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 12px
}

.doc p {
    font-size: .92rem;
    text-align: left
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    justify-content: center
}

.tags span {
    background: var(--bg);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px
}

.specialist-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start
}

.specialist-photo {
    background: linear-gradient(160deg, #e8f1f5, #d3e5ec);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1.45;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: var(--shadow);
    overflow: hidden
}

.specialist-photo svg {
    width: 220px;
    height: 290px
}

.credentials {
    list-style: none;
    margin-top: 18px;
    padding: 18px;
    background: var(--bg);
    border-radius: 12px
}

.credentials li {
    font-size: .88rem;
    color: var(--navy);
    font-weight: 700;
    padding: 6px 0;
    border-bottom: 1px solid var(--line)
}

.credentials li:last-child {
    border-bottom: 0
}

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

.expertise-list span {
    background: var(--bg);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 20px
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    max-width: 720px;
    margin: 0 auto
}

.tc-viewport {
    overflow: hidden;
    border-radius: var(--radius)
}

.tc-track {
    display: flex;
    transition: transform .45s ease
}

.tc-slide {
    flex: 0 0 100%;
    padding: 4px 4px 4px
}

.tc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(18, 58, 92, .08);
    padding: 36px 40px;
    text-align: center
}

.tc-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 16px
}

.tc-quote {
    font-size: 1.08rem;
    color: var(--ink);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px
}

.tc-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.tc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto
}

.tc-name {
    font-weight: 800;
    color: var(--navy);
    font-size: .95rem;
    text-align: left
}

.tc-role {
    font-size: .8rem;
    color: var(--teal);
    font-weight: 700;
    text-align: left
}

.tc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s
}

.tc-arrow:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal)
}

.tc-prev {
    left: -52px
}

.tc-next {
    right: -52px
}

.tc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px
}

.tc-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: var(--line);
    cursor: pointer;
    padding: 0;
    transition: .2s
}

.tc-dots button.active {
    background: var(--teal);
    width: 22px;
    border-radius: 6px
}



/* Accordion (Tests / FAQ) */
.accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    background: #fff
}

.acc-item + .acc-item {
    border-top: 1px solid var(--line)
}

.acc-head {
    width: 100%;
    background: #fff;
    border: 0;
    text-align: left;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: 'Lato';
    gap: 16px
}

.acc-head h3 {
    font-size: 1.02rem;
    margin: 0
}

.acc-head .identifier {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    transition: .2s
}

.acc-head .identifier::after {
    content: '\2b';
    font-family: 'FontAwesome';
}

.acc-item.open .acc-head .identifier {
    background: var(--teal);
    color: #fff;
}

.acc-item.open .acc-head .identifier::after {
    content: '\f068';
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease
}

.acc-item.open .acc-body {
    max-height: 600px
}

.acc-inner {
    padding: 0 24px 22px
}

.acc-inner dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 18px
}

.acc-inner dt {
    font-weight: 700;
    color: var(--navy);
    font-size: .86rem
}

.acc-inner dd {
    font-size: .92rem;
    color: var(--muted)
}

@media(max-width:640px) {
    .acc-inner dl {
        grid-template-columns: 1fr
    }

    .acc-inner dt {
        margin-top: 8px
    }
}

/* Filter pills (conditions/tests) */
.pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.pill {
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: .84rem;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: .15s
}

.pill:hover {
    border-color: var(--teal);
    color: var(--teal)
}

.pill.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff
}

/* Forms */
.formwrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px
}

.fs {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 22px
}

.fs legend {
    font-weight: 900;
    color: var(--navy);
    padding: 0 10px;
    font-size: 1.02rem
}

.field {
    margin-bottom: 16px
}

label {
    display: block;
    font-weight: 700;
    font-size: .86rem;
    color: var(--navy);
    margin-bottom: 6px
}

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=time],
select,
textarea {
    width: 100%;
    font-family: 'Lato';
    font-size: .95rem;
    padding: 11px 13px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    background: #fdfefe;
    color: var(--ink)
}

input[type=text]:disabled {
    background-color: #f5f5f5;
    color: var(--navy);
    cursor: not-allowed;
    opacity: 0.7;
    max-width: 320px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(43, 127, 149, .12)
}

textarea {
    resize: vertical;
    min-height: 90px
}

.row {
    display: grid;
    gap: 16px
}

.row.c2 {
    grid-template-columns: 1fr 1fr
}

.row.c3 {
    grid-template-columns: 1fr 1fr 1fr
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
    color: var(--ink);
    font-size: .9rem;
    margin-bottom: 9px;
    cursor: pointer
}

.check input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--teal)
}

.check span {
    display: inline-block;
    width: calc(100% - 25px);
}

.checkgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 22px
}

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

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

.note-banner {
    background: #eef6f8;
    border-left: 4px solid var(--teal);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: 24px
}

.note-banner.alt {
    background: #f0e3c9;
    border-color: var(--orange-d);
    color: var(--navy-2);
}

/* Contact info */
.info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px
}

.info-item .ic {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--navy);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center
}

.info-item .ic svg {
    width: 20px;
    height: 20px;
    stroke: #fff
}

.info-item h4 {
    font-size: .95rem;
    margin-bottom: 2px
}

.info-item p,
.info-item a {
    font-size: .95rem;
    color: var(--muted)
}

.map-ph {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    height: 100%;
    min-height: 320px;
    background:
        repeating-linear-gradient(45deg, #eef4f7, #eef4f7 14px, #e7eff3 14px, #e7eff3 28px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    font-weight: 700
}

.travel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px
}

.travel .card {
    padding: 20px
}

.travel h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .98rem;
    margin-bottom: 6px
}

.travel p {
    font-size: .9rem
}

/* CTA band */
.cta-band {
    background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 48px;
    text-align: center
}

.cta-band h2 {
    color: #fff
}

.cta-band p {
    color: #d6e8ef;
    max-width: 560px;
    margin: 8px auto 22px
}

/* Footer */
footer {
    background: var(--navy-2);
    color: #c8d9e2;
    padding: 56px 0 26px;
    margin-top: 0
}

.foot {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 40px
}

footer h4 {
    color: #fff;
    font-size: .95rem;
    margin-bottom: 14px;
    letter-spacing: .04em
}

footer a {
    color: #c8d9e2;
    font-size: .92rem;
    display: block;
    margin-bottom: 8px;
    cursor: pointer
}

footer a:hover {
    color: var(--gold)
}

.foot .footer-logo {
    max-width: 250px;
    height: auto;
}

.foot .brand .name {
    color: #fff;
    font-size: 1.25rem
}

.foot .brand .name .h {
    color: var(--teal-2)
}

.foot p {
    color: #9fb6c3;
    font-size: .9rem;
    margin-top: 12px
}

.foot-contact p,
.foot-contact a {
    margin: 0 0 8px;
    color: #c8d9e2;
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.foot-contact p svg,
.foot-contact a svg {
    width: 15px;
    height: 15px;
    stroke: #9fb6c3;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 38px;
    padding-top: 20px;
    text-align: center;
    color: #8aa3b1;
    font-size: .84rem
}

footer .copyright a {
    display: inline-block;
    color: #8aa3b1;
    font-size: .84rem;
    margin: 0;
}

.disclaimer {
    background: #fff6ee;
    border: 1px dashed var(--orange);
    color: #a85a1e;
    font-size: .82rem;
    padding: 10px 16px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.disclaimer .social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.disclaimer .social a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #a85a1e;
}

.disclaimer .social a svg {
    width: 15px;
    height: 15px;
    stroke: #a85a1e;
}

#menu-footer-menu {
    list-style: none;
}

@media(max-width:1000px) {
    .menu a {
        font-size: .8rem;
        padding: 8px
    }
}

@media(max-width:900px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr)
    }

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

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

    .foot {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .hero h1 {
        font-size: 2.3rem
    }

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

    .tc-arrow {
        display: none
    }

    .tc-card {
        padding: 28px 22px
    }

}

@media(max-width:760px) {
    .mq-desktop {
        display: none !important;
    }

    .mq-mobile {
        display: block;
    }

    .disclaimer {
        flex-direction: column;
        gap: 5px;
    }

    .custom-logo {
        max-width: 220px;
        height: auto;
    }

    .burger {
        display: flex
    }

    .nav__cta-desktop {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__drawer-logo {
        position: fixed;
        top: 8px;
        left: 24px;
        z-index: 51;
    }

    .nav__drawer,
    .nav__dropdown {
        position: fixed;
        top: 68.33px;
        right: 0;
        height: 100vh;
        /*        width: min(85vw, 360px);*/
        width: 100vw;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 110px 28px 32px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 50;
    }

    .site-header.sticky .nav__drawer,
    .site-header.sticky .nav__dropdown {
        top: 0;
    }

    .nav__dropdown {
        opacity: 1;
        visibility: visible;
    }

    .nav.is-open .nav__drawer,
    .nav__dropdown.is-open {
        transform: translateX(0);
    }

    .nav__chevron {
        line-height: 0;
        margin-top: 0;
        padding: 2px;
        background-color: rgba(255, 255, 255, 0.14);
        border-radius: 4px;
    }

    .nav__chevron svg {
        transform: rotate(-90deg) !important;
    }

    .nav__dropdown-inner {
        padding: 0;
        gap;
        15px;
        margin-left: -6px;
    }

    .nav__dropdown a {
        color: var(--navy-2);
        padding: 0;
    }

    .nav__dropdown a.nav__sub-item-current,
    .nav__dropdown a:hover {
        background: transparent;
        color: rgb(213, 177, 58);
    }

    .nav__dropdown a.nav__sub-item-current > .nav__sub-item-icon,
    .nav__dropdown a:hover > .nav__sub-item-icon {
        color: rgb(213, 177, 58);
        background: transparent;
    }

    .nav__dropdown a.nav__sub-item-current > .nav__sub-item-icon img,
    .nav__dropdown a:hover > .nav__sub-item-icon img {
        filter: brightness(0) saturate(100%) invert(67%) sepia(56%) saturate(614%) hue-rotate(354deg) brightness(97%) contrast(93%);
    }

    .nav__link.nav__link--has-dropdown {
        width: 100%;
        justify-content: space-between;
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav__list > li {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .nav__list > li > a {
        display: block;
        padding: 16px 4px;
        font-size: 1.0625rem;
        color: var(--navy-2);
    }

    .nav__link {
        width: 100%;
    }

    .nav__item {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: space-between;
        width: 100%;
    }

    /* Two-level items: chevron toggle injected by JS, submenu as accordion */
    .nav__list .menu-item-has-children > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav__submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        color: var(--navy-2);
        flex: none;
    }

    .nav__submenu-toggle::before {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.3s var(--ease);
    }

    .menu-item-has-children.is-expanded > .nav__submenu-toggle::before {
        transform: rotate(-135deg);
    }

    .nav__list .sub-menu {
        max-height: 0;
        overflow: hidden;
        padding-left: 12px;
        transition: max-height 0.35s var(--ease);
    }

    .menu-item-has-children.is-expanded > .sub-menu {
        max-height: 480px;
        /* generous cap; real height is content-driven */
    }

    .nav__list .sub-menu > li > a {
        display: block;
        padding: 12px 4px;
        font-size: 0.9375rem;
        color: var(--muted);
    }

    .nav__drawer-cta {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    body.nav-lock {
        overflow: hidden;
    }

    .nav.is-open .nav__list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .nav__drawer-cta {
        background: var(--orange);
        color: #fff
    }

    .nav__drawer-cta:hover {
        background: #d16a20;
        color: #fff
    }

    .g2,
    .g3,
    .g4,
    .g5,
    .row.c2,
    .row.c3,
    .travel,
    .checkgrid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 52px 0
    }

    .hero .wrap {
        padding: 64px 24px
    }

    .cta-band {
        padding: 34px 22px
    }

    .acc-inner dl {
        grid-template-columns: 1fr
    }

    .formwrap {
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .fs {
        padding: 15px 0 0;
        border: 0;
        border-top: 1px solid;
        margin-bottom: 15px;
        border-radius: 0;
    }

    .fs legend {
        padding-left: 0
    }

    .foot .footer-logo {
        max-width: 220px;
    }
}

@media (max-width: 340px) {
    .disclaimer {
        font-size: 10px;
    }

    .disclaimer .social a {
        font-size: 12px;
    }
}

/* -------- WordPress core / accessibility -------- */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0
}

.alignright {
    float: right;
    margin: 0 0 20px 20px
}

.aligncenter {
    display: block;
    margin: 0 auto 20px
}

img.wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.admin-bar header {
    top: 32px
}

@media(max-width:782px) {
    .admin-bar header {
        top: 46px
    }
}

/* -------- Field errors / form status -------- */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #c0392b
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 700;
    display: none
}

.form-status.show {
    display: block
}

.form-status.ok {
    background: #eaf7ee;
    color: #1e7a3a;
    border: 1px solid #bfe6cb
}

.form-status.err {
    background: #fdecea;
    color: #a3312a;
    border: 1px solid #f3c6c2
}

.btn[disabled] {
    opacity: .6;
    cursor: not-allowed
}
