/* Innosistec — estilos globales */
:root {
  --ink: #0a0d14;
  --ink-2: #1a2130;
  --muted: #5b6472;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --red: #e10600;
  --red-dark: #b80500;
  --red-soft: #fff1f0;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(10, 13, 20, .18);
  --max: 1200px;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #aab2c0; }
.text-red { color: var(--red); }

/* Botones */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; font-weight: 600; font-size: .98rem; font-family: var(--font-body);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(225,6,0,.7); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 14px 36px -10px rgba(225,6,0,.85); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.1); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Header: transparente sobre el banner, sólido al hacer scroll */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; position: relative; }
.brand img { height: 54px; width: auto; transition: opacity .3s ease; }
.brand .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; }
.is-scrolled .brand .logo-light { opacity: 0; }
.is-scrolled .brand .logo-dark { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .94rem; color: rgba(255,255,255,.85); position: relative; transition: color .2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: #fff; }
.is-scrolled .nav-links a { color: var(--ink-2); }
.is-scrolled .nav-links a:hover { color: var(--red); }
.nav-links .btn { padding: 11px 20px; color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; }
.is-scrolled .nav-toggle span { background: var(--ink); }
.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform-origin: left; transform: scaleX(0);
}

/* Banner principal */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 130px 0 110px;
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -2; pointer-events: none; }
.orb-1 { width: 560px; height: 560px; background: rgba(225,6,0,.35); top: -180px; right: -120px; animation: drift 14s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; background: rgba(120,20,40,.35); bottom: -200px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.15); } }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero .container > * { min-width: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: #dfe3ea; margin-bottom: 26px;
}
.hero-kicker b { background: var(--red); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .04em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); letter-spacing: -.035em; line-height: 1.05; }
.hero h1 .line { display: block; overflow: hidden; padding: .04em 0 .24em; margin-bottom: -.2em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.rotator { display: inline-grid !important; vertical-align: bottom; }
@keyframes gradient { to { background-position: 300% 0; } }
.rotator .word {
  grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease), transform .6s var(--ease); white-space: nowrap;
  padding: 0 .06em .24em 0; margin-bottom: -.24em;
  background: linear-gradient(90deg, #ff3b30, var(--red), #ff7a45, #ff3b30);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient 6s linear infinite;
}
.rotator .word.is-active { opacity: 1; transform: none; }
.rotator .word.is-out { opacity: 0; transform: translateY(-40%); }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .45s; } .d2 { animation-delay: .6s; } .d3 { animation-delay: .75s; } .d4 { animation-delay: .5s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-lead { font-size: 1.15rem; color: #b9c0cc; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.hero-stats > div > span { font-size: .85rem; color: #8b94a3; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Maqueta animada */
.hero-visual { position: relative; perspective: 1400px; }
.tilt { transition: transform .4s var(--ease); transform-style: preserve-3d; }
.floaty { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.mock {
  background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.08);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d5d9df; }
.mock-bar i:first-child { background: var(--red); }
.mock-bar em { margin-left: 12px; font-style: normal; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2px 12px; border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 60px 1fr; min-height: 330px; }
.mock-side { background: var(--ink); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-side b { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.1); }
.mock-side b:first-child { background: var(--red); }
.mock-main { padding: 18px; min-width: 0; }
.mock-title { font-family: var(--font-head); font-weight: 800; font-size: .98rem; margin-bottom: 12px; display: flex; justify-content: space-between; }
.mock-title small { color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.mock-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mock-stat { background: var(--bg-soft); border-radius: 10px; padding: 10px; }
.mock-stat strong { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; }
.mock-stat span { font-size: .7rem; color: var(--muted); }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-bottom: 10px; }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(to top, var(--red), #ff6a5c); transform-origin: bottom; transform: scaleY(0); animation: grow 1.2s var(--ease) forwards; }
@keyframes grow { to { transform: scaleY(1); } }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .8rem; opacity: 0; animation: fadeUp .6s var(--ease) forwards; }
.mock-row .t { font-weight: 700; width: 44px; }
.mock-row .n { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: .66rem; padding: 3px 8px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.tag--ok { background: #e7f7ee; color: #0f7a3d; }
.tag--wa { background: #e8f8ef; color: #128c4a; }
.tag--wait { background: var(--red-soft); color: var(--red-dark); }
.mock-chat {
  position: absolute; right: -24px; bottom: -40px; width: 250px; z-index: 2;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); font-size: .78rem;
  transform: translateZ(60px);
}
.mock-chat header { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .78rem; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.mock-chat header i { width: 22px; height: 22px; border-radius: 50%; background: #25d366; }
.chat-log { display: grid; gap: 6px; min-height: 120px; align-content: end; }
.chat-log p { margin: 0; padding: 7px 10px; border-radius: 10px; background: var(--bg-soft); max-width: 88%; animation: pop .4s var(--ease); }
.chat-log p.me { background: #dcf8c6; justify-self: end; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.typing { display: inline-flex; gap: 3px; padding: 9px 12px !important; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa3b0; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.float-badge {
  position: absolute; left: -36px; top: 40px; z-index: 2; transform: translateZ(80px);
  background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.55); font-size: .8rem; animation: floaty 5s ease-in-out infinite;
}
.float-badge i { width: 32px; height: 32px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.float-badge strong { display: block; font-size: .9rem; }
.float-badge small { color: var(--muted); }

/* Cinta de servicios en movimiento */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: -20px 0 0; position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Tarjetas */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(225,6,0,.09), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(10,13,20,.3); border-color: rgba(225,6,0,.25); }
.card-media { margin: -28px -28px 0; aspect-ratio: 16/11; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 18px; position: relative;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.card-media + .card-icon { margin-top: -26px; background: #fff; box-shadow: var(--shadow); }
.card:hover .card-icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; font-size: .92rem; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-top: .62em; }
.card .btn { margin-top: 10px; padding: 10px 18px; font-size: .9rem; }

/* ClinicIN */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.featured > * { min-width: 0; }
.featured h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.featured-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(800px 400px at 0% 0%, rgba(225,6,0,.18), transparent 60%),
              radial-gradient(600px 400px at 100% 100%, rgba(225,6,0,.12), transparent 60%);
}
.badge-star { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(225,6,0,.15); color: #ff7a73; font-weight: 700; font-size: .8rem; margin-bottom: 18px; border: 1px solid rgba(225,6,0,.35); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 34px; }
.feature { display: flex; gap: 12px; }
.feature svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.feature strong { display: block; font-size: .98rem; }
.feature span { font-size: .88rem; color: #aab2c0; }
.featured-visual { position: relative; }
.featured-visual > img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.featured-panel {
  position: absolute; left: -40px; bottom: -40px; width: min(330px, 80%);
  background: rgba(20,26,38,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.wa-thread { display: grid; gap: 8px; font-size: .86rem; }
.wa-msg { max-width: 86%; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.wa-msg.out { margin-left: auto; background: #1f7a4d; }
.wa-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; }
.wa-head small { display: block; color: #8b94a3; }

/* Números */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--ink); line-height: 1; }
.stats-band strong em { font-style: normal; color: var(--red); }
.stats-band > div > span { color: var(--muted); font-size: .95rem; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { padding: 30px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; display: block; margin-bottom: 10px;
  color: transparent; -webkit-text-stroke: 1.5px var(--red);
}
.step h4 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Sobre nosotros y preguntas frecuentes */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about > * { min-width: 0; }
.about h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.about p { color: var(--muted); font-size: 1.05rem; }
.about p strong { color: var(--ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 0; }
.facts div { padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 700; font-family: var(--font-head); }
.faq-title { font-size: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); font-size: 1.2rem; transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); color: #fff; }
.faq summary:hover { color: var(--red); }
.faq details p { color: var(--muted); margin: 0 0 18px; animation: fadeUp .4s var(--ease); }

/* Llamado a la acción */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px; color: #fff;
  background: linear-gradient(120deg, #e10600, #8f0400 60%, #0a0d14);
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
}
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; max-width: 620px; position: relative; }
.cta-band .btn { background: #fff; color: var(--red); position: relative; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact > * { min-width: 0; }
.contact-info { display: grid; gap: 16px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.contact-item .card-icon { margin: 0; width: 48px; height: 48px; }
.contact-item small { display: block; color: var(--muted); }
.contact-item strong { font-weight: 600; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(225,6,0,.1); }
.form .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: #aab2c0; padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* WhatsApp flotante (no tapa contenido) */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  animation: waPulse 2.6s infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.wa-float svg { width: 28px; height: 28px; }

/* Páginas legales */
.legal-hero { background: var(--ink); color: #fff; padding: 140px 0 60px; position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(225,6,0,.25); filter: blur(90px); top: -250px; right: -100px; }
.legal-hero .container { position: relative; }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.legal-hero p { color: #aab2c0; margin: 0; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 64px 24px 96px; }
.legal > * { min-width: 0; }
.legal-toc { position: sticky; top: 100px; align-self: start; font-size: .9rem; }
.legal-toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-toc a { text-decoration: none; color: var(--ink-2); }
.legal-toc a:hover { color: var(--red); }
.legal-body { max-width: 760px; }
.legal-body section { padding: 8px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: 1.45rem; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body .intro { font-size: 1.08rem; color: var(--ink-2); }
.callout { background: var(--red-soft); border-left: 4px solid var(--red); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.highlight-section { background: var(--bg-soft); border-radius: var(--radius); padding: 28px !important; border: 2px solid var(--red) !important; }
.highlight-section:target { box-shadow: 0 0 0 6px rgba(225,6,0,.12); }

/* Revelado al hacer scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-up, .mock-row { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero .container, .featured, .contact, .about { grid-template-columns: 1fr; }
  .about { gap: 40px; }
  .hero { min-height: auto; }
  .hero-visual { max-width: 540px; margin: 20px auto 40px; width: 100%; }
  .scroll-cue { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; background: var(--bg-soft); padding: 20px; border-radius: var(--radius); }
  .featured-panel { left: 16px; bottom: -40px; }
  .featured-visual { margin-bottom: 40px; }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .legal { padding: 40px 16px 72px; }
  .nav { height: 68px; }
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; color: var(--ink-2) !important; }
  .nav-links .btn { margin-top: 8px; }
  .hero { padding: 110px 0 80px; }
  .hero-stats { gap: 24px; }
  .grid-4, .grid-3, .feature-list, .form-row, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mock-chat { right: -6px; bottom: -50px; width: 210px; }
  .float-badge { left: -6px; top: -24px; }
  .cta-band { padding: 40px 24px; }
  .featured-panel { position: relative; left: auto; bottom: auto; width: auto; margin: -50px 12px 0; }
}
