/* =====================================================================
   Alfonso Borreguero · Nutrición — Tema premium (versión CLARA)
   Editorial luminoso · crema + verde salvia + oro · fotografía real
   Autor: NMS Marketing Digital · v3.0.0
   ===================================================================== */

:root {
  /* --- Fondos claros cálidos --- */
  --page: #f6f1e8;
  --ivory: #fbf8f2;
  --cream: #f3ecdf;
  --sand: #ece2d1;
  --card: #fffdf9;

  /* --- Verde naturaleza (acento principal de marca) --- */
  --sage: #6f7d56;
  --sage-deep: #4c5739;
  --sage-soft: #8c9870;
  --forest: #2e3722;        /* momentos oscuros */
  --forest-2: #1f2718;

  /* --- Oro / champán (ajustado para fondo claro) --- */
  --gold: #b0882a;
  --gold-bright: #c9a24b;
  --gold-light: #e7cd92;
  --gold-deep: #8a6a25;
  --champagne: #e8d9b8;

  /* --- Tinta / texto --- */
  --ink: #211a10;
  --ink-body: #544b3c;
  --muted: #756a58;
  --muted-on-dark: #cdc7b4;

  /* --- Líneas --- */
  --line: rgba(33, 26, 16, 0.10);
  --line-2: rgba(33, 26, 16, 0.16);
  --line-gold: rgba(176, 136, 42, 0.34);
  --line-sage: rgba(111, 125, 86, 0.32);
  --line-on-dark: rgba(231, 205, 146, 0.18);

  /* --- Gradientes --- */
  --grad-gold: linear-gradient(135deg, #d8b25e 0%, #b0882a 52%, #8a6a25 100%);
  --grad-gold-text: linear-gradient(120deg, #b88f30 0%, #c9a24b 55%, #9c7a2e 100%);
  --grad-sage: linear-gradient(165deg, #5d6a45 0%, #3c462c 60%, #2c331f 100%);
  --grad-forest: linear-gradient(160deg, #38422a 0%, #232c19 70%, #1c2414 100%);

  /* --- Sombras --- */
  --shadow-soft: 0 18px 44px -26px rgba(43, 38, 22, 0.5);
  --shadow-lg: 0 46px 110px -40px rgba(43, 38, 22, 0.6);
  --shadow-card: 0 14px 34px -22px rgba(43, 38, 22, 0.45);

  --container: 1200px;
  --header-h: 84px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink-body);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.7; letter-spacing: 0.004em;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

/* Grano muy sutil */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.025; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Barra de progreso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 1000;
  background: var(--grad-gold); box-shadow: 0 0 12px rgba(176, 136, 42, 0.45);
  transition: width 80ms linear;
}

/* ---------- Accesibilidad ---------- */
.screen-reader-text, .skip-link {
  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:focus {
  position: fixed; top: 12px; left: 12px; z-index: 1100; width: auto; height: auto;
  padding: 12px 18px; overflow: visible; clip: auto; color: #fff; background: var(--sage); border-radius: 8px; font-weight: 700;
}
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 44px, 1340px); margin-inline: auto; }

.section { position: relative; padding: clamp(60px, 8.4vw, 116px) 0; }
.section--page { background: var(--page); color: var(--ink-body); }
.section--ivory { background: var(--ivory); color: var(--ink-body); }
.section--cream { background: var(--cream); color: var(--ink-body); }
.section--sand { background: var(--sand); color: var(--ink-body); }
.section--forest {
  background:
    radial-gradient(80% 120% at 50% -10%, rgba(176, 136, 42, 0.14), transparent 62%),
    var(--grad-forest);
  color: var(--ivory);
}

.hairline { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-gold) 20%, var(--line-gold) 80%, transparent); }

.watermark { position: absolute; pointer-events: none; user-select: none; opacity: 0.06; z-index: 0; }

/* ---------- Tipografía editorial ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-family: "Cinzel", Georgia, serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-gold); }
.eyebrow--center { justify-content: center; }
.section--forest .eyebrow { color: var(--gold-light); }

.display, .hero h1, .section-heading h2, .guide__content h2, .about__copy h2,
.local h2, .contact h2, .band__quote, .prose-page h1 {
  margin: 0; font-family: "Poppins", -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 600;
  line-height: 1.14; letter-spacing: -0.025em; color: var(--ink);
}
.section--forest :is(.section-heading h2, .contact h2, .band__quote, .display) { color: var(--ivory); }

.hero h1 { font-size: clamp(2.35rem, 4.8vw, 4rem); font-weight: 700; line-height: 1.12; }
.section-heading h2, .guide__content h2, .about__copy h2, .local h2, .contact h2 { font-size: clamp(1.85rem, 3.4vw, 2.95rem); }

em.gold, .gold-word {
  font-style: italic; background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}
em.sage { font-style: italic; color: var(--sage-deep); }
.section--forest em.gold, .section--forest .gold-word {
  background: linear-gradient(120deg, #f0dca6, #d8b25e 60%, #e7cd92);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.section--forest .lead { color: var(--muted-on-dark); }
.section-heading { max-width: 760px; }
.section-heading p { margin: 20px 0 0; font-size: 1.06rem; color: var(--muted); }
.section--forest .section-heading p { color: var(--muted-on-dark); }

/* Subrayado dorado que se dibuja al revelar */
.uline { position: relative; display: inline; }
.uline::after {
  content: ""; position: absolute; left: 0; bottom: -0.06em; width: 100%; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease) 0.3s;
}
.reveal.is-visible .uline::after { transform: scaleX(1); }

/* ---------- Botones ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; text-align: center; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 44px; padding: 0 20px; font-size: 0.8rem; }
.button--full { width: 100%; }

.button--primary { background: var(--grad-gold); color: #fff; box-shadow: 0 14px 32px -14px rgba(176, 136, 42, 0.75); }
.button--primary:hover { box-shadow: 0 20px 44px -14px rgba(176, 136, 42, 0.9); }
.button--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg); transition: left 0.7s var(--ease);
}
.button--primary:hover::after { left: 140%; }

.button--ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, 0.4); }
.button--ghost:hover { border-color: var(--sage); color: var(--sage-deep); background: rgba(111, 125, 86, 0.07); }
.section--forest .button--ghost { color: var(--ivory); border-color: var(--line-on-dark); background: rgba(255, 255, 255, 0.03); }
.section--forest .button--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.button--outline { color: var(--gold-deep); border-color: var(--line-gold); }
.button--outline:hover { border-color: var(--gold); background: rgba(176, 136, 42, 0.08); }

.button--sage { background: var(--sage); color: #fff; border-color: var(--sage); }
.button--sage:hover { background: var(--sage-deep); box-shadow: var(--shadow-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(246, 241, 232, 0.78);
  backdrop-filter: blur(18px) saturate(120%); border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.is-scrolled { background: rgba(251, 248, 242, 0.94); box-shadow: 0 16px 44px -30px rgba(43, 38, 22, 0.5); border-bottom-color: var(--line-2); }
.site-header__inner {
  width: min(100% - 44px, 1340px); margin-inline: auto; min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height 0.4s var(--ease);
}
.site-header.is-scrolled .site-header__inner { min-height: 70px; }

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; transition: transform 0.5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__text, .footer-brand span { display: grid; gap: 2px; min-width: 0; }
.brand__text span, .footer-brand strong {
  font-family: "Cinzel", Georgia, serif; font-size: 0.96rem; font-weight: 700; letter-spacing: 0.1em;
  line-height: 1.05; color: var(--ink); white-space: nowrap;
}
.brand__text small { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav__list { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 40px;
  color: var(--ink-body); font-size: 0.86rem; font-weight: 600; transition: color 0.3s var(--ease);
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 0; height: 1.5px; background: var(--grad-gold); transition: width 0.4s var(--ease); }
.site-nav__list a:hover, .site-nav__list a:focus { color: var(--sage-deep); }
.site-nav__list a:hover::after, .site-nav__list a:focus::after { width: 100%; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px;
  background: transparent; color: var(--ink); flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span:not(.screen-reader-text) { display: block; width: 20px; height: 1.5px; background: currentColor; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(70% 60% at 88% 18%, rgba(111, 125, 86, 0.12), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--page));
  border-bottom: 1px solid var(--line);
}
.hero__bg-glow {
  position: absolute; z-index: 0; right: 6%; top: 10%; width: 560px; height: 560px; pointer-events: none;
  background: radial-gradient(circle, rgba(176, 136, 42, 0.14), transparent 64%); filter: blur(18px);
}
.hero .watermark { right: -120px; top: 50%; transform: translateY(-50%); width: 720px; opacity: 0.05; }

.hero__grid {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  align-items: center; gap: clamp(36px, 5vw, 72px);
}
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero h1 { max-width: 14ch; }
.hero__lead { max-width: 50ch; margin: 24px 0 0; font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 36px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 0.78rem; font-weight: 600; color: var(--sage-deep); }
.hero__trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); }

/* Visual: panel salvia + retrato recortado */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 600px; }
.hero__panel {
  position: relative; width: min(100%, 410px); height: 500px;
  border-radius: 205px 205px 26px 26px; background: var(--grad-sage);
  border: 1px solid var(--line-sage); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden;
}
.hero__panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(72% 52% at 50% 20%, rgba(231, 205, 146, 0.2), transparent 70%); }
.hero__panel .panel-mark { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 82%; opacity: 0.16; filter: brightness(0) invert(1); }
.hero__portrait {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 600px; width: auto; max-width: none; z-index: 2; filter: drop-shadow(0 32px 46px rgba(43, 38, 22, 0.4));
}
.hero__badge {
  position: absolute; z-index: 4; right: -10px; bottom: 64px; display: grid; gap: 2px; padding: 16px 20px;
  background: rgba(255, 253, 249, 0.92); backdrop-filter: blur(8px); border: 1px solid var(--line-gold);
  border-radius: 16px; box-shadow: var(--shadow-card);
}
.hero__badge strong { font-family: "Cinzel", serif; font-size: 1.5rem; color: var(--gold-deep); line-height: 1; }
.hero__badge span { font-size: 0.72rem; color: var(--muted); max-width: 13ch; }
.hero__signature { position: absolute; z-index: 4; left: -8px; top: 40px; padding: 10px 16px 10px 0; border-top: 1px solid var(--gold); }
.hero__signature strong { display: block; font-family: "Cinzel", serif; font-size: 0.92rem; color: var(--ink); letter-spacing: 0.06em; }
.hero__signature span { display: block; margin-top: 3px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Banda de valores ---------- */
.values-band { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-band__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.value-cell { background: var(--ivory); padding: 32px clamp(18px, 2.4vw, 34px); display: grid; gap: 6px; }
.value-cell .v-ico { color: var(--sage); width: 28px; height: 28px; margin-bottom: 8px; }
.value-cell strong { font-family: "Poppins", sans-serif; font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); line-height: 1.2; }
.value-cell span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Tarjetas ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--card);
  box-shadow: var(--shadow-card); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }

.problem-card { padding: 30px 28px; min-height: 208px; }
.problem-card .num { font-family: "Cinzel", serif; font-size: 0.82rem; letter-spacing: 0.1em; color: var(--gold-deep); }
.problem-card h3 { margin: 16px 0 0; font-size: 1.18rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.problem-card p { margin: 12px 0 0; font-size: 0.93rem; color: var(--muted); }

/* ---------- Método (línea de tiempo) ---------- */
.method__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
.section-heading--sticky { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.section-heading--sticky .button { margin-top: 30px; }
.method__media { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.method__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.steps { display: grid; gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--line-gold), var(--line-sage)); }
.step-card { position: relative; padding: 20px 26px 20px 0; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; background: transparent; border: 0; box-shadow: none; }
.step-card::before { display: none; }
.step-card:hover { transform: none; }
.step-card .step-n {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: "Poppins", sans-serif; font-size: 1.3rem; font-weight: 600; color: #fff;
  background: var(--grad-sage); box-shadow: 0 10px 24px -12px rgba(76, 87, 57, 0.8); border: 3px solid var(--page);
}
.step-card h3 { margin: 6px 0 0; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.step-card p { margin: 10px 0 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Banda de imagen + cita (momento oscuro) ---------- */
.image-band { position: relative; min-height: clamp(360px, 46vw, 540px); display: flex; align-items: center; overflow: hidden; }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 36, 20, 0.9) 0%, rgba(28, 36, 20, 0.6) 44%, rgba(28, 36, 20, 0.2) 100%); }
.image-band__inner { position: relative; z-index: 2; max-width: 720px; }
.band__quote { font-size: clamp(1.45rem, 2.9vw, 2.45rem); line-height: 1.22; color: var(--ivory); }
.band__cite { margin: 22px 0 0; display: flex; align-items: center; gap: 12px; color: var(--gold-light); font-size: 0.86rem; letter-spacing: 0.04em; }
.band__cite::before { content: ""; width: 30px; height: 1px; background: var(--grad-gold); }

/* ---------- Guía / lead magnet ---------- */
.guide__grid { display: grid; grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.guide__cover { position: relative; display: flex; justify-content: center; }
.guide__cover::before { content: ""; position: absolute; width: 84%; height: 84%; border-radius: 50%; background: radial-gradient(circle, rgba(111, 125, 86, 0.18), transparent 66%); filter: blur(8px); }
.guide__cover img { position: relative; width: min(100%, 380px); border-radius: 10px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform 0.6s var(--ease); }
.guide__cover:hover img { transform: rotate(0deg) translateY(-6px); }

.check-list { display: grid; gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 36px; color: var(--ink-body); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 68% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 68% no-repeat;
}

.lead-form { display: grid; gap: 16px; padding: 30px; border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-card); }
.lead-form label:not(.consent) { display: grid; gap: 8px; color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.lead-form input[type="text"], .lead-form input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lead-form input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(111, 125, 86, 0.16); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--sage); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-message { margin: 0; color: #8a2020; font-size: 0.86rem; font-weight: 700; }
.lead-form__foot { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.74rem; }
.lead-form__foot svg { width: 15px; height: 15px; color: var(--sage); flex: none; }

/* ---------- Sobre Alfonso ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 76px); align-items: center; }
.about__media { position: relative; }
.about__media .frame { position: relative; border-radius: 240px 240px 18px 18px; overflow: hidden; border: 1px solid var(--line-gold); box-shadow: var(--shadow-lg); }
.about__media .frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__media .inset { position: absolute; right: -22px; bottom: -26px; width: 46%; border-radius: 14px; overflow: hidden; border: 5px solid var(--page); box-shadow: var(--shadow-lg); }
.about__media .inset img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.about__media .badge-ring {
  position: absolute; left: -26px; top: 30px; z-index: 3; width: 94px; height: 94px; border-radius: 50%;
  background: var(--grad-sage); color: var(--ivory); display: grid; place-items: center; text-align: center;
  font-family: "Cinzel", serif; font-size: 0.56rem; letter-spacing: 0.1em; box-shadow: var(--shadow-card); padding: 8px;
}
.about__copy p { margin: 0 0 18px; color: var(--ink-body); }
.about__copy p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.sign-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 18px; border: 1px solid var(--line-sage); border-radius: 999px; color: var(--sage-deep); font-size: 0.8rem; font-weight: 600; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-gold); }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.testi-card { padding: 32px 30px; display: flex; flex-direction: column; gap: 18px; }
.testi-card .stars { display: flex; gap: 4px; color: var(--gold); }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card blockquote { margin: 0; font-family: "Poppins", sans-serif; font-weight: 500; font-size: 1.04rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.testi-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi-card .who .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-sage); display: grid; place-items: center; font-family: "Cinzel", serif; font-weight: 700; color: #fff; font-size: 0.9rem; }
.testi-card .who b { font-size: 0.9rem; color: var(--sage-deep); font-weight: 700; }
.testi-card .who span { display: block; font-size: 0.74rem; color: var(--muted); }
.testi-note { margin-top: 26px; font-size: 0.8rem; color: var(--muted); opacity: 0.85; }
.is-placeholder { position: relative; }
.is-placeholder::after {
  content: "Espacio para reseña real"; position: absolute; top: 14px; right: 14px; font-size: 0.58rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); border: 1px dashed var(--line-gold); border-radius: 999px; padding: 4px 10px;
}

/* ---------- Local ---------- */
.local__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 70px); align-items: start; }
.local__copy { border-left: 1px solid var(--line-2); padding-left: 36px; }
.local__copy p { margin: 0 0 16px; color: var(--muted); }
.local__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.local__tags span { font-size: 0.8rem; font-weight: 600; color: var(--sage-deep); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(34px, 5vw, 66px); align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--card); overflow: hidden; transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.faq-item[open] { border-color: var(--line-gold); box-shadow: var(--shadow-card); }
.faq-item summary { list-style: none; cursor: pointer; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q-ico { flex: none; width: 26px; height: 26px; position: relative; }
.faq-item .q-ico::before, .faq-item .q-ico::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--sage); transition: transform 0.4s var(--ease); }
.faq-item .q-ico::before { width: 14px; height: 2px; }
.faq-item .q-ico::after { width: 2px; height: 14px; }
.faq-item[open] .q-ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { overflow: hidden; transition: height 0.42s var(--ease); }
.faq-item p { margin: 0; padding: 0 24px 24px; color: var(--muted); }

/* ---------- Contacto (momento oscuro) ---------- */
.contact { position: relative; overflow: hidden; }
.contact .watermark { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 540px; opacity: 0.06; }
.contact__box { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; text-align: center; }
.contact__box .eyebrow { justify-content: center; }
.contact__box p { margin: 22px auto 0; max-width: 56ch; color: var(--muted-on-dark); font-size: 1.06rem; }
.contact__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; background: var(--forest-2); color: var(--ivory); border-top: 1px solid var(--line-on-dark); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand strong { color: var(--ivory); }
.footer-brand small { color: var(--gold-light); }
.footer-brand img { width: 56px; height: 56px; object-fit: contain; }
.footer-about { margin: 18px 0 0; max-width: 38ch; font-size: 0.9rem; color: var(--muted-on-dark); }
.footer-col h4 { margin: 0 0 16px; font-family: "Cinzel", serif; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; color: var(--muted-on-dark); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; color: rgba(231, 225, 210, 0.55); font-size: 0.8rem; }
.site-footer__bottom a:hover { color: var(--gold-light); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 300; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2bd66a, #128c40);
  box-shadow: 0 16px 36px -10px rgba(18, 140, 64, 0.55); transition: transform 0.4s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(43, 214, 106, 0.55); animation: waPulse 2.4s var(--ease) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- CTA flotante (solicitud) ---------- */
.cta-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 300; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; background: var(--grad-gold); color: #fff; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em;
  box-shadow: 0 16px 34px -12px rgba(176, 136, 42, 0.7); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cta-float:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -12px rgba(176, 136, 42, 0.95); }
.cta-float svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .cta-float { padding: 14px; gap: 0; } .cta-float span { display: none; } }

.contact__note { margin: 16px auto 0; font-size: 0.78rem; letter-spacing: 0.02em; color: var(--muted-on-dark); opacity: 0.85; }

/* ---------- Formulario de solicitud (wizard) ---------- */
.solicitud__box { max-width: 760px; margin-inline: auto; text-align: center; }
.solicitud__lead { margin: 18px auto 0; max-width: 56ch; color: var(--muted); font-size: 1.04rem; }
.fwizard {
  position: relative; z-index: 2; margin-top: 36px; text-align: left;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-card);
}
.fbar { height: 5px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-bottom: 28px; }
.fbar__fill { display: block; height: 100%; width: 25%; background: var(--grad-gold); border-radius: 999px; transition: width 0.45s var(--ease); }
.js-wizard .fstep { display: none; }
.js-wizard .fstep.is-active { display: block; animation: fStep 0.5s var(--ease); }
@keyframes fStep { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fstep__q { margin: 0 0 22px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.ffield { display: grid; gap: 8px; margin-bottom: 16px; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.ffield input { min-height: 52px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.ffield input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(111, 125, 86, 0.16); }
.ffield__label { margin: 20px 0 12px; font-weight: 600; color: var(--ink); }
.ffield__label small { display: block; margin-top: 5px; font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.fopts { display: grid; gap: 10px; }
.fopts--row { grid-auto-flow: column; grid-auto-columns: 1fr; }
.fopt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-size: 0.92rem; color: var(--ink); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.fopt:hover { border-color: var(--line-gold); }
.fopt input { width: 18px; height: 18px; flex: none; accent-color: var(--sage); }
.fopt:has(input:checked) { border-color: var(--sage); background: rgba(111, 125, 86, 0.09); }
.fopt--consent { margin-top: 16px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); }
.frange { display: flex; align-items: center; gap: 18px; }
.frange input[type="range"] { flex: 1; accent-color: var(--gold); height: 6px; }
.frange__val { min-width: 2ch; text-align: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--gold-deep); }
.frange__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.72rem; color: var(--muted); }
.fnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.fnav .button { min-height: 48px; }
.fnav span { flex: 1; }
.nojs-submit { margin-top: 20px; }
.js-wizard .nojs-submit { display: none; }
.fwizard .form-message { margin-top: 16px; }

.fresult { max-width: 560px; margin: 32px auto 0; }
.fresult__panel { text-align: center; background: var(--card); border: 1px solid var(--line-gold); border-radius: var(--radius-lg); padding: 40px 30px; box-shadow: var(--shadow-soft); }
.fresult__icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #fff; font-size: 1.7rem; font-weight: 700; }
.fresult__panel h3 { margin: 0 0 10px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.fresult__panel p { margin: 0 0 24px; color: var(--muted); }
@media (max-width: 560px) { .fopts--row { grid-auto-flow: row; } .frange__val { font-size: 1.4rem; } }

/* ---------- Páginas internas ---------- */
.prose-page { padding: clamp(80px, 10vw, 130px) 0; min-height: 60vh; }
.prose-page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 26px; }
.prose-page :where(p, ul, ol) { max-width: 740px; color: var(--ink-body); }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .uline::after { transform: scaleX(1) !important; }
}

/* ===================================================================
   INTRO ANIMADA — secuencia por pasos (auto-avance + scroll), overlay
   =================================================================== */
.intro { position: relative; background: linear-gradient(180deg, var(--ivory) 0%, var(--page) 100%); }
.intro__viewport {
  position: relative; width: min(100% - 44px, 1240px); margin-inline: auto;
  min-height: 76vh; display: flex; flex-direction: column; gap: 64px; align-items: center; justify-content: center;
  padding: 90px 0; text-align: center;
}
.intro__wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(70vmin, 560px); opacity: 0.05; z-index: 0; pointer-events: none; }

.intro__big { margin: 0; z-index: 4; font-family: "Poppins", sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); max-width: 15ch; font-size: clamp(2.2rem, 6vw, 4.6rem); }
.intro__big em { font-style: italic; color: var(--sage-deep); }

/* Paso del gráfico: pantalla partida */
.intro__split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 5vw, 72px); align-items: center; width: 100%; }
.intro__col--text { text-align: left; }
.intro__kicker { margin: 0 0 18px; font-family: "Cinzel", serif; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); }
.intro__big--left { max-width: 17ch; font-size: clamp(1.9rem, 4.3vw, 3.9rem); line-height: 1.05; }
.intro__big--left em { font-style: italic; -webkit-text-fill-color: initial; background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.intro__pie-wrap { position: relative; width: min(86vmin, 460px); height: min(86vmin, 460px); display: grid; place-items: center; z-index: 2; margin-inline: auto; }
.pie3d { position: relative; width: min(64vmin, 360px); height: min(64vmin, 360px); }
.pie3d__disc {
  width: 100%; height: 100%; border-radius: 50%;
  --c-hid: #c9a24b; --c-gra: #6f7d56; --c-pro: #8a6e3d;
  background: conic-gradient(from 0deg, var(--c-hid) 0 50%, var(--c-gra) 50% 80%, var(--c-pro) 80% 100%);
  transform: rotateX(56deg) rotateZ(0deg);
  box-shadow:
    0 1px 0 #a07e30, 0 3px 0 #98782e, 0 5px 0 #8f712c, 0 7px 0 #866a2a,
    0 9px 0 #7d6328, 0 11px 0 #745c26, 0 13px 0 #6b5524, 0 15px 0 #624e22,
    0 17px 0 #594720, 0 19px 0 #50401e, 0 26px 34px rgba(28, 28, 16, 0.4);
}
.pie-label {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px; background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-card);
  font-size: 0.8rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.pie-label b { font-family: "Poppins", sans-serif; font-weight: 700; }
.pie-label .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.pie-label .dot.hid { background: #c9a24b; } .pie-label .dot.gra { background: #6f7d56; } .pie-label .dot.pro { background: #8a6e3d; }
.pie-label--hid { top: 13%; right: -2%; }
.pie-label--pro { top: 13%; left: -2%; }
.pie-label--gra { bottom: 6%; left: 50%; transform: translateX(-50%); }

/* Saltar + pista */
.intro__skip { display: none; position: absolute; top: 20px; right: 22px; z-index: 9; align-items: center; gap: 7px;
  padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 253, 249, 0.7);
  color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: 0.3s var(--ease); }
.intro__skip:hover { color: var(--ink); border-color: var(--line-gold); }
.intro__hint { display: none; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 8;
  flex-direction: column; align-items: center; gap: 9px; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.intro__hint .mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-2); border-radius: 12px; position: relative; }
.intro__hint .mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--gold); transform: translateX(-50%); animation: hintDot 1.6s var(--ease) infinite; }
@keyframes hintDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ===== Modo OVERLAY (activado por JS, si hay movimiento) ===== */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro--overlay {
  position: fixed; inset: 0; z-index: 300;
  background: radial-gradient(120% 90% at 82% 6%, #ffffff 0%, var(--ivory) 46%, var(--page) 100%);
}
.intro--overlay .intro__viewport { min-height: 100vh; height: 100dvh; padding: 0; gap: 0; display: block; }
.intro--overlay .intro__skip, .intro--overlay .intro__hint { display: flex; }

.intro--overlay .intro__step {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 clamp(20px, 5vw, 64px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.6s var(--ease);
}
.intro--overlay .intro__step--phrase .intro__big { transform: translateY(28px) scale(0.96); opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.intro--overlay .intro__col--text { transform: translateX(-46px); opacity: 0; transition: opacity 0.85s var(--ease) 0.12s, transform 0.85s var(--ease) 0.12s; }
.intro--overlay .intro__col--pie { transform: translateX(46px); opacity: 0; transition: opacity 0.85s var(--ease) 0.16s, transform 0.85s var(--ease) 0.16s; }
.intro--overlay .pie-label { opacity: 0; transition: opacity 0.5s var(--ease); }

.intro--overlay[data-step="0"] .intro__step--phrase { opacity: 1; visibility: visible; }
.intro--overlay[data-step="0"] .intro__step--phrase .intro__big { transform: none; opacity: 1; }
.intro--overlay[data-step="1"] .intro__step--split { opacity: 1; visibility: visible; }
.intro--overlay[data-step="1"] .intro__col--text, .intro--overlay[data-step="1"] .intro__col--pie { transform: none; opacity: 1; }
.intro--overlay[data-step="1"] .pie3d { animation: pieRoll 1.15s var(--ease) both; }
.intro--overlay[data-step="1"] .pie3d__disc { animation: discRoll 1.15s var(--ease) both; }
.intro--overlay[data-step="1"] .pie-label { opacity: 1; transition-delay: 1.05s; }
@keyframes pieRoll { 0% { transform: translateX(-48%) scale(0.68); } 100% { transform: translateX(0) scale(1); } }
@keyframes discRoll { 0% { transform: rotateX(56deg) rotateZ(760deg); } 100% { transform: rotateX(56deg) rotateZ(0deg); } }

/* Salida fluida */
.intro--overlay.intro--done { opacity: 0; transform: translateY(-46px) scale(0.985); transition: opacity 0.8s var(--ease), transform 0.85s var(--ease); pointer-events: none; }

/* Entrada fluida del hero tras la intro */
.hero { transition: opacity 0.95s var(--ease), transform 0.95s var(--ease); }
.hero--armed { opacity: 0; transform: translateY(48px) scale(1.012); }

/* Fallback (sin overlay / sin JS / reduced-motion): pasos en flujo, visibles */
.intro:not(.intro--overlay) .intro__step { width: 100%; }
.intro:not(.intro--overlay) .intro__skip, .intro:not(.intro--overlay) .intro__hint { display: none; }

/* ===== Decoración: marcas de agua y separador de marca ===== */
.watermark--tr { right: -60px; top: -40px; width: min(36vmin, 300px); opacity: 0.045; }
.watermark--bl { left: -60px; bottom: -40px; width: min(36vmin, 300px); opacity: 0.045; }
.watermark--c  { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(60vmin, 520px); opacity: 0.04; }

.brand-sep { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto 8px; }
.brand-sep::before, .brand-sep::after { content: ""; height: 1px; width: min(26vw, 170px); }
.brand-sep::before { background: linear-gradient(90deg, transparent, var(--line-gold)); }
.brand-sep::after { background: linear-gradient(90deg, var(--line-gold), transparent); }
.brand-sep i { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 4px rgba(176, 136, 42, 0.12); flex: none; }
.section-heading.section-heading--center { max-width: none; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 560px; }
  .method__grid, .about__grid, .local__grid, .faq__grid, .guide__grid { grid-template-columns: 1fr; gap: 44px; }
  .section-heading--sticky { position: static; }
  .problem-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .values-band__inner { grid-template-columns: repeat(2, 1fr); }
  .about__media { max-width: 480px; margin-inline: auto; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  /* Sin backdrop-filter en móvil: si no, atrapa el menú fixed y queda sin fondo */
  .site-header, .site-header.is-scrolled { backdrop-filter: none; background: rgba(251, 248, 242, 0.97); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 340; display: none;
    flex-direction: column; align-items: stretch; gap: 8px; padding: 26px 24px 36px;
    background: var(--ivory); border-top: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(43, 38, 22, 0.18); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list a { min-height: 56px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .header-action { width: 100%; margin-top: 14px; }

  /* Móvil: sin marcas de agua (evitan scroll lateral y líneas sobre la foto) */
  .watermark { display: none; }
  .hero__panel .panel-mark { display: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .cta-float { display: none; }

  .hero h1 { font-size: clamp(1.95rem, 8vw, 2.5rem); }
  .hero__visual { min-height: 540px; }
  .hero__panel { height: 440px; width: min(100%, 360px); }
  .hero__portrait { height: 530px; }
  .hero__badge { right: 0; bottom: 40px; }
  .intro__split { grid-template-columns: 1fr; gap: 26px; justify-items: center; }
  .intro__col--text { text-align: center; }
  .intro__big--left { max-width: 20ch; font-size: clamp(1.55rem, 6.6vw, 2.4rem); }
  .intro__kicker { text-align: center; }
  .intro__pie-wrap { width: min(80vmin, 320px); height: min(80vmin, 320px); }
  .pie3d { width: min(60vmin, 230px); height: min(60vmin, 230px); }
  .pie-label { font-size: 0.66rem; padding: 6px 10px; }
  .pie-label--hid { right: -2%; } .pie-label--gra { bottom: 4%; } .pie-label--pro { left: -2%; }
  .intro--overlay .intro__col--text { transform: translateY(-32px); }
  .intro--overlay .intro__col--pie { transform: translateY(32px); }
  .intro--overlay[data-step="1"] .intro__col--text, .intro--overlay[data-step="1"] .intro__col--pie { transform: none; }
  .intro--overlay .intro__step { overflow-y: auto; }
  .problem-grid, .testi-grid { grid-template-columns: 1fr; }
  .values-band__inner { grid-template-columns: 1fr 1fr; }
  .step-card { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps::before { left: 23px; }
  .step-card .step-n { width: 48px; height: 48px; font-size: 1.4rem; }
  .local__copy { border-left: 0; padding-left: 0; }
  .image-band::after { background: linear-gradient(180deg, rgba(28, 36, 20, 0.5), rgba(28, 36, 20, 0.9)); }
  .about__media .inset { display: none; }
  .site-footer__top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 460px) {
  .brand__text small { display: none; }
  .hero__actions .button, .contact__actions .button { width: 100%; }
  .values-band__inner { grid-template-columns: 1fr; }
  .hero__badge strong { font-size: 1.3rem; }
}
