/* =========================================================
   Suministros Informáticos — estilos
   ========================================================= */
:root {
  --navy-900: #060f3d;
  --navy-800: #0b1f6b;
  --navy-700: #12298c;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #7cb2ff;
  --blue-50:  #eef4ff;
  --ink: #0d1530;
  --ink-2: #3b4565;
  --ink-3: #6b7493;
  --line: #e3e8f4;
  --bg: #ffffff;
  --bg-tint: #f5f8ff;
  --green: #22c55e;
  --wa: #1fae5b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 48, .06), 0 2px 8px rgba(13, 21, 48, .04);
  --shadow: 0 10px 30px -10px rgba(13, 31, 107, .18), 0 2px 6px rgba(13, 31, 107, .06);
  --shadow-lg: 0 30px 60px -20px rgba(6, 15, 61, .35);
  --grad: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #12298c 100%);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; padding: .85rem 1.4rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -6px rgba(29, 78, 216, .55); }
.btn--primary:hover { box-shadow: 0 14px 28px -8px rgba(29, 78, 216, .65); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -6px rgba(31, 174, 91, .5); }
.btn--whatsapp:hover { background: #179c50; }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--blue-300); }
.eyebrow .dot { display: none; }
.text-grad { background: linear-gradient(90deg, #7cb2ff, #c7dcff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(13,31,107,.25); }
.header__inner { display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; transition: color .3s; }
.header.is-scrolled .brand { color: var(--navy-800); }
.brand__mark { width: 42px; height: 42px; background: #fff; border-radius: 12px; padding: 5px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top { font-weight: 500; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.brand__bottom { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; margin-top: 3px; }
.brand--light { color: #fff; }

.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { color: rgba(255,255,255,.82); font-weight: 600; font-size: .93rem; position: relative; padding: .3rem 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue-400); transition: width .25s ease; border-radius: 2px; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header.is-scrolled .nav a { color: var(--ink-2); }
.header.is-scrolled .nav a:hover, .header.is-scrolled .nav a.is-active { color: var(--blue-600); }
.nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: #fff; transition: color .3s; }
.header__phone svg { color: #4ade80; width: 1.1em; height: 1.1em; }
.header.is-scrolled .header__phone { color: var(--navy-800); }
.header.is-scrolled .header__phone svg { color: var(--wa); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.is-scrolled .burger { background: var(--blue-50); }
.header.is-scrolled .burger span { background: var(--navy-800); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #1e3fae 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  padding: calc(var(--header-h) + 72px) 0 110px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--1 { width: 520px; height: 520px; background: #2f6bff; top: -160px; right: -80px; }
.hero__glow--2 { width: 380px; height: 380px; background: #0ea5e9; bottom: -200px; left: -100px; opacity: .25; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; margin-bottom: 1.4rem; }
.hero .lead { font-size: 1.12rem; color: rgba(225,234,255,.82); max-width: 560px; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero__bullets li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: rgba(225,234,255,.9); font-weight: 500; }
.hero__bullets svg { color: #4ade80; width: 1.1em; height: 1.1em; }

/* Device mockup */
.hero__visual { position: relative; padding: 30px 10px; }
.device { position: relative; max-width: 520px; margin-inline: auto; animation: floaty 7s ease-in-out infinite; }
.device__screen {
  background: linear-gradient(180deg, #0f1a4a, #0a1238); border-radius: 18px 18px 6px 6px;
  border: 10px solid #1a2350; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06); overflow: hidden;
}
.device__base { height: 16px; margin: 0 -7%; background: linear-gradient(180deg, #cfd7ea, #8e9abb); border-radius: 0 0 18px 18px; position: relative; }
.device__base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 18%; height: 6px; background: #a9b4cf; border-radius: 0 0 8px 8px; }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); font-size: .72rem; color: rgba(255,255,255,.55); }
.device__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.device__bar i:nth-child(2) { background: #f59e0b; }
.device__bar i:nth-child(3) { background: #22c55e; margin-right: 8px; }
.device__body { padding: 22px; }
.scan { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.scan__ring { position: relative; width: 140px; height: 140px; }
.scan__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.scan__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 9; }
.scan__progress { fill: none; stroke: url(#g-brand); stroke: #3b82f6; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; animation: ring 2.4s 0.4s cubic-bezier(.4,0,.2,1) forwards; }
.scan__value { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.scan__value strong { font-size: 1.9rem; font-weight: 800; }
.scan__value small { font-size: .68rem; color: rgba(255,255,255,.6); }
.scan__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.scan__list li { display: flex; justify-content: space-between; font-size: .8rem; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.75); }
.scan__list b { font-weight: 700; color: #4ade80; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, #60a5fa, rgba(37,99,235,.25)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 1.4s cubic-bezier(.4,0,.2,1) both; }
.bars i:nth-child(2n) { animation-delay: .1s; } .bars i:nth-child(3n) { animation-delay: .2s; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: .85rem; line-height: 1.25; animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-weight: 700; }
.float-card small { color: var(--ink-3); font-size: .76rem; }
.float-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card__icon--green { background: #e8f9ef; color: #16a34a; }
.float-card--a { left: -18px; bottom: 26%; animation-delay: -2s; }
.float-card--b { right: -10px; top: 6%; animation-delay: -4s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ring { to { stroke-dashoffset: 6.5; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Strip ---------- */
.strip { position: relative; z-index: 2; margin-top: -48px; }
.strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.strip__item { display: flex; align-items: center; gap: .9rem; padding: 1.5rem 1.6rem; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.strip__item small { font-weight: 500; color: var(--ink-3); font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: radial-gradient(100% 80% at 50% 0%, #142f9e 0%, var(--navy-800) 45%, var(--navy-900) 100%); color: #fff; position: relative; overflow: hidden; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.section__head p { color: var(--ink-2); font-size: 1.06rem; }
.section__head--light p { color: rgba(225,234,255,.78); }
.section__head--left { text-align: left; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden;
}
.service::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1.4rem; transition: background .3s, color .3s; }
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--grad); color: #fff; }
.service h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.service p { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.1rem; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.service li { position: relative; padding-left: 1.3rem; font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.service li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 0 3px var(--blue-50); }
.service--feature { background: var(--grad); color: #fff; border-color: transparent; }
.service--feature p { color: rgba(255,255,255,.85); }
.service--feature .service__icon, .service--feature:hover .service__icon { background: rgba(255,255,255,.15); color: #fff; }
.service--feature::before { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .95rem; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1.4rem; border-radius: 50%; background: #fff; color: var(--blue-600); font-weight: 800; font-size: 1.35rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.step:hover .step__num { background: var(--grad); color: #fff; }
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--ink-2); font-size: .94rem; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.why__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 1.1rem; }
.why__copy p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 2rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.why__item { padding: 1.6rem; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid var(--line); }
.why__item span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.why__item span svg { width: 22px; height: 22px; }
.why__item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.why__item p { color: var(--ink-2); font-size: .92rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2.2rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); }
.plan--featured { background: #fff; color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: scale(1.03); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #22c55e, #16a34a); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .05em; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; margin-bottom: 1.2rem; }
.plan__icon svg { width: 26px; height: 26px; }
.plan--featured .plan__icon { background: var(--grad); }
.plan h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .35rem; }
.plan__desc { color: rgba(225,234,255,.72); font-size: .95rem; margin-bottom: 1.5rem; }
.plan--featured .plan__desc { color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; flex: 1; }
.plan li { display: flex; align-items: center; gap: .65rem; font-size: .95rem; font-weight: 500; }
.plan li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(74,222,128,.15); color: #4ade80; }
.plan--featured li svg { background: #e8f9ef; color: #16a34a; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__logo { display: grid; place-items: center; }
.about__logo-ring { position: relative; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 3%; box-shadow: 0 40px 80px -30px rgba(13,31,107,.35), 0 0 0 14px var(--blue-50), 0 0 0 15px var(--line); }
.about__logo-ring { overflow: hidden; }
.about__logo-ring img { width: 100%; height: 100%; object-fit: contain; padding: 10% 8%; }
.about__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy-800); }
.about__tag { font-weight: 600; color: var(--blue-600); margin: .4rem 0 1.4rem !important; letter-spacing: .02em; }
.about__copy p { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 1rem; }
.about__copy strong { color: var(--ink); }
.about__contacts { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.about__contacts a { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s; }
.about__contacts a:hover { border-color: var(--blue-400); background: var(--blue-50); }
.about__contacts a svg { width: 1.15em; height: 1.15em; color: var(--blue-600); }
.about__contacts a:first-child svg { color: var(--wa); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-wrap .section__head h2 { margin-bottom: 1rem; }
.faq { display: grid; gap: .9rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231d4ed8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 1.3rem; font-size: .97rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.contact__info > p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 2.2rem; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.contact__list small { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact__list a, .contact__list span { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.contact__list a:hover { color: var(--blue-600); }
.contact__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.contact__icon svg { width: 24px; height: 24px; }
.contact__icon--wa { background: #e8f9ef; color: var(--wa); }

.form { background: #fff; padding: 2.4rem; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 1.1rem; }
.form h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .3rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .45rem; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink); padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-tint); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.form .is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.form__note { text-align: center; font-size: .82rem; color: var(--ink-3); }

/* Footer */
.footer { background: var(--navy-900); color: rgba(225,234,255,.7); padding: 80px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin-top: 1.2rem; max-width: 320px; font-size: .94rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; font-size: .94rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 26px; font-size: .86rem; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Chatbot
   ========================================================= */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 100; font-family: var(--font); }
.chat__launcher {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; box-shadow: 0 14px 30px -8px rgba(29,78,216,.7);
  display: grid; place-items: center; transition: transform .25s ease;
}
.chat__launcher:hover { transform: scale(1.06); }
.chat__launcher svg { width: 28px; height: 28px; position: absolute; transition: transform .3s, opacity .3s; }
.chat__ico-close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__ico-open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__ico-close { opacity: 1; transform: none; }
.chat__ping { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2.5px solid #fff; }
.chat__ping::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--green); animation: ping 1.8s ease-out infinite; }
.chat.is-open .chat__ping, .chat.seen .chat__ping { display: none; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

.chat__teaser {
  position: absolute; right: 78px; bottom: 12px; white-space: nowrap; background: #fff; color: var(--ink);
  padding: .7rem 1rem; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-lg); font-size: .9rem;
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .35s, transform .35s;
}
.chat__teaser.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.chat.is-open .chat__teaser { opacity: 0; pointer-events: none; }

.chat__panel {
  position: absolute; right: 0; bottom: 80px; width: 380px; height: min(600px, calc(100vh - 130px));
  background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(6,15,61,.45), 0 0 0 1px rgba(13,31,107,.06);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.chat.is-open .chat__panel { opacity: 1; transform: none; pointer-events: auto; }
.chat__head { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; background: radial-gradient(120% 140% at 100% 0%, #1e3fae, var(--navy-800) 60%, var(--navy-900)); color: #fff; }
.chat__head strong { display: block; font-size: 1rem; }
.chat__head small { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: rgba(225,234,255,.75); }
.online { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat__avatar { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 5px; }
.chat__avatar svg { width: 100%; height: 100%; }
.chat__close { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__close:hover { background: rgba(255,255,255,.2); }
.chat__close svg { width: 18px; height: 18px; }

.chat__body { flex: 1; overflow-y: auto; padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--bg-tint); scroll-behavior: smooth; }
.msg { max-width: 85%; padding: .75rem 1rem; border-radius: 16px; font-size: .92rem; line-height: 1.5; animation: pop .3s ease both; }
.msg p + p { margin-top: .5rem; }
.msg ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.msg li { margin: .15rem 0; }
.msg a { color: var(--blue-600); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg--user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg__cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; padding: .55rem .95rem; border-radius: 999px; background: var(--wa); color: #fff !important; font-weight: 700; text-decoration: none !important; font-size: .86rem; }
.msg__cta svg { width: 1.1em; height: 1.1em; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-300); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chat__quick { display: flex; gap: .45rem; padding: .7rem 1rem; overflow-x: auto; background: #fff; border-top: 1px solid var(--line); scrollbar-width: none; }
.chat__quick::-webkit-scrollbar { display: none; }
.chat__quick:empty { display: none; }
.chip { flex-shrink: 0; font: inherit; font-size: .82rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px; border: 1.5px solid #cfdcff; background: var(--blue-50); color: var(--blue-600); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.chat__input { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); background: #fff; }
.chat__input input { flex: 1; font: inherit; font-size: .93rem; padding: .75rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-tint); }
.chat__input input:focus { outline: none; border-color: var(--blue-400); background: #fff; }
.chat__input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__input button svg { width: 20px; height: 20px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .header__phone { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero__ctas, .hero__bullets { justify-content: center; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .why, .about, .faq-wrap, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .about__logo-ring { width: min(340px, 100%); }
  .faq-wrap .section__head { text-align: center; margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; margin: 0;
    background: #fff; padding: .5rem 24px 1.5rem; box-shadow: 0 20px 40px -20px rgba(13,31,107,.35);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a, .header.is-scrolled .nav a { color: var(--ink); padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav__cta-mobile { display: block; }
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
  .burger { display: flex; }
  .header.menu-open { background: #fff; }
  .header.menu-open .brand { color: var(--navy-800); }
  .header.menu-open .burger span { background: var(--navy-800); }
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured, .plan--featured:hover { transform: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 90px; }
  .hero__ctas .btn { width: 100%; }
  .scan { grid-template-columns: 1fr; justify-items: center; }
  .scan__list { width: 100%; }
  .float-card { display: none; }
  .services { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--line); }
  .why__grid, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 1.6rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .chat { right: 16px; bottom: 16px; }
  .chat__teaser { display: none; }
  .chat__panel { position: fixed; inset: auto 10px 92px 10px; width: auto; height: calc(100dvh - 120px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .scan__progress { stroke-dashoffset: 6.5; }
}

/* Hero entrance (no depende del scroll) */
.hero-in { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-in--late { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Botón de sonido */
.sound-toggle {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  color: var(--navy-800); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sound-toggle:hover { transform: scale(1.07); color: var(--blue-600); }
.sound-toggle svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.sound-toggle .sound-off { display: none; }
.sound-toggle.is-muted { color: var(--ink-3); }
.sound-toggle.is-muted .sound-on { display: none; }
.sound-toggle.is-muted .sound-off { display: block; }
@media (max-width: 640px) { .sound-toggle { left: 16px; bottom: 16px; width: 42px; height: 42px; } }
.nav a { white-space: nowrap; }
@media (max-width: 1080px) and (min-width: 901px) { .nav { gap: 1.1rem; } .header__inner { gap: 1.2rem; } }

/* Fondo de código binario: solo en secciones azules, dígitos blancos */
.binary-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.section--dark > .container { position: relative; z-index: 1; }
