/* ==========================================================================
   Royston Solar Solutions
   Design tokens → base → layout → components → utilities → responsive
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Navy scale */
  --navy-900: #08172a;
  --navy-800: #0b1f38;
  --navy-700: #102a4a;
  --navy-600: #17395f;
  --navy-500: #24507f;

  /* Brand accent, sampled from the logo */
  --accent:      #22b8e6;
  --accent-lift: #4fcbf2;
  --accent-deep: #0b7ba3;  /* accessible accent for text on light backgrounds */

  /* Greys */
  --grey-50:  #f7f8fa;
  --grey-100: #eef1f5;
  --grey-200: #e0e5ec;
  --grey-300: #c7cfda;
  --grey-400: #a4aebd;
  --grey-500: #7d8898;
  --grey-600: #5c6675;
  --grey-700: #414a58;

  --ink: #131c29;
  --white: #ffffff;

  /* Type */
  --font-head: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: 24px;
  --section-y: 104px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(8, 23, 42, .06), 0 2px 8px rgba(8, 23, 42, .05);
  --shadow-md: 0 4px 12px rgba(8, 23, 42, .08), 0 12px 32px rgba(8, 23, 42, .08);
  --shadow-lg: 0 12px 28px rgba(8, 23, 42, .12), 0 28px 64px rgba(8, 23, 42, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: var(--navy-900); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--navy-900);
  padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* --- 3. Layout ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .62); }

.section--dark {
  background: var(--navy-800);
  color: var(--grey-300);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a:not(.btn) { color: var(--accent); }

.section--grey { background: var(--grey-50); }

/* Section heading block */
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.is-centred { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--grey-600); margin-bottom: 0; }
.section--dark .section-head p { color: var(--grey-400); }

/* Eyebrow label with accent rule */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ''; width: 34px; height: 3px; flex: none;
  background: var(--accent); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--accent); }
.is-centred .eyebrow { justify-content: center; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .98rem; font-weight: 700; letter-spacing: .01em;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--navy-900); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-lift); border-color: var(--accent-lift); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.32); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn--dark { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn--dark:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--grey-300); }
.btn--outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }

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

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--accent-deep); text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--accent); }

/* --- 5. Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 23, 42, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.site-logo {
  display: flex; align-items: center; gap: 11px; flex: none;
  text-decoration: none !important;
}
.site-logo img { height: 42px; width: auto; }
.site-logo__text {
  font-family: var(--font-head); font-weight: 700;
  font-size: .82rem; line-height: 1.25;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); white-space: nowrap;
}
.site-logo__text em { display: block; font-style: normal; color: var(--grey-400); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > .btn--primary { display: none; }
.nav a {
  font-family: var(--font-head);
  font-size: .93rem; font-weight: 500; white-space: nowrap;
  color: var(--grey-300);
  padding: 10px 14px; border-radius: var(--radius);
  text-decoration: none;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.header-phone:hover { color: var(--accent); text-decoration: none; }
.header-cta .btn { padding: 12px 22px; font-size: .9rem; }

/* Dropdown for Services */
.nav__item { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 290px; padding: 10px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a { display: block; padding: 10px 14px; font-size: .92rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px; flex: none;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius); cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 50%; width: 20px; height: 2px;
  background: var(--white); transform: translateX(-50%);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; left: 0; transform: none; }
.nav-toggle span::after  { top: 7px;  left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--grey-300);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, var(--navy-900) 12%, rgba(8,23,42,.82) 46%, rgba(8,23,42,.42) 100%),
    linear-gradient(to top, var(--navy-900) 2%, transparent 42%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(90px, 13vw, 168px); }
.hero__content { max-width: 700px; }
.hero h1 { color: var(--white); margin-bottom: 0; }
.hero__rule { width: 76px; height: 4px; background: var(--accent); border-radius: 2px; margin: 30px 0; }
.hero__lead { font-size: clamp(1.06rem, 1.7vw, 1.22rem); color: var(--grey-300); max-width: 560px; }
.hero .btn-row { margin-top: 38px; }

/* Compact hero for interior pages */
.hero--inner .hero__inner { padding-block: clamp(72px, 9vw, 116px); }
.hero--inner h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }

.breadcrumb {
  font-size: .84rem; color: var(--grey-400);
  margin-bottom: 22px; letter-spacing: .01em;
}
.breadcrumb a { color: var(--grey-400); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin-inline: 8px; opacity: .5; }

/* Trust strip under the hero */
.trust-strip { background: var(--navy-800); border-top: 1px solid rgba(255,255,255,.08); }
.trust-strip__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 40px; padding-block: 22px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .89rem; color: var(--grey-300);
  font-family: var(--font-head); font-weight: 500;
}
.trust-item svg { flex: none; color: var(--accent); }

/* --- 7. Cards & grids ---------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Service card */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy-700); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--grey-600); font-size: .96rem; margin-bottom: 20px; }
.card__body .link-arrow { margin-top: auto; }

/* Feature row: text + image side by side */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature--flip .feature__media { order: -1; }
.feature__media img { border-radius: var(--radius-lg); width: 100%; }
.feature__media { position: relative; }
.grid--even-media .feature__media img { aspect-ratio: 14 / 9; object-fit: cover; }
.feature__media--portrait img { display: block; max-width: 440px; margin-inline: auto; }
.feature--stack { align-items: start; row-gap: 48px; }
.feature--stack .feature__media { grid-column: 1 / -1; }
.feature--stack .feature__media img { aspect-ratio: 5 / 2; object-fit: cover; }
.feature__pair { display: grid; gap: 20px; }
.feature__pair figure { margin: 0; }
.feature__pair figcaption { margin-top: 10px; font-size: .84rem; color: var(--grey-500); }
.feature__pair-label { font-family: var(--font-head); font-weight: 700; color: var(--navy-800); }

/* Numbered process steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 76px 1fr; gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--grey-200);
}
.step:last-child { border-bottom: 1px solid var(--grey-200); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  color: var(--accent-deep); line-height: 1.2;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--grey-600); margin-bottom: 0; }
.section--dark .step { border-color: rgba(255,255,255,.12); }
.section--dark .step::before { color: var(--accent); }
.section--dark .step p { color: var(--grey-400); }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); }
.stats > div { background: var(--navy-800); padding: 34px 26px; }
.stat__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--white); line-height: 1;
}
.stat__label { font-size: .87rem; color: var(--grey-400); margin-top: 10px; }

/* Tick list */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- 8. Gallery + lightbox ----------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; display: block; padding: 0; border: 0;
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); cursor: zoom-in;
  background: var(--navy-700);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,23,42,.55), transparent 55%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  color: var(--white); font-family: var(--font-head); font-weight: 500; font-size: .9rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  text-align: left;
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(6, 16, 30, .94);
  padding: 32px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; width: auto; border-radius: var(--radius); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  color: var(--white); cursor: pointer; border-radius: 50%;
  width: 50px; height: 50px; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  color: var(--grey-300); font-size: .92rem;
}

/* --- 9. Reviews ---------------------------------------------------------- */
.review {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; height: 100%;
}
.stars { color: #f5a623; letter-spacing: 3px; font-size: 1rem; margin-bottom: 16px; }
.review blockquote {
  margin: 0 0 22px; font-size: 1.04rem; color: var(--navy-800);
  font-family: var(--font-head); font-weight: 500; line-height: 1.55;
  letter-spacing: -.01em;
}
.review__by { margin-top: auto; font-size: .88rem; color: var(--grey-500); }
.review__by strong { display: block; color: var(--navy-800); font-size: .95rem; font-weight: 600; }

.section--dark .review { background: var(--navy-700); border-color: rgba(255,255,255,.1); }
.section--dark .review blockquote { color: var(--white); }
.section--dark .review__by { color: var(--grey-400); }
.section--dark .review__by strong { color: var(--white); }

/* Full-length Google reviews run to several hundred words, so they read as body
   copy rather than as a pull quote: smaller, in the text face, left aligned. */
.review--full blockquote {
  font-family: var(--font-body); font-weight: 400;
  font-size: .97rem; line-height: 1.68; letter-spacing: 0;
  color: var(--navy-800);
}
/* Reviews vary from one line to several paragraphs, so let each card take its
   natural height rather than stretching short ones to match a tall neighbour. */
.reviews-full { align-items: start; }
.reviews-full .review { height: auto; }


/* --- 10. Accreditations -------------------------------------------------- */
.accreds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.accred {
  text-align: center; padding: 28px 18px;
  border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  background: var(--white);
}
.accred__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--navy-800); margin-bottom: 6px;
}
.accred__meta { font-size: .82rem; color: var(--grey-500); }
.section--dark .accred { background: var(--navy-700); border-color: rgba(255,255,255,.1); }
.section--dark .accred__name { color: var(--white); }
.section--dark .accred__meta { color: var(--grey-400); }

/* --- 11. Instagram ------------------------------------------------------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius); background: var(--navy-700); display: block;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.ig-tile::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(8,23,42,.5); opacity: 0; transition: opacity .3s var(--ease);
}
.ig-tile:hover img { transform: scale(1.07); }
.ig-tile:hover::after { opacity: 1; }

/* --- 12. Forms ----------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head); font-size: .87rem; font-weight: 500;
  color: var(--navy-800); letter-spacing: .01em;
}
.field label .req { color: var(--accent-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--white);
  border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 13px 15px; width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 184, 230, .18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237d8898' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}
.form-note { font-size: .84rem; color: var(--grey-500); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm);
}

/* Contact detail list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.contact-list svg { color: var(--accent); margin-top: 5px; }
.contact-list dt, .contact-list .lbl {
  font-family: var(--font-head); font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500);
  margin-bottom: 3px;
}
.contact-list .val { font-size: 1.05rem; color: var(--navy-800); font-weight: 500; }
.section--dark .contact-list .val { color: var(--white); }
.section--dark .contact-list .val a { color: var(--white); }
.section--dark .contact-list .val a:hover { color: var(--accent); }

/* --- 13. CTA band -------------------------------------------------------- */
.cta-band { position: relative; background: var(--navy-900); overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.cta-band__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-900) 20%, rgba(8,23,42,.7) 100%);
}
.cta-band__inner { position: relative; z-index: 1; padding-block: 92px; }
.cta-band h2 { color: var(--white); max-width: 660px; }
.cta-band p { color: var(--grey-300); max-width: 560px; font-size: 1.08rem; }

/* --- 14. FAQ ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--grey-200); }
.faq details { border-bottom: 1px solid var(--grey-200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  color: var(--navy-800); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--accent-deep); border-bottom: 2.5px solid var(--accent-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details > div { padding: 0 0 26px; color: var(--grey-600); max-width: 780px; }

/* --- 15. Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--grey-400); font-size: .93rem; }
.site-footer__top { padding-block: 72px 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.site-footer h4 {
  color: var(--white); font-size: .8rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer a { color: var(--grey-400); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.site-footer__logo { height: 52px; width: auto; margin-bottom: 20px; }
.site-footer__blurb { max-width: 300px; margin-bottom: 22px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.1); border-color: var(--accent); color: var(--accent); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  justify-content: space-between; align-items: center;
  font-size: .85rem; color: var(--grey-500);
}
.site-footer__bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* --- 16. Utilities ------------------------------------------------------- */
.lead { font-size: 1.15rem; color: var(--grey-600); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1.15em; }
.prose li { margin-bottom: .5em; }
.text-centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,184,230,.12); border: 1px solid rgba(34,184,230,.35);
  color: var(--accent); border-radius: 100px;
  padding: 7px 16px; font-size: .82rem; font-weight: 600;
  font-family: var(--font-head); letter-spacing: .02em;
}
.pill--light {
  background: rgba(11,123,163,.08); border-color: rgba(11,123,163,.28); color: var(--accent-deep);
}

.notice {
  border-left: 3px solid var(--accent);
  background: var(--grey-50);
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice p:last-child { margin-bottom: 0; }
.notice__media { display: block; width: 100%; border-radius: var(--radius); margin-top: 22px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- 17. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .accreds { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .feature { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  :root { --section-y: 76px; }

  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }

  .nav {
    position: fixed; inset: 78px 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 14px var(--gutter) 26px;
    max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    /* opacity alone still swallows taps: the closed panel is a full-width fixed
       strip over the top of the page, so it has to stop hit-testing too */
    pointer-events: none;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: 1.02rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav__panel {
    /* inherit, not visible: re-asserting visible here un-hides these links
       while the nav is closed */
    position: static; opacity: 1; visibility: inherit; transform: none;
    background: transparent; border: 0; box-shadow: none;
    min-width: 0; padding: 0 0 0 16px;
  }
  .nav__panel a { font-size: .94rem; color: var(--grey-400); }
  .nav > .btn--primary {
    display: flex; margin-top: 18px; border-bottom: 0;
    justify-content: center; color: var(--navy-900); font-size: .98rem;
  }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature--flip .feature__media { order: 0; }
  .feature--stack .feature__media img { aspect-ratio: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 28px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --gutter: 20px; --section-y: 62px; }

  .site-logo img { height: 38px; }
  .header-phone span { display: none; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .accreds { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .stats { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .header-cta .btn { width: auto; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}
