/* =============================================================
   VEMPO DIGITAL — stylesheet
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Brand palette — ajusta estos hex cuando tengas tu manual de marca exacto */
  --bg:        #0a0e18;   /* navy-black profundo, nunca #000 puro */
  --bg-2:      #10182a;
  --bg-3:      #161f36;   /* superficie de tarjeta */
  --bg-4:      #1c2740;   /* superficie elevada / hover */
  --ink:       #f5f7fb;   /* texto principal */
  --mute:      #93a0ba;   /* texto secundario */
  --mute-2:    #5d6a85;   /* texto terciario / metadata */
  --line:      rgba(245,247,251,0.10);
  --line-2:    rgba(245,247,251,0.18);

  --accent:    #22d3c8;   /* teal — de tu logo */
  --accent-2:  #2f7fed;   /* azul — de tu logo */
  --accent-3:  #7c6cf0;   /* violeta — acento terciario, usar con moderación */

  --gradient-1: #2f6fed;
  --gradient-2: #22d3c8;
  --gradient-3: #7c6cf0;
  --gradient-4: #00e6c3;

  --success:   #2fd97f;

  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-family: var(--display); }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(34,211,200,.18);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-top: .9rem;
}
.section-head p {
  margin-top: 1.1rem;
  color: var(--mute);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 40ch;
}
.section-halo {
  position: absolute; inset: -20% -10% -30% -10%;
  pointer-events: none; z-index: 0;
  opacity: .55;
}

/* =============================================================
   4. Typography
   ============================================================= */
.hero-title {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-weight: 700;
  max-width: 20ch;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gradient-1), var(--gradient-2) 60%, var(--gradient-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =============================================================
   5. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(100deg, var(--gradient-1), var(--gradient-2));
  color: #04141a;
  box-shadow: 0 10px 30px -8px rgba(34,211,200,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -6px rgba(34,211,200,.55); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(245,247,251,.06); border-color: var(--accent); }
.btn-sm { padding: .7rem 1.3rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* --- Nav --- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(10,14,24,.78);
  border-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 30px; height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 2.1rem;
  font-size: .92rem; color: var(--mute);
}
.nav-links a { position: relative; padding-block: .3rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-toggle { display: none; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--mute);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), transform .35s var(--ease-out);
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

/* --- Stats row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--mono); font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 600; color: var(--ink);
}
.stat span {
  display: block; margin-top: .35rem;
  font-size: .82rem; color: var(--mute-2); max-width: 18ch;
}

/* --- Marquee (logos) --- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.6rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-item {
  font-family: var(--mono); font-size: .82rem; color: var(--mute-2);
  letter-spacing: .04em; white-space: nowrap;
  display: flex; align-items: center; gap: .5rem;
}
.marquee-item::before { content: "◆"; color: var(--accent); font-size: .6rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* --- Service rows (accordion) --- */
.services-list {
  border-top: 1px solid var(--line);
}
.service-row {
  border-bottom: 1px solid var(--line);
}
.service-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 3.5rem 1fr auto auto;
  align-items: center;
  gap: 1.3rem;
  padding-block: 1.8rem;
  text-align: left;
}
.service-num {
  font-family: var(--mono); color: var(--mute-2); font-size: .95rem;
}
.service-titles h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600;
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
}
.service-titles p {
  margin-top: .4rem; color: var(--mute); font-size: .95rem; max-width: 46ch;
}
.badge {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
  background: rgba(34,211,200,.12); color: var(--accent);
  border: 1px solid rgba(34,211,200,.3);
}
.service-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out);
  flex-shrink: 0;
}
.service-icon svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.service-row.is-open .service-icon { background: var(--accent); border-color: var(--accent); color: #04141a; }
.service-row.is-open .service-icon svg { transform: rotate(45deg); }
.service-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s var(--ease-out);
}
.service-panel-inner { overflow: hidden; }
.service-row.is-open .service-panel { grid-template-rows: 1fr; }
.service-panel-content {
  padding: 0 0 2rem 4.8rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.3fr 1fr;
}
.service-panel-content p { color: var(--mute); max-width: 52ch; }
.service-features { display: grid; gap: .7rem; }
.service-features li {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: .92rem; color: var(--ink);
}
.service-features li::before { content: "—"; color: var(--accent); flex-shrink: 0; }

/* --- Benefit blocks --- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.benefit-card {
  background: var(--bg-2);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.benefit-card b {
  font-family: var(--mono); color: var(--mute-2); font-size: .85rem;
}
.benefit-card h3 { margin-top: .9rem; font-size: 1.25rem; font-weight: 600; }
.benefit-card p { margin-top: .8rem; color: var(--mute); }

/* --- Why us --- */
.whyus-wrap { display: grid; }
.whyus-list { display: grid; gap: 2.2rem; }
.whyus-list-solo { max-width: 40rem; }
.whyus-item { display: flex; gap: 1.2rem; }
.whyus-check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(34,211,200,.12); border: 1px solid rgba(34,211,200,.3);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  margin-top: .1rem;
}
.whyus-check svg { width: 16px; height: 16px; }
.whyus-item h3 { font-size: 1.1rem; font-weight: 600; }
.whyus-item p { margin-top: .5rem; color: var(--mute); font-size: .95rem; }

/* --- Pricing / calculator --- */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.plan-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.plan-card.is-featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, var(--bg-4), var(--bg-3));
}
.plan-card.is-suggested {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px -18px rgba(34,211,200,.5);
  transform: translateY(-6px);
}
.plan-tag {
  position: absolute; top: -13px; left: 1.6rem;
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .7rem; border-radius: 999px;
  background: linear-gradient(100deg, var(--gradient-1), var(--gradient-2)); color: #04141a;
}
.plan-name { font-size: 1.2rem; font-weight: 600; font-family: var(--display); }
.plan-idealfor { margin-top: .5rem; color: var(--mute); font-size: .87rem; min-height: 2.6em; }
.plan-price {
  margin-top: 1.4rem; display: flex; align-items: baseline; gap: .35rem;
  font-family: var(--mono);
}
.plan-price b { font-size: 2.2rem; color: var(--ink); }
.plan-price span { color: var(--mute-2); font-size: .85rem; }
.plan-features { margin-top: 1.4rem; display: grid; gap: .65rem; flex: 1; }
.plan-features li { font-size: .9rem; color: var(--mute); display: flex; gap: .55rem; }
.plan-features li::before { content: "✓"; color: var(--accent); flex-shrink: 0; }
.plan-card .btn { margin-top: 1.8rem; }

.calculator {
  margin-top: clamp(3rem, 5vw, 4rem);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.calc-label { font-family: var(--mono); font-size: .8rem; color: var(--mute-2); text-transform: uppercase; letter-spacing: .05em; }
.calc-slider-row { margin-top: 1.2rem; }
.calc-budget { font-family: var(--mono); font-size: 2rem; color: var(--ink); margin-top: .3rem; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; border-radius: 999px;
  background: var(--line-2);
  margin-top: 1.2rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  box-shadow: 0 4px 14px rgba(34,211,200,.5);
  cursor: pointer; border: 3px solid var(--bg);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--bg);
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  cursor: pointer;
}
.calc-range-labels { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .75rem; color: var(--mute-2); }
.calc-result {
  background: var(--bg-2); border-radius: var(--radius-md); padding: 1.8rem;
  border: 1px solid var(--line);
}
.calc-result-label { font-family: var(--mono); font-size: .78rem; color: var(--mute-2); text-transform: uppercase; letter-spacing: .05em; }
.calc-result-plan { margin-top: .5rem; font-size: 1.3rem; font-weight: 600; font-family: var(--display); color: var(--accent); }
.calc-result-fee { margin-top: .8rem; font-family: var(--mono); font-size: 1.8rem; }
.calc-result-note { margin-top: .6rem; color: var(--mute); font-size: .85rem; }
.calc-noscript { color: var(--mute); font-size: .9rem; }

/* --- Contact / Reviews (shared two-column layout) --- */
.contact-wrap, .reviews-wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem);
}
.contact-info-card, .reviews-empty {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1.6rem;
}
.reviews-empty {
  align-items: flex-start; justify-content: center; gap: 1.2rem;
}
.reviews-empty-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,200,.12); border: 1px solid rgba(34,211,200,.3); color: var(--accent);
}
.reviews-empty-icon svg { width: 20px; height: 20px; }
.reviews-empty p { color: var(--mute); font-size: 1rem; }
.reviews-empty p:first-of-type { color: var(--ink); font-weight: 600; font-size: 1.1rem; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.reviews-grid[hidden] { display: none; }
.review-card {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2rem);
  display: flex; flex-direction: column; gap: .9rem;
}
.review-stars { color: var(--accent); letter-spacing: -1px; font-size: 1.05rem; }
.review-comment { color: var(--mute); font-size: .95rem; line-height: 1.6; flex: 1; }
.review-author {
  display: flex; flex-direction: column; gap: .1rem;
  padding-top: .8rem; border-top: 1px solid var(--line);
}
.review-author b { color: var(--ink); font-size: .95rem; }
.review-author span { color: var(--mute-2); font-size: .82rem; }

.reviews-wrap.has-reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
.reviews-wrap.has-reviews .reviews-empty { display: none; }
@media (max-width: 720px) {
  .reviews-wrap.has-reviews { max-width: none; }
}
.contact-line {
  display: flex; align-items: center; gap: .9rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-of-type { border-bottom: 0; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,200,.12); border: 1px solid rgba(34,211,200,.3); color: var(--accent);
}
.contact-icon svg { width: 17px; height: 17px; }
.contact-line a, .contact-line span.plain { font-weight: 500; }
.contact-line small { display: block; color: var(--mute-2); font-size: .78rem; margin-top: .1rem; }

.form-grid {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: grid; gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.field { display: grid; gap: .5rem; }
.field label { font-size: .82rem; color: var(--mute); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: .85rem 1rem; color: var(--ink);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); background: var(--bg-4); outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.form-status {
  display: none; align-items: center; gap: .7rem;
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(47,217,127,.1); border: 1px solid rgba(47,217,127,.35); color: var(--success);
  font-size: .9rem;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 2rem; font-size: .9rem; color: var(--mute); flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--mute-2);
}
.footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal a, .footer-legal button {
  font: inherit; color: var(--mute-2); background: none; border: 0; padding: 0; cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--accent); }

/* --- Cookie consent banner --- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9000;
  max-width: 640px; margin-inline: auto;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner-text { font-size: .88rem; color: var(--mute); line-height: 1.5; }
.cookie-banner-text a { color: var(--accent); }
.cookie-banner-actions { display: flex; gap: .8rem; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 520px) {
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* --- FAQ (details/summary nativo: sin JS, rastreable) --- */
.faq-list { max-width: 820px; margin-top: 2.5rem; display: grid; gap: .8rem; }
.faq-item {
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-md);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); color: var(--accent); font-size: 1.4rem; line-height: 1;
  flex-shrink: 0; transition: transform .2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--mute); font-size: .95rem; line-height: 1.65; }

/* --- Legal pages (aviso de privacidad / términos) --- */
.legal-updated { color: var(--mute-2); font-size: .85rem; margin-top: .4rem; }
.legal-body {
  max-width: 68ch; margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.legal-body h2 {
  font-family: var(--display); font-size: 1.25rem; margin-top: 1.4rem; color: var(--ink);
}
.legal-body h3 { font-size: 1rem; color: var(--ink); margin-top: .6rem; }
.legal-body p, .legal-body li { color: var(--mute); font-size: .95rem; line-height: 1.65; }
.legal-body ul, .legal-body ol { padding-left: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--accent); }

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Splash --- */
.splash {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
  transition: opacity .7s var(--ease-out), clip-path .8s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
.splash::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle 420px at 50% 50%, rgba(34,211,200,.16), transparent 70%);
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.splash.is-out .splash-mark, .splash.is-out .splash-word { transform: scale(1.12); opacity: 0; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark {
  width: 64px; height: 64px;
  object-fit: contain;
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
  animation: splashIn .7s var(--ease-out) forwards, splashPulse 1.6s var(--ease-soft) .7s infinite;
}
.splash-word {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute-2);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
  animation: splashWordIn .6s var(--ease-out) .35s forwards;
}
@keyframes splashIn {
  from { opacity: 0; transform: scale(.7) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes splashWordIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splashPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle 620px at var(--mx, 78%) var(--my, 22%), rgba(47,111,237,.35) 0%, transparent 60%),
    radial-gradient(circle 720px at calc(var(--mx, 78%) - 30%) calc(var(--my, 22%) + 45%), rgba(34,211,200,.28) 0%, transparent 60%),
    radial-gradient(circle 500px at calc(var(--mx, 78%) + 15%) calc(var(--my, 22%) + 60%), rgba(124,108,240,.22) 0%, transparent 65%),
    var(--bg);
  filter: blur(10px) saturate(130%);
  transition: background .6s linear;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .045; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-inner { position: relative; z-index: 1; }
.hero-sub {
  margin-top: 1.6rem; color: var(--mute); font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* --- Trusted-by strip --- */
.trustedby { padding-block: 2.5rem 0; }
.trustedby-label {
  text-align: center; font-family: var(--mono); font-size: .78rem; color: var(--mute-2);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.3rem;
}

/* --- Services --- */
.services { background: var(--bg-2); }

/* --- Benefits --- */
.benefits-halo { background: radial-gradient(closest-side, rgba(47,111,237,.5), transparent); }

/* --- Why us --- */
.whyus { background: var(--bg-2); }

/* --- Reviews --- */
.reviews-halo { background: radial-gradient(closest-side, rgba(34,211,200,.4), transparent); }

/* --- Planes --- */
.planes-halo { background: radial-gradient(closest-side, rgba(124,108,240,.45), transparent); }

/* --- Contact --- */
.contact { background: var(--bg-2); }

/* =============================================================
   7. Effects (reveal, magnetic, tilt)
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

[data-magnetic] { will-change: transform; }

/* =============================================================
   7.1 Chat widget (Gemini support assistant)
   ============================================================= */
.chat-toggle {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 500;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: #04141a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(34,211,200,.55);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.chat-toggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -8px rgba(34,211,200,.65); }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-toggle .chat-toggle-close { display: none; }
.chat-toggle.is-open .chat-toggle-chat { display: none; }
.chat-toggle.is-open .chat-toggle-close { display: block; }
.chat-toggle-dot {
  position: absolute; top: 6px; right: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success); border: 2px solid var(--bg);
}

.chat-panel {
  position: fixed; right: 1.4rem; bottom: 5.6rem; z-index: 500;
  width: min(23rem, calc(100vw - 2.8rem));
  height: min(34rem, calc(100vh - 8rem));
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

.chat-header {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-4);
}
.chat-header img { width: 26px; height: 26px; object-fit: contain; }
.chat-header-titles { flex: 1; min-width: 0; }
.chat-header-titles b { display: block; font-size: .92rem; }
.chat-header-titles span {
  display: flex; align-items: center; gap: .35rem;
  font-size: .74rem; color: var(--mute-2);
}
.chat-header-titles span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.chat-msg {
  max-width: 85%;
  padding: .7rem .95rem;
  border-radius: 14px;
  font-size: .88rem; line-height: 1.5;
}
.chat-msg.is-assistant {
  align-self: flex-start;
  background: var(--bg-2); border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-msg.is-user {
  align-self: flex-end;
  background: linear-gradient(100deg, var(--gradient-1), var(--gradient-2));
  color: #04141a; font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  align-self: flex-start;
  display: flex; gap: .3rem;
  padding: .8rem 1rem;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px; border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mute);
  animation: chatTyping 1s var(--ease-soft) infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat-form {
  display: flex; gap: .6rem;
  padding: .9rem;
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .7rem 1rem; color: var(--ink); font-size: .88rem;
  resize: none; max-height: 5.5rem;
}
.chat-input:focus { border-color: var(--accent); outline: none; background: var(--bg-4); }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
  color: #04141a;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.chat-send:hover { transform: scale(1.06); }
.chat-send:disabled { opacity: .5; pointer-events: none; }
.chat-send svg { width: 17px; height: 17px; }

.chat-footnote {
  padding: .5rem 1rem .8rem;
  font-size: .68rem; color: var(--mute-2); text-align: center;
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 959px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .calculator { grid-template-columns: 1fr; }
  .contact-wrap, .reviews-wrap { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
}

@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    padding: 1.6rem var(--gutter) 2.2rem;
    background: rgba(10,14,24,.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-2); font-size: 1.1rem;
  }
  .service-trigger { grid-template-columns: 2.2rem 1fr auto; }
  .service-num { font-size: .8rem; }
  .service-panel-content { grid-template-columns: 1fr; padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 539px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: 1 1 auto; }
  .chat-panel {
    right: .7rem; left: .7rem; bottom: 5.2rem;
    width: auto; height: min(30rem, calc(100vh - 7rem));
  }
  .chat-toggle { right: 1rem; bottom: 1rem; }
  .cookie-banner { padding: 1rem 1.1rem; gap: .75rem; }
  .cookie-banner-text { font-size: .8rem; line-height: 1.45; }
}

/* Mientras el aviso de cookies está abierto en pantallas angostas, el chat
   se acomoda encima de él en vez de quedar tapado. */
@media (max-width: 860px) {
  .has-cookie-banner .chat-toggle { bottom: calc(var(--cookie-offset, 0px) + 1.8rem); }
  .has-cookie-banner .chat-panel {
    bottom: calc(var(--cookie-offset, 0px) + 6.2rem);
    height: min(30rem, calc(100vh - 8rem - var(--cookie-offset, 0px)));
  }
}

/* =============================================================
   9. Reduced-motion — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .splash-mark, .splash-word { animation: none; opacity: 1; transform: none; }
  /* Do NOT disable: marquee, reveal fades, hover states, count-up, gradient */
}
