/* =========================================================
   Biografo.io — Landing v2 (calco del Figma «Landing V2»)
   Lienzo de referencia: 1400 px (Figma 2800 px / 2)
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #223445;
  --white: #ffffff;
  --text-2: #eeeeee;
  --pink: #DE8B95;                 /* rosa del Figma: títulos sobre fondo azul */
  --pink-card: #B35C6B;            /* rosa de las tarjetas de función: oscurecido para AA (blanco 4.5:1) */
  --pink-light: #F5B8BF;           /* rosa aclarado solo para encabezados del footer (fondo gris-azul): 4:1 */
  --pink-dark: #A04C5E;
  --pink-mid: #BE6B79;
  --glass: rgba(255, 255, 255, .2);
  --focus: #ffffff;
  --gutter: 28px;                  /* margen lateral de nav / héroe */
  --content: clamp(20px, 9.3vw, 130px); /* columna de contenido (x≈130 a 1400) */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 12px;
  background: var(--white); color: var(--bg); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

.frame {
  max-width: 1400px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   NAV
   --------------------------------------------------------- */
.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 62px;
  margin: 17px var(--gutter) 0;
  padding: 0 11px 0 28px;
  border-radius: 22px;
  background: var(--glass);
}

.nav__brand {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav__menu {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav__list {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4.4vw, 62px);
  padding-left: 40px;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: .95;
  transition: opacity .2s var(--ease);
}
.nav__list a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.nav__icon {
  width: 14px; height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav__list li:first-child .nav__icon { fill: currentColor; stroke: none; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 224px;
  padding: 0 22px;
  border: 2.5px solid var(--white);
  border-radius: 17px;
  background: rgba(0, 0, 0, .2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__cta:hover { background: var(--white); color: var(--bg); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, .2);
  align-items: center;
  justify-content: center;
}
.nav__toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav__toggle-bars span {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------
   HÉROE
   --------------------------------------------------------- */
.hero { padding: 18px var(--gutter) 0; }

.hero__card {
  position: relative;
  min-height: 692px;
  border-radius: 22px;
  background: linear-gradient(180deg, #A04C5E 0%, #BE6B79 50%, #DE8B95 100%);
}

.hero__text {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 63px 0 64px 106px;
}

.hero__logo {
  width: 132px;
  margin: 0 0 4px -53px;
}

.hero__title {
  font-size: clamp(40px, 4.22vw, 59px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.hero__subtitle {
  max-width: 640px;
  margin-top: 2px;
  font-size: clamp(21px, 2.29vw, 32px);
  font-weight: 400;
  line-height: 1.18;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 52px;
}
.stores--below { display: none; }
.store {
  display: block;
  border-radius: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store img { width: 228px; height: auto; border-radius: 10px; }
.store:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }

.hero__phone {
  position: absolute;
  z-index: 2;
  top: 163px;
  right: 20px;
  width: 453px;
}

/* ---------------------------------------------------------
   MÓVIL (HTML/CSS) — unidades relativas al ancho del móvil
   1 u = 1/680 del ancho (la referencia mide 680 × 1400)
   --------------------------------------------------------- */
.phone {
  position: relative;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 680 / 1400;
  filter: drop-shadow(0 24px 40px rgba(10, 20, 30, .35));
}
.phone * { --u: calc(100cqw / 680); }

.phone__body {
  position: absolute; inset: 0;
  padding: calc(8 * var(--u));
  border-radius: calc(112 * var(--u));
  background: linear-gradient(160deg, #8a9097 0%, #444a51 18%, #32373d 55%, #6a7077 100%);
}
.phone__bezel {
  height: 100%;
  padding: calc(20 * var(--u));
  border-radius: calc(104 * var(--u));
  background: #0b0d0f;
  box-shadow: inset 0 0 0 calc(6 * var(--u)) #262a2f;
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(86 * var(--u));
  background: linear-gradient(180deg, #415263 0%, #3a4b5c 45%, #344658 100%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
}
.phone__screen > * { position: absolute; }

.phone__key {
  position: absolute;
  width: calc(6 * var(--u));
  border-radius: calc(3 * var(--u));
  background: #2c3036;
  --u: calc(100cqw / 680);
}
.phone__key--a { left: calc(-3 * var(--u)); top: calc(205 * var(--u)); height: calc(50 * var(--u)); }
.phone__key--b { left: calc(-3 * var(--u)); top: calc(300 * var(--u)); height: calc(90 * var(--u)); }
.phone__key--c { left: calc(-3 * var(--u)); top: calc(410 * var(--u)); height: calc(90 * var(--u)); }
.phone__key--d { right: calc(-3 * var(--u)); top: calc(340 * var(--u)); height: calc(140 * var(--u)); }

.ph-time {
  left: calc(54 * var(--u)); top: calc(10 * var(--u));
  font-size: calc(25 * var(--u)); font-weight: 600; letter-spacing: .01em;
}
.ph-island {
  left: calc(222 * var(--u)); top: calc(16 * var(--u));
  width: calc(190 * var(--u)); height: calc(54 * var(--u));
  border-radius: calc(27 * var(--u));
  background: #050607;
}
.ph-island span {
  position: absolute; right: calc(22 * var(--u)); top: calc(17 * var(--u));
  width: calc(20 * var(--u)); height: calc(20 * var(--u)); border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #2f3a66 0 30%, #121522 60%);
}
.ph-status {
  right: calc(36 * var(--u)); top: calc(17 * var(--u));
  display: flex; align-items: center; gap: calc(9 * var(--u));
  color: #fff;
}
.ph-status svg { fill: currentColor; height: calc(21 * var(--u)); width: auto; }
.ph-status .ph-battery { height: calc(22 * var(--u)); }

.ph-search {
  left: calc(34 * var(--u)); top: calc(90 * var(--u));
  width: calc(483 * var(--u)); height: calc(69 * var(--u));
  padding-left: calc(48 * var(--u));
  display: flex; align-items: center;
  border-radius: calc(18 * var(--u));
  background: rgba(255, 255, 255, .17);
  font-size: calc(30 * var(--u)); font-weight: 300; color: #e9edf0;
}
.ph-search svg {
  position: absolute; right: calc(16 * var(--u)); top: calc(17 * var(--u));
  width: calc(36 * var(--u)); height: calc(36 * var(--u)); color: #fff;
}
.ph-menu {
  left: calc(535 * var(--u)); top: calc(90 * var(--u));
  width: calc(69 * var(--u)); height: calc(69 * var(--u));
  border-radius: calc(18 * var(--u));
  background: rgba(255, 255, 255, .17);
  display: grid; align-content: center; justify-items: end;
  gap: calc(9 * var(--u)); padding-right: calc(17 * var(--u));
}
.ph-menu span { display: block; height: calc(3 * var(--u)); width: calc(34 * var(--u)); background: #fff; border-radius: 2px; }
.ph-menu span:nth-child(2) { width: calc(26 * var(--u)); }

.ph-hello {
  left: calc(67 * var(--u)); top: calc(217 * var(--u));
  font-size: calc(40 * var(--u)); font-weight: 500; line-height: 1.16;
  color: #E3949D;
}
.ph-text {
  left: calc(64 * var(--u)); top: calc(339 * var(--u));
  width: calc(520 * var(--u));
  font-size: calc(33 * var(--u)); font-weight: 560; line-height: 1.24;
}

.ph-btn {
  top: calc(557 * var(--u));
  width: calc(273 * var(--u)); height: calc(273 * var(--u));
  border-radius: calc(48 * var(--u));
  display: grid; place-items: center;
}
.ph-btn--call { left: calc(32 * var(--u)); background: #DDB97A; }
.ph-btn--add { left: calc(326 * var(--u)); background: #A9CEC8; }
.ph-btn__circle {
  width: calc(127 * var(--u)); height: calc(127 * var(--u));
  border-radius: 50%;
  background: #f8f8f8;
  display: grid; place-items: center;
  color: #2f3d4b;
}
.ph-btn--call svg { width: calc(62 * var(--u)); height: calc(62 * var(--u)); fill: currentColor; }
.ph-btn--add svg { width: calc(62 * var(--u)); height: calc(62 * var(--u)); }

.ph-card {
  left: calc(30 * var(--u));
  width: calc(569 * var(--u));
  border-radius: calc(50 * var(--u));
}
.ph-card--next {
  top: calc(855 * var(--u)); height: calc(300 * var(--u));
  background: #DF949D;
  color: #2a2a2a;
  padding: calc(30 * var(--u)) calc(110 * var(--u)) 0 calc(52 * var(--u));
}
.ph-card--last {
  top: calc(995 * var(--u)); height: calc(252 * var(--u));
  background: #A85A6C;
  box-shadow: 0 calc(-6 * var(--u)) calc(24 * var(--u)) rgba(80, 20, 40, .25);
  padding: calc(44 * var(--u)) calc(40 * var(--u)) 0 calc(62 * var(--u));
}
.ph-card__q { display: block; font-size: calc(24 * var(--u)); font-weight: 500; line-height: 1.2; }
.ph-card__meta { display: block; margin-top: calc(14 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 500; }
.ph-card__meta b { font-weight: 700; }
.ph-card--last .ph-card__meta { margin-top: calc(34 * var(--u)); }
.ph-card__plus {
  position: absolute; right: calc(42 * var(--u)); top: calc(47 * var(--u));
  width: calc(55 * var(--u)); height: calc(55 * var(--u));
  border-radius: calc(13 * var(--u));
  background: #fff; color: #2f3d4b;
  display: grid; place-items: center;
}
.ph-card__plus svg { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.ph-chips {
  display: flex; gap: calc(17 * var(--u));
  margin-left: calc(-12 * var(--u)); margin-top: calc(14 * var(--u));
}
.ph-chips span {
  display: grid; place-items: center;
  height: calc(49 * var(--u)); padding: 0 calc(22 * var(--u));
  border: calc(2.5 * var(--u)) solid #fff;
  border-radius: calc(25 * var(--u));
  font-size: calc(21 * var(--u)); font-weight: 500;
}

.ph-tabbar {
  left: calc(30 * var(--u)); top: calc(1272 * var(--u));
  width: calc(569 * var(--u)); height: calc(90 * var(--u));
  padding: calc(14 * var(--u)) calc(44 * var(--u)) 0;
  border-radius: calc(25 * var(--u));
  background: rgba(255, 255, 255, .13);
  display: flex; justify-content: space-between; align-items: flex-start;
  color: #fff;
}
.ph-tabbar svg { height: calc(44 * var(--u)); width: auto; fill: currentColor; }

/* ---------------------------------------------------------
   TARJETAS DE FUNCIÓN
   --------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 274px);
  gap: 22px;
  margin-top: 26px;
}

.feature {
  position: relative;
  min-height: 278px;
  padding: 84px 22px 26px 34px;
  border-radius: 27px;
  background: var(--pink-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }

.feature .plus-box { position: absolute; top: 20px; right: 24px; }

.feature__title {
  font-size: clamp(26px, 2.36vw, 33px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.012em;
}
.feature__text {
  margin-top: 10px;
  font-size: 17.5px;
  line-height: 1.24;
}

/* Cuadrado con «+» (tarjetas y filas) */
.plus-box {
  position: relative;
  display: block;
  flex: none;
  width: 68px; height: 68px;
  border: 1.5px solid var(--white);
  border-radius: 15px;
}
.plus-box--sm { width: 58px; height: 58px; }
.plus-box::before,
.plus-box::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 40%; height: 4px;
  border-radius: 1px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.plus-box::after { transform: translate(-50%, -50%) rotate(90deg); }

/* ---------------------------------------------------------
   CÓMO FUNCIONA
   --------------------------------------------------------- */
.how {
  display: grid;
  grid-template-columns: 654px 1fr;
  gap: 56px;
  padding: 98px 57px 0 117px;
}
.how__main { padding-bottom: 70px; }

.how__title {
  padding-left: 15px;
  font-size: clamp(24px, 2.36vw, 33px);
  font-weight: 500;
  line-height: 1.2;
}

.video {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
}
.video img { width: 100%; aspect-ratio: 654 / 436; object-fit: cover; }
.video__play {
  position: absolute; left: 50%; top: 50%;
  width: 140px; height: 140px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 38px;
  background: rgba(255, 255, 255, .6);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.video__play svg { width: 74px; height: 74px; fill: #223445; margin-left: 6px; opacity: .88; }
.video__play:hover { background: rgba(255, 255, 255, .78); transform: translate(-50%, -50%) scale(1.04); }
.video__note {
  position: absolute; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  padding: 0;
  border-radius: 14px;
  background: rgba(34, 52, 69, .92);
  font-size: 17px; font-weight: 500;
  white-space: nowrap;
}
.video__note:not(:empty) { padding: 10px 18px; }

.how__text {
  max-width: 626px;
  margin-top: 44px;
  padding-left: 8px;
  font-size: clamp(18px, 1.72vw, 24px);
  line-height: 1.2;
}

.how__art {
  align-self: end;
  display: flex;
  justify-content: flex-end;
}
.how__art img { width: 503px; }

/* Línea divisoria (desde x≈126 hasta el borde derecho) */
.divider {
  height: 0;
  margin: 0 0 0 calc(max(0px, (100% - 1400px) / 2) + clamp(20px, 9vw, 126px));
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, .75);
}

/* ---------------------------------------------------------
   INTERACCIONES
   --------------------------------------------------------- */
.inter { padding: 54px var(--content) 0; }

.inter__title {
  color: var(--pink);
  font-size: clamp(28px, 3.57vw, 50px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
}
.inter__lead {
  max-width: 1130px;
  margin-top: 26px;
  font-size: clamp(19px, 2.2vw, 31px);
  line-height: 1.16;
}

.rows {
  display: grid;
  gap: 92px;
  margin-top: 104px;
}
.row {
  display: grid;
  grid-template-columns: 384px 1fr;
  gap: 106px;
  align-items: stretch;
}
.row__img {
  width: 384px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 26px;
}
.row__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 62px;
}
.row__body .plus-box { position: absolute; top: 25px; right: 4px; }
.row__title {
  color: var(--pink);
  font-size: clamp(26px, 3.2vw, 45px);
  font-weight: 500;
  line-height: 1.15;
}
.row__text {
  max-width: 670px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(18px, 1.96vw, 27.5px);
  line-height: 1.16;
}

/* ---------------------------------------------------------
   TESTIMONIOS
   --------------------------------------------------------- */
.testis { padding: 52px clamp(20px, 9.65vw, 135px) 0; }

.testis__label {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}

.testis__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 537px));
  justify-content: space-between;
  gap: 54px;
}

.testi {
  display: flex;
  flex-direction: column;
  min-height: 537px;
  overflow: hidden;
  border-radius: 27px;
  background: var(--white);
  color: #000;
}
.testi__quote {
  padding: 58px 66px 170px 63px;
  font-size: clamp(18px, 1.62vw, 22.6px);
  line-height: 1.12;
}
.testi__band {
  position: relative;
  margin-top: auto;
  min-height: 189px;
  padding: 92px 24px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, #DE8B95 0%, #A04C5E 100%);
}
.testi__avatar {
  position: absolute;
  left: 50%; top: -113px;
  width: 166px; height: 166px;
  transform: translateX(-50%);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--white);
}
.testi__marks {
  position: absolute;
  right: 54px; top: -146px;
  color: rgba(3, 3, 3, .2);
  font-size: 170px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.testi__name { font-size: 22.6px; font-weight: 700; line-height: 1.2; }
.testi__role { font-size: 24px; font-weight: 300; line-height: 1.25; }

.dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 53px;
}
.dots span { width: 18px; height: 18px; border-radius: 50%; background: var(--pink); }
.dots span:last-child { background: var(--white); }

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
.cta {
  padding: 84px var(--content) 145px;
}
.cta__text {
  max-width: 1140px;
  margin: 0 auto;
  font-size: clamp(25px, 3.22vw, 45px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.008em;
}
.cta__text strong { font-weight: 700; }

.stores--lg {
  justify-content: center;
  gap: 24px;
  margin-top: 58px;
}
.stores--lg .store img { width: 334px; }
.stores--lg .store, .stores--lg .store img { border-radius: 14px; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.footer {
  background: var(--glass);
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 128px 40px 86px 69px;
  display: grid;
  grid-template-columns: 346px 1fr;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__logo img { width: 80px; }
.footer__logo span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.newsletter {
  display: inline-flex;
  align-items: stretch;
  height: 54px;
  margin: 58px 0 0 23px;
  padding: 0;
  border: 1.5px solid var(--white);
  border-radius: 27px;
  background: transparent;
  font-size: 15px;
  overflow: hidden;
  transition: background-color .2s var(--ease);
}
.newsletter > span:first-child { display: flex; align-items: center; width: 186px; padding-left: 24px; }
.newsletter__arrow {
  display: grid; place-items: center;
  width: 52px;
  border-left: 1.5px solid var(--white);
}
.newsletter__arrow svg { width: 22px; height: 22px; }
.newsletter:hover { background: rgba(255, 255, 255, .12); }

.footer__cols {
  display: grid;
  grid-template-columns: 227px 248px 226px auto;
}
.footer__head {
  color: var(--pink-light);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}
.footer__col ul { margin-top: 38px; display: grid; gap: 7px; }
.footer__col a {
  font-size: 21px;
  line-height: 1.2;
  white-space: nowrap;
}
.footer__col a:hover,
.footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer__legal {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 40px 26px 69px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 14px;
}

/* ---------------------------------------------------------
   DIÁLOGOS
   --------------------------------------------------------- */
.dialog {
  width: min(440px, calc(100vw - 40px));
  padding: 32px 30px 26px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--bg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.dialog::backdrop { background: rgba(17, 27, 37, .7); }
.dialog[open] { animation: dialog-in .28s var(--ease); }
.dialog__title { font-size: 21px; font-weight: 600; line-height: 1.25; }
.dialog__text { margin-top: 10px; font-size: 17px; line-height: 1.45; color: #3b4855; }
.dialog form { margin-top: 22px; display: flex; justify-content: flex-end; }
.dialog__btn {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  color: #fff;
  font-weight: 600;
}
.dialog__btn:focus-visible { outline-color: var(--bg); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------------------------------------------------------
   ANIMACIONES DE ENTRADA (solo con JS y sin reduced-motion)
   --------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .features .reveal:nth-child(2) { transition-delay: .08s; }
.js .features .reveal:nth-child(3) { transition-delay: .16s; }
.js .testis__grid .reveal:nth-child(2) { transition-delay: .1s; }

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

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* 1200–1399: escala fluida del bloque derecho */
@media (max-width: 1399px) {
  .hero__phone { width: clamp(340px, 32.4vw, 453px); top: clamp(120px, 11.6vw, 163px); }
  .features { grid-template-columns: repeat(3, minmax(0, 274px)); gap: clamp(14px, 1.57vw, 22px); }
  .how { grid-template-columns: minmax(0, 654px) minmax(0, 1fr); padding-left: clamp(20px, 8.4vw, 117px); padding-right: clamp(20px, 4vw, 57px); gap: clamp(24px, 4vw, 56px); }
  .how__art img { width: min(503px, 100%); }
  .row { grid-template-columns: clamp(240px, 27.4vw, 384px) 1fr; gap: clamp(36px, 7.6vw, 106px); }
  .row__img { width: 100%; }
  .footer__inner { grid-template-columns: minmax(0, 24.7vw) 1fr; padding-left: clamp(20px, 4.9vw, 69px); }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}

/* < 1200: el móvil deja de invadir la fila de tarjetas */
@media (max-width: 1199px) {
  .hero__card { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 34vw, 380px); align-items: end; gap: 24px; padding-right: 32px; }
  .hero__text { padding: 56px 0 64px clamp(40px, 7vw, 106px); align-self: start; }
  .hero__logo { margin-left: clamp(-53px, -3.5vw, -20px); }
  .hero__phone { position: relative; top: auto; right: auto; width: 100%; padding-top: 56px; margin-bottom: -48px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 74px; }
  .feature__title { font-size: clamp(24px, 2.9vw, 33px); }
  .how { padding-top: 84px; }
  .footer__col a, .footer__head { font-size: 18px; }
  .nav { padding-left: 22px; }
  .nav__list { gap: 20px; padding-left: 12px; }
  .nav__list a { font-size: 14.5px; }
  .nav__cta { min-width: 0; padding: 0 18px; font-size: 14.5px; }
  .footer__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 80px; padding-right: clamp(20px, 4.9vw, 69px); }
  .footer__brand { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
  .newsletter { margin: 0; }
  .footer__cols { gap: 24px; }
  .footer__col a { white-space: normal; }
}

/* < 1024: menú hamburguesa */
@media (max-width: 1023px) {
  .nav { padding: 0 9px 0 22px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    left: 0; right: 0; top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: #3a4a5a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__list { flex-direction: column; gap: 2px; padding: 0; }
  .nav__list a { display: flex; gap: 12px; padding: 12px 12px; font-size: 17px; border-radius: 12px; }
  .nav__list a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
  .nav__icon { width: 18px; height: 18px; }
  .nav__cta { height: 48px; min-width: 0; font-size: 16px; }
  .no-js .nav__menu { position: static; display: flex; }

  .how { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); }
}

/* < 860: una columna */
@media (max-width: 859px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 14px; }
  .hero__card { display: block; padding: 0 0 40px; }
  .hero__text { padding: 44px 28px 0; max-width: none; }
  .hero__logo { width: 96px; margin-left: 0; }
  .hero__phone { width: min(340px, 78%); margin: 44px auto 0; padding: 0; }
  .stores { margin-top: 32px; gap: 12px; }
  .store img { width: min(228px, calc((100vw - 120px) / 2)); }
  .features { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  .feature { min-height: 0; padding: 30px 92px 30px 28px; }
  .feature .plus-box { top: 24px; right: 22px; }
  .feature__title { font-size: 28px; }

  .how { grid-template-columns: 1fr; padding: 72px 20px 0; gap: 32px; }
  .how__main { padding-bottom: 0; }
  .how__title { padding-left: 0; font-size: 26px; }
  .how__text { padding-left: 0; margin-top: 28px; }
  .video { border-radius: 0; }
  .video__play { width: 96px; height: 96px; border-radius: 28px; }
  .video__play svg { width: 52px; height: 52px; }
  .how__art { justify-content: center; }
  .how__art img { width: min(380px, 86%); }
  .divider { margin-left: 20px; }

  .inter { padding: 48px 20px 0; }
  .inter__lead { margin-top: 18px; }
  .rows { gap: 56px; margin-top: 56px; }
  .row { grid-template-columns: 1fr; gap: 24px; }
  .row__img { width: min(384px, 100%); }
  .row__body { padding: 0 84px 0 0; justify-content: flex-start; }
  .row__body .plus-box { top: 0; right: 0; width: 56px; height: 56px; }
  .row__text { margin-top: 14px; }

  .testis { padding: 64px 20px 0; }
  .testis__grid { grid-template-columns: minmax(0, 537px); justify-content: center; gap: 24px; }
  .testi { min-height: 0; }
  .testi__quote { padding: 40px 32px 160px; }
  .dots { margin-top: 36px; }

  .cta { padding: 72px 20px 96px; }
  .cta__text { text-align: center; }
  .stores--lg { margin-top: 40px; gap: 12px; }
  .stores--lg .store img { width: min(260px, calc((100vw - 52px) / 2)); }

  .footer__inner { padding: 64px 20px 48px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .footer__col ul { margin-top: 16px; gap: 10px; }
  .footer__col a { white-space: normal; }
  .footer__col a, .footer__head { font-size: 17px; }
  .footer__legal { padding: 18px 20px 28px; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 40px; }
  .feature { padding-right: 84px; }
  .row__body { padding-right: 72px; }
  .row__body .plus-box { width: 52px; height: 52px; }
  .testi__quote { padding: 32px 24px 150px; }
  .testi__marks { right: 16px; font-size: 120px; top: -132px; }
}

/* 640–859: filas imagen + texto siguen en dos columnas */
@media (min-width: 640px) and (max-width: 859px) {
  /* Misma composición que en escritorio (Figma), reducida a escala 260/384 */
  .row { grid-template-columns: 260px 1fr; gap: 40px; align-items: stretch; }
  .row__body { padding: 0 0 42px; justify-content: flex-end; }
  .row__body .plus-box { top: 17px; right: 3px; width: 46px; height: 46px; border-radius: 10px; }
  .row__body .plus-box::before, .row__body .plus-box::after { height: 3px; }
  .row__img { border-radius: 18px; }
  .row__text { margin-top: 14px; }
}

/* ---------------------------------------------------------
   DESPLEGABLES DEL MENÚ (SetUp, Suscripción, Seguridad, Términos)
   --------------------------------------------------------- */
.np-layer { position: absolute; inset: 0 0 auto 0; z-index: 30; }
.np {
  position: relative;
  border-radius: 22px;
  padding: 52px 120px 56px 64px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  animation: npIn .35s var(--ease, cubic-bezier(.2,.7,.2,1)) both;
}
.np[hidden] { display: none; }
.np:focus { outline: none; }
@keyframes npIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.np--mint { background: #AECBC5; color: #263443; min-height: 400px; }
.np--gold { background: #DFBA77; color: #263443; }
.np--wine { background: #95515E; color: #fff; }
.np--long { min-height: 100%; }
.np-close {
  position: absolute; top: 26px; right: 28px;
  width: 58px; height: 58px; border-radius: 15px;
  border: 1.5px solid #fff; background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.np--mint .np-close, .np--gold .np-close { color: #111; border-color: #fff; }
.np-close svg { width: 28px; height: 28px; }
.np-close:hover { background: rgba(255, 255, 255, .15); }
.np-logo { position: absolute; top: 40px; left: 44px; width: 104px; height: auto; }
.np-num {
  display: inline-grid; place-items: center;
  min-width: 58px; height: 58px; padding: 0 10px;
  border: 1.5px solid #fff; border-radius: 15px;
  font-size: 28px; font-weight: 500; line-height: 1;
}
/* SetUp */
.np-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; padding: 0; margin: 0; }
.np-steps p { margin-top: 36px; font-size: clamp(16px, 1.35vw, 19px); font-weight: 500; line-height: 1.35; }
/* Suscripción */
.np--gold { padding-left: 198px; }
.np-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-right: 40px; }
.np-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 420px; }
.np-plan h3 { white-space: nowrap; color: #fff; font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.np--gold .np-num { color: #fff; }
.np-price { margin-top: 22px; font-size: 22px; font-weight: 500; }
.np-price strong { font-size: 30px; font-weight: 700; }
.np-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 19px; font-weight: 500; line-height: 1.5; }
.np-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.np-btn { font: inherit; font-size: 19px; font-weight: 500; padding: 14px 20px; border-radius: 10px; border: 0; cursor: pointer; }
.np-btn--light { background: #EED6AC; color: #263443; }
.np-btn--dark { background: #000; color: #fff; }
.np-btn:hover { filter: brightness(1.06); }
.np-terms { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: none; border: 0; padding: 6px 0; font: inherit; font-size: 19px; font-weight: 500; color: #263443; cursor: pointer; }
.np-terms svg { width: 28px; height: 28px; color: #fff; }
.np-terms:hover { text-decoration: underline; }
/* Seguridad y Términos */
.np--wine { padding-left: 198px; }
.np-title { font-size: clamp(22px, 2vw, 30px); font-weight: 500; margin: 14px 0 28px; max-width: 860px; }
.np-seg { margin: 0; padding-left: 1.3em; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; font-size: 18px; line-height: 1.45; }
.np-doc { max-width: 820px; font-size: 18px; line-height: 1.5; }
.np-doc h3 { font-size: 19px; font-weight: 600; margin: 26px 0 8px; }
.np-draft { display: inline-block; font-size: 15px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; margin-bottom: 18px; }
.np :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.np--mint :focus-visible, .np--gold :focus-visible { outline-color: #263443; }

/* ---------------------------------------------------------
   PANELES DE LOS «+» (tarjetas y filas)
   --------------------------------------------------------- */
button.plus-box { background: transparent; color: #fff; cursor: pointer; padding: 0; font: inherit; }
button.plus-box:hover { background: rgba(255, 255, 255, .14); }
button.plus-box:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.features-wrap, .row { position: relative; }
.xpanel {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: flex-start;
  padding: 84px 130px 26px 34px;
  border-radius: 27px;
  background: #95515E; color: #fff;
  animation: npIn .3s cubic-bezier(.2,.7,.2,1) both;
}
.xpanel[hidden] { display: none; }
.xpanel__text { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.24; max-width: 720px; }
.xpanel .plus-box { position: absolute; top: 20px; right: 24px; }
.plus-box--up::before, .plus-box--up::after { display: none; }
.plus-box--up { display: grid; place-items: center; }
.plus-box--up svg { width: 46%; height: 46%; }
.features-wrap.is-open .features, .row.is-open > :not(.xpanel) { visibility: hidden; }
.row .xpanel { border-radius: 26px; }

@media (max-width: 1023px) {
  .np { padding: 88px 28px 40px; }
  .np--gold, .np--wine { padding-left: 28px; }
  .np-logo { top: 22px; left: 26px; width: 72px; }
  .np-close { top: 18px; right: 18px; }
  .np-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .np-steps p { margin-top: 16px; }
  .np-plans, .np-seg { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .np-steps { grid-template-columns: 1fr; }
  .xpanel { padding: 84px 24px 28px; align-items: flex-start; }
  .xpanel__text { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .np, .xpanel { animation: none; } }

/* «+» en una columna: el texto se abre dentro de la misma tarjeta */
.feature.is-open { background: #95515E; }
.feature.is-open > :not(.xpanel) { display: none; }
.xpanel--inline {
  position: static; display: block;
  padding: 0; border-radius: 0; background: none;
}
.xpanel--inline .xpanel__text { font-size: 19px; line-height: 1.3; max-width: none; }
.xpanel--inline .plus-box { position: absolute; top: 24px; right: 22px; }
@media (max-width: 859px) { .row .xpanel { padding: 84px 28px 28px; } }
/* Suscríbete y Descargar siempre en la misma línea */
.np-actions { flex-wrap: nowrap; }
.np-btn { white-space: nowrap; padding: 14px clamp(14px, 1.4vw, 20px); font-size: clamp(16px, 1.35vw, 19px); }
/* Texto del «+» dentro de la tarjeta: misma altura que la tarjeta cerrada */
.xpanel--inline .xpanel__text { font-size: 17px; line-height: 1.27; }
.feature.is-open { padding-right: 84px; }
/* Móvil: las tres tarjetas con la misma altura, y el texto del «+» cabe sin estirarlas */
@media (max-width: 420px) { .feature { min-height: 258px; } }
@media (min-width: 421px) and (max-width: 520px) { .feature { min-height: 222px; } }
@media (max-width: 340px) { .feature { min-height: 300px; } }
.nav__icon--solid { fill: currentColor; stroke: none; }

/* En una columna, las insignias de las tiendas van en dos filas justo debajo del móvil */
@media (max-width: 859px) {
  .hero__text .stores { display: none; }
  .stores--below { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 12px; margin-top: 32px; }
  .stores--below .store img { width: 228px; }
}

/* Con menú hamburguesa: botón «Descarga la app» a su izquierda, con su misma forma */
.nav__get { display: none; }
@media (max-width: 1023px) {
  .nav__get {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; height: 44px; padding: 0 16px;
    flex: none; border-radius: 14px; background: #A9CEC8;
    color: #1D2A38; font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none;
    transition: background .2s var(--ease);
  }
  .nav__get:hover { background: #BBDAD5; }
  .nav__get:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .nav__toggle { margin-left: 8px; flex: none; }
  .nav__menu .nav__cta { display: none; }
}
@media (max-width: 380px) {
  .nav { padding-left: 16px; }
  .nav__get { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 350px) { .nav__get span { display: none; } }

/* 1200–1399: las tres tarjetas terminan justo antes del móvil, sin quedar debajo */
@media (min-width: 1200px) and (max-width: 1399px) {
  .features-wrap { max-width: calc(100% - 52px - clamp(340px, 32.4vw, 453px)); }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .feature { padding: 84px 14px 24px 22px; }
  .feature .plus-box { right: 18px; }
  .feature__title { font-size: clamp(23px, 2.05vw, 28px); }
  .feature__text { font-size: clamp(15px, 1.3vw, 18px); }
  .xpanel { padding-right: 96px; }
}

/* Filas con imagen (dos columnas): el texto se apoya en el borde inferior de la imagen
   y el «+» escala con ella para no pisar nunca el título */
@media (min-width: 640px) {
  .row { align-items: stretch; }
  .row__body { padding: 0; justify-content: flex-end; }
  .row__title { padding-right: 0; }
}
@media (min-width: 860px) and (max-width: 1399px) {
  .row__body .plus-box { top: clamp(16px, 1.8vw, 25px); width: clamp(46px, 4.85vw, 68px); height: clamp(46px, 4.85vw, 68px); border-radius: clamp(10px, 1.07vw, 15px); }
  .row__body .plus-box::before, .row__body .plus-box::after { height: 3px; }
}

/* Ajuste al píxel: la línea base de la última línea de texto coincide con el borde inferior de la imagen
   (Montserrat: descendente 0,262 em; interlineado 1,16 → 0,227 em bajo la línea base) */
@media (min-width: 640px) {
  .row__text { margin-bottom: -.227em; }
}

/* Dentro de la tarjeta el panel no se transforma: así el botón de cerrar se coloca respecto a la tarjeta */
@keyframes xFade { from { opacity: 0; } to { opacity: 1; } }
.xpanel--inline { animation: xFade .25s ease both; }

/* «Descarga la App» en escritorio: mismo botón que junto a la hamburguesa (menta, sin borde) */
.nav__cta {
  height: 44px; min-width: 0; padding: 0 16px;
  border: 0; border-radius: 14px;
  background: #A9CEC8; color: #1D2A38;
  font-size: 15px; font-weight: 600;
}
.nav__cta:hover { background: #BBDAD5; color: #1D2A38; }

/* Filas: el «+» (y por tanto su botón de cerrar) 20 px más a la izquierda */
@media (min-width: 640px) { .row__body .plus-box { right: 24px; } }

/* Cerrar = el mismo «+» girado 45° hasta formar una X (en toda la web) */
.xclose svg { display: none; }
.plus-box--up.xclose { display: block; }
.plus-box--up.xclose::before, .plus-box--up.xclose::after { display: block; height: var(--bar, 4px); }
.xclose::before { transform: translate(-50%, -50%) rotate(45deg); animation: xTurnA .32s cubic-bezier(.2,.8,.2,1) both; }
.xclose::after { transform: translate(-50%, -50%) rotate(135deg); animation: xTurnB .32s cubic-bezier(.2,.8,.2,1) both; }
@keyframes xTurnA { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(45deg); } }
@keyframes xTurnB { from { transform: translate(-50%, -50%) rotate(90deg); } to { transform: translate(-50%, -50%) rotate(135deg); } }
@media (prefers-reduced-motion: reduce) { .xclose::before, .xclose::after { animation: none; } }

/* Panel de las tarjetas de arriba (a todo el ancho): el cierre va en el mismo sitio y con el mismo
   tamaño que en las filas de «Interacciones» */
.features-wrap > .xpanel .xclose { top: 20px; right: 24px; width: 58px; height: 58px; border-radius: 15px; --bar: 4px; }
@media (min-width: 1200px) and (max-width: 1399px) { .features-wrap > .xpanel .xclose { right: 18px; } }
@media (max-width: 859px) { .features-wrap > .xpanel .xclose { top: 24px; right: 22px; } }
/* Foco del botón de cerrar: relleno suave en lugar de un segundo marco */
button.plus-box.xclose:focus-visible { outline: none; background: rgba(255, 255, 255, .16); }

/* «+» y X de las filas y del panel de tarjetas: mismo margen arriba que a la derecha (24 px) */
@media (min-width: 640px) { .row__body .plus-box { top: 24px; right: 24px; } }
/* (el cierre del panel de arriba ocupa el mismo sitio y tamaño que el + de la tarjeta) */

/* Texto de las filas: 20 px de aire bajo la última línea (sube el bloque 20 px) */
@media (min-width: 640px) { .row__body { padding-bottom: 20px; } }
a.np-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
@media (min-width: 640px) { .row__body { padding-bottom: 50px; } }
/* En anchos justos, el título deja libre la columna del «+» */
@media (min-width: 640px) and (max-width: 719px) { .row__title { padding-right: 82px; } }

/* Línea separadora: mismo tono que el fondo del menú superior */
.divider { border-top-color: var(--glass); }

/* Encabezados del pie en el rosa de las tarjetas */
.footer__head { color: var(--pink-card); }
a.newsletter { text-decoration: none; color: inherit; }

/* Cabecera fija: se queda arriba al hacer scroll */
.nav { position: sticky; top: 12px; z-index: 40; }
/* Mismo tono que antes, pero opaco: el contenido no se transparenta al pasar por debajo */
.nav { background: linear-gradient(var(--glass), var(--glass)), var(--bg); }
/* La capa de las tarjetas aparece sin animación, en el mismo sitio y tamaño que las tarjetas */
.features-wrap > .xpanel { animation: none !important; }
/* Capas de los «+»: aparecen sin animación y con el texto centrado en el alto */
.xpanel { animation: none !important; }
.xpanel:not(.xpanel--inline) { align-items: center; padding-top: 34px; padding-bottom: 34px; }

/* El móvil del héroe es la demo funcional de la app */
.phone__screen--live { background: #223445; }
.phone__app { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; background: #223445; }

/* Suscripción: dos columnas alineadas fila a fila (subgrid) y los botones a la misma altura */
.np-plans { grid-template-rows: auto auto 1fr auto auto; row-gap: 0; }
.np-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
.np-list { font-size: 17px; line-height: 1.38; margin-top: 14px; display: grid; gap: 9px; align-content: start; }
.np-list li { text-wrap: pretty; max-width: 26em; }
.np-actions { margin-top: 28px; align-self: end; }
@media (max-width: 1023px) { .np-plans { grid-template-rows: none; } .np-plan { grid-row: auto; display: block; } }

/* Frase bajo las tiendas: mismo tamaño que el subtítulo, en negro */
.hero__gift { max-width: 640px; margin-top: 28px; color: #000; font-size: clamp(21px, 2.29vw, 32px); font-weight: 400; line-height: 1.18; }
.hero__gift--below { display: none; }
.hero__gift-link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: .06em; }
@media (max-width: 859px) {
  .hero__text .hero__gift { display: none; }
  .hero__gift--below { display: block; text-align: center; margin: 22px auto 0; }
}
/* La cabecera fija se mantiene hasta el pie de página */
.nav-stick { position: sticky; top: 12px; z-index: 40; }
.nav-stick .nav { position: relative; top: auto; }

/* Prueba: pie de página con fondo blanco y texto en azul oscuro */
.footer { background: #fff; color: #263443; }
.footer a, .footer__logo span, .footer__legal { color: #263443; }
.footer__logo img { filter: brightness(0) saturate(100%) invert(17%) sepia(18%) saturate(1200%) hue-rotate(172deg) brightness(92%); }
.footer__head { color: #D28F96; }
.footer .newsletter, .footer .newsletter__arrow { border-color: #263443; }
.footer .newsletter:hover { background: rgba(38, 52, 67, .06); }
.footer__legal { border-top-color: rgba(38, 52, 67, .18); }

/* Términos y condiciones: casilla sin marcar por defecto; el texto abre los términos */
.np-terms { cursor: default; }
.np-terms:hover { text-decoration: none; }
.np-check, .np-terms__link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.np-check { display: grid; place-items: center; }
.np-check svg path { opacity: 0; transition: opacity .2s ease; }
.np-check[aria-pressed="true"] svg path { opacity: 1; }
.np-terms__link:hover { text-decoration: underline; }

/* Portada: los botones de las tiendas 40 px más abajo */
.hero__text .stores:not(.stores--lg) { margin-top: 92px; }
@media (max-width: 859px) { .hero__text .stores:not(.stores--lg) { margin-top: 72px; } }
