/* Easy Landing Málaga — site styles
   Palette sampled from the brand logo. Single stylesheet, no framework. */

/* ---------- fonts (self-hosted: no third-party request, no EU privacy issue) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/hind-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/hind-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/hind-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- tokens ---------- */
:root {
  --ink: #1b1e22;
  --ink-2: #3b4249;
  --muted: #5f6871;
  --muted-2: #8a929b;
  --line: #e4ddd3;
  --line-2: #f0ebe4;
  --paper: #ffffff;
  --paper-2: #fbf8f4;
  --paper-3: #f5efe7;

  --red: #c1222a;
  --red-dark: #9d1a21;
  --red-tint: #fceceb;
  --sand: #c7b29b;
  --sand-dark: #a08d78;
  --sand-tint: #f3ece3;
  --sea: #a4d9e7;
  --sea-deep: #2e7d92;
  --sea-tint: #eaf6fa;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27,30,34,.05), 0 2px 8px rgba(27,30,34,.04);
  --shadow-md: 0 2px 6px rgba(27,30,34,.06), 0 14px 34px rgba(27,30,34,.08);

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Hind", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.09rem);
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 1.02rem + .45vw, 1.3rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--sea-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--sand { background: var(--sand-tint); }
.section--line { border-top: 1px solid var(--line-2); }
.lede { font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem); color: var(--muted); line-height: 1.58; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sand-dark); margin: 0 0 1rem;
}
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-bottom: 0; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .82em 1.5em; border-radius: 100px; border: 1.5px solid transparent; white-space: nowrap;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--invert { background: #fff; color: var(--ink); }
.btn--invert:hover { background: var(--paper-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow {
  font-family: var(--font-display); font-weight: 600; color: var(--red);
  text-decoration: none; display: inline-flex; align-items: center; gap: .4em;
}
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.topbar {
  background: var(--ink); color: #d9d5cf; font-size: .84rem;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: flex-end; padding-block: .45rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .8; }

.header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; line-height: 1.08; white-space: nowrap;
  color: var(--ink); font-size: 1.02rem; letter-spacing: -.01em; text-transform: uppercase;
}
.brand__name span { display: block; color: var(--sand-dark); font-weight: 600; letter-spacing: .05em; font-size: .86em; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem; white-space: nowrap;
  text-decoration: none; color: var(--ink-2); padding: .5rem .7rem; border-radius: 8px;
}
.nav a:hover { background: var(--paper-3); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--red); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.lang {
  display: flex; align-items: center; gap: 2px; border: 1px solid var(--line);
  border-radius: 100px; padding: 3px; background: var(--paper);
}
.lang a {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; color: var(--muted); padding: .28rem .62rem; border-radius: 100px;
}
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem; box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .8rem .4rem; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1.05rem; }
  .header__cta { display: none; }
}
@media (max-width: 520px) {
  .brand__name { font-size: .9rem; }
  .brand img { width: 38px; height: 38px; }
  .topbar__inner { justify-content: center; }
  .topbar .topbar__phone2 { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(19,22,26,.82) 0%, rgba(19,22,26,.62) 48%, rgba(19,22,26,.28) 100%),
    linear-gradient(to top, rgba(19,22,26,.65), rgba(19,22,26,0) 55%);
}
.hero__inner { padding-block: clamp(4rem, 12vw, 8.5rem); max-width: 42rem; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #fff; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .55vw, 1.32rem); color: #e8e4dd; line-height: 1.6; margin-bottom: 2rem; }
.hero__note { margin: 1.5rem 0 0; font-size: .92rem; color: #bdb8b0; }

.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line-2); }
.page-hero__inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 50rem; }
.page-hero h1 { margin-bottom: .35em; }

.crumbs { font-size: .86rem; color: var(--muted-2); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45em; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45em; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* ---------- pillar cards ---------- */
.pillar {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem 1.5rem;
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.pillar:hover { border-color: var(--sand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--sand-tint);
  display: grid; place-items: center; margin-bottom: .9rem; color: var(--sand-dark);
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: .35rem; }
.pillar p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.pillar .link-arrow { margin-top: auto; font-size: .95rem; }

/* ---------- stats ---------- */
.stat { border-top: 3px solid var(--sand); padding-top: 1.1rem; }
.stat__value {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3rem); line-height: 1; letter-spacing: -.03em;
}
.stat__label { font-weight: 500; color: var(--ink-2); margin: .45rem 0 .3rem; }
.stat__source { font-size: .8rem; color: var(--muted-2); line-height: 1.45; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--red); letter-spacing: .06em; display: block; margin-bottom: .7rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body p:last-of-type { margin-bottom: 0; }
.split__body .btn-row, .split__body .link-arrow { margin-top: 1.4rem; }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
}
.section--tint .card, .section--sand .card { background: var(--paper); }
.card h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

.numbered { counter-reset: n; }
.numbered .card { position: relative; padding-top: 1.2rem; }
.numbered .card::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  color: var(--sand-dark); letter-spacing: .08em; display: block; margin-bottom: .55rem;
}

/* ---------- checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; max-width: 52rem; }
.checklist li {
  position: relative; padding-left: 2.1rem; margin: 0; color: var(--ink-2);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.3rem; height: 1.3rem;
  border-radius: 50%; background: var(--sea-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d92' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .8rem no-repeat;
}

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
  color: var(--ink); line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c1222a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--red); }
.faq__answer { padding: 0 0 1.3rem; color: var(--muted); max-width: 46rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- prose ---------- */
.prose { max-width: 46rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band__inner {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; max-width: 20ch; }
.cta-band p { color: #c3bfb8; margin: 0; max-width: 48ch; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .38rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--red); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .85rem; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea-deep); box-shadow: 0 0 0 3px rgba(46,125,146,.15);
}
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .28rem; accent-color: var(--red); }
.field--check label { font-weight: 400; font-family: var(--font-body); font-size: .93rem; color: var(--muted); line-height: 1.5; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__status { margin: 0; padding: .9rem 1.1rem; border-radius: 10px; font-size: .97rem; }
.form__status[data-state="ok"] { background: var(--sea-tint); color: #1d5566; border: 1px solid #bfe3ed; }
.form__status[data-state="error"] { background: var(--red-tint); color: var(--red-dark); border: 1px solid #f2cfcd; }
.form__status[hidden] { display: none; }

.contact-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
}
.contact-card h2 { font-size: 1.25rem; letter-spacing: -.01em; margin-bottom: 1.25rem; }
.contact-intro { margin-bottom: 2rem; }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: .28em; color: var(--red); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.contact-list .meta { display: block; font-size: .84rem; color: var(--muted-2); font-weight: 400; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b4b0a9; font-size: .95rem; }
.site-footer a { color: #e3e0da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__brand img { width: 46px; height: 46px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--sand); }
.footer h2 {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; margin-bottom: 1rem; font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer li { margin: 0; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); background: var(--paper);
  transition: border-color .18s, color .18s;
}
.socials a:hover { border-color: var(--red); color: var(--red); }
.socials svg { width: 19px; height: 19px; }
.site-footer .socials a { border-color: rgba(255,255,255,.18); color: #fff; background: transparent; }
.site-footer .socials a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #8b877f;
}
.footer__note { padding-bottom: 1.6rem; font-size: .82rem; color: #8b877f; max-width: 70ch; line-height: 1.6; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.error-page .code {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 15vw, 8rem);
  color: var(--sand); line-height: 1; letter-spacing: -.04em;
}
.error-page .lede { max-width: 34rem; margin-inline: auto; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .hero__media { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero::after { display: none; }
  .hero, .hero h1, .hero__lead { color: #000; background: #fff; }
}

/* ---------- in-page section links (long pages) ---------- */
.toc { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.toc .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: .35rem 1rem; padding-block: .85rem;
}
.toc__label {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); flex: none;
}
.toc ul { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: .35rem .7rem; border-radius: 100px; text-decoration: none;
  font-size: .89rem; color: var(--muted); white-space: nowrap;
}
.toc a:hover { background: var(--paper-3); color: var(--ink); }
@media (max-width: 620px) {
  .toc__label { width: 100%; margin-bottom: .1rem; }
  .toc a { font-size: .85rem; padding: .3rem .6rem; }
}
:target { scroll-margin-top: 7rem; }
section[id], [id] { scroll-margin-top: 7rem; }

/* ---------- byline (guides) ---------- */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin: 1.5rem 0 0; font-size: .92rem; color: var(--muted);
}
.byline a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.byline a:hover { color: var(--red); }
.byline__sep { color: var(--line); }

/* ---------- procedure (ordered steps in a guide) ---------- */
.procedure { counter-reset: p; list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.procedure__step {
  position: relative; margin: 0 0 2rem; padding-left: 3.4rem;
}
.procedure__step:last-child { margin-bottom: 0; }
.procedure__step::before {
  counter-increment: p; content: counter(p);
  position: absolute; left: 0; top: -.1em;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  display: grid; place-items: center;
}
.procedure__step h3 { margin-bottom: .45rem; }
.procedure__step p { color: var(--muted); }
.procedure__step p:last-child { margin-bottom: 0; }
.procedure__list { margin: .9rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.procedure__list li { margin-bottom: .35rem; }

/* ---------- note / caution ---------- */
.section--flush { padding-block: 0 clamp(2rem, 4.5vw, 3.25rem); }
.note {
  max-width: 52rem; border-radius: var(--radius); padding: 1.3rem 1.4rem;
  border-left: 4px solid var(--sand-dark); background: var(--sand-tint);
}
.note--warning { border-left-color: var(--red); background: var(--red-tint); }
.note--tip { border-left-color: var(--sea-deep); background: var(--sea-tint); }
.section--tint .note, .section--sand .note { background: var(--paper); border: 1px solid var(--line); border-left-width: 4px; }
.note__label {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  margin-bottom: .5rem;
}
.note p:last-child { margin-bottom: 0; }
.note p { color: var(--ink-2); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 34rem; }
.table th, .table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.table tbody th { font-weight: 600; color: var(--ink); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table td { color: var(--muted); }
.table-note { font-size: .86rem; color: var(--muted-2); margin: .8rem 0 0; max-width: 52rem; }

/* ---------- guide cards ---------- */
.guide-card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem 1.5rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.guide-card:hover { border-color: var(--sand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.guide-card h2 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); margin-bottom: .5rem; }
.guide-card p { color: var(--muted); font-size: .97rem; margin-bottom: 1.2rem; }
.guide-card .link-arrow { margin-top: auto; font-size: .95rem; }
