@import "tokens.css";

/* ─── Reset y base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ─── Layout ────────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Tipografía ────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; margin: 14px 0 12px; }
.sub { color: var(--ink-soft); max-width: 560px; }

/* ─── Nav ───────────────────────────────────────────────────── */
/* La animación flotante→fijo es 100% JS progresiva (ui.js)    */
/* No usar CSS transition acá para evitar conflictos            */
.nav-outer {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 16px 0;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(14, 17, 23, .94);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 12px 32px rgba(11, 14, 19, .18);
}
.brand {
  display: flex;
  align-items: center;
}
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  color: #C7CEDA;
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-links a.active { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ─── Botones ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s, background .18s, border-color .18s, color .18s;
  font-family: var(--font-body);
}
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-solid { background: var(--accent); color: #04121F; }
.btn-solid:hover { background: #4AA8FF; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1B212C; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.nav-portal { background: #fff; color: var(--ink); padding: 10px 18px; font-size: 14px; }
.nav-portal:hover { background: var(--accent); color: #04121F; }
.nav-login { background: rgba(255,255,255,.12); color: #fff; padding: 9px 16px; font-size: 14px; border: 1px solid rgba(255,255,255,.2); }
.nav-login:hover { background: rgba(255,255,255,.22); }
/* Nav user widget */
.nav-user { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 12px 6px 7px; cursor: pointer; color: #fff; font-size: 13.5px; font-family: inherit; font-weight: 600; transition: background .15s; }
.nav-user-btn:hover { background: rgba(255,255,255,.22); }
.nav-user-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.nav-user-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-user-dropdown { display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #1B2330; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 6px; min-width: 200px; z-index: 200; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.nav-user-dropdown.open { display: block; }
.nav-user-dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 13.5px; color: rgba(255,255,255,.85); text-decoration: none; transition: background .15s; }
.nav-user-dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ─── Secciones ─────────────────────────────────────────────── */
.section { padding: 84px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

/* ─── Ticket (elemento firma) ───────────────────────────────── */
.ticket-zone { position: relative; }
.ticket {
  background: var(--panel);
  color: var(--panel-ink);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 30px 70px rgba(11, 14, 19, .28);
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--line-dark);
  padding-bottom: 16px;
}
.ticket-head .t-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--panel-soft);
}
.ticket-head .t-code { font-family: var(--font-mono); font-size: 17px; color: #fff; margin-top: 3px; }
.solo-web {
  font-weight: 700;
  color: var(--accent) !important;
}

.badge-live {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ok);
  border: 1px solid rgba(43, 212, 143, .4);
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Badge estados especiales del ticket */
.badge-waiting { color: #F59E0B !important; border-color: rgba(245,158,11,.4) !important; }
.badge-live.badge-waiting::before { background: #F59E0B !important; }
.badge-rejected { color: #EF4444 !important; border-color: rgba(239,68,68,.4) !important; }
.badge-live.badge-rejected::before { background: #EF4444 !important; animation: none !important; }
/* Step esperando aprobación — dot y línea en amarillo */
.step.waiting { color: #F59E0B !important; }
.step.waiting .dot { background: rgba(245,158,11,.18) !important; color: #F59E0B !important; }
.step.waiting .dot span { width:8px !important; height:8px !important; border-radius:50% !important; background:#F59E0B !important; display:block !important; animation:pulse 1.6s infinite !important; }
/* Línea conectora del step done→waiting en degradado verde→amarillo */
.step.done-to-waiting .dot::after { background: linear-gradient(to bottom, rgba(43,212,143,.4), rgba(245,158,11,.4)) !important; }
/* Step rechazado — dot y color rojo */
.step.rejected-curr .dot { background:rgba(239,68,68,.18); color:#EF4444; }
.step.rejected-curr { color:#EF4444; }
.step.rejected-curr .dot::after { background:rgba(239,68,68,.3); }
/* Presupuesto inline en el ticket */
.ticket-budget { margin:0 -26px; padding:16px 26px; background:rgba(255,255,255,.06); border-top:1px solid rgba(255,255,255,.1); }
.ticket-budget-toggle { font-size:12px; color:rgba(255,255,255,.6); cursor:pointer; text-decoration:underline; display:block; margin-top:6px; }
.ticket-budget-toggle:hover { color:#fff; }
.ticket-budget-items { margin-top:12px; display:none; }
.ticket-budget-items.open { display:block; }
.ticket-budget-row { display:flex; justify-content:space-between; font-size:13px; color:rgba(255,255,255,.8); padding:5px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.ticket-budget-row.total { font-weight:700; color:#fff; border-bottom:none; padding-top:10px; font-size:14px; }
.ticket-budget-actions { display:flex; gap:10px; margin-top:14px; }
.ticket-budget-actions .btn-approve { flex:1; background:#10B981; color:#04121F; border:none; border-radius:999px; padding:11px; font-weight:700; font-size:14px; cursor:pointer; transition:opacity .15s; text-align:center; }
.ticket-budget-actions .btn-reject  { flex:1; background:transparent; color:#EF4444; border:1.5px solid rgba(239,68,68,.5); border-radius:999px; padding:11px; font-weight:700; font-size:14px; cursor:pointer; transition:opacity .15s; text-align:center; }
.ticket-budget-actions button:hover { opacity:.85; }
/* Dot rojo para presupuesto rechazado */
.step.rejected .dot { background:#EF4444; color:#fff; }
.step.rejected .dot::after { display:none; }
.ticket-device {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-dark);
  font-size: 14px;
}
.ticket-device span { color: var(--panel-soft); }

/* Timeline del ticket */
.steps { list-style: none; padding: 18px 0 4px; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.step { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding: 6px 0; font-size: 14.5px; }
.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
  position: relative;
  flex-shrink: 0;
  /* sin z-index: el fondo del dot tapa la línea naturalmente */
}
/* Línea conectora — height grande, clipeada por overflow:hidden en .steps */
.step:not(:last-child) .dot::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 9999px;
  background: var(--line-dark);
  /* sin z-index negativo para que overflow:hidden funcione */
}
.step.done .dot { background: rgba(43, 212, 143, .15); color: var(--ok); }
.step.done:not(:last-child) .dot::after { background: rgba(43, 212, 143, .4); }
.step.current .dot { background: rgba(30, 143, 245, .18); color: var(--accent); }
.step.current .dot span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; animation: pulse 1.6s infinite; }
.step.todo { color: var(--panel-soft); }
.step.todo .dot { border: 1.5px dashed var(--line-dark); }
.step time { font-family: var(--font-mono); font-size: 11.5px; color: var(--panel-soft); margin-top: 3px; }
.step .s-note { display: block; font-size: 12.5px; color: var(--panel-soft); }
.ticket-foot {
  margin-top: 14px;
  background: rgba(30, 143, 245, .1);
  border: 1px solid rgba(30, 143, 245, .28);
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ticket-foot b { color: #fff; }
.ticket-foot a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.ticket-note {
  position: absolute;
  bottom: -18px;
  left: -8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 17px;
  font-size: 13.5px;
  box-shadow: 0 14px 34px rgba(11, 14, 19, .14);
  display: flex;
  gap: 9px;
  align-items: center;
}
.ticket-note .ok-ico { color: var(--ok); font-size: 16px; }

/* ─── Logos strip ───────────────────────────────────────────── */
.logos { padding: 40px 0 10px; }
.logo-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-row { display: flex; gap: 64px; width: max-content; animation: scroll 26s linear infinite; align-items: center; }
.logo-img { max-height: 28px; max-width: 90px; object-fit: contain; opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logo-img:hover { opacity: .85; filter: grayscale(.3); }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #9AA3B0; letter-spacing: .02em; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .logo-row { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; gap: 24px; }
}

/* ─── Servicios ─────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(11, 14, 19, .1); border-color: transparent; }
.svc-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(30, 143, 245, .1);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 21px;
}
.svc h3 { font-size: 20px; font-weight: 700; }
.svc p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.svc a { font-weight: 600; font-size: 14.5px; color: var(--accent-deep); display: inline-flex; gap: 7px; align-items: center; }
.svc a .arr { transition: transform .18s; }
.svc a:hover .arr { transform: translate(2px, -2px); }
.svc.b2b { background: var(--panel); border-color: var(--panel); color: var(--panel-ink); }
.svc.b2b p { color: var(--panel-soft); }
.svc.b2b .svc-ico { background: rgba(30, 143, 245, .16); color: var(--accent); }
.svc.b2b a { color: var(--accent); }

/* ─── Panel oscuro / stats ──────────────────────────────────── */
.dark-panel {
  background: var(--panel);
  color: var(--panel-ink);
  border-radius: 36px;
  padding: 74px 64px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.dark-panel .eyebrow { color: var(--accent); }
.dark-panel h2 { color: #fff; }
.dark-panel .lead { color: var(--panel-soft); margin-bottom: 34px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; }
.stat b { font-family: var(--font-display); font-size: clamp(36px, 4vw, 50px); font-weight: 800; color: #fff; display: block; line-height: 1; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { font-size: 14px; color: var(--panel-soft); display: block; margin-top: 7px; max-width: 200px; }
.guarantee {
  background: rgba(43, 212, 143, .08);
  border: 1px solid rgba(43, 212, 143, .3);
  border-radius: var(--radius-xl);
  padding: 30px;
}
.guarantee .g-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.guarantee .g-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(43, 212, 143, .16);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--ok);
}
.guarantee h3 { font-size: 21px; color: #fff; }
.guarantee p { font-size: 15px; color: var(--panel-soft); }
.guarantee ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.guarantee li { display: flex; gap: 11px; font-size: 14.5px; color: #D7DEE7; }
.guarantee li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* ─── Tienda teaser ─────────────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prod {
  background: var(--surface);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.prod:hover { box-shadow: 0 8px 28px rgba(11,14,19,.11); border-color: #C8D6E5; }
.prod .p-img {
  height: 190px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 52px;
  flex-shrink: 0;
}
.prod .p-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .3s ease; }
.prod:hover .p-img img { transform: scale(1.04); }
.prod .p-body { padding: 12px 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; background: linear-gradient(160deg,#EAF3FC,#F6F8FA); }
.prod .p-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.prod h3 { font-size: 13.5px; font-weight: 600; font-family: var(--font-body); margin: 2px 0 4px; line-height: 1.3; color: var(--ink); }
.prod .p-price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; }
.prod .p-price b { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.prod .p-price span { font-size: 11px; color: var(--ink-soft); }
.prod .p-stock { margin-top: 6px; font-size: 11px; color: var(--ok); display: flex; align-items: center; gap: 4px; }
.prod .p-stock::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.prod .p-stock.out { color: var(--ink-soft); }
.prod .p-stock.out::before { background: var(--ink-soft); }

/* ─── Testimonios ───────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi q { font-size: 16px; line-height: 1.6; quotes: "\201C" "\201D"; }
.testi .t-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .t-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--panel);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.testi .t-who b { display: block; font-size: 14.5px; }
.testi .t-who span { font-size: 13px; color: var(--ink-soft); }
.stars { color: #F5B341; font-size: 14px; letter-spacing: 2px; }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 22px; color: var(--accent-deep); transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; }

/* ─── CTA final ─────────────────────────────────────────────── */
.cta-final {
  background: var(--panel);
  border-radius: 36px;
  padding: 72px 40px;
  text-align: center;
  color: var(--panel-ink);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(30, 143, 245, .28), transparent 65%);
}
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; max-width: 640px; margin: 14px auto 14px; }
.cta-final p { color: var(--panel-soft); max-width: 480px; margin: 0 auto 32px; }
.cta-final .hero-ctas { justify-content: center; }
.cta-wsp { margin-top: 22px; font-family: var(--font-mono); font-size: 13.5px; color: var(--panel-soft); }
.cta-wsp a { color: var(--accent); }

/* ─── Footer ────────────────────────────────────────────────── */
footer { padding: 48px 0 36px; color: var(--ink-soft); font-size: 14.5px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid #C8CDD6;
  border-bottom: 1px solid #C8CDD6;
}
.foot-grid h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a:hover { color: var(--accent-deep); }
.foot-brand p { margin-top: 14px; max-width: 280px; }
.foot-contact li { display: flex; gap: 9px; align-items: flex-start; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.foot-social { display: flex; gap: 14px; }
.foot-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: border-color .18s, color .18s;
}
.foot-social a:hover { border-color: var(--ink); color: var(--ink); }

/* ─── Reveal on scroll ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ─── Responsive ────────────────────────────────────────────── */
/* ─── Hero (específico de index) ────────────────────────────── */
.hero { padding: 84px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent-deep); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 10px;
  background: rgba(30, 143, 245, .18);
  z-index: -1;
  border-radius: 4px;
}
.hero p { margin: 22px 0 30px; font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; }
.proof-item b { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.proof-item span { font-size: 13px; color: var(--ink-soft); }

/* ─── Media queries responsive ──────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .ticket { margin: 0 auto; max-width: 440px; }
  .services { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .dark-panel { grid-template-columns: 1fr; padding: 52px 34px; }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Nav: ocultar links en tablet pequeña, mostrar solo logo + portal + menú */
  .nav-links { display: none; }
  .nav-portal { font-size: 13px; padding: 8px 14px; }
  .hero { padding-top: 64px; }
  .hero p { font-size: 16px; }
  .section { padding: 64px 0; }
  /* Tienda: categorías scrolleables en mobile */
  .shop-cats { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }
  .shop-cats::-webkit-scrollbar { display: none; }
  /* Contact: mapa + FAQ en columna */
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-portal { display: none; }
  .menu-btn { display: block; }
  /* Dropdown de usuario: full-width y bien posicionado en mobile */
  .nav-user-dropdown {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    min-width: unset;
    width: auto;
  }
  .nav-user-name { display: none; }
  /* Sidebar de cuenta: compacto en mobile */
  .account-sidebar { padding: 14px 16px; position: static; }
  .account-avatar, .account-avatar-placeholder { width: 44px; height: 44px; font-size: 18px; margin-bottom: 8px; }
  .account-name { font-size: 15px; }
  .account-email { font-size: 12px; margin-bottom: 12px; }
  .account-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .account-nav a { font-size: 13px; padding: 6px 10px; white-space: nowrap; }
  .account-nav .nav-icon { display: none; }
  .btn-logout { margin-top: 10px; padding: 8px; font-size: 13px; }
  .services, .shop-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero p { font-size: 16px; }
  .hero-proof { gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-final { padding: 56px 24px; }
  /* Ticket: ancho completo en mobile */
  .ticket { max-width: 100%; }
  .ticket-zone { margin-top: 0; }
}
