/* ===== Tokens ===== */
:root {
  --ink: #121212;
  --ink-soft: #2a2a26;
  --paper: #ffffff;
  --paper-soft: #f5f3ec;
  --yellow: #ffde00;
  --yellow-deep: #e0bf00;
  --muted: #5b584f;
  --muted-on-dark: #b8b6ac;
  --border: #e7e4d8;
  --border-dark: #3a3934;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --fs-900: clamp(2.35rem, 1.9rem + 3.6vw, 4.6rem);
  --fs-800: clamp(1.75rem, 1.45rem + 2vw, 2.75rem);
  --fs-700: 1.4rem;
  --fs-500: clamp(1.02rem, 0.95rem + 0.5vw, 1.15rem);
  --fs-400: 1rem;
  --fs-300: 0.875rem;

  --max: 1180px;
  --radius: 14px;
  --pad-inline: clamp(1.25rem, 4.5vw, 1.75rem);
  --section-pad: clamp(3.5rem, 3rem + 4vw, 6.5rem);
  --grid-gap: clamp(1.1rem, 1vw + 0.8rem, 1.5rem);
}

/* ===== Reset ===== */
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 700; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section--dark :focus-visible, .contact :focus-visible { outline-color: var(--yellow); }

/* ===== Reusable ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  color: var(--muted);
}
.eyebrow--dark { color: var(--ink); }
.eyebrow--light { color: var(--muted-on-dark); }

.highlight {
  background: none;
  color: inherit;
  position: relative;
  padding: 0 0.1em;
  font-weight: 700;
  white-space: nowrap;
}
.highlight::before {
  content: "";
  position: absolute;
  left: -0.12em; right: -0.1em; bottom: 0.05em; top: 0.32em;
  background: var(--yellow);
  z-index: -1;
  transform: rotate(-0.6deg);
  border-radius: 2px 6px 3px 7px / 4px 3px 6px 2px;
}
.section--dark .highlight,
.contact .highlight { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.9rem 1.6rem;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--primary:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); width: 100%; }
.btn--outline:hover { background: var(--ink); color: var(--yellow); }
.btn--full { width: 100%; }

.section { padding: var(--section-pad) 0; }
.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--ink); color: var(--paper); }
.section__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-inline); }
.section__inner--narrow { max-width: 760px; }
.section__title { font-size: var(--fs-800); max-width: 20ch; margin-bottom: 1rem; }
.section__title--light { color: var(--paper); }
.section__lead { font-size: var(--fs-500); color: var(--muted); max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section--dark .section__lead { color: var(--muted-on-dark); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0.9rem var(--pad-inline);
  display: flex; align-items: center; gap: 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; flex-shrink: 0; }
.logo__pin { display: inline-flex; flex-shrink: 0; align-items: center; }
.logo__pin img { height: 1.9rem; width: auto; display: block; }
.logo__mark { background: var(--yellow); padding: 0.05em 0.28em; border-radius: 4px; margin-right: 0.05em; }
.nav__links { display: flex; gap: 1.6rem; margin-right: auto; flex-wrap: nowrap; }
.nav__links a { font-weight: 600; font-size: 0.92rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; transition: border-color 0.15s ease; white-space: nowrap; }
.nav__links a:hover { border-color: var(--yellow-deep); }
.nav__cta { flex-shrink: 0; padding: 0.65rem 1.3rem; font-size: 0.9rem; min-height: 40px; }
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; margin: -3px; background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav__toggle span { display: block; width: 22px; 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); }

/* ===== Hero ===== */
.hero__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--pad-inline) clamp(2.5rem, 4vw, 4rem);
  display: grid; grid-template-columns: 1.05fr 0.85fr; gap: clamp(2rem, 4vw, 3rem); align-items: center;
}
.hero__title { font-size: var(--fs-900); font-weight: 800; margin-bottom: 1.5rem; }
.hero__lead { font-size: var(--fs-500); color: var(--muted); max-width: 46ch; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__graphic { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 420px; margin: 0 auto; }
.graphic__dotgrid {
  position: absolute; inset: 6%;
  background-image: radial-gradient(var(--border) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  border-radius: 50%;
}
.graphic__blob {
  position: absolute; inset: 12%;
  background: var(--paper-soft);
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.graphic__pin { position: absolute; color: var(--ink); width: clamp(90px, 30vw, 140px); }
.graphic__pin .pin-hole { fill: var(--yellow); }
.graphic__pin .pin-shadow { fill: var(--ink); opacity: 0.1; }
.graphic__pin--main { left: 50%; top: 38%; transform: translate(-50%, -50%); opacity: 0; animation: pinDrop 0.9s cubic-bezier(.2,.9,.3,1.3) 0.15s forwards; }
.graphic__pin--a { left: 18%; top: 62%; width: clamp(30px, 10vw, 46px); opacity: 0; animation: pinFade 0.6s ease 0.75s forwards; }
.graphic__pin--b { left: 74%; top: 24%; width: clamp(22px, 7.5vw, 34px); opacity: 0; animation: pinFade 0.6s ease 0.95s forwards; }
@keyframes pinDrop {
  0% { opacity: 0; transform: translate(-50%, -140%) scale(0.9); }
  60% { opacity: 1; transform: translate(-50%, -46%) scale(1.03); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes pinFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .graphic__pin--main, .graphic__pin--a, .graphic__pin--b { opacity: 1; animation: none; }
  .graphic__pin--main { transform: translate(-50%, -50%); }
}

.trustbar { border-top: 1px solid var(--border); background: var(--paper-soft); }
.trustbar__inner {
  max-width: var(--max); margin: 0 auto; padding: 1rem var(--pad-inline);
  display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); text-align: center;
}
.trustbar .dot { color: var(--yellow-deep); }

/* ===== Services ===== */
.grid--services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--grid-gap);
}
.card {
  background: var(--paper); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.4rem, 3vw, 1.75rem);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--yellow-deep); transform: translateY(-4px); box-shadow: 0 12px 30px -18px rgba(0,0,0,0.25); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--paper-soft);
  color: var(--ink); margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Process ===== */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 1.75rem);
  margin-top: 1rem;
}
.process__step { border-top: 2px solid var(--border-dark); padding-top: 1.25rem; }
.process__num { font-family: var(--font-mono); color: var(--yellow); font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 0.75rem; }
.process__step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--paper); }
.process__step p { color: var(--muted-on-dark); font-size: 0.95rem; }

/* ===== Coverage ===== */
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--border-dark); border-radius: 999px;
  padding: 0.6rem 1.1rem; font-weight: 600; font-size: 0.92rem;
  color: var(--ink); background: var(--paper);
}
.chip svg { color: var(--yellow-deep); flex-shrink: 0; }

/* ===== Pricing ===== */
.grid--pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}
.price-card {
  background: var(--paper); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 1.9rem);
  display: flex; flex-direction: column; position: relative;
}
.price-card--featured { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.price-card--featured .price-card__desc,
.price-card--featured .price-card__terms { color: var(--muted-on-dark); }
.price-card--featured li { color: var(--paper); }
.price-card--featured li::before { color: var(--yellow); }
.price-card__badge {
  position: absolute; top: -0.8rem; left: 1.9rem; background: var(--yellow); color: var(--ink);
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.price-card__desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.price-card__amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; margin-bottom: 0.15rem; }
.price-card__terms { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-card ul { margin-bottom: 2rem; flex-grow: 1; }
.price-card li { position: relative; padding-left: 1.4rem; margin-bottom: 0.7rem; font-size: 0.93rem; color: var(--ink); }
.price-card li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: var(--yellow-deep); }

.payment-note {
  display: flex; align-items: flex-start; justify-content: center; gap: 0.7rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.1rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  font-size: 0.98rem; font-weight: 700; color: var(--ink);
  line-height: 1.5;
  max-width: 680px; margin-left: auto; margin-right: auto; text-align: left;
  box-shadow: 4px 4px 0 var(--ink);
}
.payment-note svg { color: var(--ink); flex-shrink: 0; margin-top: 0.2rem; }
.payment-note strong { text-decoration: underline; text-underline-offset: 3px; }

/* ===== FAQ ===== */
.faq__item {
  border-bottom: 1.5px solid var(--border);
  padding: 1.35rem 0;
}
.faq__item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--yellow-deep); flex-shrink: 0; transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin-top: 0.9rem; font-size: 0.96rem; max-width: 62ch; }
.faq__item p strong { color: var(--ink); background: var(--yellow); padding: 0.05rem 0.35rem; border-radius: 4px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact__lead { color: var(--muted-on-dark); font-size: var(--fs-500); margin: 1.25rem 0 2rem; max-width: 42ch; }
.contact__details { display: flex; flex-direction: column; gap: 1rem; }
.contact__row { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--paper); word-break: break-word; }
.contact__row svg { color: var(--yellow); flex-shrink: 0; }
.contact__row--muted { color: var(--muted-on-dark); font-weight: 500; }
.contact__row--muted svg { color: var(--muted-on-dark); }
.contact__row--payment {
  color: var(--ink); font-weight: 700;
  background: var(--yellow); border-radius: 999px;
  padding: 0.6rem 1rem; width: fit-content;
}
.contact__row--payment svg { color: var(--ink); }

.contact__form { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); color: var(--ink); }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: 8px; background: var(--paper-soft); color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { resize: vertical; }
.field-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.9rem; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { font-size: 0.9rem; font-weight: 600; text-align: center; margin: 0; min-height: 0; }
.form-status:empty { margin: 0; }
.form-status--success { color: #1a7a3c; margin-top: 0.9rem; }
.form-status--error { color: #b5341f; margin-top: 0.9rem; }

.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--muted-on-dark); border-top: 1px solid var(--border-dark); }
.footer__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(2rem, 4vw, 2.75rem) var(--pad-inline);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 2.5rem; justify-content: space-between;
}
.footer .logo { color: var(--paper); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__links a { font-size: 0.88rem; color: var(--muted-on-dark); }
.footer__links a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 0.9rem; }
.footer__social a { color: var(--muted-on-dark); display: inline-flex; }
.footer__social a:hover { color: var(--yellow); }
.footer__copy { width: 100%; font-size: 0.78rem; color: var(--muted-on-dark); border-top: 1px solid var(--border-dark); padding-top: 1.5rem; margin-top: 0.5rem; }

/* =========================================================
   Responsive — breakpoints are per-component, not a single
   global cutoff, so each part folds at the width where it
   actually breaks (checked at 320/375/414/768/834/1024/1112px).
   ========================================================= */

/* Nav: collapse before a real laptop/iPad-landscape width runs
   out of room for 6 links + logo + CTA. */
@media (max-width: 1130px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--border);
    padding: 1rem var(--pad-inline) 1.5rem; gap: 0.25rem;
    max-height: calc(100vh - 100%); overflow-y: auto;
  }
  .nav.is-open .nav__links a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav.is-open .nav__cta { display: inline-flex; margin: 0 var(--pad-inline) 1.5rem; }
}

/* Hero + contact: stack to a single column once the two panes
   get too narrow to breathe (iPad portrait and below). */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__graphic { order: -1; max-width: min(300px, 60vw); margin-bottom: 0.5rem; }
  .contact { grid-template-columns: 1fr; }
}

/* Pricing: 3 narrow columns stop being readable below this, so
   stack and center instead of letting cards get squeezed. */
@media (max-width: 860px) {
  .grid--pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

/* Phones: tighten hero actions and give the mobile menu items
   more breathing room since thumbs, not cursors, are driving. */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .price-card__badge { left: 50%; transform: translateX(-50%); }
}

/* Small phones (SE / narrow Android): reclaim every pixel. */
@media (max-width: 380px) {
  .logo__text { font-size: 0.95rem; }
  .btn { padding: 0.85rem 1.3rem; }
}
