:root {
  --beacon: #006FCD;
  --beacon-deep: #0058A4;
  --harbour: #0E2A47;
  --mist: #EEF5FA;
  --slate: #2A3B4D;
  --lamp: #F2B84B;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --shadow-soft: 0 12px 30px -18px rgba(14, 42, 71, 0.35);

  --motion-fast: 0.2s;
  --motion-med: 0.45s;
  --motion-beam: 1.6s;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  padding-bottom: 0;
}

body.has-sticky-bar { padding-bottom: 64px; }

@media (min-width: 720px) {
  body.has-sticky-bar { padding-bottom: 0; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--harbour);
  line-height: 1.1;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

p { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--beacon-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--harbour); }

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

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--harbour);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
  transition: top var(--motion-fast) ease;
}
.skip-link:focus { top: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform var(--motion-fast) ease, background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.btn-primary {
  background: var(--beacon-deep);
  color: var(--white);
}
.btn-primary:hover { background: var(--harbour); color: var(--white); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.btn-outline.on-light {
  color: var(--beacon-deep);
  border-color: var(--beacon-deep);
}
.btn-outline.on-light:hover { background: var(--mist); color: var(--harbour); border-color: var(--harbour); }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #E1EAF2;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--harbour);
}
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.05;
  color: var(--harbour);
}

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

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--harbour);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--lamp); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--beacon-deep); color: var(--beacon-deep); }

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

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--harbour);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--harbour);
  position: relative;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); top: 0; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid #E1EAF2;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 4px; }
  .header-actions .btn-primary span.btn-label-full { display: none; }
}

@media (min-width: 481px) and (max-width: 860px) {
  .header-actions .btn-primary span.btn-label-full { display: inline; }
}

@media (max-width: 480px) {
  .header-actions .btn-primary {
    padding: 0.6em 0.85em;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .brand-word { font-size: 1rem; }
}

/* Mobile sticky call bar */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--lamp);
  display: none;
}
.call-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  font-weight: 700;
  color: var(--harbour);
  text-decoration: none;
  font-size: 1.05rem;
}
@media (max-width: 720px) {
  .call-bar.is-active { display: block; }
}
.call-bar.is-hidden { transform: translateY(100%); }
@media (prefers-reduced-motion: no-preference) {
  .call-bar { transition: transform var(--motion-med) ease; }
}

/* Hero (beam) */
.hero {
  position: relative;
  background: var(--beacon);
  color: var(--white);
  overflow: hidden;
  padding-block: 64px 88px;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.8em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.hero__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lamp);
  flex-shrink: 0;
}

.hero h1 { color: var(--white); }
.hero p.lede { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,0.92); }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.hero__beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(242,184,75,0.6) 0%, rgba(242,184,75,0.32) 38%, rgba(242,184,75,0) 72%);
  clip-path: polygon(68% 22%, 100% -8%, 100% 62%, 71% 52%);
  transform-origin: 71% 37%;
  opacity: 0;
  display: none;
}
@media (min-width: 900px) {
  .hero__beam { display: block; }
}

.hero__disc {
  position: absolute;
  top: 50%; left: 50%;
  width: 72%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 6px solid rgba(255,255,255,0.85);
  box-shadow: 0 20px 60px -20px rgba(6, 20, 36, 0.55);
}
.hero__disc img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: no-preference) {
  .hero__beam { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  .hero.beam-ready .hero__beam {
    animation: beam-sweep var(--motion-beam) cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__beam { opacity: 1; transform: none; }
}

@keyframes beam-sweep {
  0% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Calm hero (bond/domestic/contact pages) */
.hero--calm {
  background: var(--mist);
  color: var(--harbour);
  padding-block: 56px 64px;
}
.hero--calm h1 { color: var(--harbour); }
.hero--calm p.lede { color: var(--slate); }
.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding-block: 64px; }
.section--mist { background: var(--mist); }
.section--harbour { background: var(--harbour); color: var(--white); }
.section--harbour h2 { color: var(--white); }
.section--beacon { background: var(--beacon); color: var(--white); text-align: center; }
.section--beacon h2 { color: var(--white); }
.section--beacon p { margin-inline: auto; }

.section-head { max-width: 62ch; margin-bottom: 2.2em; }
.section-head p { color: var(--slate); }

/* Two service panels */
.service-panels {
  display: grid;
  gap: 28px;
}
@media (min-width: 760px) {
  .service-panels { grid-template-columns: 1fr 1fr; }
}
.service-panel {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.service-panel__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.service-panel__body { padding: 24px 26px 28px; }
.service-panel__body a { font-weight: 700; }

/* Process steps */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 22px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps li {
  position: relative;
  padding-top: 56px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--beacon);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.steps h3 { margin-bottom: 0.35em; font-size: 1.05rem; }
.steps .who {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--beacon-deep);
  background: var(--mist);
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 0.6em;
}

/* Missed-spots grid */
.spots-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.spots-grid .spot h3 { font-size: 1rem; margin-bottom: 0.3em; }
.spots-grid .spot p { font-size: 0.96rem; color: var(--slate); margin-bottom: 0; }
.spots-grid .spot {
  border-left: 3px solid var(--lamp);
  padding-left: 16px;
}

.room-groups {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.note {
  font-size: 0.92rem;
  color: var(--slate);
  background: var(--mist);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 1.6em;
}
.section--mist .note { background: var(--white); }

/* Service area strip */
.area-strip { text-align: center; }
.area-strip h2 { margin-bottom: 0.4em; }
.ask { font-weight: 600; color: var(--harbour); }

/* CTA band */
.cta-band .btn-row { justify-content: center; }
.cta-band .phone-link {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  border-bottom: 3px solid var(--lamp);
}
.cta-band .email-line { margin-top: 0.8em; }
.cta-band .email-line a { color: var(--white); }

/* Footer */
.site-footer {
  background: var(--harbour);
  color: rgba(255,255,255,0.85);
  padding-block: 48px 32px;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 9px; }
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
}
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.9em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5em; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--lamp); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Accordions */
details.accordion {
  border: 1px solid #E1EAF2;
  border-radius: 8px;
  padding: 4px 0;
  margin-bottom: 12px;
  background: var(--white);
}
details.accordion summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--harbour);
  padding: 16px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--beacon-deep);
  line-height: 1;
  flex-shrink: 0;
}
details.accordion[open] summary::after { content: "\2212"; }
details.accordion .accordion-body { padding: 0 20px 20px; }
details.accordion .accordion-body img { border-radius: 8px; margin-bottom: 14px; width: 100%; height: auto; }
details.accordion .accordion-body img.crop-wide { aspect-ratio: 16 / 10; object-fit: cover; }

.room-checklist { list-style: none; margin: 0; padding: 0; }
.room-checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.6em;
}
.room-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.35em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--beacon);
  border: 2px solid var(--lamp);
}

/* Comparison table */
.compare-table-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #E1EAF2;
  vertical-align: top;
}
table.compare thead th {
  font-family: var(--font-display);
  color: var(--harbour);
  background: var(--mist);
}
table.compare tbody th { font-weight: 700; color: var(--harbour); white-space: nowrap; }

/* Contact page */
.contact-blocks {
  display: grid;
  gap: 24px;
}
@media (min-width: 700px) {
  .contact-blocks { grid-template-columns: 1fr 1fr; }
}
.contact-block {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}
.contact-block .big-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--beacon-deep);
  text-decoration: none;
  border-bottom: 3px solid var(--lamp);
  margin-top: 0.4em;
  word-break: break-word;
}
.contact-block .big-link:hover { color: var(--harbour); }
.contact-block p.label { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 0.85rem; color: var(--slate); margin-bottom: 0; }

.ready-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .ready-list { grid-template-columns: 1fr 1fr; }
}
.ready-list li {
  position: relative;
  padding-left: 30px;
  background: var(--mist);
  border-radius: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 14px;
}
.ready-list li::before {
  content: "";
  position: absolute;
  left: 12px; top: 15px;
  width: 12px; height: 12px;
  border: 2px solid var(--beacon-deep);
  border-radius: 3px;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--motion-med) ease, transform var(--motion-med) ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
