/* Action Tours - mobile-first stylesheet.
   Written for phones and scaled up, because charter enquiries overwhelmingly come
   from someone standing in a car park with one hand free. */

:root {
    --navy: #0b2545;
    --navy-soft: #13365f;
    --navy-ink: #081a33;
    --amber: #f5a524;
    --amber-dark: #d98a0b;
    --paper: #ffffff;
    --mist: #f4f6fa;
    --line: #dfe5ee;
    --ink: #17202e;
    --ink-soft: #566075;
    --ok: #157f4b;
    --bad: #b3261e;

    --shell: 1140px;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 10px 28px rgba(11, 37, 69, .10);
    --shadow-lg: 0 18px 48px rgba(11, 37, 69, .16);

    /* Big enough to hit with a thumb without looking. */
    --tap: 48px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;          /* comfortable on a phone without zooming */
    overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); }
p { margin: 0 0 1rem; }
a { color: var(--navy-soft); }

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

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 14px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }

.brand-mark {
    width: 40px; height: 40px; flex: none;
    display: grid; place-items: center;
    border-radius: 11px; color: #fff; font-size: 1.05rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--navy); font-size: 1.16rem; letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }

.nav-desktop { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
    width: var(--tap); height: var(--tap);
    display: grid; place-items: center;
    background: var(--mist); color: var(--navy);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: 1.15rem; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle:focus-visible { outline: 2px solid var(--navy-soft); outline-offset: 2px; }

/* max-height rather than the grid-template-rows trick: that needs a single child
   wrapper to collapse, and this drawer has one child per link. */
.nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    background: var(--paper);
    border-top: 0 solid var(--line);
}
.nav-mobile.open {
    max-height: 70vh;
    overflow-y: auto;
    border-top: 1px solid var(--line);
}

.nav-link-mobile {
    display: flex; align-items: center; gap: 12px;
    min-height: var(--tap);
    padding: 14px 20px;
    text-decoration: none; color: var(--ink); font-weight: 600;
    border-bottom: 1px solid var(--line);
}
.nav-link-mobile i { width: 22px; text-align: center; color: var(--navy-soft); }
.nav-link-mobile.active { background: var(--mist); color: var(--navy); }
.nav-link-mobile-cta { color: var(--navy); font-weight: 700; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: var(--tap); padding: 0 20px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--amber); color: var(--navy-ink); box-shadow: 0 6px 18px rgba(245, 165, 36, .34); }
.btn-primary:hover { background: var(--amber-dark); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--mist); }

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

.btn-call { background: var(--navy); color: #fff; padding: 0 14px; }
.btn-call:hover { background: var(--navy-soft); }
.btn-call .call-text { display: none; }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 55%, #1d4e8a 100%);
    color: #fff;
    padding: 54px 0 60px;
    overflow: hidden;
}
.hero::after {           /* soft road-like sweep, so the panel isn't a flat slab */
    content: ""; position: absolute; inset: auto -10% -45% -10%; height: 70%;
    background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.09), transparent 70%);
    pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.lede { font-size: 1.1rem; color: #d9e4f5; max-width: 60ch; margin-bottom: 1.6rem; }

.hero-actions { display: flex; flex-direction: column; gap: 11px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: #cddcf0; }
.hero-trust i { color: var(--amber); }

.hero-media { margin-top: 32px; }

/* ---------- Image placeholders ----------
   Stand-ins until licensed photography lands. They are deliberately plain so nobody
   mistakes one for a finished design. See wwwroot/images/README.txt. */

/* The aspect ratio lives on the frame, not the contents, so a real photo and a
   placeholder occupy exactly the same space and the layout never shifts when one
   replaces the other. */
.photo {
    position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius);
    overflow: hidden; background: var(--mist); box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Product shots on a white background would be cropped oddly by cover. */
.photo-contain { background: #fff; }
.photo-contain img { object-fit: contain; }

.photo-placeholder {
    display: grid; place-items: center; gap: 8px; width: 100%; height: 100%;
    background: repeating-linear-gradient(135deg, #e8edf5 0 14px, #e1e8f2 14px 28px);
    color: #7c879b; text-align: center; padding: 18px;
}
.photo-placeholder i { font-size: 2.2rem; opacity: .55; }
.photo-placeholder span { font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.photo-placeholder small { font-size: .7rem; opacity: .8; }

.photo-wide { aspect-ratio: 16 / 7; }
.photo-tall { aspect-ratio: 4 / 5; }

/* ---------- Sections ---------- */

section { padding: 52px 0; }
section.tint { background: var(--mist); }

.section-head { max-width: 62ch; margin-bottom: 30px; }
.section-head p { color: var(--ink-soft); font-size: 1.04rem; margin: 0; }

.eyebrow {
    display: inline-block; margin-bottom: 10px;
    font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
    color: var(--amber-dark);
}

.grid { display: grid; gap: 18px; }

.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.card-icon {
    width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 12px; margin-bottom: 14px;
    background: rgba(245, 165, 36, .14); color: var(--amber-dark); font-size: 1.2rem;
}

.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Fleet cards keep the photo flush to the card edge. */
.fleet-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.fleet-card .photo { border-radius: 0; box-shadow: none; }
.fleet-card .fleet-body { padding: 20px 22px 24px; }
.fleet-spec { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-soft); }
.fleet-spec li { display: flex; align-items: center; gap: 7px; }
.fleet-spec i { color: var(--navy-soft); }

.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 15px; align-items: flex-start; }
.step-num {
    counter-increment: step; flex: none;
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: .2em; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cddcf0; max-width: 54ch; margin: 0 auto 1.5rem; }
.cta-actions { display: flex; flex-direction: column; gap: 11px; align-items: stretch; }

/* ---------- Forms ---------- */

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .84rem; }

.field input, .field select, .field textarea {
    width: 100%; min-height: var(--tap); padding: 11px 13px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 16px;      /* 16px stops iOS zooming the page on focus */
    background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(19, 54, 95, .13);
}

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

.validation-message { color: var(--bad); font-size: .86rem; margin-top: 5px; }

.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }

.alert { border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; }
.alert-ok { background: #e9f6ef; border: 1px solid #bfe3d0; color: var(--ok); }

/* ---------- Contact ---------- */

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 13px; align-items: flex-start; }
.contact-list i { width: 22px; text-align: center; color: var(--amber-dark); margin-top: 4px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-ink); color: #c3cfe0; padding: 44px 0 0; margin-top: 10px; }
.footer-grid { display: grid; gap: 30px; padding-bottom: 34px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-blurb { color: #9fb0c7; font-size: .94rem; margin: 0; max-width: 42ch; }
.footer-heading { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { color: #c3cfe0; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px 90px;
    display: flex; flex-direction: column; gap: 6px; font-size: .84rem; color: #8699b3;
}
.footer-note { color: #6f8099; }

/* ---------- Floating call button (mobile only) ---------- */

.call-fab {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 54px; border-radius: 999px;
    background: var(--amber); color: var(--navy-ink);
    font-weight: 800; text-decoration: none;
    box-shadow: var(--shadow-lg);
}

/* ---------- Larger screens ---------- */

@media (min-width: 700px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: repeat(2, 1fr); }
    .hero-actions, .cta-actions { flex-direction: row; justify-content: center; }
    .hero-actions { justify-content: flex-start; }
    .btn-block { width: auto; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; padding-bottom: 18px; }
}

@media (min-width: 960px) {
    body { font-size: 17px; }
    section { padding: 72px 0; }

    .nav-desktop { display: flex; align-items: center; gap: 4px; }
    .nav-link {
        padding: 9px 13px; border-radius: var(--radius-sm);
        text-decoration: none; color: var(--ink); font-weight: 600; font-size: .96rem;
    }
    .nav-link:hover { background: var(--mist); color: var(--navy); }
    .nav-link.active { color: var(--navy); background: var(--mist); }

    .nav-toggle { display: none; }
    .nav-mobile { display: none; }
    .btn-call .call-text { display: inline; }
    .call-fab { display: none; }       /* the number is in the header on desktop */

    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .hero { padding: 86px 0 94px; }
    .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
    .hero-media { margin-top: 0; }
    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    .split-wide { grid-template-columns: 1.15fr .85fr; }
}

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