/* ==========================================================================
   gmbcactus.shop — landing tarjetas NFC
   Los valores replican 1:1 el handoff de diseño (hifi). No "redondear".
   ========================================================================== */

:root {
  /* Color */
  --blue: #0b4ee8;
  --blue-hover: #0838b0;
  --blue-light: #7fa4ff;
  --blue-pale: #bfd2ff;
  --blue-deep: #243a6e;
  --ink: #0b0b0c;
  --ink-hover: #2a2a2e;
  --text-2: #6e7278;
  --text-3: #9aa0a6;
  --surface: #f5f6f8;
  --border: #ecedef;
  --num-grey: #e3e5e9;
  --bg: #fff;

  /* Google (animación del H1) */
  --g-blue: #4285f4;
  --g-red: #ea4335;
  --g-yellow: #fbbc05;
  --g-green: #34a853;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --page-max: 520px;
  --pad-x: 22px;
}

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

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-hover);
}

a:focus-visible,
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------- Contenedor --- */

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

.section {
  padding: 44px var(--pad-x);
  border-top: 1px solid var(--border);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
}

.wordmark {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wordmark__tld {
  color: var(--text-3);
}

.site-header__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ------------------------------------------------------------- Botones --- */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.18s ease;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

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

/* Variante del hero: caja más angosta, texto menor y centrado en 2 líneas. */
.btn--hero {
  padding: 0 16px;
  font-size: 15px;
  text-align: center;
}

.btn--secondary {
  min-height: 52px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
}

.btn--secondary:hover {
  background: var(--ink-hover);
  color: #fff;
}

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

.hero {
  padding: 14px var(--pad-x) 0;
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__title {
  margin: 0;
  font-size: 42px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.hero__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 8px;
}

.hero__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero__delivery {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

/* Tarjeta 3D: sube sobre el H1 y se sangra fuera del padding. Intencional. */
.hero__card {
  position: relative;
  z-index: 3;
  flex: 0 0 48%;
  height: 360px;
  margin-top: -84px;
  margin-right: -18px;
}

.card-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

/* --------------------------------------------------------------- Precio --- */

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
}

.price__now {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.price__currency {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.price__was {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-3);
  text-decoration: line-through;
}

.price__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------- Sección "Quien tiene" --- */

.section__title {
  margin: 0 0 22px;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.reasons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reasons__row {
  display: flex;
  gap: 12px;
}

.reason {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

/* El número grande va DETRÁS del texto a propósito. */
.reason__num {
  position: absolute;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.reason__body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.reason__pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgb(255 255 255 / 16%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reason__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reason__title {
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
}

.reason__text {
  margin: 0;
  font-weight: 500;
  text-wrap: pretty;
}

/* 01 — ancho completo, azul */
.reason--lead {
  background: var(--blue);
  color: #fff;
  padding: 22px 22px 24px;
}

.reason--lead .reason__num {
  top: 6px;
  right: 16px;
  font-size: 74px;
  color: rgb(255 255 255 / 16%);
}

.reason--lead .reason__body {
  gap: 9px;
  max-width: 78%;
}

.reason--lead .reason__title {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.reason--lead .reason__text {
  font-size: 15px;
  line-height: 1.5;
  color: rgb(255 255 255 / 78%);
}

/* 02 y 03 — mitad y mitad */
.reason--half {
  flex: 1 1 0;
  padding: 20px 18px 22px;
}

.reason--half .reason__num {
  top: 4px;
  right: 10px;
  font-size: 56px;
}

.reason--half .reason__body {
  gap: 8px;
}

.reason--half .reason__title {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.reason--half .reason__text {
  font-size: 14px;
  line-height: 1.45;
}

.reason--light {
  background: var(--surface);
}

.reason--light .reason__num {
  color: var(--num-grey);
}

.reason--light .reason__kicker {
  color: var(--blue);
}

.reason--light .reason__text {
  color: var(--text-2);
}

.reason--dark {
  background: var(--ink);
  color: #fff;
}

.reason--dark .reason__num {
  color: rgb(255 255 255 / 10%);
}

.reason--dark .reason__kicker {
  color: var(--blue-light);
}

.reason--dark .reason__text {
  color: rgb(255 255 255 / 70%);
}

/* ------------------------------------------------- Sección "Otros usos" --- */

.uses__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  text-align: center;
}

.pill {
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.uses__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.uses__lead {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-2);
  text-wrap: pretty;
}

.uses__grid {
  display: flex;
  gap: 12px;
}

.uses__col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uses__visual {
  position: relative;
  z-index: 3;
  height: 230px;
  margin: 0 -8px;
}

.uses__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uses__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.uses__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-2);
  text-wrap: pretty;
}

.cta-block {
  margin-top: 24px;
  padding: 16px 14px;
  border-radius: 18px;
  background: var(--surface);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  padding: 10px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-hover);
}

/* ------------------------------------------------ Sección compatibilidad --- */

.section__title--wide {
  margin-bottom: 26px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.checks__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.checks__item--wide {
  flex: 1 1 100%;
}

.checks__item--surface {
  background: var(--surface);
}

.check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.check--ink {
  background: var(--ink);
}

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

.final {
  padding-top: 52px;
  padding-bottom: 52px;
}

.final__title {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.final__lead {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-2);
}

/* --------------------------------------------------------- Revendedores --- */

.resellers {
  margin: 0 14px 14px;
  padding: 36px var(--pad-x);
  border-radius: 22px;
  background: var(--surface);
}

.resellers__kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.resellers__title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.resellers__lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-2);
  text-wrap: pretty;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad-x) 40px;
  border-top: 1px solid var(--border);
}

.site-footer__place {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
}

/* ---------------------------------------------------------- Animaciones --- */

/* Cada letra de "reseñas" recorre los colores de Google. Una sola pasada. */
@keyframes gcol {
  0% {
    color: var(--ink);
  }
  12% {
    color: var(--g-blue);
  }
  30% {
    color: var(--g-red);
  }
  48% {
    color: var(--g-yellow);
  }
  66% {
    color: var(--g-green);
  }
  84% {
    color: var(--g-blue);
  }
  100% {
    color: var(--ink);
  }
}

.gl {
  animation: gcol 3.4s ease-in-out 1 both;
}

.gl:nth-child(1) {
  animation-delay: 0.25s;
}
.gl:nth-child(2) {
  animation-delay: 0.35s;
}
.gl:nth-child(3) {
  animation-delay: 0.45s;
}
.gl:nth-child(4) {
  animation-delay: 0.55s;
}
.gl:nth-child(5) {
  animation-delay: 0.65s;
}
.gl:nth-child(6) {
  animation-delay: 0.75s;
}
.gl:nth-child(7) {
  animation-delay: 0.85s;
}

/* Brillo metálico recorriendo el precio, en loop. */
@keyframes priceShine {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: 0% 0;
  }
}

.price-shine {
  background: linear-gradient(
    105deg,
    #0b0b0c 30%,
    #243a6e 42%,
    #0b4ee8 47%,
    #bfd2ff 50%,
    #0b4ee8 53%,
    #243a6e 58%,
    #0b0b0c 70%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: priceShine 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .gl {
    animation: none;
  }

  /* Sin brillo: el precio vuelve a ser tinta plana y legible. */
  .price-shine {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--ink);
    animation: none;
  }

  .btn {
    transition: none;
  }
}
