/* =========================================================
   VUVA — Próximamente (tema claro)
   Paleta: blanco + escala de grises + negro + naranja eléctrico
   ========================================================= */

:root {
  /* Color */
  --bg:         #ffffff;
  --surface:    #f5f5f6;
  --surface-2:  #ececee;
  --line:       #e4e4e7;
  --text:       #111111;
  --text-2:     #4b4b52;
  --muted:      #74747c;
  --black:      #111111;
  --orange:     #ff5c00;   /* fondos y detalles */
  --orange-ink: #c2410c;   /* texto naranja legible sobre blanco */
  --orange-soft:#fff1e8;
  --photo-bg:   #e2e3e6;   /* igual al fondo de la foto del producto */

  /* Tipografía: la del logo se mantiene, el resto es simple y legible */
  --font-logo: "Unbounded", system-ui, sans-serif;
  --font:      "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max:    1160px;
  --radius: 20px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

::selection { background: var(--orange); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font: 700 1rem var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .15s;
}

.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn--primary {
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 8px 24px -10px rgba(255, 92, 0, 0.7);
}

.btn--primary:hover { background: #ff7424; box-shadow: 0 10px 28px -8px rgba(255, 92, 0, 0.7); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

.btn--small { height: 38px; padding: 0 18px; font-size: 0.9rem; }

.btn[disabled] { opacity: .6; cursor: progress; }

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

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  text-decoration: none;
}

.logo__mark { width: 24px; height: 24px; }
.logo__dot  { fill: var(--orange); }

.logo__text {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.logo--small .logo__mark { width: 20px; height: 20px; }
.logo--small .logo__text { font-size: 0.95rem; }

/* ---------- Hero: el producto primero ---------- */

.hero { padding: clamp(20px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.product {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  padding: clamp(16px, 4vw, 40px);
  border-radius: 28px;
  background: radial-gradient(ellipse at 50% 40%, #eeeff2 0%, var(--photo-bg) 70%);
  overflow: hidden;
}

/* La foto se funde con el fondo de la tarjeta */
.product img {
  width: 100%;
  height: auto;
  max-width: 520px;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
          mask-composite: intersect;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Mini batería cargando dentro de la etiqueta */
.badge__battery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  width: 20px;
  height: 11px;
  padding: 1.5px;
  border: 1.5px solid #fff;
  border-radius: 3px;
}

.badge__battery::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 2px;
  height: 5px;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 0 1px 1px 0;
}

.badge__battery i {
  border-radius: 1px;
  background: var(--orange);
  opacity: 0;
  animation: cell 1.8s infinite;
}

.badge__battery i:nth-child(2) { animation-delay: .3s; }
.badge__battery i:nth-child(3) { animation-delay: .6s; }

@keyframes cell {
  0%       { opacity: 0; }
  15%, 75% { opacity: 1; }
  100%     { opacity: 0; }
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange-ink);
}

.hero__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
}

.hero__title span { color: var(--orange); }

.hero__lead {
  margin: 16px 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--text-2);
}

.quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.quick li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--text-2);
}

.quick strong { color: var(--text); font-weight: 700; }

.quick svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--orange-ink);
}

/* ---------- Secciones ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }

.section--alt { background: var(--surface); }

.section__head { max-width: 40rem; margin-bottom: 36px; }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
}

.section__head p {
  margin: 10px 0 0;
  font-size: 1.05rem;
  color: var(--text-2);
}

/* ---------- Tarjetas de funciones ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange-ink);
}

.card__icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.1rem; font-weight: 700; }

.card p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--text-2);
}

/* ---------- Ficha técnica + aviso ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.specs { margin: 24px 0 0; }

.specs div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.specs div:first-child { border-top: 1px solid var(--line); }

.specs dt { color: var(--muted); }

.specs dd { margin: 0; font-weight: 600; }

.notify-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: var(--black);
  color: #fff;
}

.notify-card h2 { color: #fff; }

.notify-card > p {
  margin: 12px 0 0;
  color: #c9c9cf;
}

.notify { margin-top: 24px; }

.notify label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e7e7ea;
}

.notify__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notify input {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1.5px solid #3a3a3f;
  border-radius: 999px;
  background: #1c1c1f;
  color: #fff;
  font: 500 1rem var(--font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.notify input::placeholder { color: #8a8a92; }

.notify input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.25);
}

.notify input[aria-invalid="true"] { border-color: #ff6b6f; }

.notify__msg {
  min-height: 1.5em;
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #c9c9cf;
}

.notify__msg.is-ok    { color: #ffb27f; }
.notify__msg.is-error { color: #ff8a8d; }

.notify__note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #8a8a92;
}

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

.foot {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.social { display: flex; gap: 8px; }

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  transition: background .2s, color .2s;
}

.social a:hover,
.social a:focus-visible {
  background: var(--orange);
  color: var(--black);
  outline: none;
}

.social svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hero__grid,
  .split { grid-template-columns: 1fr; }

  .product { aspect-ratio: auto; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }

  .quick { grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }

  .hero__info .btn--primary { width: 100%; }

  .cards { grid-template-columns: 1fr; }

  .specs div { grid-template-columns: 6.5rem 1fr; }

  .notify .btn { width: 100%; }

  .foot__inner { flex-direction: column; text-align: center; }
}

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