/* ==========================================================================
   Vivo En Red — estilos globales
   Colores de marca: rojo #cf0923 · negro #1d1d1b · blanco
   ========================================================================== */

:root {
  --red: #cf0923;
  --red-600: #b0071d;
  --red-50: #fdecee;
  --ink: #1d1d1b;
  --ink-2: #3b3a37;
  --muted: #6b6964;
  --line: #e9e5e1;
  --bg: #ffffff;
  --bg-soft: #f7f4f1;
  --dark: #141413;
  --dark-2: #1f1e1c;
  --wa: #25d366;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(29, 29, 27, .06), 0 2px 8px rgba(29, 29, 27, .05);
  --shadow: 0 10px 30px -12px rgba(29, 29, 27, .22);
  --shadow-lg: 0 30px 60px -20px rgba(29, 29, 27, .35);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #f3f1ee; }
.section--dark .lead, .section--dark .muted { color: #b9b5ae; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.accent { color: var(--red); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(207, 9, 35, .7); }
.btn--primary:hover { background: var(--red-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost { color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wa { background: var(--wa); color: #06361a; }
.btn--wa:hover { background: #1ebe5a; }
.btn--block { width: 100%; }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--ink-2); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1140px) and (min-width: 921px) { .nav { gap: 20px; } .nav a { font-size: .9rem; } .brand img { width: 104px; } }

/* Submenú de Servicios */
.nav-group { position: relative; }
.nav-group > a { padding-right: 16px; }
.nav-group > a::before { content: ""; position: absolute; right: 2px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.submenu {
  position: absolute; top: calc(100% + 18px); left: -20px; min-width: 290px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-group:hover .submenu, .nav-group:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; }
.nav .submenu a::after { display: none; }
.nav .submenu a:hover { background: var(--bg-soft); }
.submenu svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }
.submenu strong { display: block; color: var(--ink); font-size: .95rem; }
.submenu small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-group > a { padding-right: 0; }
  .nav-group > a::before { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .submenu::before { display: none; }
  .nav .submenu a { padding: 10px 0; border-bottom: 0; }
  .submenu small { display: none; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  /* anillo rojo de marca */
  content: ""; position: absolute; width: clamp(420px, 52vw, 760px); aspect-ratio: 1; border-radius: 50%;
  border: clamp(56px, 7vw, 110px) solid var(--red); right: clamp(-360px, -18vw, -160px); top: clamp(-320px, -16vw, -140px);
  opacity: .96; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { white-space: nowrap; }
.hero .lead { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-stats strong { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats span { font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; min-height: 440px; }
.browser {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, .06);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #f1eeeb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d9d4cf; }
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 11px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; max-width: 230px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hero-visual .browser { position: absolute; width: 78%; }
.hero-visual .b1 { top: 0; right: 0; z-index: 1; transform: rotate(1.5deg); }
.hero-visual .b2 { top: 28%; left: 0; z-index: 2; transform: rotate(-2deg); }
.hero-visual .b3 { bottom: -4%; right: 6%; width: 56%; z-index: 3; }
.hero-badge {
  position: absolute; z-index: 4; left: 4%; bottom: 2%; background: var(--ink); color: #fff;
  border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow);
  font-size: .9rem; line-height: 1.3;
}
.hero-badge img { width: 34px; }
.hero-badge strong { display: block; font-size: 1rem; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / .82; margin-top: 12px; }
  .hero::before { top: -300px; right: -250px; width: 380px; border-width: 50px; }
}
@media (max-width: 520px) {
  .hero h1 .accent { white-space: normal; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-badge { display: none; }
}

/* ---------- Marquee de clientes ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; background: #fff; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; font-size: 1.05rem; color: #8f8b85; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas de servicio ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--red-50); color: var(--red);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-2); }
.card .from { font-size: .9rem; color: var(--muted); margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.card .from strong { color: var(--ink); font-size: 1.05rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--dark .checklist li { color: #d8d4ce; }

/* ---------- Sectores ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.sector { background: #fff; padding: 28px; transition: background .2s; }
.sector:hover { background: var(--bg-soft); }
.sector h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.sector h3 svg { width: 24px; height: 24px; color: var(--red); flex: none; }
.sector p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 920px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Portafolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-media { position: relative; background: var(--bg-soft); padding: 22px 22px 0; overflow: hidden; }
.work-media .browser { border-radius: 10px 10px 0 0; box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .25); transition: transform .5s ease; }
.work:hover .work-media .browser { transform: translateY(-6px); }
.work-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.tag--red { background: var(--red-50); color: var(--red-600); }
.work h3 { margin-bottom: .35em; }
.work p { color: var(--ink-2); font-size: .98rem; }
.work-link { margin-top: auto; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.work-link svg { width: 16px; height: 16px; transition: transform .2s; }
.work:hover .work-link svg { transform: translate(3px, -3px); }

.work-list { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.work-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.work-list a { font-weight: 600; }
.work-list a:hover { color: var(--red); }
.work-list small { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .55em 1.1em; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Sistemas a medida ---------- */
.systems { display: grid; gap: clamp(64px, 9vw, 120px); }
.system { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.system:nth-child(even) .system-media { order: -1; }
.system h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.system .lead { font-size: 1.05rem; margin-bottom: 1.4rem; }
.system .checklist { margin-bottom: 1.6rem; }
.system-media { position: relative; padding-bottom: 12%; }
.system-media .browser img { aspect-ratio: auto; object-fit: initial; }
.system-media .sub { position: absolute; width: 58%; right: -4%; bottom: 0; z-index: 2; }
.system:nth-child(even) .system-media .sub { right: auto; left: -4%; }
.system-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .85rem; letter-spacing: .04em; color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; }
.system-label svg { width: 16px; height: 16px; color: var(--red); }
.privacy-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 920px) {
  .system { grid-template-columns: 1fr; }
  .system:nth-child(even) .system-media { order: 0; }
  .system-media .sub { right: -2%; width: 62%; }
  .system:nth-child(even) .system-media .sub { left: auto; right: -2%; }
}

/* ---------- Incluido ---------- */
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.included > div { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #2c2b28; }
.included svg { width: 26px; height: 26px; color: var(--red); flex: none; margin-top: 2px; }
.included h3 { font-size: 1.02rem; margin-bottom: .25em; }
.included p { margin: 0; font-size: .92rem; color: #aaa59e; }
@media (max-width: 920px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: block; font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: var(--red); margin-bottom: 16px; letter-spacing: -.03em;
}
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps .pay { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--red-600); background: var(--red-50); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; }
.plan--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan--featured .checklist li, .plan--featured .plan-desc { color: #d6d2cc; }
.plan-badge { position: absolute; top: -13px; left: 30px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin-bottom: .3em; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan--featured .price small, .plan--featured .price-note { color: #a8a39c; }
.price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-note { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.plan .checklist { margin-bottom: 28px; font-size: .96rem; }
.plan .btn { margin-top: auto; }
.plan--featured .btn--ghost { color: #fff; }
.plan--featured .btn--ghost:hover { background: #fff; color: var(--ink); }

.extras { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.extras div { background: #fff; padding: 20px 22px; }
.extras span { display: block; font-size: .88rem; color: var(--muted); }
.extras strong { font-size: 1.12rem; }
@media (max-width: 920px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .extras { grid-template-columns: 1fr; } }
.extras--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .extras--3 { grid-template-columns: 1fr; } }
.pricing-foot { margin-top: 22px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf0923' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; max-width: 72ch; }

/* ---------- CTA / Contacto ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; aspect-ratio: 1; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .12); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 56ch; color: #ffe3e6; font-size: 1.1rem; }
.cta-band .btn--dark { background: #fff; color: var(--ink); }
.cta-band .btn--dark:hover { background: var(--ink); color: #fff; }
.cta-band .btn--ghost { color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--red); border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; z-index: 1; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 600; transition: border-color .2s, transform .2s; }
.contact-list a:hover { border-color: var(--red); transform: translateX(4px); }
.contact-list svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.contact-list small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(207, 9, 35, .12); }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; display: none; }
.form-status.is-error { display: block; background: var(--red-50); color: var(--red-600); }
.form-status.is-ok { display: block; background: #e8f8ee; color: #136b35; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #bdb8b1; padding-block: 72px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #262522; color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #2c2b28; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8b867f; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Páginas internas ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; border-radius: 50%; border: 70px solid var(--red); right: -220px; top: -220px; z-index: -1; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Páginas de servicio ---------- */
.page-hero .lead { margin-bottom: 1.6rem; }
.page-hero .hero-cta { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; color: var(--red); margin-bottom: 12px; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.price-box { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 100px; }
.price-box .price small, .price-box .price-note { color: #a8a39c; }
.price-box .checklist li { color: #d6d2cc; }
.price-box .checklist { margin: 18px 0 26px; }
.link-arrow { font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; }
.card .link-arrow { margin-top: 14px; }

/* ---------- Landing de campaña ---------- */
.lp-header .header-inner { height: 70px; }
.lp-hero { background: var(--dark); color: #f4f1ec; position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.lp-hero::before { content: ""; position: absolute; width: 640px; aspect-ratio: 1; border-radius: 50%; border: 96px solid var(--red); right: -300px; top: -280px; opacity: .95; }
.lp-hero .lead { color: #c9c4bd; }
.lp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.lp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 920px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-hero::before { width: 360px; border-width: 48px; right: -230px; top: -290px; }
}
@media (max-width: 560px) {
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-row > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
}
.lp-hero .checklist li { color: #e3dfd9; }
.lp-hero .form { color: var(--ink); }
.lp-price-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 16px 8px 8px; margin-bottom: 22px; font-size: .92rem; }
.lp-price-pill b { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: .8rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 28px; font-size: .92rem; color: #b5b0a9; }
.trust-row strong { color: #fff; font-size: 1.3rem; display: block; line-height: 1.1; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
