/* =========================================================================
   Mexico Resident Visa Services — design system
   Ink + sea + terracotta. A professional practice with Baja warmth.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
/* The palette comes straight off the logo: the green globe, the red rule under
   the wordmark, and the grey of the wordmark itself. Three more were added to
   make a system out of it: pine for the dark bands, sand for the page, and a
   muted gold for the highlights that sit on top of the dark bands. */

:root {
  /* Brand ramp */
  --green-800: #00602A;
  --green-700: #006B2E;
  --green-600: #008037;          /* logo green */
  --green-500: #0E9A48;
  --red-700: #A81703;
  --red-600: #C41B03;
  --red-500: #E42003;            /* logo red */
  --grey-600: #545454;           /* logo grey */
  --pine-900: #062A1A;
  --pine-800: #0A3A24;
  --pine-700: #0F4B2C;
  --gold-500: #E4BE84;
  --gold-700: #8C6420;
  --sand-100: #FCFAF6;
  --sand-200: #F6F3EC;

  /* Semantic, light */
  --bg: var(--sand-200);
  --bg-alt: var(--sand-100);
  --surface: #FFFFFF;
  --surface-sunk: var(--sand-100);
  --text: #333834;
  --text-muted: #5F6560;
  --heading: var(--pine-900);
  --brand: var(--green-600);
  --brand-deep: var(--green-700);
  --accent: var(--red-600);
  --accent-hover: var(--red-700);
  --accent-soft: rgba(228, 32, 3, 0.10);
  --sage: var(--gold-700);
  --sage-soft: rgba(140, 100, 32, 0.14);
  --brand-soft: rgba(0, 128, 55, 0.11);
  --on-accent: #FFFFFF;
  --line: rgba(6, 42, 26, 0.13);
  --line-soft: rgba(6, 42, 26, 0.07);
  --ring: rgba(0, 128, 55, 0.34);

  /* Dark bands: hero, panels, CTA strip, footer. Identical in both themes, so
     every colour that lands on top of them is declared once, here. */
  --band-1: #062A1A;
  --band-2: #0A3A24;
  --band-3: #0F4B2C;
  --band-text: #DCE9E0;
  --band-text-soft: rgba(220, 233, 224, .82);
  --band-hi: var(--gold-500);
  --band-red: #F08163;
  --footer-bg: #04190F;

  --shadow-sm: 0 1px 2px rgba(6, 42, 26, .06), 0 2px 6px rgba(6, 42, 26, .05);
  --shadow-md: 0 2px 4px rgba(6, 42, 26, .05), 0 10px 26px -8px rgba(6, 42, 26, .18);
  --shadow-lg: 0 4px 8px rgba(6, 42, 26, .05), 0 26px 56px -16px rgba(6, 42, 26, .26);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .80rem + .10vw, .88rem);
  --step-0: clamp(1rem, .97rem + .16vw, 1.09rem);
  --step-1: clamp(1.15rem, 1.09rem + .30vw, 1.35rem);
  --step-2: clamp(1.38rem, 1.26rem + .58vw, 1.75rem);
  --step-3: clamp(1.65rem, 1.44rem + 1.05vw, 2.35rem);
  --step-4: clamp(1.98rem, 1.55rem + 1.60vw, 3.15rem);
  --step-5: clamp(2.35rem, 1.55rem + 3.60vw, 4.30rem);

  /* Space and shape */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;
  --wrap: 1180px;
}

/* Semantic, dark */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08150F;
    --bg-alt: #0A1C13;
    --surface: #0F2418;
    --surface-sunk: #0B1B12;
    --text: #C6D6C9;
    --text-muted: #92A497;
    --heading: #EDF5EF;
    --brand: #4FBE7B;
    --brand-deep: #86D9A3;
    --accent: #FF7057;
    --accent-hover: #FF9179;
    --accent-soft: rgba(255, 112, 87, 0.16);
    --sage: #E4BE84;
    --sage-soft: rgba(228, 190, 132, 0.16);
    --brand-soft: rgba(79, 190, 123, 0.15);
    --on-accent: #1A0C08;
    --line: rgba(186, 216, 196, 0.17);
    --line-soft: rgba(186, 216, 196, 0.09);
    --ring: rgba(79, 190, 123, 0.5);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .34);
    --shadow-md: 0 10px 26px -8px rgba(0, 0, 0, .58);
    --shadow-lg: 0 26px 56px -16px rgba(0, 0, 0, .68);
  }
}

:root[data-theme="dark"] {
  --bg: #08150F;
  --bg-alt: #0A1C13;
  --surface: #0F2418;
  --surface-sunk: #0B1B12;
  --text: #C6D6C9;
  --text-muted: #92A497;
  --heading: #EDF5EF;
  --brand: #4FBE7B;
  --brand-deep: #86D9A3;
  --accent: #FF7057;
  --accent-hover: #FF9179;
  --accent-soft: rgba(255, 112, 87, 0.16);
  --sage: #E4BE84;
  --sage-soft: rgba(228, 190, 132, 0.16);
  --brand-soft: rgba(79, 190, 123, 0.15);
  --on-accent: #1A0C08;
  --line: rgba(186, 216, 196, 0.17);
  --line-soft: rgba(186, 216, 196, 0.09);
  --ring: rgba(79, 190, 123, 0.5);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .34);
  --shadow-md: 0 10px 26px -8px rgba(0, 0, 0, .58);
  --shadow-lg: 0 26px 56px -16px rgba(0, 0, 0, .68);
}

/* ---------- 2. Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 0, "WONK" 0;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0 0 .6em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }

img, svg { max-width: 100%; height: auto; display: block; }
strong { color: var(--heading); font-weight: 600; }

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

::selection { background: var(--accent); color: var(--on-accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--heading); color: var(--bg);
  padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 780px); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor;
  border-radius: 2px; flex: none;
}
.section-head--center .eyebrow::before { display: none; }

.lead {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
}
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

/* ---------- 4. Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background-color .18s,
              border-color .18s, box-shadow .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); box-shadow: var(--shadow-lg); }

.btn--solid { background: var(--heading); color: var(--bg); }
.btn--solid:hover { background: var(--brand-deep); color: var(--bg); }

.btn--ghost { border-color: var(--line); color: var(--heading); background: transparent; }
.btn--ghost:hover { border-color: var(--heading); color: var(--heading); background: var(--surface); }

.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.6); }

.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #17904a; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.section-head--center .btn-row, .text-center .btn-row { justify-content: center; }

/* ---------- 5. Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.6rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-family: var(--font-body); font-weight: 800;
  font-size: 1.02rem; color: var(--grey-600); letter-spacing: -.005em;
  text-transform: uppercase;
}
.brand__sub {
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red-500); font-weight: 700;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-size: .95rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  padding: .55rem .8rem; border-radius: var(--r-full);
  transition: color .16s, background-color .16s;
}
.nav a:hover { color: var(--heading); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--heading); font-weight: 600; }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: .78rem 1.25rem; font-size: .93rem; }

/* The in-nav CTA exists for the mobile drawer only */
@media (min-width: 921px) { .nav .btn { display: none; } }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer; color: var(--heading);
}
.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: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 4.6rem 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: .6rem var(--gutter) 1.4rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    max-height: calc(100dvh - 4.6rem); overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem .4rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1.05rem; }
  .nav .btn { margin-top: 1.1rem; }
}

/* ---------- 6. Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(168deg, var(--band-1) 0%, var(--band-2) 48%, var(--band-3) 100%);
  color: var(--band-text);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 55% at 78% 12%, rgba(224, 164, 88, .22), transparent 62%),
    radial-gradient(50% 45% at 8% 88%, rgba(193, 85, 47, .20), transparent 65%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6rem) clamp(4.25rem, 9vw, 7rem);
}
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 em {
  font-style: normal;
  color: var(--band-hi);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero__lead {
  font-size: var(--step-1);
  color: rgba(230, 239, 245, .84);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero .eyebrow { color: var(--band-hi); }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem;
  margin-top: 2.6rem; padding-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero__badge { display: flex; gap: .7rem; align-items: flex-start; max-width: 15rem; }
.hero__badge svg { width: 20px; height: 20px; color: var(--band-hi); flex: none; margin-top: .2rem; }
.hero__badge b { display: block; color: #fff; font-size: .96rem; font-weight: 600; line-height: 1.3; }
.hero__badge span { font-size: .85rem; color: rgba(230,239,245,.68); line-height: 1.45; }

.hero__art { position: relative; }

/* Gustavo, cut out and standing on the green band. The two rings behind him
   echo the globe in the logo and stop the photo from floating loose. */
.hero__art--photo {
  display: flex; align-items: flex-end; justify-content: center;
}
.hero__art--photo::before {
  content: ""; position: absolute; z-index: 0;
  left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(31rem, 112%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    rgba(228, 190, 132, .26), rgba(228, 190, 132, .06) 56%, transparent 72%);
}
.hero__art--photo::after {
  content: ""; position: absolute; z-index: 0;
  left: 50%; bottom: 5%; transform: translateX(-50%);
  width: min(26rem, 96%); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(228, 190, 132, .30);
}
.hero__art--photo img {
  position: relative; z-index: 1;
  width: min(26rem, 100%); height: auto;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .45));
  /* the photo stops at the hips, so fade the cut instead of showing it */
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
}

.hero__note {
  position: absolute; left: -1rem; bottom: -1.8rem; z-index: 2;
  background: var(--surface); color: var(--text);
  border-radius: var(--r-md); padding: .95rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .9rem;
  max-width: 18rem;
}
.hero__note strong {
  display: block; font-size: 1.6rem; font-family: var(--font-display);
  line-height: 1; color: var(--accent); white-space: nowrap;
}
.hero__note span { font-size: .82rem; color: var(--text-muted); line-height: 1.35; }
.hero__note { text-decoration: none; transition: transform .18s, box-shadow .18s; }
a.hero__note:hover { transform: translateY(-2px); color: var(--text); }
.hero__note .stars {
  display: block; color: #E8A33D; letter-spacing: .1em;
  font-size: .95rem; margin-bottom: .1rem;
}

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 540px; }
  /* on a phone the photo is the hook, not the whole first screen */
  .hero__art--photo { max-width: 22rem; margin-inline: auto; }
  .hero__art--photo img { width: min(17rem, 100%); }
  .hero__art--photo::before { width: min(20rem, 118%); }
  .hero__art--photo::after { width: min(17rem, 100%); }
  .hero__note { position: static; margin-top: 1.1rem; max-width: none; }
}

/* Wave divider */
.wave { display: block; width: 100%; height: auto; color: var(--bg); margin-top: -1px; }
.wave--alt { color: var(--bg-alt); }
.wave--surface { color: var(--surface); }

/* ---------- 7. Trust strip ---------- */

.trust { background: var(--surface); border-block: 1px solid var(--line-soft); }
.trust__inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(1.9rem, 3.5vw, 2.8rem);
}
.trust__item { text-align: center; }
.trust__num {
  font-family: var(--font-display); font-size: var(--step-3);
  color: var(--heading); line-height: 1; font-weight: 600;
  display: block; margin-bottom: .35rem;
}
.trust__num small { font-size: .55em; color: var(--accent); }
.trust__label { font-size: .88rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- 8. Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
  position: relative;
  display: flex; flex-direction: column;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line); }
a.card { text-decoration: none; color: inherit; }
a.card:hover h3 { color: var(--accent); }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .96rem; }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--brand-soft); color: var(--brand-deep);
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--accent { background: var(--accent-soft); color: var(--accent-hover); }
.card__icon--sage { background: var(--sage-soft); color: var(--sage); }
.card__foot { margin-top: auto; padding-top: 1.2rem; }
.card__more {
  font-size: .92rem; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .2s;
}
.card--link:hover .card__more { gap: .7rem; }
.card__more svg { width: 1em; height: 1em; }

.tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .68rem; border-radius: var(--r-full);
  background: var(--accent-soft); color: var(--accent-hover);
  margin-bottom: .9rem; align-self: flex-start;
}
.tag--sage { background: var(--sage-soft); color: var(--sage); }

/* ---------- 9. Steps ---------- */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  padding-bottom: clamp(1.9rem, 3.5vw, 2.7rem);
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 3;
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--accent);
  z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute;
  left: 1.7rem; top: 3.6rem; bottom: .4rem;
  width: 2px; margin-left: -1px;
  background: linear-gradient(var(--line), var(--line-soft));
}
.step h3 { font-size: var(--step-1); margin-bottom: .35rem; padding-top: .55rem; }
.step p { color: var(--text-muted); font-size: .97rem; }
.step__meta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sage); margin-top: .7rem;
}
.step__meta svg { width: 14px; height: 14px; }

/* ---------- 10. Split feature ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }

.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.check-list li { display: grid; grid-template-columns: 1.55rem 1fr; gap: .8rem; align-items: start; }
.check-list li::before {
  content: ""; width: 1.55rem; height: 1.55rem; border-radius: 50%; margin-top: .12rem;
  background: var(--sage-soft) no-repeat center / .82rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008037' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check-list--x li::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C41B03' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.check-list li::before { grid-column: 1; grid-row: 1 / span 2; }
.check-list b { grid-column: 2; grid-row: 1; color: var(--heading); }
.check-list span { grid-column: 2; grid-row: 2; color: var(--text-muted); font-size: .95rem; }

/* ---------- 11. Highlight panel ---------- */

.panel {
  background: linear-gradient(155deg, var(--band-1), var(--band-3));
  color: var(--band-text);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4.5vw, 3.6rem);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.panel::before {
  content: ""; position: absolute; right: -12%; top: -35%;
  width: 34rem; height: 34rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,177,131,.22), transparent 66%);
  pointer-events: none;
}
.panel > * { position: relative; }
.panel h2, .panel h3, .panel h4 { color: #fff; }
.panel p { color: rgba(230,239,245,.82); }
.panel .eyebrow { color: var(--band-hi); }
.panel .check-list li::before {
  background-color: rgba(242,177,131,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4BE84' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.panel .check-list b { color: #fff; }
.panel .check-list span { color: rgba(230,239,245,.7); }

.day-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  margin-top: 2rem;
}
.day {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
}
.day__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--band-hi); display: block; margin-bottom: .5rem;
}
.day h4 { color: #fff; font-size: 1.02rem; margin-bottom: .35rem; }
.day p { font-size: .89rem; color: rgba(230,239,245,.72); line-height: 1.5; }

/* ---------- 12. Quote ---------- */

.quote {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.quote blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--heading);
  font-variation-settings: "SOFT" 30;
}
.quote figcaption { font-size: .88rem; color: var(--text-muted); }
.quote figcaption b { display: block; color: var(--heading); font-size: .95rem; }

/* ---------- 13. FAQ ---------- */

.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-weight: 600; color: var(--heading);
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.05rem; height: 1.05rem;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C41B03' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .24s cubic-bezier(.2,.7,.3,1);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--accent); }
.faq__body { padding: 0 1.35rem 1.35rem; color: var(--text-muted); font-size: .97rem; }
.faq__body > :first-child { margin-top: 0; }

/* ---------- 14. Contact & forms ---------- */

.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start;
}

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list > li > a, .contact-list > li > .item {
  display: grid; grid-template-columns: 2.9rem 1fr; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 1.05rem 1.2rem;
  text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.contact-list > li > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line); }
.contact-list i {
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.contact-list i svg { width: 1.15rem; height: 1.15rem; }
.contact-list .wa i { background: rgba(31,168,85,.15); color: #1FA855; }
.contact-list .mail i { background: var(--brand-soft); color: var(--brand-deep); }

/* ---------- 14b. Portrait, rating and reviews ---------- */

.portrait { margin: 0; }
.portrait img {
  width: 100%; height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.portrait figcaption {
  margin-top: .9rem; font-size: .88rem; color: var(--text-muted); line-height: 1.5;
}
.portrait figcaption b { display: block; color: var(--heading); font-size: 1rem; }

.rating {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  gap: .35rem .85rem;
}
.rating__score {
  font-family: var(--font-display); font-size: var(--step-4);
  font-weight: 600; color: var(--heading); line-height: 1;
}
.rating__stars { color: #E8A33D; font-size: var(--step-2); letter-spacing: .1em; }
.rating__meta { color: var(--text-muted); font-size: .92rem; width: 100%; text-align: center; }

.review {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
}
.review__stars { color: #E8A33D; letter-spacing: .12em; font-size: .95rem; }
.review blockquote {
  margin: 0; font-size: .99rem; line-height: 1.6; color: var(--text); flex: 1;
}
.review figcaption { font-size: .85rem; color: var(--text-muted); }
.review figcaption b { display: block; color: var(--heading); font-size: .96rem; }

.map-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-card iframe { display: block; width: 100%; border: 0; }
.map-card__note {
  margin: 0; padding: 1rem 1.3rem;
  font-size: .86rem; color: var(--text-muted);
  border-top: 1px solid var(--line-soft);
}
.aside-box {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.aside-box__title {
  font-size: .84rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .8rem;
}
.contact-list i { grid-column: 1; grid-row: 1 / span 2; }
.contact-list b { grid-column: 2; grid-row: 1; color: var(--heading); font-size: 1rem; line-height: 1.3; }
.contact-list small { grid-column: 2; grid-row: 2; color: var(--text-muted); font-size: .85rem; }
.contact-list b a { color: inherit; text-decoration: none; }
.contact-list b a:hover { color: var(--brand-deep); }
.contact-list small a { color: var(--brand-deep); }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .87rem; font-weight: 600; color: var(--heading); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: .82rem .95rem;
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .75; }
.form__note { font-size: .84rem; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- 15. CTA band ---------- */

.cta-band {
  background: linear-gradient(140deg, var(--band-1), var(--band-3) 70%);
  color: var(--band-text);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(228,190,132,.16), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--band-text-soft); font-size: var(--step-1); max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }
.band-aside {
  margin-top: 1.4rem; font-size: .88rem;
  color: rgba(220, 233, 224, .58);
}

/* ---------- 16. Footer ---------- */

.site-footer {
  background: var(--footer-bg);
  color: rgba(220, 232, 240, .72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--band-red); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: clamp(1.8rem, 4vw, 3.4rem);
  padding-bottom: 2.5rem;
}
.site-footer h4 {
  color: #fff; font-family: var(--font-body);
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 1.1rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer a { color: rgba(220,232,240,.72); text-decoration: none; }
.site-footer a:hover { color: var(--band-hi); }
.site-footer__about { max-width: 36ch; margin-top: 1.1rem; line-height: 1.6; }
.footer-aside { font-size: .84rem; color: rgba(220,233,224,.45); padding-top: .35rem; }
.footer-aside a { color: rgba(220,233,224,.62); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between;
  font-size: .84rem; color: rgba(220,232,240,.5);
}
.disclaimer {
  margin-top: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .79rem; line-height: 1.6; color: rgba(220,232,240,.45);
  max-width: 92ch;
}

/* ---------- 17. Floating e-mail button ---------- */

.mail-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--green-600); color: #fff;
  padding: .85rem 1.15rem; border-radius: var(--r-full);
  font-weight: 600; font-size: .93rem; text-decoration: none;
  box-shadow: 0 10px 28px -6px rgba(0,128,55,.5);
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.mail-float:hover {
  background: var(--green-700); color: #fff; transform: translateY(-3px);
  box-shadow: 0 16px 34px -8px rgba(0,128,55,.6);
}
.mail-float svg { width: 1.3rem; height: 1.3rem; flex: none; }
@media (max-width: 560px) { .mail-float span { display: none; } .mail-float { padding: .95rem; } }

/* ---------- 18. Page hero (interior pages) ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--band-1), var(--band-3));
  color: var(--band-text);
  padding-block: clamp(2.6rem, 6vw, 4.4rem) clamp(3rem, 6.5vw, 5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -60%;
  width: 30rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,177,131,.20), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--step-4); }
.page-hero p { color: rgba(230,239,245,.82); font-size: var(--step-1); max-width: 58ch; }
.page-hero .eyebrow { color: var(--band-hi); }
.breadcrumb { font-size: .85rem; color: rgba(230,239,245,.6); margin-bottom: 1rem; }
.breadcrumb a { color: var(--band-text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--band-hi); }

/* ---------- 19. Prose ---------- */

.prose h2 { font-size: var(--step-3); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.9em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; display: grid; gap: .5rem; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table-scroll { overflow-x: auto; margin-bottom: 1.4em; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); }
.prose th {
  color: var(--heading); font-weight: 700; font-size: .78rem;
  letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
}
.prose tbody tr:hover { background: var(--surface-sunk); }

.callout {
  background: var(--surface-sunk);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sage);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  font-size: .94rem;
  margin: 1.6em 0;
}
.callout b { color: var(--heading); }
.callout--warn { border-left-color: var(--accent); }

/* ---------- 20. Reveal on scroll ---------- */

/* Scoped to html.js — the class is set by an inline script in <head>. Without
   scripting the sections must simply be there, never invisible. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1);
  }
  html.js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 21. Utilities ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
