/* ==========================================================================
   Northlight Events — style.css
   All site styles. No inline styles are used in the HTML.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #16242e;
  --ink-2: #2c4356;
  --muted: #5d7181;
  --cream: #fdf9f3;
  --paper: #ffffff;
  --teal: #0f5c6b;
  --teal-dark: #0b4552;
  --teal-deep: #0a3540;
  --teal-soft: #e4f0f2;
  --coral: #e06a4e;
  --coral-dark: #c2523a;
  --gold: #e9b44c;
  --gold-soft: #fdf3dd;
  --blush: #f6e3de;
  --line: #e7ddd0;
  --shadow-sm: 0 2px 8px rgba(22, 36, 46, 0.08);
  --shadow-md: 0 10px 30px rgba(22, 36, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 53, 64, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

body.is-locked { overflow: hidden; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; }

p { margin: 0 0 1em; }

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

a:hover { color: var(--teal-dark); }

address { font-style: normal; }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--font);
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); color: #fff; }

.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal-soft); color: var(--teal-dark); }

.btn--ghost { background: rgba(255, 255, 255, 0.9); color: var(--ink-2); border-color: var(--line); }
.btn--ghost:hover { background: #fff; }

.btn--soft { background: var(--teal-soft); color: var(--teal-dark); }
.btn--soft:hover { background: #d3e7ea; }

.btn--link {
  background: none;
  border: none;
  color: var(--teal);
  padding: 4px 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn--link:hover { color: var(--teal-dark); }

.btn--lg { font-size: 1.08rem; padding: 16px 32px; }
.btn--sm { font-size: 0.9rem; padding: 10px 18px; }
.btn--xs { font-size: 0.82rem; padding: 4px 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand__logo svg { display: block; border-radius: 12px; box-shadow: var(--shadow-sm); }

.brand__text { display: flex; flex-direction: column; line-height: 1.25; }

.brand__name { font-weight: 800; font-size: 1.22rem; letter-spacing: 0.2px; }

.brand__tag { font-size: 0.76rem; color: var(--muted); }

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

.site-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }

.site-nav a.is-active { background: var(--teal); color: #fff; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 44px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--teal-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(233, 180, 76, 0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fbf2e7 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  background: var(--gold-soft);
  color: #8a6414;
  border: 1px solid #f0dcae;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__trust strong { color: var(--teal-dark); }

.hero__media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}

/* ---------- Stats ---------- */
.stats { background: var(--teal-deep); color: #eaf4f5; padding: 34px 0; }

.stats__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.stat__label { font-size: 0.9rem; color: #bcd6d9; }

/* ---------- Article ---------- */
.article { padding: 64px 0 20px; }

.article--narrow { max-width: 860px; }

.article__head { max-width: 46em; margin-bottom: 28px; }

.article__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.4px;
}

.article__meta { color: var(--muted); font-size: 0.92rem; }

.lead { font-size: 1.14rem; color: var(--ink-2); }

.article__section { margin: 46px 0; }

.article__section > h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  position: relative;
  padding-bottom: 12px;
}

.article__section > h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

.check-list, .numbered { margin: 0 0 1em; padding-left: 0; }

.check-list { list-style: none; }

.check-list li {
  position: relative;
  padding: 6px 0 6px 34px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.numbered { list-style: none; counter-reset: tip; }

.numbered li {
  position: relative;
  counter-increment: tip;
  padding: 8px 0 8px 46px;
}

.numbered li::before {
  content: counter(tip);
  position: absolute;
  left: 0; top: 8px;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.fine-print { font-size: 0.84rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card__body h3 { margin: 0; font-size: 1.16rem; }

.card__body p { color: var(--ink-2); font-size: 0.96rem; flex: 1; margin: 0; }

.card__body .btn { align-self: flex-start; }

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 26px 0 0;
  padding: 0;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step img { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; }

.step h3 { font-size: 1.06rem; margin-bottom: 8px; }

.step p { font-size: 0.94rem; color: var(--ink-2); margin: 0; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.gallery__item { margin: 0; }

.gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__thumb:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

.gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.gallery__item figcaption {
  padding-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 26px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan--featured {
  border: 2px solid var(--coral);
  box-shadow: var(--shadow-md);
}

.plan__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 { margin: 0; font-size: 1.2rem; }

.plan__price { margin: 0; color: var(--muted); font-size: 0.98rem; }

.plan__price strong { font-size: 1.9rem; color: var(--teal-dark); font-weight: 800; }

.plan ul { margin: 0 0 6px; padding-left: 20px; color: var(--ink-2); font-size: 0.95rem; flex: 1; }

.plan li { margin-bottom: 6px; }

.plan .btn { align-self: stretch; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.split--reverse .split__media { order: 2; }

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
  width: 100%;
}

/* ---------- Testimonials carousel ---------- */
.carousel { margin-top: 8px; }

.carousel__viewport { overflow: hidden; border-radius: var(--radius); }

.carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.carousel__track.pos-0 { transform: translateX(0); }
.carousel__track.pos-1 { transform: translateX(-100%); }
.carousel__track.pos-2 { transform: translateX(-200%); }
.carousel__track.pos-3 { transform: translateX(-300%); }
.carousel__track.pos-4 { transform: translateX(-400%); }

.carousel__slide { flex: 0 0 100%; }

.carousel__slide blockquote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
}

.carousel__slide blockquote p {
  font-size: 1.12rem;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.carousel__slide footer { color: var(--muted); font-size: 0.94rem; font-weight: 600; }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.carousel__dots { display: flex; gap: 8px; }

.carousel__dot {
  width: 12px; height: 12px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #d8cfc2;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel__dot.is-active { background: var(--coral); transform: scale(1.25); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }

.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq__item h3 { margin: 0; }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font: 700 1.02rem/1.4 var(--font);
  color: var(--ink);
  cursor: pointer;
}

.faq__question:hover { background: var(--teal-soft); }

.faq__question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.faq__question[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq__answer { padding: 0 22px 18px; color: var(--ink-2); }

.faq__answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(180deg, #f6ede1 0%, var(--cream) 100%);
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
  position: relative;
}

.contact__copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  margin-top: 22px;
}

.contact-card h3 { margin-bottom: 10px; font-size: 1.12rem; }

.contact-card p { margin-bottom: 8px; }

.contact-card__hours { color: var(--muted); font-size: 0.9rem; }

.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.quote-form,
.form-success {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.quote-form h3 { font-size: 1.3rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d9cfc0;
  border-radius: var(--radius-sm);
  background: #fffdf9;
  font: 400 1rem/1.4 var(--font);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 92, 107, 0.14);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid { border-color: var(--coral); }

.field-error { color: var(--coral-dark); font-size: 0.85rem; margin: 6px 0 0; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); }

.form-success { grid-column: 2; border-color: #bcd9c4; background: #f4faf5; }

.form-success h3 { color: #1d6b3f; }

.form-success__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: #cfe2e4;
  padding-top: 56px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col p { font-size: 0.94rem; }

.footer-col ul { list-style: none; margin: 0; padding: 0; }

.footer-col li { margin-bottom: 8px; }

.footer-col a { color: #cfe2e4; text-decoration: none; }

.footer-col a:hover { color: var(--gold); text-decoration: underline; }

.brand--footer { margin-bottom: 14px; }
.brand--footer .brand__name { color: #fff; }

.social { display: flex; gap: 10px; margin-top: 16px; }

.social__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.social__btn:hover { background: var(--coral); transform: translateY(-2px); }

.footer-hours { font-size: 0.88rem; color: #9fbfc2; }

.newsletter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.newsletter input {
  flex: 1 1 160px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: 400 0.95rem/1.3 var(--font);
}

.newsletter input::placeholder { color: #a9c6c9; }

.newsletter input:focus { outline: 2px solid var(--gold); }

.newsletter .field-error { color: #ffb4a1; width: 100%; }

.newsletter-ok { color: #b7e4c4; font-size: 0.9rem; width: 100%; margin: 0; }

.footer-col .btn--link { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 0.88rem;
}

.footer-bottom__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { margin: 0; }

.footer-bottom a { color: #cfe2e4; }

.footer-bottom .btn--link { color: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  background: #10262e;
  color: #e8f2f3;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  padding: 18px 0;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cookie-banner__text { flex: 1 1 420px; }

.cookie-banner__text strong { font-size: 1.05rem; }

.cookie-banner__text p { margin: 6px 0 0; font-size: 0.92rem; color: #bcd6d9; }

.cookie-banner__text a { color: var(--gold); }

.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-banner .btn--ghost { background: transparent; color: #e8f2f3; border-color: rgba(255, 255, 255, 0.4); }
.cookie-banner .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.cookie-banner .btn--link { color: var(--gold); }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 36, 0.6);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  width: min(560px, 100%);
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow: auto;
}

.modal__panel h2 { font-size: 1.4rem; }

.modal__intro { color: var(--ink-2); font-size: 0.96rem; }

.cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #fbf7f0;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.cookie-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); }

.modal__actions { display: flex; gap: 12px; margin-top: 18px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(8, 18, 22, 0.92);
  display: grid;
  place-items: center;
  padding: 40px 70px;
}

.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; max-width: min(960px, 100%); }

.lightbox__figure img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox__figure figcaption {
  color: #e8f2f3;
  text-align: center;
  padding-top: 16px;
  font-size: 0.98rem;
}

.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.lightbox__close:hover { background: var(--coral); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.lightbox__nav:hover { background: var(--coral); }

.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- Misc widgets ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 120;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.to-top:hover { background: var(--teal-dark); }

body.cookie-open .to-top { bottom: 150px; }

body.cookie-open .toast { bottom: 170px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 210;
  background: var(--ink);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(560px, 90vw);
  text-align: center;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal-on-scroll animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__media { order: -1; }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .form-success { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 12px 24px 20px;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; gap: 2px; }

  .site-nav a { padding: 12px 16px; border-radius: 10px; }

  .nav-toggle { display: flex; }

  .header-cta .btn { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats__row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .lightbox { padding: 24px 12px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .quote-form, .form-success { padding: 24px 20px; }
  .modal__panel { padding: 24px 20px; }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
