/*
  Availoc — marketing site styles.
  Fuente de verdad visual: /docs/brand.md
  Sin frameworks, sin dependencias externas. Mobile-first.
*/

/* ---------- Fonts (self-hosted, variable) ---------- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Fraunces-Variable.woff2") format("woff2-variations"),
       url("../fonts/Fraunces-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Inter-Variable.woff2") format("woff2-variations"),
       url("../fonts/Inter-Variable.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */

:root {
  /* Brand */
  --brand-ink: #0B2239;
  --brand-ink-soft: #16334D;
  --brand-copper: #C0803F;
  --brand-copper-soft: #E8C9A4;

  /* Neutrales cálidos */
  --sand-50: #FAF8F5;
  --sand-100: #F2EEE8;
  --sand-200: #E3DDD3;
  --stone-500: #7A756D;
  --stone-700: #4A463F;

  /* Estados del mapa (solo se usan para ilustrar el producto, nunca como acento de marca) */
  --state-available: #2E9E5B;
  --state-reserved: #F5A524;
  --state-sold: #B0A99F;
  --state-unavailable: #D6D1C9;

  /* Semántico */
  --bg-page: var(--sand-50);
  --bg-surface: #FFFFFF;
  --bg-surface-alt: var(--sand-100);
  --text-body: var(--stone-700);
  --text-muted: var(--stone-500);
  --border-subtle: var(--sand-200);
  --shadow-color: rgba(11, 34, 57, 0.08);
  --shadow-color-strong: rgba(11, 34, 57, 0.14);

  /* Type scale */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-44: 2.75rem;
  --fs-60: 3.75rem;

  --radius-card: 8px;
  --radius-chip: 4px;

  --container-w: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, p, a, ul, ol, li, img, figure, figcaption, form, label, button, input, section, header, footer, nav, details, summary {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html { -webkit-text-size-adjust: 100%; }
ul, ol { list-style: none; }
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; cursor: pointer; color: inherit; }
input { color: inherit; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-page);
  color: var(--text-body);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-16);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--brand-ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: var(--fs-44); }
h2 { font-size: var(--fs-32); }
h3 { font-size: var(--fs-24); }

@media (min-width: 640px) {
  h1 { font-size: var(--fs-60); }
  h2 { font-size: var(--fs-44); }
}

p { max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-copper);
  margin-bottom: 0.75rem;
}

/* Focus visibility — accesibilidad */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-copper);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container { padding-inline: 2rem; }
}

section[id] {
  scroll-margin-top: 76px;
}

.section {
  padding-block: 4rem;
}

@media (min-width: 960px) {
  .section { padding-block: 6.5rem; }
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.75rem;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: var(--fs-20);
  margin-top: 0.75rem;
  max-width: 46rem;
}

.section-head.centered p { margin-inline: auto; }

.section--alt { background: var(--bg-surface-alt); }

.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;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  background: var(--brand-ink);
  color: var(--sand-50);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-chip);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-card);
  font-weight: 600;
  font-size: var(--fs-16);
  line-height: 1;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-copper);
  color: var(--sand-50);
  box-shadow: 0 8px 20px -8px rgba(192, 128, 63, 0.55);
}
.btn-primary:hover { background: #A96F35; box-shadow: 0 10px 24px -8px rgba(192, 128, 63, 0.65); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--brand-ink);
  border: 1.5px solid var(--brand-ink);
}
.btn-secondary:hover { background: var(--brand-ink); color: var(--sand-50); }

.btn-on-dark.btn-secondary {
  color: var(--sand-50);
  border-color: rgba(250, 248, 245, 0.55);
}
.btn-on-dark.btn-secondary:hover {
  background: var(--sand-50);
  color: var(--brand-ink);
  border-color: var(--sand-50);
}

.btn-lg { padding: 1rem 1.85rem; font-size: var(--fs-20); }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-brand img { width: 30px; height: 30px; }

.nav-brand span {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: var(--fs-24);
  letter-spacing: -0.01em;
  color: var(--brand-ink);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--text-body);
  transition: color 0.15s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--brand-ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-copper);
  transition: width 0.2s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-chip);
  overflow: hidden;
}

.lang-switch button {
  padding: 0.4rem 0.65rem;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--brand-ink);
  color: var(--sand-50);
}

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
}
.site-header.nav-open .nav-mobile-panel { display: flex; }

.nav-mobile-panel a {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--brand-ink);
}

.nav-mobile-panel .btn { align-self: flex-start; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile-panel { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--sand-50);
  background-color: var(--brand-ink);
  background-image: url("../img/hero-aerial.jpg");
  background-image: image-set(
    url("../img/hero-aerial.webp") type("image/webp") 1x,
    url("../img/hero-aerial.jpg") type("image/jpeg") 1x
  );
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,34,57,0.78) 0%, rgba(11,34,57,0.55) 42%, rgba(11,34,57,0.88) 100%);
}

.hero-inner {
  position: relative;
  padding-block: 6.5rem 5rem;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero-inner { min-height: 85vh; padding-block: 7rem 6rem; }
}

.hero h1 {
  color: var(--sand-50);
  max-width: 18ch;
}

.hero .lede {
  margin-top: 1.5rem;
  font-size: var(--fs-20);
  color: var(--sand-100);
  max-width: 42ch;
  line-height: 1.55;
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-proof {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  font-size: var(--fs-14);
  color: var(--sand-100);
}
.hero-proof span { display: flex; align-items: center; gap: 0.5rem; }
.hero-proof svg { width: 16px; height: 16px; color: var(--brand-copper-soft); flex-shrink: 0; }

/* ---------- Problem ---------- */

.problem-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .problem-grid { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; }
}

.problem-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px var(--shadow-color-strong);
}
.problem-media img { width: 100%; height: 100%; object-fit: cover; }

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}
.problem-item:last-child { border-bottom: 0; padding-bottom: 0; }

.problem-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand-copper);
  margin-top: 0.15rem;
}

.problem-item p { color: var(--text-body); font-size: var(--fs-16); }
.problem-item strong { color: var(--brand-ink); }

/* ---------- Promises ---------- */

.promises-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .promises-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.promise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.85rem;
  box-shadow: 0 20px 40px -28px var(--shadow-color);
}

.promise-number {
  font-family: "Fraunces", serif;
  font-size: var(--fs-32);
  color: var(--brand-copper);
  margin-bottom: 1rem;
  line-height: 1;
}

.promise-card h3 { margin-bottom: 0.75rem; }
.promise-card p { color: var(--text-muted); }

/* ---------- How it works ---------- */

.how-steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 720px) {
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.how-step {
  position: relative;
  padding-top: 3.75rem;
}

.how-step .step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--brand-ink);
  color: var(--sand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-size: var(--fs-20);
  font-weight: 600;
}

.how-step h3 { margin-bottom: 0.6rem; }
.how-step p { color: var(--text-muted); }

.how-note {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-surface);
  border: 1px solid var(--brand-copper-soft);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  max-width: 52rem;
}
.how-note svg { width: 24px; height: 24px; color: var(--brand-copper); flex-shrink: 0; margin-top: 0.1rem; }
.how-note p { color: var(--text-body); margin: 0; max-width: none; }
.how-note strong { color: var(--brand-ink); }

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.85rem;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature-card:hover { box-shadow: 0 20px 40px -26px var(--shadow-color-strong); transform: translateY(-2px); }

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-chip);
  background: var(--sand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--brand-ink); }

.feature-card h3 { font-size: var(--fs-20); margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: var(--fs-14); }

.feature-card.feature-wp {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}
.feature-card.feature-wp .feature-icon { background: rgba(250,248,245,0.12); }
.feature-card.feature-wp .feature-icon svg { color: var(--brand-copper-soft); }
.feature-card.feature-wp h3 { color: var(--sand-50); }
.feature-card.feature-wp p { color: var(--sand-100); }

/* ---------- Demo band ---------- */

.demo-band {
  background: var(--brand-ink);
  color: var(--sand-50);
  position: relative;
  overflow: hidden;
}
.demo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 85% 20%, rgba(192,128,63,0.22), transparent 65%);
}

.demo-band-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .demo-band-inner { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
}

.demo-band h2 { color: var(--sand-50); }
.demo-band p.lede { color: var(--sand-100); font-size: var(--fs-20); margin-top: 1rem; max-width: 42ch; }

.demo-band-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.demo-admin-note {
  margin-top: 1.5rem;
  font-size: var(--fs-14);
  color: var(--sand-100);
  display: flex;
  gap: 0.6rem;
}
.demo-admin-note svg { width: 18px; height: 18px; color: var(--brand-copper-soft); flex-shrink: 0; margin-top: 0.15rem; }

.demo-mock {
  background: var(--brand-ink-soft);
  border: 1px solid rgba(250,248,245,0.14);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.demo-mock-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: var(--fs-14);
  margin-bottom: 1.25rem;
  color: var(--sand-100);
}
.demo-mock-legend span { display: flex; align-items: center; gap: 0.4rem; }
.demo-mock-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.demo-mock-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
}
.demo-mock-grid i {
  display: block;
  aspect-ratio: 1;
  border-radius: 3px;
}

/* ---------- Pricing (un solo precio) ---------- */

.price-single {
  max-width: 44rem;
  margin-inline: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.75rem 1.75rem;
  box-shadow: 0 30px 60px -28px var(--shadow-color-strong);
}

@media (min-width: 640px) {
  .price-single { padding: 3.5rem 3rem; }
}

.price-single-main {
  text-align: center;
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-single-amount .amount {
  font-family: "Fraunces", serif;
  font-size: var(--fs-60);
  color: var(--brand-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-single-amount .period {
  display: block;
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: var(--fs-16);
  font-weight: 600;
}

.price-single-intl {
  margin: 0.85rem auto 0;
  color: var(--text-muted);
  font-size: var(--fs-14);
}

.price-single-all {
  margin: 0.5rem auto 0;
  color: var(--brand-copper);
  font-weight: 600;
  font-size: var(--fs-14);
}

.price-single-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 640px) {
  .price-single-features { grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.5rem; }
}

.price-single-features li {
  display: flex;
  gap: 0.6rem;
  font-size: var(--fs-16);
  color: var(--text-body);
}
.price-single-features svg { width: 20px; height: 20px; color: var(--brand-copper); flex-shrink: 0; margin-top: 0.1rem; }

.price-single-foot {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .price-single-foot { flex-direction: row; justify-content: space-between; text-align: left; }
}

.price-single-annual {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-body);
  font-size: var(--fs-14);
  max-width: 26rem;
}
.price-single-annual svg { width: 20px; height: 20px; color: var(--brand-copper); flex-shrink: 0; margin-top: 0.1rem; }
.price-single-annual strong { color: var(--brand-ink); }

.price-hook {
  margin: 2.5rem auto 0;
  max-width: 44rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-surface-alt);
  border: 1px solid var(--brand-copper-soft);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
}
.price-hook svg { width: 24px; height: 24px; color: var(--brand-copper); flex-shrink: 0; margin-top: 0.1rem; }
.price-hook p { color: var(--text-body); margin: 0; max-width: none; }
.price-hook strong { color: var(--brand-ink); }

.pricing-foot-note {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-14);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--brand-ink);
  font-size: var(--fs-16);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand-copper);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  max-width: none;
}

/* ---------- CTA final ---------- */

.cta-final {
  position: relative;
  color: var(--sand-50);
  text-align: center;
  background-color: var(--brand-ink);
  background-image: url("../img/sales-office.jpg");
  background-image: image-set(
    url("../img/sales-office.webp") type("image/webp") 1x,
    url("../img/sales-office.jpg") type("image/jpeg") 1x
  );
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,34,57,0.92) 0%, rgba(11,34,57,0.88) 100%);
}

.cta-final .container { position: relative; z-index: 1; }

.cta-final h2 { color: var(--sand-50); max-width: 22ch; margin-inline: auto; }
.cta-final .lede { color: var(--sand-100); font-size: var(--fs-20); margin: 1.25rem auto 0; max-width: 42ch; }
.cta-final .hero-ctas { justify-content: center; margin-top: 2.5rem; }

/* ---------- How it works — supporting photo ---------- */

.how-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 3rem;
  max-height: 320px;
  box-shadow: 0 20px 40px -28px var(--shadow-color);
}
.how-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sand-100);
  border-top: 1px solid var(--border-subtle);
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 720px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

.footer-brand { display: flex; align-items: center; gap: 0.55rem; }
.footer-brand img { width: 26px; height: 26px; }
.footer-brand span {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: var(--fs-20);
  color: var(--brand-ink);
}
.footer-tagline { margin-top: 0.6rem; color: var(--text-muted); font-size: var(--fs-14); max-width: 32ch; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}
.footer-links-group h4 {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-group a { font-size: var(--fs-14); color: var(--text-body); }
.footer-links-group a:hover { color: var(--brand-copper); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-12);
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
