/* ============================================================
   DESIGN SYSTEM — VersaBold Innovations
   Stack: Vanilla JS · Vercel
   Fonts: Outfit + Work Sans
   Palette: Navy #0F172A · Blue #0369A1 · Orange #F97316
   ============================================================ */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Primitives */
  --navy-950: #020617;
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --blue-700:  #0369A1;
  --blue-600:  #0284C7;
  --blue-500:  #0EA5E9;
  --blue-100:  #E0F2FE;
  --blue-50:   #F0F9FF;
  --orange-600:#EA580C;
  --orange-500:#F97316;
  --orange-50: #FFF7ED;
  --slate-600: #475569;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --green-500: #22C55E;
  --white:     #FFFFFF;

  /* Semantic */
  --c-primary:    var(--navy-900);
  --c-accent:     var(--blue-700);
  --c-cta:        var(--orange-500);
  --c-cta-hover:  var(--orange-600);
  --c-bg:         var(--slate-50);
  --c-surface:    var(--white);
  --c-text:       var(--navy-950);
  --c-text-body:  var(--navy-800);
  --c-muted:      var(--slate-600);
  --c-subtle:     var(--slate-400);
  --c-border:     var(--slate-200);
  --c-inverse:    var(--white);

  /* Typography */
  --font-sans: 'Outfit', 'Work Sans', system-ui, sans-serif;
  --font-mono: 'Outfit', monospace;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem;
  --sp-4: 1rem;    --sp-5: 1.25rem; --sp-6: 1.5rem;
  --sp-8: 2rem;    --sp-10:2.5rem;  --sp-12:3rem;
  --sp-16:4rem;    --sp-20:5rem;    --sp-24:6rem;

  /* Layout */
  --container-max: 1180px;
  --container-px:  1.5rem;
  --section-py:    7rem;

  /* Radius */
  --r-sm:   4px;
  --r-base: 6px;
  --r-lg:   12px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,.08);
  --shadow-md:  0 4px 16px rgba(15,23,42,.10);
  --shadow-lg:  0 10px 40px rgba(15,23,42,.13);
  --shadow-blue:0 10px 28px rgba(3,105,161,.2);
  --shadow-orange:0 8px 24px rgba(249,115,22,.25);

  /* Transitions */
  --ease-base: .25s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: min(var(--container-max), 100% - var(--container-px) * 2);
  margin-inline: auto;
}
.section { padding-block: var(--section-py); }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--c-accent);
  flex-shrink: 0;
}
em { color: var(--c-accent); font-style: normal; }
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .7fr;
  gap: var(--sp-16);
  align-items: end;
  margin-bottom: var(--sp-16);
}
.section-heading.centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--fw-bold);
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--c-text);
}
.section-heading p {
  color: var(--c-muted);
  font-size: var(--fs-base);
  line-height: 1.75;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .75rem 1.5rem;
  border-radius: var(--r-sm);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border: none;
  cursor: pointer;
  transition: transform var(--ease-base), box-shadow var(--ease-base), background var(--ease-base);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--c-cta);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--c-cta-hover); }
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}
.btn-outline:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-ghost-white {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.18); }
.btn-white {
  background: var(--white);
  color: var(--navy-900);
}
.btn-lg { padding: 1rem 2rem; font-size: var(--fs-base); }
.btn-sm { padding: .55rem 1rem; font-size: var(--fs-xs); }

/* ─── REVEAL ANIMATION ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orbit-one, .orbit-two { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,250,252,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-base), box-shadow var(--ease-base);
}
.site-header.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--sp-8);
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: .85; }
.brand-copy b { font-size: 1.1rem; font-weight: var(--fw-bold); color: var(--c-text); letter-spacing: -.03em; }
.brand-copy small {
  font-size: .45rem;
  font-weight: var(--fw-extrabold);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: .35rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  justify-content: center;
}
.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--navy-800);
  transition: color var(--ease-base);
}
.nav-link:hover { color: var(--c-accent); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  width: 42px;
  height: 42px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: var(--sp-2);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { height: 1.5px; background: var(--c-text); display: block; border-radius: 2px; }
.mobile-panel {
  position: absolute;
  top: 50px;
  right: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.mobile-panel a {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  border-radius: var(--r-base);
  transition: background var(--ease-base);
}
.mobile-panel a:hover { background: var(--slate-100); }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background image fills the entire hero */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
/* Gradient fade: dark on the left where the copy lives, transparent on the right */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 40%,
    rgba(15, 23, 42, 0.25) 70%,
    rgba(15, 23, 42, 0.05) 100%
  );
  pointer-events: none;
}

/* Copy sits above the image */
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--sp-24) max(1.5rem, calc((100vw - var(--container-max)) / 2));
  padding-right: 0;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -.055em;
  line-height: .98;
  color: var(--white);
  margin-bottom: var(--sp-6);
}
.hero h1 em { color: var(--blue-500); font-style: normal; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero-lead {
  color: rgba(255,255,255,.72);
  font-size: var(--fs-lg);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: var(--sp-8);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.text-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.6);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  transition: color var(--ease-base);
}
.text-link:hover { color: var(--white); }
.hero-proof {
  display: flex;
  gap: 0;
  margin-top: var(--sp-12);
}
.hero-proof div {
  min-width: 130px;
  display: flex;
  flex-direction: column;
  padding-left: var(--sp-4);
  border-left: 1px solid rgba(255,255,255,.15);
}
.hero-proof b { color: var(--blue-500); font-size: var(--fs-xs); font-weight: var(--fw-bold); font-family: var(--font-mono); }
.hero-proof span { margin-top: var(--sp-1); color: rgba(255,255,255,.6); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }

/* ─── VALUE STRIP ─────────────────────────────────────────── */
.value-strip {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  padding: var(--sp-5) max(1.5rem, calc((100vw - var(--container-max)) / 2));
  background: var(--navy-900);
  color: rgba(255,255,255,.45);
}
.value-strip p { margin: 0; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: .2em; }
.value-strip .vs-accent { color: var(--orange-500); padding: 0 var(--sp-3); }
.value-strip .vs-sub { color: rgba(255,255,255,.28); font-weight: var(--fw-medium); letter-spacing: .06em; }

/* ─── SERVICES / PILLAR CARDS ─────────────────────────────── */
.services-section { background: var(--c-bg); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.service-card {
  min-height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  border: 1.5px solid var(--c-border);
  background: var(--white);
  border-radius: var(--r-base);
  transition: transform var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.service-card.featured {
  background: linear-gradient(155deg, #f0f9ff, var(--white) 60%);
  border-color: var(--blue-100);
}
.service-num {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  font-family: var(--font-mono);
  color: var(--c-subtle);
  letter-spacing: .06em;
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  letter-spacing: -.03em;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.service-card > p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.service-tags span {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--slate-100);
  color: var(--navy-800);
  font-size: .6rem;
  font-weight: var(--fw-bold);
  letter-spacing: .06em;
  border-radius: 99px;
}
a.service-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.service-card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  margin-top: auto;
  border-top: 1px solid var(--c-border);
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  transition: gap var(--ease-base);
}
a.service-card:hover .service-card-link { gap: var(--sp-3); }
.service-img-wrap {
  width: calc(100% + var(--sp-8) * 2);
  margin: 0 calc(-1 * var(--sp-8));
  margin-top: calc(-1 * var(--sp-8));
  margin-bottom: var(--sp-6);
  height: 200px;
  overflow: hidden;
  border-radius: var(--r-base) var(--r-base) 0 0;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.04); }

/* ─── MANIFESTO ───────────────────────────────────────────── */
.manifesto {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--sp-16);
  align-items: center;
  min-height: 600px;
  padding: var(--sp-24) max(1.5rem, calc((100vw - var(--container-max)) / 2));
  background: var(--navy-900);
  color: var(--white);
}
.manifesto::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  right: -80px; top: -130px;
  background: var(--orange-500);
  filter: blur(150px);
  opacity: .12;
}
.manifesto-img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  align-self: stretch;
  min-height: 400px;
}
.manifesto-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}
.manifesto-copy { position: relative; z-index: 2; max-width: 680px; }
.manifesto-copy h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: var(--fw-bold);
  letter-spacing: -.05em;
  line-height: 1.08;
  margin-bottom: var(--sp-5);
}
.manifesto-copy h2 em { color: var(--orange-500); }
.manifesto-copy > p {
  color: rgba(255,255,255,.5);
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--sp-10);
}
.manifesto-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.manifesto-values div {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-base);
}
.manifesto-values b { color: var(--orange-500); font-size: 1.4rem; flex-shrink: 0; }
.manifesto-values span { display: flex; flex-direction: column; gap: var(--sp-1); }
.manifesto-values strong { color: var(--white); font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.manifesto-values em { color: rgba(255,255,255,.45); font-size: .65rem; font-style: normal; }

/* ─── PROCESO CAROUSEL ───────────────────────────────────── */
.proceso-section { background: var(--c-bg); }
.proceso-carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-md);
}
.proceso-slide {
  display: none;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  min-height: 380px;
}
.proceso-slide.active { display: grid; }
.proceso-slide-img {
  height: 380px;
  overflow: hidden;
}
.proceso-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proceso-slide-copy {
  padding: var(--sp-12) var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.proceso-slide-copy b {
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
}
.proceso-slide-copy h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: var(--fw-bold);
  letter-spacing: -.04em;
  color: var(--c-text);
}
.proceso-slide-copy p {
  color: var(--c-muted);
  font-size: var(--fs-base);
  line-height: 1.7;
}
.proceso-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--slate-50);
  border-top: 1px solid var(--c-border);
}
.proceso-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--c-border);
  cursor: pointer;
  transition: background var(--ease-base), transform var(--ease-base);
  padding: 0;
}
.proceso-dot.active {
  background: var(--c-accent);
  transform: scale(1.4);
}

/* ─── TESTIMONIOS ─────────────────────────────────────────── */
.testimonials-section { background: var(--navy-900); color: var(--white); }
.testimonials-section .eyebrow { color: var(--orange-500); }
.testimonials-section .eyebrow::before { background: var(--orange-500); }
.testimonials-section h2 { color: var(--white); }
.testimonials-section h2 em { color: var(--orange-500); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-base);
  transition: border-color var(--ease-base), background var(--ease-base);
}
.testimonial-card:hover {
  border-color: rgba(249,115,22,.35);
  background: rgba(255,255,255,.06);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.12);
  flex-shrink: 0;
}
.author-name { font-weight: var(--fw-bold); color: var(--white); font-size: var(--fs-base); }
.author-role { color: rgba(255,255,255,.45); font-size: var(--fs-xs); margin-top: .2rem; }
.stars { display: flex; gap: 3px; margin-bottom: var(--sp-5); }
.icon-star { color: var(--orange-500); }
.testimonial-result {
  margin-top: auto;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--orange-500);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
}
.testimonial-body p { color: rgba(255,255,255,.6); font-size: var(--fs-sm); line-height: 1.7; }
.testimonial-body strong { color: rgba(255,255,255,.85); }

/* ─── LEAD MAGNET ─────────────────────────────────────────── */
.lead-magnet-section {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  padding-block: var(--sp-20);
}
.lead-magnet-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-14);
}

/* ── Copy centrado ── */
.lm-copy {
  text-align: center;
  max-width: 680px;
  width: 100%;
}
.lead-magnet-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .3rem .8rem;
  border-radius: 99px;
  background: var(--orange-50);
  border: 1px solid rgba(249,115,22,.2);
  color: var(--orange-600);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.lm-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: var(--fw-bold);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  color: var(--c-text);
}
.lm-copy p { color: var(--c-muted); font-size: var(--fs-base); line-height: 1.7; margin-bottom: var(--sp-6); }
.lead-magnet-disclaimer { font-size: var(--fs-xs) !important; color: var(--c-subtle) !important; margin-top: var(--sp-3) !important; }

/* ── Slider ── */
.lm-slider-wrap {
  width: 100%;
  max-width: 960px;
}
.lm-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5f9;
  aspect-ratio: 3 / 2;
  display: flex;
}
.lm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.lm-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.lm-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  padding: 0.5rem;
}
.lm-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}
.lm-arrow {
  background: var(--c-primary, #0F172A);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.lm-arrow:hover { background: var(--c-accent, #0369A1); }
.lm-dots {
  display: flex;
  gap: var(--sp-2);
}
.lm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.lm-dot.active {
  background: var(--c-accent, #0369A1);
  transform: scale(1.35);
}

/* ── Lead magnet modal ── */
.lm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.lm-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3);
}

.lm-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.08);
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--c-primary, #0F172A);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lm-modal__close:hover { background: rgba(15, 23, 42, 0.15); }

.lm-modal__body {
  flex: 1;
  overflow: auto;
  min-height: 600px;
}

.lm-modal__body iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 0;
  display: block;
}
.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 420px;
  margin-bottom: var(--sp-3);
}
.lead-magnet-form input {
  padding: .75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-base);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--white);
  transition: border-color var(--ease-base);
  outline: none;
}
.lead-magnet-form input:focus { border-color: var(--c-accent); }
.lead-magnet-form button { align-self: flex-start; }
.lead-magnet-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-blue);
  font-size: 5rem;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-1);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  transition: color var(--ease-base);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--c-accent); }
.faq-toggle {
  color: var(--c-accent);
  font-size: 1.4rem;
  font-weight: var(--fw-normal);
  flex-shrink: 0;
  transition: transform var(--ease-base);
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--sp-1) var(--sp-6); }
.faq-answer p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.75; max-width: 780px; }

/* ─── CTA FINAL ───────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  min-height: 520px;
  padding: var(--sp-24) max(1.5rem, calc((100vw - var(--container-max)) / 2));
  background: linear-gradient(130deg, var(--navy-950), #032848);
  color: var(--white);
}
.cta-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta-copy { position: relative; z-index: 2; }
.cta-section .eyebrow { color: rgba(255,255,255,.5); }
.cta-section .eyebrow::before { background: rgba(255,255,255,.4); }
.cta-section h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -.055em;
  line-height: .98;
  margin-bottom: var(--sp-5);
}
.cta-section h2 em { color: var(--orange-500); }
.cta-section p { color: rgba(255,255,255,.55); font-size: var(--fs-base); line-height: 1.7; margin-bottom: var(--sp-8); max-width: 580px; }
.cta-mark {
  justify-self: end;
  font-size: clamp(220px, 25vw, 340px);
  font-weight: var(--fw-extrabold);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(249,115,22,.18);
  transform: rotate(-3deg);
  user-select: none;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.55); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-block: var(--sp-20);
}
.footer-brand-block { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-logo { display: flex; align-items: center; gap: var(--sp-3); }
.footer-logo img { width: 38px; height: 38px; }
.footer-logo b { font-size: 1rem; font-weight: var(--fw-bold); color: var(--white); letter-spacing: -.03em; }
.footer-logo small { font-size: .45rem; font-weight: var(--fw-extrabold); letter-spacing: .2em; text-transform: uppercase; color: var(--orange-500); display: block; margin-top: .3rem; }
.footer-tagline { font-size: var(--fs-xs); line-height: 1.6; max-width: 240px; }
.footer-heading { font-size: var(--fs-xs); font-weight: var(--fw-extrabold); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: var(--sp-5); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link { font-size: var(--fs-sm); color: rgba(255,255,255,.55); transition: color var(--ease-base); }
.footer-link:hover { color: var(--white); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-item { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); }
.contact-item a { color: rgba(255,255,255,.55); transition: color var(--ease-base); }
.contact-item a:hover { color: var(--white); }
.contact-item .icon { color: var(--orange-500); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--sp-6) 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.footer-copy { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }
.footer-legal { display: flex; gap: var(--sp-5); }
.footer-legal a { font-size: var(--fs-xs); color: rgba(255,255,255,.6); transition: color var(--ease-base); }
.footer-legal a:hover { color: #fff; }

/* ─── CHAT WIDGET ────────────────────────────────────────── */
.chat-bubble {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 1000;
}
.chat-bubble-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-cta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
  font-size: 1.4rem;
  color: var(--white);
  position: relative;
}
.chat-bubble-btn:hover { transform: scale(1.08); }
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--green-500);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: none;
}
.chat-bubble-btn.has-new .chat-badge { display: block; }
.chat-window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  max-height: 520px;
  background: var(--white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-window.open { display: flex; }
.chat-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--navy-900);
  color: var(--white);
}
.chat-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-name { font-size: var(--fs-sm); font-weight: var(--fw-bold); }
.chat-header-status {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.chat-header-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}
.chat-close-btn {
  background: none; border: none;
  color: rgba(255,255,255,.6);
  font-size: 1.2rem; cursor: pointer;
  padding: var(--sp-1);
}
.chat-close-btn:hover { color: var(--white); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-height: 200px;
  max-height: 320px;
}
.chat-msg {
  max-width: 82%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: 12px;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.chat-msg.bot, .chat-msg.agent {
  background: var(--slate-100);
  color: var(--c-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--c-accent);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  align-self: flex-start;
  padding: var(--sp-3) var(--sp-4);
  background: var(--slate-100);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  display: none;
}
.chat-typing.visible { display: flex; gap: 4px; align-items: center; }
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--c-muted);
  border-radius: 50%;
  animation: typingDot 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.chat-input-area {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--c-border);
  border-radius: 99px;
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  outline: none;
  transition: border-color var(--ease-base);
  resize: none;
}
.chat-input:focus { border-color: var(--c-accent); }
.chat-send-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-cta);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background var(--ease-base);
}
.chat-send-btn:hover { background: var(--c-cta-hover); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .desktop-nav { display: none; }
  .mobile-nav  { display: block; }

  .hero { min-height: 90vh; }
  .hero-copy { padding: var(--sp-24) var(--sp-6) var(--sp-16); max-width: 100%; }
  .hero-img-overlay {
    background: linear-gradient(
      to bottom,
      rgba(15,23,42,0.55) 0%,
      rgba(15,23,42,0.80) 50%,
      rgba(15,23,42,0.92) 100%
    );
  }

  .value-strip { justify-content: center; text-align: center; }
  .value-strip .vs-sub { display: none; }

  .section-heading { grid-template-columns: 1fr; gap: var(--sp-5); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .manifesto { grid-template-columns: 1fr; }
  .manifesto-img-wrap { min-height: 280px; }

  .proceso-slide { grid-template-columns: 1fr; }
  .proceso-slide-img { height: 220px; }
  .proceso-slide-copy { padding: var(--sp-8) var(--sp-6); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .lm-slider { aspect-ratio: 2 / 3; }

  .cta-section { grid-template-columns: 1fr; }
  .cta-mark { position: absolute; right: -50px; opacity: .3; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
}

@media (max-width: 640px) {
  :root { --section-py: 4.5rem; }

  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-proof { margin-top: var(--sp-10); }
  .hero-proof div { min-width: 0; flex: 1; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }

  .proceso-slide-copy h3 { font-size: 1.4rem; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .manifesto-values { grid-template-columns: 1fr; }
  .manifesto-copy h2 { font-size: 2rem; }

  .cta-section h2 { font-size: 2.4rem; }

  .footer-main { grid-template-columns: 1fr; gap: var(--sp-8); padding-block: var(--sp-12); }
  .footer-bottom-inner { flex-direction: column; gap: var(--sp-3); text-align: center; }

  .chat-window { width: calc(100vw - var(--sp-8)); right: calc(-1 * var(--sp-6) + var(--sp-4)); }
}
