/* ============================================================
   CoreTec — Servicios IA: Automatización + Captación
   Landing independiente para serviciosia.coretec.com.mx
   Paleta e identidad heredadas de coretec.com.mx
   ============================================================ */

/* ---------- Reset ---------- */
*, ::before, ::after { box-sizing: border-box; border: 0 solid #e4e6ef; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; line-height: 1.5; font-family: 'DM Sans', system-ui, sans-serif; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 96px; }
body { line-height: inherit; min-height: 100vh; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; padding: 0; }
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }

/* ---------- Tokens de marca CoreTec ---------- */
:root {
  --rojo: #C00000; --rojo-lite: #e11a1a; --rojo-dark: #9c0000;
  --negro: #0A0A0A; --indigo: #202080; --indigo2: #404090;
  --violeta: #300090; --lavanda: #9090C0;
  --tinta: #14142B; --gris: #5b5b74; --linea: #e4e6ef;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--tinta);
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(48,0,144,.10), transparent 60%),
    radial-gradient(820px 560px at 6% 110%, rgba(32,32,128,.09), transparent 60%),
    linear-gradient(180deg, #F7F8FB 0%, #EEF0F6 100%);
  background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Helpers ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 84px; }
.sec { padding: 92px 0; position: relative; z-index: 1; }
.sec.tight { padding: 68px 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--violeta); margin: 0 0 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--rojo); }
.kicker.on-dark { color: #c9c6ff; }
.kicker.on-dark::before { background: #ff8f8f; }

.sec-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 42px; line-height: 1.08; letter-spacing: -1px;
  color: var(--negro); margin: 0;
}
.sec-title .grad { background: linear-gradient(100deg, var(--indigo), var(--violeta) 60%, #5b2ad0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-title.on-dark { color: #fff; }
.sec-lead { font-size: 18.5px; line-height: 1.6; color: var(--gris); margin: 16px 0 0; max-width: 660px; }
.sec-lead.on-dark { color: #cfcfe8; }
.center { text-align: center; }
.center .sec-lead { margin-left: auto; margin-right: auto; }
.center .kicker { justify-content: center; }

/* ---------- Botones ---------- */
.btn { position: relative; overflow: hidden; border: 0; cursor: pointer; font-weight: 600; font-family: 'Space Grotesk', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.btn::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 48%; background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0)); border-radius: 13px 13px 40px 40px; pointer-events: none; }
.btn-primary { color: #fff; padding: 15px 30px; font-size: 17px; background: linear-gradient(180deg, var(--rojo-lite) 0%, var(--rojo) 52%, var(--rojo-dark) 100%); box-shadow: 0 12px 26px rgba(192,0,0,.40), 0 2px 5px rgba(192,0,0,.35), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(192,0,0,.46), 0 3px 7px rgba(192,0,0,.4), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-ghost { color: #20203a; padding: 15px 28px; font-size: 17px; background: linear-gradient(180deg, #ffffff, #eceff6); border: 1px solid #dcdfeb; box-shadow: 0 8px 18px rgba(32,32,128,.10), inset 0 1px 0 #fff; }
.btn-ghost::after { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(32,32,128,.16), inset 0 1px 0 #fff; }
.btn-light { color: #20203a; padding: 15px 28px; font-size: 17px; background: linear-gradient(180deg, #ffffff, #e9ebf4); box-shadow: 0 10px 24px rgba(0,0,0,.28), inset 0 1px 0 #fff; }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline-light { color: #fff; padding: 15px 28px; font-size: 17px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
.btn-outline-light::after { display: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(228,230,239,.7); box-shadow: 0 4px 20px rgba(32,32,128,.05); }
.header-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 84px; position: relative; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; }
.brand-sub { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--violeta); border-left: 1px solid var(--linea); padding-left: 12px; line-height: 1.3; max-width: 110px; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { color: #2c2c40; font-weight: 500; font-size: 16.5px; font-family: 'Space Grotesk', sans-serif; transition: color .2s; }
.nav a:hover { color: var(--rojo); }
.btn-nav { padding: 12px 24px; font-size: 15.5px; border-radius: 12px; }

.burger { display: none; flex-direction: column; gap: 5px; border: 0; padding: 8px; z-index: 21; }
.burger span { width: 26px; height: 2.5px; background: #20203a; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger.x span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.x span:nth-child(2) { opacity: 0; }
.burger.x span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: calc(100% + 10px); left: 22px; right: 22px; background: #fff; border: 1px solid var(--linea); border-radius: 18px; box-shadow: 0 20px 44px rgba(32,32,128,.16); flex-direction: column; padding: 14px; gap: 4px; z-index: 21; }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a:not(.btn) { padding: 13px 14px; border-radius: 10px; color: #2c2c40; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16px; }
.mobile-nav a:not(.btn):hover { background: #f3f4fc; color: var(--rojo); }
.mobile-nav .btn { justify-content: center; margin-top: 8px; }

/* ============================================================
   Barra webinar (sticky superior)
   ============================================================ */
.topbar { background: linear-gradient(100deg, #201e52, #2c1b64 52%, #3b1571); color: #fff; }
.topbar-inner { max-width: 1440px; margin: 0 auto; padding: 11px 84px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 14.8px; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 0 rgba(255,93,93,.65); animation: pulse 2.1s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(255,93,93,0); } 100% { box-shadow: 0 0 0 0 rgba(255,93,93,0); } }
.topbar b { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.topbar a.tlink { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; padding: 7px 16px; border-radius: 9px; background: #fff; color: #2b1a60; white-space: nowrap; transition: transform .18s ease; }
.topbar a.tlink:hover { transform: translateY(-1px); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 74px 0 78px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 10px; border-radius: 999px; background: rgba(48,0,144,.07); border: 1px solid rgba(48,0,144,.16); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--violeta); margin-bottom: 20px; }
.badge i { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rojo); color: #fff; font-size: 12px; font-style: normal; }
.hero h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 57px; line-height: 1.03; letter-spacing: -1.9px; color: var(--negro); margin: 0 0 20px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--indigo), var(--violeta) 55%, #5b2ad0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19.5px; line-height: 1.6; color: var(--gris); margin: 0 0 30px; max-width: 580px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-proof { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--linea); }
.hero-proof div b { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 27px; letter-spacing: -.8px; color: var(--violeta); line-height: 1.1; }
.hero-proof div span { font-size: 14px; color: var(--gris); }

/* Tarjeta de registro del hero */
.regcard { background: linear-gradient(155deg, #201e52, #2c1b64 55%, #3b1571); border-radius: 24px; padding: 30px 30px 26px; box-shadow: 0 26px 60px rgba(48,0,144,.30); color: #fff; position: relative; overflow: hidden; }
.regcard::before { content: ""; position: absolute; width: 320px; height: 320px; right: -130px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.regcard .rtag { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #ff9a9a; margin-bottom: 12px; }
.regcard h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 25px; line-height: 1.16; letter-spacing: -.6px; margin: 0 0 8px; position: relative; }
.regcard .when { font-size: 15.5px; color: #c9c9e8; margin-bottom: 18px; position: relative; }
.regcard .when b { color: #fff; font-family: 'Space Grotesk', sans-serif; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 20px; position: relative; }
.cd { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 11px 4px; text-align: center; }
.cd b { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 25px; line-height: 1.1; letter-spacing: -.5px; }
.cd span { font-size: 10.5px; letter-spacing: 1.1px; text-transform: uppercase; color: #b8b8d8; }

.form { display: flex; flex-direction: column; gap: 12px; position: relative; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .3px; color: #c3c3e0; min-width: 0; }
.form input, .form select, .form textarea { width: 100%; font-family: 'DM Sans', sans-serif; font-size: 15px; color: #fff; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.07); transition: border-color .2s ease, box-shadow .2s ease; }
.form input::placeholder, .form textarea::placeholder { color: #9292b8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #8f8fe0; box-shadow: 0 0 0 3px rgba(143,143,224,.22); }
.form select option { color: #14142B; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .mini { font-size: 12.3px; color: #a9a9cd; line-height: 1.45; }
.form .mini a { text-decoration: underline; }

/* Formulario en fondo claro */
.form.light label { color: #2c2c40; }
.form.light input, .form.light select, .form.light textarea { color: var(--tinta); border-color: #d9dcec; background: #fbfbfe; }
.form.light input::placeholder, .form.light textarea::placeholder { color: #a4a6bd; }
.form.light .mini { color: var(--gris); }

.formnote { margin-top: 12px; font-size: 13px; color: #a9a9cd; text-align: center; position: relative; }
.formnote a { color: #fff; text-decoration: underline; }

/* ============================================================
   Logos / franja de confianza
   ============================================================ */
.strip { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: rgba(255,255,255,.55); padding: 22px 0; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: #6a6a88; letter-spacing: .2px; }
.strip-inner span { display: inline-flex; align-items: center; gap: 9px; }
.strip-inner svg { color: var(--violeta); flex: none; }

/* ============================================================
   Dolor / problema
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pain { background: rgba(255,255,255,.88); border: 1px solid var(--linea); border-radius: 18px; padding: 26px 24px; box-shadow: 0 10px 26px rgba(32,32,128,.06); }
.pain .pi { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; margin-bottom: 14px; color: var(--rojo); background: linear-gradient(180deg, #fff1f1, #ffe4e4); border: 1px solid #ffd7d7; }
.pain b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 17.5px; color: #1c1c33; margin-bottom: 7px; }
.pain p { font-size: 15.3px; line-height: 1.55; color: var(--gris); }

/* ============================================================
   Cómo opera en conjunto (pipeline)
   ============================================================ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.duocard { border-radius: 22px; padding: 30px 30px 28px; position: relative; overflow: hidden; }
.duocard.a { background: linear-gradient(150deg, #201e52, #2c1b64 55%, #3b1571); color: #fff; box-shadow: 0 20px 46px rgba(48,0,144,.24); }
.duocard.b { background: linear-gradient(150deg, #2a1550, #431775 55%, #5b1a3f); color: #fff; box-shadow: 0 20px 46px rgba(90,0,90,.22); }
.duocard .dtag { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: #ff9a9a; margin-bottom: 11px; }
.duocard h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -.5px; margin: 0 0 12px; }
.duocard p { font-size: 15.8px; line-height: 1.6; color: #d8d8f0; margin: 0 0 16px; }
.duocard ul { display: flex; flex-direction: column; gap: 9px; }
.duocard li { position: relative; padding-left: 24px; font-size: 15.2px; color: #e2e2f6; line-height: 1.45; }
.duocard li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 3px; background: #ff8f8f; }

.joint { margin-top: 20px; background: rgba(255,255,255,.9); border: 1px solid var(--linea); border-radius: 22px; padding: 30px 32px; box-shadow: 0 14px 32px rgba(32,32,128,.08); }
.joint h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px; color: #1c1c33; margin: 0 0 6px; letter-spacing: -.4px; }
.joint > p { font-size: 15.8px; color: var(--gris); margin: 0 0 24px; max-width: 720px; }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { position: relative; background: linear-gradient(180deg, #ffffff, #f4f5fb); border: 1px solid #e4e6ef; border-radius: 15px; padding: 18px 16px; }
.step .n { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13.5px; color: #fff; background: linear-gradient(180deg, var(--indigo2), var(--violeta)); margin-bottom: 11px; }
.step b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15.3px; color: #1c1c33; margin-bottom: 5px; }
.step p { font-size: 13.8px; line-height: 1.45; color: var(--gris); }
.step::after { content: ""; position: absolute; right: -9px; top: 50%; width: 10px; height: 10px; border-right: 2px solid #cfd2e6; border-top: 2px solid #cfd2e6; transform: translateY(-50%) rotate(45deg); }
.step:last-child::after { display: none; }

/* ============================================================
   Módulos / qué incluye
   ============================================================ */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.mod { background: rgba(255,255,255,.9); border: 1px solid var(--linea); border-radius: 20px; padding: 28px 26px; box-shadow: 0 12px 30px rgba(32,32,128,.07); transition: transform .22s ease, box-shadow .22s ease; }
.mod:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(32,32,128,.13); }
.mod .ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px; color: var(--indigo); background: linear-gradient(180deg, #f3f4fc, #e7e9f8); border: 1px solid #e0e3f4; box-shadow: inset 0 1px 0 #fff; }
.mod h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18.5px; font-weight: 600; color: #1c1c33; margin: 0 0 8px; letter-spacing: -.3px; }
.mod p { font-size: 15.2px; line-height: 1.55; color: var(--gris); }

/* ============================================================
   Caso franquicias
   ============================================================ */
.case { background: linear-gradient(150deg, #1b1a4a, #2c1b64 52%, #431775); color: #fff; }
.case-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.case blockquote { margin: 26px 0 0; padding: 22px 24px; border-left: 3px solid #ff8f8f; background: rgba(255,255,255,.06); border-radius: 0 14px 14px 0; font-size: 17px; line-height: 1.55; color: #e6e6fa; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 24px 22px; }
.metric b { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 34px; letter-spacing: -1.2px; line-height: 1.05; margin-bottom: 6px; background: linear-gradient(100deg, #fff, #c9c6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric span { font-size: 14.2px; color: #c5c5e2; line-height: 1.4; display: block; }

/* ============================================================
   Webinar
   ============================================================ */
.webinar { background: rgba(255,255,255,.62); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.web-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.web-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 12px; background: #fff; border: 1px solid var(--linea); box-shadow: 0 6px 16px rgba(32,32,128,.06); font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14.5px; color: #24243d; }
.chip svg { color: var(--rojo); flex: none; }
.agenda { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.ag { display: flex; gap: 15px; align-items: flex-start; background: rgba(255,255,255,.85); border: 1px solid var(--linea); border-radius: 14px; padding: 16px 18px; }
.ag .agn { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: #fff; background: linear-gradient(180deg, var(--indigo2), var(--violeta)); }
.ag b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 15.8px; color: #1c1c33; margin-bottom: 3px; }
.ag p { font-size: 14.6px; line-height: 1.5; color: var(--gris); }
.forwho { margin-top: 26px; padding: 20px 22px; border-left: 3px solid var(--rojo); background: rgba(255,255,255,.75); border-radius: 0 14px 14px 0; }
.forwho b { font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; color: #1c1c33; }
.forwho p { font-size: 15.2px; color: #3a3a52; line-height: 1.55; margin-top: 5px; }

.regpanel { position: sticky; top: 112px; background: linear-gradient(155deg, #201e52, #2c1b64 55%, #3b1571); border-radius: 24px; padding: 30px 30px 26px; box-shadow: 0 24px 56px rgba(48,0,144,.28); color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 12px; }
.fq { background: rgba(255,255,255,.9); border: 1px solid var(--linea); border-radius: 15px; overflow: hidden; }
.fq summary { list-style: none; cursor: pointer; padding: 19px 22px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16.8px; color: #1c1c33; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--violeta); border-bottom: 2px solid var(--violeta); transform: rotate(45deg); transition: transform .22s ease; }
.fq[open] summary::after { transform: rotate(-135deg); }
.fq p { padding: 0 22px 20px; font-size: 15.5px; line-height: 1.6; color: var(--gris); }

/* ============================================================
   CTA final
   ============================================================ */
.final { background: linear-gradient(120deg, #1b1a4a, #300090 55%, #4a1080); color: #fff; }
.final-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.final .formbox { background: rgba(255,255,255,.95); border-radius: 24px; padding: 30px 30px 26px; box-shadow: 0 24px 56px rgba(0,0,0,.30); }
.final .formbox h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21.5px; color: #1c1c33; margin: 0 0 6px; letter-spacing: -.4px; }
.final .formbox > p { font-size: 15px; color: var(--gris); margin: 0 0 20px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cline { display: flex; align-items: center; gap: 13px; }
.cline i { flex: none; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; color: #ff8f8f; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.cline b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; color: #b9bad4; font-weight: 600; }
.cline span { font-size: 16.2px; color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0e0e20; color: #9a9cbb; padding: 44px 0 34px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
/* Logo original sobre una placa clara: conserva los colores de marca y evita
   el efecto borroso que producía el filtro de inversión a blanco. */
.foot-brand img { height: 52px; width: auto; background: #fff; border-radius: 12px; padding: 7px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.foot-brand p { font-size: 14.2px; max-width: 340px; line-height: 1.5; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14.8px; }
.foot-links a:hover { color: #fff; }
.foot-bottom { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.6px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- WhatsApp FAB ---------- */
.wafab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #34d36d, #16a34a); color: #fff; box-shadow: 0 14px 30px rgba(22,163,74,.42); transition: transform .18s ease; }
.wafab:hover { transform: translateY(-3px) scale(1.04); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .wrap { padding: 0 40px; }
  .header-inner, .topbar-inner { padding-left: 40px; padding-right: 40px; }
  .sec { padding: 72px 0; }
  .sec-title { font-size: 36px; }
  .hero h1 { font-size: 46px; letter-spacing: -1.4px; }
  .hero-grid, .case-grid, .web-grid, .final-grid { grid-template-columns: 1fr; gap: 40px; }
  .regpanel { position: static; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .pain-grid, .mods { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .btn-nav { display: none; }
  .burger { display: flex; }
  .duo { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 22px; }
  .header-inner, .topbar-inner { padding-left: 22px; padding-right: 22px; }
  .sec { padding: 56px 0; }
  .sec.tight { padding: 44px 0; }
  .sec-title { font-size: 29px; }
  .sec-lead { font-size: 16.5px; }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: 35px; letter-spacing: -1px; }
  .hero p.lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .pain-grid, .mods, .metrics, .flow { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .brand img { height: 48px; }
  .regcard, .regpanel, .final .formbox, .joint { padding: 24px 20px; }
  .form .row2 { grid-template-columns: 1fr; }
  .topbar-inner { font-size: 13.4px; gap: 10px; }
  .foot-bottom { flex-direction: column; }
}
