/* Páginas públicas para Google (3-nov): misma gráfica que la portada (WelcomeScreen) y los tokens de
   src/styles/tokens.css. Son HTML simple para que Google las lea completas, sin JavaScript. */
:root {
  --orange: #EC6819;
  --orange-dark: #D45A10;
  --cyan: #90BDD3;
  --bg: #0B0B0C;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: #1A1A1F;
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --text: #FAFAFA;
  --text-2: #E0E0E0;
  --muted: rgba(255, 255, 255, 0.62);
  --cream: #F3EEE4;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

/* Resplandor naranja del hero, como el de la portada */
.glow {
  position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(236, 104, 25, 0.22), transparent 70%),
    radial-gradient(40% 35% at 85% 20%, rgba(144, 189, 211, 0.10), transparent 70%);
}
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Barra superior */
.top { display: flex; align-items: center; justify-content: flex-end; padding: 20px 0 0; }
.top img { height: 40px; width: auto; display: block; }
.top-link {
  font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
  padding: 8px 14px; border: 1px solid var(--stroke-strong); border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.top-link:hover { border-color: var(--orange); color: #fff; }

/* Hero */
.hero { text-align: center; padding: 16px 0 40px; }
.logo-hero { width: 132px; height: auto; margin: 0 auto 28px; display: block; filter: drop-shadow(0 12px 40px rgba(236, 104, 25, 0.25)); }
.pill {
  display: inline-block; margin: 0 auto 24px; padding: 9px 18px; border-radius: 999px;
  background: rgba(236, 104, 25, 0.12); border: 1px solid rgba(236, 104, 25, 0.55);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--text-2);
}
h1 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(34px, 7vw, 64px); line-height: 1.05; margin: 0 auto 20px; max-width: 880px;
}
h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 32px; }

/* Botones: naranjo principal como maqgo-btn-primary; secundario como la tarjeta oscura de la portada */
.ctas { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 16px; text-decoration: none;
  font-weight: 600; font-size: 17px; transition: transform .15s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(180deg, #F07A33 0%, var(--orange) 55%, var(--orange-dark) 100%);
  color: #fff; box-shadow: 0 10px 34px rgba(236, 104, 25, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 14px 44px rgba(236, 104, 25, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { background: var(--card-strong); border: 1px solid var(--stroke-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Cifras de confianza */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 48px auto 0; max-width: 760px;
  background: var(--stroke); border: 1px solid var(--stroke); border-radius: 20px; overflow: hidden;
}
.stat { background: #0F0F11; padding: 20px 12px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: clamp(22px, 4vw, 30px); font-weight: 600; color: var(--cream); }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* Secciones */
section { padding: 56px 0; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 12px;
}
h2 {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(26px, 4.4vw, 40px); line-height: 1.12; margin: 0 0 28px; max-width: 720px;
}
.grid { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .ctas { flex-direction: row; max-width: none; justify-content: center; }
}
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--stroke); border-radius: 20px; padding: 24px;
}
.card h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: var(--orange);
  background: rgba(236, 104, 25, 0.12); border: 1px solid rgba(236, 104, 25, 0.4);
}
.icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(144, 189, 211, 0.12); color: var(--cyan); }
.icon svg { width: 20px; height: 20px; }

/* Destacado: bonificación del mismo día */
.feature {
  position: relative; overflow: hidden; border-radius: 24px; padding: 32px 24px;
  border: 1px solid rgba(236, 104, 25, 0.55);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(236, 104, 25, 0.28), transparent 60%),
    linear-gradient(180deg, #1A1410, #121212);
  box-shadow: 0 20px 60px rgba(236, 104, 25, 0.12);
}
.feature .tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--orange); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.feature h2 { margin-bottom: 12px; }
.feature p { color: var(--text-2); margin: 0; max-width: 620px; }

/* Tipos de maquinaria */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  background: var(--card); border: 1px solid var(--stroke-strong); color: var(--text-2);
}

/* Preguntas frecuentes */
details { border-bottom: 1px solid var(--stroke); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--stroke); }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-family: var(--display); font-size: 24px; color: var(--orange); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; max-width: 760px; }

/* Cierre */
.closing { text-align: center; padding: 64px 0 72px; }
.closing h2 { margin-left: auto; margin-right: auto; }
.cross { display: block; text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }
.cross a { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

footer { border-top: 1px solid var(--stroke); padding: 28px 0 40px; text-align: center; font-size: 13px; color: var(--muted); }
footer nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* Llamado fijo abajo en el celular: el botón siempre a mano mientras se lee */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 11, 12, 0), rgba(11, 11, 12, 0.92) 30%);
  backdrop-filter: blur(6px);
}
.sticky .btn { width: 100%; }
body.has-sticky { padding-bottom: 96px; }
@media (min-width: 720px) { .sticky { display: none; } body.has-sticky { padding-bottom: 0; } }

/* Franja de garantía / red de seguridad */
.assure {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 18px;
  background: rgba(144, 189, 211, 0.07); border: 1px solid rgba(144, 189, 211, 0.28);
}
.assure .icon { flex: none; }
.assure b { display: block; font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.assure p { margin: 0; color: var(--text-2); font-size: 15px; }
.quote { font-family: var(--display); font-size: clamp(20px, 3.2vw, 26px); line-height: 1.3; color: var(--cream); margin: 0 0 16px; max-width: 680px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.chip b { color: var(--text); font-weight: 600; }
.who { display: grid; gap: 14px; }
@media (min-width: 720px) { .who { grid-template-columns: 1fr 1fr; } }
/* Aparece solo cuando el botón del inicio ya no se ve (landing.js) */
.sticky { transform: translateY(110%); transition: transform .25s ease; }
.sticky.show { transform: none; }

/* Versión corta (3-nov): ventajas en lista y pasos en una franja */
section.tight { padding: 36px 0; }
.perks { display: grid; gap: 10px; }
@media (min-width: 720px) { .perks { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }
.perk {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--stroke);
}
.perk .icon { flex: none; }
.perk b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.perk span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.steps { display: grid; gap: 10px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--stroke); background: var(--card);
}
.steps li .step { flex: none; width: 30px; height: 30px; border-radius: 10px; font-size: 14px; }
.steps li b { display: block; font-size: 16px; font-weight: 600; }
.steps li span { color: var(--muted); font-size: 14px; line-height: 1.45; }
ol.steps { padding: 0; margin: 0; }
.feature.compact { padding: 24px 20px; }
.feature.compact h2 { font-size: clamp(22px, 3.6vw, 32px); margin-bottom: 10px; }
.closing.tight { padding: 40px 0 48px; }
@media (max-width: 719px) {
  .logo-hero { width: 104px; margin-bottom: 20px; }
  .hero { padding-bottom: 8px; }
  .pill { margin-bottom: 18px; }
  .lead { margin-bottom: 24px; }
  .stats { margin-top: 28px; }
  section.tight { padding: 24px 0; }
  h2 { margin-bottom: 18px; }
  .quote { font-size: 18px; }
  .perk { padding: 14px; }
  .closing.tight { padding: 28px 0 32px; }
  details { padding: 14px 0; }
  summary { font-size: 16px; }
}
