/* ══════════════════════════════════════════════════════════════════════
   producto.css · Estilos comunes de las páginas de producto de OEM
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --bg:       #05081a;
  --bg-2:     #0b1338;
  --bg-3:     #111a4f;
  --panel:    #0f1636;
  --tinta:    #f5f7ff;
  --dim:      #a2acc9;
  --dim-2:    #6b7699;
  --linea:    rgba(255,255,255,0.10);
  --acento:   #ff8a1c;
  --acento-2: #ff5b7f;
  --iris:     #7c8cff;
  --cian:     #22d3ee;
  --verde:    #34d399;
  --morado:   #a855f7;
  --grad-acc: linear-gradient(135deg, var(--acento) 0%, var(--acento-2) 100%);
  --glow-acc: 0 0 40px rgba(255,138,28,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tinta);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,8,26,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--linea);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 24px; max-width: 1180px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 850; font-size: 19px; letter-spacing: -0.02em; color: #fff;
}
.brand img { width: 44px; height: 44px; border-radius: 10px;
             background: #fff; padding: 2px; object-fit: contain; }
nav.links { margin-left: auto; display: flex; gap: 2px; }
nav.links a {
  color: var(--dim); font-weight: 600; font-size: 14.5px;
  padding: 8px 14px; border-radius: 8px;
}
nav.links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
nav.links a.cta {
  background: #fff; color: var(--bg); padding: 8px 16px; font-weight: 700;
}
@media (max-width: 780px) { nav.links a:not(.cta) { display: none; } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn.p { background: var(--grad-acc); color: #fff; box-shadow: var(--glow-acc); }
.btn.p:hover { transform: translateY(-2px); }
.btn.gh {
  background: rgba(255,255,255,0.06); color: #fff;
  border: 1px solid var(--linea); backdrop-filter: blur(6px);
}
.btn.gh:hover { background: rgba(255,255,255,0.12); }

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 100% at 50% 0%, var(--grad-color, #1a2570) 0%, #0b1338 45%, #05081a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 40% at 20% 20%, var(--grad-glow-1, rgba(124,140,255,0.3)), transparent 60%),
              radial-gradient(ellipse 40% 30% at 80% 30%, var(--grad-glow-2, rgba(255,138,28,0.3)), transparent 60%);
  filter: blur(10px);
}
.hero .wrap { position: relative; text-align: center; }
.hero .eyebrow {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,138,28,0.10);
  border: 1px solid rgba(255,138,28,0.25);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--acento);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 850;
  letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 20px; color: #fff;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.hero h1 .g {
  background: var(--grad-acc);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--dim); max-width: 720px;
  margin: 0 auto 32px;
}
.hero .ctas {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* Sección genérica */
section.sec { padding: 80px 0; border-top: 1px solid var(--linea); }
.sec .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(124,140,255,0.10); color: var(--iris);
  border: 1px solid rgba(124,140,255,0.25);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; margin-bottom: 18px;
}
.sec h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.1;
  margin: 0 0 16px; color: #fff;
}
.sec p.lead {
  font-size: 17px; color: var(--dim); max-width: 720px; margin: 0 0 30px;
}

/* Grid features */
.grid-feat {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feat {
  padding: 26px 22px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--linea);
  transition: transform 0.2s, border-color 0.2s;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(255,138,28,0.4); }
.feat .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--grad-acc); color: #fff;
  display: grid; place-items: center; margin-bottom: 16px;
}
.feat h3 { color: #fff; font-size: 17px; margin: 0 0 6px; }
.feat p  { color: var(--dim); font-size: 14.5px; margin: 0; }

/* Beneficios (checkmarks) */
.benef {
  display: grid; gap: 12px; margin-top: 20px;
}
.benef li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--tinta); font-size: 15.5px;
  list-style: none;
}
.benef li svg {
  flex-shrink: 0; color: var(--verde); margin-top: 3px;
}

/* CTA final */
.cta-final {
  padding: 80px 24px; margin: 60px auto 0;
  border-radius: 24px; text-align: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--linea);
  max-width: 1080px;
}
.cta-final h2 {
  font-size: clamp(26px, 3.5vw, 36px); font-weight: 800;
  color: #fff; margin: 0 0 12px; letter-spacing: -0.02em;
}
.cta-final p { color: var(--dim); margin: 0 0 24px; font-size: 16px; }
.cta-final .ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* FAQ */
.faq { max-width: 860px; margin: 30px auto 0; display: grid; gap: 10px; }
details {
  border: 1px solid var(--linea);
  background: rgba(255,255,255,0.03);
  border-radius: 14px; padding: 18px 22px;
  transition: border-color 0.2s, background 0.2s;
}
details:hover { border-color: rgba(255,138,28,0.3); }
details[open] { background: rgba(255,138,28,0.05); border-color: rgba(255,138,28,0.4); }
summary {
  cursor: pointer; font-weight: 700; font-size: 16px;
  color: #fff; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--acento); font-size: 22px; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--dim); font-size: 15px; margin: 12px 0 0; }

/* Footer */
footer.pie {
  background: #030510; color: var(--dim);
  padding: 60px 0 24px; margin-top: 60px;
  border-top: 1px solid var(--linea); font-size: 14px;
}
footer.pie .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
@media (max-width: 700px) { footer.pie .cols { grid-template-columns: 1fr; } }
footer.pie h5 {
  color: #fff; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.14em; margin: 0 0 14px;
}
footer.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.pie a { color: var(--dim); }
footer.pie a:hover { color: var(--acento); }
footer.pie .brand { color: #fff; margin-bottom: 12px; }
footer.pie .legales {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--dim-2); font-size: 12.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* Breadcrumb */
.crumb {
  padding: 20px 0 0;
  font-size: 13px; color: var(--dim-2);
}
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--acento); }
.crumb span { margin: 0 8px; }

/* WSP flotante */
.wsp {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 34px rgba(37,211,102,0.50);
  transition: transform 0.15s;
}
.wsp:hover { transform: scale(1.08); }
