/* ============================================================
   SUMMIT CONSTRUCTION NORTH WEST — DESIGN SYSTEM
   ============================================================

   COLOUR TOKENS (6, defined once)
   --clr-navy    : primary dark — header (solid/scrolled), footer, page headers, CTA band
   --clr-white   : pure white
   --clr-surface : consistent off-white — services/sectors section, form backgrounds
   --clr-text    : near-black body and heading text
   --clr-muted   : secondary / caption text
   --clr-accent  : #027EF5 — logo mid-gradient — SMALL accents only
                   (underlines, dividers, icon strokes, list numbers)
                   Never a button background, large fill, or heading text.

   BUTTON TYPES (3)
   .btn--primary  : solid fill — navy on light / white on dark (context-inverts)
   .btn--ghost    : bordered transparent — navy on light / white on dark
   .btn--text     : plain text + arrow, no chrome
   .nav__cta      : B&K-style inline CTA — text + icon-square (used in nav + service list footer)

   TYPOGRAPHY
   Inter only — 300 (light headings), 400–500 (body), 600–700 (labels/UI), 800 (hero h1)
   ============================================================ */

:root {
  --clr-navy:    #0d1b3e;
  --clr-white:   #ffffff;
  --clr-surface: #f0f1f3;
  --clr-text:    #1c1f2e;
  --clr-muted:   #64748b;
  --clr-border:  #e2e4e9;
  --clr-accent:  #027EF5;

  --font: 'Inter', system-ui, sans-serif;

  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-8:  2rem;     --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;

  --container-w:  1200px;
  --container-px: var(--sp-6);
  --radius:       4px;
  --radius-lg:    8px;
  --ease:         0.22s ease;
}

/* === Reset ================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img    { max-width: 100%; display: block; height: auto; }
a      { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* === Layout ================================================ */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section       { padding-block: var(--sp-20); background: var(--clr-white); }
.section--surface { background: var(--clr-surface); }

/* === Typography ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { max-width: 65ch; }

/* Section label — B&K style: inline-block + direct border-bottom accent line */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--clr-accent);
  margin-bottom: var(--sp-5);
}
.page-header .section-label,
.cta-band    .section-label {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.section-title { margin-bottom: var(--sp-4); }
.section-intro {
  font-size: 1rem;
  color: var(--clr-muted);
  margin-bottom: 0;
  max-width: 55ch;
}

/* === Button system =========================================
   Context selectors auto-invert primary/ghost on dark backgrounds. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.78rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Primary — solid navy on light */
.btn--primary {
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
}
.btn--primary:hover {
  background: #1a2c5c;
  border-color: #1a2c5c;
  transform: translateY(-1px);
}

/* Auto-invert primary on dark sections */
.cta-band .btn--primary,
.page-header .btn--primary {
  background: var(--clr-white);
  color: var(--clr-navy);
  border-color: var(--clr-white);
}
.cta-band .btn--primary:hover,
.page-header .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Ghost — bordered transparent */
.btn--ghost {
  background: transparent;
  color: var(--clr-navy);
  border: 1.5px solid var(--clr-navy);
}
.btn--ghost:hover { background: rgba(13, 27, 62, 0.05); transform: translateY(-1px); }

/* Ghost auto-inverts on hero / dark */
.hero .btn--ghost,
.cta-band .btn--ghost,
.page-header .btn--ghost {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.page-header .btn--ghost:hover {
  border-color: var(--clr-white);
  background: rgba(255, 255, 255, 0.08);
}

/* Text / tertiary */
.btn--text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--clr-navy);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  background: none;
  border: none;
  padding: 0;
  transition: gap var(--ease);
}
.btn--text:hover { text-decoration: underline; text-underline-offset: 3px; gap: 0.65rem; }

/* ── nav__cta — B&K-style text + icon-square (nav + service list footer) */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: 0.01em;
  transition: color var(--ease);
}

.nav__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--clr-surface);
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: background var(--ease);
}

.nav__cta:hover .nav__cta-icon { background: var(--clr-navy); }

.nav__cta-icon svg {
  width: 11px;
  height: 11px;
  stroke: var(--clr-navy);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--ease);
}
.nav__cta:hover .nav__cta-icon svg { stroke: var(--clr-white); }

/* nav__cta on dark contexts — explicit separate rules to avoid combined-selector stroke issues */
.site-header--hero:not(.is-scrolled) .nav__cta { color: var(--clr-white); }
.site-header--hero:not(.is-scrolled) .nav__cta-icon { background: rgba(255,255,255,0.14); }
.site-header--hero:not(.is-scrolled) .nav__cta-icon svg { stroke: var(--clr-white); }
.site-header--hero:not(.is-scrolled) .nav__cta:hover .nav__cta-icon { background: var(--clr-white); }
.site-header--hero:not(.is-scrolled) .nav__cta:hover .nav__cta-icon svg { stroke: var(--clr-navy); }

/* === Header ================================================
   Fixed on all pages.
   .site-header--hero: transparent gradient over hero photo.
   .site-header--hero.is-scrolled: solid white (added by JS when user scrolls past hero). */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

/* Transparent variant — home page, over hero */
.site-header--hero {
  background: linear-gradient(to bottom, rgba(10, 16, 40, 0.65), transparent);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

/* Scrolled past hero — become solid white */
.site-header--hero.is-scrolled {
  background: var(--clr-white);
  border-bottom-color: var(--clr-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
}

/* Logo switching — use img selector to beat .nav__logo img { display: block } at (0,1,1) */
img.nav__logo-dark { display: none; }
.site-header--hero:not(.is-scrolled) img.nav__logo-light { display: none; }
.site-header--hero:not(.is-scrolled) img.nav__logo-dark  { display: block; }
.site-footer img.nav__logo-light { display: none; }
.site-footer img.nav__logo-dark  { display: block; }

/* Nav links (desktop) */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}

.nav__links > li > a:not(.nav__cta) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-muted);
  letter-spacing: 0.01em;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
  display: block;
}
.nav__links > li > a:not(.nav__cta):hover,
.nav__links > li > a:not(.nav__cta)[aria-current="page"] {
  color: var(--clr-text);
  border-bottom-color: var(--clr-accent);
}

/* Nav links white when over hero */
.site-header--hero:not(.is-scrolled) .nav__links > li > a:not(.nav__cta) {
  color: rgba(255, 255, 255, 0.82);
}
.site-header--hero:not(.is-scrolled) .nav__links > li > a:not(.nav__cta):hover,
.site-header--hero:not(.is-scrolled) .nav__links > li > a:not(.nav__cta)[aria-current="page"] {
  color: var(--clr-white);
  border-bottom-color: var(--clr-white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  color: var(--clr-text);
  transition: border-color var(--ease), background var(--ease);
}
.nav__toggle:hover { border-color: var(--clr-navy); background: rgba(13,27,62,0.04); }

.site-header--hero:not(.is-scrolled) .nav__toggle {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--clr-white);
}
.site-header--hero:not(.is-scrolled) .nav__toggle:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger span {
  display: block; height: 2px; background: currentColor;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--clr-navy);
  overflow: hidden;
  padding-block: 88px var(--sp-12);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0.4;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,16,40,0.85) 0%, rgba(10,16,40,0.5) 55%, rgba(10,16,40,0.18) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-6);
}
.hero__eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1.5px;
  background: var(--clr-accent);
  flex-shrink: 0;
}

.hero h1 { color: var(--clr-white); margin-bottom: var(--sp-5); }

.hero h1 .accent-word { position: relative; display: inline-block; }
.hero h1 .accent-word::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 3px;
  background: var(--clr-accent);
  border-radius: 2px;
}

.hero__strapline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-8);
  max-width: 50ch;
  line-height: 1.7;
  margin-inline: auto;
}

.hero__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: center; }

/* === Page Header (inner pages) =============================
   Fixed header is 88px — add that to top padding so content clears the nav. */
.page-header {
  background: var(--clr-navy);
  color: var(--clr-white);
  padding-top: calc(88px + var(--sp-16));
  padding-bottom: var(--sp-16);
}
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: var(--sp-4);
  color: var(--clr-white);
}
.page-header__intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 55ch;
}

/* === Two-column intro grid ================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.intro-grid__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--clr-surface);
}
.intro-grid__image img { width: 100%; height: 100%; object-fit: cover; }
.intro-grid__body .section-label { margin-bottom: var(--sp-4); }
.intro-grid__body h2              { margin-bottom: var(--sp-5); }
.intro-grid__body p               { color: var(--clr-muted); margin-bottom: var(--sp-4); }

/* === Services split (home page) — B&K Sectors layout =======
   Left col: label + heading (extralight) + intro
   Right col: numbered list + view-all link */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.services-split__intro .section-label { margin-bottom: var(--sp-5); }

/* Large, light-weight heading — matches B&K's extralight sector heading */
.services-split__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  color: var(--clr-text);
}

.services-split__intro .section-intro {
  color: var(--clr-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 46ch;
}

/* ── Services numbered list — B&K sector list style */
.services-list { margin: 0; padding: 0; }

/* Each item is a full-width link — number left, name right, arrow on hover */
.services-list__item {
  border-top: 1px solid var(--clr-border);
}
.services-list__item:last-child { border-bottom: 1px solid var(--clr-border); }

.services-list__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: 1.1rem;
  gap: var(--sp-5);
  color: var(--clr-text);
  text-decoration: none;
  transition: color var(--ease);
  position: relative;
}

/* Number — light weight, muted, fixed width */
.services-list__num {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--clr-muted);
  width: 40px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  transition: color var(--ease);
}

/* Service name — medium weight, large */
.services-list__name {
  font-size: 1.15rem;
  font-weight: 500;
  flex: 1;
  transition: padding-left var(--ease), color var(--ease);
  letter-spacing: -0.01em;
}

/* Arrow — appears from right on hover */
.services-list__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: transparent;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  flex-shrink: 0;
}
.services-list__arrow svg {
  width: 11px; height: 11px;
  stroke: var(--clr-navy);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hover state — slide name right, reveal arrow */
.services-list__link:hover .services-list__name {
  padding-left: var(--sp-4);
  color: var(--clr-navy);
}
.services-list__link:hover .services-list__num { color: var(--clr-accent); }
.services-list__link:hover .services-list__arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--clr-surface);
}

.services-list__footer {
  margin-top: var(--sp-8);
}

/* === Cards (services.html) ================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-10);
}
.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-top: 2px solid var(--clr-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.07); transform: translateY(-2px); }
.card__icon {
  width: 44px; height: 44px;
  background: rgba(13,27,62,0.05);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
}
.card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--clr-navy); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 1rem; color: var(--clr-text); margin-bottom: var(--sp-3); }
.card p  { font-size: 0.875rem; color: var(--clr-muted); margin-bottom: var(--sp-5); max-width: 100%; }
.card__link {
  font-size: 0.82rem; font-weight: 600; color: var(--clr-navy);
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap var(--ease);
}
.card__link:hover { text-decoration: underline; text-underline-offset: 3px; gap: 0.6rem; }

/* === Clients band ========================================== */
.clients-band {
  background: var(--clr-white);
  padding-block: var(--sp-10);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.clients-band__inner {
  display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap;
}
.clients-band__text { font-size: 0.95rem; color: var(--clr-muted); max-width: 55ch; }
.clients-band__text strong { color: var(--clr-text); }
.clients-band__tags { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clr-muted);
  border: 1px solid var(--clr-border);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius);
}

/* === CTA Band ============================================== */
.cta-band { background: #1b2f5a; padding-block: var(--sp-16); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-8); flex-wrap: wrap;
}
.cta-band h2 { color: var(--clr-white); font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 40ch; }
.cta-band p  { color: rgba(255,255,255,0.6); margin-top: var(--sp-3); max-width: 45ch; }

/* === About: Values ========================================= */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5); margin-top: var(--sp-10);
}
.value-item {
  padding: var(--sp-6);
  border-top: 2px solid var(--clr-accent);
  background: var(--clr-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.value-item h3 { font-size: 0.95rem; font-weight: 700; color: var(--clr-text); margin-bottom: var(--sp-3); }
.value-item p  { font-size: 0.875rem; color: var(--clr-muted); }

/* === About: Client types =================================== */
.clients-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-5); margin-top: var(--sp-10);
}
.client-type {
  background: var(--clr-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.client-type:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.client-type__image { aspect-ratio: 16/9; background: var(--clr-surface); overflow: hidden; }
.client-type__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.client-type:hover .client-type__image img { transform: scale(1.04); }
.client-type__body { padding: var(--sp-6); border-top: 2px solid var(--clr-accent); }
.client-type__icon {
  width: 40px; height: 40px;
  background: rgba(13,27,62,0.05); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.client-type__icon svg {
  width: 20px; height: 20px;
  stroke: var(--clr-navy); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.client-type h3 { font-size: 0.95rem; font-weight: 700; color: var(--clr-text); margin-bottom: var(--sp-3); }
.client-type p  { font-size: 0.875rem; color: var(--clr-muted); max-width: 100%; }

.not-public {
  background: var(--clr-white); border-left: 3px solid var(--clr-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-4) var(--sp-6); margin-top: var(--sp-8);
  font-size: 0.86rem; color: var(--clr-muted);
}
.not-public strong { color: var(--clr-text); }

/* === Services page ========================================= */
.services-group { margin-bottom: var(--sp-16); }
.services-group:last-child { margin-bottom: 0; }
.services-group__label {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clr-text);
  border-left: 2px solid var(--clr-accent); padding-left: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-5);
}
.service-item {
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
  background: var(--clr-white); transition: box-shadow var(--ease);
}
.service-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.service-item__num {
  font-size: 2.4rem; font-weight: 800;
  color: rgba(2, 126, 245, 0.35);
  line-height: 1; margin-bottom: var(--sp-4); letter-spacing: -0.04em;
}
.service-item h3 { font-size: 1rem; font-weight: 700; color: var(--clr-text); margin-bottom: var(--sp-3); }
.service-item p  { font-size: 0.875rem; color: var(--clr-muted); max-width: 100%; }

/* === Gallery =============================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4); margin-top: var(--sp-8);
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--clr-surface); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { font-size: 0.72rem; color: var(--clr-muted); text-align: center; margin-top: var(--sp-4); font-style: italic; }

/* === Testimonial =========================================== */
.pullquote-section { padding-block: var(--sp-16); background: var(--clr-surface); }
.pullquote { max-width: 760px; margin-inline: auto; text-align: center; padding: var(--sp-8); position: relative; }
.pullquote__mark {
  font-family: Georgia, serif; font-size: 6rem;
  color: rgba(13, 27, 62, 0.07);
  position: absolute; top: -1.5rem; left: 0; line-height: 1; user-select: none;
}
.pullquote blockquote {
  font-size: clamp(1rem, 2.5vw, 1.25rem); font-style: italic;
  color: var(--clr-navy); line-height: 1.75; margin-bottom: var(--sp-6); position: relative;
}
.pullquote cite {
  font-style: normal; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--clr-muted);
}
.pullquote cite::before {
  content: ''; display: block; width: 2rem; height: 1.5px;
  background: var(--clr-accent); margin: 0 auto var(--sp-4);
}

/* === Contact =============================================== */
.contact-layout { display: grid; grid-template-columns: 5fr 8fr; gap: var(--sp-12); align-items: start; }
.contact-details {
  background: var(--clr-navy); color: var(--clr-white);
  padding: var(--sp-10); border-radius: var(--radius-lg);
  position: sticky; top: 108px;
}
.contact-details h2 {
  font-size: 1.4rem; font-weight: 700; color: var(--clr-white);
  margin-bottom: var(--sp-8); padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-detail { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail__icon { flex-shrink: 0; width: 22px; margin-top: 2px; }
.contact-detail__icon svg {
  width: 20px; height: 20px;
  stroke: var(--clr-accent); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.contact-detail strong {
  display: block; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: var(--sp-1);
}
.contact-detail p { font-size: 0.9rem; color: rgba(255,255,255,0.78); max-width: 100%; }
.contact-detail a { color: rgba(255,255,255,0.78); transition: color var(--ease); }
.contact-detail a:hover { color: var(--clr-white); }

.contact-form-wrap {
  background: var(--clr-white); padding: var(--sp-10);
  border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
}
.contact-form-wrap h2 { font-size: 1.6rem; color: var(--clr-text); margin-bottom: var(--sp-2); }
.contact-form-wrap .section-intro { margin-bottom: var(--sp-8); }
.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--clr-text); margin-bottom: var(--sp-2); letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem; color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--clr-navy);
  box-shadow: 0 0 0 3px rgba(13,27,62,0.08);
}
.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-honeypot { display: none; visibility: hidden; position: absolute; }
.form-submit { margin-top: var(--sp-2); }
.form-privacy { font-size: 0.72rem; color: var(--clr-muted); margin-top: var(--sp-4); max-width: 100%; }

/* === Footer ================================================ */
.site-footer {
  background: var(--clr-navy); color: rgba(255,255,255,0.5);
  padding-block: var(--sp-16) var(--sp-8); font-size: 0.85rem;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-10); }
.footer__brand .nav__logo { margin-bottom: var(--sp-5); }
.footer__about { line-height: 1.7; max-width: 30ch; }
.footer__col h4 {
  color: rgba(255,255,255,0.85); font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: var(--sp-5);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__links a { transition: color var(--ease); }
.footer__links a:hover { color: var(--clr-white); }
.footer__address { font-style: normal; line-height: 1.9; }
.footer__address a { transition: color var(--ease); }
.footer__address a:hover { color: var(--clr-white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: var(--sp-6);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-4); font-size: 0.75rem;
}

/* === Legal strip (about page) ==============================
   Slim registration details band, sits between main and footer. */
.legal-strip {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-4);
}
.legal-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2) var(--sp-5);
  font-size: 0.72rem;
  color: var(--clr-muted);
  text-align: center;
  letter-spacing: 0.01em;
}
.legal-strip__sep { color: var(--clr-border); }
@media (max-width: 600px) { .legal-strip__sep { display: none; } }

/* === Thank You ============================================= */
.thankyou-wrap {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding-block: var(--sp-20); background: var(--clr-surface);
}
.thankyou-wrap .checkmark {
  width: 72px; height: 72px;
  background: rgba(2,126,245,0.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-6); border: 1.5px solid rgba(2,126,245,0.22);
}
.thankyou-wrap .checkmark svg {
  width: 32px; height: 32px;
  stroke: var(--clr-navy); fill: none; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.thankyou-wrap h1 { color: var(--clr-text); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: var(--sp-4); }
.thankyou-wrap p  { color: var(--clr-muted); margin-inline: auto; margin-bottom: var(--sp-8); }

/* === Utilities ============================================= */
.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;
}
.text-center   { text-align: center; }
.text-center p { margin-inline: auto; }
.mt-4  { margin-top: var(--sp-4); }  .mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }  .mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }

/* === Responsive — 768px ==================================== */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed; top: 88px; left: 0; right: 0;
    background: var(--clr-navy);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-4) var(--sp-6) var(--sp-8);
    border-top: 1.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform 0.26s cubic-bezier(0.4,0,0.2,1), opacity 0.26s cubic-bezier(0.4,0,0.2,1);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: all; }

  .nav__links > li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav__links > li:last-child { border-bottom: none; padding-top: var(--sp-4); }

  .nav__links > li > a:not(.nav__cta) {
    display: block; padding: var(--sp-4) 0; font-size: 1rem;
    border-bottom: none; color: rgba(255,255,255,0.78);
  }
  .nav__links > li > a:not(.nav__cta):hover { color: var(--clr-white); }

  /* nav__cta in mobile drawer */
  .nav__links .nav__cta {
    display: flex; align-items: center;
    padding: var(--sp-4) 0;
    color: rgba(255,255,255,0.78);
  }
  .nav__links .nav__cta-icon { background: rgba(255,255,255,0.1); }
  .nav__links .nav__cta-icon svg { stroke: rgba(255,255,255,0.78); }
  .nav__links .nav__cta:hover { color: var(--clr-white); }
  .nav__links .nav__cta:hover .nav__cta-icon { background: rgba(255,255,255,0.2); }
  .nav__links .nav__cta:hover .nav__cta-icon svg { stroke: var(--clr-white); }

  .hero { min-height: 90vh; padding-bottom: var(--sp-16); }

  .services-split        { grid-template-columns: 1fr; gap: var(--sp-10); }

  .intro-grid            { grid-template-columns: 1fr; }
  .intro-grid__image     { order: -1; aspect-ratio: 16/9; }

  .contact-layout        { grid-template-columns: 1fr; }
  .contact-details       { position: static; }

  .footer__grid          { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__about         { max-width: 100%; }

  .form-row              { grid-template-columns: 1fr; }

  .cta-band__inner       { flex-direction: column; text-align: center; }
  .cta-band__inner p     { margin-inline: auto; }
  .cta-band h2           { max-width: 100%; }

  .clients-band__inner   { flex-direction: column; }

  .pullquote             { padding: var(--sp-6) var(--sp-4); }
  .pullquote__mark       { font-size: 4.5rem; }
}

/* === Responsive — 480px ==================================== */
@media (max-width: 480px) {
  :root { --container-px: var(--sp-4); --sp-20: 3.5rem; --sp-16: 3rem; }
  .hero          { min-height: 80vh; }
  .hero__actions { flex-direction: column; }
  .btn           { width: 100%; }
  .section       { padding-block: var(--sp-12); }
  .gallery-grid  { grid-template-columns: 1fr; }
  .clients-grid  { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .cards-grid    { grid-template-columns: 1fr; }
  .services-list__name { font-size: 1rem; }
}
