@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/inter-tight/inter-tight-latin-300-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* =====================================================
   MODO PRODUCCIÓN LXX
   Reglas:
   1) No duplicar selectores fuera de su bloque.
   2) Cambios = sustituir bloques completos, no parches.
===================================================== */
/* ================================
   BLOQUE 1 — Variables + tipografías
================================ */

:root {
  --leo-map-url: url("../img-optimized/imola-leonardo-home-desktop.webp");
  --home-map-url: url("../img-optimized/imola-leonardo-home-desktop.webp");

  --font-base: "Inter Tight", system-ui, sans-serif;

  /* Alias semánticos (misma fuente, distinta intención) */
  --font-title: var(--font-base);
  --font-body: var(--font-base);
  --color-bg: #f5eee6;
  --color-bg-alt: #faf4ed;
  --bg-rgb: 245, 238, 230;

  --color-text: #222222;
  --color-muted: #666666;
  --color-accent: #b45a3f;
  --lxx-editorial-label-color: rgba(180, 90, 63, 0.82);
  --lxx-editorial-title-weight: 300;
  --lxx-editorial-section-title-size: clamp(3rem, 4vw, 4.4rem);
  --lxx-editorial-title-line-height: 0.96;
  --lxx-editorial-title-letter-spacing: 0.015em;
  --lxx-editorial-title-color: rgba(0, 0, 0, 0.84);
  --lxx-editorial-copy-weight: 400;
  --lxx-editorial-section-copy-size: clamp(1rem, 1.15vw, 1.08rem);
  --lxx-editorial-copy-line-height: 1.62;
  --lxx-editorial-copy-letter-spacing: 0.02em;
  --lxx-editorial-copy-color: rgba(0, 0, 0, 0.58);

  --max-width: 1080px;
  --radius-soft: 18px;

  --hero-rotation: 20s;
  --beam-rgb: 255, 255, 255;

  --hero-top-pad: 3.6rem;
  --lighthouse-size: 180px;
  --lighthouse-gap: 1rem;

  --phi: 1.618;
  --space-1: 0.9rem;
  --space-phi: calc(var(--space-1) * var(--phi));
  --space-phi2: calc(var(--space-phi) * var(--phi));
  --optical-nudge: 0.18rem;

  --river-tint: 0.11;

  /* Mapa (rellenado por JS) */
  --map-left: 50%;
  --map-top: 50%;
  --map-w: 1800px;
  --map-h: 1200px;

  /* Plano Imola — ancla (CORREGIDA) */
  --map-anchor-x: 1010.66;
  --map-anchor-y: 755.6;

  /* Fondo global Imola (toda la web) — posición por defecto */
  --site-map-x: 50%;
  --site-map-y: 50%;

  /* Pantalla coordenadas 2026 */
  --coords-axis-y: 68%; /* ajusta a la línea real del plano los hitos */
  --coords-step: 6.3%;
  --lxx-viewport-height: 100vh;
  --lxx-mobile-header-band: 3.45rem;
}

@supports (height: 100dvh) {
  :root {
    --lxx-viewport-height: 100dvh;
  }
}

/* Tema */
body.theme-ventana {
  --color-bg: #f4eee8;
  --color-bg-alt: #f9f3ec;
  --bg-rgb: 244, 238, 232;

  --brand-copper: 196, 107, 76;
}

/* ================================
   BLOQUE 2 — Base / layout global
================================ */

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

html,
body {
  overflow-x: clip;
  overflow-y: auto;
}

figcaption {
  font-style: italic;
}

.lxx-rich-quote {
  margin: 0.85em 0;
  padding: 0.05em 0 0.05em 1em;
  border-left: 1px solid rgba(var(--brand-copper), 0.46);
  color: rgba(0, 0, 0, 0.66);
  font-style: italic;
}

.lxx-rich-quote p {
  margin: 0;
}

.lxx-rich-quote p + p {
  margin-top: 0.45em;
}

/* T01 — Portada sin scroll (solo en hero; lo activa JS) */
body.is-hero-locked {
  height: var(--lxx-viewport-height);
  min-height: var(--lxx-viewport-height);
  overflow: hidden;
  touch-action: auto;
}

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(
    circle at 50% 55%,
    rgba(255, 252, 248, 1) 0%,
    rgba(240, 230, 216, 0.96) 26%,
    rgba(218, 202, 182, 0.86) 52%,
    rgba(194, 176, 156, 0.7) 76%,
    rgba(172, 154, 134, 0.56) 100%
  );
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-title);
  color: var(--color-text);
  line-height: 1.6;
  background: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

body:not(.not-hero) {
  --leo-map-url: var(--home-map-url);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
/* ================================
   BLOQUE 3 — Fondo global (Imola)
================================ */

/* Fondo global Imola (toda la web) — INTERIOR unificado */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 52%,
      rgba(255, 255, 255, 0) 0%,
      rgba(245, 238, 230, 0.06) 55%,
      rgba(245, 238, 230, 0.14) 78%,
      rgba(245, 238, 230, 0.26) 100%
    ),
    var(--leo-map-url);

  background-repeat: no-repeat, no-repeat;
  background-size:
    140% 140%,
    120% auto;

  /* CLAVE: constante, no depende de estados ni variables de hero */
  background-position:
    center,
    50% 50%;

  opacity: 0.22;
  filter: grayscale(1) contrast(1.04) brightness(1.03);
  mix-blend-mode: multiply;
}

body:not(.not-hero) .site-bg {
  background-image:
    radial-gradient(
      circle at 50% 52%,
      rgba(255, 255, 255, 0) 0%,
      rgba(245, 238, 230, 0.06) 55%,
      rgba(245, 238, 230, 0.14) 78%,
      rgba(245, 238, 230, 0.26) 100%
    ),
    var(--home-map-url);
}
/* ================================
   BLOQUE 4 — Secciones base + contacto + footer
================================ */

.section {
  padding: 6rem 0;
  min-height: 100vh;
  min-height: 100svh;
}
#sobre-mi.section {
  padding: 0;
}

#te-propongo.section {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

/* =========================================
   Te propongo · ¿Y si vamos?
========================================= */
#te-propongo [data-signup-service][hidden],
#te-propongo [data-signup-group][hidden] {
  display: none !important;
}

#te-propongo .signup-modal.is-open .signup-modal__panel {
  background: rgb(220, 212, 200);
}

#te-propongo .project-modal__content--group-hub {
  min-width: 0;
}

#te-propongo #projectModalBody:has(.project-modal__content--group-hub) {
  background: rgb(220, 212, 200);
}

#te-propongo .group-possibilities {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

#te-propongo .group-possibility {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(32, 26, 22, 0.13);
  border-radius: 0;
  background: rgb(229, 222, 211);
}

#te-propongo .group-possibility__media,
#te-propongo .group-possibility__img {
  width: 100%;
  height: 100%;
  min-height: 196px;
}

#te-propongo .group-possibility__img {
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

#te-propongo .group-possibility__content {
  min-width: 0;
  padding: 0.8rem 0.85rem 0.85rem;
}

#te-propongo .group-possibility__state,
#te-propongo .group-possibility__facts,
#te-propongo .group-transparency__label {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 25, 21, 0.58);
}

#te-propongo .group-possibility__state {
  text-transform: none;
}

#te-propongo .group-possibility__title {
  margin: 0.3rem 0 0;
  font-family: var(--font-title);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.12;
  color: rgba(25, 21, 18, 0.88);
}

#te-propongo .group-possibility__descriptor,
#te-propongo .group-possibility__signal {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(30, 25, 21, 0.68);
}

#te-propongo .group-possibility__facts {
  margin-top: 0.55rem;
  color: rgba(30, 25, 21, 0.66);
}

#te-propongo .group-possibility__progress {
  height: 3px;
  margin-top: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 29, 24, 0.12);
}

#te-propongo .group-possibility__progress span {
  display: block;
  width: var(--group-progress);
  height: 100%;
  border-radius: inherit;
  background: var(--color-accent);
}

#te-propongo .group-possibility__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0.72rem;
  padding: 0.58rem 0.8rem;
  border: 1px solid rgba(180, 90, 63, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font: 600 0.63rem/1.2 var(--font-body);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(33, 26, 22, 0.74);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

#te-propongo .group-possibility__cta:hover,
#te-propongo .group-possibility__cta:focus-visible {
  border-color: var(--color-accent);
  background: rgba(180, 90, 63, 0.08);
  outline: none;
}

#te-propongo .group-transparency {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid rgba(180, 90, 63, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

#te-propongo .group-transparency p:last-child {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(30, 25, 21, 0.68);
}

#te-propongo .group-hub__suggest {
  width: 100%;
  min-height: 44px;
  margin-top: 1rem;
  cursor: pointer;
}

#te-propongo .group-hub__footer {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

#te-propongo .group-hub__footer .group-transparency,
#te-propongo .group-hub__footer .group-hub__suggest {
  margin-top: 0;
}

@media (max-width: 820px) {
  body.is-project-modal-open .mobile-bottom-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #te-propongo .group-possibility {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  #te-propongo .group-possibility__media,
  #te-propongo .group-possibility__img {
    min-height: 210px;
  }

  #te-propongo .group-possibility__content {
    padding: 0.72rem;
  }
}
.section-alt {
  background-color: var(--color-bg-alt);
}

.section h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin: 0 0 0.75rem;
  text-transform: lowercase;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
}

/* CONTACTO */
.contact-box {
  background-color: #faf7f3;
  border-radius: var(--radius-soft);
  padding: 1.5rem 1.7rem;
  border: 1px solid #e8ded3;
}

.contact-box ul {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
  padding-left: 1.2rem;
}

.contact-placeholder {
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(180, 90, 63, 0.24);
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: min(1540px, calc(100vw - clamp(3rem, 10vw, 12rem)));
  max-width: none;
  min-height: 74px;
  margin-inline: auto;
  padding-block: 0.85rem;
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.footer-inner > p {
  margin: 0;
  font-family: var(--font-title);
  white-space: nowrap;
}

.footer-note {
  font-style: italic;
}
/* ================================
   BLOQUE 5 — Portada / hero
================================ */

.hero {
  min-height: var(--lxx-viewport-height);
  height: var(--lxx-viewport-height);
  position: relative;
  background: transparent;
  isolation: isolate;
  padding: 0;

  font-family: var(--font-title);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* HERO ocupa una pantalla completa */
.hero {
  min-height: var(--lxx-viewport-height);
  height: var(--lxx-viewport-height);
}

/* Cuando no estamos en portada,
   el documento empieza directamente en main */
body.not-hero {
  scroll-padding-top: 0;
}

body.not-hero main {
  margin-top: 0;
}

/* Truco clave: compensar altura hero */
body.not-hero .hero {
  margin-top: calc(var(--lxx-viewport-height) * -1);
}
/* T02 — Navegación superior global ("Punto de partida")
   Visible en toda la web EXCEPTO portada (cuando body.not-hero no está).
   Mantiene hover porque reutiliza .hero-meta-link */
.site-meta {
  position: fixed;
  top: 1.35rem;
  right: 1.25rem;

  z-index: 6;
  display: none;
  align-items: center;
  gap: 0.85rem;

  pointer-events: auto;
}
/* HUD fijo: reseña de sección (alineado con .site-meta) */
.site-label {
  position: fixed;
  top: 1.35rem;
  left: 1.25rem;
  z-index: 6;

  font-family: var(--font-base);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;

  color: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  user-select: none;

  display: none; /* solo fuera de portada */
}

/* Solo visible fuera de portada */
body.not-hero .site-label {
  display: block;
}
/* Solo visible fuera de portada */
body.not-hero .site-meta {
  display: flex;
}

/* Fondo mapa (hero) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      circle at 50% 52%,
      rgba(255, 255, 255, 0) 0%,
      rgba(245, 238, 230, 0.1) 55%,
      rgba(245, 238, 230, 0.3) 78%,
      rgba(245, 238, 230, 0.55) 100%
    ),
    var(--home-map-url),
    radial-gradient(
      circle at 45% 40%,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.1) 38%,
      rgba(255, 255, 255, 0) 70%
    );

  background-repeat: no-repeat, no-repeat, no-repeat;

  background-size:
    auto 118%,
    var(--map-w) var(--map-h),
    140% 140%;

  background-position:
    center,
    var(--map-left) var(--map-top),
    center;

  opacity: 0.29;
  filter: grayscale(1) contrast(1.04) brightness(1.03) blur(0.15px);
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      ellipse at 36% 92%,
      rgba(120, 160, 190, var(--river-tint)) 0%,
      rgba(120, 160, 190, calc(var(--river-tint) * 0.55)) 24%,
      rgba(120, 160, 190, 0) 62%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.012) 0px,
      rgba(0, 0, 0, 0.012) 1px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 4px
    );

  mix-blend-mode: soft-light;
  opacity: 0.26;
}

/* Mensaje (bloom) */
.hero-message::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  height: 180%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(255, 255, 255, 0.46) 22%,
    rgba(255, 255, 255, 0.22) 44%,
    rgba(255, 255, 255, 0.1) 58%,
    rgba(255, 255, 255, 0) 76%
  );

  filter: blur(34px);
  opacity: 1;
}

.hero-message::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 160%;
  height: 200%;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(255, 214, 160, 0.22) 0%,
    rgba(255, 214, 160, 0.14) 28%,
    rgba(255, 214, 160, 0.07) 52%,
    rgba(255, 214, 160, 0) 78%
  );

  filter: blur(46px);
  opacity: 0.95;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* META SUPERIOR — REGLA FINAL
   - Portada (hero): SOLO "contacta conmigo"
*/
.hero-meta {
  position: fixed;
  top: calc(var(--hero-top-pad) + 0.35rem);
  right: 1.25rem;
  z-index: 1001;
  pointer-events: auto;

  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* PORTADA: en .hero-meta se muestra SOLO el último enlace (contacto) */
body:not(.not-hero) .hero-meta .hero-meta-link {
  display: none;
}

body:not(.not-hero) .hero-meta .hero-meta-link:last-of-type {
  display: inline-block;
}

body:not(.not-hero) .hero-meta .hero-dot-small {
  display: none;
}

/* Fuera de portada, la meta de la hero no debe aparecer nunca */
body.not-hero .hero-meta {
  display: none !important;
}

/* Enlaces (hero-nav + meta) */
.hero-nav a,
.hero-nav a:link,
.hero-nav a:visited,
.hero-meta-link,
.hero-meta-link:link,
.hero-meta-link:visited {
  position: relative;
  display: inline-block;
  text-decoration: none;

  color: rgba(0, 0, 0, 0.68);
  letter-spacing: 0.2em;

  padding: 2px 2px 3px;
  border-radius: 999px;

  transition:
    transform 0.25s ease-out,
    color 0.25s ease-out,
    letter-spacing 0.25s ease-out,
    text-shadow 0.25s ease-out;
}

.hero-nav a:hover,
.hero-meta-link:hover {
  transform: translateY(-1px);
  color: var(--color-accent);
  letter-spacing: 0.24em;
  text-shadow:
    0 0 10px rgba(var(--beam-rgb), 0.18),
    0 0 24px rgba(var(--beam-rgb), 0.1);
}

.hero-nav a::after,
.hero-meta-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;

  transform: translateX(-50%);
  opacity: 0;

  transition:
    width 0.35s ease-out,
    opacity 0.35s ease-out;
}

.hero-nav a:hover::after,
.hero-meta-link:hover::after {
  width: 110%;
  opacity: 1;
  background: linear-gradient(
    to right,
    rgba(196, 107, 76, 0) 0%,
    rgba(196, 107, 76, 0.85) 50%,
    rgba(196, 107, 76, 0) 100%
  );
}

.hero-dot-small {
  width: 3px;
  height: 3px;
  background: rgba(var(--brand-copper), 0.78);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-1px);
  box-shadow: 0 0 7px rgba(var(--brand-copper), 0.22);
}


.hero-nav a[href="#te-propongo"] {
  order: 3;
}

.hero-dot-small--after-propongo {
  order: 4;
}

.hero-nav a[href="#coordenadas-2026"] {
  order: 5;
}

.hero-dot-small--after-coords {
  order: 6;
}

.hero-nav a[href^="./cuadernos/"],
.hero-nav a[href^="/cuadernos/"] {
  order: 7;
}

/* HAZ (portada) */
.hero-beam-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

@keyframes lighthouseSweep {
  from {
    transform: translate3d(var(--beam-origin-x, 50vw), var(--beam-origin-y, 55vh), 0)
      translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate3d(var(--beam-origin-x, 50vw), var(--beam-origin-y, 55vh), 0)
      translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes herculesBurst4 {
  0%,
  16.5%,
  33%,
  49.5%,
  100% {
    opacity: 0.48;
    filter: blur(2.6px) contrast(1.08) brightness(1.02);
  }

  0% {
    opacity: 1;
    filter: blur(1.2px) contrast(1.36) brightness(1.25);
  }

  1.5% {
    opacity: 0.48;
    filter: blur(2.6px) contrast(1.08) brightness(1.02);
  }

  16.5% {
    opacity: 1;
    filter: blur(1.2px) contrast(1.36) brightness(1.25);
  }

  18% {
    opacity: 0.48;
    filter: blur(2.6px) contrast(1.08) brightness(1.02);
  }

  33% {
    opacity: 1;
    filter: blur(1.2px) contrast(1.36) brightness(1.25);
  }

  34.5% {
    opacity: 0.48;
    filter: blur(2.6px) contrast(1.08) brightness(1.02);
  }

  49.5% {
    opacity: 1;
    filter: blur(1.2px) contrast(1.36) brightness(1.25);
  }

  51% {
    opacity: 0.48;
    filter: blur(2.6px) contrast(1.08) brightness(1.02);
  }
}

.hero-beam-layer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 240vmax;
  height: 240vmax;

  transform: translate3d(var(--beam-origin-x, 50vw), var(--beam-origin-y, 55vh), 0)
    translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  will-change: transform, opacity;

  mix-blend-mode: screen;
  opacity: 0.46;
  filter: blur(0.25px) contrast(1.1) brightness(1.04);

  background: conic-gradient(
    from -20deg at 50% 50%,
    rgba(var(--beam-rgb), 0) 0deg,
    rgba(var(--beam-rgb), 0) 336deg,
    rgba(var(--beam-rgb), 0.06) 340deg,
    rgba(var(--beam-rgb), 0.18) 345deg,
    rgba(var(--beam-rgb), 0.52) 349.5deg,
    rgba(var(--beam-rgb), 0.18) 353.8deg,
    rgba(var(--beam-rgb), 0.06) 357.5deg,
    rgba(var(--beam-rgb), 0) 360deg
  );

  animation:
    lighthouseSweep var(--hero-rotation) linear infinite,
    herculesBurst4 var(--hero-rotation) linear infinite;
}

/* LAYOUT HERO */
.container.hero-layout {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: none;
  margin: 0;

  padding-left: 0.6rem;
  padding-right: 0.6rem;

  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  flex-direction: column;

  padding-top: 1.4rem;
  padding-bottom: 2.4rem;
}

.hero-message {
  position: relative;
  width: min(860px, 92vw);
  margin: -1rem auto 0;
  text-align: center;
  padding: 0.55rem 0.8rem 0.35rem;
  isolation: isolate;
}

.hero-context {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.86);
}

.hero-context__desktop {
  display: inline;
}

.hero-context__mobile {
  display: none;
}

.hero-context-note {
  display: none;
}

.hero-impact {
  margin: var(--space-phi2) 0 0;
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.7);
}

.hero-impact .hero-dot {
  width: 3px;
  height: 3px;
  margin: 0 12px;
  background: rgba(180, 90, 63, 0.55);
  transform: translateY(-1px);
}

.hero-subcontext {
  margin: 1.35rem 0 0;
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.7);
}

/* Cabecera */
.hero-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--lighthouse-gap);

  align-self: flex-start;
  margin: 0;
  padding: 0;

  opacity: 0;
  animation: hero-fade-up 0.9s ease-out forwards;
  animation-delay: 0.1s;
}

.hero-lighthouse:link,
.hero-lighthouse:visited {
  color: inherit;
  text-decoration: none;
}

.hero-lighthouse {
  position: static;
  display: inline-block;
  text-decoration: none;
  margin: 0;
}

.hero-logo {
  width: auto;
  height: var(--lighthouse-size);
  display: block;
  filter: drop-shadow(0 15px 28px rgba(0, 0, 0, 0.08));
}

.hero-lighthouse:hover .hero-logo {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.1))
    drop-shadow(0 0 18px rgba(255, 214, 160, 0.12));
}

.hero-coords a,
.hero-coords a:link,
.hero-coords a:visited {
  color: inherit;
  text-decoration: none;
}

.hero-coords a[href] {
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.hero-coords a[href]:hover,
.hero-coords a[href]:focus-visible {
  color: rgba(180, 90, 63, 0.92);
  text-decoration-line: underline;
}

.hero-coords a[href]:focus-visible {
  outline: 1px solid rgba(180, 90, 63, 0.42);
  outline-offset: 4px;
}

.hero-lighthouse-tag {
  position: absolute;
  left: calc(var(--lighthouse-size) + var(--lighthouse-gap));
  right: 0;
  text-align: center;
  top: 3.95rem;
  white-space: nowrap;

  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: rgba(0, 0, 0, 0.64);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-lighthouse:hover .hero-lighthouse-tag {
  opacity: 1;
}

.hero-brand-block {
  text-align: center;
  padding-top: 0.35rem;
  max-width: 640px;
}

.hero-brand {
  margin: 0 0 6px;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: lowercase;
  color: #111111;
}
.hero-lang {
  position: absolute;
  top: calc(var(--hero-top-pad) - 1.1rem);
  right: 1.5rem;
  z-index: 1001;

  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-lang__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(var(--brand-copper), 0.78);
  display: inline-block;
  transform: translateY(-1px);
  box-shadow: 0 0 7px rgba(var(--brand-copper), 0.22);
}

.hero-lang__link,
.hero-lang__link:link,
.hero-lang__link:visited {
  position: relative;
  display: inline-block;
  text-decoration: none;

  color: rgba(0, 0, 0, 0.68);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;

  padding: 2px 2px 3px;
  border-radius: 999px;

  transition:
    transform 0.25s ease-out,
    color 0.25s ease-out,
    letter-spacing 0.25s ease-out,
    text-shadow 0.25s ease-out;
}

.hero-lang__link:hover {
  transform: translateY(-1px);
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-shadow:
    0 0 10px rgba(var(--beam-rgb), 0.18),
    0 0 24px rgba(var(--beam-rgb), 0.1);
}

.hero-lang__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;

  transform: translateX(-50%);
  opacity: 0;

  transition:
    width 0.35s ease-out,
    opacity 0.35s ease-out;
}

.hero-lang__link:hover::after {
  width: 110%;
  opacity: 1;
  background: linear-gradient(
    to right,
    rgba(196, 107, 76, 0) 0%,
    rgba(196, 107, 76, 0.85) 50%,
    rgba(196, 107, 76, 0) 100%
  );
}
.hero-coords {
  margin: 0;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.55);
}

.hero-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(196, 107, 76, 0.75);
  border-radius: 50%;
  margin: 0 10px;
  transform: translateY(-1px);
}

/* CTA */
.hero-cta {
  margin: 2rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: lowercase;

  padding: 0.95rem 1.55rem;
  border-radius: 999px;

  position: relative;
  z-index: 50;
  pointer-events: auto;

  text-decoration: none;

  color: rgba(0, 0, 0, 0.58);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 1;

  backdrop-filter: blur(0.6px);
  -webkit-backdrop-filter: blur(0.6px);

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-cta.is-lit {
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;

  transform: translateY(-1px) scale(1.02);
  border-color: rgba(180, 90, 63, 0.38);
  color: rgba(0, 0, 0, 0.88);
  background: rgba(255, 255, 255, 0.26);

  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(var(--beam-rgb), 0.18),
    0 0 56px rgba(var(--beam-rgb), 0.1);

  text-shadow: 0 0 10px rgba(var(--beam-rgb), 0.14);
}

.hero-cta:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.74);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Nav */
.hero-nav {
  font-weight: 320;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: rgba(0, 0, 0, 0.68);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.65rem;

  width: min(900px, 100%);

  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;

  margin: 0 auto;
  z-index: 3;

  opacity: 0;
  animation: hero-fade-up 0.9s ease-out forwards;
  animation-delay: 0.28s;
}

.hero-nav a {
  display: inline-block;
}

.hero-nav__copy,
.hero-nav__title {
  display: inline;
}

.hero-nav__index,
.hero-nav__meta,
.hero-nav__arrow,
.hero-nav__chevron {
  display: none;
}

.hero-nav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0;
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto;
  opacity: 0;
  animation: hero-fade-up 0.9s ease-out forwards;
  animation-delay: 0.28s;
}

.hero-nav-wrap .hero-nav {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 0;
  padding: 0.08rem 0.2rem 0;
  font-size: 14px;
  letter-spacing: 0.2em;
  opacity: 1;
  animation: none;
}

.hero-nav-wrap .hero-nav a,
.hero-nav-wrap .hero-nav a:link,
.hero-nav-wrap .hero-nav a:visited {
  box-sizing: border-box;
  min-height: 36px;
  padding: 0.44rem 0.12rem;
}

.lxx-layer-tag__function {
  display: inline-flex;
  align-items: center;
  text-transform: lowercase;
  color: rgba(0, 0, 0, 0.5);
}

.lxx-layer-tag__function::before {
  content: "·";
  margin: 0 0.42em;
  color: rgba(180, 90, 63, 0.62);
}

/* Etiquetas locales: quedan como fuente de texto para el HUD, no visibles */
.section-label {
  display: none;
}

.section > .container {
  position: relative;
}
/* Faro (halo) — compartido */
#light {
  fill: rgba(165, 155, 140, 0.85);
  opacity: 0.85;
}
/* ================================
   UI de sección (shell + placeholder)
   - Deja sitio para: label izquierda + "punto de partida" derecha
   - Evita que el contenido los pise
================================ */

.section-shell {
  position: relative;
  padding-top: calc(var(--hero-top-pad) + 1.6rem);
  min-height: 100vh;
  min-height: 100svh;
}

.section-body {
  position: relative;
  z-index: 1;
  width: 100%;
}

.placeholder-block {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 2rem 1.8rem;
  border-radius: var(--radius-soft);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(0.6px);
  -webkit-backdrop-filter: blur(0.6px);
}

.placeholder-text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.55);
}

@keyframes haloBreathe {
  0% {
    opacity: 0.14;
    transform: scale(0.975);
  }
  50% {
    opacity: 0.18;
    transform: scale(1.025);
  }
  100% {
    opacity: 0.14;
    transform: scale(0.975);
  }
}

@keyframes haloHerculesPulse {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.98);
  }

  2% {
    opacity: 0.24;
    transform: scale(1.03);
  }

  20% {
    opacity: 0.24;
    transform: scale(1.03);
  }

  36% {
    opacity: 0.24;
    transform: scale(1.03);
  }

  52% {
    opacity: 0.24;
    transform: scale(1.03);
  }
}

#halo {
  fill: rgba(245, 225, 195, 0.46);
  opacity: 0.11;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(255, 215, 160, 0.14));

  animation:
    haloBreathe 3.8s ease-in-out infinite,
    haloHerculesPulse var(--hero-rotation) linear infinite;
}
/* ================================
   BLOQUE 8 — Te propongo
   Fondo: lo aporta .site-bg (interior unificado)
================================ */
/* Meta superior en Te propongo: vive dentro de la sección (NO fixed) */
#te-propongo {
  position: relative;
  isolation: isolate;
  background: transparent;
}

#te-propongo .como__valueInner {
  position: relative;
  padding-top: 1.6rem; /* sube el bloque completo */
  padding-bottom: 2.2rem; /* aire para el cierre */
}
#te-propongo .teprop__header {
  width: min(980px, 92vw);
  margin: 1.15rem auto 0; /* sube título/subtítulo */
  text-align: left;
}

#te-propongo .teprop__title {
  --lxx-editorial-section-title-size: clamp(2.2rem, 4.2vw, 3.1rem);
  --lxx-editorial-title-line-height: 1.08;
  --lxx-editorial-title-letter-spacing: -0.01em;
  --lxx-editorial-title-color: rgba(0, 0, 0, 0.86);
  margin: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: var(--lxx-editorial-section-title-size);
  line-height: var(--lxx-editorial-title-line-height);
  letter-spacing: var(--lxx-editorial-title-letter-spacing);
  text-transform: none;
  color: var(--lxx-editorial-title-color);
  text-wrap: balance;
  text-shadow: none;
}

#te-propongo .teprop__subtitle {
  margin: 0.9rem 0 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-weight: var(--lxx-editorial-copy-weight);
  font-size: var(--lxx-editorial-section-copy-size);
  line-height: var(--lxx-editorial-copy-line-height);
  letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  color: var(--lxx-editorial-copy-color);
}

#te-propongo .teprop__subtitleNotebook {
  font-style: italic;
}
#te-propongo .como__meta {
  position: absolute;
  top: 0.85rem;
  right: 1.25rem;
  z-index: 5;

  display: flex;
  align-items: center;
  gap: 0.85rem;

  pointer-events: auto;
}

/* Título */
#te-propongo .como__headline {
  margin: 0.8rem 0 1.1rem;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: rgba(0, 0, 0, 0.72);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* La teoría */
#te-propongo .como__theory {
  position: relative;
  margin: 0.6rem auto 0.55rem;
  width: min(960px, 94vw);
  display: grid;
  justify-items: center;
  padding-bottom: 3.2rem;
  letter-spacing: 0.08em;
}

#te-propongo .como__theoryFigure {
  margin: 0;
  height: auto;
  line-height: 0;
  background: transparent;
  border: 0.75px solid rgba(0, 0, 0, 0.22);
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  margin: 0 auto;
  padding: 0.05rem 0.3rem;
  display: inline-block;
  width: fit-content;
  max-width: 96vw;
  vertical-align: top;
  margin-top: 0.5rem;
}

#te-propongo .como__theoryImg {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: 50% 50%;
  transform-origin: 50% 50%;
  position: relative;
  z-index: 1;
  max-height: 100px;
  max-width: 100%;
}

#te-propongo .como__theoryText {
  position: relative;
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.72);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  transform: translateX(-1.2rem);
  line-height: 1.45;
  margin-top: 0.9rem;
}

#te-propongo .como__theoryLine {
  display: block;
}

#te-propongo .como__theoryLine--nowrap {
  white-space: nowrap;
}

/* Puente */
#te-propongo .como__bridge {
  width: min(900px, 92vw);
  margin: 0.75rem auto 0.7rem;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.66);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Navegación inferior (en sección: NO fija) */
#te-propongo .hero-nav.hero-nav--value {
  position: static;
  width: min(900px, 92vw);
  margin: 1.55rem auto 0;
  z-index: auto;
  pointer-events: auto;
}

/* Evidencia */
#te-propongo .evidencia {
  margin-top: 1.25rem; /* sube el carrusel */
  width: 100%;
}
/* Cierre de sección */
#te-propongo .teprop__closing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  width: min(860px, 92vw);
  margin: 2.1rem auto 0;
  text-align: center;
}

#te-propongo .teprop__closingText {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--lxx-editorial-copy-weight);
  font-size: var(--lxx-editorial-section-copy-size);
  line-height: var(--lxx-editorial-copy-line-height);
  letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  color: var(--lxx-editorial-copy-color);
}

#te-propongo .teprop__closingCta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  justify-content: center;
  border: 1px solid rgba(180, 90, 63, 0.22);
  border-radius: 999px;
  background: rgba(180, 90, 63, 0.05);
  color: rgba(0, 0, 0, 0.68);
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

#te-propongo .teprop__closingCta:hover,
#te-propongo .teprop__closingCta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.36);
  background: rgba(180, 90, 63, 0.12);
  color: rgba(0, 0, 0, 0.8);
}

#te-propongo .teprop__closingCta:focus-visible {
  outline: 2px solid rgba(var(--brand-copper), 0.42);
  outline-offset: 3px;
}

#te-propongo,
#te-propongo button,
#te-propongo input,
#te-propongo textarea,
#te-propongo select {
  font-family: var(--font-base);
}

#te-propongo .evidencia__rail {
  width: 100%;
  margin: 0 auto;

  position: relative;
  overflow: hidden;
  overflow-y: hidden;

  display: block;
  justify-content: center;

  /* más recorrido horizontal (más aire lateral) */
  padding: 22px clamp(28px, 6vw, 96px);

  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);

  scrollbar-width: none;
}
#te-propongo .evidencia__rail {
  cursor: grab;
  user-select: none;
  touch-action: pan-y; /* permite scroll vertical de la página en móvil */
}

#te-propongo .evidencia__rail.is-native-scroll {
  cursor: auto;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

#te-propongo .evidencia__rail.is-native-scroll .evidencia__track {
  width: max-content;
  transform: none;
  will-change: auto;
}

#te-propongo .evidencia__rail.is-dragging {
  cursor: grabbing;
}

#te-propongo .evidencia__card {
  cursor: pointer;
}
#te-propongo .evidencia__track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;

  transform: translate3d(0, 0, 0);
  will-change: transform;
}

#te-propongo .evidencia__item {
  margin: 0;
  flex: 0 0 auto;

  width: clamp(210px, 15.5vw, 270px);
  aspect-ratio: 4 / 5;
  height: auto;

  position: relative;
  border-radius: 0;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
#te-propongo .evidencia__item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* 1) cobre muy sutil */
  background: rgba(180, 90, 63, 0.12);
  mix-blend-mode: multiply;

  transition: opacity 260ms ease;
  opacity: 1;
}
#te-propongo .evidencia__item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  /* vignette editorial + micro-brillo superior */
  background:
    radial-gradient(120% 120% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 35%);

  mix-blend-mode: soft-light;
  opacity: 0.85;

  transition: opacity 260ms ease;
}
#te-propongo .evidencia__rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#te-propongo .evidencia__item img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 50%;

  /* elegante: no B/N total, solo reposo */
  filter: saturate(0.82) contrast(1.05);
  transition:
    filter 260ms ease,
    transform 260ms ease;

  user-select: none;
  -webkit-user-drag: none;
}

#te-propongo
  .evidencia__card[data-project-id="eclipse-solar"]
  .evidencia__item {
  background:
    linear-gradient(rgba(22, 24, 24, 0.2), rgba(22, 24, 24, 0.2)),
    url("../img-optimized/eclipse-agosto-2027-640.webp") 50% 50% / cover no-repeat;
}

#te-propongo
  .evidencia__card[data-project-id="eclipse-solar"]
  .evidencia__img {
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
}

#te-propongo
  .evidencia__card[data-project-id="eclipse-solar"]:hover
  .evidencia__img,
#te-propongo
  .evidencia__card[data-project-id="eclipse-solar"]:focus-visible
  .evidencia__img {
  transform: none;
}

.lxx-responsive-picture {
  display: block;
  width: 100%;
  height: 100%;
}
#te-propongo .evidencia__card:hover .evidencia__item img,
#te-propongo .evidencia__card:focus-visible .evidencia__item img {
  filter: saturate(1.05) contrast(1.08);
}

#te-propongo .evidencia__card.is-fully-visible .evidencia__item::after,
#te-propongo .evidencia__card:hover .evidencia__item::after,
#te-propongo .evidencia__card:focus-visible .evidencia__item::after {
  opacity: 0.55;
}

#te-propongo .evidencia__card.is-fully-visible .evidencia__item::before,
#te-propongo .evidencia__card:hover .evidencia__item::before,
#te-propongo .evidencia__card:focus-visible .evidencia__item::before {
  opacity: 0.65;
}
#te-propongo .evidencia__rail:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 6px;
}

#te-propongo .evidencia__motionToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 44px;
  margin: 0.4rem auto 0;
  padding: 0.55rem 0.7rem;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(24, 20, 17, 0.68);
  cursor: pointer;
  transition:
    color 0.22s ease,
    letter-spacing 0.22s ease;
}

#te-propongo .evidencia__motionToggle:hover,
#te-propongo .evidencia__motionToggle:focus-visible {
  color: var(--color-accent);
  letter-spacing: 0.14em;
}

#te-propongo .evidencia__motionToggle:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.48);
  outline-offset: 3px;
}

#te-propongo .evidencia__motionDot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

#te-propongo .evidencia__motionToggle[aria-pressed="true"] .evidencia__motionDot {
  box-shadow: 0 0 0 3px rgba(180, 90, 63, 0.12);
}

@media (min-width: 901px) {
  #te-propongo .como__valueInner {
    min-height: calc(100svh - 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #te-propongo .evidencia {
    position: relative;
    margin-top: 1.65rem;
  }

  #te-propongo .evidencia__motionToggle {
    position: absolute;
    top: 0;
    left: auto;
    right: clamp(14px, 2vw, 28px);
    z-index: 2;
    min-height: 32px;
    margin: 0;
    padding: 0.3rem 0.5rem;
    border: 1px solid rgba(var(--brand-copper), 0.08);
    border-radius: 999px;
    background: rgba(246, 239, 230, 0.54);
    backdrop-filter: blur(6px);
    transform: translateY(-42%);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: rgba(24, 20, 17, 0.58);
  }

  #te-propongo .evidencia__motionDot {
    display: none;
  }

  #te-propongo .teprop__closing {
    margin-top: 1.05rem;
  }
}

/* Sello */
#te-propongo .como__seal {
  width: min(860px, 92vw);
  margin: 0.95rem auto 2.4rem;
  position: relative;
  transform: translateX(-0.6rem);
  isolation: isolate;
}

#te-propongo .como__seal::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  pointer-events: none;

  background:
    radial-gradient(22px 22px at 16% 28%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0) 60%),
    radial-gradient(18px 18px at 78% 62%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0) 60%),
    radial-gradient(16px 16px at 44% 78%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0) 60%);
  mix-blend-mode: multiply;
  filter: blur(0.6px);
  opacity: 0.9;
}

#te-propongo .como__sealText {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
@keyframes lxxProcessFade {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 0.85;
    transform: translate(-50%, 0);
  }
}
@media (max-height: 860px) {
  #te-propongo .evidencia__item {
    width: clamp(200px, 14.5vw, 250px);
    aspect-ratio: 4 / 5;
  }
}

@media (min-width: 769px) and (max-height: 640px) {
  #te-propongo .teprop__header {
    margin-top: -0.1rem;
  }
}
/* ================================
   T4.3 — Vitrina B/N + Hover técnico + overlay
================================ */

/* Cada tarjeta será un <button> renderizado por JS */
#te-propongo .evidencia__card {
  all: unset;
  display: block;
  cursor: pointer;
  border-radius: 0;
}

#te-propongo .evidencia__card:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 6px;
}

#te-propongo .evidencia__item {
  position: relative;
  contain: paint;
}

/* B/N por defecto */
#te-propongo .evidencia__item img {
  filter: grayscale(100%) contrast(1.02) brightness(0.98);
  backface-visibility: hidden;
  will-change: filter;
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}
/* La tarjeta completa y la interacción consciente devuelven el color */
#te-propongo .evidencia__card.is-fully-visible .evidencia__item img {
  filter: none;
}

#te-propongo .evidencia__card:hover .evidencia__item img,
#te-propongo .evidencia__card:focus-visible .evidencia__item img {
  filter: none;
  transform: scale(1.01);
}

/* Overlay técnico: REF + ESTADO */
#te-propongo .evidencia__overlay {
  position: absolute;
  inset: 0;
  padding: 15px 18px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;

  font-size: 0.68rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: none;

  color: rgba(255, 248, 240, 0.88);
  text-shadow: 0 1px 12px rgba(12, 9, 7, 0.34);

  background:
    linear-gradient(to bottom, rgba(14, 12, 10, 0.58) 0%, rgba(14, 12, 10, 0) 30%),
    linear-gradient(to top, rgba(14, 12, 10, 0.62) 0%, rgba(14, 12, 10, 0) 28%);
}

#te-propongo .evidencia__ref {
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

#te-propongo .evidencia__state {
  align-self: flex-start;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: none;
  color: inherit;
  white-space: nowrap;
}

@media (max-width: 820px) {
  #te-propongo .evidencia__overlay {
    padding: 13px 14px;
  }

  #te-propongo .evidencia__ref {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }
}

/* ================================
   T4.4/T4.5 — Modal Expediente (PREMIUM SOBRIA · FINAL)
   - NO toca JS, IDs ni arquitectura
   - Cruz cobre como navegación
   - CTA igual a .hero-cta (portada)
   - Panel "papel" cálido (no blanco)
================================ */

/* Capa modal */
#te-propongo .project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

#te-propongo .project-modal.is-open {
  display: block;
}

/* Backdrop: sobrio */
#te-propongo .project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.52);
  opacity: 0;
  animation: lxxModalFade 0.22s ease forwards;
}

/* Panel: dossier (papel cálido, sin blanco) */
#te-propongo .project-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1040px, 92vw);
  max-height: min(84vh, 860px);

  transform: translate(-50%, -50%) scale(0.992);
  opacity: 0;

  /* papel cálido (alineado con tu paleta, no blanco) */
  background: rgba(220, 212, 200, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 18px;

  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.4) inset;

  overflow: hidden;
  animation: lxxModalPop 0.24s ease forwards;
  outline: none;
}

/* Micro-marco interior (carpeta) */
#te-propongo .project-modal__panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

/* Cierre: MISMO SISTEMA QUE NAVEGACIÓN (hero-meta-link) */
#te-propongo .project-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 0;
  background: transparent;

  font-size: 24px;
  line-height: 1;

  color: var(--color-accent); /* cobre */
  cursor: pointer;

  border-radius: 999px;
  transition:
    transform 0.25s ease-out,
    color 0.25s ease-out,
    text-shadow 0.25s ease-out;
}

/* Cierre — cápsula rectangular coherente con CTA */
#te-propongo .project-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 0.9rem;

  border-radius: 14px; /* mismo lenguaje que cards / panel */

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);

  color: var(--color-accent); /* cobre */

  font-size: 22px;
  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#te-propongo .project-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#te-propongo .project-modal__close:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 4px;
}
/* ✅ CLAVE: tu HTML/JS usa #projectModalBody */
#te-propongo #projectModalBody {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;

  padding: 28px;
  padding-top: 30px;

  max-height: min(84vh, 860px);
  overflow: auto;

  scrollbar-gutter: stable both-edges;
}

/* Scrollbar discreta */
#te-propongo #projectModalBody::-webkit-scrollbar {
  width: 10px;
}
#te-propongo #projectModalBody::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  border: 3px solid rgba(220, 212, 200, 0.94);
}
#te-propongo #projectModalBody::-webkit-scrollbar-track {
  background: transparent;
}

/* Columna izquierda: foto vertical (hoja) */
#te-propongo .project-modal__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.14);

  min-height: 560px;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

/* Filete interior */
#te-propongo .project-modal__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

#te-propongo .project-modal__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.92) contrast(1.04);
}

#te-propongo .project-modal__media[data-project-id="andalucia"] .project-modal__img {
  object-position: center bottom;
}

/* Badge: sello */
#te-propongo .project-modal__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 9px 12px;

  border-radius: 999px;
  background: rgba(245, 238, 230, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);

  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.72);

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* Columna derecha */
#te-propongo .project-modal__content {
  padding: 4px 4px 8px;
}

/* Meta superior */
#te-propongo .project-modal__metaTop {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#te-propongo .project-modal__ref {
  font-family: var(--font-title);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.78);
}

#te-propongo .project-modal__model {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Título */
#te-propongo .project-modal__title {
  margin: 14px 0 12px;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.45rem, 2.55vw, 2.1rem);
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.82);
}

/* Criterio */
#te-propongo .project-modal__stateExplanation {
  margin: 0 0 14px;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(180, 90, 63, 0.22);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.045em;
  color: var(--color-accent);
}

#te-propongo .project-modal__criterion {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.7);
}

#te-propongo .project-modal__criterion + .project-modal__criterion {
  margin-top: -8px;
}

/* Specs */
#te-propongo .project-modal__specs {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 14px;

  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.22);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

#te-propongo .project-modal__specRow {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;

  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
#te-propongo .project-modal__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;

  margin: 0 0 18px;
  padding: 14px 18px;

  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.22);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

#te-propongo .project-modal__priceKey {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
  white-space: nowrap;
}

#te-propongo .project-modal__priceVal {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: rgba(0, 0, 0, 0.76);
  text-align: right;
  text-transform: none;
  letter-spacing: normal;
}

/* 👉 Variante: cuando es número */
#te-propongo .project-modal__priceVal.is-number {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.9);
}

/* 👉 Variante: cuando es texto */
#te-propongo .project-modal__priceVal.is-text {
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}
#te-propongo .project-modal__specRow:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

#te-propongo .project-modal__specKey {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
  white-space: nowrap;
}

#te-propongo .project-modal__specVal {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: rgba(0, 0, 0, 0.76);
  text-align: right;
}

#te-propongo .project-modal__route,
#te-propongo .project-modal__notebook {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

#te-propongo .project-modal__routeLabel,
#te-propongo .project-modal__notebookTitle,
#te-propongo .project-modal__notebookBadge {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#te-propongo .project-modal__routeLabel {
  margin-bottom: 12px;
  color: rgba(0, 0, 0, 0.58);
}

#te-propongo .project-modal__route .project-modal__specs,
#te-propongo .project-modal__route .project-modal__price {
  box-shadow: none;
}

#te-propongo .project-modal__serviceFacts {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

#te-propongo .project-modal__serviceFact {
  display: grid;
  grid-template-columns: minmax(118px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

#te-propongo .project-modal__serviceFact dt {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

#te-propongo .project-modal__serviceFact dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.72);
}

#te-propongo .project-modal__requestNote {
  margin: 0 0 14px;
  padding: 11px 12px;
  border-left: 3px solid rgba(180, 90, 63, 0.5);
  background: rgba(255, 255, 255, 0.22);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.72);
}

#te-propongo .project-modal__notebook {
  border-color: rgba(180, 90, 63, 0.32);
  background: rgba(180, 90, 63, 0.08);
}

#te-propongo .project-modal__notebookTitle {
  color: rgba(0, 0, 0, 0.78);
}

#te-propongo .project-modal__notebookBadge {
  margin-top: 7px;
  color: var(--color-accent);
}

#te-propongo .project-modal__notebookText {
  margin: 12px 0 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
}

/* CTA: IGUAL A .hero-cta (portada) */
#te-propongo .project-modal__cta {
  position: relative;
  z-index: 2;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  padding: 1rem 1.4rem;
  border-radius: 999px;

  text-decoration: none;

  color: rgba(0, 0, 0, 0.58);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);

  cursor: pointer;

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#te-propongo .project-modal__cta:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.74);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#te-propongo .project-modal__cta:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 4px;
}

#te-propongo .project-modal__editorialNote {
  margin: 0;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(180, 90, 63, 0.24);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  text-align: center;
}

#te-propongo .project-modal__secondaryLink {
  margin-top: 8px;
  border-color: rgba(var(--brand-copper), 0.38);
  background: rgba(220, 212, 200, 0.72);
  color: rgba(86, 45, 31, 0.86);
}

#te-propongo .project-modal__secondaryLink:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 3px;
}

/* Animaciones mínimas */
@media (min-width: 821px) {
  #te-propongo .project-modal__panel {
    width: min(1340px, 98vw);
    max-height: min(98vh, 860px);
  }

  /* El eclipse y el faro ocupan extremos opuestos de esta foto apaisada. */
  #te-propongo
    .project-modal__panel:has(
      .project-modal__media[data-project-id="eclipse-solar"]
    ) {
    height: min(94vh, 800px);
  }

  #te-propongo
    #projectModalBody:has(
      .project-modal__media[data-project-id="eclipse-solar"]
    ) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(180px, 26vh, 220px) minmax(0, 1fr);
    height: 100%;
  }

  #te-propongo
    .project-modal__media[data-project-id="eclipse-solar"] {
    min-height: 0;
    height: 100%;
  }

  #te-propongo
    .project-modal__media[data-project-id="eclipse-solar"]
    .project-modal__img {
    object-position: 50% 28%;
  }

  #te-propongo
    #projectModalBody:has(
      .project-modal__media[data-project-id="eclipse-solar"]
    )
    .project-modal__content {
    min-height: 0;
    overflow-y: auto;
  }

  #te-propongo #projectModalBody {
    grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1.58fr);
    gap: 18px;
    max-height: min(98vh, 860px);
    padding: 10px 22px;
    overflow: hidden;
  }

  #te-propongo .project-modal__media {
    min-height: 0;
  }

  #te-propongo .project-modal__content {
    padding: 2px 2px 4px;
    min-width: 0;
  }

  #te-propongo .project-modal__metaTop {
    margin-bottom: 8px;
    padding-right: 72px;
    padding-bottom: 9px;
  }

  #te-propongo .project-modal__title {
    margin: 9px 0 8px;
    font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  }

  #te-propongo .project-modal__stateExplanation {
    margin-bottom: 9px;
    padding-bottom: 9px;
    font-size: 0.84rem;
    line-height: 1.4;
  }

  #te-propongo .project-modal__criterion {
    margin-bottom: 11px;
    font-size: 0.94rem;
    line-height: 1.44;
  }

  #te-propongo .project-modal__criterion + .project-modal__criterion {
    margin-top: -5px;
  }

  #te-propongo .project-modal__specs {
    gap: 7px;
    margin-bottom: 11px;
    padding: 10px 12px;
  }

  #te-propongo .project-modal__specRow {
    gap: 10px;
    padding-bottom: 7px;
  }

  #te-propongo .project-modal__specVal,
  #te-propongo .project-modal__priceVal {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  #te-propongo .project-modal__price {
    margin-bottom: 11px;
    padding: 10px 14px;
  }

  #te-propongo .project-modal__route--service {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 10px 14px;
    align-items: start;
  }

  #te-propongo .project-modal__route--service > .project-modal__routeLabel {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
  }

  #te-propongo .project-modal__route--service > .project-modal__specs {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  #te-propongo .project-modal__route--service > .project-modal__price {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }

  #te-propongo .project-modal__route--service > .project-modal__serviceFacts {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  #te-propongo .project-modal__route--service > .project-modal__requestNote {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
  }

  #te-propongo .project-modal__route--service > .project-modal__cta {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  #te-propongo .project-modal__content--service_notebook {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(190px, 0.65fr);
    column-gap: 12px;
    align-content: start;
    align-items: start;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__metaTop,
  #te-propongo .project-modal__content--service_notebook > .project-modal__titleRow,
  #te-propongo .project-modal__content--service_notebook > .project-modal__stateExplanation,
  #te-propongo .project-modal__content--service_notebook > .project-modal__criterion {
    grid-column: 1 / -1;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__route {
    grid-column: 1;
    grid-row: 5;
    margin-bottom: 0;
    padding: 10px;
    gap: 3px 10px;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__notebook {
    grid-column: 2;
    grid-row: 5;
    margin-bottom: 0;
  }

  #te-propongo .project-modal__content--service_notebook
    > .project-modal__stateExplanation {
    margin-bottom: 6px;
    padding-bottom: 7px;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__metaTop {
    margin-bottom: 4px;
    padding-bottom: 7px;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__titleRow {
    margin: 5px 0;
  }

  #te-propongo .project-modal__content--service_notebook > .project-modal__criterion {
    margin-bottom: 6px;
  }

  #te-propongo .project-modal__content--service_notebook .project-modal__cta {
    padding: 0.6rem 1rem;
  }

  #te-propongo .project-modal__content--service_notebook .project-modal__specRow,
  #te-propongo .project-modal__content--service_notebook .project-modal__price,
  #te-propongo .project-modal__content--service_notebook .project-modal__serviceFact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    align-items: start;
  }

  #te-propongo .project-modal__content--service_notebook .project-modal__specKey,
  #te-propongo .project-modal__content--service_notebook .project-modal__priceKey {
    white-space: normal;
  }

  #te-propongo .project-modal__content--service_notebook .project-modal__specVal,
  #te-propongo .project-modal__content--service_notebook .project-modal__priceVal {
    text-align: left;
  }

  #te-propongo .project-modal__cta {
    padding: 0.78rem 1.2rem;
  }
}

@keyframes lxxModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lxxModalPop {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
/* ================================
   Modal · Apuntarme (coherente con expediente)
================================ */
#te-propongo .signup-modal {
  position: fixed;
  inset: 0;
  z-index: 1005; /* por encima del expediente (999) */
  display: none;
}

#te-propongo .signup-modal.is-open {
  display: block;
}

#te-propongo .signup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.52);
  opacity: 0;
  animation: lxxModalFade 0.22s ease forwards;
}

#te-propongo .signup-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 92vw);
  max-height: min(86vh, 860px);

  transform: translate(-50%, -50%) scale(0.995);
  opacity: 0;

  background: rgba(220, 212, 200, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 18px;

  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.22);
  overflow: hidden;

  animation: lxxModalPop 0.24s ease forwards;
}

#te-propongo .signup-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 0.9rem;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);

  color: var(--color-accent);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#te-propongo .signup-modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#te-propongo .signup-modal__body {
  padding: 28px;
  padding-top: 30px;
  overflow: auto;
  max-height: min(86vh, 860px);
}

#te-propongo .signup-modal__metaTop {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#te-propongo .signup-modal__ref {
  font-family: var(--font-title);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.78);
}

#te-propongo .signup-modal__title {
  margin: 14px 0 10px;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.82);
}

#te-propongo .signup-modal__subtitle {
  margin: 0 0 18px;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.55;
}

#te-propongo .signup-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#te-propongo .field {
  display: grid;
  gap: 8px;
}

#te-propongo .field--full {
  margin-top: 14px;
}

#te-propongo .field__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

#te-propongo .field__input,
#te-propongo .field__textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.22);
  padding: 12px 12px;
  font-family: var(--font-body);
  color: rgba(0, 0, 0, 0.78);
  outline: none;
}

#te-propongo .field__input:focus,
#te-propongo .field__textarea:focus {
  border-color: rgba(180, 90, 63, 0.35);
  box-shadow: 0 0 0 4px rgba(180, 90, 63, 0.12);
}

#te-propongo .consent {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.45;
}
#te-propongo .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;

  width: 18px;
  height: 18px;

  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);

  background: rgba(255, 255, 255, 0.22); /* mismo tono que inputs */
  cursor: pointer;

  display: inline-grid;
  place-content: center;

  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

#te-propongo .consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;

  transform: scale(0);
  transition: transform 0.18s ease;

  /* check hecho con máscara */
  clip-path: polygon(14% 44%, 0 59%, 50% 100%, 100% 16%, 85% 0, 43% 62%);

  background: var(--color-accent);
}

#te-propongo .consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

#te-propongo .consent input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 2px;
}

#te-propongo .consent a {
  color: inherit;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}
#te-propongo .signup-form__submit {
  margin-top: 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1rem 1.4rem;
  border-radius: 999px;

  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(0, 0, 0, 0.58);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);

  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

#te-propongo .signup-form__submit:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.74);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

#te-propongo .signup-form__note {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.56);
  line-height: 1.55;
  font-size: 0.95rem;
}
/* Mensajes inline del formulario (OK / error) */
#te-propongo .signup-form__status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.68);
}

#te-propongo .signup-form__status.is-ok {
  border-color: rgba(90, 140, 90, 0.35);
  box-shadow: 0 0 0 4px rgba(90, 140, 90, 0.1);
}

#te-propongo .signup-form__status.is-error {
  border-color: rgba(180, 90, 63, 0.35);
  box-shadow: 0 0 0 4px rgba(180, 90, 63, 0.12);
}

#te-propongo .signup-form__statusTitle {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
}
@media (max-width: 820px) {
  #te-propongo .signup-form__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  #te-propongo .signup-modal.is-open {
    display: block;
  }

  #te-propongo .signup-modal__panel {
    display: flex;
    flex-direction: column;
    width: min(360px, calc(100vw - 24px));
    height: calc(100svh - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100svh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden;
  }

  #te-propongo .signup-modal__close {
    z-index: 4;
  }

  #te-propongo .signup-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 18px;
    padding-top: 56px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(32px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  #te-propongo .signup-form {
    padding-bottom: 0.25rem;
  }

  #te-propongo .project-modal.is-open {
    display: block;
  }

  #te-propongo .project-modal__panel {
    display: flex;
    flex-direction: column;
    width: min(360px, calc(100vw - 24px));
    height: calc(100svh - 24px);
    height: calc(100dvh - 24px);
    max-height: calc(100svh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: hidden;
  }

  #te-propongo .project-modal__close {
    z-index: 4;
  }

  #te-propongo #projectModalBody {
    grid-template-columns: 1fr;
    gap: 14px;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    padding: 18px;
    padding-top: 56px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(32px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  #te-propongo .project-modal__media {
    min-height: 0;
    height: clamp(150px, 30svh, 220px);
  }

  #te-propongo .project-modal__metaTop {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  #te-propongo .project-modal__title {
    margin: 10px 0 8px;
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }

  #te-propongo .project-modal__criterion {
    margin-bottom: 12px;
    font-size: 0.94rem;
    line-height: 1.46;
  }

  #te-propongo .project-modal__content {
    min-width: 0;
    padding-bottom: 0.35rem;
  }

  #te-propongo .project-modal__specs {
    gap: 0;
    margin-bottom: 14px;
    padding: 12px 13px;
  }

  #te-propongo .project-modal__specRow {
    display: block;
    padding: 0.8rem 0;
  }

  #te-propongo .project-modal__price {
    display: block;
    margin-bottom: 16px;
    padding: 12px 13px;
  }

  #te-propongo .project-modal__specKey,
  #te-propongo .project-modal__priceKey {
    display: block;
    min-width: 0;
    line-height: 1.35;
    white-space: normal;
  }

  #te-propongo .project-modal__specVal,
  #te-propongo .project-modal__priceVal {
    display: block;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.42rem;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.42;
    text-align: left;
  }

  #te-propongo .project-modal__model {
    width: 100%;
    margin-left: 0;
  }

  #te-propongo .project-modal__serviceFact {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  #te-propongo .project-modal__cta {
    position: relative;
    min-height: 54px;
    margin-top: 0.35rem;
    padding: 0.9rem 1rem;
    background: rgba(220, 212, 200, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body.is-project-modal-open .site-meta,
  body.is-project-modal-open .site-label {
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #te-propongo .project-modal__backdrop,
  #te-propongo .project-modal__panel,
  #te-propongo .signup-modal__backdrop,
  #te-propongo .signup-modal__panel {
    animation: none;
    transition: none;
  }
}

/* Modal abierto: HUD + nav por encima del backdrop (sin velo) */
body.is-project-modal-open .site-meta,
body.is-project-modal-open .site-label {
  position: fixed;
  z-index: 1002;
}
/* ==========================
   COORDENADAS 2026 — PANTALLA CONTROLADA
   - usa SOLO el plano global .site-bg
   - una pantalla exacta
   - sin scroll interno
   - ficha ampliada in-scene
========================== */

.section-coords {
  --coords-axis-y: 50%;
  --coords-step: 7.45;
  --coords-chip-w: 188px;
  --coords-stack-gap: 118px;
  --coords-stem-base: 72px;
  --coords-stage-max: 1320px;
  --coords-stage-pad: clamp(28px, 4vw, 64px);
  --coords-detail-w: min(420px, 32vw);
  --coords-detail-offset: 56px;

  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
  overflow: hidden;
  isolation: isolate;

  background: transparent !important;
  background-image: none !important;
}
#coordenadas-2026 .coords-card {
  z-index: 1;
}

#coordenadas-2026 .coords-overlay-bridge {
  position: absolute;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(180, 90, 63, 0.18);
  pointer-events: none;
  z-index: 6;
}
#coordenadas-2026 .coords-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

#coordenadas-2026 .coords-stage {
  position: relative;
  width: min(var(--coords-stage-max), calc(100vw - (var(--coords-stage-pad) * 2)));
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: transparent !important;
  background-image: none !important;
}

#coordenadas-2026 .coords-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

#coordenadas-2026 .coords-links path,
#coordenadas-2026 .coords-links line {
  fill: none;
  stroke: rgba(180, 90, 63, 0.18);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#coordenadas-2026 .coords-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--coords-axis-y);
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    rgba(196, 107, 76, 0) 0%,
    rgba(196, 107, 76, 0.42) 12%,
    rgba(196, 107, 76, 0.74) 50%,
    rgba(196, 107, 76, 0.42) 88%,
    rgba(196, 107, 76, 0) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(196, 107, 76, 0.14);
  pointer-events: none;
}

#coordenadas-2026 .coords-milestones,
#coordenadas-2026 .coords-overlay {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#coordenadas-2026 .coords-milestones {
  z-index: 4;
  transition:
    opacity 0.26s ease,
    filter 0.26s ease;
}

#coordenadas-2026 .coords-overlay {
  z-index: 5;
  transition:
    opacity 0.26s ease,
    filter 0.26s ease;
  pointer-events: none;
}

#coordenadas-2026.has-active-detail .coords-milestones,
#coordenadas-2026.has-active-detail .coords-overlay {
  opacity: 0.34;
  filter: saturate(0.84);
}
#coordenadas-2026.has-active-month .milestone,
#coordenadas-2026.has-active-month .coords-card {
  opacity: 0.2;
  filter: saturate(0.72);
}

#coordenadas-2026.has-active-month .milestone.is-month-focus,
#coordenadas-2026.has-active-month .coords-card.is-month-focus {
  opacity: 1;
  filter: none;
}
#coordenadas-2026.has-active-detail .milestone.is-active,
#coordenadas-2026.has-active-detail .coords-card.is-active {
  opacity: 1;
  filter: none;
}

#coordenadas-2026 .milestone {
  position: absolute;
  top: var(--coords-axis-y);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease,
    filter 0.26s ease;
  overflow: visible;
}

#coordenadas-2026 .milestone-node {
  position: relative;
  width: 74px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

#coordenadas-2026 .milestone:not(.has-events),
#coordenadas-2026 .milestone.is-past-month {
  opacity: 0.54;
}

#coordenadas-2026 .milestone-node:focus-visible {
  outline: 1px solid rgba(var(--brand-copper), 0.52);
  outline-offset: 2px;
  border-radius: 999px;
}

#coordenadas-2026 .milestone-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 15px);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 0.56rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.18em;
  color: rgba(39, 31, 26, 0.48);
  transition:
    color 320ms ease,
    letter-spacing 320ms ease;
}

#coordenadas-2026 .milestone-label__current {
  color: rgba(var(--brand-copper), 0.92);
  letter-spacing: 0.12em;
}

#coordenadas-2026 .coords-node {
  position: relative;
  z-index: 1;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(var(--brand-copper), 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 250, 244, 0.82),
    0 0 0 3px rgba(var(--brand-copper), 0.08);
  transition:
    background-color 320ms ease,
    box-shadow 320ms ease,
    transform 320ms ease;
}

#coordenadas-2026 .milestone.has-events .coords-node {
  background: rgba(var(--brand-copper), 0.94);
}

#coordenadas-2026 .milestone-node:hover .milestone-label,
#coordenadas-2026 .milestone-node:focus-visible .milestone-label {
  color: rgba(var(--brand-copper), 0.9);
  letter-spacing: 0.2em;
}

#coordenadas-2026 .milestone-node:hover .coords-node,
#coordenadas-2026 .milestone-node:focus-visible .coords-node {
  transform: scale(1.12);
  box-shadow:
    0 0 0 3px rgba(247, 239, 229, 0.78),
    0 0 0 4px rgba(var(--brand-copper), 0.18);
}

#coordenadas-2026 .milestone.is-active .coords-node {
  transform: scale(1.12);
}

#coordenadas-2026 .milestone.is-current-month {
  opacity: 1;
}

#coordenadas-2026 .milestone.is-current-month .milestone-label {
  color: rgba(var(--brand-copper), 0.94);
}

#coordenadas-2026 .milestone.is-current-month .coords-node {
  background: rgba(var(--brand-copper), 1);
  animation: coordsCurrentMonthBreath 4.6s ease-in-out infinite;
}

@keyframes coordsCurrentMonthBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 3px rgba(247, 239, 229, 0.82),
      0 0 0 4px rgba(var(--brand-copper), 0.18),
      0 0 12px rgba(var(--brand-copper), 0.12);
  }

  50% {
    transform: scale(1.12);
    box-shadow:
      0 0 0 4px rgba(247, 239, 229, 0.9),
      0 0 0 5px rgba(var(--brand-copper), 0.25),
      0 0 18px rgba(var(--brand-copper), 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  #coordenadas-2026 .milestone.is-current-month .coords-node {
    animation: none;
    box-shadow:
      0 0 0 3px rgba(247, 239, 229, 0.82),
      0 0 0 4px rgba(var(--brand-copper), 0.22),
      0 0 12px rgba(var(--brand-copper), 0.14);
  }
}

#coordenadas-2026 .coords-card {
  position: absolute;
  top: var(--coords-axis-y);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    transform 0.26s ease,
    filter 0.26s ease;
}
#coordenadas-2026 .coords-card__stem {
  display: none;
}

#coordenadas-2026 .coords-card__media {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 0 0 0.14rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.14);
}

#coordenadas-2026 .coords-card__media > .lxx-responsive-picture,
#coordenadas-2026 .coords-detail__media > .lxx-responsive-picture,
#coordenadas-2026 .coords-detail__itemMedia > .lxx-responsive-picture,
#te-propongo .project-modal__media > .lxx-responsive-picture {
  width: 100%;
  height: 100%;
}

#coordenadas-2026 .coords-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#coordenadas-2026 .coords-card[data-side="top"] .coords-card__stem {
  bottom: calc(100% + 10px);
  height: calc(var(--coords-stem-base) + (var(--stack, 0) * var(--coords-stack-gap)));
}

#coordenadas-2026 .coords-card[data-side="bottom"] .coords-card__stem {
  top: calc(100% + 10px);
  height: calc(var(--coords-stem-base) + (var(--stack, 0) * var(--coords-stack-gap)));
}

#coordenadas-2026 .coords-card__button {
  position: absolute;
  left: 50%;
  width: var(--coords-chip-w);
  transform: translateX(calc(-50% + var(--card-shift-x, 0px)));
  pointer-events: auto;

  display: grid;
  gap: 0.34rem;

  padding: 0.84rem 0.9rem 0.9rem;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;

  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(95, 85, 77, 0.1);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    opacity 0.22s ease;
}
#coordenadas-2026 .coords-card__button::before,
#coordenadas-2026 .coords-card__button::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(180, 90, 63, 0.18);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0;
}

#coordenadas-2026 .coords-card.has-bridge-left .coords-card__button::before {
  left: -10px;
  opacity: 1;
}

#coordenadas-2026 .coords-card.has-bridge-right .coords-card__button::after {
  right: -10px;
  opacity: 1;
}
#coordenadas-2026 .coords-card[data-align="left"] .coords-card__button {
  left: 0;
  transform: translateX(0);
}

#coordenadas-2026 .coords-card[data-align="right"] .coords-card__button {
  left: auto;
  right: 0;
  transform: translateX(0);
}

#coordenadas-2026 .coords-card[data-side="top"] .coords-card__button {
  bottom: calc(100% + 10px + var(--coords-stem-base) + (var(--stack, 0) * var(--coords-stack-gap)));
}

#coordenadas-2026 .coords-card[data-side="bottom"] .coords-card__button {
  top: calc(100% + 10px + var(--coords-stem-base) + (var(--stack, 0) * var(--coords-stack-gap)));
}

#coordenadas-2026 .coords-card__button:hover,
#coordenadas-2026 .coords-card__button:focus-visible,
#coordenadas-2026 .coords-card.is-active .coords-card__button {
  border-color: rgba(180, 90, 63, 0.22);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.08),
    0 0 0 3px rgba(180, 90, 63, 0.05);
  transform: translateX(calc(-50% + var(--card-shift-x, 0px))) translateY(-2px);
}
#coordenadas-2026 .coords-card__button:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.4);
  outline-offset: 4px;
}

#coordenadas-2026 .coords-card__month {
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
}

#coordenadas-2026 .coords-card__title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.78);
}

#coordenadas-2026 .coords-card__date {
  font-family: var(--font-body);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.46);
}

#coordenadas-2026 .coords-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.18rem;
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 90, 63, 0.28);
  background: rgba(180, 90, 63, 0.08);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 90, 63, 0.9);
}
#coordenadas-2026 .coords-card__button:hover .coords-card__more,
#coordenadas-2026 .coords-card__button:focus-visible .coords-card__more {
  background: rgba(180, 90, 63, 0.16);
  border-color: rgba(180, 90, 63, 0.42);
}
#coordenadas-2026 .coords-detail {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--coords-detail-w);
  min-height: 260px;
  padding: 0;
  border-radius: 22px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(18px, -50%, 0) scale(0.99);
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
  z-index: 7;
  display: flex;
  flex-direction: column;
  max-height: calc(100% - 24px);
  overflow: hidden;
}

#coordenadas-2026 .coords-detail.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
}

#coordenadas-2026 .coords-detail__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

#coordenadas-2026 .coords-detail__close:hover,
#coordenadas-2026 .coords-detail__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.24);
  background: rgba(255, 255, 255, 0.18);
}

#coordenadas-2026 .coords-detail__inner {
  position: relative;
  min-height: 100%;
  max-height: inherit;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--color-accent) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable both-edges;
  border-radius: 20px;
  padding: 1rem 1rem 1.05rem;

  background:
    linear-gradient(180deg, rgba(248, 244, 238, 0.36) 0%, rgba(232, 224, 214, 0.2) 100%),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 1.2px);

  background-size:
    auto,
    10px 10px;

  border: 1px solid rgba(120, 92, 72, 0.12);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#coordenadas-2026 .coords-detail__inner::-webkit-scrollbar {
  width: 4px;
}

#coordenadas-2026 .coords-detail__inner::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 999px;
}

#coordenadas-2026 .coords-detail__inner::-webkit-scrollbar-track {
  background: transparent;
}

#coordenadas-2026 .coords-detail__inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  pointer-events: none;
}
#coordenadas-2026 .coords-detail::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  width: 26px;
  height: 1px;

  background: linear-gradient(to right, rgba(180, 90, 63, 0.28), rgba(180, 90, 63, 0.06));

  transform: translateY(-50%);
  pointer-events: none;
}

#coordenadas-2026 .coords-detail__metaTop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  align-items: baseline;
  padding-right: 10.5rem;
  margin-bottom: 0.7rem;
}
#coordenadas-2026 .coords-detail__title {
  margin: 0 0 0.5rem;
  padding-right: 0;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.56rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.82);
}

#coordenadas-2026 .coords-detail__title--has-cta {
  padding-right: 12.5rem;
}
#coordenadas-2026 .coords-detail__ref {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

#coordenadas-2026 .coords-detail__month {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.46);
}

#coordenadas-2026 .coords-detail__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.56rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.82);
}

#coordenadas-2026 .coords-detail__date {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 90, 63, 0.86);
}

#coordenadas-2026 .coords-detail__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 0.9rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.12);
}

#coordenadas-2026 .coords-detail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#coordenadas-2026 .coords-detail__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.58;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.72);
}

#coordenadas-2026 .coords-detail__text + .coords-detail__text {
  margin-top: 0.62rem;
}

#coordenadas-2026 .lxx-rich-quote {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}
#coordenadas-2026 .coords-detail__list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

#coordenadas-2026 .coords-detail__item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.8rem;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid rgba(120, 92, 72, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

#coordenadas-2026 .coords-detail__item:hover,
#coordenadas-2026 .coords-detail__item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.24);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  outline: none;
}

#coordenadas-2026 .coords-detail__itemMedia {
  display: block;
  width: 92px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.12);
}

#coordenadas-2026 .coords-detail__itemImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#coordenadas-2026 .coords-detail__itemBody {
  display: grid;
  align-content: start;
  gap: 0.28rem;
  min-width: 0;
}

#coordenadas-2026 .coords-detail__itemTitle {
  font-family: var(--font-title);
  font-size: 0.96rem;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.8);
}

#coordenadas-2026 .coords-detail__itemDate {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 90, 63, 0.86);
}
#coordenadas-2026 .coords-detail__actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.72rem 0 0.9rem;
  z-index: 2;
}
#coordenadas-2026 .coords-detail__actions.is-eclipse-solar {
  margin-top: 0.72rem;
}
#coordenadas-2026 .coords-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 90, 63, 0.2);
  background: rgba(180, 90, 63, 0.06);
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}
#coordenadas-2026 .coords-detail__cta:hover,
#coordenadas-2026 .coords-detail__cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.36);
  background: rgba(180, 90, 63, 0.12);
  color: rgba(0, 0, 0, 0.78);
}

#coordenadas-2026 .coords-detail__official-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 32px;
  padding: 0.18rem 0;
  color: rgba(79, 63, 54, 0.68);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-decoration-line: underline;
  text-decoration-color: rgba(180, 90, 63, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
  text-transform: lowercase;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

#coordenadas-2026 .coords-detail__official-link::after {
  content: "↗";
  color: rgba(180, 90, 63, 0.78);
  font-size: 0.82em;
  line-height: 1;
  text-decoration: none;
}

#coordenadas-2026 .coords-detail__official-link:hover,
#coordenadas-2026 .coords-detail__official-link:focus-visible {
  color: rgba(44, 34, 29, 0.9);
  text-decoration-color: rgba(180, 90, 63, 0.9);
}

#coordenadas-2026 .coords-detail__official-link:focus-visible {
  border-radius: 2px;
  outline: 2px solid rgba(180, 90, 63, 0.42);
  outline-offset: 3px;
}

.coords-detail__cta:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .section-coords {
    --coords-step: 6.75;
    --coords-chip-w: 172px;
    --coords-stack-gap: 96px;
    --coords-stem-base: 64px;
    --coords-detail-w: min(390px, 36vw);
  }
}

@media (max-width: 768px) {
  .section-coords {
    --coords-chip-w: min(100%, 344px);
    --coords-stage-pad: 18px;
    --coords-detail-w: min(320px, calc(100vw - 36px));

    min-height: 100vh !important;
    min-height: 100svh !important;
    height: 100vh !important;
    height: 100svh !important;
    overflow: hidden;
    padding: 0 0 1.2rem !important;
    background: transparent !important;
    background-image: none !important;
  }

  .section-coords::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--color-bg);
    background:
      radial-gradient(
        circle at 50% 44%,
        rgba(248, 238, 224, 0.22) 0%,
        rgba(238, 222, 202, 0.58) 46%,
        rgba(222, 202, 180, 0.76) 100%
      ),
      linear-gradient(
        rgba(236, 220, 200, 0.68),
        rgba(236, 220, 200, 0.68)
      ),
      var(--leo-map-url);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size:
      145% 145%,
      100% 100%,
      auto 112%;
    background-position:
      center,
      center,
      50% 47%;
    opacity: 1;
    filter: grayscale(0.74) sepia(0.24) contrast(1.03) brightness(0.9);
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #coordenadas-2026 .coords-viewport {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #coordenadas-2026 .coords-stage {
    width: min(100% - 36px, 390px);
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  #coordenadas-2026 .coords-links,
  #coordenadas-2026 .coords-axis,
  #coordenadas-2026 .coords-milestones,
  #coordenadas-2026 .coords-overlay-bridge {
    display: none;
  }

  #coordenadas-2026 .coords-overlay {
    position: relative;
    inset: auto;
    display: grid;
    gap: 1rem;
    box-sizing: border-box;
    height: 100%;
    max-height: 100%;
    margin-top: 0;
    padding-top: calc(var(--lxx-mobile-header-band) + 5.55rem);
    padding-bottom: 0.35rem;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  #coordenadas-2026 .coords-overlay::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  #coordenadas-2026 .coords-overlay::-webkit-scrollbar-thumb,
  #coordenadas-2026 .coords-overlay::-webkit-scrollbar-track {
    background: transparent;
  }

  #coordenadas-2026 .coords-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    pointer-events: auto;
    opacity: 1;
    filter: none;
    transition: none !important;
    contain: layout paint;
  }

  #coordenadas-2026 .coords-card.is-past-month {
    opacity: 0.46;
    filter: saturate(0.58) contrast(0.96);
  }

  #coordenadas-2026 .coords-card.is-current-month .coords-card__button {
    border-color: rgba(var(--brand-copper), 0.36);
    box-shadow:
      0 12px 28px rgba(49, 38, 31, 0.08),
      0 0 0 1px rgba(var(--brand-copper), 0.08);
  }

  #coordenadas-2026 .coords-card.is-current-month .coords-card__month {
    color: rgba(var(--brand-copper), 0.96);
  }

  #coordenadas-2026 .coords-card__button,
  #coordenadas-2026 .coords-card[data-align="left"] .coords-card__button,
  #coordenadas-2026 .coords-card[data-align="right"] .coords-card__button,
  #coordenadas-2026 .coords-card[data-side="top"] .coords-card__button,
  #coordenadas-2026 .coords-card[data-side="bottom"] .coords-card__button {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none !important;
  }

  #coordenadas-2026 .coords-card__button::before,
  #coordenadas-2026 .coords-card__button::after {
    display: none;
  }

  #coordenadas-2026 .coords-card__button:hover,
  #coordenadas-2026 .coords-card__button:focus-visible,
  #coordenadas-2026 .coords-card.is-active .coords-card__button {
    transform: none;
  }

  #coordenadas-2026 .coords-card__media {
    aspect-ratio: 16 / 7;
    margin-bottom: 0.42rem;
  }

  #coordenadas-2026 .coords-card--empty .coords-card__button {
    min-height: 2.65rem;
    align-content: center;
    cursor: default;
    opacity: 0.48;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(95, 85, 77, 0.1);
    box-shadow: none;
    padding-block: 0.54rem;
  }

  #coordenadas-2026 .coords-card--empty .coords-card__date {
    font-size: 0.62rem;
    color: rgba(0, 0, 0, 0.3);
  }

  #coordenadas-2026 .coords-card--empty .coords-card__month {
    font-size: 0.58rem;
    color: rgba(0, 0, 0, 0.34);
  }

  #coordenadas-2026 .coords-detail {
    position: fixed;
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50% !important;
    width: var(--coords-detail-w);
    max-height: calc(100svh - 2rem);
    overflow: hidden;
    z-index: 1001;
    transform: translate3d(-50%, 18px, 0) scale(0.985);
  }

  #coordenadas-2026 .coords-detail__inner {
    max-height: calc(100svh - 2rem);
    -webkit-overflow-scrolling: touch;
  }

  #coordenadas-2026 .coords-detail__metaTop {
    padding-right: 4.8rem;
  }

  #coordenadas-2026 .coords-detail__title {
    padding-right: 0;
    font-size: clamp(1.55rem, 7vw, 2rem);
    letter-spacing: 0.02em;
  }

  #coordenadas-2026 .coords-detail__actions,
  #coordenadas-2026 .coords-detail__actions.is-eclipse-solar {
    position: static;
    margin: 0.72rem 0 0.18rem;
  }

  #coordenadas-2026 .coords-detail__cta {
    width: 100%;
  }

  #coordenadas-2026 .coords-detail__official-link {
    margin-inline: auto;
  }

  #coordenadas-2026 .coords-detail.is-open {
    transform: translate3d(-50%, 0, 0) scale(1);
  }
}
/* =========================================
   SOBRE MI
========================================= */

#sobre-mi {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 88px;
}

.sobre-mi-container {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 88px 48px 56px;
  display: flex;
  align-items: center;
}

.sobre-mi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(44px, 5vw, 84px);
  align-items: center;
  width: 100%;
}

.sobre-mi-text {
  position: relative;
  z-index: 2;
  max-width: 640px;
  min-height: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 22px;
  align-items: start;
}

.sobre-mi-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  align-self: stretch;
}

.sobre-mi-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.sobre-mi-progress__step {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.52rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(32, 24, 18, 0.32);
  cursor: pointer;
  transition:
    width 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.sobre-mi-progress__step::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 1px;
  height: 3px;
  background: rgba(180, 90, 63, 0.2);
  transform: translateX(-50%);
}

.sobre-mi-progress__step:last-child::before {
  display: none;
}

.sobre-mi-progress__step:hover,
.sobre-mi-progress__step:focus-visible {
  color: rgba(var(--brand-copper), 0.92);
  border-color: rgba(var(--brand-copper), 0.3);
  background: rgba(var(--brand-copper), 0.06);
}

.sobre-mi-progress__step:focus-visible {
  outline: 2px solid rgba(var(--brand-copper), 0.38);
  outline-offset: 2px;
}

.sobre-mi-progress__step.is-complete {
  color: rgba(var(--brand-copper), 0.66);
}

.sobre-mi-progress__step.is-active {
  width: 38px;
  border-color: rgba(var(--brand-copper), 0.72);
  background: rgba(var(--brand-copper), 0.14);
  color: rgba(114, 53, 34, 0.96);
  font-weight: 700;
  transform: scale(1.04);
}

.sobre-mi-text__eyebrow,
.sobre-mi-text__stage {
  grid-column: 2;
}

.sobre-mi-nav {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.sobre-mi-text__stage {
  position: relative;
  min-width: 0;
}

.sobre-mi-text__inner {
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

.sobre-mi-text__stage.is-leaving .sobre-mi-text__inner {
  opacity: 0;
  transform: translateY(10px);
}

.sobre-mi-text__stage.is-entering .sobre-mi-text__inner {
  opacity: 0;
  transform: translateY(-10px);
}

.sobre-mi-text__eyebrow {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.46);
}

.sobre-mi-title {
  margin: 0 0 26px;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: rgba(24, 20, 17, 0.94);
}

.sobre-mi-copy p {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.72;
  letter-spacing: 0.002em;
  color: rgba(28, 24, 20, 0.78);
}

.sobre-mi-frase {
  margin-top: 18px;
  font-size: 1.14rem;
  line-height: 1.5;
  font-style: normal;
  letter-spacing: 0.01em;
  color: rgba(24, 20, 17, 0.86);
}

.sobre-mi-nav__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(180, 90, 63, 0.35);
  background: rgba(180, 90, 63, 0.08);
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1;
  color: var(--color-accent);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}

.sobre-mi-nav__button:hover {
  background: rgba(180, 90, 63, 0.18);
  border-color: rgba(180, 90, 63, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.sobre-mi-nav__button:disabled {
  opacity: 0.26;
  cursor: default;
  transform: none;
  background: rgba(180, 90, 63, 0.04);
  box-shadow: none;
}

.sobre-mi-nav__arrow--mobile {
  display: none;
}

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .sobre-mi-nav__arrow--desktop {
    display: none;
  }

  .sobre-mi-nav__arrow--mobile {
    display: inline;
  }
}

.sobre-mi-text__eyebrow span {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.42);
}
.sobre-mi-map {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 560px;
  align-self: center;
  overflow: visible;
}

.sobre-mi-map__frame {
  position: absolute;
  top: 50%;
  right: -2%;
  width: 118%;
  height: 520px;
  transform: translateY(-50%);
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  isolation: isolate;
}

.sobre-mi-map__frame::before {
  content: "";
  position: absolute;
  inset: 8% 5% 10% 10%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 248, 240, 0.24) 0%,
    rgba(255, 248, 240, 0.12) 42%,
    rgba(255, 248, 240, 0) 76%
  );
  pointer-events: none;
  z-index: 0;
}

.sobre-mi-map__svgMount {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.sobre-mi-map__svgMount[hidden],
.sobre-mi-media[hidden] {
  display: none !important;
}

.sobre-mi-map__frame[data-visual="final"] .sobre-mi-map__svgPoint {
  pointer-events: none;
  cursor: default;
}

.sobre-mi-media {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: block;
  width: min(72%, 330px);
  height: auto;
  padding: 0.55rem;
  border: 1px solid rgba(120, 92, 72, 0.08);
  border-radius: 7px;
  background: rgba(220, 212, 200, 0.92);
  box-shadow: 0 10px 24px rgba(34, 24, 18, 0.05);
  backdrop-filter: blur(3px);
  transform: translate(-50%, -50%);
  animation: sobreMiMediaReveal 0.48s ease both;
}

.sobre-mi-media:has(.sobre-mi-media__track.is-gallery) {
  width: min(92%, 560px);
}

.sobre-mi-media:has(.sobre-mi-media__track.is-gallery-3) {
  width: min(90%, 640px);
}

.sobre-mi-media__track {
  display: grid;
  align-items: center;
  width: 100%;
  height: auto;
  gap: clamp(14px, 1.5vw, 22px);
}

.sobre-mi-media__track.is-gallery-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sobre-mi-media__track.is-gallery-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sobre-mi-media__track.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.sobre-mi-media__item {
  display: grid;
  align-content: center;
  min-width: 0;
  height: auto;
  margin: 0;
}

.sobre-mi-media__image {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
}

.sobre-mi-media__track.is-gallery-2 .sobre-mi-media__image {
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
}

.sobre-mi-media__track.is-gallery-3 .sobre-mi-media__image {
  aspect-ratio: 4 / 5;
  max-height: 250px;
  object-fit: cover;
}

.sobre-mi-media__caption {
  display: block;
  padding: 0.52rem 0.08rem 0.08rem;
}

.sobre-mi-media__captionTitle {
  display: block;
  font-family: var(--font-title);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.78);
}

.sobre-mi-media__captionText {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.38;
  color: rgba(32, 24, 18, 0.66);
}

.sobre-mi-media__item:nth-child(2) .sobre-mi-media__image {
  animation-delay: 0ms;
}

.sobre-mi-media__dots {
  display: none;
}

.sobre-mi-media__dot {
  appearance: none;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.sobre-mi-media__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(32, 24, 18, 0.24);
}

.sobre-mi-media__dot[aria-current="true"]::before {
  background: rgba(var(--brand-copper), 0.86);
}

.sobre-mi-map__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.72;
  mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.72) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 1) 70%,
    rgba(0, 0, 0, 0.72) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}
.sobre-mi-map__svg > :not(#sobreMiMapOverlay) {
  filter: grayscale(1) sepia(0.14) contrast(0.9) brightness(1.02);
}
.sobre-mi-map__svg > :not(#sobreMiMapOverlay):not(title):not(style) {
  pointer-events: none;
}

.sobre-mi-map__svgPoint {
  pointer-events: auto;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  opacity: 1;
  transition:
    opacity 0.28s ease,
    filter 0.28s ease;
}

.sobre-mi-map__svgPointHit {
  fill: rgba(180, 90, 63, 0.001);
  stroke: transparent;
  pointer-events: fill;
}

.sobre-mi-map__svgPointCore,
.sobre-mi-map__svgPointAura {
  transform-origin: center;
  transform-box: fill-box;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease,
    stroke 0.28s ease;
}

.sobre-mi-map__svgPointCore {
  fill: rgba(180, 90, 63, 0.96);
  opacity: 0.94;
  filter: drop-shadow(0 0 4px rgba(180, 90, 63, 0.18)) drop-shadow(0 0 10px rgba(180, 90, 63, 0.08));
}

.sobre-mi-map__svgPoint--home .sobre-mi-map__svgPointCore {
  filter: drop-shadow(0 0 5px rgba(180, 90, 63, 0.24)) drop-shadow(0 0 14px rgba(180, 90, 63, 0.12));
}

.sobre-mi-map__svgPointAura {
  fill: none;
  stroke: rgba(180, 90, 63, 0.56);
  stroke-width: 2.6;
  opacity: 0.52;
  animation: sobreMiPointAura 2.2s ease-out infinite;
  animation-delay: var(--pulse-delay, 0s);
}

.sobre-mi-map__svgPoint:nth-child(2) .sobre-mi-map__svgPointAura {
  --pulse-delay: 0.22s;
}
.sobre-mi-map__svgPoint:nth-child(3) .sobre-mi-map__svgPointAura {
  --pulse-delay: 0.44s;
}
.sobre-mi-map__svgPoint:nth-child(4) .sobre-mi-map__svgPointAura {
  --pulse-delay: 0.66s;
}
.sobre-mi-map__svgPoint:nth-child(5) .sobre-mi-map__svgPointAura {
  --pulse-delay: 0.88s;
}
.sobre-mi-map__svgPoint:nth-child(6) .sobre-mi-map__svgPointAura {
  --pulse-delay: 1.1s;
}
.sobre-mi-map__svgPoint:nth-child(7) .sobre-mi-map__svgPointAura {
  --pulse-delay: 1.32s;
}
.sobre-mi-map__svgPoint:nth-child(8) .sobre-mi-map__svgPointAura {
  --pulse-delay: 1.54s;
}
.sobre-mi-map__svgPoint:nth-child(9) .sobre-mi-map__svgPointAura {
  --pulse-delay: 1.76s;
}
.sobre-mi-map__svgPoint:nth-child(10) .sobre-mi-map__svgPointAura {
  --pulse-delay: 1.98s;
}

.sobre-mi-map__svgPoint--home .sobre-mi-map__svgPointAura {
  stroke-width: 3.1;
  animation-duration: 1.8s;
}

.sobre-mi-map__svgPoint.is-global {
  opacity: 0.9;
}

.sobre-mi-map__svgPoint.is-global .sobre-mi-map__svgPointCore {
  opacity: 0.94;
  transform: scale(1);
}

.sobre-mi-map__svgPoint.is-global .sobre-mi-map__svgPointAura {
  opacity: 0.48;
  transform: scale(1);
}

.sobre-mi-map__svgPoint.is-primary {
  opacity: 1;
}

.sobre-mi-map__svgPoint.is-primary .sobre-mi-map__svgPointCore {
  opacity: 1;
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px rgba(180, 90, 63, 0.3)) drop-shadow(0 0 18px rgba(180, 90, 63, 0.14));
}

.sobre-mi-map__svgPoint.is-primary .sobre-mi-map__svgPointAura {
  opacity: 0.78;
  stroke: rgba(180, 90, 63, 0.82);
  transform: scale(1.08);
  animation-duration: 1.6s;
}

.sobre-mi-map__svgPoint.is-secondary {
  opacity: 0.92;
}

.sobre-mi-map__svgPoint.is-secondary .sobre-mi-map__svgPointCore {
  opacity: 0.98;
  transform: scale(1.08);
  filter: drop-shadow(0 0 6px rgba(180, 90, 63, 0.24)) drop-shadow(0 0 14px rgba(180, 90, 63, 0.1));
}

.sobre-mi-map__svgPoint.is-secondary .sobre-mi-map__svgPointAura {
  opacity: 0.58;
  stroke: rgba(180, 90, 63, 0.66);
  transform: scale(1.03);
  animation-duration: 1.9s;
}

.sobre-mi-map__svgPoint.is-muted {
  opacity: 0.22;
}

.sobre-mi-map__svgPoint.is-muted .sobre-mi-map__svgPointCore {
  opacity: 0.42;
  transform: scale(0.9);
  filter: drop-shadow(0 0 3px rgba(180, 90, 63, 0.08));
}

.sobre-mi-map__svgPoint.is-muted .sobre-mi-map__svgPointAura {
  opacity: 0.1;
  transform: scale(0.94);
}

.sobre-mi-map__svgPoint.is-hovered,
.sobre-mi-map__svgPoint:hover,
.sobre-mi-map__svgPoint:focus,
.sobre-mi-map__svgPoint:focus-visible {
  opacity: 1;
}

.sobre-mi-map__svgPoint.is-hovered .sobre-mi-map__svgPointCore,
.sobre-mi-map__svgPoint:hover .sobre-mi-map__svgPointCore,
.sobre-mi-map__svgPoint:focus .sobre-mi-map__svgPointCore,
.sobre-mi-map__svgPoint:focus-visible .sobre-mi-map__svgPointCore {
  opacity: 1;
  transform: scale(1.16);
  filter: drop-shadow(0 0 7px rgba(180, 90, 63, 0.28)) drop-shadow(0 0 16px rgba(180, 90, 63, 0.12));
}

.sobre-mi-map__svgPoint.is-hovered .sobre-mi-map__svgPointAura,
.sobre-mi-map__svgPoint:hover .sobre-mi-map__svgPointAura,
.sobre-mi-map__svgPoint:focus .sobre-mi-map__svgPointAura,
.sobre-mi-map__svgPoint:focus-visible .sobre-mi-map__svgPointAura {
  opacity: 0.72;
  stroke: rgba(180, 90, 63, 0.74);
  transform: scale(1.08);
  animation-duration: 1.7s;
}
/* =========================
   DESTINO CLAVE (ITALIA)
========================= */

.sobre-mi-map__svgPoint--key .sobre-mi-map__svgPointCore {
  fill: #c59d5f;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(197, 157, 95, 0.28))
    drop-shadow(0 0 16px rgba(197, 157, 95, 0.12));
}

.sobre-mi-map__svgPoint--key .sobre-mi-map__svgPointAura {
  stroke: #c59d5f;
  opacity: 0.38;
  animation-duration: 2s;
}

.sobre-mi-map__svgPoint--key.is-primary .sobre-mi-map__svgPointCore {
  transform: scale(1.22);
}

.sobre-mi-map__svgPoint--key.is-primary .sobre-mi-map__svgPointAura {
  opacity: 0.68;
  animation-duration: 1.5s;
}
/* segunda aura → efecto decisión */
.sobre-mi-map__svgPointAura--secondary {
  stroke: rgba(197, 157, 95, 0.4);
  animation: sobreMiPointAura 2.8s ease-out infinite;
  opacity: 0.25;
}
.sobre-mi-map__svgPoint:focus,
.sobre-mi-map__svgPoint:focus-visible {
  outline: none;
  box-shadow: none;
}

.sobre-mi-map__tooltip {
  position: absolute;
  left: var(--tooltip-x, 50%);
  top: var(--tooltip-y, 50%);
  z-index: 4;
  min-width: 112px;
  max-width: 168px;
  padding: 0.38rem 0.5rem 0.42rem;
  border: 1px solid rgba(120, 92, 72, 0.08);
  border-radius: 7px;
  background: rgba(220, 212, 200, 0.92);
  box-shadow: 0 8px 20px rgba(34, 24, 18, 0.04);
  backdrop-filter: blur(3px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 14px)) translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.sobre-mi-map__tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 14px)) translateY(0);
}

.sobre-mi-map__tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 7px;
  height: 7px;
  background: rgba(220, 212, 200, 0.92);
  border-right: 1px solid rgba(120, 92, 72, 0.08);
  border-bottom: 1px solid rgba(120, 92, 72, 0.08);
  transform: translateX(-50%) rotate(45deg);
}

.sobre-mi-map__tooltipTitle {
  display: block;
  margin: 0;
  font-family: var(--font-title);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.78);
}

.sobre-mi-map__tooltipText {
  display: block;
  margin-top: 0.32rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.36;
  color: rgba(32, 24, 18, 0.66);
  text-decoration: none;
}

.sobre-mi-map__tooltipText[href] {
  text-underline-offset: 0.2em;
}

.sobre-mi-map__tooltipText[href]:hover,
.sobre-mi-map__tooltipText[href]:focus-visible {
  color: rgba(180, 90, 63, 0.94);
  text-decoration-line: underline;
}

.sobre-mi-map__tooltipText[href]:focus-visible {
  outline: 1px solid rgba(180, 90, 63, 0.42);
  outline-offset: 3px;
}
.sobre-mi-map__tooltipImage {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 6px;
  background:
    linear-gradient(135deg, rgba(248, 244, 238, 0.78), rgba(232, 224, 214, 0.5)),
    radial-gradient(circle at 18% 20%, rgba(180, 90, 63, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.sobre-mi-map__tooltip[data-has-image="true"] .sobre-mi-map__tooltipImage {
  display: block;
}

.sobre-mi-map__tooltipImage.is-visible {
  opacity: 1;
}

.sobre-mi-map__svgPoint.is-concept-hidden {
  display: none;
}

.sobre-mi-map__svgPoint.is-concept {
  opacity: 1;
}

.sobre-mi-map__svgPoint.is-concept .sobre-mi-map__svgPointCore {
  opacity: 0.96;
  transform: scale(1.04);
}

.sobre-mi-map__svgPoint.is-concept .sobre-mi-map__svgPointAura {
  opacity: 0.42;
  animation-duration: 2.5s;
}

.sobre-mi-map__tooltip[data-preview-kind="identity"] {
  width: min(188px, calc(100vw - 32px));
  max-width: 188px;
}

.sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipImage {
  aspect-ratio: 3 / 4;
  object-position: 50% 42%;
  filter: saturate(0.68) contrast(0.96) brightness(0.98);
}

.sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipText {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .sobre-mi-map__tooltip[data-preview-kind="identity"] {
    width: min(164px, calc(100vw - 32px));
    max-width: 164px;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipImage {
    height: clamp(150px, 26svh, 210px);
    aspect-ratio: auto;
  }
}

.sobre-mi-concept {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.sobre-mi-concept[hidden] {
  display: none !important;
}

.sobre-mi-concept__center {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: none;
  color: rgba(92, 55, 39, 0.86);
}

.sobre-mi-concept__routes {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sobre-mi-concept__route {
  fill: none;
  stroke: rgba(var(--brand-copper), 0.42);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 8 8;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: sobreMiRouteReveal 0.9s ease var(--route-delay, 0s) forwards;
}

.sobre-mi-concept__route--air {
  stroke-width: 1.3;
  stroke-dasharray: 7 8;
  animation:
    sobreMiRouteReveal 0.9s ease var(--route-delay, 0s) forwards,
    sobreMiAirRouteFlow 5.8s linear calc(var(--route-delay, 0s) + 0.9s) infinite;
}

.sobre-mi-concept__route--sea {
  stroke: rgba(var(--brand-copper), 0.62);
  stroke-width: 1.6;
  stroke-dasharray: 1 6;
  animation:
    sobreMiRouteReveal 0.9s ease var(--route-delay, 0s) forwards,
    sobreMiSeaRouteFlow 7.4s linear calc(var(--route-delay, 0s) + 0.9s) infinite;
}

.sobre-mi-concept__route--signal {
  stroke-width: 1.8;
  stroke-dasharray: 5 9;
  animation:
    sobreMiRouteReveal 0.9s ease forwards,
    sobreMiSignalTravel 2.8s linear 0.9s infinite;
}

.sobre-mi-concept__item {
  box-sizing: border-box;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  animation: sobreMiConceptReveal 0.46s ease forwards;
}

.sobre-mi-concept__item:nth-of-type(2) {
  animation-delay: 0.1s;
}

.sobre-mi-concept__item:nth-of-type(3) {
  animation-delay: 0.2s;
}

.sobre-mi-concept__item:nth-of-type(4) {
  animation-delay: 0.3s;
}

.sobre-mi-concept__item:nth-of-type(5) {
  animation-delay: 0.4s;
}

.sobre-mi-concept__title {
  display: block;
  font-family: var(--font-title);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.66);
}

.sobre-mi-concept__text {
  margin: 0.46rem 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.42;
  color: rgba(32, 26, 21, 0.66);
}

.sobre-mi-concept--method .sobre-mi-concept__center {
  left: var(--concept-center-x, 28%);
  top: var(--concept-center-y, 72%);
  width: 74px;
  height: 74px;
  padding: 0.5rem;
  border: 1px solid rgba(var(--brand-copper), 0.48);
  border-radius: 50%;
  background: rgba(231, 221, 208, 0.74);
  box-shadow: 0 0 0 12px rgba(var(--brand-copper), 0.055);
  transform: translate(-50%, -50%);
}

.sobre-mi-concept--method .sobre-mi-concept__center::before,
.sobre-mi-concept--method .sobre-mi-concept__center::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(var(--brand-copper), 0.48);
  border-radius: 50%;
  animation: sobreMiIdeaRadiation 2.4s ease-out infinite;
}

.sobre-mi-concept--method .sobre-mi-concept__center::after {
  animation-delay: 1.2s;
}

.sobre-mi-concept--method .sobre-mi-concept__item {
  position: absolute;
  display: block;
  width: min(31%, 184px);
  min-height: 34px;
  padding: 0;
}

.sobre-mi-concept--method .sobre-mi-concept__item[data-concept-point] {
  left: var(--concept-x);
  top: var(--concept-y);
}

.sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="right"] {
  transform: translate(26px, -50%);
}

.sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="left"] {
  transform: translate(calc(-100% - 26px), -50%);
}

.sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="below"] {
  transform: translate(-50%, 22px);
}

.sobre-mi-concept--services {
  display: block;
  padding: 0;
}

.sobre-mi-concept--services .sobre-mi-concept__item {
  position: absolute;
  display: block;
  width: min(29%, 180px);
  min-height: 34px;
  padding: 0;
}

.sobre-mi-concept--services .sobre-mi-concept__item[data-concept-point] {
  left: var(--concept-x);
  top: var(--concept-y);
}

.sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="right"] {
  transform: translate(26px, -50%);
}

.sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="left"] {
  transform: translate(calc(-100% - 26px), -50%);
}

.sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="below"] {
  transform: translate(-50%, 22px);
}

.sobre-mi-concept--services .sobre-mi-concept__text {
  display: none;
}

.sobre-mi-concept__wave {
  position: absolute;
  left: var(--concept-x);
  top: var(--concept-y);
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(var(--brand-copper), 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sobre-mi-concept__wave::before,
.sobre-mi-concept__wave::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(var(--brand-copper), 0.46);
  border-radius: 50%;
  animation: sobreMiServiceRadiation 3s ease-out var(--wave-delay, 0s) infinite;
}

.sobre-mi-concept__wave::after {
  animation-delay: calc(var(--wave-delay, 0s) + 1.5s);
}

@keyframes sobreMiConceptReveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sobreMiRouteReveal {
  from {
    opacity: 0;
    stroke-dashoffset: 38;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes sobreMiSignalTravel {
  to {
    stroke-dashoffset: -56;
  }
}

@keyframes sobreMiAirRouteFlow {
  to {
    stroke-dashoffset: -60;
  }
}

@keyframes sobreMiSeaRouteFlow {
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes sobreMiIdeaRadiation {
  0% {
    opacity: 0.62;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

@keyframes sobreMiServiceRadiation {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sobre-mi-concept__item,
  .sobre-mi-concept__route,
  .sobre-mi-concept__wave::before,
  .sobre-mi-concept__wave::after {
    opacity: 1;
    animation: none;
  }
}

.back-context {
  margin: 0;
}

.back-context__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(180, 90, 63, 0.22);
  background: rgba(180, 90, 63, 0.06);
  font-family: var(--font-title);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(0, 0, 0, 0.62);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-context__link:hover,
.back-context__link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.36);
  background: rgba(180, 90, 63, 0.12);
  color: rgba(0, 0, 0, 0.78);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.back-context__link:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.42);
  outline-offset: 3px;
}

.sobre-mi-container {
  position: relative;
}

#sobre-mi .sobre-mi-container > .back-context {
  position: absolute;
  top: 15px;
  left: calc(48px + 5.6rem);
  z-index: 30;
  padding: 0;
}

#sobre-mi .sobre-mi-text > .back-context {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  transform: translateY(-1.15rem);
  padding: 0;
}

#coordenadas-2026 {
  position: relative;
}

#coordenadas-2026 > .back-context {
  position: absolute;
  top: calc(var(--lxx-mobile-header-band) + 0.9rem);
  right: 1rem;
  left: auto;
  z-index: 30;
  padding: 0;
  max-width: min(15rem, calc(100vw - 2rem));
  text-align: right;
}

#coordenadas-2026 > .back-context .back-context__link {
  padding-inline: 1.35rem;
}
@keyframes sobreMiPointAura {
  0% {
    opacity: 0.9;
    transform: scale(0.8);
  }
  60% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

@media (max-width: 1180px) {
  .sobre-mi-container {
    padding: 100px 40px 64px;
  }

  .sobre-mi-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
    gap: 44px;
  }

  .sobre-mi-map__frame {
    right: 0;
    width: 110%;
    height: 470px;
  }
  #sobre-mi .sobre-mi-container > .back-context {
    top: 100px;
    left: calc(40px + 7.2rem);
  }
}

@media (max-width: 980px) {
  #sobre-mi {
    min-height: auto;
    overflow: visible;
    scroll-margin-top: 72px;
  }

  .sobre-mi-container {
    width: 100%;
    padding: 84px 28px 60px;
    display: block;
  }

  .sobre-mi-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: start;
  }

  .sobre-mi-text {
    max-width: 100%;
  }
  .sobre-mi-text {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 18px;
    min-height: auto;
  }

  .sobre-mi-nav__button {
    width: 44px;
    height: 44px;
  }

  .sobre-mi-nav__meta {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }
  .sobre-mi-map {
    min-height: 380px;
  }

  .sobre-mi-map__frame {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 380px;
    transform: none;
  }
  #sobre-mi .sobre-mi-container > .back-context {
    top: 68px;
    left: calc(28px + 4.4rem);
  }
}

@media (max-width: 768px) {
  #sobre-mi {
    align-items: flex-start;
    justify-content: flex-start;
    isolation: isolate;
    background: transparent;
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  #sobre-mi:focus,
  #sobre-mi:focus-visible {
    outline: none;
  }

  #sobre-mi::before {
    content: none;
  }

  #sobre-mi .sobre-mi-container {
    position: relative;
    z-index: 1;
    min-height: 100svh;
  }

  #sobre-mi .sobre-mi-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--color-bg);
    background:
      radial-gradient(
        circle at 50% 44%,
        rgba(248, 238, 224, 0.22) 0%,
        rgba(238, 222, 202, 0.58) 46%,
        rgba(222, 202, 180, 0.76) 100%
      ),
      linear-gradient(
        rgba(236, 220, 200, 0.68),
        rgba(236, 220, 200, 0.68)
      ),
      var(--leo-map-url);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-attachment: local, local, local;
    background-size:
      145% 145%,
      100% 100%,
      auto 112%;
    background-position:
      center,
      center,
      50% 47%;
    opacity: 1;
    filter: grayscale(0.74) sepia(0.24) contrast(1.03) brightness(0.9);
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #sobre-mi .sobre-mi-container > * {
    position: relative;
    z-index: 1;
  }

  #sobre-mi .sobre-mi-container > .back-context {
    position: absolute;
    top: calc(var(--lxx-mobile-header-band) + 2.25rem);
    right: 18px;
    left: auto;
    display: flex;
    justify-content: flex-end;
    max-width: min(11.5rem, calc(100vw - 36px));
    margin: 0;
    text-align: right;
  }

  #sobre-mi .sobre-mi-container > .back-context .back-context__link {
    white-space: normal;
    text-align: right;
  }

  #sobre-mi .sobre-mi-text > .back-context {
    order: 2;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    max-width: min(12rem, 46vw);
    margin: 0;
    padding: 0;
    text-align: right;
  }

  #sobre-mi .sobre-mi-text > .back-context .back-context__link {
    white-space: normal;
    text-align: right;
  }

  .sobre-mi-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sobre-mi-text {
    display: contents;
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .sobre-mi-text__eyebrow,
  .sobre-mi-text__stage,
  .sobre-mi-nav {
    grid-column: 1;
  }

  .sobre-mi-text__eyebrow {
    order: 1;
    margin-bottom: 0;
  }

  .sobre-mi-nav {
    order: 2;
    grid-row: 2;
    flex-direction: row;
    justify-content: flex-start;
    align-self: auto;
    gap: 14px;
  }

  .sobre-mi-progress {
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: center;
    gap: 2px;
    min-width: 0;
  }

  .sobre-mi-progress__step {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: -6px -8px;
    border-color: transparent;
    background: transparent;
    font-size: 0.48rem;
    isolation: isolate;
  }

  .sobre-mi-progress__step::after {
    content: "";
    position: absolute;
    inset: 6px 4px;
    z-index: -1;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
  }

  .sobre-mi-progress__step:hover,
  .sobre-mi-progress__step:focus-visible,
  .sobre-mi-progress__step.is-active {
    border-color: transparent;
    background: transparent;
  }

  .sobre-mi-progress__step:hover::after,
  .sobre-mi-progress__step:focus-visible::after {
    border-color: rgba(var(--brand-copper), 0.3);
    background: rgba(var(--brand-copper), 0.06);
  }

  .sobre-mi-progress__step::before {
    top: 50%;
    right: -2px;
    bottom: auto;
    left: auto;
    width: 3px;
    height: 1px;
    transform: translateY(-50%);
  }

  .sobre-mi-progress__step.is-active {
    width: 44px;
  }

  .sobre-mi-progress__step.is-active::after {
    border-color: rgba(var(--brand-copper), 0.72);
    background: rgba(var(--brand-copper), 0.14);
  }

  .sobre-mi-map {
    order: 3;
    min-height: clamp(230px, 64vw, 310px);
    margin: 0.15rem 0 0.35rem;
  }

  .sobre-mi-text__stage {
    order: 4;
  }

  .sobre-mi-nav__meta {
    writing-mode: initial;
    transform: none;
  }
  .sobre-mi-title {
    margin-bottom: 22px;
  }

  .sobre-mi-text p {
    font-size: 1rem;
    line-height: 1.72;
  }

  .sobre-mi-frase {
    font-size: 1.08rem;
  }

  .sobre-mi-map__frame {
    height: clamp(230px, 64vw, 310px);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="map"]) .sobre-mi-map {
    min-height: 0;
    margin: 0;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="map"]) .sobre-mi-map__frame {
    height: auto;
    aspect-ratio: 2620 / 1149;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map {
    min-height: clamp(330px, 90vw, 370px);
    margin-bottom: 0.3rem;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="method"]) .sobre-mi-text__stage,
  #sobre-mi:has(.sobre-mi-text[data-step-visual="services"]) .sobre-mi-text__stage {
    order: 3;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="method"]) .sobre-mi-map,
  #sobre-mi:has(.sobre-mi-text[data-step-visual="services"]) .sobre-mi-map {
    order: 4;
    min-height: clamp(310px, 82vw, 360px);
    margin: 0.15rem 0 0.4rem;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="method"]) .sobre-mi-map__frame,
  #sobre-mi:has(.sobre-mi-text[data-step-visual="services"]) .sobre-mi-map__frame {
    height: clamp(310px, 82vw, 360px);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="services"]) .sobre-mi-map {
    height: 180px;
    min-height: 180px;
    margin: -18px 0 0;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="services"]) .sobre-mi-map__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(310px, 82vw, 360px);
    transform: translateY(-92px);
  }

  .sobre-mi-concept--method .sobre-mi-concept__center {
    width: 58px;
    height: 58px;
    font-size: 0.56rem;
    box-shadow: 0 0 0 9px rgba(var(--brand-copper), 0.055);
  }

  .sobre-mi-concept--method .sobre-mi-concept__item {
    width: min(40%, 142px);
    min-height: 30px;
    padding: 0;
  }

  .sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="right"] {
    transform: translate(17px, -50%);
  }

  .sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="left"] {
    transform: translate(calc(-100% - 17px), -50%);
  }

  .sobre-mi-concept--method .sobre-mi-concept__item[data-concept-side="below"] {
    transform: translate(-50%, 16px);
  }

  .sobre-mi-concept__title {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .sobre-mi-concept--services {
    display: block;
    padding: 0;
  }

  .sobre-mi-concept--services .sobre-mi-concept__center {
    top: 50%;
    width: 68px;
    height: 68px;
    min-height: 0;
    padding: 0.45rem;
    font-size: 0.56rem;
    box-shadow: 0 0 0 10px rgba(var(--brand-copper), 0.05);
  }

  .sobre-mi-concept--services .sobre-mi-concept__item {
    width: min(40%, 142px);
    min-height: 30px;
    padding: 0;
  }

  .sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="right"] {
    transform: translate(17px, -50%);
  }

  .sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="left"] {
    transform: translate(calc(-100% - 17px), -50%);
  }

  .sobre-mi-concept--services .sobre-mi-concept__item[data-concept-side="below"] {
    transform: translate(-50%, 16px);
  }

  .sobre-mi-concept__text {
    margin-top: 0.34rem;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-layout {
    gap: 8px;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map {
    min-height: clamp(270px, 72vw, 285px);
    margin-bottom: 0;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-title {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 8vw, 2rem);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-copy p {
    margin-bottom: 7px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-copy p:last-child {
    margin-bottom: 0;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] {
    width: min(218px, calc(100vw - 32px));
    max-width: 218px;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipImage {
    height: 168px;
    aspect-ratio: auto;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipTitle {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipText {
    margin-top: 0.22rem;
    font-size: 0.55rem;
  }

  .sobre-mi-map__tooltip {
    min-width: 136px;
    max-width: 184px;
    padding: 0.44rem 0.56rem 0.48rem;
    transform: translate(-50%, 10px) translateY(6px);
  }

  .sobre-mi-map__tooltip.is-visible {
    transform: translate(-50%, 10px) translateY(0);
  }

  .sobre-mi-map__tooltip::before {
    display: block;
    top: auto;
    bottom: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(120, 92, 72, 0.08);
    border-top: 1px solid rgba(120, 92, 72, 0.08);
  }

  .sobre-mi-map__tooltipTitle {
    font-size: 0.58rem;
  }

  .sobre-mi-map__tooltipText {
    font-size: 0.75rem;
  }

  .sobre-mi-map__svgPointHit {
    r: 176px;
  }

  .sobre-mi-map__svgPoint[data-id="espana"] .sobre-mi-map__svgPointHit,
  .sobre-mi-map__svgPoint[data-id="sombrerico"] .sobre-mi-map__svgPointHit {
    r: 176px;
  }

  .sobre-mi-map__svgPointCore {
    transform: scale(1.08);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="media"]) .sobre-mi-text__stage {
    order: 3;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="media"]) .sobre-mi-map {
    order: 4;
    min-height: clamp(230px, 64vw, 280px);
    margin: 0.2rem 0 0.4rem;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="media"]) .sobre-mi-map__frame {
    height: clamp(230px, 64vw, 280px);
  }

  .sobre-mi-media,
  .sobre-mi-media:has(.sobre-mi-media__track.is-gallery) {
    width: min(calc(100% - 24px), 320px);
    max-height: calc(100% - 12px);
    padding: 0.42rem;
    overflow: hidden;
  }

  .sobre-mi-media__track,
  .sobre-mi-media__track.is-gallery,
  .sobre-mi-media__track.is-single {
    display: flex;
    width: 100%;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .sobre-mi-media__track::-webkit-scrollbar {
    display: none;
  }

  .sobre-mi-media__item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .sobre-mi-media__image {
    aspect-ratio: 16 / 9;
    max-height: none;
    object-fit: cover;
  }

  .sobre-mi-media__track.is-gallery .sobre-mi-media__image {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .sobre-mi-media__caption {
    padding-top: 0.38rem;
  }

  .sobre-mi-media__captionTitle {
    font-size: 0.54rem;
    letter-spacing: 0.14em;
  }

  .sobre-mi-media__captionText {
    margin-top: 0.16rem;
    font-size: 0.68rem;
    line-height: 1.28;
  }

  .sobre-mi-media__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 28px;
    padding-top: 0.25rem;
  }

  .sobre-mi-media__dot {
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
}
/* ================================
   MÓVIL
================================ */

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  body:not(.not-hero):not(.cuadernos-page) .site-bg {
    opacity: 0;
  }

  body.has-local-mobile-bg .site-bg {
    opacity: 0;
  }


  body.not-hero .site-meta {
    top: 1rem;
    right: 1rem;
  }

  body.not-hero .site-label {
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.1;
  }

  body.not-hero .site-meta .hero-meta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 0.6rem;
    font-size: 0.72rem;
    line-height: 1.1;
    letter-spacing: 0.1em;
  }

  :root {
    --home-map-url: url("../img-optimized/imola-leonardo-home-mobile.webp");
    --leo-map-url: url("../img-optimized/imola-leonardo-home-mobile.webp");
    --hero-top-pad: 3.55rem;

    --lighthouse-size: clamp(132px, calc(100vw / 2.618), 148px);
    --lighthouse-gap: 0.9rem;
    --space-1: 0.78rem;
  }

  #te-propongo {
    position: relative;
    isolation: isolate;
    background: transparent;
  }


  #te-propongo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--color-bg);
    background:
      radial-gradient(
        circle at 50% 44%,
        rgba(248, 238, 224, 0.22) 0%,
        rgba(238, 222, 202, 0.58) 46%,
        rgba(222, 202, 180, 0.76) 100%
      ),
      linear-gradient(
        rgba(236, 220, 200, 0.68),
        rgba(236, 220, 200, 0.68)
      ),
      var(--leo-map-url);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size:
      145% 145%,
      100% 100%,
      auto 112%;
    background-position:
      center,
      center,
      50% 47%;
    opacity: 1;
    filter: grayscale(0.74) sepia(0.24) contrast(1.03) brightness(0.9);
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
  }

  #te-propongo > * {
    position: relative;
    z-index: 1;
  }

  #te-propongo.section {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  #te-propongo .como__valueInner {
    padding-top: calc(var(--lxx-mobile-header-band) + 1.1rem);
  }

  #te-propongo .evidencia {
    margin-top: 1.55rem;
  }

  .hero-meta {
    display: none !important;
  }
  /* ================================
     PORTADA — composición móvil final
  ================================ */

  .hero::before {
    background-size:
      auto 126%,
      calc(var(--map-w) * 1.28) calc(var(--map-h) * 1.34),
      150% 150%;
    background-position:
      center,
      calc(var(--map-left) - 23svh) calc(var(--map-top) - 22svh),
      center;
    opacity: 0.255;
    filter: grayscale(1) contrast(1) brightness(1.035) blur(0.15px);
  }

  .hero::after {
    background: none;
  }

  .container.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 28fr 24fr 10fr 38fr;
    grid-template-areas:
      "identity"
      "claim"
      "cta"
      "nav";
    justify-items: center;
    align-items: center;
    align-content: stretch;
    row-gap: 0;
    height: 100svh;
    min-height: 100svh;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-header {
    grid-area: identity;
    align-self: center;
    top: clamp(28px, 4dvh, 38px);
    display: grid;
    justify-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 1vh, 0.65rem);
    width: min(340px, 92vw);
    margin: 0 auto;
    transform: none;
    text-align: center;
  }

  .hero-lighthouse {
    order: 2;
  }

  .hero-brand-block {
    order: 1;
    max-width: none;
    padding-top: 0;
  }

  .hero .hero-logo {
    height: clamp(98px, 25vw, 112px);
  }

  .hero-brand {
    margin: 0 0 4px;
    font-size: 23.5px;
    line-height: 1.04;
    letter-spacing: 0.07em;
  }

  .hero-coords {
    font-size: 9.5px;
    letter-spacing: 0.02em;
  }

  .hero-lang {
    top: 0.9rem;
    right: 1rem;
    gap: 0.45rem;
  }

  .hero-lang__link,
  .hero-lang__link:link,
  .hero-lang__link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    padding: 0;
  }

  .hero-lang__link::after {
    display: none;
  }

  .hero-context {
    grid-area: claim;
    width: min(378px, 90vw);
    align-self: center;
    margin: 0 auto;
    font-size: clamp(1.43rem, 5.8vw, 1.78rem);
    line-height: 1.16;
    letter-spacing: 0.02em;
    text-wrap: balance;
  }

  .hero-context__desktop {
    display: none;
  }

  .hero-context__mobile {
    display: block;
  }

  .hero-message {
    display: contents;
    margin: 0;
    padding: 0;
  }

  .hero-message::before,
  .hero-message::after {
    display: none;
  }

  .hero-impact {
    display: none;
  }

  .hero-impact .hero-dot {
    margin: 0 7px;
  }

  .hero-subcontext {
    grid-area: subcontext;
    width: min(360px, 92vw);
    align-self: center;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.28;
    letter-spacing: 0.02em;
  }

  .hero-cta {
    grid-area: cta;
    align-self: start;
    margin: -1.35rem auto 0;
    padding: 0.88rem 1.35rem;
    font-size: 12.5px;
    letter-spacing: 0.14em;
  }

  .hero .hero-nav-wrap {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    grid-area: nav;
    align-self: start;
    width: fit-content;
    max-width: min(78vw, 360px);
    margin: clamp(0.12rem, 0.7svh, 0.38rem) auto 0;
    margin-inline: auto;
    gap: 0;
  }

  /* navegación en flujo, no pegada al fondo */
  .hero .hero-nav {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;

    width: fit-content;
    min-width: max-content;
    grid-area: auto;
    align-self: center;
    margin: 0 auto;
    padding-top: 0;
    border-top: 0;

    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
    align-items: start;

    font-size: 12.2px;
    letter-spacing: 0.02em;
  }

  .hero .hero-nav .hero-dot-small {
    display: block;
    justify-self: center;
    align-self: center;
    width: 3px;
    height: 3px;
    margin: 0.04rem 0 0.08rem;
    transform: none;
  }

  .hero .hero-nav a,
  .hero .hero-nav a:link,
  .hero .hero-nav a:visited {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0.28rem 0;

    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;

    text-align: center;
    line-height: 1.12;
    color: rgba(0, 0, 0, 0.68);
    letter-spacing: 0.02em;
  }


  .hero .hero-nav a[href="#te-propongo"] {
    order: 3;
  }

  .hero .hero-dot-small--after-propongo {
    order: 4;
  }

  .hero .hero-nav a[href="#coordenadas-2026"] {
    order: 5;
  }

  .hero .hero-dot-small--after-coords {
    order: 6;
  }

  .hero .hero-nav a[href^="./cuadernos/"],
  .hero .hero-nav a[href^="/cuadernos/"] {
    order: 7;
  }

  .hero .hero-nav__index {
    display: none;
  }

  .hero .hero-nav__copy {
    display: block;
    min-width: 0;
  }

  .hero .hero-nav__title {
    display: block;
    font-family: var(--font-title);
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: none;
    color: currentColor;
    transition: color 0.25s ease-out;
  }

  .hero .hero-nav__meta {
    display: none;
  }

  .hero .hero-nav__arrow {
    display: none;
  }

  .hero .hero-nav__chevron {
    display: none;
  }

  .hero .hero-nav a:hover,
  .hero .hero-nav a:focus,
  .hero .hero-nav a:focus-visible,
  .hero .hero-nav a:active {
    transform: translateY(-1px);
    color: rgba(var(--brand-copper), 0.96);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    letter-spacing: 0.04em;
    text-shadow:
      0 0 10px rgba(var(--beam-rgb), 0.16),
      0 0 22px rgba(var(--beam-rgb), 0.08);
  }

  .hero .hero-nav a:focus,
  .hero .hero-nav a:focus-visible {
    outline: 1px solid rgba(var(--brand-copper), 0.42);
    outline-offset: 4px;
  }

  .hero .hero-nav a:active {
    color: rgba(var(--brand-copper), 0.96);
  }

  .hero .hero-nav a:hover .hero-nav__title,
  .hero .hero-nav a:focus .hero-nav__title,
  .hero .hero-nav a:focus-visible .hero-nav__title,
  .hero .hero-nav a:active .hero-nav__title {
    color: rgba(var(--brand-copper), 0.96) !important;
    -webkit-text-fill-color: rgba(var(--brand-copper), 0.96);
  }

  .hero .hero-nav a::after {
    display: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero .hero-nav a,
    .hero .hero-nav a::after {
      transition: none;
    }
  }
}

@keyframes sobreMiMediaReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  #te-propongo.section {
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    padding: 0;
    overflow: hidden;
    scroll-margin-top: 0;
  }

  #te-propongo .como__valueInner {
    height: 100%;
    max-width: 100%;
    padding-top: 0.75rem;
    padding-right: clamp(1rem, 3vw, 1.6rem);
    padding-bottom: 0.35rem;
    padding-left: clamp(1rem, 3vw, 1.6rem);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: center;
    align-content: stretch;
  }

  #te-propongo .teprop__header {
    width: min(620px, 86vw);
    margin: 0 auto 0.45rem;
  }

  #te-propongo .teprop__title {
    font-size: clamp(0.92rem, 2.15vw, 1.08rem);
    letter-spacing: var(--lxx-editorial-title-letter-spacing);
    line-height: var(--lxx-editorial-title-line-height);
  }

  #te-propongo .teprop__subtitle {
    margin-top: 0.3rem;
    font-size: 0.72rem;
    line-height: var(--lxx-editorial-copy-line-height);
    letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  }

  #te-propongo .evidencia {
    align-self: center;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
  }

  #te-propongo .evidencia__rail {
    width: 100%;
    min-width: 0;
    padding: 4px clamp(18px, 5vw, 42px);
  }

  #te-propongo .evidencia__item {
    width: clamp(104px, 28svh, 124px);
  }

  #te-propongo .evidencia__overlay {
    padding: 8px 10px;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  #te-propongo .evidencia__motionToggle {
    min-height: 44px;
    margin-top: 0.15rem;
    padding: 0.25rem 0.6rem;
  }

  #te-propongo .teprop__closing {
    width: min(620px, 88vw);
    margin: 0.25rem auto 0;
  }

  #te-propongo .teprop__closingText {
    font-size: 0.72rem;
    line-height: var(--lxx-editorial-copy-line-height);
    letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  :root {
    --lxx-editorial-section-title-size: clamp(2.25rem, 10vw, 3.15rem);
    --lxx-editorial-section-copy-size: 1rem;
  }

  body.has-mobile-bottom-nav #te-propongo.section {
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    padding: 0;
    overflow: hidden;
    scroll-margin-top: 0;
  }

  body.has-mobile-bottom-nav #te-propongo .como__valueInner {
    height: 100%;
    min-height: 0;
    padding-top: clamp(3.25rem, 7svh, 4rem);
    padding-bottom: clamp(1.35rem, 3.5svh, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 5fr) auto auto minmax(0, 4fr) auto;
    align-content: stretch;
  }

  #te-propongo .teprop__header {
    grid-row: 2;
    width: calc(100% - 56px);
    margin-top: 0;
    margin-bottom: -3rem;
    text-align: left;
    transform: translateY(calc(-2rem + 4px));
  }

  #te-propongo .teprop__title {
    font-size: var(--lxx-editorial-section-title-size);
    line-height: var(--lxx-editorial-title-line-height);
    letter-spacing: var(--lxx-editorial-title-letter-spacing);
  }

  #te-propongo .teprop__subtitle {
    max-width: 36ch;
    margin-top: 1rem;
    margin-right: 0;
    margin-left: 0;
    font-size: var(--lxx-editorial-section-copy-size);
    line-height: var(--lxx-editorial-copy-line-height);
    letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  }

  #te-propongo .teprop__subtitleBreak {
    display: none;
  }

  #te-propongo .evidencia {
    grid-row: 3;
    position: relative;
    min-width: 0;
    margin-top: 3.5rem;
  }

  #te-propongo .evidencia__motionToggle {
    position: absolute;
    top: 0;
    left: auto;
    right: 24px;
    z-index: 2;
    width: max-content;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    transform: translateY(-70%);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: rgba(24, 20, 17, 0.58);
  }

  #te-propongo .evidencia__motionToggle:hover,
  #te-propongo .evidencia__motionToggle:focus-visible {
    color: rgba(24, 20, 17, 0.58);
    letter-spacing: 0.1em;
  }

  #te-propongo .evidencia__motionToggle:active {
    color: var(--color-accent);
  }

  #te-propongo .evidencia__motionToggle::before {
    content: "";
    position: absolute;
    inset: 6px 0;
    z-index: -1;
    border: 1px solid rgba(var(--brand-copper), 0.08);
    border-radius: 999px;
    background: rgba(246, 239, 230, 0.54);
    backdrop-filter: blur(6px);
  }

  #te-propongo .evidencia__motionToggle > span {
    position: relative;
    z-index: 1;
  }

  #te-propongo .evidencia__motionDot {
    display: none;
  }

  #te-propongo .teprop__closing {
    grid-row: 5;
    width: min(340px, 92vw);
    margin: 0 auto;
    gap: 0.5rem 0.7rem;
    display: flex;
  }

  #te-propongo .teprop__closingText {
    font-size: var(--lxx-editorial-section-copy-size);
    line-height: var(--lxx-editorial-copy-line-height);
    letter-spacing: var(--lxx-editorial-copy-letter-spacing);
  }

  #te-propongo .teprop__closingCta {
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    font-size: 0.64rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) and (max-height: 760px) {
  body.has-mobile-bottom-nav #te-propongo .como__valueInner {
    padding-top: 3.25rem;
    padding-bottom: 1.05rem;
  }

  #te-propongo .evidencia {
    margin-top: 2rem;
  }

  #te-propongo .evidencia__rail {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  #te-propongo .evidencia__item {
    width: clamp(150px, 22svh, 166px);
  }
}

/* =========================================
   CONTACTO
========================================= */

.section-contacto {
  position: relative;
  isolation: isolate;
  min-height: var(--lxx-viewport-height);
  padding: 88px 0 72px;
  scroll-margin-top: 88px;
}

/* Cierre LXX: mismo sistema visual que los diálogos de Te propongo. */
.contacto-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 40;

  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-accent);

  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contacto-close:hover {
  transform: translateY(-1px);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contacto-close:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 4px;
}

body.is-contact-contained .section-contacto {
  height: var(--lxx-viewport-height);
  min-height: var(--lxx-viewport-height);
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  scroll-margin-top: 0;
}

.contacto-shell {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 0 48px;
}

body.is-contact-contained .contacto-shell {
  box-sizing: border-box;
  height: 100%;
  max-height: 100%;
  padding: 88px 48px 72px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body.is-contact-contained .contacto-shell::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.contacto-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(520px, 1fr);
  gap: clamp(28px, 3.8vw, 56px);
  align-items: start;
}

.contacto-copy {
  max-width: 560px;
  padding-top: 8px;
}

.contacto-kicker {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(32, 24, 18, 0.46);
}

.contacto-title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: rgba(24, 20, 17, 0.94);
}

.contacto-intro {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.72;
  white-space: pre-line;
  color: rgba(28, 24, 20, 0.78);
}

.contacto-notes {
  display: grid;
  gap: 8px;
}

.contacto-note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(28, 24, 20, 0.62);
}

.contacto-panel {
  position: relative;
}

.contacto-form {
  padding: 70px 22px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 244, 238, 0.36) 0%, rgba(232, 224, 214, 0.2) 100%),
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 1.2px);
  background-size:
    auto,
    10px 10px;
  border: 1px solid rgba(120, 92, 72, 0.12);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contacto-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contacto-form__grid--secondary {
  margin-top: 14px;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
}

.field__input,
.field__textarea,
.field__select {
  font-size: 0.98rem;
}

.contact-form__bot-field {
  display: none;
}

.contacto-audio {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(120, 92, 72, 0.12);
  background: rgba(255, 255, 255, 0.18);
}

.contacto-audio__header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.contacto-audio__hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(28, 24, 20, 0.56);
}

.contacto-audio__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contacto-audio__button,
.contacto-audio__upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contacto-audio__button:hover,
.contacto-audio__upload:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.74);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contacto-audio__button:disabled {
  opacity: 0.42;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.contacto-audio__button--secondary {
  color: var(--color-accent);
}

.contacto-audio__file {
  display: none;
}

.contacto-audio.is-recording {
  border-color: rgba(180, 90, 63, 0.24);
}

.contacto-audio__button[aria-pressed="true"] {
  color: var(--color-accent);
  border-color: rgba(180, 90, 63, 0.32);
  background: rgba(180, 90, 63, 0.08);
}

.contacto-audio__status {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(28, 24, 20, 0.62);
}

.contacto-audio__counter {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.contacto-audio__counter[hidden] {
  display: none;
}

.contacto-audio__preview {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contacto-audio__preview[hidden] {
  display: none;
}

.contacto-audio__preview audio {
  width: 100%;
}

.contacto-audio__remove {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  cursor: pointer;
}

.contacto-form__actions {
  margin-top: 18px;
}

.contacto-form__submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: rgba(0, 0, 0, 0.58);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contacto-form__submit:hover {
  transform: translateY(-1px);
  color: rgba(0, 0, 0, 0.74);
  border-color: rgba(180, 90, 63, 0.28);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.contacto-form__submit:disabled {
  opacity: 0.56;
  cursor: wait;
}

.contacto-form__status {
  min-height: 24px;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.66);
}

.contacto-form__status.is-ok {
  color: rgba(68, 108, 68, 0.92);
}

.contacto-form__status.is-error {
  color: rgba(160, 74, 50, 0.96);
}

.field.is-error .field__input,
.field.is-error .field__textarea,
.field.is-error .field__select {
  border-color: rgba(180, 90, 63, 0.42);
  box-shadow: 0 0 0 4px rgba(180, 90, 63, 0.1);
}
.contacto-form .field {
  display: grid;
  gap: 8px;
}

.contacto-form .field--full {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.contacto-form .field__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.56);
}

.contacto-form .field__input,
.contacto-form .field__textarea,
.contacto-form .field__select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.22);
  padding: 12px 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: rgba(0, 0, 0, 0.78);
  outline: none;
}

.contacto-form .field__textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.contacto-form .field__input:focus,
.contacto-form .field__textarea:focus,
.contacto-form .field__select:focus {
  border-color: rgba(180, 90, 63, 0.35);
  box-shadow: 0 0 0 4px rgba(180, 90, 63, 0.12);
}

.contacto-form .consent {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.64);
  line-height: 1.45;
}

.contacto-form .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.contacto-form .consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: transform 0.18s ease;
  clip-path: polygon(14% 44%, 0 59%, 50% 100%, 100% 16%, 85% 0, 43% 62%);
  background: var(--color-accent);
}

.contacto-form .consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.contacto-form .consent input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(180, 90, 63, 0.55);
  outline-offset: 2px;
}
@media (max-width: 980px) {
  .section-contacto {
    min-height: auto;
    padding: 84px 0 60px;
    scroll-margin-top: 72px;
  }

  .contacto-shell {
    padding: 0 28px;
  }

  body.is-contact-contained .contacto-shell {
    padding: 84px 28px 60px;
  }

  .contacto-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacto-copy {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section-contacto {
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
    scroll-margin-top: 0;
    touch-action: pan-y;
    background: transparent;
  }

  .section-contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--color-bg);
    background:
      radial-gradient(
        circle at 50% 44%,
        rgba(248, 238, 224, 0.22) 0%,
        rgba(238, 222, 202, 0.58) 46%,
        rgba(222, 202, 180, 0.76) 100%
      ),
      linear-gradient(
        rgba(236, 220, 200, 0.68),
        rgba(236, 220, 200, 0.68)
      ),
      var(--leo-map-url);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size:
      145% 145%,
      100% 100%,
      auto 112%;
    background-position:
      center,
      center,
      50% 47%;
    opacity: 1;
    filter: grayscale(0.74) sepia(0.24) contrast(1.03) brightness(0.9);
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .contacto-shell {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    height: 100%;
    max-height: 100%;
    padding: calc(var(--lxx-mobile-header-band) + 1.8rem) 18px 1.2rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .contacto-form {
    padding: 18px;
    border-radius: 18px;
  }

  .contacto-form__grid {
    grid-template-columns: 1fr;
  }

  .contacto-title {
    margin-bottom: 20px;
  }

  .contacto-intro {
    font-size: 1rem;
    line-height: 1.68;
  }

  .contacto-audio__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .contacto-audio__button,
  .contacto-audio__upload {
    width: 100%;
  }
}
/* =====================================================
   LEGAL LINKS + CONSENT
===================================================== */

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(44, 38, 32, 0.88);
}

.consent input[type="checkbox"] {
  margin-top: 0.28rem;
  flex: 0 0 auto;
  accent-color: var(--color-accent);
}

.consent > span {
  display: inline;
}

.consent a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 90, 63, 0.35);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.consent a:hover {
  color: var(--color-accent);
  border-bottom-color: rgba(180, 90, 63, 0.7);
  opacity: 0.82;
}
.site-footer .legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: lowercase;
}

.site-footer .legal-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.35rem 0.8rem;
  color: rgba(44, 38, 32, 0.74);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.site-footer .legal-links a + a {
  border-left: 1px solid rgba(120, 92, 72, 0.2);
}

.site-footer .legal-links a:first-child {
  padding-left: 0;
}

.site-footer .legal-links a:last-child {
  padding-right: 0;
}

.site-footer .legal-links a:hover {
  color: var(--color-accent);
  border-bottom-color: rgba(180, 90, 63, 0.45);
  opacity: 0.9;
}

@media (max-width: 640px) {
  .consent {
    gap: 0.65rem;
    font-size: 0.94rem;
  }

  .site-footer .legal-links {
    justify-content: flex-start;
    font-size: 0.72rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    width: calc(100vw - 2rem);
    min-height: 0;
    padding-block: 1rem;
  }
}

/* Small editorial labels share one hierarchy across the site. */
#te-propongo .project-modal__ref,
#te-propongo .project-modal__priceKey,
#te-propongo .project-modal__specKey,
#te-propongo .signup-modal__ref,
#te-propongo .field__label,
#coordenadas-2026 .coords-card__month,
#coordenadas-2026 .coords-card__date,
#coordenadas-2026 .coords-detail__ref,
#coordenadas-2026 .coords-detail__month,
#coordenadas-2026 .coords-detail__date,
#coordenadas-2026 .coords-detail__itemDate,
.sobre-mi-text__eyebrow,
.sobre-mi-text__eyebrow span,
.contacto-kicker,
.contacto-form .field__label {
  color: var(--lxx-editorial-label-color);
}

/* =====================================================
   PORTADA · CARRUSEL DE NAVEGACIÓN
===================================================== */

.hero--carousel .hero-layout {
  height: var(--lxx-viewport-height);
  min-height: var(--lxx-viewport-height);
  padding: 1.4rem 0.6rem max(0.35rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  grid-template-areas:
    "identity"
    "message"
    "navigation";
  align-items: center;
  align-content: stretch;
  row-gap: clamp(0.35rem, 1.1vh, 0.75rem);
}

.hero--carousel .hero-header {
  grid-area: identity;
}

.home-desktop-hero .hero-header > .hero-lang {
  position: absolute;
  top: 0.62rem;
  right: 1.5rem;
  margin: 0;
}

.hero--carousel .hero-lighthouse {
  cursor: default;
}

.hero--carousel .hero-lighthouse:hover .hero-logo {
  filter: drop-shadow(0 15px 28px rgba(0, 0, 0, 0.08));
}

.hero--carousel .hero-message {
  grid-area: message;
  width: min(840px, 92vw);
  margin: clamp(-2.2rem, -2.5vh, -1rem) auto 0;
  padding: 0.35rem 0.8rem;
  transform: translateY(-0.45rem);
}

.hero--carousel .hero-message::before,
.hero--carousel .hero-message::after {
  content: none;
  display: none;
}

.hero--carousel .hero-context {
  font-size: clamp(2rem, 3.55vw, 3.05rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-summary {
  width: min(620px, 88vw);
  margin: 0 auto 0.7rem;
  font-family: var(--font-body);
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.035em;
  color: rgba(0, 0, 0, 0.7);
  text-wrap: balance;
}

.hero-navigation-cluster {
  grid-area: navigation;
  align-self: center;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  display: grid;
  gap: clamp(0.12rem, 0.6vh, 0.42rem);
  position: relative;
  z-index: 3;
}

.hero-route-map {
  width: min(1160px, calc(100vw - 2rem));
  margin: 0 auto;
  color: rgba(24, 20, 17, 0.92);
  opacity: 0;
  animation: hero-fade-up 0.9s ease-out 0.24s forwards;
}

.hero-route-map__prompt {
  margin: 0 0 clamp(0.7rem, 1.6vh, 1rem);
  font-family: var(--font-body);
  font-size: clamp(0.66rem, 0.8vw, 0.76rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(48, 36, 29, 0.65);
}

.hero-route-map__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-route-map__list::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 16.666%;
  left: 16.666%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(var(--brand-copper), 0.18),
    rgba(var(--brand-copper), 0.62) 50%,
    rgba(var(--brand-copper), 0.18)
  );
  pointer-events: none;
}

.hero-route-map__stop {
  position: relative;
  min-width: 0;
}

.hero-route-map__link {
  position: relative;
  display: grid;
  grid-template-rows: 48px auto;
  min-height: 122px;
  padding: 0 clamp(1rem, 2.2vw, 2rem);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.hero-route-map__point {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(var(--brand-copper), 0.9);
  border-radius: 50%;
  background: rgba(245, 238, 230, 0.9);
  box-shadow: 0 0 0 5px rgba(245, 238, 230, 0.5);
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.hero-route-map__copy {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.hero-route-map__label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: rgba(var(--brand-copper), 0.88);
}

.hero-route-map__title {
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: rgba(24, 20, 17, 0.94);
}

.hero-route-map__description {
  max-width: 20rem;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 0.92vw, 0.88rem);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(32, 24, 18, 0.66);
}

.hero-route-map__action {
  align-self: end;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(24, 20, 17, 0.68);
  transition:
    color 180ms ease,
    gap 180ms ease;
}

.hero-route-map__link:hover .hero-route-map__point,
.hero-route-map__link:focus-visible .hero-route-map__point {
  background: rgba(var(--brand-copper), 0.96);
  box-shadow:
    0 0 0 5px rgba(245, 238, 230, 0.62),
    0 0 0 8px rgba(var(--brand-copper), 0.12);
  transform: scale(1.08);
}

.hero-route-map__link:hover .hero-route-map__action,
.hero-route-map__link:focus-visible .hero-route-map__action {
  gap: 0.65rem;
  color: rgba(var(--brand-copper), 1);
}

.hero-route-map__link:focus-visible {
  outline: 1px solid rgba(var(--brand-copper), 0.48);
  outline-offset: 3px;
}

.hero-secondary-nav {
  width: 100%;
  min-height: 44px;
  margin-top: clamp(0.4rem, 1.2vh, 0.85rem);
  padding: 0 clamp(0.35rem, 1.4vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.62rem;
  position: relative;
  z-index: 5;
}

.hero-secondary-nav a {
  position: relative;
  min-height: 44px;
  padding: 0.7rem 0.4rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.62);
  transition:
    transform 0.25s ease-out,
    color 0.25s ease-out,
    letter-spacing 0.25s ease-out,
    text-shadow 0.25s ease-out;
}

.hero-secondary-nav a::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 1px;
  transform: translateX(-50%);
  opacity: 0;
  transition:
    width 0.35s ease-out,
    opacity 0.35s ease-out;
}

.hero-secondary-nav__separator {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  display: inline-block;
  border-radius: 50%;
  background: rgba(var(--brand-copper), 0.78);
  box-shadow: 0 0 7px rgba(var(--brand-copper), 0.22);
  font-size: 0;
  transform: translateY(-1px);
}

.hero-secondary-nav a:hover,
.hero-secondary-nav a:focus-visible {
  transform: translateY(-1px);
  color: var(--color-accent);
  text-shadow:
    0 0 10px rgba(var(--beam-rgb), 0.18),
    0 0 24px rgba(var(--beam-rgb), 0.1);
}

.hero-secondary-nav a:hover::after,
.hero-secondary-nav a:focus-visible::after {
  width: 110%;
  opacity: 1;
  background: linear-gradient(
    to right,
    rgba(196, 107, 76, 0) 0%,
    rgba(196, 107, 76, 0.85) 50%,
    rgba(196, 107, 76, 0) 100%
  );
}

.hero-secondary-nav a:focus-visible {
  outline: 1px solid rgba(var(--brand-copper), 0.5);
  outline-offset: 3px;
}

@media (min-width: 769px) {
  .home-desktop-hero {
    position: relative;
  }

  .home-desktop-hero .hero-navigation-cluster {
    position: static;
  }

  .home-desktop-hero .hero-secondary-nav {
    position: absolute;
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 50%;
    width: max-content;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    transform: translateX(-50%);
  }

  .home-desktop-hero .hero-secondary-nav a {
    font-size: 0.82rem;
    text-transform: lowercase;
  }
}

.sobre-mi-method-link {
  position: relative;
  min-height: 42px;
  padding: 0.55rem 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(24, 20, 17, 0.76);
  transition:
    color 0.2s ease,
    letter-spacing 0.2s ease,
    transform 0.2s ease;
}

.sobre-mi-method-link::after {
  content: "";
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  width: 0;
  height: 1px;
  opacity: 0;
  background: linear-gradient(
    to right,
    rgba(var(--brand-copper), 0) 0%,
    rgba(var(--brand-copper), 0.85) 50%,
    rgba(var(--brand-copper), 0) 100%
  );
  transform: translateX(-50%);
  transition:
    width 0.3s ease,
    opacity 0.3s ease;
}

.sobre-mi-method-link:hover,
.sobre-mi-method-link:focus-visible {
  color: rgba(var(--brand-copper), 1);
  letter-spacing: 0.17em;
  transform: translateY(-1px);
}

.sobre-mi-method-link:hover::after,
.sobre-mi-method-link:focus-visible::after {
  width: 108%;
  opacity: 1;
}

.sobre-mi-method-link:focus-visible {
  outline: 2px solid rgba(var(--brand-copper), 0.45);
  outline-offset: 4px;
}

.sobre-mi-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.55rem;
  margin-top: 0.35rem;
}

.sobre-mi-link-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.sobre-mi-link-item__prefix {
  font-family: var(--font-body);
  font-size: 0.84rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: rgba(24, 20, 17, 0.74);
}

.sobre-mi-method-link--inline {
  min-height: 36px;
  padding-block: 0.4rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(var(--brand-copper), 0.96);
}

.sobre-mi-method-link--inline::after {
  bottom: 0.25rem;
  width: 100%;
  opacity: 0.62;
}

.sobre-mi-method-link--inline:hover,
.sobre-mi-method-link--inline:focus-visible {
  letter-spacing: 0.06em;
}

.sobre-mi-method-link--inline:hover::after,
.sobre-mi-method-link--inline:focus-visible::after {
  width: 112%;
  opacity: 1;
}

.sobre-mi-links__separator {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(var(--brand-copper), 0.9);
}

.sobre-mi-editorial-seal {
  position: relative;
  display: grid;
  gap: 0.46rem;
  width: min(100%, 430px);
  margin: clamp(1.2rem, 3vh, 1.8rem) 0 0;
  padding: 1.15rem 1.3rem 1.05rem;
  border: 1px solid rgba(var(--brand-copper), 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 252, 247, 0.1),
    rgba(224, 214, 202, 0.025)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 252, 247, 0.12);
  font-style: normal;
}

.sobre-mi-editorial-seal::before,
.sobre-mi-editorial-seal::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(var(--brand-copper), 0.62);
  pointer-events: none;
}

.sobre-mi-editorial-seal::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(var(--brand-copper), 0.72);
  border-left: 2px solid rgba(var(--brand-copper), 0.72);
}

.sobre-mi-editorial-seal::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid rgba(var(--brand-copper), 0.72);
  border-bottom: 2px solid rgba(var(--brand-copper), 0.72);
}

.sobre-mi-editorial-seal__brand {
  font-family: var(--font-title);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: rgba(30, 23, 19, 0.9);
}

.sobre-mi-editorial-seal__coordinates,
.sobre-mi-editorial-seal__email {
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: rgba(30, 23, 19, 0.64);
}

.sobre-mi-editorial-seal__email {
  width: fit-content;
  text-decoration: none;
  color: rgba(var(--brand-copper), 0.96);
}

.sobre-mi-editorial-seal__email:hover,
.sobre-mi-editorial-seal__email:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .hero::before {
    background-size:
      auto 126%,
      var(--map-w) var(--map-h),
      150% 150%;
    background-position:
      center,
      var(--map-left) var(--map-top),
      center;
  }

  .hero--carousel .hero-layout {
    grid-template-rows: minmax(180px, 34%) auto minmax(0, 1fr);
    grid-template-areas:
      "identity"
      "message"
      "navigation";
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    padding: 0 0.75rem max(0.5rem, env(safe-area-inset-bottom));
    row-gap: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
  }

  .hero-navigation-cluster {
    display: grid;
    align-self: start;
    width: 100%;
    margin-top: clamp(0.55rem, 1.5vh, 0.9rem);
  }

  .hero--carousel .hero-message {
    display: block;
    align-self: center;
    width: min(360px, 88vw);
    margin: 0 auto;
    padding: 0;
  }

  .hero--carousel .hero-context {
    width: 100%;
    margin: 0.55rem 0 0;
    font-size: clamp(1.32rem, 5.7vw, 1.58rem);
    line-height: 1.16;
    letter-spacing: 0.01em;
  }

  .hero-summary {
    display: block;
    width: min(330px, 86vw);
    margin: 0 auto;
    font-size: clamp(0.76rem, 3vw, 0.86rem);
    line-height: 1.38;
    letter-spacing: 0.025em;
  }

  .hero-route-map {
    display: block;
    width: min(390px, calc(100vw - 1.5rem));
  }

  .hero-route-map__prompt {
    margin-bottom: 0.3rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .hero-route-map__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-route-map__list::before {
    top: 17px;
    right: auto;
    bottom: 17px;
    left: 11px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(var(--brand-copper), 0.16),
      rgba(var(--brand-copper), 0.64) 50%,
      rgba(var(--brand-copper), 0.16)
    );
  }

  .hero-route-map__link {
    grid-template-columns: 23px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.7rem;
    min-height: 0;
    padding: clamp(0.32rem, 0.85vh, 0.48rem) 0;
    align-items: center;
    text-align: left;
  }

  .hero-route-map__point {
    align-self: center;
    justify-self: center;
    width: 8px;
    height: 8px;
  }

  .hero-route-map__copy {
    gap: 0.12rem;
  }

  .hero-route-map__title {
    font-size: clamp(0.96rem, 4vw, 1.1rem);
    line-height: 1.12;
  }

  .hero-route-map__description {
    max-width: 34rem;
    margin: 0;
    font-size: clamp(0.64rem, 2.65vw, 0.74rem);
    line-height: 1.28;
  }

  .hero--carousel .hero-header {
    top: clamp(20px, 3.2dvh, 30px);
    gap: clamp(0.38rem, 1.2vh, 0.7rem);
  }

  .hero .hero-logo {
    height: clamp(92px, 25vw, 112px);
  }

  .hero-brand {
    font-size: clamp(19px, 5.5vw, 22px);
    letter-spacing: 0.055em;
  }

  .hero-coords {
    margin-top: 0.35rem;
    font-size: 9px;
    letter-spacing: 0.035em;
  }

  .hero::before {
    opacity: 0.32;
    filter: grayscale(0.92) sepia(0.08) contrast(1.04) brightness(1.02) blur(0.1px);
  }

  .hero-secondary-nav {
    display: none;
  }

}

@media (max-width: 540px) {
  .hero--carousel .hero-message {
    margin-top: 0;
  }
}

@media (min-width: 1100px) {
  .hero--carousel .hero-message {
    transform: translateY(-0.8rem);
  }

  .hero-navigation-cluster {
    width: min(1300px, calc(100vw - 4rem));
    gap: 0.3rem;
  }

}

@media (max-height: 660px) {
  .hero--carousel {
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .hero--carousel .hero-layout {
    height: var(--lxx-viewport-height);
    min-height: 0;
    grid-template-rows: auto auto auto;
    align-content: start;
    padding-top: 0.65rem;
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom));
    row-gap: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero--carousel .hero-message {
    margin-top: -0.8rem;
  }

  .hero-route-map__link {
    min-height: 0;
  }
}

@media (max-width: 768px) and (max-height: 660px) {
  .hero--carousel {
    overflow: hidden;
  }

  .hero--carousel .hero-layout {
    grid-template-rows: minmax(150px, 31%) auto minmax(0, 1fr);
    grid-template-areas:
      "identity"
      "message"
      "navigation";
    align-content: stretch;
    padding: 0 0.75rem max(0.35rem, env(safe-area-inset-bottom));
    row-gap: 0;
    overflow: hidden;
  }

  .hero--carousel .hero-message {
    margin-top: 0;
  }

  .hero .hero-logo {
    height: clamp(78px, 22vw, 96px);
  }

  .hero-route-map__link {
    padding-block: 0.24rem;
  }

  .hero-route-map__description {
    font-size: 0.62rem;
  }
}

/* =====================================================
   PORTADA MÓVIL · CURIOSIDAD, PROPUESTA Y ELECCIÓN
===================================================== */

.hero-context--mobile-curiosity,
.hero-route-map__intent {
  display: none;
}

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .hero--carousel .hero-layout {
    box-sizing: border-box;
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    grid-template-rows: clamp(180px, 26.2vh, 204px) auto auto auto;
    grid-template-areas:
      "identity"
      "curiosity"
      "message"
      "navigation";
    align-content: start;
    align-items: start;
    row-gap: clamp(0.55rem, 1.55vh, 0.82rem);
    padding: 0 1rem max(1.1rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
  }

  .hero--carousel .hero-layout::-webkit-scrollbar {
    display: none;
  }

  .hero--carousel .hero-message {
    display: contents;
  }

  .hero--carousel .hero-context--mobile-curiosity {
    grid-area: curiosity;
    display: block;
    align-self: start;
    width: min(34ch, 88vw);
    margin: 0 auto;
    font-size: clamp(0.98rem, 4.25vw, 1.08rem);
    line-height: 1.4;
    letter-spacing: 0.018em;
    text-align: center;
    color: rgba(25, 20, 17, 0.78);
    text-wrap: balance;
  }

  .hero-summary {
    grid-area: message;
    align-self: start;
    width: min(31ch, 90vw);
    margin: clamp(0.75rem, 2.2vh, 1.1rem) auto 0;
    font-size: clamp(1.35rem, 5.8vw, 1.62rem);
    line-height: 1.17;
    letter-spacing: 0.01em;
    color: rgba(20, 17, 14, 0.88);
  }

  .hero-summary::before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    margin: 0 auto clamp(0.85rem, 2vh, 1.1rem);
    border-radius: 50%;
    background: rgba(var(--brand-copper), 0.9);
  }

  .hero-context--desktop {
    display: none;
  }

  .hero-navigation-cluster {
    grid-area: navigation;
    align-self: start;
    width: min(390px, 100%);
    margin: 0 auto;
    gap: 0;
  }

  .hero-route-map {
    width: 100%;
  }

  .hero-route-map__prompt {
    display: none;
  }

  .hero-route-map__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-route-map__list::before {
    display: none;
  }

  .hero-route-map__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 0;
    padding: clamp(0.72rem, 1.9vh, 0.9rem) 0.15rem;
    align-items: center;
    border-bottom: 1px solid rgba(var(--brand-copper), 0.22);
    text-align: center;
  }

  .hero-route-map__stop:first-child .hero-route-map__link {
    border-top: 1px solid rgba(var(--brand-copper), 0.3);
  }

  .hero-route-map__point {
    display: none;
  }

  .hero-route-map__copy {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
  }

  .hero-route-map__title {
    font-family: var(--font-body);
    font-size: 0.63rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(var(--brand-copper), 0.94);
  }

  .hero-route-map__intent {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(1.04rem, 4.45vw, 1.18rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.008em;
    color: rgba(24, 20, 17, 0.94);
    text-wrap: balance;
  }

  .hero-route-map__description {
    display: block;
    max-width: 34rem;
    margin: 0 auto;
    font-size: clamp(0.7rem, 2.9vw, 0.79rem);
    line-height: 1.34;
    text-align: center;
    color: rgba(32, 24, 18, 0.66);
    text-wrap: balance;
  }

  .hero-route-map__stop--secondary {
    margin-top: 0.2rem;
  }

  .hero-route-map__stop--secondary .hero-route-map__link {
    padding-block: 0.62rem;
    border-bottom: 0;
  }

}

@media (min-width: 769px) and (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .hero--carousel .hero-layout {
    grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    grid-template-areas:
      "identity curiosity"
      "identity message"
      "identity navigation";
    column-gap: clamp(1rem, 3vw, 2rem);
    row-gap: 0.25rem;
    padding: 0.35rem 1rem 0.45rem;
    align-items: center;
    overflow: hidden;
  }

  .hero--carousel .hero-header {
    grid-area: identity;
    align-self: center;
    width: min(320px, 38vw);
    top: 0;
  }

  .hero .hero-logo {
    height: clamp(82px, 27svh, 104px);
  }

  .hero-brand {
    font-size: clamp(18px, 2.55vw, 22px);
  }

  .hero-coords {
    margin-top: 0.22rem;
    font-size: 8px;
  }

  .hero--carousel .hero-context--mobile-curiosity {
    grid-area: curiosity;
    align-self: end;
    width: min(34ch, 100%);
    margin: 1.35rem auto 0;
    font-size: 0.82rem;
    line-height: 1.28;
  }

  .hero-summary {
    grid-area: message;
    align-self: center;
    width: min(38ch, 100%);
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.16;
  }

  .hero-summary::before {
    width: 3px;
    height: 3px;
    margin-bottom: 0.42rem;
  }

  .hero-navigation-cluster {
    grid-area: navigation;
    align-self: start;
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .hero-route-map__link,
  .hero-route-map__stop--secondary .hero-route-map__link {
    padding-block: 0.28rem;
  }

  .hero-route-map__copy {
    gap: 0.08rem;
  }

  .hero-route-map__title {
    font-size: 0.55rem;
  }

  .hero-route-map__intent {
    font-size: 0.9rem;
    line-height: 1.12;
  }

  .hero-route-map__description {
    font-size: 0.59rem;
    line-height: 1.2;
  }

  .hero-route-map__stop--secondary {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-route-map,
  .hero-route-map__point,
  .hero-route-map__action,
  .hero-secondary-nav a,
  .hero-secondary-nav a::after,
  .sobre-mi-method-link,
  .sobre-mi-media,
  .sobre-mi-text__inner,
  .sobre-mi-map__tooltip {
    animation: none;
    transition: none;
  }

  .sobre-mi-map__tooltipImage {
    transition: none;
  }

  .hero-route-map {
    opacity: 1;
  }

  .sobre-mi-media__track {
    scroll-behavior: auto;
  }

  .sobre-mi-map__svgPointAura {
    animation: none;
  }
}

/* =====================================================
   NAVEGACIÓN INFERIOR MÓVIL
   Franja protegida para la web general y los cuadernos.
===================================================== */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  body.has-mobile-bottom-nav {
    --mobile-nav-control-height: 60px;
    --mobile-nav-safe-bottom: max(6px, env(safe-area-inset-bottom));
    --mobile-nav-total-height: calc(
      var(--mobile-nav-control-height) + var(--mobile-nav-safe-bottom)
    );
    --lxx-viewport-height: calc(100svh - var(--mobile-nav-total-height));
    --lxx-mobile-header-band: 0rem;

    box-sizing: border-box;
    padding-bottom: var(--mobile-nav-total-height);
    scroll-padding-bottom: calc(var(--mobile-nav-total-height) + 1rem);
  }

  @supports (height: 100dvh) {
    body.has-mobile-bottom-nav {
      --lxx-viewport-height: calc(100dvh - var(--mobile-nav-total-height));
    }
  }

  body.has-mobile-bottom-nav .site-meta,
  body.has-mobile-bottom-nav .site-label,
  body.has-mobile-bottom-nav .hero-meta {
    display: none !important;
  }

  body.has-mobile-bottom-nav .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 920;
    display: block;
    min-height: var(--mobile-nav-total-height);
    border-top: 1px solid rgba(var(--brand-copper), 0.34);
    background:
      linear-gradient(180deg, rgba(249, 245, 239, 0.985), rgba(239, 230, 220, 0.99)),
      radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.018) 1px, transparent 1.2px);
    background-size:
      auto,
      9px 9px;
    box-shadow:
      0 -14px 34px rgba(67, 49, 38, 0.09),
      0 -1px 0 rgba(255, 255, 255, 0.62) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav__inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(var(--mobile-nav-count), minmax(0, 1fr));
    align-items: stretch;
    width: min(100%, 620px);
    min-height: var(--mobile-nav-total-height);
    margin: 0 auto;
    padding: 5px 5px var(--mobile-nav-safe-bottom);
  }

  .mobile-bottom-nav__inner--6 {
    padding-inline: 3px;
  }

  .mobile-bottom-nav__item,
  .mobile-bottom-nav__item:link,
  .mobile-bottom-nav__item:visited {
    position: relative;
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 3px 2px 2px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    font: inherit;
    text-decoration: none;
    color: rgba(56, 45, 38, 0.54);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      color 180ms ease,
      background-color 180ms ease,
      transform 180ms ease;
  }

  .mobile-bottom-nav__icon {
    display: grid;
    width: 29px;
    height: 27px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: currentColor;
    transition:
      color 180ms ease,
      border-color 180ms ease,
      background-color 180ms ease,
      transform 180ms ease;
  }

  .mobile-bottom-nav__icon svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav__icon .mobile-bottom-nav__brandMark {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 5.8;
    stroke-linecap: square;
    stroke-linejoin: miter;
    opacity: 0.72;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-bottom-nav__brandMark .mobile-bottom-nav__brandCore {
    fill: none;
    stroke: currentColor;
  }

  .mobile-bottom-nav__label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__inner--6 .mobile-bottom-nav__label {
    font-size: clamp(0.53rem, 2.67vw, 0.65rem);
    line-height: 0.78rem;
    letter-spacing: -0.02em;
  }

  .mobile-bottom-nav__item:hover,
  .mobile-bottom-nav__item:focus-visible,
  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item[aria-current="page"] {
    color: rgba(var(--brand-copper), 0.98);
    background: rgba(var(--brand-copper), 0.055);
  }

  .mobile-bottom-nav__item:hover .mobile-bottom-nav__icon,
  .mobile-bottom-nav__item:focus-visible .mobile-bottom-nav__icon,
  .mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon,
  .mobile-bottom-nav__item[aria-current="page"] .mobile-bottom-nav__icon {
    transform: none;
    border-color: transparent;
    background: transparent;
  }

  .mobile-bottom-nav__item:hover .mobile-bottom-nav__brandMark,
  .mobile-bottom-nav__item:focus-visible .mobile-bottom-nav__brandMark,
  .mobile-bottom-nav__item.is-active .mobile-bottom-nav__brandMark,
  .mobile-bottom-nav__item[aria-current="page"] .mobile-bottom-nav__brandMark {
    opacity: 1;
    transform: none;
  }

  .mobile-bottom-nav__item:active {
    transform: none;
  }

  .mobile-bottom-nav__item:focus-visible {
    outline: 1px solid rgba(var(--brand-copper), 0.58);
    outline-offset: -2px;
  }

  body.has-mobile-bottom-nav #sobre-mi .sobre-mi-container {
    min-height: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.6rem;
  }

  body.has-mobile-bottom-nav .section-coords {
    height: var(--lxx-viewport-height) !important;
    min-height: var(--lxx-viewport-height) !important;
  }

  body.has-mobile-bottom-nav #coordenadas-2026 .coords-overlay {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
    scroll-padding-bottom: 1.25rem;
  }

  body.has-mobile-bottom-nav #coordenadas-2026 .coords-detail {
    bottom: calc(var(--mobile-nav-total-height) + 0.75rem);
    max-height: calc(100dvh - var(--mobile-nav-total-height) - 1.5rem);
  }

  body.has-mobile-bottom-nav #coordenadas-2026 .coords-detail__inner {
    max-height: calc(100dvh - var(--mobile-nav-total-height) - 1.5rem);
  }

  body.has-mobile-bottom-nav .contacto-shell {
    padding-bottom: 1.5rem;
    scroll-padding-bottom: 1.5rem;
  }

  body.cuadernos-page.has-mobile-bottom-nav .cuadernos-hero__inner,
  body.cuaderno-page.has-mobile-bottom-nav .cuaderno-hero__inner,
  body.pro-page.has-mobile-bottom-nav .pro-hero__inner {
    padding-top: 2.4rem;
  }

  body.pro-page.has-mobile-bottom-nav {
    padding-bottom: calc(4.5rem + var(--mobile-nav-total-height));
  }

  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(var(--mobile-nav-total-height) + 0.65rem);
    left: max(0.75rem, env(safe-area-inset-left));
    z-index: 930;
    width: auto;
    pointer-events: none;
  }

  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation__details,
  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation__details[open] {
    position: static;
    pointer-events: none;
  }

  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation__summary {
    display: none;
  }

  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation__details[open]::before {
    content: "";
    position: fixed;
    inset: 0 0 var(--mobile-nav-total-height);
    z-index: 0;
    background: rgba(40, 31, 25, 0.16);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
  }

  body.pro-page.has-mobile-bottom-nav .pro-reading-navigation__panel {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(var(--mobile-nav-total-height) + 0.65rem);
    left: max(0.75rem, env(safe-area-inset-left));
    z-index: 1;
    box-sizing: border-box;
    width: auto;
    max-height: min(68dvh, calc(100dvh - var(--mobile-nav-total-height) - 4.5rem));
    border-color: rgba(var(--brand-copper), 0.52);
    background: rgba(246, 240, 233, 0.985);
    box-shadow:
      0 20px 48px rgba(48, 34, 25, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.56) inset;
    pointer-events: auto;
  }

  body.pro-page.has-mobile-bottom-nav.mobile-pro-index-open
    .mobile-bottom-nav__item[data-mobile-nav-key="pro-index"] {
    color: rgba(var(--brand-copper), 1);
    background: rgba(var(--brand-copper), 0.1);
  }
}

@media (max-width: 940px) and (max-height: 560px) and (orientation: landscape) and (pointer: coarse) {
  body.has-mobile-bottom-nav {
    --mobile-nav-control-height: 52px;
  }

  .mobile-bottom-nav__item,
  .mobile-bottom-nav__item:link,
  .mobile-bottom-nav__item:visited {
    min-height: 44px;
    gap: 0;
  }

  .mobile-bottom-nav__icon {
    width: 24px;
    height: 22px;
  }

  .mobile-bottom-nav__icon svg {
    width: 17px;
    height: 17px;
  }

  .mobile-bottom-nav__label {
    font-size: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav__item,
  .mobile-bottom-nav__icon,
  .mobile-bottom-nav__brandMark {
    transition: none;
  }
}

/* =====================================================
   PORTADA · PUNTOS DE PARTIDA
===================================================== */

.home-mobile-cover {
  display: none;
}

.home-mobile-cover .hero-logo__light {
  fill: rgba(165, 155, 140, 0.85);
  opacity: 0.85;
}

.home-mobile-cover .hero-logo__halo {
  fill: rgba(245, 225, 195, 0.46);
  opacity: 0.11;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(255, 215, 160, 0.14));
  animation:
    haloBreathe 3.8s ease-in-out infinite,
    haloHerculesPulse var(--hero-rotation) linear infinite;
}

.home-mobile-cover .hero-lang__dot,
.home-mobile-cover .hero-dot {
  background: rgba(var(--brand-copper), 0.98);
}

.home-mobile-cover .home-cover__header {
  position: relative;
  top: 0;
  z-index: 8;
  grid-area: auto;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "lighthouse brand language";
  align-items: center;
  justify-content: stretch;
  justify-items: stretch;
  gap: clamp(0.35rem, 1.6vw, 0.5rem);
  width: 100%;
  margin: 0;
  padding: 0.5rem clamp(0.5rem, 2.4vw, 0.75rem) 0.45rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  transform: translateY(0.35rem);
  animation: none;
}

.home-mobile-cover .hero-brand-block {
  grid-area: brand;
  align-self: first baseline;
  justify-self: start;
  max-width: none;
  margin-left: 0;
  padding: 0;
  text-align: left;
}

.home-mobile-cover .hero-brand {
  margin: 0 0 0.16rem;
  font-size: clamp(0.7rem, 3.25vw, 0.92rem);
  letter-spacing: 0.035em;
  line-height: 1.05;
  white-space: nowrap;
}

.home-mobile-cover .hero-coords {
  font-size: clamp(0.43rem, 1.85vw, 0.5rem);
  letter-spacing: 0.035em;
  text-align: center;
  white-space: nowrap;
}

.home-mobile-cover .hero-lang {
  position: static;
  grid-area: language;
  align-items: flex-start;
  align-self: first baseline;
  justify-self: end;
  margin-top: 0;
  transform: none;
}

.home-mobile-cover .hero-lang__link,
.home-mobile-cover .hero-lang__link:link,
.home-mobile-cover .hero-lang__link:visited {
  align-items: flex-start;
  line-height: 1.05;
}

.home-mobile-cover .hero-lang__dot {
  margin-top: 0.34rem;
}

.home-mobile-cover .hero-lighthouse {
  position: static;
  grid-area: lighthouse;
  align-self: start;
  justify-self: start;
  display: block;
  margin: 0;
}

.home-mobile-cover .hero-logo {
  width: clamp(30px, 7.8vw, 34px);
  height: auto;
}

.home-cover__intro {
  width: min(100%, 1080px);
  margin: clamp(2rem, 6vh, 4.6rem) auto clamp(1.8rem, 4vh, 3rem);
}

.home-cover__headline {
  width: min(12ch, 100%);
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(3rem, 6.7vw, 5.7rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: rgba(27, 21, 17, 0.95);
  text-wrap: balance;
}

.home-cover__cards {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  width: min(100%, 1080px);
  margin: 0 auto;
}

.home-feature-card {
  position: relative;
  min-height: clamp(430px, 62vh, 570px);
  overflow: hidden;
  border: 1px solid rgba(115, 84, 64, 0.16);
  border-radius: clamp(18px, 2vw, 24px);
  background: #ddd1c4;
  box-shadow:
    0 22px 56px rgba(69, 49, 37, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  isolation: isolate;
}

.home-feature-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
}

.home-feature-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-feature-card__media--notebooks {
  display: block;
  background: rgba(var(--brand-copper), 0.5);
}

.home-feature-card__notebook-image {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.home-feature-card--notebooks .home-feature-card__notebook-image img {
  filter: saturate(0.82) contrast(0.92) brightness(0.88);
}

.home-feature-card__notebook-image--sombrerico img {
  object-position: 32% 50%;
}

.home-feature-card--proposals .home-feature-card__media img {
  object-position: 35% 48%;
  filter: saturate(0.74) contrast(0.92) brightness(0.86);
}

.home-feature-card__media--sequence picture {
  display: contents;
}

.home-feature-card__media--sequence img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: home-card-image-sequence 30s ease-in-out infinite;
}

.home-feature-card__media--sequence picture:nth-child(1) img {
  animation-delay: 0s;
}

.home-feature-card__media--sequence picture:nth-child(2) img {
  animation-delay: -24s;
}

.home-feature-card__media--sequence picture:nth-child(3) img {
  animation-delay: -18s;
}

.home-feature-card__media--sequence picture:nth-child(4) img {
  animation-delay: -12s;
}

.home-feature-card__media--sequence picture:nth-child(5) img {
  animation-delay: -6s;
}

.home-feature-card--proposals .home-feature-card__media--sequence picture:nth-child(2) img {
  object-position: 20% center;
}

.home-feature-card--proposals .home-feature-card__media--sequence picture:nth-child(3) img {
  right: auto;
  left: 8%;
  width: 110%;
  object-position: center;
}

@keyframes home-card-image-sequence {
  0%,
  17% {
    opacity: 1;
    transform: scale(1.01);
  }

  20%,
  97% {
    opacity: 0;
    transform: scale(1.045);
  }

  100% {
    opacity: 1;
    transform: scale(1.01);
  }
}

.home-feature-card__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(244, 237, 229, 0.98) 0%,
      rgba(244, 237, 229, 0.95) 28%,
      rgba(244, 237, 229, 0.78) 49%,
      rgba(244, 237, 229, 0.16) 73%,
      rgba(244, 237, 229, 0.02) 100%
    ),
    linear-gradient(0deg, rgba(49, 35, 28, 0.08), transparent 42%);
}

.home-feature-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(55%, 520px);
  min-height: inherit;
  padding: clamp(2rem, 5.2vw, 4.8rem) clamp(1.6rem, 4.6vw, 4.2rem);
}

.home-feature-card__eyebrow {
  margin: 0 0 clamp(1.2rem, 2.4vw, 2rem);
  font-family: var(--font-body);
  font-size: clamp(0.7rem, 1.05vw, 0.9rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.24em;
  color: rgba(var(--brand-copper), 0.98);
}

.home-feature-card .home-feature-card__title {
  max-width: 10ch;
  margin: 0 0 clamp(0.9rem, 1.8vw, 1.35rem);
  font-family: var(--font-title);
  font-size: clamp(2.45rem, 4.9vw, 4.35rem);
  font-weight: 300;
  line-height: 1.01;
  letter-spacing: -0.035em;
  text-transform: none;
  color: rgba(24, 19, 16, 0.95);
  text-wrap: balance;
}

.home-feature-card--proposals .home-feature-card__title {
  max-width: 11ch;
}

.home-feature-card__description {
  max-width: 27ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.65vw, 1.32rem);
  font-weight: 300;
  line-height: 1.42;
  color: rgba(30, 24, 20, 0.7);
  text-wrap: pretty;
}

.home-feature-card__actions {
  display: grid;
  justify-items: start;
  gap: 0.52rem;
  width: min(100%, 340px);
  margin-top: clamp(1.5rem, 3.5vw, 2.7rem);
  padding-top: 0;
  border-top: 0;
}

.home-feature-card__cta {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
  padding: 0.54rem 0.82rem;
  border: 1px solid rgba(var(--brand-copper), 0.46);
  border-radius: 999px;
  background: rgba(var(--brand-copper), 0.94);
  box-shadow: 0 7px 16px rgba(92, 45, 29, 0.13);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 249, 241, 0.98);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.home-feature-card__cta::after {
  content: none;
}

.home-feature-card__cta:hover,
.home-feature-card__cta:focus-visible {
  border-color: rgba(132, 56, 32, 0.82);
  background: rgba(145, 60, 34, 0.98);
  color: rgba(255, 249, 241, 1);
  transform: translateY(-1px);
}

.home-feature-card__cta--secondary {
  background: rgba(244, 237, 229, 0.82);
  box-shadow: 0 5px 13px rgba(69, 49, 37, 0.07);
  color: rgba(var(--brand-copper), 0.98);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.home-feature-card__cta--secondary:hover,
.home-feature-card__cta--secondary:focus-visible {
  border-color: rgba(var(--brand-copper), 0.62);
  background: rgba(248, 242, 235, 0.96);
  color: rgba(132, 56, 32, 1);
}

.home-feature-card__cta:focus-visible,
.home-feature-card__peperoncino-promo:focus-visible,
.home-coordinates-card:focus-visible {
  outline: 2px solid rgba(var(--brand-copper), 0.72);
  outline-offset: 4px;
}

.home-feature-card--notebooks .home-feature-card__actions {
  display: block;
  margin-top: clamp(1.1rem, 2.5vw, 1.8rem);
  padding-top: 0;
  border-top: 0;
}

.home-feature-card__peperoncino-promo {
  margin-top: auto;
  display: grid;
  grid-template-columns: clamp(58px, 6vw, 72px) minmax(0, 1fr);
  width: min(86%, 280px);
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  border: 1px solid rgba(var(--brand-copper), 0.46);
  border-radius: 14px;
  background: rgba(242, 233, 224, 0.9);
  box-shadow: 0 8px 18px rgba(92, 45, 29, 0.15);
  overflow: hidden;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.home-feature-card__peperoncino-thumb {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.home-feature-card__peperoncino-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 68% 57%;
  filter: saturate(0.88) contrast(0.94) brightness(0.92);
}

.home-feature-card__peperoncino-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.14rem;
  padding: 0.48rem 0.82rem;
  background: rgba(158, 68, 43, 0.96);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 249, 241, 0.98);
  transition: background-color 180ms ease;
}

.home-feature-card__notebook-name {
  font-size: clamp(0.65rem, 0.9vw, 0.76rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.home-feature-card__notebook-access {
  font-size: clamp(0.54rem, 0.72vw, 0.62rem);
  line-height: 1.15;
  letter-spacing: 0.1em;
  opacity: 0.78;
  text-wrap: balance;
}

.home-feature-card__title-line {
  display: block;
  white-space: nowrap;
}

.home-feature-card__peperoncino-promo:hover {
  border-color: rgba(var(--brand-copper), 0.66);
  transform: translateY(-1px);
}

.home-feature-card__peperoncino-promo:hover .home-feature-card__peperoncino-copy {
  background: rgba(145, 60, 34, 0.98);
}

.home-feature-card__peperoncino-promo:active .home-feature-card__peperoncino-copy {
  background: rgba(132, 56, 32, 1);
}

.home-feature-card__peperoncino-promo:focus-visible {
  position: relative;
  z-index: 1;
}

.home-coordinates-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  padding: clamp(1.15rem, 2.6vw, 1.8rem) clamp(1.35rem, 4vw, 3rem);
  border: 1px solid rgba(95, 85, 77, 0.1);
  border-radius: clamp(16px, 1.8vw, 22px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  color: rgba(30, 23, 19, 0.88);
  text-decoration: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.home-coordinates-card:hover {
  border-color: rgba(var(--brand-copper), 0.34);
  box-shadow:
    0 18px 42px rgba(69, 49, 37, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
}

.home-coordinates-card__icon {
  width: clamp(42px, 5vw, 58px);
  height: clamp(42px, 5vw, 58px);
  display: grid;
  place-items: center;
  color: rgba(var(--brand-copper), 0.95);
}

.home-coordinates-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-coordinates-card__copy {
  display: grid;
  gap: 0.25rem;
}

.home-coordinates-card__copy strong {
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.15vw, 0.94rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: rgba(var(--brand-copper), 0.96);
}

.home-coordinates-card__copy span {
  font-family: var(--font-title);
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(30, 23, 19, 0.82);
}

.home-cover__desktop-navigation {
  width: min(100%, 1080px);
  margin: clamp(2.2rem, 5vh, 3.8rem) auto 0;
  padding-bottom: 2.6rem;
}

@media (max-width: 768px),
  (max-width: 940px) and (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .home-desktop-hero {
    display: none !important;
  }

  .home-responsive-cover::before {
    background-size:
      auto 126%,
      auto 170%,
      150% 150%;
    background-position:
      center,
      center 48%,
      center;
    opacity: 0.2;
  }

  .home-mobile-cover {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: var(--lxx-viewport-height);
    min-height: var(--lxx-viewport-height);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .home-mobile-cover__content {
    grid-row: 2;
    min-height: 0;
    padding: 0 clamp(0.72rem, 3vw, 1rem) max(2rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-padding-top: 2.8rem;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0,
      rgba(0, 0, 0, 0.45) 0.65rem,
      rgba(0, 0, 0, 0.82) 1.35rem,
      #000 2.8rem,
      #000 calc(100% - 2.2rem),
      rgba(0, 0, 0, 0.7) calc(100% - 1rem),
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      rgba(0, 0, 0, 0.45) 0.65rem,
      rgba(0, 0, 0, 0.82) 1.35rem,
      #000 2.8rem,
      #000 calc(100% - 2.2rem),
      rgba(0, 0, 0, 0.7) calc(100% - 1rem),
      transparent 100%
    );
    scrollbar-width: none;
  }

  .home-mobile-cover__content::-webkit-scrollbar {
    display: none;
  }

  .home-mobile-cover .hero-dot {
    margin-inline: 0.42rem;
  }

  .home-cover__intro {
    margin: clamp(0.85rem, 2.8vh, 1.4rem) auto clamp(0.9rem, 2.4vh, 1.25rem);
    padding-inline: clamp(0.18rem, 2vw, 0.7rem);
    transform: translateY(-0.25rem);
  }

  .home-cover__headline {
    width: min(14ch, 100%);
    font-size: clamp(2.45rem, 11vw, 3.3rem);
    line-height: 0.96;
  }

  .home-feature-card {
    min-height: min(500px, 64svh);
    border-radius: 17px;
  }

  .home-feature-card--notebooks {
    min-height: clamp(340px, 43svh, 390px);
  }

  .home-feature-card__wash {
    background:
      linear-gradient(
        90deg,
        rgba(235, 226, 217, 0.98) 0%,
        rgba(235, 226, 217, 0.95) 42%,
        rgba(235, 226, 217, 0.7) 64%,
        rgba(235, 226, 217, 0.08) 100%
      ),
      linear-gradient(
        0deg,
        rgba(229, 218, 207, 0.42) 0%,
        rgba(229, 218, 207, 0) 34%
      );
  }

  .home-feature-card__notebook-image--sombrerico img {
    object-position: 32% 50%;
  }

  .home-feature-card--proposals .home-feature-card__media img {
    object-position: 35% center;
  }

  .home-feature-card__content {
    width: 75%;
    padding: clamp(1.65rem, 7.5vw, 2.4rem) clamp(1.25rem, 6.4vw, 2rem);
  }

  .home-feature-card--notebooks .home-feature-card__content {
    width: 64%;
    padding-block: clamp(1.2rem, 4.8vw, 1.55rem);
  }

  .home-feature-card__eyebrow {
    margin-bottom: 1.15rem;
    font-size: clamp(0.62rem, 2.9vw, 0.73rem);
  }

  .home-feature-card--notebooks .home-feature-card__eyebrow {
    margin-bottom: 0.75rem;
  }

  .home-feature-card .home-feature-card__title {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }

  .home-feature-card--notebooks .home-feature-card__title {
    margin-bottom: 0.62rem;
  }

  .home-feature-card__description {
    max-width: 23ch;
    font-size: clamp(0.92rem, 4.1vw, 1.08rem);
  }

  .home-feature-card__actions {
    margin-top: 1.35rem;
  }

  .home-feature-card--notebooks .home-feature-card__actions {
    margin-top: 0.56rem;
    padding-top: 0;
  }

  .home-feature-card__cta {
    min-height: 44px;
    padding: 0.48rem 0.72rem;
    font-size: clamp(0.66rem, 2.8vw, 0.74rem);
  }

  .home-feature-card__peperoncino-promo {
    grid-template-columns: 56px minmax(0, 1fr);
    width: min(72vw, 258px);
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    border-radius: 14px;
  }

  .home-feature-card__peperoncino-copy {
    padding: 0.4rem 0.62rem;
  }

  .home-feature-card__notebook-name {
    font-size: clamp(0.52rem, 2.15vw, 0.6rem);
  }

  .home-feature-card__notebook-access {
    font-size: clamp(0.44rem, 1.8vw, 0.51rem);
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .home-coordinates-card {
    min-height: 98px;
  }

  .home-cover__desktop-navigation {
    display: none;
  }
}

@media (max-width: 768px) and (max-height: 700px) {
  .home-cover__intro {
    margin-block: 0.65rem 0.75rem;
  }

  .home-cover__headline {
    width: min(15ch, 100%);
    font-size: clamp(2.2rem, 10.5vw, 2.7rem);
  }

  .home-feature-card--notebooks {
    min-height: 320px;
  }

  html[lang="en"] .home-feature-card--notebooks {
    min-height: 360px;
  }
}

@media (max-width: 390px) {
  .home-feature-card__content {
    width: 82%;
  }

  .home-feature-card--proposals .home-feature-card__content {
    width: 86%;
  }
}

@media (max-width: 940px) and (max-height: 560px) and (orientation: landscape) {
  .home-cover .home-cover__header {
    position: relative;
  }

  .home-cover__intro {
    margin-block: 1.25rem;
  }

  .home-cover__headline {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .home-feature-card {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-card__media--sequence img {
    opacity: 0;
    animation: none;
    transform: none;
  }

  .home-feature-card__media--sequence picture:first-child img {
    opacity: 1;
  }

  .home-feature-card__cta,
  .home-feature-card__peperoncino-promo,
  .home-coordinates-card {
    transition: none;
  }
}

/* =========================================
   Te propongo · continuidad visual y modal de grupo
========================================= */
#te-propongo .evidencia__card,
#te-propongo .evidencia__item {
  border-radius: 0;
}

@media (min-width: 821px) {
  #te-propongo .project-modal__panel:has(.project-modal__content--group-hub) {
    width: min(1500px, 94vw);
    height: min(90vh, 900px);
    max-height: min(90vh, 900px);
  }

  #te-propongo
    .project-modal__panel:has(.project-modal__content--group-hub)
    #projectModalBody {
    grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(26px, 2.2vw, 36px);
    height: 100%;
    max-height: min(90vh, 900px);
    padding: 28px 32px;
    overflow-x: hidden;
    overflow-y: hidden;
    scrollbar-gutter: auto;
  }

  #te-propongo .project-modal__media--group-hub {
    position: relative;
    top: auto;
    align-self: stretch;
    height: 100%;
    min-height: 0;
  }

  #te-propongo .project-modal__media--group-hub .project-modal__img {
    object-fit: cover;
    object-position: 50% 50%;
    background: rgb(214, 205, 193);
  }

  #te-propongo .project-modal__content--group-hub {
    min-height: 0;
    height: 100%;
    padding-bottom: 0;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    align-content: stretch;
    overflow: hidden;
  }

  #te-propongo .group-possibilities {
    min-height: 0;
    gap: 1.15rem;
    margin-top: 1rem;
    padding-right: 0.65rem;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  #te-propongo .group-possibilities:focus-visible {
    outline: 1px solid rgba(180, 90, 63, 0.42);
    outline-offset: 3px;
  }

  #te-propongo .group-possibilities::-webkit-scrollbar {
    width: 8px;
  }

  #te-propongo .group-possibilities::-webkit-scrollbar-thumb {
    border: 2px solid rgb(220, 212, 200);
    border-radius: 999px;
    background: rgba(55, 45, 38, 0.24);
  }

  #te-propongo .group-possibilities::-webkit-scrollbar-track {
    background: transparent;
  }

  #te-propongo .group-possibility {
    grid-template-columns: minmax(170px, 22%) minmax(0, 1fr);
    min-height: 230px;
  }

  #te-propongo .group-possibility__media,
  #te-propongo .group-possibility__img {
    min-height: 230px;
  }

  #te-propongo .group-possibility__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1.2rem 1.15rem;
  }

  #te-propongo .group-possibility__state,
  #te-propongo .group-possibility__facts {
    font-weight: 500;
  }

  #te-propongo .group-possibility__title {
    margin-top: 0.38rem;
    font-size: 1.38rem;
    line-height: 1.1;
  }

  #te-propongo .group-possibility__descriptor,
  #te-propongo .group-possibility__signal {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  #te-propongo .group-possibility__progress {
    width: 100%;
    margin-top: 0.85rem;
  }

  #te-propongo .group-possibility__cta {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 500;
    letter-spacing: 0.1em;
  }

  #te-propongo .group-hub__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 1rem;
  }

  #te-propongo .group-hub__footer .group-transparency {
    display: grid;
    align-content: center;
    padding-block: 0.7rem;
  }

  #te-propongo .group-hub__footer .group-hub__suggest {
    width: auto;
    min-width: 180px;
    align-self: stretch;
  }
}

@media (min-width: 901px) and (max-height: 900px) {
  #te-propongo.section {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  #te-propongo .como__valueInner {
    min-height: calc(100svh - 2.5rem);
    padding-top: 0.75rem;
    padding-bottom: 0.9rem;
  }

  #te-propongo .teprop__header {
    margin-top: 0.25rem;
  }

  #te-propongo .evidencia {
    margin-top: 0.9rem;
  }

  #te-propongo .evidencia__rail {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  #te-propongo .teprop__closing {
    margin-top: 0.65rem;
  }
}

@media (max-width: 820px) {
  body.is-project-modal-open main > :not(#te-propongo),
  body.is-project-modal-open #te-propongo > .como__valueInner {
    visibility: hidden !important;
  }

  #te-propongo .project-modal {
    z-index: 5000;
    isolation: isolate;
  }

  /* El formulario es un modal hermano: debe quedar por encima del expediente
     también en móvil, donde el expediente eleva su contexto a 5000. */
  #te-propongo .signup-modal.is-open {
    z-index: 5005;
  }

  #te-propongo .project-modal__backdrop {
    z-index: 0;
  }

  #te-propongo .project-modal__panel {
    z-index: 1;
  }

  #te-propongo .project-modal__media--group-hub {
    width: 100%;
    height: min(432px, calc(133.3333vw - 80px));
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
    align-self: start;
    flex: none;
  }

  #te-propongo .project-modal__media--group-hub .project-modal__img {
    object-fit: cover;
    object-position: 50% 50%;
  }

  body.is-project-modal-open .mobile-bottom-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  #te-propongo #projectModalBody:has(.project-modal__content--group-hub) {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  #te-propongo .group-hub__suggest {
    margin-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* Ajustes de composición móvil: primera vista completa y recortes con intención. */
#coordenadas-2026 .coords-card[data-project-id="andalucia"] .coords-card__img {
  object-position: center 82%;
}

@media (max-width: 768px) {
  .sobre-mi-map__tooltip[data-preview-kind="identity"] {
    width: min(176px, calc(100vw - 32px));
    max-width: 176px;
  }

  .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipImage {
    height: 130px;
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  #te-propongo .teprop__header {
    width: calc(100vw - 16px);
    max-width: none;
    justify-self: center;
    position: relative;
    left: -16px;
  }

  #te-propongo .teprop__title {
    text-wrap: wrap;
  }
}

@media (max-width: 768px) and (orientation: portrait) and (max-height: 880px) {
  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) {
    overflow-y: hidden;
  }

  body.has-mobile-bottom-nav #te-propongo .como__valueInner {
    padding-top: 2.75rem;
    padding-bottom: 0.75rem;
  }

  #te-propongo .teprop__header {
    margin-bottom: -2.5rem;
  }

  #te-propongo .teprop__subtitle {
    max-width: none;
    margin-top: 0.65rem;
    line-height: 1.42;
  }

  #te-propongo .evidencia {
    margin-top: 1.15rem;
  }

  #te-propongo .evidencia__rail {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #te-propongo .evidencia__item {
    width: clamp(145px, 21svh, 158px);
  }

  #te-propongo .teprop__closing {
    width: calc(100% - 32px);
    gap: 0.35rem 0.55rem;
  }

  #te-propongo .teprop__closingText {
    line-height: 1.35;
  }

  #te-propongo .teprop__closingCta {
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
  }

  #te-propongo .evidencia__motionToggle {
    transform: translateY(-25%);
  }

  body.has-mobile-bottom-nav #sobre-mi .sobre-mi-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-layout {
    gap: 6px;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    flex: 0 0 200px;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map__frame {
    width: 100%;
    max-width: 100%;
    height: 200px;
    aspect-ratio: auto;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-visual="method"]) .sobre-mi-map {
    margin-top: -56px;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-title {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 8vw, 2rem);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-copy p {
    margin-bottom: 7px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  #sobre-mi .sobre-mi-map__tooltip {
    min-width: 120px;
    max-width: 150px;
    padding: 0.36rem 0.44rem 0.4rem;
    transform: translate(-50%, calc(-100% - 10px)) translateY(6px);
  }

  #sobre-mi .sobre-mi-map__tooltip.is-visible {
    transform: translate(-50%, calc(-100% - 10px)) translateY(0);
  }

  #sobre-mi .sobre-mi-map__tooltip::before {
    top: 100%;
    bottom: auto;
    border-top: 0;
    border-left: 0;
    border-right: 1px solid rgba(120, 92, 72, 0.08);
    border-bottom: 1px solid rgba(120, 92, 72, 0.08);
  }

  #sobre-mi .sobre-mi-map__tooltip[data-preview-kind="identity"] {
    width: min(148px, calc(100vw - 32px));
    max-width: 148px;
  }

  #sobre-mi .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipImage {
    height: 80px;
  }

  #sobre-mi .sobre-mi-map__tooltip[data-preview-kind="identity"] .sobre-mi-map__tooltipText {
    margin-top: 0.1rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) and (min-height: 761px) and (max-height: 880px) {
  body.has-mobile-bottom-nav #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-container {
    padding-top: 6.25rem;
    padding-bottom: 0.25rem;
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map {
    height: clamp(275px, 34dvh, 290px);
    min-height: clamp(275px, 34dvh, 290px);
    max-height: clamp(275px, 34dvh, 290px);
    flex-basis: clamp(275px, 34dvh, 290px);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map__frame {
    height: clamp(275px, 34dvh, 290px);
  }

  #sobre-mi .sobre-mi-map__tooltip {
    transform: translate(-50%, 10px) translateY(6px);
  }

  #sobre-mi .sobre-mi-map__tooltip.is-visible {
    transform: translate(-50%, 10px) translateY(0);
  }

  #sobre-mi .sobre-mi-map__tooltip::before {
    top: auto;
    bottom: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid rgba(120, 92, 72, 0.08);
    border-top: 1px solid rgba(120, 92, 72, 0.08);
  }

  #sobre-mi .sobre-mi-map__tooltip[data-preview-placement="above"] {
    transform: translate(-50%, calc(-100% - 10px)) translateY(6px);
  }

  #sobre-mi .sobre-mi-map__tooltip.is-visible[data-preview-placement="above"] {
    transform: translate(-50%, calc(-100% - 10px)) translateY(0);
  }

  #sobre-mi .sobre-mi-map__tooltip[data-preview-placement="above"]::before {
    top: 100%;
    bottom: auto;
    border-top: 0;
    border-left: 0;
    border-right: 1px solid rgba(120, 92, 72, 0.08);
    border-bottom: 1px solid rgba(120, 92, 72, 0.08);
  }

}

#coordenadas-2026 .coords-detail__media[data-project-id="andalucia"] .coords-detail__img {
  object-position: center bottom;
}

@media (max-width: 768px) {
  #coordenadas-2026 .coords-detail__media[data-project-id="andalucia"] .coords-detail__img {
    transform: none;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map__tooltip[data-preview-source="auto"] {
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%) translateY(6px);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map__tooltip.is-visible[data-preview-source="auto"] {
    transform: translate(-50%, -50%) translateY(0);
  }

  #sobre-mi:has(.sobre-mi-text[data-step-id="persona"]) .sobre-mi-map__tooltip[data-preview-source="auto"]::before {
    display: none;
  }
}

/* Te propongo · ritmo vertical móvil: título, explicación, carrusel y cierre
   forman un único bloque editorial, sin filas elásticas entre ellos. */
@media (max-width: 768px) and (orientation: portrait) {
  body.has-mobile-bottom-nav #te-propongo .como__valueInner {
    padding-top: calc(var(--lxx-mobile-header-band) + 0.35rem);
    padding-bottom: calc(0.8rem + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
      minmax(0, 1.35fr)
      auto
      minmax(1.5rem, 0.45fr)
      auto
      minmax(0, 1.05fr)
      auto
      minmax(0, 0.75fr);
    align-content: stretch;
    gap: 0;
  }

  #te-propongo .teprop__header {
    grid-row: 2;
    width: calc(100% - 56px);
    max-width: 620px;
    justify-self: center;
    left: auto;
    margin-top: 0;
    margin-bottom: 0;
    transform: none;
  }

  #te-propongo .evidencia {
    grid-row: 4;
    margin-top: 0;
  }

  #te-propongo .evidencia__rail {
    padding-top: 1.35rem;
  }

  #te-propongo .evidencia__motionToggle {
    transform: translateY(-45%);
  }

  #te-propongo .teprop__closing {
    grid-row: 6;
    margin: 0 auto;
    row-gap: 0.9rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) and (max-height: 760px) {
  body.has-mobile-bottom-nav #te-propongo .como__valueInner {
    padding-top: calc(var(--lxx-mobile-header-band) + 0.2rem);
    padding-bottom: 0.75rem;
    grid-template-rows:
      minmax(0, 0.7fr)
      auto
      minmax(0.75rem, 0.25fr)
      auto
      minmax(0, 0.5fr)
      auto
      minmax(0, 0.35fr);
  }
}
