/* ==========================================================================
   Aberdeen Roof Repairs — site styles
   Brand (sampled from printed flyer): near-black #0d0f0e, teal #2fa98c, white
   ========================================================================== */

:root {
  --bg: #0d0f0e;
  --bg-2: #121514;
  --bg-3: #181c1a;
  --panel: #101f1a;
  --teal: #2fa98c;
  --teal-bright: #3fc7a4;
  --teal-deep: #1d7a64;
  --teal-dark: #123c31;
  --ink: #ffffff;
  --muted: #b8c4c0;
  --line: rgba(47, 169, 140, 0.35);
  --tick: #35c48f;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", Arial, sans-serif;
  --font-script: "Caveat", cursive;
  --header-h: 72px;
  --radius: 14px;
}

* { box-sizing: border-box; }

/* the hidden attribute must always win, even over display'd components like .btn */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: var(--teal-bright); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.teal { color: var(--teal-bright); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3.5rem;
  z-index: 200;
  background: var(--teal);
  color: #04120d;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-call {
  background: var(--teal);
  color: #06110d;
  box-shadow: 0 6px 18px rgba(47, 169, 140, 0.35);
}
.btn-call:hover { background: var(--teal-bright); }

.btn-ghost {
  border-color: var(--teal);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: rgba(47, 169, 140, 0.12); }

.btn .icon { width: 1.1em; height: 1.1em; flex: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 14, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(47, 169, 140, 0.18);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1.05;
}
.brand-tag {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  position: relative;
}
.site-nav a:hover { color: var(--teal-bright); }
.site-nav a[aria-current="page"] { color: var(--teal-bright); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.2rem;
  height: 2px;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: none;
  border: 1px solid rgba(47, 169, 140, 0.4);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tag { display: none; }

  .nav-toggle { display: flex; }
  .site-nav ul {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-2);
    border-bottom: 2px solid var(--teal);
    padding: 0.5rem 1rem 1rem;
    display: none;
  }
  .site-nav.open ul { display: flex; }
  .site-nav a { font-size: 1.35rem; padding: 0.8rem 0.5rem; }
  .header-call .call-label { display: none; }
  .header-call { padding: 0.6rem 0.85rem; }
}

/* --------------------------------------------------------------------------
   Flyer hero (home) — faithful replica of the printed flyer
   -------------------------------------------------------------------------- */

.flyer {
  position: relative;
  background: var(--bg);
}

.flyer-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* photo panel on the left with teal diagonal right edge (teal shows through
   the offset between the outer and inner clip paths) */
.flyer-photo {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 48%;
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  z-index: 0;
}
.flyer-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* centred horizontally, biased to the top so the roof peak and chimney pots
     never crop out — spill-over comes off the less important bottom edge */
  object-position: 50% 12%;
  clip-path: polygon(0 0, calc(100% - 6px) 0, calc(85% - 6px) 100%, 0 100%);
  filter: brightness(0.92);
}

.flyer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* column 1 tracks the photo panel's diagonal edge (48% at the top receding
     to ~41% at the foot) — sizing it to the midpoint centres the content
     optically in the dark trapezoid, not against the panel's widest point */
  width: 100%;
  margin-inline: 0;
  grid-template-columns: 42% minmax(0, 1fr);
  column-gap: clamp(0.5rem, 1.5vw, 1.5rem);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 3rem) clamp(2.2rem, 4.5vw, 3.5rem);
  /* tall enough for the 48%-wide photo to show complete (48vw × 1330/1182 ≈ 54vw),
     capped to the viewport so the hero never overflows the screen; content
     centres vertically in the extra room */
  min-height: min(54vw, calc(100vh - var(--header-h)));
  align-content: center;
}
.flyer-inner > * {
  grid-column: 2;
  justify-self: center;
}
.flyer-headline,
.flyer-script { text-align: center; }
.flyer-side { justify-items: center; }
.flyer-call { margin-inline: auto; }

/* Logo lockup */
.flyer-logo {
  /* stacked and centred so the wordmark shares one centreline with the
     headline, phone panel and checklist below it */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.5rem, 1.2vw, 0.8rem);
}
.flyer-logo-mark {
  width: clamp(64px, 7.5vw, 96px);
  height: auto;
  flex: none;
}
.flyer-logo-text {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
}
.flyer-logo-tag {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: clamp(0.66rem, 1.3vw, 0.82rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0.55rem 0 0;
  white-space: nowrap;
}
.flyer-logo-tag::before,
.flyer-logo-tag::after {
  content: "";
  flex: none;
  width: 28px; height: 1px;
  background: var(--teal);
}

/* badge sits over the photo, straddling the teal diagonal */
.flyer-badge {
  position: absolute;
  z-index: 2;
  top: clamp(1.2rem, 3vw, 2.4rem);
  left: calc(48% - clamp(240px, 20vw, 285px));
}
.badge-roundel {
  width: clamp(150px, 17vw, 210px);
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
  animation: badge-float 7s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

/* Headline + script */
.flyer-headline {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-bright);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: clamp(1.3rem, 3vw, 2.1rem) 0 0.1rem;
}
.flyer-script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--ink);
  margin: 0 0 clamp(1.3rem, 2.6vw, 1.9rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* Services band (flyer-style list, icon roundel + text) */
.flyer-servband {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: clamp(1.6rem, 3.5vw, 2.8rem) 0 clamp(2rem, 4vw, 3rem);
}
.flyer-servband .section-head { margin-bottom: 1.8rem; }
.flyer-services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem) 1.5rem;
}
.flyer-services li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.flyer-services .service-roundel {
  width: 56px; height: 56px;
  margin: 0;
  flex: none;
}
.flyer-services .service-roundel svg { width: 28px; height: 28px; }
.flyer-services h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--teal-bright);
  letter-spacing: 0.04em;
  margin: 0.15em 0 0.1em;
}
.flyer-services p {
  margin: 0;
  color: #dfe7e4;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 34ch;
}

/* Phone panel + checklist in the info column */
.flyer-side {
  display: grid;
  gap: 1.1rem;
  width: 100%;
  max-width: 620px;
  margin-top: 0.4rem;
}
.flyer-call { max-width: 480px; }
.flyer-call {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(10, 12, 11, 0.88);
  border: 2px solid var(--teal);
  border-radius: 18px;
  padding: 1rem 1.4rem 1rem 1.1rem;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.flyer-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6), 0 0 30px rgba(47, 169, 140, 0.3);
}
.flyer-call-icon {
  flex: none;
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal-bright), var(--teal-deep));
  display: grid;
  place-items: center;
}
.flyer-call-icon svg { width: 26px; height: 26px; }
.flyer-call-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(63, 199, 164, 0.8);
  animation: pulse-ring 2.6s ease-out 2s infinite;
  opacity: 0;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}
.flyer-call-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: 0.04em;
}
.flyer-call-sub {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-bright);
}
.flyer-side .flyer-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.2rem;
  max-width: none;
  background: rgba(10, 12, 11, 0.85);
  border-radius: 16px;
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.flyer-side .flyer-checklist li { font-size: 1.08rem; }

/* Bottom contact strip (flyer footer band, with up-to-date details) */
.flyer-strip {
  position: relative;
  z-index: 1;
  background: #0a0c0b;
  border-top: 2px solid var(--teal);
  padding: 1.1rem 0;
}
.flyer-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.flyer-strip-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  padding-left: 1.1rem;
  border-left: 1px solid rgba(47, 169, 140, 0.5);
  min-width: 0;
}
.flyer-strip-item:first-child { border-left: 0; padding-left: 0; }
.strip-roundel {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
}
.strip-roundel svg { width: 22px; height: 22px; }
.flyer-strip-item strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  letter-spacing: 0.03em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.flyer-strip-item small {
  display: block;
  color: var(--teal-bright);
  font-size: 0.78rem;
  line-height: 1.3;
}
a.flyer-strip-item:hover strong { color: var(--teal-bright); }
/* long email/domain strings: slightly smaller so they don't break mid-word */
.flyer-strip-item strong.strip-long { font-size: 0.9rem; letter-spacing: 0.01em; }


/* Checklist (green ticks, as on the flyer) */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  max-width: 560px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.checklist .tick {
  flex: none;
  width: 26px; height: 26px;
}

/* staggered flyer entrance (skipped entirely under reduced motion).
   Hidden state comes only from the animation's backwards fill, so if
   animations never run (crawlers, older renderers) everything stays visible. */
@media (prefers-reduced-motion: no-preference) {
  .flyer-inner > * {
    animation: hero-rise 0.7s cubic-bezier(0.22, 0.7, 0.3, 1) backwards;
  }
  .flyer-inner > :nth-child(1) { animation-delay: 0.05s; }
  .flyer-inner > :nth-child(2) { animation-delay: 0.14s; }
  .flyer-inner > :nth-child(3) { animation-delay: 0.22s; }
  .flyer-inner > :nth-child(4) { animation-delay: 0.3s; }
  .flyer-badge { animation: hero-rise 0.7s cubic-bezier(0.22, 0.7, 0.3, 1) 0.35s backwards; }
  .flyer-photo { animation: hero-rise 0.9s ease-out backwards; }
}
@keyframes hero-rise {
  from { opacity: 0; translate: 0 26px; }
}

@media (max-width: 860px) {
  .flyer-photo {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    /* full width, height from the photo's ratio — the whole shot shows */
    aspect-ratio: 1182 / 1330;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 86%);
  }
  .flyer-photo img {
    object-position: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 0 calc(86% - 5px));
  }
  .flyer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1.4rem;
  }
  .flyer-badge {
    top: 72px;
    left: auto;
    right: 0.75rem;
  }
  .flyer-badge .badge-roundel { width: 118px; }
  .flyer-inner { min-height: 0; }
  .flyer-logo-tag { letter-spacing: 0.16em; font-size: 0.62rem; }
  .flyer-side {
    width: 100%;
    max-width: 420px;
  }
  .flyer-side .flyer-checklist { grid-template-columns: 1fr; }
  .flyer-strip-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .flyer-strip-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(47, 169, 140, 0.35);
    padding-top: 0.9rem;
  }
  .flyer-strip-item:first-child { border-top: 0; padding-top: 0; }
}

/* --------------------------------------------------------------------------
   Sections & angled dividers
   -------------------------------------------------------------------------- */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.section-dark { background: var(--bg-2); }

.section-head {
  max-width: 640px;
  margin: 0 auto 2.2rem;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.section-head .lead { color: var(--muted); font-size: 1.1rem; }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   Service icon roundel (flyer hero + contact cards)
   -------------------------------------------------------------------------- */

.service-roundel {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal-bright), var(--teal-deep));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(47, 169, 140, 0.3);
}
.service-roundel svg { width: 32px; height: 32px; }

/* --------------------------------------------------------------------------
   Trust / about band
   -------------------------------------------------------------------------- */

.trust-band {
  background:
    linear-gradient(100deg, var(--panel) 55%, rgba(16, 31, 26, 0.6)),
    var(--bg-2);
  border-block: 1px solid rgba(47, 169, 140, 0.25);
}
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.trust-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(47, 169, 140, 0.35);
  transform: rotate(1.5deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.trust-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-photo { transform: none; max-height: 340px; }
}

/* --------------------------------------------------------------------------
   Home gallery teaser
   -------------------------------------------------------------------------- */

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.teaser-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(47, 169, 140, 0.25);
  aspect-ratio: 3 / 4;
}
.teaser-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.teaser-grid a:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.steps-grid li {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(47, 169, 140, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal-bright), var(--teal-deep));
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(47, 169, 140, 0.3);
}
.steps-grid h3 { font-size: 1.35rem; color: var(--teal-bright); }
.steps-grid p { color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Storm damage callout
   -------------------------------------------------------------------------- */

.storm-section { padding-top: 0; }
.storm-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem 1.5rem;
  background: linear-gradient(120deg, var(--panel), var(--bg-3));
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}
.storm-icon {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(47, 169, 140, 0.12);
  border: 1px solid rgba(47, 169, 140, 0.4);
  display: grid;
  place-items: center;
}
.storm-icon svg { width: 32px; height: 32px; }
.storm-text { flex: 1 1 320px; }
.storm-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.15em; }
.storm-text p { color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   Service areas
   -------------------------------------------------------------------------- */

.areas-section { padding-top: 0; }
.area-chips {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.area-chips li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  border: 1px solid rgba(47, 169, 140, 0.45);
  background: rgba(47, 169, 140, 0.08);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}
.areas-note { color: var(--muted); margin: 0; text-align: center; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item {
  border: 1px solid rgba(47, 169, 140, 0.25);
  border-radius: 12px;
  background: var(--bg-3);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--teal-bright);
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 70%);
  color: #06110d;
  clip-path: polygon(0 0, 100% clamp(0px, 3vw, 2.4rem), 100% 100%, 0 calc(100% - clamp(0px, 3vw, 2.4rem)));
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.cta-band { text-align: center; }
.cta-band h2 { color: #ffffff; font-size: clamp(2rem, 5vw, 3rem); }
.cta-band p { color: #eafff8; max-width: 560px; margin-inline: auto; }
.cta-band .btn-call { background: #0d0f0e; color: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.cta-band .btn-call:hover { background: #000; }

/* --------------------------------------------------------------------------
   Gallery page
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background:
    linear-gradient(110deg, rgba(13, 15, 14, 0.95), rgba(13, 15, 14, 0.75)),
    url("../images/gallery/gallery-05.jpg") center 35% / cover no-repeat;
  border-bottom: 3px solid var(--teal);
}
.page-hero { text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 0.25em; }
.page-hero .lead { color: var(--muted); max-width: 640px; margin: 0 auto; }
.page-hero .hero-stats { justify-content: center; }

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  margin: 1.3rem 0 0;
  padding: 0;
}
.hero-stats li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-stats strong {
  color: var(--teal-bright);
  font-size: 1.2em;
  margin-right: 0.35em;
}

/* Featured project cards */
.featured-projects { padding-bottom: 0.5rem; }
.project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.project-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid rgba(47, 169, 140, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.project-card:hover {
  border-color: rgba(47, 169, 140, 0.5);
  transform: translateY(-3px);
}
.project-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.project-media figure {
  margin: 0;
  position: relative;
  aspect-ratio: 3 / 4;
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.project-media figcaption {
  position: absolute;
  left: 0.55rem; bottom: 0.55rem;
  background: rgba(6, 12, 10, 0.85);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 169, 140, 0.5);
}
.project-body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  flex: 1;
}
.project-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06110d;
  background: var(--teal);
  border-radius: 999px;
  padding: 0.16rem 0.65rem;
}
.project-body h3 {
  font-size: 1.45rem;
  color: var(--teal-bright);
  margin: 0;
}
.project-body p {
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.project-body .btn {
  font-size: 1rem;
  padding: 0.55rem 1.2rem;
  margin-top: 0.4rem;
}

/* Wide gallery container — the grid gets the full width it deserves */
.container-wide {
  width: min(1500px, 100% - 2.5rem);
  margin-inline: auto;
}
.gallery-section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Filter chips + count */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.gallery-filters button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: rgba(47, 169, 140, 0.08);
  border: 1px solid rgba(47, 169, 140, 0.45);
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gallery-filters button:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}
.gallery-filters button[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #06110d;
}
.gallery-count {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.1rem;
  text-align: center;
}

.gallery {
  columns: 4 320px;
  column-gap: 1.2rem;
  padding-block: 0.5rem;
}
.gallery a {
  display: block;
  margin-bottom: 1.2rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 169, 140, 0.18);
  break-inside: avoid;
  position: relative;
}
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 169, 140, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery a:hover::after,
.gallery a:focus-visible::after { opacity: 1; }
.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
.gallery a:hover img { transform: scale(1.03); }
.gallery a.is-hidden { display: none; }

/* caption + category tag overlays */
.gallery .ph-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.8rem 0.8rem 0.65rem;
  background: linear-gradient(to top, rgba(6, 12, 10, 0.9), transparent);
  color: #ffffff;
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery .ph-tag {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  z-index: 1;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #06110d;
  background: var(--teal);
  border-radius: 999px;
  padding: 0.16rem 0.6rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery a:hover .ph-cap,
.gallery a:focus-visible .ph-cap,
.gallery a:hover .ph-tag,
.gallery a:focus-visible .ph-tag { opacity: 1; }
@media (hover: none) {
  /* touch devices can't hover — keep captions visible */
  .gallery .ph-cap { opacity: 1; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 7, 6, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}
.lightbox-btn {
  position: absolute;
  background: rgba(13, 15, 14, 0.7);
  border: 1px solid rgba(47, 169, 140, 0.5);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.lightbox-btn:hover { background: var(--teal-deep); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.lightbox-caption {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90vw, 700px);
  text-align: center;
  color: #ffffff;
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}
@media (max-width: 640px) {
  .lightbox-btn { width: 44px; height: 44px; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-3);
  border: 1px solid rgba(47, 169, 140, 0.25);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.contact-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.contact-card .service-roundel { width: 52px; height: 52px; margin: 0; flex: none; }
.contact-card .service-roundel svg { width: 26px; height: 26px; }
.contact-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-card span { color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }

.contact-form {
  background: var(--bg-3);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}
.contact-form h2 { font-size: 1.7rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-row select {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(184, 196, 192, 0.3);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 2.4rem 0.75rem 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%233fc7a4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  cursor: pointer;
}
.form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 169, 140, 0.25);
}

.form-assure {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.form-assure li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.form-assure li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--tick);
  font-weight: 700;
}

.next-steps {
  background: var(--bg-3);
  border: 1px solid rgba(47, 169, 140, 0.25);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.next-steps h2 {
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.steps-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.steps-flow li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
/* teal thread connecting the step icons */
.steps-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: -1.1rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(47, 169, 140, 0.55), rgba(47, 169, 140, 0.15));
}
.flow-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(47, 169, 140, 0.1);
  border: 1px solid rgba(47, 169, 140, 0.5);
  display: grid;
  place-items: center;
}
.flow-icon svg { width: 22px; height: 22px; }
.steps-flow strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.1rem;
}
.steps-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.map-head { margin-top: 2.5rem; text-align: center; }
.map-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.2em; }
.map-head p { color: var(--muted); margin: 0 auto; max-width: 640px; }
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(184, 196, 192, 0.3);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.9rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 169, 140, 0.25);
}
.form-note { color: var(--muted); font-size: 0.92rem; }
.form-success {
  display: none;
  background: rgba(53, 196, 143, 0.12);
  border: 1px solid var(--tick);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

.map-embed {
  border: 1px solid rgba(47, 169, 140, 0.3);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.2rem;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

/* --------------------------------------------------------------------------
   Skyline strip + footer
   -------------------------------------------------------------------------- */

.skyline-strip {
  margin-top: auto;
  line-height: 0;
  background: var(--bg-2);
}
.skyline-strip svg {
  display: block;
  width: 100%;
  height: clamp(50px, 9vw, 120px);
}
.strapline-bar {
  background: var(--teal);
  color: #06110d;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.6vw, 1.3rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  line-height: 1.3;
}

.site-footer {
  background: #0a0c0b;
  padding: 2.5rem 0 5.5rem;
  border-top: 1px solid rgba(47, 169, 140, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}
.footer-grid h3 {
  font-size: 1.1rem;
  color: var(--teal-bright);
  letter-spacing: 0.12em;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; color: var(--muted); }
.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.footer-facebook .icon {
  width: 1.3em;
  height: 1.3em;
  flex: none;
  color: var(--teal-bright);
}
.footer-bottom {
  border-top: 1px solid rgba(184, 196, 192, 0.12);
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp + mobile call bar
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 140;
  background: var(--teal);
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #06110d;
  text-decoration: none;
}
.mobile-call-bar .icon { width: 1.2em; height: 1.2em; }
@media (max-width: 700px) {
  .mobile-call-bar { display: block; }
  .whatsapp-float { bottom: 4.4rem; }
  .site-footer { padding-bottom: 7rem; }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-hero {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}
.error-hero .code {
  font-family: var(--font-head);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge-roundel,
  .flyer-call-icon::after { animation: none; }
  .btn, .flyer-call, .teaser-grid img { transition: none; }
}

/* --------------------------------------------------------------------------
   Quote request wizard
   -------------------------------------------------------------------------- */

.quote-wrap { max-width: 720px; }

.quote-card {
  background: var(--bg-3);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.quote-progress { margin-bottom: 1.4rem; }
.quote-progress-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.quote-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 169, 140, 0.18);
  overflow: hidden;
}
.quote-progress-fill {
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  transition: width 0.35s ease;
}

.q-step {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .q-step:not([hidden]) { animation: hero-rise 0.4s ease-out backwards; }
}
.q-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  padding: 0;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.q-title:focus { outline: none; }
.q-optional {
  font-size: 0.8em;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
}

/* choice cards (problem type + urgency) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}
.choice-grid-stack { grid-template-columns: 1fr; }
.choice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg);
  border: 1px solid rgba(184, 196, 192, 0.3);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.choice:hover { border-color: var(--teal); transform: translateY(-2px); }
.choice:focus-within {
  outline: 3px solid var(--teal-bright);
  outline-offset: 2px;
}
.choice:has(input:checked) {
  border-color: var(--teal);
  background: rgba(47, 169, 140, 0.12);
  box-shadow: 0 0 0 1px var(--teal);
}
.choice-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(47, 169, 140, 0.1);
  border: 1px solid rgba(47, 169, 140, 0.5);
  display: grid;
  place-items: center;
}
.choice-icon svg { width: 24px; height: 24px; }
.choice-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.choice-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 0.15rem;
}
@media (max-width: 560px) {
  .choice-grid { grid-template-columns: 1fr; }
}

/* photo upload */
.photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.1rem 0 0.8rem;
}
.photo-btn { cursor: pointer; font-size: 1.02rem; padding: 0.6rem 1.2rem; }
.photo-btn-camera { display: none; }
@media (pointer: coarse) {
  .photo-btn-camera { display: inline-flex; }
}
.photo-count { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.8rem; }
.photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 169, 140, 0.35);
}
.photo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-remove {
  position: absolute;
  top: 0.35rem; right: 0.35rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(47, 169, 140, 0.6);
  background: rgba(6, 12, 10, 0.85);
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}
.photo-remove:hover { background: var(--teal-deep); }
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* hints, errors, actions */
.q-hint {
  margin: 0.9rem 0 0;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: rgba(233, 176, 82, 0.1);
  border: 1px solid rgba(233, 176, 82, 0.55);
  color: #f0d7a8;
  font-size: 0.95rem;
}
.q-hint a { color: var(--teal-bright); }
.q-hint-emergency {
  background: rgba(47, 169, 140, 0.1);
  border-color: rgba(47, 169, 140, 0.55);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.q-error {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(214, 78, 78, 0.12);
  border: 1px solid rgba(214, 78, 78, 0.6);
  color: #f3c1c1;
  font-size: 0.98rem;
}
.q-error a { color: var(--teal-bright); }

.q-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.q-actions .q-next,
.q-actions .q-submit { margin-left: auto; }
.q-actions .btn { font-size: 1.1rem; }
@media (max-width: 480px) {
  .q-actions { flex-direction: column-reverse; }
  .q-actions .q-next,
  .q-actions .q-submit { margin-left: 0; width: 100%; }
  .q-actions .q-back { width: 100%; }
}
.q-submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }

/* success screen */
.q-done { text-align: center; padding: 1rem 0 0.5rem; }
.q-done:focus { outline: none; }
.q-done-tick {
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--teal-bright), var(--teal-deep));
  box-shadow: 0 10px 30px rgba(47, 169, 140, 0.4);
}
.q-done-tick svg { width: 38px; height: 38px; }
.q-done h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.q-done p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
