:root {
    --navy: #0b3477;
    --navy-dark: #082757;
    --orange: #f47721;
    --ink: #20304a;
    --muted: #55627a;
    --orange-text: #b9500b;
    --line: #c9d3e2;
    --field-line: #8a96aa;
    --pale-blue: #dbe6f6;
    --light-bg: #f5f7fa;
    --whatsapp: #1a7f45;
    --error: #b42318;
    --serif: Newsreader, Georgia, serif;
    --sans: Figtree, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 120px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); }
a:hover { color: var(--orange-text); }
/* Standalone links underline on hover; links inside a sentence stay underlined */
:where(a) { text-decoration: none; }
:where(a:hover) { text-decoration: underline; }
p a:not(.btn),
.form-message a { text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon-sprite { display: none; }
.icon {
    flex: none;
    width: 18px;
    height: 18px;
}

.wrap {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(16px, 5vw, 64px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #e2681a; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--pale-blue); color: var(--navy); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #136536; color: #fff; }
.btn-row {
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 4px solid;
    border-image: linear-gradient(90deg, var(--navy) 0 80%, var(--orange) 80% 100%) 1;
    box-shadow: 0 6px 18px rgba(11, 52, 119, 0.08);
}
.header-bar {
    min-height: 76px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 24px;
}
.brand { display: block; padding-block: 8px; }
.logo { display: block; height: 64px; width: auto; }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 20px;
}
.site-nav.is-open { display: block; }
.nav-list,
.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid var(--line);
}
.nav-list > li > a {
    flex: 1;
    padding-block: 12px;
    font-weight: 600;
    text-decoration: none;
}
.nav-list a[aria-current="page"] { color: var(--orange-text); }
.sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--navy);
    cursor: pointer;
}
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
    display: none;
    flex-basis: 100%;
    padding: 0 0 10px 16px;
}
.has-sub.is-open .sub-menu { display: block; }
.sub-menu a {
    display: block;
    padding-block: 8px;
    text-decoration: none;
}
.header-cta { margin-top: 12px; width: 100%; }

@media (min-width: 1080px) {
    .menu-toggle { display: none; }
    .logo { height: 84px; }
    .site-nav,
    .site-nav.is-open {
        display: flex;
        align-items: center;
        gap: 28px;
        flex-basis: auto;
        padding-bottom: 0;
    }
    .nav-list { display: flex; gap: 26px; }
    .nav-list > li {
        position: relative;
        border-top: 0;
        flex-wrap: nowrap;
    }
    .nav-list > li > a {
        position: relative;
        padding-block: 26px;
        font-size: 16px;
        font-weight: 600;
    }
    .nav-list > li > a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 16px;
        height: 3px;
        background: var(--orange);
        transform: scaleX(0);
        transition: transform 0.2s ease;
    }
    .nav-list > li > a:hover::after,
    .nav-list > li > a:focus-visible::after,
    .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
    .sub-toggle { width: 26px; height: 26px; }
    .sub-menu {
        position: absolute;
        top: 100%;
        left: -20px;
        min-width: 260px;
        padding: 10px 0;
        background: #fff;
        border: 1px solid var(--line);
        border-top: 3px solid var(--navy);
        box-shadow: 0 12px 28px rgba(11, 52, 119, 0.12);
    }
    .has-sub:hover .sub-menu,
    .has-sub:focus-within .sub-menu,
    .has-sub.is-open .sub-menu { display: block; }
    .sub-menu a { padding: 8px 20px; font-size: 15px; }
    .header-cta { margin-top: 0; width: auto; min-height: 44px; }
}

/* Breadcrumbs */
.breadcrumbs ol {
    margin: 0;
    padding: 16px 0 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    font-size: 14px;
    color: var(--muted);
}
.breadcrumbs li + li::before {
    content: "/";
    margin-inline: 8px;
    color: var(--field-line);
}

/* Headings and heroes */
.eyebrow {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-text);
}
h1 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--navy);
}
.hero-sub {
    margin: 18px 0 0;
    max-width: 640px;
    font-size: 19px;
    line-height: 1.6;
}
.hero { padding-block: clamp(28px, 4vw, 52px) clamp(28px, 3.5vw, 44px); }
.hero-text { max-width: 920px; }
.hero-photo {
    display: block;
    width: 100%;
    height: clamp(220px, 24.6vw, 460px);
    object-fit: cover;
    object-position: center;
}
.page-head { padding-block: clamp(24px, 3.5vw, 44px) 0; }

.service-hero {
    padding-block: clamp(24px, 3vw, 40px) 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px 48px;
}
.service-hero-text { flex: 1 1 460px; min-width: 0; }
.service-hero-media { flex: 1 1 380px; min-width: 0; }
.service-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.service-hero-media .media-icon { aspect-ratio: 4 / 3; }

.media-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--navy);
    color: #fff;
}
.media-icon svg { width: 32%; height: 32%; max-width: 120px; max-height: 120px; }

/* Sections */
.section { padding-top: clamp(48px, 6vw, 80px); }
.section-tight { padding-top: clamp(24px, 3vw, 36px); }
.section-end { padding-top: clamp(48px, 6vw, 80px); }
.band {
    margin-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
    background: var(--light-bg);
}
.section-title {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    color: var(--navy);
}
.section-title.small { font-size: clamp(28px, 3.2vw, 40px); }
.section-intro {
    max-width: 720px;
    margin: -6px 0 24px;
    font-size: 18px;
}
.lead {
    margin: 0;
    font-size: 20px;
    color: var(--orange-text);
    font-weight: 500;
}
.muted { color: var(--muted); font-size: 15px; }
.strong-link { font-weight: 600; }

.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 48px;
}
.two-col > div { flex: 1 1 380px; min-width: 0; }
.two-col p { margin: 0 0 18px; }
.two-col .section-title { margin-bottom: 12px; }

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 32px 24px;
}
.card-grid.three-up { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--light-bg);
}
.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.03); }
.card h3 {
    margin: 14px 0 4px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--orange-text); }
.card p { margin: 0 0 12px; flex: 1; }
.card-link {
    font-weight: 600;
    color: var(--orange-text);
}
.card-link::after { content: " \2192"; }

/* Lists */
.benefit-list,
.why-list,
.contact-list,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}
.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    gap: 0 40px;
}
.benefit-list li {
    display: flex;
    gap: 14px;
    padding-block: 14px;
    border-top: 1px solid var(--line);
}
.tick { margin-top: 4px; color: var(--orange-text); }

.why-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 0 40px;
}
.why-list li {
    display: flex;
    gap: 14px;
    padding-block: 20px;
    border-top: 1px solid var(--line);
}
.why-list strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
}
.why-list span { display: block; }

.tag-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 0 40px;
}
.tag-list li {
    padding-block: 14px;
    border-top: 1px solid var(--line);
    font-size: 19px;
    font-weight: 500;
    color: var(--navy);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 24px 24px;
}
.option {
    padding-top: 18px;
    border-top: 3px solid var(--navy);
}
.option h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
}
.option p { margin: 0 0 10px; }

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px 32px;
}
.steps li { counter-increment: step; }
.steps li::before {
    content: counter(step);
    display: block;
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
    color: var(--orange-text);
}
.steps strong { display: block; color: var(--navy); font-size: 18px; }
.steps span { display: block; }

.faq-list details {
    border-top: 1px solid var(--line);
    padding-block: 16px;
}
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq-list p { margin: 10px 0 0; }

.facts {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
}
.facts dt,
.facts dd {
    margin: 0;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}
.facts dt { font-weight: 600; color: var(--navy); }

/* Group offer and online booking panels */
.group-banner,
.book-online {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 48px;
    padding: clamp(24px, 4vw, 44px);
}
.group-banner > div,
.book-online > div { flex: 1 1 420px; min-width: 0; }
.group-banner {
    background: var(--navy);
    color: #fff;
    border-left: 6px solid var(--orange);
}
.group-banner .btn-row { margin: 0; }
.group-banner-title,
.book-online-title {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}
.group-banner-title { text-transform: uppercase; letter-spacing: 0.02em; }
.group-banner p:not(.group-banner-title) { margin: 0; }
.book-online {
    border: 1px solid var(--line);
    border-top: 3px solid var(--orange);
}
.book-online-title { color: var(--navy); }
.book-online p:not(.book-online-title) { margin: 0; }

.notice {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 4px solid var(--orange);
    background: #fff;
    font-size: 16px;
}

/* Enquiry forms */
.form-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px 48px;
}
.form-aside { flex: 1 1 300px; min-width: 0; }
.form-aside p { margin: 0 0 16px; }
.form-aside .aside-intro { margin-bottom: 24px; font-size: 19px; }
.enquiry-form,
.form-thanks { flex: 999 1 520px; min-width: 0; }

.enquiry-form {
    padding: clamp(16px, 2.2vw, 28px);
    background: #fff;
    border-top: 3px solid var(--navy);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 52, 119, 0.06);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}
@media (max-width: 560px) {
    .enquiry-form { grid-template-columns: minmax(0, 1fr); }
}
.form-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 2.4vw, 28px);
    line-height: 1.15;
    color: var(--navy);
}
.enquiry-form > .form-title,
.enquiry-form > .form-intro,
.enquiry-form > .form-required-note,
.enquiry-form > .full { grid-column: 1 / -1; }
.form-intro,
.form-required-note { margin: -6px 0 0; }
.form-required-note { font-size: 14px; color: var(--muted); }
.req { color: var(--error); }

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.field > label,
.check-group > legend {
    font-size: 13px;
    font-weight: 600;
}
.field > input,
.field > select,
.field > textarea {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 7px 12px;
    border: 1px solid var(--field-line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}
.field > textarea { resize: vertical; }
.field > input:focus,
.field > select:focus,
.field > textarea:focus {
    outline: 2px solid var(--navy);
    outline-offset: 0;
    border-color: var(--navy);
}
.field > [aria-invalid="true"] { border: 2px solid var(--error); }

.check-group {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}
.check-group > legend { padding: 0; margin-bottom: 4px; }
.check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 4px 18px;
}
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    cursor: pointer;
}
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.check-group[aria-invalid="true"] .check-grid { outline: 2px solid var(--error); outline-offset: 6px; }

.enquiry-form .trap-field {
    position: absolute;
    left: -9999px;
}
.field-error {
    color: var(--error);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}
.check-group .field-error { display: block; margin-top: 10px; }
.form-message {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--error);
    font-size: 15px;
    line-height: 1.45;
}
.form-message a { color: inherit; font-weight: 600; }

.enquiry-form button { min-height: 48px; margin-top: 4px; }
.enquiry-form button:disabled { cursor: default; opacity: 0.85; }
.enquiry-form button.is-submitting::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: form-spin 0.8s linear infinite;
}
@keyframes form-spin { to { transform: rotate(360deg); } }

.form-thanks {
    padding: clamp(20px, 3vw, 36px);
    background: #fff;
    border-top: 3px solid var(--navy);
    outline: none;
}
.form-thanks .form-title { margin-bottom: 10px; }
.form-thanks p { margin: 0 0 8px; }
.form-reference { font-weight: 600; color: var(--navy); }

/* Contact page */
.contact-list li {
    padding-block: 14px;
    border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
}
.contact-list a { font-weight: 600; font-size: 18px; overflow-wrap: anywhere; }

/* Closing call to action */
.closing-cta {
    margin-top: clamp(48px, 6vw, 80px);
    padding-block: clamp(36px, 4.5vw, 56px);
    background: var(--navy);
    color: #fff;
}
.closing-cta .section-title { color: #fff; }
.closing-cta p { max-width: 720px; margin: 0; }
.closing-cta .btn-row { margin-top: 22px; }
.closing-cta + .site-footer { border-top: 1px solid #2a4f8f; }

/* Footer */
.site-footer {
    padding-block: clamp(32px, 4vw, 48px) 24px;
    background: var(--navy-dark);
    color: #fff;
    font-size: 16px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--pale-blue); }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 32px 48px;
}
.footer-cols ul { margin: 0 0 24px; padding: 0; list-style: none; }
.footer-cols li { padding-block: 4px; }
.footer-name {
    margin: 0;
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.2;
}
.footer-tagline {
    margin: 4px 0 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}
.footer-contact li {
    display: flex;
    gap: 10px;
    padding-block: 6px;
    overflow-wrap: anywhere;
}
.footer-contact .icon { margin-top: 4px; color: var(--pale-blue); }
.footer-heading {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pale-blue);
}
.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #4a6aa3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 32px;
    font-size: 14px;
    color: var(--pale-blue);
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.whatsapp-float:hover { color: #fff; background: #136536; }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Text Page: text written in the admin's rich text editor */
.prose { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 40px 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.prose h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.3; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { padding-block: 2px; }
.prose img { display: block; max-width: 100%; height: auto; margin: 8px 0; }
/* Sizes picked in the editor (none = full width); phones show every picture full width */
.prose img[data-size="medium"] { width: 50%; }
.prose img[data-size="small"] { width: 30%; }
@media (max-width: 599px) {
    .prose img[data-size] { width: 100%; }
}

/* A Text Page's featured picture, wide under the headline */
.page-feature {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    margin-top: 8px;
    background: var(--light-bg);
}
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--muted); }
.prose a { text-decoration: underline; }

/* Footer: opening hours and social links (shown only when set in Company Details) */
.footer-hours { margin: 16px 0 0; }
.footer-hours strong, .footer-hours span { display: block; }
.footer-hours strong { margin-bottom: 4px; }
.footer-cols .footer-social { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 16px 0 0; }
.footer-social li { padding-block: 0; }
