/* ============================================================
   EzTra — shop.css
   Layout comercial claro (referencia: clover.com/shop)
   Colores de marca EzTra (azul #0b63e0 / #1e90ff, cian #22d3ee)
   ============================================================ */

:root {
  --blue: #0b63e0;
  --blue-bright: #1e90ff;
  --blue-dark: #0a56c4;
  --cyan: #22d3ee;

  --ink: #0d1b2e;          /* titulares */
  --body: #4a586d;         /* texto */
  --muted: #7b8798;

  --bg: #ffffff;
  --bg-soft: #f5f7fa;      /* bandas alternas */
  --bg-tint: #eef4fc;      /* banda hero (tinte azul suave) */
  --bg-media: #e9eff7;     /* fondo de imágenes de producto */

  --border: #e3e9f1;
  --border-strong: #cfd9e6;

  --green: #14a05a;
  --whatsapp: #1fae54;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.06);
  --shadow-md: 0 6px 24px rgba(13, 27, 46, 0.09);
  --shadow-lg: 0 16px 48px rgba(13, 27, 46, 0.14);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1180px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* El menú móvil vive fuera de pantalla a la derecha: sin esto, en celular la
   página se podía deslizar de lado. `clip` (no `hidden`) no rompe el sticky. */
html, body { overflow-x: clip; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
  color: var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 820px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--body); }
.section-head-sub { margin-top: 72px; margin-bottom: 36px; }
.section-head-sub h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 99, 224, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  background: #178f44;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(31, 174, 84, 0.3);
}

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

/* ============ TOP BAR ============ */
.topbar {
  background: var(--ink);
  color: #c8d4e4;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 16px;
}
.topbar-link {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-link:hover { color: var(--cyan); text-decoration: none; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-name { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav a:hover { color: var(--blue); text-decoration: none; border-bottom-color: var(--blue); }
.nav-cta-mobile { display: none; }

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

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Marca de agua: logo EzTra detrás del titular */
.hero::before {
  content: "";
  position: absolute;
  left: -130px;
  top: 50%;
  width: 640px;
  height: 640px;
  transform: translateY(-50%) rotate(-10deg);
  background: url('../assets/logo-mark.png') center / contain no-repeat;
  opacity: 0.09;
  filter: saturate(0.85);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(11, 99, 224, 0.08);
  border: 1px solid rgba(11, 99, 224, 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 19px;
  margin-bottom: 30px;
  max-width: 460px;
}
.hero-sub strong { color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-points li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.4-4.4 1.4 1.4-5.8 5.8Z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.4-4.4 1.4 1.4-5.8 5.8Z"/></svg>') center / contain no-repeat;
}

.hero-media { position: relative; }

.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.shot img { width: 100%; }
.shot-ancho { max-width: 980px; margin: 48px auto 0; box-shadow: var(--shadow-md); }

.hero-chip {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hero-chip-num { font-weight: 800; font-size: 20px; color: var(--ink); }
.hero-chip-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }

/* ============ TRUST STRIP ============ */
.trust {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
}
.trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { color: var(--ink); font-size: 14.5px; }
.trust-item span { color: var(--muted); font-size: 13px; }

/* ============ FLIA (IA) ============ */
.flia {
  background: var(--ink);
  color: #b7c4d6;
  overflow: hidden;
}
.flia-inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.flia-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.flia-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: flia-pulse 2s ease-in-out infinite;
}
@keyframes flia-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.flia h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 18px;
}
.flia h2 em { font-style: normal; color: var(--cyan); }
.flia-sub { font-size: 17.5px; margin-bottom: 26px; max-width: 520px; }
.flia-sub strong { color: #fff; }

.flia-skills {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin-bottom: 30px;
}
.flia-skills li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  font-weight: 600;
  color: #dce6f2;
}
.flia-skills li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--cyan);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
}

.flia-privacy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 13.5px;
  max-width: 520px;
}
.flia-privacy svg { flex-shrink: 0; color: var(--cyan); margin-top: 2px; }
.flia-privacy strong { color: #fff; }

.flia-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.flia-plan-note { font-size: 13.5px; font-weight: 600; color: var(--cyan); }

/* Chat simulado */
.flia-chat {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.flia-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.flia-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7cc7ff, var(--blue) 70%);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.25);
  flex-shrink: 0;
}
.flia-chat-title { display: flex; flex-direction: column; line-height: 1.25; }
.flia-chat-title strong { color: var(--ink); font-size: 15px; }
.flia-chat-title span { font-size: 12px; color: var(--green); font-weight: 600; }

.flia-chat-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
}
.msg {
  max-width: 85%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.msg-user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-user .msg-voice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 3px;
}
.msg-flia {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.msg-flia strong { color: var(--blue); }

.flia-chat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13.5px;
}
.flia-mic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============ SHOP GRID (licencias) ============ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.product-card-featured { border: 2px solid var(--blue); }

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.product-media {
  background: var(--bg-media);
  padding: 26px 26px 0;
}
.product-media img {
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -4px 20px rgba(13, 27, 46, 0.08);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px;
}
.product-body h3 { font-size: 22px; margin-bottom: 8px; }
.product-desc { font-size: 15px; margin-bottom: 18px; }

.product-price {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.price-amount { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price-cur { font-size: 16px; font-weight: 700; color: var(--muted); }
.price-from { font-size: 15px; font-weight: 600; color: var(--muted); }

.price-tiers {
  width: 100%;
  margin: -4px 0 20px;
  border-collapse: collapse;
  font-size: 14px;
}
.price-tiers caption {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding-bottom: 6px;
}
.price-tiers th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 8px 10px;
  background: var(--bg-soft);
}
.price-tiers td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--bg-soft);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-tiers td:nth-child(2) { font-weight: 700; }
.price-tiers td:nth-child(3) { color: var(--green); font-weight: 600; }
.price-tiers tr:last-child td { border-bottom: none; color: var(--muted); font-weight: 600; }

.timbres {
  max-width: 980px;
  margin: 40px auto 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.timbres-head h3 { font-size: 20px; margin-bottom: 6px; }
.timbres-head p { font-size: 14.5px; margin-bottom: 20px; }
.timbres-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.timbre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: var(--bg-soft);
  border-radius: 10px;
  text-align: center;
}
.timbre-card strong { font-size: 22px; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.timbre-card span { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.timbre-card em { font-style: normal; font-size: 17px; font-weight: 800; color: var(--blue); }
.timbre-card small { font-size: 12px; color: var(--muted); }
@media (max-width: 880px) { .timbres-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .timbres { padding: 20px 16px; } .timbres-grid { grid-template-columns: repeat(2, 1fr); } }
.price-note {
  flex-basis: 100%;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.product-features li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--bg-soft);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 15px;
  height: 15px;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
}

.shop-grid-single {
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.shop-grid-single .product-card-help { position: sticky; top: 96px; }

.price-extra {
  margin: -6px 0 18px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--ink);
}
.price-extra span { color: var(--muted); font-size: 13.5px; }

.price-example {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
}
.price-example > strong:first-child { display: block; margin-bottom: 4px; color: var(--ink); }

.product-card-help { background: var(--bg-tint); justify-content: center; }
.product-help-body { justify-content: center; }
.product-help-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14.5px;
}

.shop-legal {
  margin-top: 30px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FEATURES ============ */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  padding: 44px 0;
}
.feature-row-reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.feature-row-reverse .feature-copy { order: 2; }
.feature-row-reverse .feature-media { order: 1; }

.feature-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.feature-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.feature-copy p { margin-bottom: 18px; }
.feature-copy strong { color: var(--ink); }

.feature-list { list-style: none; }
.feature-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 15px;
  height: 15px;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4-10.6 10.6Z"/></svg>') center / contain no-repeat;
}

/* ============ MINI GRID ============ */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card img {
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}
.mini-card h4 { font-size: 17px; margin: 18px 20px 6px; }
.mini-card p { font-size: 14px; margin: 0 20px 20px; }

/* ============ STEPS ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; }

/* ============ BIZ GRID ============ */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.biz-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(11, 99, 224, 0.35); }
.biz-card h4 { font-size: 17px; margin-bottom: 8px; }
.biz-card p { font-size: 14.5px; }

/* ============ ASSURE ============ */
.assure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.assure-card {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--blue);
}
.assure-card h4 { font-size: 18px; margin: 14px 0 8px; }
.assure-card p { font-size: 14.5px; color: var(--body); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--bg-soft); }
.faq-item p { padding: 16px 22px 20px; font-size: 15px; }

/* ============ CONTACTO ============ */
.contact { background: var(--ink); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { color: #fff; font-size: clamp(28px, 4vw, 38px); margin-bottom: 16px; }
.contact-copy p { color: #b7c4d6; font-size: 17px; margin-bottom: 26px; max-width: 420px; }
.contact-copy .contact-hours { font-size: 15px; margin-top: -12px; }
.contact-copy .contact-hours strong { color: #fff; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-row label { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 224, 0.14);
}
.form-privacy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.form-status { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--green); }

/* ============ FOOTER ============ */
.footer {
  background: #0a1524;
  color: #93a3b8;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand-footer .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-col a { color: #93a3b8; font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col span { color: #6b7c93; font-size: 13px; }
.footer-fine { padding-top: 26px; font-size: 12px; line-height: 1.7; color: #6b7c93; }
.footer-fine p + p { margin-top: 10px; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-banner p { font-size: 13.5px; flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner[hidden] { display: none; }

/* ============ REVEAL (sutil) ============ */
.reveal-on {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-on.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .product-card-help { grid-column: 1 / -1; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .assure-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .section { padding: 64px 0; }

  .flia-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .flia-skills { grid-template-columns: 1fr; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero-chip { left: 12px; }
  .hero::before {
    width: 420px;
    height: 420px;
    left: -110px;
    top: 160px;
    transform: rotate(-10deg);
    opacity: 0.07;
  }

  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0;
  }
  .feature-row-reverse .feature-copy { order: 1; }
  .feature-row-reverse .feature-media { order: 2; }

  .contact-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Nav móvil */
  .header-actions .btn { display: none; }
  .menu-btn { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 90px 28px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 18px; padding: 10px 0; width: 100%; }
  .nav-cta-mobile { display: block; width: 100%; margin-top: 16px; }
}

@media (max-width: 640px) {
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }

  .shop-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

/* ============ MI CUENTA (cuenta.html) ============ */
/* `hidden` debe ganarle a los display de .btn y compañía: sin esto, un botón
   oculto por JS (p. ej. «Terminar el pago» de un pedido ya pagado) se ve. */
[hidden] { display: none !important; }
.cuenta-page { background: var(--bg-soft); }
/* En la portada los botones del encabezado se esconden en móvil porque hay
   menú; aquí no hay menú, así que se quedan. */
.cuenta-page .header-actions .btn { display: inline-flex; }
.cuenta { padding: 40px 0 64px; min-height: 70vh; }
.cuenta h1 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
.cuenta h2 { font-size: 20px; margin-bottom: 6px; }

.tarjeta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.tarjeta-sub { font-size: 14.5px; margin-bottom: 18px; }
#vistaAcceso { max-width: 460px; margin: 24px auto; }
#vistaAcceso h1 { margin-bottom: 8px; }

.acceso-form .form-row input { font-size: 16px; }
.input-codigo { letter-spacing: 0.4em; font-size: 22px !important; text-align: center; font-variant-numeric: tabular-nums; }
.btn-link {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--blue);
  font: 600 14px var(--font);
  cursor: pointer;
}
.btn-link:hover { text-decoration: underline; }
.form-status.es-error, .cuenta-estado.es-error { color: #c0392b; }
.cuenta-estado { font-size: 14.5px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.cuenta-estado:empty { display: none; }

.form-grid > .form-row { min-width: 0; }
.form-row select {
  width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
}
.form-row select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 99, 224, 0.14); }

.aviso-sandbox {
  background: #fff7e0;
  border: 1px solid #f2d27a;
  color: #6b5200;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}

.cuenta-cabeza {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.cuenta-cabeza .tarjeta-sub { margin: 4px 0 0; }
.cta-salir { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; }
.cta-salir:hover { color: var(--ink); }

.tarjeta-pedido { border-width: 2px; border-color: var(--blue); }
.tarjeta-pedido.es-listo { border-color: var(--green); }
.tarjeta-pedido.es-error { border-color: #e0a19a; }
.tarjeta-pedido #pedidoPagar { margin-top: 14px; }

.licencia {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 14px;
}
.licencia-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.licencia-cabeza strong { color: var(--ink); font-size: 16px; }

.clave-caja {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
}
.clave-etiqueta { flex-basis: 100%; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.clave {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13.5px;
  background: #fff;
  padding: 6px 10px;
}

.licencia-datos { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 4px 0 14px; }
.licencia-datos dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.licencia-datos dd { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.licencia-acciones { display: flex; flex-wrap: wrap; gap: 10px; }

.insignia {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--body);
  white-space: nowrap;
}
.insignia-aplicado, .insignia-activada, .insignia-vendida { background: #e3f5ec; color: #0f7a45; }
.insignia-pendiente, .insignia-pagado { background: #e8f0fd; color: var(--blue-dark); }
.insignia-error { background: #fff3dc; color: #8a5a00; }
.insignia-cancelado, .insignia-suspendida, .insignia-expirada { background: #fbe9e7; color: #a33a2c; }

.selector-puestos { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.selector-puestos label { font-weight: 700; color: var(--ink); font-size: 15px; }
.selector-puestos select {
  font: 600 15px var(--font);
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
}
.resumen-compra {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}
.resumen-compra > div {
  flex: 1;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 16px;
}
.resumen-compra span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.resumen-compra strong { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.nota { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
#notaRfc { color: #8a5a00; margin: 0 0 14px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pedido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-soft);
}
.pedido:last-child { border-bottom: 0; }
.pedido strong { display: block; color: var(--ink); font-size: 14.5px; }
.pedido-meta { font-size: 13px; color: var(--muted); }
.pedido-der { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.vacio { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

.dialogo {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(460px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg);
}
.dialogo::backdrop { background: rgba(13, 27, 46, 0.45); }
.dialogo-cuerpo { padding: 26px; }
.dialogo-acciones { display: flex; justify-content: flex-end; gap: 10px; }

.cuenta-ayuda { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 28px; }
.footer-mini { padding: 8px 0 28px; }

@media (max-width: 640px) {
  .tarjeta { padding: 20px 16px; }
  .cuenta-cabeza { flex-direction: column; align-items: stretch; }
  .pedido { flex-direction: column; align-items: flex-start; }
  .resumen-compra { flex-direction: column; }
}
