/* ────────────────────────────────────────────────────────────────────
   ATTENDPOINT — Light theme
   Mirrors the brand book's interior pages: white backgrounds,
   bold red+yellow two-tone headlines, brand colors throughout.
   ──────────────────────────────────────────────────────────────────── */

:root {
  /* Official brand palette (unchanged) */
  --brand-blue: #138BCA;
  --brand-red:  #C62226;
  --brand-yellow: #DEC02E;
  --brand-green: #568941;

  /* Functional palette — light theme */
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-alt: #f3f5f8;
  --panel: rgba(10, 20, 34, 0.025);
  --panel-strong: rgba(10, 20, 34, 0.045);
  --text: #0a1422;          /* very dark navy — almost black, brand-toned */
  --text-soft: #1a2332;
  --muted: #5a6577;
  --muted-soft: #8a94a3;
  --line: rgba(10, 20, 34, 0.09);
  --line-strong: rgba(10, 20, 34, 0.16);
  --shadow: 0 22px 60px rgba(10, 20, 34, 0.10);

  --font-display: "Big Shoulders Display", "Novecento Sans Wide", "Impact", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  counter-reset: brand-section;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse at top, rgba(19, 139, 202, 0.06), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  color: var(--text-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Display typography ──────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

/* ── HERO TITLE — three-line brand-styled treatment ───────────────── */
.hero-title {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin: 22px 0 32px;
  font-weight: 800;
  display: block;
}
.hero-line {
  display: block;
  color: var(--text);
}
.hero-title em {
  font-style: normal;
  color: var(--brand-red);
}
.hero-yellow { color: var(--brand-yellow); }

/* ── SECTION TITLE — red word + yellow word + red rule ───────────── */
.section-title {
  position: relative;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 0 0 8px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--brand-red);
  max-width: max-content;
  counter-increment: brand-section;
  color: var(--brand-yellow);
}
.section-title em {
  font-style: normal;
  color: var(--brand-red);
}

.section-title::after {
  content: counter(brand-section, decimal-leading-zero);
  position: absolute;
  top: -4px;
  right: -76px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  font-family: var(--font-body);
}
.section-title.unnumbered { counter-increment: none; }
.section-title.unnumbered::after { display: none; }

.section-sub {
  margin: 18px 0 22px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.3;
  max-width: 28ch;
}

.lead, .copy-block p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  max-width: 56ch;
}
.copy-block .section-sub { color: var(--text); }

/* ── Hero eyebrow ────────────────────────────────────────────────── */
.eyebrow.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow.hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--brand-blue);
}

/* ── Header ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand-logo { height: 70px; width: auto; }
.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.top-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.top-nav a:hover, .mobile-nav a:hover { color: var(--text); }

.nav-cta {
  color: var(--text) !important;
  padding: 11px 22px;
  border: 1px solid var(--brand-blue);
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover {
  background: var(--brand-blue);
  color: #fff !important;
}

.nav-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav-linkedin:hover { opacity: 1; color: var(--brand-blue); }
.nav-linkedin svg { vertical-align: middle; }

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 9px 12px;
  font-size: 18px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 24px 22px;
  background: var(--bg);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.mobile-nav .nav-linkedin { display: flex; align-items: center; gap: 8px; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 70px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.97) 38%, rgba(255, 255, 255, 0.55) 100%),
    url("assets/bus.jpg");
  background-size: cover;
  background-position: center;
}
/* Faded yellow geometric mark on the right edge */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -120px;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  background:
    conic-gradient(from 200deg at 30% 50%,
      var(--brand-yellow) 0deg,
      var(--brand-yellow) 30deg,
      transparent 30deg,
      transparent 360deg);
  opacity: 0.10;
  pointer-events: none;
  filter: blur(2px);
}

.hero-grid, .split {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}
/* Hero specifically: top-align so image sits with the headline,
   not the vertical center of the entire copy column */
.hero .hero-grid {
  align-items: start;
}
.hero .hero-media {
  /* Nudge image down to clear the eyebrow above the H1 so its top
     edge lands against the "Attendance Points," line */
  margin-top: 36px;
}

.hero-copy > * {
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.30s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.42s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.54s; }
.hero-media {
  opacity: 0;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-points {
  display: grid;
  gap: 0;
  margin: 32px 0 36px;
  border-top: 1px solid var(--line-strong);
}
.hero-points div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: baseline;
}
.hero-points strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  margin: 0;
  color: var(--brand-blue);
}
.hero-points span {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--brand-blue);
  color: white;
  box-shadow: 0 12px 28px rgba(19, 139, 202, 0.30);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: #1aa3e6;
  box-shadow: 0 16px 32px rgba(19, 139, 202, 0.42);
}
.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  background: rgba(19, 139, 202, 0.08);
}

.hero-media img, .media-block img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}
.narrow img {
  max-width: 280px;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
  margin-inline: auto;
}

/* ── TESTIMONIAL — white card, blue left edge, yellow accent rule ── */
.testimonial-hero {
  padding: 96px 0 32px;
  position: relative;
}
.testimonial-section-title { margin-bottom: 8px; }
.testimonial-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-blue);
  border-radius: 4px;
  padding: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 64px);
  margin-top: 36px;
  box-shadow: 0 14px 50px rgba(10, 20, 34, 0.08);
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  top: 14px;
  right: 36px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 900;
  font-size: clamp(8rem, 14vw, 13rem);
  line-height: 1;
  color: var(--brand-blue);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
.testimonial-quote {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  color: var(--text);
  max-width: 64ch;
}
.testimonial-attribution {
  position: relative;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.testimonial-attribution::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brand-yellow);
}
.testimonial-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}
.testimonial-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: 116px 0; }
.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-reverse .copy-block { order: 1; }
.split-reverse .media-block { order: 2; }

/* ── Feature lists ────────────────────────────────────────────────── */
.feature-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.99rem;
}
.feature-list li strong {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  display: inline-block;
  margin-right: 6px;
}
.feature-list li strong::after {
  content: "/";
  margin-left: 8px;
  color: var(--brand-red);
  font-weight: 700;
}
.compact li {
  padding: 14px 0;
  font-size: 0.97rem;
}

/* ── Stats / mini-cards ──────────────────────────────────────────── */
.stat-grid, .mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.mini-cards { grid-template-columns: repeat(2, 1fr); }
.stat-card, .mini-cards div {
  padding: 28px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--line);
}
.stat-grid .stat-card:last-child, .mini-cards div:last-child { border-right: none; }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--brand-red);
  letter-spacing: 0;
}
.mini-cards strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--brand-blue);
}
.stat-card span, .mini-cards span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Pill row ─────────────────────────────────────────────────────── */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.pill-row span {
  padding: 9px 16px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.pill-row span:hover {
  border-color: var(--brand-blue);
  color: var(--text);
  background: rgba(19, 139, 202, 0.08);
}

/* ── Demo section / Zoho form ────────────────────────────────────── */
.demo-wrap {
  max-width: 720px;
}
.demo-wrap .copy-block { width: 100%; }

.zf-templateWidth { width: 100%; margin-top: 28px; }
.zf-templateWrapper {
  padding: 0;
  background: transparent;
  border: none;
}
.zf-tempHeadBdr { display: none; }

.zf-subContWrap { padding: 0; }
.zf-subContWrap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.zf-tempFrmWrapper { margin: 0; padding: 0; }
.zf-clearBoth { clear: both; }

.zf-labelName {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.zf-important {
  color: var(--brand-red);
  font-style: normal;
  margin-left: 2px;
}

.zf-tempContDiv input[type="text"],
.zf-tempContDiv textarea {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  font-family: var(--font-body);
  font-size: 0.97rem;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}
.zf-tempContDiv input[type="text"]:focus,
.zf-tempContDiv textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(19, 139, 202, 0.12);
}
.zf-tempContDiv input[type="text"]::placeholder,
.zf-tempContDiv textarea::placeholder {
  color: var(--muted-soft);
}
.zf-tempContDiv textarea {
  min-height: 120px;
  resize: vertical;
}

.zf-nameWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.zf-nameWrapper span {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}
.zf-nameWrapper span label {
  color: var(--muted-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zf-phwrapper { display: contents; }
.zf-tempContDiv.zf-phonefld span { display: block; }

.zf-errorMessage {
  color: var(--brand-red);
  font-size: 0.84rem;
  margin: 6px 0 0;
  padding: 0;
  font-weight: 600;
}

.zf-fmFooter {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
}
button.zf-submitColor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(19, 139, 202, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
button.zf-submitColor:hover {
  transform: translateY(-1px);
  background: #1aa3e6;
  box-shadow: 0 16px 32px rgba(19, 139, 202, 0.42);
}

/* ── FOOTER — light variant ──────────────────────────────────────── */
.site-footer {
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-logo { height: 60px; width: auto; margin-bottom: 8px; }
.site-footer h3 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.site-footer a, .muted { color: var(--muted); }
.site-footer a {
  display: block;
  margin: 10px 0;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--brand-blue); }
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.footer-logo-row .footer-logo { margin-bottom: 0; }
.footer-linkedin {
  display: inline-flex !important;
  margin: 0 !important;
  color: var(--muted);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.footer-linkedin:hover {
  color: var(--brand-blue);
  opacity: 1;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Four-color brand stripe — full-bleed at the bottom */
.site-footer::after {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--brand-yellow) 0%,  var(--brand-yellow) 25%,
    var(--brand-red) 25%,    var(--brand-red) 50%,
    var(--brand-blue) 50%,   var(--brand-blue) 75%,
    var(--brand-green) 75%,  var(--brand-green) 100%
  );
}

/* ── Honeypot (anti-bot) ─────────────────────────────────────────
   Off-screen positioning chosen over display:none because some bots
   specifically skip display:none inputs. Real users never see it. */
.ap-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ── Field row (legacy) ──────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

/* ── Image zoom hint (light theme — softer shadow on white) ──────── */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-media .zoomable:hover,
.media-block .zoomable:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(10, 20, 34, 0.20);
}
.zoomable:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

/* ── Lightbox overlay ─────────────────────────────────────────────
   The lightbox stays dark on either theme — a dark dimmer focuses
   attention on the screenshots, especially since they are dark UI.
   Colors below are explicit (not theme tokens) for that reason.
   ─────────────────────────────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 8, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body.lightbox-locked { overflow: hidden; }

.lightbox-stage {
  position: relative;
  margin: 0;
  max-width: min(1280px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.97);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lightbox-overlay.is-open .lightbox-stage { transform: scale(1); }

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  background: #0f1a2c;
  display: block;
}

.lightbox-caption {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 60ch;
  margin: 0;
}

.lightbox-counter {
  position: absolute;
  top: 28px;
  left: 36px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  text-transform: uppercase;
  pointer-events: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  padding: 0;
  font: inherit;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.lightbox-close { top: 28px; right: 36px; }
.lightbox-prev { left: 36px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 36px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

@media (max-width: 768px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-counter { top: 18px; left: 22px; font-size: 0.74rem; }
  .lightbox-close { top: 18px; right: 22px; width: 40px; height: 40px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-img { max-height: 76vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-overlay,
  .lightbox-stage,
  .zoomable {
    transition: none;
  }
  .zoomable:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.open { display: block; }
  .hero-grid, .split, .footer-grid, .stat-grid, .mini-cards, .field-row {
    grid-template-columns: 1fr;
  }
  .hero-points div { grid-template-columns: 1fr; gap: 6px; }
  .stat-grid, .mini-cards { border: none; }
  .stat-card, .mini-cards div {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .stat-grid .stat-card:last-child, .mini-cards div:last-child { border-bottom: none; }
  .hero-media, .media-block { order: 2 !important; }
  .hero .hero-media { margin-top: 24px; }
  .copy-block { order: 1 !important; }
  .footer-bottom { flex-direction: column; }
  .section-title::after { right: 0; top: -28px; }
  .section-title { padding-right: 0; }
  .hero::after { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1200px); }
  .nav-wrap { min-height: 72px; }
  .brand-logo { height: 52px; }
  .hero { padding: 64px 0 40px; }
  .section { padding: 80px 0; }
  .testimonial-hero { padding: 64px 0 24px; }
  .testimonial-card {
    border-radius: 4px;
    padding: 36px 26px;
  }
  .quote-mark {
    right: 18px;
    top: 6px;
    font-size: 6.5rem;
  }
  .testimonial-quote { font-size: 1.05rem; line-height: 1.6; }
  .zf-nameWrapper { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
}
