/* ==========================================================================
   MNSO Medical - stylesheet
   Palette taken from the logo: slate teal + brass gold, with a deep navy.
   ========================================================================== */

:root {
    --navy: #14233b;
    --navy-2: #1b2f4d;
    --teal: #749ba3;
    --teal-d: #4f7681;
    --teal-dd: #3f6470;
    --tint: #eef3f5;
    --tint-2: #f6f9fa;
    --gold: #b4963b;
    --gold-d: #8f7226;
    --ink: #1e2b3a;
    --muted: #51606b;
    --line: #d9e3e7;
    --danger: #b3261e;
    --radius: 6px;
    --wrap: 1180px;
    --head: "Jost", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --body: "Mulish", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font: 400 1.0625rem/1.65 var(--body);
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dd); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

h1, h2, h3, h4 {
    font-family: var(--head);
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 .5em;
    letter-spacing: -.005em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.i {
    width: 1.25em; height: 1.25em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 2;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 4px; border: 2px solid transparent;
    font: 600 .97rem/1.2 var(--head); text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn .i { width: 18px; height: 18px; }
.btn--teal { background: var(--teal-d); color: #fff; }
.btn--teal:hover { background: var(--teal-dd); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #c4a64b; color: var(--navy); }
.btn--ghost { background: #fff; border-color: var(--gold); color: var(--teal-dd); }
.btn--ghost:hover { background: var(--tint); color: var(--navy); }
.btn--light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---- Header / navigation ------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #fff; border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; min-height: 84px;
}
.brand img { height: 54px; width: auto; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 12px; border: 0; border-radius: 4px; background: none;
    font: 600 .97rem/1.2 var(--head); color: var(--navy);
    text-decoration: none; cursor: pointer;
}
.nav__link:hover { color: var(--teal-dd); }
.nav__link .i { width: 16px; height: 16px; transition: transform .15s; }
.nav__item.is-current > .nav__link { color: var(--teal-dd); box-shadow: inset 0 -2px 0 var(--gold); }

.has-sub { position: relative; }
.sub {
    display: none; position: absolute; top: 100%; left: 0; min-width: 250px; z-index: 5;
    margin: 0; padding: 8px; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 14px 30px -12px rgba(20, 35, 59, .28);
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
.has-sub.is-open > .sub-toggle .i, .has-sub:hover > .sub-toggle .i { transform: rotate(180deg); }
.sub a {
    display: block; padding: 10px 12px; border-radius: 4px;
    font: 600 .95rem var(--head); color: var(--navy); text-decoration: none;
}
.sub a:hover, .sub a[aria-current] { background: var(--tint); color: var(--teal-dd); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--line);
    border-radius: 4px; background: #fff; cursor: pointer; position: relative;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; position: absolute; left: 12px; right: 12px; height: 2px;
    background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { left: 0; right: 0; top: -7px; }
.nav-toggle__bars::after { left: 0; right: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
    .site-header__inner { min-height: 72px; }
    .brand img { height: 46px; }
    .nav-toggle { display: block; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px 24px 24px; background: #fff;
        border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px -18px rgba(20, 35, 59, .35);
        max-height: calc(100vh - 72px); overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__item.is-current > .nav__link { box-shadow: none; }
    .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
    .has-sub.is-open > .sub, .has-sub.is-open:hover > .sub { display: block; }
    .sub { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
    .nav__cta { justify-content: center; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: linear-gradient(120deg, var(--tint) 0%, #dce8ec 100%);
}
.hero::before {                               /* logo mark shows if the photo is missing */
    content: ""; position: absolute; z-index: -3; inset: 0;
    background: url(/assets/img/mark.png) right 8% center / auto 70% no-repeat; opacity: .12;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, 0) 74%);
}
.hero__inner { max-width: 640px; padding-block: clamp(56px, 9vw, 120px); }
.hero h1 { margin-bottom: .4em; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 760px) {
    .hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .9) 100%); }
}

.eyebrow {
    margin: 0 0 12px; font: 700 .875rem/1.3 var(--body);
    letter-spacing: .02em; color: var(--teal-dd);
}

/* ---- Trust strip -------------------------------------------------------- */
.trust { background: var(--tint-2); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.trust__list li {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 26px 16px; font: 600 1.02rem var(--head); color: var(--navy);
}
.trust__list li + li { border-left: 1px solid var(--line); }
.trust .i { width: 34px; height: 34px; color: var(--teal-d); stroke-width: 1.5; }
@media (max-width: 760px) {
    .trust__list { grid-template-columns: 1fr; }
    .trust__list li { justify-content: flex-start; padding: 16px 4px; }
    .trust__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Sections ----------------------------------------------------------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: var(--tint); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section__title { margin-bottom: 1em; }
.section__title--center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* ---- Media placeholders (branded fallback when a photo is missing) ------ */
.media {
    position: relative; overflow: hidden; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--teal-d), var(--navy));
    aspect-ratio: 3 / 2;
}
.media::before {
    content: ""; position: absolute; inset: 0;
    background: url(/assets/img/mark.png) center / auto 46% no-repeat; opacity: .22;
}
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* ---- Cards -------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card .media { border-radius: 0; aspect-ratio: 16 / 10; }
.card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 20px 22px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.link-arrow {
    margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px;
    font: 600 .95rem var(--head); color: var(--teal-dd); text-decoration: none;
}
.link-arrow .i { width: 16px; height: 16px; transition: transform .15s; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--teal); }
.card:hover .link-arrow .i { transform: translateX(4px); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---- Why choose --------------------------------------------------------- */
.why { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 0; align-items: start; }
.why__intro { padding-right: 32px; }
.why__item { padding: 4px 24px; border-left: 1px solid #cdd9de; }
.why__item .i { width: 36px; height: 36px; color: var(--teal-d); stroke-width: 1.5; margin-bottom: 14px; }
.why__item h3 { font-size: 1.1rem; margin-bottom: .35em; }
.why__item p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 980px) {
    .why { grid-template-columns: 1fr; gap: 28px; }
    .why__intro { padding-right: 0; }
    .why__item { border-left: 0; border-top: 1px solid #cdd9de; padding: 24px 0 0; }
}

/* ---- Split (image + text) ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse .media { order: 2; }
.split h2 { margin-bottom: .5em; }
.split p { color: var(--muted); }
.split .btn { margin-top: 8px; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .media { order: 0; }
}

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .i { margin-top: .22em; width: 1.1em; height: 1.1em; color: var(--teal-d); stroke-width: 2.5; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.chips li {
    padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    font: 600 .9rem var(--head); color: var(--navy);
}
.subhead { margin: 28px 0 0; font: 600 1rem var(--head); color: var(--navy); }

/* ---- Sector tiles ------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile .media { border-radius: 0; aspect-ratio: 4 / 3; }
.tile__body { padding: 14px 16px 16px; }
.tile h3 { font-size: 1.05rem; margin: 0 0 4px; }
.tile:hover { border-color: var(--teal); }
@media (max-width: 1040px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ---- Inner page hero & breadcrumbs -------------------------------------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--tint); border-bottom: 1px solid var(--line);
    padding-block: clamp(36px, 6vw, 72px);
}
.page-hero::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: url(/assets/img/mark.png) right 6% center / auto 130% no-repeat; opacity: .09;
}
.page-hero h1 { margin-bottom: .35em; max-width: 20ch; }
.page-hero .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8aa0a8; }
.crumbs a { color: var(--teal-dd); }

/* ---- Service page blocks ------------------------------------------------ */
.service-block + .service-block { margin-top: clamp(48px, 7vw, 88px); }
.service-block h2 { margin-bottom: .45em; }
.service-block p { color: var(--muted); }
.service-block .includes { font: 600 1rem var(--head); color: var(--navy); margin: 22px 0 0; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--teal); }
.steps li::before {
    content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px;
    border-radius: 50%; background: var(--teal-d); color: #fff; font: 600 1rem var(--head);
}
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.related li { position: relative; }
.related a {
    display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--muted);
}
.related a:hover { border-color: var(--teal); }
.related strong { font: 600 1.1rem var(--head); color: var(--navy); }
.related__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem var(--head); color: var(--teal-dd); }
.related__go .i { width: 16px; height: 16px; }
@media (max-width: 1040px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 4px; cursor: pointer; list-style: none;
    font: 600 1.08rem var(--head); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 20px; height: 20px; color: var(--teal-d); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; padding: 0 4px; color: var(--muted); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-d); color: #fff; }
.cta-band::before {
    content: ""; position: absolute; z-index: -1; inset: 0;
    background: url(/assets/img/mark.png) right 4% center / auto 150% no-repeat; opacity: .12; filter: brightness(3);
}
.cta-band__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding-block: clamp(36px, 5vw, 56px);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin-bottom: 14px; }
.cta-band p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .94); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c9d6dc; padding-top: clamp(40px, 6vw, 64px); font-size: .97rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.site-footer__brand img { height: 60px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 34ch; }
.site-footer h2 { font: 600 1.05rem var(--head); color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; }
.site-footer address li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer address .i { margin-top: .2em; width: 1.05em; height: 1.05em; color: var(--teal); }
.site-footer__emergency { margin: 16px 0 0; }
.social { display: flex !important; gap: 10px !important; }
.social a {
    display: grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
}
.social a:hover { border-color: var(--gold); }
.social .i { width: 18px; height: 18px; }
.site-footer__legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
    padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem;
}
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---- Contact page & form ------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .i { margin-top: .15em; color: var(--teal-d); width: 1.4em; height: 1.4em; }
.info-list strong { display: block; font: 600 1rem var(--head); color: var(--navy); }
.info-list span, .info-list a { color: var(--muted); }
.info-list a { color: var(--teal-dd); }

.alert {
    display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius);
    background: #fff7e3; border: 1px solid #e6d398; border-left: 5px solid var(--gold);
}
.alert .i { margin-top: .15em; width: 1.5em; height: 1.5em; color: var(--gold-d); }
.alert p { margin: 0; color: var(--ink); }
.alert strong { font-family: var(--head); color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: 0 18px 40px -28px rgba(20, 35, 59, .35); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; margin-bottom: 6px; font: 600 .95rem var(--head); color: var(--navy); }
.field .req { color: var(--danger); }
.field .hint { font-weight: 400; color: var(--muted); font-family: var(--body); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
    background: #fff; border: 1.5px solid #8fa6ae; border-radius: 4px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(180, 150, 59, .5); border-color: var(--teal-d); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 5px 0 0; color: var(--danger); font-size: .9rem; }
.field label.consent { display: flex; margin: 0; font: 400 .95rem/1.5 var(--body); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal-d); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 4px; }
.form-status.is-success { display: block; background: #e8f3ec; border: 1px solid #9cc7ab; color: #1c4a2c; }
.form-status.is-error { display: block; background: #fbeaea; border: 1px solid #e3a7a3; color: #7d1f19; }
.form .btn { justify-self: start; }

/* ---- Prose (legal pages) ------------------------------------------------ */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---- 404 ---------------------------------------------------------------- */
.notfound { text-align: center; max-width: 560px; margin-inline: auto; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }

/* ---- Cookie banner ------------------------------------------------------ */
.cookie {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--navy); color: #e4ecef; border-top: 3px solid var(--gold);
    box-shadow: 0 -12px 30px -14px rgba(20, 35, 59, .5);
}
.cookie[hidden] { display: none !important; }
.cookie__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 18px; }
.cookie p { margin: 0; flex: 1 1 420px; font-size: .95rem; line-height: 1.55; }
.cookie a { color: #fff; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie .btn--teal { background: #fff; color: var(--navy); }
.cookie .btn--teal:hover { background: var(--tint); color: var(--navy); }
.linklike { padding: 0; border: 0; background: none; font: inherit; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--gold); }

/* ---- Tables (cookie policy) --------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 1em 0 1.6em; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap th { font: 600 .95rem var(--head); color: var(--navy); background: var(--tint); }

/* ---- Admin -------------------------------------------------------------- */
.btn--danger { background: #fff; border-color: var(--danger); color: var(--danger); }
.btn--danger:hover { background: var(--danger); color: #fff; }
.admin-login { max-width: 420px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-note { margin: 0; color: var(--muted); max-width: 62ch; font-size: .95rem; }
.admin-bar__actions, .enq__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-bar__actions form, .enq__actions form { margin: 0; }
.enq-list { display: grid; gap: 10px; }
.enq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.enq.is-unread { border-left: 5px solid var(--gold); }
.enq summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 14px 18px; cursor: pointer; list-style: none; }
.enq summary::-webkit-details-marker { display: none; }
.enq__name { font: 600 1.05rem var(--head); color: var(--navy); }
.enq__svc { color: var(--muted); }
.enq__date { margin-left: auto; color: var(--muted); font-size: .9rem; }
.badge { padding: 2px 10px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 .78rem var(--body); }
.badge--warn { background: #fbeaea; color: #7d1f19; }
.enq__body { padding: 4px 18px 18px; border-top: 1px solid var(--line); }
.enq__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0; }
.enq__body dt { font-weight: 700; color: var(--navy); }
.enq__body dd { margin: 0; overflow-wrap: anywhere; }
.enq__msg { margin: 0 0 16px; padding: 14px 16px; background: var(--tint-2); border: 1px solid var(--line); border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }

@media print {
    .site-header, .cta-band, .nav-toggle, .skip-link { display: none !important; }
    .site-footer { background: none; color: #000; }
}

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