/* ==========================================================================
   stjoewapak.org — Meksiko-reiser / Mexico tours
   Light theme, fully responsive, no external assets
   ========================================================================== */

:root {
  --sand-50:  #fffdfa;
  --sand-100: #fbf6ef;
  --sand-200: #f4ebe0;
  --sand-300: #e9dccb;

  --ink-900: #1c2a33;
  --ink-700: #33454f;
  --ink-500: #5f7280;
  --ink-400: #8496a2;

  --teal-700: #0b6a73;
  --teal-600: #0e7c86;
  --teal-500: #14939e;
  --teal-100: #dff2f3;

  --clay-600: #d1602c;
  --clay-500: #e2703a;
  --clay-100: #fceee6;

  --leaf-500: #4f9a5f;
  --white: #ffffff;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-full: 999px;

  --shadow-s: 0 1px 2px rgba(28, 42, 51, .06), 0 2px 8px rgba(28, 42, 51, .05);
  --shadow-m: 0 6px 18px rgba(28, 42, 51, .07), 0 2px 6px rgba(28, 42, 51, .04);
  --shadow-l: 0 18px 46px rgba(28, 42, 51, .10);

  --maxw: 1180px;
  --gut: 20px;
  --header-h: 76px;

  --ff-head: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
  --ff-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--sand-50);
  overflow-x: hidden;
}

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

a { color: var(--teal-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-500); }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.3px; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

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

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--sand-100); }
.section--teal { background: linear-gradient(160deg, var(--teal-100) 0%, var(--sand-100) 70%); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(34px, 5vw, 56px);
  text-align: center;
}
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { color: var(--ink-500); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-600);
  background: var(--clay-100);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.eyebrow--teal { color: var(--teal-700); background: var(--teal-100); }

.lead { font-size: 1.1rem; color: var(--ink-500); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 15px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal-600); color: var(--white); box-shadow: var(--shadow-m); }
.btn--primary:hover { background: var(--teal-700); color: var(--white); }

.btn--accent { background: var(--clay-500); color: var(--white); box-shadow: var(--shadow-m); }
.btn--accent:hover { background: var(--clay-600); color: var(--white); }

.btn--ghost { background: transparent; color: var(--teal-700); border-color: var(--teal-600); }
.btn--ghost:hover { background: var(--teal-600); color: var(--white); }

.btn--block { width: 100%; }
.btn--auto { width: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 250, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-300);
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); }

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink-900); }
.logo:hover { color: var(--ink-900); }
.logo__mark { width: 42px; height: 42px; flex: 0 0 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-family: var(--ff-head); font-weight: 700; font-size: 1.16rem; letter-spacing: -.2px; }
.logo__tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-400); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  display: block;
  padding: 10px 15px;
  border-radius: var(--radius-full);
  color: var(--ink-700);
  font-weight: 600;
  font-size: .98rem;
}
.nav a:hover, .nav a.is-active { background: var(--teal-100); color: var(--teal-700); }
.nav .nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 12px 22px; font-size: .94rem; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--sand-300);
  background: var(--white);
  border-radius: var(--radius-m);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(46px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 460px at 88% -8%, var(--teal-100) 0%, transparent 62%),
    radial-gradient(700px 420px at 4% 12%, var(--clay-100) 0%, transparent 60%),
    var(--sand-50);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}
.hero__title { margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--teal-600); }
.hero__text { font-size: 1.1rem; color: var(--ink-500); max-width: 56ch; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-s);
}
.hero__badges svg { width: 17px; height: 17px; flex: none; color: var(--teal-600); }

.hero__art { margin-top: 30px; }

/* form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-l);
}
.form-card h2, .form-card h3 { margin-bottom: 6px; }
.form-card__note { font-size: .92rem; color: var(--ink-500); margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink-900);
  background: var(--sand-50);
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-m);
  padding: 13px 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7280' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px var(--teal-100);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--clay-500); background: var(--clay-100); }
.field__error { display: none; font-size: .82rem; color: var(--clay-600); margin-top: 5px; font-weight: 600; }
.field.has-error .field__error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  color: var(--ink-500);
  margin-bottom: 18px;
  line-height: 1.5;
}
.check input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--teal-600); }
.check.has-error { color: var(--clay-600); }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  font-size: .92rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #eaf6ec; color: #2f6b3c; border: 1px solid #cbe7d1; }

.form-foot { font-size: .8rem; color: var(--ink-400); margin: 14px 0 0; text-align: center; }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-l);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-s);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: var(--teal-100); }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius-m);
  background: var(--teal-100);
  color: var(--teal-700);
  margin-bottom: 18px;
}
.card__icon svg { width: 27px; height: 27px; }
.card__icon--clay { background: var(--clay-100); color: var(--clay-600); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-500); font-size: .97rem; }

.card--flat { box-shadow: none; background: var(--sand-100); }

/* about split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.5vw, 62px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 28px; }
.stat {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  box-shadow: var(--shadow-s);
}
.stat b { display: block; font-family: var(--ff-head); font-size: 1.75rem; color: var(--teal-600); line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--ink-500); }

.check-list { list-style: none; padding: 0; margin: 0 0 6px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ink-700);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6a73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.check-list li b { color: var(--ink-900); }

/* ---------- services ---------- */
.service {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.service__top {
  padding: 26px 26px 20px;
  background: linear-gradient(140deg, var(--teal-100), var(--sand-100));
  border-bottom: 1px solid var(--sand-300);
}
.service__top--clay { background: linear-gradient(140deg, var(--clay-100), var(--sand-100)); }
.service__top svg { width: 34px; height: 34px; color: var(--teal-700); margin-bottom: 12px; }
.service__top--clay svg { color: var(--clay-600); }
.service__top h3 { margin: 0; }
.service__body { padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__body p { margin: 0; color: var(--ink-500); font-size: .97rem; }
.service__body ul { margin: 0; padding-left: 18px; font-size: .93rem; color: var(--ink-500); }
.service__body li { margin-bottom: 6px; }
.tagline {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--sand-300);
  font-size: .87rem;
  font-weight: 700;
  color: var(--teal-700);
}

/* ---------- equipment ---------- */
.equip {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-l);
  padding: 24px;
  box-shadow: var(--shadow-s);
  height: 100%;
  transition: border-color .25s ease, transform .25s ease;
}
.equip:hover { border-color: var(--teal-500); transform: translateY(-3px); }
.equip__ico {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--teal-100), var(--white));
  border: 1px solid var(--sand-300);
  color: var(--teal-700);
}
.equip__ico svg { width: 30px; height: 30px; }
.equip h3 { font-size: 1.1rem; margin-bottom: 6px; }
.equip p { margin: 0; font-size: .94rem; color: var(--ink-500); }
.equip__meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
}
.equip__meta span {
  font-size: .76rem; font-weight: 700; letter-spacing: .03em;
  background: var(--sand-100); color: var(--ink-500);
  border: 1px solid var(--sand-300);
  padding: 4px 10px; border-radius: var(--radius-full);
}

/* ---------- tours ---------- */
.tour {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--sand-300);
  background: var(--white);
  box-shadow: var(--shadow-s);
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tour:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.tour__img { height: 176px; position: relative; }
.tour__img svg { width: 100%; height: 100%; }
.tour__label {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.93);
  color: var(--teal-700);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-s);
}
.tour__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour__body h3 { margin: 0; }
.tour__body p { margin: 0; font-size: .95rem; color: var(--ink-500); }
.tour__facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tour__facts li {
  margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink-500);
  background: var(--sand-100); border-radius: var(--radius-s); padding: 5px 10px;
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-l);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-s);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 24px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--clay-500);
  color: var(--white);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-m);
}
.step h3 { margin: 8px 0 8px; font-size: 1.1rem; }
.step p { margin: 0; font-size: .94rem; color: var(--ink-500); }

/* ---------- testimonials ---------- */
.quote {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-m);
  padding: 26px 28px;
  box-shadow: var(--shadow-s);
  height: 100%;
  display: flex; flex-direction: column;
}
.quote p { font-style: italic; color: var(--ink-700); }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--clay-100);
  color: var(--clay-600);
  font-family: var(--ff-head);
  font-weight: 700;
}
.quote__who b { display: block; color: var(--ink-900); font-size: .95rem; }
.quote__who span { font-size: .82rem; color: var(--ink-400); }
.stars { color: #e0a63c; letter-spacing: 2px; margin-bottom: 10px; font-size: .95rem; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  margin-bottom: 12px;
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.faq details[open] { border-color: var(--teal-500); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 56px 19px 22px;
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
  font-family: var(--ff-head);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 20px; height: 20px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-500); font-size: .97rem; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- cta ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  border-radius: var(--radius-l);
  color: var(--white);
  padding: clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow-l);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }
.cta-band .btn--accent { justify-self: end; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand-300);
  margin: 0;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius-m);
  background: var(--teal-100);
  color: var(--teal-700);
}
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--ink-900); font-size: .95rem; }
.info-list span, .info-list a { font-size: .95rem; color: var(--ink-500); }
.info-list a { color: var(--teal-600); font-weight: 600; word-break: break-word; }

.map-frame {
  margin-top: 26px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--sand-300);
  box-shadow: var(--shadow-s);
  background: var(--teal-100);
}
.map-frame svg { width: 100%; height: 100%; display: block; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(34px, 5vw, 56px);
  background:
    radial-gradient(760px 380px at 82% 0%, var(--teal-100) 0%, transparent 60%),
    var(--sand-100);
  border-bottom: 1px solid var(--sand-300);
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { max-width: 64ch; color: var(--ink-500); margin-bottom: 0; }
.crumbs { font-size: .85rem; color: var(--ink-400); margin-bottom: 16px; }
.crumbs a { color: var(--ink-500); font-weight: 600; }
.crumbs span { margin: 0 7px; }

/* ---------- legal / prose ---------- */
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.25em; }
.prose li { color: var(--ink-700); }
.prose__meta {
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  font-size: .92rem;
  color: var(--ink-500);
  margin-bottom: 36px;
}
.prose__meta p { margin: 0; }

.toc {
  background: var(--white);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  padding: 20px 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-s);
}
.toc h2 { font-size: 1.05rem !important; margin: 0 0 12px !important; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.toc li { margin-bottom: 5px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: #c8d3da;
  padding: clamp(46px, 6vw, 72px) 0 0;
  margin-top: 0;
}
.site-footer a { color: #c8d3da; }
.site-footer a:hover { color: #7fd3da; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 40px;
}
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer p { font-size: .93rem; color: #9aabb5; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 9px; font-size: .93rem; }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-logo:hover { color: var(--white); }
.footer-logo .logo__tag { color: #8296a2; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  font-size: .86rem;
  color: #8296a2;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom ul li { margin: 0; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--sand-300);
  background: var(--white);
  color: var(--teal-700);
  box-shadow: var(--shadow-m);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 80;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 21px; height: 21px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- utils ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-600);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-m) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btn--accent { justify-self: center; }
}

@media (max-width: 900px) {
  .header-actions .btn--cta { display: none; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--sand-300);
    box-shadow: var(--shadow-l);
    padding: 14px var(--gut) 22px;
    transform: translateY(-130%);
    transition: transform .32s cubic-bezier(.22,.8,.3,1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 16px; border-radius: var(--radius-m); font-size: 1.02rem; }
  .nav .nav-cta { display: flex; margin-top: 10px; color: var(--white); }
  .nav .nav-cta:hover { background: var(--teal-700); color: var(--white); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --gut: 16px; --header-h: 68px; }
  .logo__mark { width: 36px; height: 36px; flex-basis: 36px; }
  .logo__name { font-size: 1.02rem; }
  .logo__tag { font-size: .62rem; }
  .field-row { grid-template-columns: 1fr; }
  .equip { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn:not(.btn--auto) { width: 100%; }
  .hero__badges li { font-size: .84rem; padding: 8px 13px; }
  .quote { padding: 22px 20px; }
}

@media (max-width: 380px) {
  .logo__name { font-size: .95rem; }
  .logo__tag { display: none; }
}

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

@media print {
  .site-header, .site-footer, .to-top, .burger { display: none !important; }
  body { background: #fff; }
}
