/* ===========================================================================
   SellYourConsoles.com — Hoja de estilos única
   ---------------------------------------------------------------------------
   PALETA: sacada directamente de los píxeles del logo.
     Verde  #51B035   (la moneda del dólar y la palabra CONSOLES)
     Tinta  #10151C   (el contorno del mando y SELL YOUR)
     Blanco #FFFFFF

   ESTILO: landing page clara y profesional, como las webs de recompra
   (Decluttr, Gazelle). Fondo blanco, secciones alternas en gris muy claro,
   cabecera y pie en tinta oscura, verde solo para lo que importa: botones,
   precios y detalles. La confianza vende: quien va a meter su consola en una
   caja y mandarla por correo necesita ver una web seria, no un videojuego.

   El guiño gamer se conserva en los detalles: la fuente pixelada en los
   precios y en los números de paso, y los bordes poco redondeados.

   ---------------------------------------------------------------------------
   ÍNDICE (busca el número entre corchetes con Ctrl+F):
     [1]  Variables ← EMPIEZA AQUÍ PARA CAMBIAR COLORES
     [2]  Reset y base
     [3]  Layout: contenedores y títulos de sección
     [4]  Botones
     [5]  Cabecera + navegación + idioma
     [6]  Hero
     [7]  Barra de confianza (estadísticas)
     [8]  Herramienta: pasos y paneles
     [9]  Tarjetas de selección
     [10] Tarjeta de oferta
     [11] Formularios
     [12] Instrucciones de envío
     [13] Confirmación
     [14] Qué compramos
     [15] Cómo funciona
     [16] Opiniones
     [17] Presupuesto a medida
     [18] FAQ
     [19] Llamada final
     [20] Pie de página
     [21] Responsive
     [22] Accesibilidad y utilidades
   =========================================================================== */


/* =========================================================
   [1] VARIABLES — cambia esto y cambia toda la web
   ========================================================= */
:root {
  /* ---- Colores de marca (medidos sobre el logo) ----

     NOTA DE ACCESIBILIDAD (importante, no lo cambies a la ligera):
     El verde del logo es claro. Texto BLANCO encima solo da un contraste de
     2,76:1, por debajo del mínimo legal de accesibilidad (WCAG AA pide 4,5:1).
     Por eso todo lo que va sobre verde lleva texto en TINTA, no en blanco:
     así llegamos a 6,64:1 y además es la pareja de colores del propio logo
     (letras verdes con contorno oscuro). Si algún día pones texto blanco
     sobre verde, oscurece antes el verde hasta #35771F o más. */
  --green:        #51B035;   /* Verde exacto del logo */
  --green-hover:  #5CC03D;   /* Un punto más claro: hover de botones */
  --green-dark:   #3E8C28;   /* Verde apagado: bordes y detalles */
  --green-darker: #2F6B1E;   /* Texto verde sobre fondo claro (6,48:1) */
  --green-soft:   #EDF7E9;   /* Fondo de avisos y bloques suaves */
  --green-line:   #CBE7C0;   /* Bordes suaves en verde */

  --ink:          #10151C;   /* Tinta del logo: textos y cabecera */
  --ink-2:        #1B2430;   /* Tinta un punto más clara: hover y degradados */

  --text:         #10151C;   /* Texto principal */
  --muted:        #5A6472;   /* Texto secundario */
  --muted-2:      #8A93A0;   /* Pistas y textos terciarios */

  --white:        #FFFFFF;
  --bg-alt:       #F5F7F6;   /* Fondo de secciones alternas */
  --line:         #E3E7E4;   /* Bordes */
  --line-2:       #EFF2F0;   /* Bordes muy suaves */

  --red:          #C93030;   /* Errores */
  --amber:        #F0A202;   /* Estrellas de las valoraciones */

  /* ---- Tipografías ----
     Cero fuentes externas: no hay peticiones bloqueantes ni parpadeo de
     texto. Si quieres la pixel-font real, mira la nota de la sección [4]
     del archivo anterior — sigue valiendo: @font-face en assets/fonts/. */
  --font-body:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-pixel: "Press Start 2P", ui-monospace, "Courier New", monospace;

  /* ---- Medidas ---- */
  --wrap:    1160px;
  --radius:  10px;           /* Tarjetas */
  --radius-s: 6px;           /* Botones y campos */

  /* ---- Sombras: suaves y en tono tinta, nunca negro puro ---- */
  --sh-sm: 0 1px 2px rgba(16,21,28,.06), 0 1px 3px rgba(16,21,28,.05);
  --sh-md: 0 2px 4px rgba(16,21,28,.05), 0 8px 20px rgba(16,21,28,.07);
  --sh-lg: 0 4px 8px rgba(16,21,28,.06), 0 16px 40px rgba(16,21,28,.10);
  --sh-green: 0 6px 20px rgba(81,176,53,.28);
}


/* =========================================================
   [2] RESET Y BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;      /* La cabecera fija no tapa los anclajes */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-darker); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }


/* =========================================================
   [3] LAYOUT
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 820px; }

section { padding: 84px 0; }
.sec-alt { background: var(--bg-alt); }      /* Sección con fondo gris */
.sec-ink { background: var(--ink); color: var(--white); }

/* Cabecera de sección: etiqueta pequeña + título + subtítulo */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }

.sec-kicker {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-darker);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 100px;
  padding: 7px 14px;
  margin-bottom: 18px;
}
.sec-ink .sec-kicker {
  color: var(--green);
  background: rgba(81,176,53,.14);
  border-color: rgba(81,176,53,.35);
}

.section-title { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 14px; }
.section-sub   { color: var(--muted); font-size: 18px; margin: 0; }
.sec-ink .section-sub { color: rgba(255,255,255,.72); }


/* =========================================================
   [4] BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.01em;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }

/* Principal: verde sólido con texto en tinta (ver nota de la sección [1]).
   Es el botón que queremos que pulsen. */
.btn-primary {
  background: var(--green);
  color: var(--ink);
  box-shadow: var(--sh-green);
}
.btn-primary:hover  { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(81,176,53,.34); }
.btn-primary:active { transform: translateY(0); background: var(--green-dark); color: var(--white); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Secundario: tinta sólida */
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); transform: translateY(-2px); }

/* Contorno: sobre fondo claro */
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.btn-outline:hover { border-color: var(--green); color: var(--green-darker); }

/* Contorno sobre fondo oscuro */
.sec-ink .btn-outline,
.hero-dark .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  box-shadow: none;
}
.sec-ink .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

/* Discreto: para "volver atrás" */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--ink); background: var(--bg-alt); }

.btn-lg    { font-size: 17px; padding: 17px 34px; }
.btn-sm    { font-size: 14px; padding: 10px 18px; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }


/* =========================================================
   [5] CABECERA
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}
.logo { flex: 0 0 auto; }
.logo img { max-height: 44px; width: auto; }

/* Navegación: se oculta en móvil, no merece la pena un menú hamburguesa
   para tres enlaces que además existen más abajo en la propia página. */
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color .15s;
}
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--white);
}
.lang-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 11px;
  background: transparent;
  color: var(--muted);
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--ink); color: var(--white); }


/* =========================================================
   [6] HERO
   ========================================================= */
.hero {
  padding: 76px 0 68px;
  background:
    radial-gradient(760px 380px at 82% -8%, rgba(81,176,53,.13), transparent 62%),
    linear-gradient(180deg, var(--white) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-darker);
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: 100px;
  padding: 7px 15px;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  /* Puntito que late: señal de "en directo, ahora mismo" */
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero-title {
  font-size: clamp(36px, 5.6vw, 60px);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--green-darker);
  /* Subrayado grueso hecho con degradado, más bonito que text-decoration */
  background: linear-gradient(180deg, transparent 62%, rgba(81,176,53,.28) 62%);
}
.hero-sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

/* Fila de garantías bajo los botones */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}
.hero-badges li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  background: var(--green-soft);
  color: var(--green-darker);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

/* --- Tarjeta ilustrativa de la derecha --- */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-lg);
  padding: 26px;
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.hero-card-top span { font-size: 13px; color: var(--muted-2); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.hero-card-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }

.hero-quote { text-align: center; padding: 10px 0 18px; }
.hero-quote-label { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.hero-quote-price {
  font-family: var(--font-pixel);
  font-size: 42px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero-quote-item { font-size: 14px; color: var(--muted); margin: 0; }

.hero-card-steps { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.hero-card-steps li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--muted); }
.hero-card-steps b {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--green-darker);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   [7] BARRA DE CONFIANZA
   ========================================================= */
.trust { padding: 0; border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);       /* El hueco entre celdas hace de línea */
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.trust-item { background: var(--white); padding: 30px 18px; text-align: center; }
.trust-num {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.trust-num .u { color: var(--green); }
.trust-label { font-size: 14px; color: var(--muted); margin: 0; }
.trust-stars { color: var(--amber); letter-spacing: 2px; font-size: 17px; }


/* =========================================================
   [8] HERRAMIENTA: pasos y paneles
   ========================================================= */
.tool { background: var(--bg-alt); }

.tool-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-md);
  padding: 38px;
}

/* --- Barra de progreso --- */
.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 36px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  transition: all .2s ease;
}
.step-num {
  font-family: var(--font-pixel);
  font-size: 9px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--muted-2);
}
/* Paso actual: pastilla verde clara */
.step.is-active { color: var(--ink); border-color: var(--green); background: var(--green-soft); }
.step.is-active .step-num { background: var(--green); color: var(--ink); }

/* Pasos ya completados: el número se sustituye por un check.
   Truco: dejamos el número transparente y dibujamos el ✓ encima con
   ::before en posición absoluta. Así no hace falta tocar el HTML. */
.step.is-done { color: var(--muted); border-color: var(--green-line); }
.step.is-done .step-num {
  position: relative;
  background: var(--green-soft);
  color: transparent;
}
.step.is-done .step-num::before {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  color: var(--green-darker);
}

/* --- Paneles: solo uno visible ---
   .panel-stack es solo el contenedor de los cuatro pasos. No necesita
   estilo propio, pero lo declaramos para que quede claro que existe. */
.panel-stack { display: block; }
.panel { display: none; }
.panel.is-active { display: block; animation: fadeUp .3s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.pick-block { margin-bottom: 36px; }
.pick-block:last-child { margin-bottom: 0; }
.pick-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 18px;
}
.pick-step {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-pixel);
  font-size: 11px;
}


/* =========================================================
   [9] TARJETAS DE SELECCIÓN
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.cond-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.pick-card {
  position: relative;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.pick-card:hover {
  border-color: var(--green-line);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.pick-card.is-selected {
  border-color: var(--green);
  background: var(--green-soft);
  box-shadow: var(--sh-md);
}
/* Check en la esquina de la elegida */
.pick-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green);
  color: var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.pick-card .card-icon {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--white);
  background: var(--ink);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  margin-bottom: 14px;
}
.pick-card.is-selected .card-icon { background: var(--green); }

.pick-card .card-name { display: block; font-weight: 700; font-size: 16px; }
.pick-card .card-desc { display: block; color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.pick-card .card-price {
  display: block;
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--green-darker);
  margin-top: 12px;
}

.load-error { color: var(--red); text-align: center; font-weight: 600; }


/* =========================================================
   [10] TARJETA DE OFERTA
   ========================================================= */
.offer-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 16px;
  padding: 44px 30px;
  box-shadow: var(--sh-lg);
}
.offer-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 14px;
}
.offer-price {
  font-family: var(--font-pixel);
  font-size: clamp(40px, 9vw, 62px);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.1;
}
.offer-item { font-size: 17px; font-weight: 700; margin-bottom: 26px; }
.offer-item span { color: var(--muted); font-weight: 500; font-size: 15px; }

.offer-perks {
  display: grid;
  gap: 10px;
  margin: 0 auto 30px;
  max-width: 320px;
  text-align: left;
  padding: 20px;
  background: var(--green-soft);
  border-radius: var(--radius);
}
.offer-perks li { font-size: 14.5px; color: var(--ink); padding-left: 26px; position: relative; font-weight: 600; }
.offer-perks li::before {
  content: "✓";
  color: var(--green-darker);
  position: absolute;
  left: 0;
  font-weight: 800;
}
.offer-actions { display: grid; gap: 10px; }


/* =========================================================
   [11] FORMULARIOS
   ========================================================= */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: var(--sh-sm);
}
.form-title { font-size: 22px; margin-bottom: 8px; }
.form-sub   { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

/* Resumen del artículo dentro del checkout */
.summary {
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 24px;
}
.summary strong { font-family: var(--font-pixel); font-size: 20px; color: var(--ink); display: block; }
.summary span   { color: var(--muted); display: block; margin-top: 6px; font-size: 14px; }

.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  font: inherit;
  font-size: 16px;              /* 16px evita el zoom automático de iOS */
  padding: 13px 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(81,176,53,.14);
}
.field input.has-error,
.field textarea.has-error { border-color: var(--red); background: #FDF4F4; }

.field-hint { color: var(--muted-2); font-size: 13px; margin: 7px 0 0; }

/* Input de archivos */
input[type="file"] { padding: 11px; cursor: pointer; background: var(--bg-alt); }
input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: var(--radius-s);
  padding: 9px 15px;
  margin-right: 13px;
  cursor: pointer;
}
input[type="file"]::file-selector-button:hover { background: var(--green); }

.file-list { margin-top: 12px; display: grid; gap: 6px; }
.file-list li {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-alt);
  border-radius: var(--radius-s);
  padding: 8px 12px;
}

/* Mensajes de estado */
.form-msg { font-size: 14.5px; margin: 8px 0 0; min-height: 1px; font-weight: 600; }
.form-msg.is-error { color: var(--red); }
.form-msg.is-ok    { color: var(--green-darker); }

.form-legal { color: var(--muted-2); font-size: 12.5px; margin: 16px 0 0; text-align: center; }

/* HONEYPOT: fuera de pantalla. Invisible para personas, visible para bots.
   No usamos display:none porque algunos bots lo detectan y lo saltan. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* =========================================================
   [12] INSTRUCCIONES DE ENVÍO
   ========================================================= */
.ship-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 30px;
  position: sticky;
  top: 96px;
}
.ship-title { font-size: 19px; margin-bottom: 24px; color: var(--white); }
.ship-title::before {
  content: "📦";
  margin-right: 9px;
}
.ship-steps { display: grid; gap: 20px; }
.ship-steps li { display: flex; gap: 15px; align-items: flex-start; }
.ship-num {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-pixel);
  font-size: 10px;
  border-radius: 50%;
}
.ship-steps strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.ship-steps p { color: rgba(255,255,255,.68); font-size: 14px; margin: 0; line-height: 1.55; }

.ship-note {
  margin: 26px 0 0;
  padding: 14px 16px;
  background: rgba(81,176,53,.14);
  border-radius: var(--radius-s);
  color: rgba(255,255,255,.82);
  font-size: 13.5px;
}


/* =========================================================
   [13] CONFIRMACIÓN
   ========================================================= */
.done-card {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
}
.done-icon {
  width: 76px; height: 76px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  background: var(--green);
  color: var(--ink);
  font-size: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--green-soft);
}
.done-title { font-size: 27px; }
.done-text  { color: var(--muted); }
.done-recap {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 18px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--muted);
}
.done-recap strong { font-family: var(--font-pixel); font-size: 20px; color: var(--ink); }


/* =========================================================
   [14] QUÉ COMPRAMOS
   ========================================================= */
.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 16px;
}
.buy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.buy-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--green-line); }
.buy-ico { font-size: 30px; display: block; margin-bottom: 12px; }
.buy-card h3 { font-size: 16.5px; margin-bottom: 5px; }
.buy-card p  { font-size: 13.5px; color: var(--muted); margin: 0; }

.buy-note {
  text-align: center;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}


/* =========================================================
   [15] CÓMO FUNCIONA
   ========================================================= */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  position: relative;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
}
.how-num {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--ink);
  background: var(--green);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
}
.how-card h3 { font-size: 20px; margin-bottom: 9px; }
.how-card p  { color: var(--muted); font-size: 15.5px; margin: 0; }


/* =========================================================
   [16] OPINIONES
   ========================================================= */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.rev-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.rev-stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.rev-text  { font-size: 16px; color: var(--text); margin-bottom: 20px; flex: 1; }
.rev-who   { display: flex; align-items: center; gap: 12px; }
.rev-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 15px;
  flex: 0 0 40px;
}
.rev-name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.rev-meta { color: var(--muted-2); font-size: 13px; line-height: 1.3; }


/* =========================================================
   [17] PRESUPUESTO A MEDIDA
   ========================================================= */
.other-cta { text-align: center; }
.custom-form { max-width: 700px; margin: 34px auto 0; text-align: left; }


/* =========================================================
   [18] FAQ
   ========================================================= */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--sh-sm);
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--green-line); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 26px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  color: var(--green-darker);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  transition: background .15s;
}
.faq-item[open] summary::after { content: "−"; background: var(--green); color: var(--ink); }
.faq-item p { color: var(--muted); font-size: 16px; padding: 0 24px 22px; margin: 0; }


/* =========================================================
   [19] LLAMADA FINAL
   ========================================================= */
.final-cta { text-align: center; }
.final-cta .section-title { color: var(--white); }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }


/* =========================================================
   [20] PIE DE PÁGINA
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.68);
  padding: 60px 0 30px;
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { max-width: 330px; }
.footer-logo {
  font-family: var(--font-pixel);
  font-size: 15px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-logo .dot { color: var(--green); }
.footer-tag { font-size: 14.5px; margin: 0; }

.footer-col h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.68); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--green); text-decoration: none; }

.footer-legal {
  padding-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255,255,255,.45);
  margin: 0;
}
.footer-legal a { color: rgba(255,255,255,.6); }


/* =========================================================
   [21] RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub      { max-width: none; }
  .hero-card     { max-width: 460px; }
  .checkout-grid { grid-template-columns: 1fr; }
  /* En móvil las instrucciones van ARRIBA: el visitante entiende el
     proceso antes de que le pidamos sus datos. */
  .ship-card     { position: static; order: -1; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .footer-brand  { grid-column: 1 / -1; max-width: none; }
  .main-nav      { display: none; }
}

@media (max-width: 700px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body      { font-size: 16px; }
  section   { padding: 56px 0; }
  .wrap     { padding: 0 18px; }
  .hero     { padding: 48px 0 44px; }
  .hero-sub { font-size: 17px; }
  .sec-head { margin-bottom: 34px; }

  .tool-shell { padding: 22px 18px; border-radius: 12px; }
  .form-card, .ship-card, .offer-card { padding: 24px 20px; }

  .field-row { grid-template-columns: 1fr; }

  /* La barra de pasos se queda solo con los números para caber en una línea */
  .steps { gap: 6px; }
  .step  { padding: 8px 11px; }
  .step-label { display: none; }

  .card-grid { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
  .btn-lg    { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .faq-item summary { padding: 16px 18px; font-size: 16px; }
  .faq-item p       { padding: 0 18px 18px; font-size: 15px; }
}


/* =========================================================
   [22] ACCESIBILIDAD Y UTILIDADES
   ========================================================= */
.is-hidden { display: none !important; }

/* Foco visible al navegar con teclado (requisito de accesibilidad) */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respeta a quien ha desactivado las animaciones en su sistema */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Impresión */
@media print {
  .site-header, .hero, .btn, .site-footer, .trust { display: none; }
  body { font-size: 12pt; }
  .tool-shell, .form-card { box-shadow: none; border: 1px solid #ccc; }
}
