/* ==========================================================================
   Meshy — WiFi Mesh Buenos Aires
   Sistema visual: bloques de color, tipografia grande, numeracion 001/002...
   ========================================================================== */

:root {
  --blue: #10367d;
  --blue-dark: #0b2657;
  --sky: #74b4d9;
  --sky-dark: #3a7aa5;
  --grey: #d6d6d6;
  --black: #0b0b0c;
  --white: #e4e4e4;

  --ink: #10131a;
  --muted: #4d5664;

  --whatsapp: #25d366;
  --whatsapp-hover: #1fb457;
  --whatsapp-text: #0b6b30;

  --instagram: #c13584;
  --instagram-text: #e0559b;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 10px;
  --radius-lg: 10px;

  --container: 1240px;
  --pad: 20px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --focus-ring: var(--blue);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.01em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
@media (min-width: 768px) { :root { --pad: 40px; } }
@media (min-width: 1280px) { :root { --pad: 64px; } }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.on-dark, .bg-blue, .pkg-card.is-featured, .diff-card-lg, .mobile-nav, .site-header.menu-open, .site-footer {
  --focus-ring: var(--white);
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px; top: 12px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transform: translateY(-80px);
  transition: transform 0.2s var(--ease);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- eyebrow / numbering ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow .num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  background: var(--blue);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.on-dark .num { background: var(--white); color: var(--blue); }

/* ---------- accent word ---------- */
.script {
  color: var(--sky-dark);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  text-align: left;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn svg.ico-wa { color: var(--whatsapp-text); }

.btn-primary {
  background: var(--whatsapp);
  color: var(--black);
  border-color: var(--whatsapp);
}
.btn-primary:hover { background: var(--whatsapp-hover); border-color: var(--whatsapp-hover); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue); color: var(--white); border-color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 106;
  padding: 18px 0;
  border-bottom: 2px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header { background: var(--white); }
.site-header.is-scrolled {
  background: var(--white);
  border-bottom-color: var(--grey);
  padding: 12px 0;
}
.site-header.menu-open {
  background: var(--blue);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-header.menu-open .logo { color: var(--white); }

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: filter 0.2s var(--ease);
}
.site-header.is-scrolled .logo-img { height: 42px; }
.site-header.menu-open .logo-img { filter: brightness(0) invert(1); }

.main-nav {
  display: none;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 12px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 2px;
  background: var(--sky-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  z-index: 110;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--blue);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-header.menu-open .nav-toggle span { background: var(--white); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--pad);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  color: var(--white);
}
.mobile-nav .mobile-cta { margin-top: 30px; color: var(--black); }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 70px;
  background: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 40px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(40px, 9vw, 84px);
  color: var(--blue);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.hero-micro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
}
.hero-micro span { display: inline-flex; align-items: center; gap: 8px; }
.hero-micro svg { width: 16px; height: 16px; color: var(--sky-dark); flex-shrink: 0; }

/* Panel azul a sangre con borde diagonal (bleed a los costados en mobile) */
.hero-visual {
  position: relative;
  margin: 0 calc(50% - 50vw);
  min-height: 380px;
}
/* Fondo azul con borde difuminado (máscara en lugar de corte duro) */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.005) 5.2%, rgba(0,0,0,0.035) 10.3%, rgba(0,0,0,0.104) 15.5%, rgba(0,0,0,0.210) 20.7%, rgba(0,0,0,0.347) 25.8%, rgba(0,0,0,0.500) 31.0%, rgba(0,0,0,0.653) 36.2%, rgba(0,0,0,0.790) 41.3%, rgba(0,0,0,0.896) 46.5%, rgba(0,0,0,0.965) 51.7%, rgba(0,0,0,0.995) 56.8%, rgba(0,0,0,1.000) 62.0%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.005) 5.2%, rgba(0,0,0,0.035) 10.3%, rgba(0,0,0,0.104) 15.5%, rgba(0,0,0,0.210) 20.7%, rgba(0,0,0,0.347) 25.8%, rgba(0,0,0,0.500) 31.0%, rgba(0,0,0,0.653) 36.2%, rgba(0,0,0,0.790) 41.3%, rgba(0,0,0,0.896) 46.5%, rgba(0,0,0,0.965) 51.7%, rgba(0,0,0,0.995) 56.8%, rgba(0,0,0,1.000) 62.0%);
}
.hero-signal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--sky);
  pointer-events: none;
}
.hero-sticker {
  position: absolute;
  top: 110px;
  right: var(--pad);
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  z-index: 3;
  line-height: 1.4;
  text-align: right;
}

@media (min-width: 900px) {
  .hero { padding: 130px 0 90px; min-height: 640px; display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 52%; }
  .hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 46%;
    margin: 0;
    min-height: 0;
  }
  .hero-visual::before {
    -webkit-mask-image: linear-gradient(105deg, rgba(0,0,0,0.000) 2.0%, rgba(0,0,0,0.005) 7.3%, rgba(0,0,0,0.035) 12.7%, rgba(0,0,0,0.104) 18.0%, rgba(0,0,0,0.210) 23.3%, rgba(0,0,0,0.347) 28.7%, rgba(0,0,0,0.500) 34.0%, rgba(0,0,0,0.653) 39.3%, rgba(0,0,0,0.790) 44.7%, rgba(0,0,0,0.896) 50.0%, rgba(0,0,0,0.965) 55.3%, rgba(0,0,0,0.995) 60.7%, rgba(0,0,0,1.000) 66.0%), linear-gradient(to right, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.009) 3.4%, rgba(0,0,0,0.058) 6.8%, rgba(0,0,0,0.163) 10.2%, rgba(0,0,0,0.317) 13.6%, rgba(0,0,0,0.500) 17.0%, rgba(0,0,0,0.683) 20.4%, rgba(0,0,0,0.837) 23.8%, rgba(0,0,0,0.942) 27.2%, rgba(0,0,0,0.991) 30.6%, rgba(0,0,0,1.000) 34.0%);
    mask-image: linear-gradient(105deg, rgba(0,0,0,0.000) 2.0%, rgba(0,0,0,0.005) 7.3%, rgba(0,0,0,0.035) 12.7%, rgba(0,0,0,0.104) 18.0%, rgba(0,0,0,0.210) 23.3%, rgba(0,0,0,0.347) 28.7%, rgba(0,0,0,0.500) 34.0%, rgba(0,0,0,0.653) 39.3%, rgba(0,0,0,0.790) 44.7%, rgba(0,0,0,0.896) 50.0%, rgba(0,0,0,0.965) 55.3%, rgba(0,0,0,0.995) 60.7%, rgba(0,0,0,1.000) 66.0%), linear-gradient(to right, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.009) 3.4%, rgba(0,0,0,0.058) 6.8%, rgba(0,0,0,0.163) 10.2%, rgba(0,0,0,0.317) 13.6%, rgba(0,0,0,0.500) 17.0%, rgba(0,0,0,0.683) 20.4%, rgba(0,0,0,0.837) 23.8%, rgba(0,0,0,0.942) 27.2%, rgba(0,0,0,0.991) 30.6%, rgba(0,0,0,1.000) 34.0%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .hero-sticker { top: 30%; right: 56px; }
}

/* Entrada escalonada del hero */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > *, .hero-sticker {
  animation: hero-in 0.7s var(--ease) backwards;
}
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-sticker { animation-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-sticker { animation: none; }
}

/* ---------- generic section spacing ---------- */
section { position: relative; }
.section-pad { padding: 80px 0; }
@media (min-width: 1024px) { .section-pad { padding: 120px 0; } }

.section-head {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 50px;
}
.section-head h2 {
  font-size: clamp(30px, 5.5vw, 54px);
}
.section-head-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
}
.on-dark .section-head p { color: color-mix(in srgb, var(--white) 82%, transparent); }
.on-dark .section-head h2 { color: var(--white); }

/* ---------- section alignment variants (dynamism) ---------- */
.section-head.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.align-center .eyebrow { justify-content: center; }
.section-head.align-center p { margin-left: auto; margin-right: auto; }

.section-head.align-right { margin-left: auto; text-align: right; }
.section-head.align-right .eyebrow { justify-content: flex-end; }
.section-head.align-right p { margin-left: auto; }

.push-right { margin-left: auto; }

.bg-grey { background: var(--grey); }
.bg-blue { background: var(--blue); color: var(--white); }

/* ---------- problem section ---------- */
.problem-groups {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .problem-groups {
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: start;
  }
  .problem-groups .problem-grid { grid-template-columns: 1fr; }
}

.problem-group-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 14px;
}
.problem-group-label:first-of-type { margin-top: 0; }
.problem-group .problem-group-label { margin-top: 0; }

.problem-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problem-grid { grid-template-columns: repeat(3, 1fr); } }
.problem-grid-secondary { max-width: 700px; }

.problem-card {
  background: var(--white);
  border: 2px solid var(--grey);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.problem-card:hover {
  border-color: var(--blue);
}
.problem-card .icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--grey);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.problem-card .icon-wrap svg { width: 22px; height: 22px; }
.problem-card p { font-size: 15px; font-weight: 600; color: var(--ink); }

.problem-close {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  max-width: 640px;
}

/* ---------- solution section ---------- */
.solution-wrap {
  position: relative;
  z-index: 1;
}
.solution-head { max-width: 820px; margin-bottom: 0; }
.solution-head h2 { font-size: clamp(34px, 6vw, 68px); }

/* Los cuatro pasos como nodos de una misma línea de señal */
.solution-steps {
  --rail: color-mix(in srgb, var(--sky) 65%, transparent);
  list-style: none;
  position: relative;
  display: grid;
  gap: 40px;
  margin-top: 64px;
  padding-left: 44px;
}
.solution-steps::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  bottom: 11px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--rail) 50%, transparent 0);
  background-size: 2px 10px;
  background-repeat: repeat-y;
}
.solution-step { position: relative; }
.solution-step::before,
.solution-step::after {
  content: "";
  position: absolute;
  left: -44px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.solution-step::before {
  background: var(--sky);
  border: 4px solid var(--blue);
  outline: 2px solid var(--sky);
}
.solution-step::after {
  border: 2px solid var(--sky);
  opacity: 0;
  animation: solution-ping 3.2s var(--ease) infinite;
}
.solution-step:nth-child(2)::after { animation-delay: 0.5s; }
.solution-step:nth-child(3)::after { animation-delay: 1s; }
.solution-step:nth-child(4)::after { animation-delay: 1.5s; }
@keyframes solution-ping {
  0% { opacity: 0.8; transform: scale(1); }
  55%, 100% { opacity: 0; transform: scale(3); }
}
.solution-step.reveal:nth-child(2) { transition-delay: 0.08s; }
.solution-step.reveal:nth-child(3) { transition-delay: 0.16s; }
.solution-step.reveal:nth-child(4) { transition-delay: 0.24s; }
.solution-step .step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1;
  color: var(--sky);
  margin-bottom: 8px;
}
.solution-step p {
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.25;
  max-width: 16ch;
}
@media (min-width: 900px) {
  .solution-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-left: 0;
    padding-top: 44px;
  }
  .solution-steps::before {
    left: 11px;
    right: 11px;
    top: 10px;
    bottom: auto;
    width: auto;
    height: 2px;
    background-image: linear-gradient(to right, var(--rail) 50%, transparent 0);
    background-size: 10px 2px;
    background-repeat: repeat-x;
  }
  .solution-step::before,
  .solution-step::after { left: 0; top: -44px; }
}
@media (prefers-reduced-motion: reduce) {
  .solution-step::after { animation: none; }
  .solution-step.reveal { transition-delay: 0s; }
}

/* ---------- services / packages ---------- */
.pkg-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }

.pkg-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: var(--white);
  border: 2px solid var(--grey);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.2s var(--ease);
}
.pkg-card:hover {
  border-color: var(--blue);
}
.pkg-card.is-featured {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.pkg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pkg-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--blue);
}
.pkg-card.is-featured .pkg-num { color: var(--sky); }
.pkg-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grey);
  color: var(--blue);
  padding: 5px 10px;
  border-radius: 100px;
}
.pkg-card.is-featured .pkg-tag { background: color-mix(in srgb, var(--white) 15%, transparent); color: var(--white); }
.pkg-card h3 { font-size: 26px; }
.pkg-card .pkg-desc { font-size: 14px; color: var(--muted); font-weight: 600; }
.pkg-card.is-featured .pkg-desc { color: color-mix(in srgb, var(--white) 80%, transparent); }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.pkg-price-label {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pkg-price-value { font-family: var(--font-display); font-size: 28px; color: var(--blue); }
.pkg-price-note { font-size: 12px; font-weight: 600; color: var(--muted); }
.pkg-card.is-featured .pkg-price-label,
.pkg-card.is-featured .pkg-price-note { color: color-mix(in srgb, var(--white) 70%, transparent); }
.pkg-card.is-featured .pkg-price-value { color: var(--white); }
.pkg-list { display: grid; gap: 10px; margin: 4px 0 8px; }
.pkg-list li {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pkg-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--sky-dark); }
.pkg-card.is-featured .pkg-list svg { color: var(--sky); }
.pkg-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- differentiators ---------- */
.diff-featured {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 700px) { .diff-featured { grid-template-columns: repeat(2, 1fr); } }

.diff-card-lg {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.diff-card-lg .diff-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.diff-card-lg .icon-wrap {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--white) 15%, transparent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.diff-card-lg .icon-wrap svg { width: 22px; height: 22px; }
.diff-card-lg h3 { font-family: var(--font-body); font-weight: 800; font-size: 21px; }
.diff-card-lg p { font-size: 15px; color: color-mix(in srgb, var(--white) 82%, transparent); }

.diff-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }

.diff-card {
  background: var(--white);
  padding: 32px 26px;
  transition: background 0.3s var(--ease);
}
.diff-card:hover { background: var(--grey); }
.diff-card .diff-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.diff-card .icon-wrap {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.diff-card .icon-wrap svg { width: 20px; height: 20px; }
.diff-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 18px; }
.diff-card p { font-size: 14px; color: var(--muted); }

.diff-proof {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--grey);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}
.diff-proof:hover { border-color: var(--instagram); }
.diff-proof .icon-wrap {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--instagram);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.diff-proof .icon-wrap svg { width: 20px; height: 20px; }
.diff-proof span:not(.icon-wrap) { flex: 1; }
.diff-proof-arrow { width: 18px; height: 18px; color: var(--sky-dark); flex-shrink: 0; }

/* ---------- empresas ---------- */
.biz-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .biz-grid { grid-template-columns: repeat(3, 1fr); } }
.biz-card {
  background: var(--grey);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.biz-card .icon-wrap {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.biz-card .icon-wrap svg { width: 20px; height: 20px; }
.biz-card p { font-weight: 700; font-size: 15px; color: var(--ink); }

/* ---------- proceso ---------- */
.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}
@media (min-width: 900px) { .process-list { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.process-phase {
  position: relative;
  padding: 30px 0;
  border-top: 2px solid var(--grey);
}
@media (min-width: 900px) {
  .process-phase { border-top: none; border-left: 2px solid var(--grey); padding: 0 0 0 24px; }
}
.process-phase-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.process-phase-steps { display: grid; gap: 24px; }
.process-step + .process-step { padding-top: 20px; border-top: 1px solid var(--grey); }
.process-step .p-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--sky-dark);
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { font-family: var(--font-body); font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted); }

/* ---------- faq ---------- */
.faq-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.faq-item {
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius-md);
  padding: 6px 24px;
}
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
}
.faq-item .faq-icon::before { width: 14px; height: 2px; }
.faq-item .faq-icon::after { width: 2px; height: 14px; transition: transform 0.2s var(--ease); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-item p { font-size: 14px; color: var(--muted); padding-bottom: 20px; max-width: 60ch; }

/* ---------- final cta ---------- */
.cta-section { overflow: hidden; }
.cta-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .cta-wrap { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 60px; } }

.cta-copy h2 { font-size: clamp(32px, 5.5vw, 52px); margin-bottom: 20px; }
.cta-copy p { font-size: 17px; color: color-mix(in srgb, var(--white) 85%, transparent); margin-bottom: 30px; max-width: 46ch; }

.cta-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  background: color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-card-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: color-mix(in srgb, var(--blue) 55%, transparent);
  color: var(--white);
  transition: background 0.2s var(--ease);
}
a.cta-card-row:hover { background: color-mix(in srgb, var(--blue) 85%, transparent); }
.cta-card-row .icon-wrap {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--white) 15%, transparent);
  display: flex; align-items: center; justify-content: center;
}
.cta-card-row .icon-wrap svg { width: 22px; height: 22px; }
.cta-card-row.is-wa .icon-wrap { background: color-mix(in srgb, var(--whatsapp) 28%, transparent); }
.cta-card-row.is-ig .icon-wrap { background: color-mix(in srgb, var(--instagram) 28%, transparent); }
.cta-card-row small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, var(--white) 78%, transparent); margin-bottom: 4px; }
.cta-card-row strong { font-size: 16px; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo { min-height: 44px; }
.footer-logo-img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-brand p { color: color-mix(in srgb, var(--white) 65%, transparent); font-size: 14px; max-width: 32ch; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: color-mix(in srgb, var(--white) 75%, transparent); }
.footer-col a:hover { color: var(--white); }
.footer-col a[href*="instagram.com"]:hover { color: var(--instagram-text); }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 12px;
  color: color-mix(in srgb, var(--white) 65%, transparent);
}
.footer-bottom a { color: color-mix(in srgb, var(--white) 65%, transparent); }
.footer-bottom a:hover { color: var(--white); }
.site-footer.has-fabs .footer-bottom { padding-bottom: calc(124px + env(safe-area-inset-bottom, 0px)); }

/* ---------- scroll to top ---------- */
.scroll-top-fab {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  right: 29px;
  z-index: 121;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
}
.scroll-top-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-fab-dot {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s var(--ease);
}
.scroll-top-fab:hover .scroll-top-fab-dot { background: var(--blue-dark); }
.scroll-top-fab svg { width: 14px; height: 14px; color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .scroll-top-fab { transform: none; }
}

/* ---------- chatbot ---------- */
.chat-fab {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  right: 22px;
  z-index: 120;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.chat-fab:hover { background: var(--blue-dark); }
.chat-fab svg { width: 26px; height: 26px; color: var(--white); position: absolute; transition: opacity 0.15s var(--ease), transform 0.2s var(--ease); }
.chat-fab-icon-close { opacity: 0; transform: rotate(-45deg); }
.chat-fab[aria-expanded="true"] .chat-fab-icon-open { opacity: 0; transform: rotate(45deg); }
.chat-fab[aria-expanded="true"] .chat-fab-icon-close { opacity: 1; transform: rotate(0deg); }

.chat-panel {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  right: 22px;
  z-index: 119;
  width: min(380px, calc(100vw - 32px));
  max-height: min(600px, calc(100vh - 130px));
  background: var(--white);
  border: 2px solid var(--grey);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.95) translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  pointer-events: none;
}
.chat-panel.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .chat-panel { transform: none; }
  .chat-panel.is-open { transform: none; }
}

.chat-header {
  background: var(--blue);
  color: var(--white);
  padding: 18px 20px;
}
.chat-header-title { font-family: var(--font-display); font-size: 16px; }
.chat-header-status {
  font-size: 12px;
  color: var(--sky);
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-header-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  flex-shrink: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.chat-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.45;
}
.chat-msg.bot {
  background: var(--grey);
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.bot a { color: var(--blue); text-decoration: underline; font-weight: 700; }
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--grey);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  width: fit-content;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: chat-typing-bounce 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-typing span { animation: none; opacity: 0.8; }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 14px;
}
.chat-quick-replies:empty { display: none; }
.chat-quick-reply {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.chat-quick-reply:hover { background: var(--blue); color: var(--white); }
.chat-quick-reply.is-wa { border-color: var(--whatsapp-text); color: var(--whatsapp-text); }
.chat-quick-reply.is-wa:hover { background: var(--whatsapp); color: var(--black); }

.chat-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-top: 2px solid var(--grey);
}
.chat-input-row input {
  flex: 1;
  border: 2px solid var(--grey);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  min-width: 0;
}
.chat-input-row input:focus-visible { border-color: var(--blue); outline: none; }
.chat-input-row button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s var(--ease);
}
.chat-input-row button:hover { background: var(--blue-dark); }
.chat-input-row svg { width: 18px; height: 18px; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- misc helpers ---------- */
.mt-lg { margin-top: 40px; }

/* ---------- legal pages ---------- */
.legal-header {
  padding: 28px 0;
  border-bottom: 2px solid var(--grey);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  min-height: 44px;
  margin-bottom: 24px;
}
.legal-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.legal-content { max-width: 70ch; }
.legal-content h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 44px; }
.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 21px;
  margin: 40px 0 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 15px; color: var(--ink); line-height: 1.6; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px 0;
  padding-left: 22px;
  list-style: disc;
}
.legal-content strong { font-weight: 800; }
.legal-content a { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 30%, transparent); }
.legal-content a:hover { text-decoration-color: var(--blue); }

/* ---------- red mesh de fondo en cada sección ---------- */
.section-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.section-pad > .container { position: relative; z-index: 1; }
