/* ==========================================================================
   Campguest — landing page
   Cartographic B2B identity: map-paper ground, hairline rules, IBM Plex Mono
   used as a "map data" voice, Archivo for display. Light-committed with a
   gentle dark adaptation; the dark "field" bands keep fixed inverse tokens.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* neutrals — cool, slight blue bias (chosen, not default grey) */
  --paper: #f5f8fd;
  --paper-2: #eef3fb;
  --surface: #ffffff;
  --ink: #10203a;
  --ink-soft: #3c4a63;
  --muted: #6b7891;
  --line: #dde5f1;
  --line-strong: #c6d2e4;

  /* brand accent — Campguest blue, spent deliberately */
  --brand: #2f6fed;
  --brand-deep: #1c4fcf;
  --brand-wash: #e7effd;

  /* map/status semantics — only where availability is shown */
  --free: #1f9d4d;
  --taken: #e0203a;
  --option: #d5880a;
  --water: #123a5e;

  /* fixed inverse palette for the dark "field" sections (theme-independent) */
  --field-bg: #0c1a2e;
  --field-bg-2: #12253c;
  --field-surface: #16304d;
  --field-ink: #eef4ff;
  --field-soft: #b7c6de;
  --field-muted: #7d8fac;
  --field-line: #24405f;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 44px);
  --section-y: clamp(76px, 11vw, 132px);
  --radius: 12px;
  --radius-sm: 8px;
  --measure: 62ch;

  --shadow-sm: 0 1px 2px rgba(16, 32, 58, 0.06), 0 2px 8px rgba(16, 32, 58, 0.06);
  --shadow-lg: 0 24px 60px -18px rgba(16, 32, 58, 0.28), 0 8px 24px -12px rgba(16, 32, 58, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1626;
    --paper-2: #0f1d31;
    --surface: #12213a;
    --ink: #eaf1ff;
    --ink-soft: #c3d0e6;
    --muted: #8695b0;
    --line: #22375a;
    --line-strong: #2e4870;
    --brand: #5b90ff;
    --brand-deep: #7aa6ff;
    --brand-wash: #14294b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 8px 24px -12px rgba(0, 0, 0, 0.45);
  }
}

:root[data-theme="dark"] {
  --paper: #0b1626;
  --paper-2: #0f1d31;
  --surface: #12213a;
  --ink: #eaf1ff;
  --ink-soft: #c3d0e6;
  --muted: #8695b0;
  --line: #22375a;
  --line-strong: #2e4870;
  --brand: #5b90ff;
  --brand-deep: #7aa6ff;
  --brand-wash: #14294b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--line) 0.9px, transparent 0.9px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: Archivo, "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 4px;
  background: var(--brand-wash);
  color: var(--brand-deep);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.15s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* ---- Layout helpers --------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--section-y);
}

.section--panel {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
}

.section__head {
  max-width: min(100%, 660px);
  margin-bottom: clamp(36px, 6vw, 60px);
}

.section__head h2 {
  max-width: 24ch;
}

.eyebrow {
  display: inline-block;
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}

.section__head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.075rem;
  max-width: var(--measure);
}

.lede {
  color: var(--ink-soft);
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  --_bg: var(--brand);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--_bg);
  color: var(--_fg);
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  --_bg: transparent;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 1.02rem;
}

.btn--on-field {
  --_fg: var(--field-bg);
  --_bg: #fff;
}
.btn--on-field:hover {
  --_bg: #dfe9ff;
}
.btn--ghost.btn--on-field {
  --_bg: transparent;
  --_fg: var(--field-ink);
  border-color: var(--field-line);
}
.btn--ghost.btn--on-field:hover {
  color: #fff;
  border-color: var(--field-soft);
}

/* ---- Header ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img {
  width: auto;
  height: 32px;
}

.site-footer .brand img {
  height: 38px;
}

/* The logo mark is dark ink on transparent — flip it to white on the
   dark header/footer so it stays legible. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img {
    filter: brightness(0) invert(1);
  }
}
:root[data-theme="dark"] .brand img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s var(--ease);
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

/* Language switcher */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.lang__btn:hover {
  border-color: var(--brand);
  color: var(--ink);
}
.lang__btn svg {
  width: 10px;
  height: 7px;
  transition: transform 0.18s var(--ease);
}
.lang.is-open .lang__btn svg {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
  z-index: 20;
}
.lang.is-open .lang__menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.lang__menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}
.lang__menu button:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.lang__menu button[aria-selected="true"] {
  color: var(--brand);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle svg {
  width: 100%;
  height: 100%;
}

/* ---- Hero ------------------------------------------------------------ */
.hero {
  padding-top: clamp(48px, 8vw, 86px);
  padding-bottom: clamp(56px, 9vw, 104px);
  overflow: clip;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.05rem);
  font-weight: 800;
}

.hero__copy p {
  margin-top: 24px;
  font-size: 1.14rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__note {
  margin-top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Hero media — phone-framed product screenshot */
.hero__media {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(300px, 76vw);
  padding: 10px;
  border-radius: 40px;
  background: linear-gradient(155deg, #26374f, #0d1728);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* ---- Logo / trust strip -------------------------------------------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding-block: 34px;
}

.trust p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 22px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Real brand logos vary in colour, format and framing, so each sits in a
   uniform white chip — a standard logo wall that reads the same in both themes. */
.logo-chip {
  display: grid;
  place-items: center;
  width: 150px;
  height: 60px;
  padding: 10px 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.logo-chip img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
}

.logo-chip:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 560px) {
  .logo-chip {
    width: 128px;
    height: 52px;
    padding: 9px 14px;
  }
}

/* ---- Field (dark inverse) sections ------------------------------------ */
.field {
  background: var(--field-bg);
  background-image: radial-gradient(var(--field-line) 0.9px, transparent 0.9px);
  background-size: 26px 26px;
  color: var(--field-soft);
  border-block: 1px solid var(--field-line);
}

.field h2 {
  color: var(--field-ink);
}

.field .eyebrow {
  color: #7fb0ff;
}

.field .section__head p {
  color: var(--field-soft);
}

/* stats */
.stats {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: clamp(22px, 3.4vw, 34px);
  border-right: 1px solid var(--field-line);
}
.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  letter-spacing: -0.03em;
  color: var(--field-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--field-muted);
  max-width: 26ch;
}

.field-split {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.field-split ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.field-split ol li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--field-line);
}
.field-split ol li:first-child {
  border-top: 0;
  padding-top: 0;
}

.field-split ol li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7fb0ff;
  padding-top: 2px;
}

.field-split ol li h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--field-ink);
}

.field-split ol li p {
  margin-top: 4px;
  font-size: 0.94rem;
  color: var(--field-muted);
}

/* ---- Spec list (feature rows) ------------------------------------------ */
.spec {
  display: grid;
  gap: 0;
}

.spec > div {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 48px);
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.spec > div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: Archivo, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.spec dd {
  margin: 0;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---- Two-column media + copy ------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 68px);
  align-items: center;
}

/* media column narrower, copy wider */
.split--media-first {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.split .eyebrow {
  margin-top: 4px;
}

.split > div > h2 {
  max-width: 20ch;
}

.split .spec {
  margin-top: 26px;
}

.split .spec > div {
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 28px);
  padding: 18px 0;
}

.split .spec dt {
  font-size: 1rem;
}

.split__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.split__list--cols {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
  margin-top: 0;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.shot--wide {
  margin-top: 0;
}

@media (max-width: 900px) {
  .split__list--cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .split__list--cols {
    grid-template-columns: 1fr;
  }
}

.split__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.split__list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--brand);
}

/* ---- Screenshots --------------------------------------------------- */
.shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.shot > img {
  width: 100%;
  height: auto;
  display: block;
}

.shot figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* Portrait app-screen shot (map / pitch modal captured on a phone). */
.shot--phone {
  max-width: 340px;
  margin-inline: auto;
  border-radius: 22px;
  border-color: var(--line-strong);
}

/* Wide desktop shot with a faux browser chrome strip. */
.shot--browser::before {
  content: "";
  display: block;
  height: 30px;
  background: linear-gradient(var(--paper-2), var(--surface));
  border-bottom: 1px solid var(--line);
}

.shot__dots {
  position: absolute;
  top: 11px;
  left: 13px;
  display: flex;
  gap: 6px;
}
.shot__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* Section 03 — the CMS shown as a two-step sequence: sign in, then dashboard. */
.cms-shots {
  display: grid;
  gap: clamp(16px, 2.6vw, 24px);
}

.cms-shots .shot > img {
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

/* ---- Integrations -------------------------------------------------------- */
.integrations {
  margin-top: clamp(40px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--field-line);
  border: 1px solid var(--field-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.integrations > div {
  background: var(--field-bg);
  padding: clamp(22px, 3vw, 30px);
}

.integrations h3 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fb0ff;
}

.integrations ul {
  margin: 16px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.integrations li {
  font-family: Archivo, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--field-ink);
}

.integrations p {
  font-size: 0.9rem;
  color: var(--field-muted);
}

.integrations__note {
  margin-top: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: var(--field-muted);
}

/* ---- Gallery ------------------------------------------------------------- */
/* Screenshots vary a lot in aspect ratio (tall phone panels, wide dashboards).
   A column flow keyed on a target column width stays responsive on its own
   (3 cols wide → 2 → 1); a height cap keeps the tall phone shots in check. */
.gallery {
  columns: 230px 4;
  column-gap: clamp(14px, 2vw, 22px);
}

.gallery .shot {
  break-inside: avoid;
  margin-bottom: clamp(16px, 2.6vw, 24px);
}

.gallery .shot > img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 360px;
  margin-inline: auto;
  background: var(--paper-2);
}

/* ---- Pricing ---------------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.tier {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier--feat {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.tier__flag {
  position: absolute;
  top: -12px;
  left: 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
}

.tier h3 {
  font-family: Archivo, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.tier__price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-wrap: balance;
}

.tier > p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.tier ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.tier ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.tier ul li::before {
  content: "→";
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}

.tiers__cta {
  margin-top: 30px;
  text-align: center;
}

/* ---- Closing CTA ---------------------------------------------------- */
.closing {
  text-align: center;
}

.closing .eyebrow {
  color: #7fb0ff;
}

.closing h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 20ch;
  margin-inline: auto;
}

.closing p {
  margin: 20px auto 0;
  max-width: 46ch;
  color: var(--field-soft);
  font-size: 1.08rem;
}

.closing__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.closing__mail {
  margin-top: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  color: var(--field-muted);
}
.closing__mail a {
  color: #7fb0ff;
}

/* ---- Footer ---------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: clamp(48px, 7vw, 76px) 76px;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 40px 24px;
}

.foot-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.site-footer .brand {
  margin-bottom: 14px;
}

.foot-about p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.foot-col h4 {
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.foot-col a:hover {
  color: var(--brand);
}

.foot-base {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 22px var(--pad) 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero__copy p {
    max-width: var(--measure);
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--field-line);
  }
  .stat:last-child {
    border-bottom: 0;
  }
  .field-split,
  .split {
    grid-template-columns: 1fr;
  }
  .integrations {
    grid-template-columns: 1fr;
  }
  .tiers {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .tier--feat {
    order: -1;
  }
  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .foot-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 840px) {
  .nav {
    position: absolute;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px var(--pad) 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
      visibility 0s linear 0.18s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .lang {
    margin-top: 10px;
  }
  .lang__menu {
    right: auto;
    left: 0;
  }
  .nav .btn {
    margin-top: 12px;
    justify-content: center;
  }
  .nav-toggle {
    display: block;
  }
}

@media (max-width: 460px) {
  .phone {
    width: min(280px, 82vw);
  }
  .spec > div,
  .split .spec > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
  .foot-base {
    flex-direction: column;
  }
}

/* ---- WhatsApp floating button ------------------------------------------- */
.wa-fab {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #05341c;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.5), var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.6), var(--shadow-sm);
}
.wa-fab svg {
  width: 22px;
  height: 22px;
  flex: none;
}

@media (max-width: 560px) {
  .wa-fab {
    padding: 13px;
  }
  .wa-fab__label {
    display: none;
  }
}

/* ---- Lightbox (gallery zoom) ------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(7, 11, 19, 0.86);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: clamp(12px, 3vw, 22px);
  right: clamp(12px, 3vw, 22px);
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.lightbox__close svg {
  width: 100%;
  height: 100%;
}

.gallery .shot--zoom img {
  cursor: zoom-in;
}
