/* =====================================================================
   LOVET · main.css
   Estructura pensada para pasar a theme de WordPress:
   1. Fuentes  2. Tokens  3. Base  4. Utilidades  5. Componentes
   6. Header / Nav  7. Secciones  8. Footer  9. Responsive  10. Motion
   Prefijo de clases: .lv-  (evita choques con plugins / WP core)
   ===================================================================== */

/* 1. Fuentes ---------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens ----------------------------------------------------------- */
:root {
  /* Colores de marca */
  --lv-green: #00433C;
  --lv-green-deep: #002F29;
  --lv-green-ink: #003A34;
  --lv-yellow: #F0DE05;
  --lv-yellow-soft: #F8F2A4;
  --lv-cream: #EFF1EC;
  --lv-sand: #F2ECD6;
  --lv-white: #FFFFFF;
  --lv-text-muted-dark: rgba(255, 255, 255, .82);
  --lv-text-muted-light: #3E5A56;
  --lv-line-light: rgba(0, 67, 60, .14);

  /* Tipografía */
  --lv-font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lv-font-serif: "Instrument Serif", "Times New Roman", serif;

  --lv-fs-display: clamp(3rem, 7.2vw, 7.25rem);
  --lv-fs-h2: clamp(2.75rem, 6vw, 6rem);
  --lv-fs-lead: clamp(1.125rem, 1.45vw, 1.5rem);
  --lv-fs-body: clamp(1rem, 1.1vw, 1.1875rem);
  --lv-fs-small: .9375rem;

  /* Layout */
  --lv-gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --lv-header-h: 96px;
  --lv-sidenav-w: 190px;
  --lv-radius: 18px;
  --lv-radius-lg: 24px;
  --lv-shadow: 0 24px 60px -20px rgba(0, 30, 26, .45);
  --lv-ease: cubic-bezier(.22, .8, .24, 1);
}

/* 3. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--lv-font);
  font-size: var(--lv-fs-body);
  line-height: 1.55;
  color: var(--lv-white);
  background: var(--lv-green);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--lv-yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 4. Utilidades ------------------------------------------------------- */
.lv-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lv-skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; border-radius: 999px;
  background: var(--lv-yellow); color: var(--lv-green);
  font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.lv-skip:focus { top: 1rem; }

.lv-container {
  width: 100%;
  padding-inline: var(--lv-gutter);
  padding-right: calc(var(--lv-gutter) + var(--lv-sidenav-w));
}

/* Titular de marca: Bricolage ExtraBold condensada y apretada */
.lv-display {
  font-family: var(--lv-font);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  font-size: var(--lv-fs-display);
  line-height: .9;
  letter-spacing: -.03em;
  color: var(--lv-yellow);
}

.lv-serif {
  font-family: var(--lv-font-serif);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.01em;
}

/* 5. Componentes ------------------------------------------------------ */

/* Botones */
.lv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .8rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 1rem; font-weight: 700; line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--lv-ease);
}
.lv-btn:hover { transform: translateY(-2px); }
.lv-btn:active { transform: translateY(0); }

.lv-btn--primary { background: var(--lv-yellow); color: var(--lv-green); }
.lv-btn--primary:hover { background: #fff; }

.lv-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.lv-btn--ghost:hover { background: #fff; color: var(--lv-green); border-color: #fff; }

.lv-btn--outline { border-color: currentColor; background: transparent; }

.lv-btn--dark { background: var(--lv-green); color: var(--lv-yellow); }
.lv-btn--dark:hover { background: var(--lv-green-deep); }

.lv-actions { display: flex; flex-wrap: wrap; gap: .875rem; }
.lv-actions--center { align-items: center; gap: 1.25rem 1.5rem; }

/* Links subrayados */
.lv-link {
  display: inline-block;
  font-size: var(--lv-fs-small);
  text-decoration: none;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .3s var(--lv-ease), color .2s;
}
.lv-link:hover { color: var(--lv-yellow); }
.lv-link--strong {
  font-size: 1.0625rem; font-weight: 700;
  background-image: linear-gradient(var(--lv-yellow), var(--lv-yellow));
  background-size: 100% 2px;
}

/* Badge */
.lv-badge {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--lv-yellow);
  color: var(--lv-green);
  font-size: .78rem; font-weight: 700;
  white-space: nowrap;
}

/* Inputs */
.lv-input {
  width: 100%;
  min-height: 50px;
  padding: .75rem 1rem;
  border: 1px solid #DDE1DA;
  border-radius: 12px;
  background: #fff;
  color: var(--lv-green-ink);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.lv-input::placeholder { color: #8C9693; }
.lv-input:focus { outline: none; border-color: var(--lv-green); box-shadow: 0 0 0 3px rgba(0, 67, 60, .15); }
.lv-input--pill { border-radius: 999px; padding-inline: 1.25rem; background: #F1F2EF; }
.lv-input--area { min-height: 110px; resize: vertical; }
.lv-input.is-invalid { border-color: #C2410C; box-shadow: 0 0 0 3px rgba(194, 65, 12, .12); }

.lv-select { position: relative; }
.lv-select select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.lv-select::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  border: 6px solid transparent; border-top-color: var(--lv-green);
  border-bottom-width: 0;
  transform: translateY(-50%); pointer-events: none;
}

/* 6. Header / Nav ----------------------------------------------------- */
.lv-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--lv-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--lv-gutter);
  pointer-events: none;
  color: var(--lv-yellow);
  transition: color .35s;
}
.lv-header > * { pointer-events: auto; }
body[data-theme="light"] .lv-header { color: var(--lv-green); }

/* Logo = imagen (SVG/PNG/JPG). En el header hay dos versiones apiladas
   y se cruzan según el fondo de la sección (data-theme del body). */
.lv-logo { display: inline-grid; text-decoration: none; color: inherit; line-height: 0; }
.lv-logo__img { grid-area: 1 / 1; display: block; width: auto; height: 28px; max-width: none; transition: opacity .35s; }
.lv-logo__img--on-light { opacity: 0; }
body[data-theme="light"] .lv-header .lv-logo__img--on-dark { opacity: 0; }
body[data-theme="light"] .lv-header .lv-logo__img--on-light { opacity: 1; }
.lv-logo--sm .lv-logo__img { height: 21px; }

.lv-header__cta { min-height: 48px; padding-inline: 1.4rem; font-size: .95rem; }
.lv-header__cta:hover { background: currentColor; }
.lv-header__cta:hover { color: var(--lv-green); background: var(--lv-yellow); border-color: var(--lv-yellow); }
body[data-theme="light"] .lv-header__cta:hover { color: var(--lv-yellow); background: var(--lv-green); border-color: var(--lv-green); }

.lv-menu-toggle { display: none; }

/* Navegación lateral */
.lv-sidenav {
  position: fixed; z-index: 40;
  right: calc(var(--lv-gutter) - 1rem);
  top: 50%; transform: translateY(-50%);
  padding: .9rem .5rem;
  border-radius: var(--lv-radius);
  background: rgba(0, 40, 35, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
  transition: background-color .35s, box-shadow .35s;
}
.lv-sidenav__list { display: grid; gap: .1rem; }
.lv-sidenav__link {
  display: flex; align-items: center; justify-content: flex-end; gap: .75rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  color: #fff;
  font-size: .95rem; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s, background-color .25s;
}
.lv-sidenav__link::after {
  content: ""; width: 16px; height: 3px; border-radius: 2px;
  background: currentColor;
  transition: width .3s var(--lv-ease);
}
.lv-sidenav__link:hover { color: var(--lv-yellow); }
.lv-sidenav__link.is-active { color: var(--lv-yellow); }
.lv-sidenav__link.is-active::after { width: 32px; }

body[data-theme="light"] .lv-sidenav { background: rgba(255, 255, 255, .96); }
body[data-theme="light"] .lv-sidenav__link { color: var(--lv-green); }
body[data-theme="light"] .lv-sidenav__link:hover { background: rgba(240, 222, 5, .18); }
body[data-theme="light"] .lv-sidenav__link.is-active { background: var(--lv-yellow-soft); color: var(--lv-green); }

/* 7. Secciones -------------------------------------------------------- */
.lv-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  scroll-margin-top: 0;
}

/* -- 7.1 Hero -- */
.lv-hero { background: var(--lv-green); }
.lv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: calc(var(--lv-header-h) + 1rem) 3rem;
}
.lv-hero__title { font-stretch: 85%; letter-spacing: -.035em; line-height: .95; margin-bottom: 2.25rem; }
.lv-hero__lead { font-size: var(--lv-fs-lead); font-weight: 700; line-height: 1.35; max-width: 28ch; margin-bottom: .9rem; }
.lv-hero__text { color: var(--lv-text-muted-dark); max-width: 42ch; margin-bottom: 2.25rem; }
.lv-hero .lv-actions { margin-bottom: 2.25rem; }
.lv-hero .lv-link { color: var(--lv-text-muted-dark); }

.lv-hero__media { display: flex; justify-content: center; }
@keyframes lv-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(.6deg); }
}

/* -- 7.2 Por qué LOVET -- */
.lv-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--lv-cream);
  color: var(--lv-green);
}
.lv-why__media { position: relative; min-height: 100%; }
.lv-why__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 50%;
}
.lv-why__content {
  align-self: center;
  padding: calc(var(--lv-header-h) + 1rem) calc(var(--lv-sidenav-w) + var(--lv-gutter) + 1rem) 3rem 6rem;
  max-width: 980px;
}
.lv-why__title { font-size: clamp(3.5rem, 6.4vw, 7rem); margin-bottom: 2.5rem; color: var(--lv-green); }
.lv-why__lead { font-size: clamp(1.4rem, 1.9vw, 2rem); font-weight: 700; line-height: 1.2; max-width: 20ch; margin-bottom: 1.25rem; }
.lv-why__text { color: var(--lv-text-muted-light); max-width: 46ch; padding-bottom: 1.75rem; border-bottom: 2px solid var(--lv-green); margin-bottom: 1.75rem; }
.lv-why__pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 470px; }
.lv-pillar__title {
  font-weight: 800; font-stretch: 75%;
  font-size: clamp(2.5rem, 3.4vw, 3.5rem);
  line-height: 1; letter-spacing: -.04em;
  margin-bottom: .75rem;
}
.lv-pillar__text { color: var(--lv-text-muted-light); font-size: var(--lv-fs-small); line-height: 1.6; }

/* -- 7.3 Pruébala / Toca la arena -- */
.lv-touch { background: var(--lv-green-deep); align-items: stretch; --x: 62%; --y: 34%; }
.lv-touch__bg {
  position: absolute; inset: 0;
  background: url("../img/arena-Lovet.jpg") center / cover no-repeat;
  transform: scale(1.04);
}
/* Viñeta verde + foco de luz que sigue al cursor (JS actualiza --x/--y) */
.lv-touch__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle 32vw at var(--x) var(--y), rgba(0, 47, 41, 0) 0%, rgba(0, 47, 41, .35) 45%, rgba(0, 40, 35, .9) 100%),
    linear-gradient(90deg, rgba(0, 40, 35, .85) 0%, rgba(0, 40, 35, .2) 40%, rgba(0, 40, 35, 0) 70%),
    linear-gradient(0deg, rgba(0, 40, 35, .92) 0%, rgba(0, 40, 35, 0) 40%);
  transition: background-position .2s;
}
.lv-touch__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 3rem;
  padding-block: calc(var(--lv-header-h) - .5rem) 3.5rem;
}
.lv-touch__title { font-size: var(--lv-fs-h2); margin-bottom: 1.75rem; }
.lv-touch__text { max-width: 44ch; color: var(--lv-text-muted-dark); margin-bottom: 2rem; }

.lv-benefits {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 1.5rem 4rem;
}
.lv-benefit {
  display: flex; align-items: center; gap: 1rem;
  font-size: clamp(1.1rem, 1.45vw, 1.4rem);
  font-weight: 700;
}
.lv-benefit img { width: 42px; height: 42px; flex: none; }

/* -- 7.4 El cambio -- */
.lv-change { background: var(--lv-green); }
.lv-change__grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding-block: calc(var(--lv-header-h) - .5rem) 2.5rem;
}
.lv-change__title { font-size: clamp(2.5rem, 4.4vw, 4.25rem); margin-bottom: 1.25rem; }
.lv-change__text { font-size: var(--lv-fs-small); color: var(--lv-text-muted-dark); max-width: 52ch; margin-bottom: 1.5rem; }

.lv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1.5rem; }
.lv-step__btn {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; height: 100%;
  padding: 1rem 1rem 1.25rem;
  border: 3px solid transparent;
  border-radius: 12px;
  background: var(--lv-sand);
  color: var(--lv-green-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .3s, transform .3s var(--lv-ease);
}
.lv-step__btn:hover { transform: translateY(-3px); }
.lv-step.is-active .lv-step__btn { border-color: var(--lv-yellow); }
.lv-step__num { font-weight: 700; font-size: 1.05rem; margin-bottom: .35rem; }
.lv-step__title { font-weight: 700; font-size: 1.05rem; line-height: 1.25; margin-bottom: .6rem; }
.lv-step__text { font-size: .85rem; line-height: 1.5; color: var(--lv-text-muted-light); }
.lv-step__progress {
  position: absolute; left: 1rem; right: 1rem; bottom: .55rem;
  height: 3px; border-radius: 2px;
  background: rgba(0, 67, 60, .12);
  overflow: hidden;
  opacity: 0;
}
.lv-step__progress::after {
  content: ""; position: absolute; inset: 0;
  background: #9AA5A2;
  transform: scaleX(0); transform-origin: left;
}
.lv-step.is-active .lv-step__progress { opacity: 1; }
.lv-step.is-active .lv-step__progress::after { animation: lv-progress var(--lv-step-ms, 5000ms) linear forwards; }
.lv-steps.is-paused .lv-step.is-active .lv-step__progress::after { animation-play-state: paused; }
@keyframes lv-progress { to { transform: scaleX(1); } }

.lv-change__note { font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; }

/* Arenero con "mezcla": canvas con arena gris (otra arena) encima;
   JS recorta manchas orgánicas de LOVET que crecen en cada paso. */
.lv-tray { position: relative; width: min(100%, 420px); }
.lv-tray img { filter: drop-shadow(0 24px 28px rgba(0, 20, 17, .45)); }
.lv-tray__mix {
  position: absolute; inset: 0 0 auto 0;
  width: 100%; height: auto;
  aspect-ratio: 1000 / 563;
  pointer-events: none;
}
.lv-tray__caption { margin-top: 1rem; font-size: .8rem; font-style: italic; color: rgba(255, 255, 255, .65); }

.lv-change__media { display: flex; justify-content: center; }
.lv-change__media img { width: min(100%, 640px); filter: drop-shadow(0 30px 40px rgba(0, 20, 17, .5)); }

/* -- 7.5 Dónde comprar -- */
.lv-stores { background: #ECEFEA; color: var(--lv-green); align-items: stretch; }
.lv-map { position: absolute; inset: 0; }
.lv-map__img { width: 100%; height: 100%; object-fit: cover; }
.lv-map__pins { position: absolute; inset: 0; }
.lv-pin {
  position: absolute;
  width: 38px; height: 46px;
  transform: translate(-50%, -100%);
  border: 0; padding: 0; background: none; cursor: pointer;
  transition: transform .25s var(--lv-ease);
}
.lv-pin::before {
  content: ""; position: absolute; inset: 0 0 8px 0;
  background: var(--lv-green);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 12px -4px rgba(0, 30, 26, .5);
}
.lv-pin img { position: absolute; left: 50%; top: 8px; width: 20px; height: 20px; transform: translateX(-50%); }
.lv-pin:hover, .lv-pin.is-active { transform: translate(-50%, -100%) scale(1.18); z-index: 2; }
.lv-pin.is-active::before { background: var(--lv-yellow); }
.lv-pin.is-active img { filter: brightness(0) invert(18%) sepia(40%) saturate(1800%) hue-rotate(135deg) brightness(.75); }
.lv-pin.is-hidden { opacity: .25; }

/* Popup del pin */
.lv-popup {
  position: absolute; z-index: 3;
  width: 300px;
  padding: 1.1rem 1.25rem 1.2rem;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px -14px rgba(0, 30, 26, .35);
  color: var(--lv-green-ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s, transform .3s var(--lv-ease);
}
.lv-popup.is-open { opacity: 1; transform: none; }
.lv-popup::after { /* flechita hacia el pin */
  content: ""; position: absolute; left: var(--arrow-x, 50%); bottom: -8px;
  width: 16px; height: 16px; margin-left: -8px;
  background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0;
}
.lv-popup.is-below::after { bottom: auto; top: -8px; border-radius: 3px 0 0 0; }
.lv-popup__close {
  position: absolute; top: .55rem; right: .7rem;
  width: 28px; height: 28px; border: 0; background: none;
  font-size: 1.4rem; line-height: 1; color: var(--lv-green-ink); cursor: pointer;
}
.lv-popup__logo {
  display: grid; place-items: center start;
  height: 44px; margin-bottom: .6rem;
  font-weight: 800; font-size: 1.1rem; color: var(--lv-green);
}
.lv-popup__logo img { max-height: 44px; width: auto; }
.lv-popup__logo span {
  display: grid; place-items: center;
  width: 60px; height: 40px; border: 1px solid #E3E6E1; border-radius: 8px;
  font-size: .85rem; text-transform: uppercase;
}
.lv-popup__name { font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: .35rem; }
.lv-popup__addr { font-size: .92rem; line-height: 1.45; color: #5E6A67; margin-bottom: .6rem; }
.lv-popup__route {
  font-size: .95rem; font-weight: 700; color: var(--lv-green-ink);
  text-decoration: none; border-bottom: 2px solid var(--lv-yellow);
}
.lv-popup__route:hover { color: var(--lv-green); border-color: var(--lv-green); }

.lv-map__zoom {
  position: absolute; right: 1.25rem; bottom: 1.5rem;
  display: grid; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 18px -6px rgba(0, 30, 26, .35);
}
.lv-map__zoom button {
  width: 34px; height: 34px; border: 0; background: #fff;
  font-size: 1.2rem; font-weight: 700; color: var(--lv-green-ink); cursor: default;
}
.lv-map__zoom button + button { border-top: 1px solid #E4E6E2; }

.lv-stores__panel {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  width: min(440px, calc(100% - 2 * var(--lv-gutter)));
  margin: calc(var(--lv-header-h) - 8px) 0 1.75rem var(--lv-gutter);
  max-height: calc(100svh - var(--lv-header-h) - 1.25rem);
  padding: 1.75rem 1.5rem 1rem;
  background: #fff;
  border-radius: var(--lv-radius-lg);
  box-shadow: var(--lv-shadow);
}
.lv-stores__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.lv-stores__title { font-size: clamp(1.9rem, 2.4vw, 2.4rem); color: var(--lv-green); }
.lv-stores__search { display: flex; gap: .6rem; margin-bottom: 1rem; }
.lv-stores__search .lv-input { min-height: 48px; }
.lv-stores__search .lv-btn { min-height: 48px; padding-inline: 1.25rem; }
.lv-stores__summary { font-size: .9rem; color: var(--lv-text-muted-light); margin-bottom: .75rem; }

.lv-stores__list {
  flex: 1; min-height: 0;
  overflow-y: auto;
  margin-inline: -.5rem; padding-inline: .5rem;
  scrollbar-width: thin; scrollbar-color: #C9CEC8 transparent;
}
.lv-district { padding-block: .9rem .25rem; }
.lv-district__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; font-weight: 700; color: var(--lv-green-ink);
  margin-bottom: .4rem;
}
.lv-district__count {
  display: grid; place-items: center;
  min-width: 22px; height: 22px; border-radius: 50%;
  background: #EEF0EC; font-size: .72rem;
}
.lv-store {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: .9rem;
  padding: .6rem .5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color .2s;
}
.lv-store:hover, .lv-store.is-active { background: #F3F5F1; }
.lv-store__logo {
  display: grid; place-items: center;
  width: 56px; height: 40px;
  border: 1px solid #E3E6E1; border-radius: 8px;
  background: #fff;
  font-size: .8rem; font-weight: 800; color: var(--lv-green);
  letter-spacing: -.02em; text-transform: uppercase;
  overflow: hidden;
}
.lv-store__logo img { width: 100%; height: 100%; object-fit: contain; }
.lv-store__name { font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--lv-green-ink); }
.lv-store__addr { font-size: .82rem; color: #66716E; }
.lv-store__route {
  font-size: .82rem; font-weight: 700; color: var(--lv-green-ink);
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid var(--lv-yellow);
}
.lv-store__route:hover { color: var(--lv-green); border-color: var(--lv-green); }
.lv-stores__empty { padding: 1.5rem 0; color: var(--lv-text-muted-light); font-size: .95rem; }

/* -- 7.6 Contacto -- */
.lv-contact {
  background: var(--lv-green-deep);
  flex-direction: column; justify-content: center; align-items: stretch;
}
.lv-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  align-items: center;
  gap: 3rem;
  padding-block: calc(var(--lv-header-h) - .5rem) 2rem;
}
.lv-contact__title { font-size: var(--lv-fs-h2); margin-bottom: 2.25rem; }
.lv-contact__text { color: var(--lv-text-muted-dark); max-width: 44ch; margin-bottom: 1.75rem; }
.lv-contact .lv-actions { margin-bottom: 2rem; }
.lv-contact__media { width: min(100%, 272px); border-radius: var(--lv-radius); overflow: hidden; }
.lv-contact__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.lv-form {
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--lv-radius-lg);
  background: var(--lv-cream);
  color: var(--lv-green-ink);
}
.lv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-bottom: 1.4rem; }
.lv-field { display: grid; gap: .5rem; }
.lv-field--full { grid-column: 1 / -1; }
.lv-field__label { font-size: .9rem; font-weight: 600; }
.lv-form__submit { min-height: 52px; }
.lv-form__status { margin-top: .9rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.lv-form__status.is-ok { color: var(--lv-green); }
.lv-form__status.is-error { color: #B33A0B; }

/* 8. Footer ----------------------------------------------------------- */
.lv-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.75rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--lv-yellow);
  width: auto;
  margin-inline: var(--lv-gutter) calc(var(--lv-gutter) + var(--lv-sidenav-w));
  padding-inline: 0;
}
.lv-footer__info { flex: 1; font-size: .9rem; color: var(--lv-text-muted-dark); }
.lv-footer__copy { font-size: .9rem; color: var(--lv-text-muted-dark); }

/* 9. Responsive ------------------------------------------------------- */
@media (max-width: 1280px) {
  :root { --lv-sidenav-w: 170px; }
  .lv-why__content { padding-left: 4rem; }
  .lv-benefits { gap: 1.25rem 2.5rem; }
}

@media (max-width: 1080px) {
  :root { --lv-sidenav-w: 0px; --lv-header-h: 80px; }

  /* Nav lateral pasa a menú desplegable */
  .lv-menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 48px; height: 48px; margin-left: .75rem; padding: 0;
    border: 2px solid currentColor; border-radius: 50%;
    background: transparent; color: inherit; cursor: pointer;
  }
  .lv-menu-toggle__bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
  .lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__bar:nth-child(3) { opacity: 0; transform: scaleX(0); }
  .lv-menu-toggle[aria-expanded="true"] .lv-menu-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .lv-header__cta { margin-left: auto; }

  /* Franja del header en celular/tablet: toma el color de la sección de debajo */
  .lv-header {
    background-color: transparent;
    box-shadow: none;
    transition: color .35s, background-color .3s, box-shadow .3s;
  }
  .lv-header.is-solid {
    background-color: var(--lv-header-bg, var(--lv-green));
    box-shadow: 0 6px 18px -10px rgba(0, 25, 21, .45);
  }
  body[data-theme="light"] .lv-header.is-solid { box-shadow: 0 6px 18px -12px rgba(0, 25, 21, .3); }

  .lv-sidenav {
    top: calc(var(--lv-header-h) - 6px); right: var(--lv-gutter);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .lv-sidenav.is-open { opacity: 1; visibility: visible; transform: none; }

  .lv-hero__grid, .lv-change__grid, .lv-contact__grid { grid-template-columns: 1fr; }
  .lv-hero__media { order: -1; }
  .lv-bag { width: min(62vw, 340px); }

  .lv-why { grid-template-columns: 1fr; }
  .lv-why__media { min-height: 58vh; }
  .lv-why__content { padding: 3.5rem var(--lv-gutter) 4rem; }

  .lv-change__media { order: -1; }
  /* Dónde comprar: primero el cuadro de tiendas y el mapa debajo (no superpuesto) */
  .lv-stores { flex-direction: column; padding-bottom: 2.5rem; }
  .lv-stores__panel { order: 1; margin-top: calc(var(--lv-header-h) + .5rem); max-height: 72svh; }
  .lv-map {
    position: relative; inset: auto; order: 2;
    --map-h: clamp(340px, 62vw, 540px);
    height: var(--map-h);
    margin: 1.25rem var(--lv-gutter) 0;
    border-radius: var(--lv-radius-lg);
    overflow: hidden;
    overflow: clip; /* evita que el foco de un pin desplace el mapa */
    box-shadow: var(--lv-shadow);
  }
  /* imagen y pines comparten la misma caja 16:9 para que los pines no se desplacen */
  .lv-map__img, .lv-map__pins {
    position: absolute; top: 0; bottom: auto; right: auto;
    height: var(--map-h); width: calc(var(--map-h) * 16 / 9); max-width: none;
    /* centrado en la zona de los puntos de venta (63% del ancho del mapa) */
    left: min(0px, max(calc(100% - var(--map-h) * 16 / 9), calc(50% - var(--map-h) * 16 / 9 * .63)));
    object-fit: fill;
  }
  .lv-popup { width: min(280px, calc(100vw - 4rem)); }
  .lv-footer { margin-inline: var(--lv-gutter); }
}

@media (max-width: 720px) {
  :root { --lv-header-h: 72px; }
  .lv-logo__img { height: 23px; }
  .lv-logo--sm .lv-logo__img { height: 21px; }
  .lv-header__cta { display: none; }
  .lv-menu-toggle { margin-left: auto; }

  .lv-section { min-height: auto; }
  .lv-hero, .lv-touch { min-height: 100svh; }
  .lv-hero__title { margin-bottom: 1.5rem; }
  .lv-hero .lv-btn, .lv-contact .lv-btn--primary { flex: 1 1 auto; }

  .lv-touch__title { margin-bottom: 1.25rem; }
  .lv-benefits { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
  .lv-benefit { font-size: 1rem; gap: .65rem; }
  .lv-benefit img { width: 32px; height: 32px; }

  .lv-steps { grid-template-columns: 1fr; }
  .lv-step__btn { padding-bottom: 1.4rem; }
  .lv-why__pillars { gap: 1.25rem; }

  .lv-stores { min-height: 100svh; }
  .lv-stores__panel { width: auto; margin-inline: 1rem; padding: 1.4rem 1.1rem .75rem; }
  .lv-map { margin-inline: 1rem; }
  .lv-pin { width: 30px; height: 37px; }
  .lv-pin img { width: 16px; height: 16px; top: 6px; }
  .lv-stores__head { flex-wrap: wrap; }
  .lv-stores__search { flex-direction: column; }
  .lv-store { grid-template-columns: 48px 1fr; }
  .lv-store__logo { width: 48px; }
  .lv-store__route { grid-column: 2; justify-self: start; }

  .lv-form { padding: 1.5rem 1.1rem; }
  .lv-form__grid { grid-template-columns: 1fr; }
  .lv-form__submit { width: 100%; }
  .lv-footer { flex-direction: column; align-items: flex-start; }
}

/* 9b. Efectos interactivos ------------------------------------------ */

/* Bolsa con "rayos X": capa con la arena ya recortada a la silueta de
   la bolsa (img/bolsa-interior.webp). Solo se enmascara con un círculo
   (gradiente, sin imágenes externas: funciona también abriendo el archivo). */
.lv-bag {
  position: relative;
  width: min(100%, 470px);
  filter: drop-shadow(0 40px 50px rgba(0, 20, 17, .55));
  animation: lv-float 7s ease-in-out infinite;
  --bx: 50%; --by: 50%; --br: 0px;
}
.lv-bag__img { width: 100%; }
.lv-bag__xray {
  position: absolute; inset: 0;
  background: url("../img/bolsa-interior.webp?v=2") 0 0 / 100% 100% no-repeat;
  -webkit-mask-image: radial-gradient(circle var(--br) at var(--bx) var(--by), #000 0, #000 62%, rgba(0,0,0,.6) 80%, transparent 100%);
          mask-image: radial-gradient(circle var(--br) at var(--bx) var(--by), #000 0, #000 62%, rgba(0,0,0,.6) 80%, transparent 100%);
  pointer-events: none;
}


/* "Toca la arena": mancha húmeda + pala */
.lv-touch { cursor: crosshair; }
.lv-touch__content, .lv-benefits { cursor: auto; }
.lv-touch__fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.lv-touch__inner { pointer-events: none; }
.lv-touch__inner a, .lv-touch__inner button, .lv-touch__content, .lv-benefits { pointer-events: auto; }
.lv-touch__inner { align-items: flex-start; }
.lv-touch__content { max-width: 620px; }
.lv-touch__hint { margin-top: 1rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }

.lv-clump {
  position: absolute;
  width: 230px; height: 230px;
  margin: -115px 0 0 -115px;
  transform: scale(0);
  will-change: transform, opacity;
}
/* Arena húmeda: la misma textura teñida de marrón, con bordes irregulares */
.lv-clump::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/arena-Lovet.jpg") 40% 40% / 760px auto;
  filter: grayscale(1) sepia(1) saturate(1.9) hue-rotate(-22deg) brightness(.34) contrast(1.3);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,.55) 80%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 62%, rgba(0,0,0,.55) 80%, transparent 100%);
  border-radius: 47% 53% 44% 56% / 52% 46% 54% 48%;
}
.lv-clump::after { /* halo húmedo alrededor */
  content: ""; position: absolute; inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 26, 12, .35) 55%, transparent 100%);
  z-index: -1;
}
.lv-scoop {
  position: absolute;
  width: 580px; height: 580px;
  margin: -145px 0 0 -145px;
  transform-origin: 145px 145px;
  filter: drop-shadow(0 18px 22px rgba(0, 20, 17, .45));
  will-change: transform, opacity;
}
.lv-scoop svg { width: 100%; height: 100%; display: block; }

/* Footer redes */
.lv-footer__social { display: flex; gap: 1.25rem; flex: 1; }
.lv-footer__social a { font-size: .9rem; color: var(--lv-text-muted-dark); text-decoration: none; }
.lv-footer__social a:hover { color: var(--lv-yellow); }

/* 9c. Modo "secciones apiladas" (solo PC, lo activa JS con .lv-stack) */
html.lv-stack, html.lv-stack body { height: 100%; overflow: hidden; }
html.lv-stack .lv-main { position: fixed; inset: 0; }
html.lv-stack .lv-section {
  position: absolute; inset: 0;
  height: 100vh; min-height: 0;
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
  will-change: transform;
}
html.lv-stack .lv-section::-webkit-scrollbar { display: none; }
html.lv-stack .lv-section.is-current,
html.lv-stack .lv-section.is-under,
html.lv-stack .lv-section.is-entering { visibility: visible; }
html.lv-stack .lv-section.is-current { transform: none; }
html.lv-stack .lv-section.is-under { transform: translate3d(0, -6%, 0); }
/* Sombra que oscurece la sección que queda debajo */
html.lv-stack .lv-section::before {
  content: ""; position: absolute; inset: 0; z-index: 30;
  background: #001512; opacity: 0; pointer-events: none;
  transition: opacity var(--lv-stack-ms, 1000ms) var(--lv-ease);
}
html.lv-stack .lv-section.is-under::before { opacity: .55; }
html.lv-stack .lv-section.is-animating { transition: transform var(--lv-stack-ms, 1000ms) cubic-bezier(.7, 0, .2, 1); }
html.lv-stack .lv-section.no-tr,
html.lv-stack .lv-section.no-tr::before { transition: none !important; }
html.lv-stack .lv-contact { justify-content: flex-start; }
html.lv-stack .lv-contact__grid { flex: 1; }

/* 10. Motion ---------------------------------------------------------- */
.lv-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--lv-ease), transform .9s var(--lv-ease); }
.lv-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lv-reveal { opacity: 1; transform: none; }
}

/* 11. WordPress (rblweb-theme) ------------------------------------------ */
/* Mapa real (MapLibre + OpenFreeMap) */
.lv-map__canvas, .lv-map > .lv-map__canvas.maplibregl-map { position: absolute; inset: 0; z-index: 1; }
.lv-map .lv-popup { z-index: 4; }
.lv-map.is-live .lv-map__pins { display: none; }
.lv-map.is-ready .lv-map__img { visibility: hidden; }
.lv-map.is-live .lv-map__zoom { z-index: 2; bottom: 2.6rem; }
.lv-pin-wrap { width: 0; height: 0; }
.lv-pin-wrap .lv-pin { position: absolute; left: 0; top: 0; }
.lv-map .maplibregl-ctrl-attrib { font-size: 11px; }
/* Logo en un solo SVG que toma el color de la sección */
.lv-logo__svg { display: block; height: 28px; width: auto; color: inherit; }
.lv-logo__svg * { fill: currentColor !important; }
.lv-logo--sm .lv-logo__svg { height: 21px; }
.lv-footer .lv-logo { color: var(--lv-yellow); }
@media (max-width: 720px) { .lv-logo__svg { height: 23px; } }
/* Campo trampa anti-spam */
.lv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* Barra de administración de WordPress */
body.admin-bar .lv-header { top: var(--wp-admin--admin-bar--height, 32px); }
html.lv-stack body.admin-bar .lv-main { top: var(--wp-admin--admin-bar--height, 32px); }
/* Páginas internas (fuera de la portada) */
.lv-page { min-height: 70vh; padding: calc(var(--lv-header-h) + 3rem) var(--lv-gutter) 4rem; background: var(--lv-cream); color: var(--lv-green); }
.lv-page__inner { max-width: 760px; margin: 0 auto; }
.lv-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; margin-bottom: 1.5rem; }
.lv-page .entry-content > * + * { margin-top: 1em; }
