/* SUPPRA public landing ("/"). Phone first: the base rules are the phone; @media adds desktop.
   Idea: «la guía de envío» — a shipping label with the order's road and a 100% ORIGINAL stamp.
   Landing pública de SUPPRA. Celular primero: las reglas base son el celular; @media agrega
   escritorio. Idea: una guía de envío con el camino del pedido y un sello 100% ORIGINAL. */

:root {
  --navy: #0b1a3a;
  --blue: #1e4fd8;
  --sky: #3cc6f5;
  --soft: #8fb3ff;
  --mist: #c3cde4;
  --muted: #56627f;
  --line: #e0e6f2;
  --paper: #ffffff;
  --wa: #0e7a43;       /* dark WhatsApp green: white text reads on it (the bright one fails) */
  --wa-hover: #0b6436;
  --display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--display); -webkit-font-smoothing: antialiased; }
.lp a { color: inherit; }
.lp-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lp :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- Buttons / Botones ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-wa { background: var(--wa); color: #fff !important; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
.lp-btn-wa:hover { background: var(--wa-hover); }
.lp-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.32); color: #fff !important; font-weight: 600; font-size: 15px; min-height: 48px; }
.lp-btn-ghost:hover { border-color: var(--sky); }
.lp-btn-dark { background: var(--navy); color: #fff !important; }
.lp-btn-dark:hover { background: #172b57; }
/* «Ver catálogo»: white on the navy hero; hidden until the shop answers that it is open.
   Blanco sobre el azul; oculto hasta que la tienda responde que está abierta. */
.lp-btn-shop { background: #fff; color: var(--navy) !important; }
.lp-btn-shop:hover { background: #e8f6fd; }
.lp-btn[hidden] { display: none; }

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
/* Graph-paper texture, fading out downwards. / Textura de papel milimetrado que se desvanece. */
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
.lp-top { position: relative; height: 60px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lp-logo { display: flex; }
.lp-logo img { height: 26px; width: auto; }
.lp-nav { display: flex; align-items: center; gap: 18px; }
.lp-nav-link { display: none; color: var(--mist) !important; text-decoration: none; font-weight: 500; font-size: 15px; }
.lp-nav-link:hover { color: #fff !important; }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 13px; font-weight: 600; text-decoration: none; }
.lp-pill:hover { border-color: var(--sky); }

.lp-hero-in { position: relative; padding: 28px 16px 32px; display: flex; flex-direction: column; gap: 22px; }
.lp-copy { display: flex; flex-direction: column; gap: 16px; }
.lp-eyebrow { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.lp-h1 { margin: 0; font-size: clamp(42px, 12vw, 52px); line-height: 0.92; font-weight: 850; font-stretch: 108%; letter-spacing: -0.035em; }
.lp-h1 span { color: var(--sky); }
.lp-lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--mist); max-width: 34em; }
.lp-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

/* ---------- The shipping label / La guía de envío ---------- */
.lp-label-wrap { margin: 6px 4px 0; }
.lp-label { position: relative; transform: rotate(-1.5deg); background: #fff; color: var(--navy); border-radius: 6px; box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45); font-family: var(--mono); }
.lp-label-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 2px solid var(--navy); }
.lp-label-head strong { font-family: var(--display); font-weight: 850; font-stretch: 112%; font-size: 16px; }
.lp-label-head span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-label-route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px dashed #9aa7c7; }
.lp-label-route div { padding: 9px 12px 9px 14px; display: flex; flex-direction: column; gap: 1px; }
.lp-label-route div + div { border-left: 1px dashed #9aa7c7; }
.lp-label-route small { font-size: 9px; letter-spacing: 0.14em; color: var(--muted); }
.lp-label-route b { font-size: 11px; font-weight: 600; white-space: nowrap; }
.lp-label-state { padding: 10px 14px; border-bottom: 1px dashed #9aa7c7; display: flex; flex-direction: column; gap: 7px; }
.lp-progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.lp-progress i { height: 5px; border-radius: 3px; background: #dce4f7; }
.lp-progress i.done { background: var(--navy); }
.lp-progress i.now { background: var(--blue); }
.lp-label-state p { margin: 0; font-size: 11.5px; display: flex; justify-content: space-between; gap: 8px; }
.lp-label-state p span { color: var(--muted); }
.lp-label-state p b { color: var(--blue); }
.lp-label-code { padding: 10px 84px 12px 14px; display: flex; align-items: center; gap: 12px; }
.lp-label-code span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; }
.lp-bars { flex: 1; height: 34px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px, var(--navy) 13px 16px, transparent 16px 17px); }
.lp-stamp { position: absolute; right: -6px; bottom: -14px; width: 80px; height: 80px; border-radius: 999px; border: 3px solid var(--blue); outline: 1.5px solid var(--blue); outline-offset: -8px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(14deg); color: var(--blue); background: #fff; font-family: var(--display); }
.lp-stamp b { font-size: 18px; font-weight: 900; font-stretch: 112%; line-height: 1; }
.lp-stamp span { font-size: 9px; font-weight: 800; letter-spacing: 0.14em; }

/* ---------- How it works / Cómo funciona ---------- */
.lp-section { padding: 40px 16px 8px; scroll-margin-top: 8px; }
.lp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-section-head h2 { margin: 0; font-size: 30px; font-weight: 850; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
.lp-mono { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lp-steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.lp-steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lp-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--blue); padding-top: 3px; }
.lp-steps h3 { margin: 0 0 3px; font-size: 18px; font-weight: 750; font-stretch: 106%; }
.lp-steps p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.lp-steps-cta { width: 100%; margin-top: 20px; }

/* ---------- FAQ / Preguntas frecuentes ---------- */
.lp-faq { border-top: 2px solid var(--navy); }
.lp-faq-item { border-bottom: 1px solid var(--line); }
.lp-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; font-size: 17px; font-weight: 700; font-stretch: 104%; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary .lp-ico { color: var(--blue); transition: transform 0.2s; }
.lp-faq-item[open] summary .lp-ico { transform: rotate(180deg); }
.lp-faq-item p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .lp-faq-item summary .lp-ico { transition: none; } }

.lp-section-track { padding-top: 28px; }
.lp-track { padding: 22px 20px; border-radius: 16px; background: #f5f7fb; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.lp-track h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; font-stretch: 106%; }
.lp-track p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.lp-foot { padding: 28px 16px 104px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 13px; color: var(--muted); }

.lp-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.lp-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }
.lp-social a:hover { border-color: var(--blue); color: var(--blue); }
.lp-handle { font-family: var(--mono); font-size: 13px; color: var(--navy); font-weight: 600; }

/* ---------- Sticky WhatsApp bar (phone) / Barra fija de WhatsApp (celular) ---------- */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.95); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 26, 58, 0.08); transform: translateY(0); transition: transform 0.2s ease; }
.lp-sticky[hidden] { display: block; transform: translateY(110%); visibility: hidden; }
.lp-sticky .lp-btn { width: 100%; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .lp-sticky { transition: none; } }

/* ---------- Desktop / Escritorio ---------- */
@media (min-width: 900px) {
  .lp-top { max-width: 1200px; margin: 0 auto; height: 76px; padding: 0 32px; }
  .lp-hero { border-bottom: 0; }
  .lp-logo img { height: 34px; }
  .lp-nav { gap: 28px; }
  .lp-nav-link { display: inline; }
  .lp-pill { font-size: 14px; min-height: 44px; padding: 0 18px; }
  .lp-hero-in { max-width: 1200px; margin: 0 auto; padding: 72px 32px 96px; flex-direction: row; align-items: center; gap: 64px; }
  .lp-copy { flex: 1 1 58%; gap: 24px; }
  .lp-eyebrow { font-size: 13px; }
  .lp-h1 { font-size: clamp(64px, 6.6vw, 92px); font-stretch: 112%; }
  .lp-lead { font-size: 19px; line-height: 1.55; }
  .lp-ctas { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .lp-btn { min-height: 58px; padding: 0 26px; font-size: 17px; }
  .lp-btn-ghost { min-height: 58px; }
  .lp-label-wrap { flex: 1 1 42%; max-width: 420px; margin: 0; }
  .lp-label { transform: rotate(-2.5deg); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); }
  .lp-label-head { padding: 16px 20px; }
  .lp-label-head strong { font-size: 20px; }
  .lp-label-head span { font-size: 11px; }
  .lp-label-route div, .lp-label-state, .lp-label-code { padding-left: 20px; padding-right: 20px; }
  .lp-label-head span { padding-right: 76px; }
  .lp-label-route b { font-size: 13px; }
  .lp-bars { height: 48px; }
  .lp-stamp { width: 110px; height: 110px; right: -24px; top: -34px; bottom: auto; outline-offset: -10px; }
  .lp-stamp b { font-size: 25px; }
  .lp-stamp span { font-size: 12px; }

  .lp-section { max-width: 1200px; margin: 0 auto; padding: 72px 32px 16px; }
  .lp-section-head h2 { font-size: 44px; }
  .lp-mono { font-size: 13px; }
  .lp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
  .lp-steps li { flex-direction: column; gap: 10px; padding: 22px 0 0; border-bottom: 0; }
  .lp-steps h3 { font-size: 21px; }
  .lp-steps p { font-size: 15px; }
  .lp-steps-cta { width: auto; margin-top: 32px; }
  .lp-section-track { padding-top: 48px; }
  .lp-faq-item summary { font-size: 19px; }
  .lp-track { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
  .lp-track h2 { font-size: 24px; }
  .lp-foot { max-width: 1200px; margin: 48px auto 0; padding: 22px 32px; border-top: 1px solid var(--line); font-size: 14px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; }
  .lp-social { width: auto; order: 2; }
  .lp-sticky { display: none !important; }
}
