:root {
  --navy: #17106d;
  --navy-2: #251a92;
  --teal: #12c9a0;
  --lime: #c8ff00;
  --ink: #15151b;
  --muted: #686978;
  --line: #e8e8ef;
  --soft: #f7f8fb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(23, 16, 109, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  z-index: 100;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img {  display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232,232,239,.85);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; object-fit: cover; object-position: 50% 20%; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--navy-2); }
.nav-cta { background: var(--navy); color: white !important; padding: 11px 16px; border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(23,16,109,.22); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-icon::before,
.menu-icon::after { content: ""; position: relative; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: -5px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: -2px; transform: rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(18,201,160,.20), transparent 25%),
    radial-gradient(circle at 88% 70%, rgba(200,255,0,.18), transparent 28%),
    linear-gradient(135deg, #f8f9ff 0%, #fff 52%, #f5fffb 100%);
  padding: 88px 0 74px;
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 70px; }
.eyebrow { display: inline-block; color: var(--navy); background: rgba(23,16,109,.08); padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.hero h1, .section-heading h2, .split-card h2, .support-grid h2, .about h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.03; letter-spacing: -.05em; margin: 18px 0 22px; }
.hero p { max-width: 660px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 20px; border-radius: 14px; font-weight: 850; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 10px 30px rgba(23,16,109,.18); }
.btn-secondary { border: 1px solid var(--line); background: white; color: var(--navy); }
.hero-note { margin-top: 18px; color: #858696; font-size: 13px; }
.hero-card { background: white; padding: 30px; border-radius: 32px; box-shadow: var(--shadow); transform: rotate(1.5deg); border: 1px solid #eeeef5; }
.hero-card img { border-radius: 22px; }
.contact-chip { margin-top: 18px; text-align: center; background: var(--lime); color: var(--navy); font-weight: 950; border-radius: 14px; padding: 12px; }

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: white; }
.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .split-card h2, .support-grid h2, .about h2 { font-size: clamp(32px, 4vw, 52px); }
.section-heading p, .split-card p, .about p { color: var(--muted); font-size: 17px; }

.plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 28px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(23,16,109,.10); }
.plan-card.featured { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.plan-card.featured:hover { transform: translateY(-4px); }
.badge { position: absolute; top: -13px; left: 20px; background: var(--lime); color: var(--navy); padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .04em; }
.plan-speed { color: var(--navy); font-size: 42px; font-weight: 950; line-height: 1; letter-spacing: -.05em; }
.plan-speed span { display: block; margin-top: 7px; font-size: 16px; letter-spacing: 0; }
.plan-desc { flex: 1; color: var(--muted); font-size: 14px; min-height: 88px; }
.price { font-size: 27px; font-weight: 950; letter-spacing: -.03em; margin: 14px 0 18px; }
.price span { font-size: 16px; vertical-align: top; margin-right: 2px; }
.price small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.btn-card { min-height: 44px; background: var(--navy); color: white; font-size: 14px; }

.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefits-grid article { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.benefits-grid article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23,16,109,.08); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(18,201,160,.13); font-size: 21px; }
.benefits-grid h3 { margin: 20px 0 8px; font-size: 18px; }
.benefits-grid p { color: var(--muted); margin: 0; font-size: 14px; }

.split-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; border: 1px solid var(--line); background: linear-gradient(120deg, #fff 0%, #f7fff9 100%); border-radius: 30px; padding: 42px; }
.split-card > div { max-width: 760px; }

.support-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.eyebrow-light { color: var(--lime); background: rgba(255,255,255,.10); }
.support-grid p { color: rgba(255,255,255,.74); font-size: 17px; }
.support-card { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); border-radius: 26px; padding: 30px; }
.support-card span { display: block; color: rgba(255,255,255,.66); }
.support-card strong { display: block; font-size: clamp(28px, 4vw, 42px); margin: 8px 0 22px; letter-spacing: -.04em; }
.btn-light { background: white; color: var(--navy); }

.about { max-width: 860px; }
.about p { font-size: 18px; }

.footer { background: #0d0a35; color: white; padding-top: 54px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 950; font-size: 22px; }
.footer p { color: rgba(255,255,255,.63); }
.footer strong { display: block; margin-bottom: 12px; }
.footer a { display: block; color: rgba(255,255,255,.73); margin: 7px 0; font-size: 14px; }
.footer a:hover { color: white; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.10); padding: 20px 0 28px; color: rgba(255,255,255,.5); font-size: 13px; }

.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: white; font-weight: 950; box-shadow: 0 10px 28px rgba(0,0,0,.2); z-index: 60; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp:hover { transform: scale(1.06); box-shadow: 0 14px 34px rgba(0,0,0,.28); }

.legal-hero { padding: 72px 0 35px; background: var(--soft); }
.legal-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.05em; margin: 16px 0 8px; }
.legal-content { max-width: 860px; padding: 55px 0 90px; }
.legal-content h2 { margin-top: 34px; color: var(--navy); }
.legal-content p, .legal-content li { color: #555766; }
.legal-content a { color: var(--navy); font-weight: 750; }
.back-link { display: inline-flex; margin-top: 24px; font-weight: 800; color: var(--navy); }

@media (max-width: 1050px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 78px; left: 20px; right: 20px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: 18px; flex-direction: column; align-items: stretch; gap: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 10px; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 60px; }
  .hero-grid, .support-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 520px; transform: none; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .split-card { flex-direction: column; align-items: flex-start; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand span { font-size: 14px; }
  .brand img { width: 42px; height: 42px; }
  .section { padding: 70px 0; }
  .plans-grid, .benefits-grid, .footer-grid { grid-template-columns: 1fr; }
  .plan-desc { min-height: auto; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* --- V2: mejor experiencia móvil + información empresarial --- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 48px;
  align-items: start;
}
.about { max-width: none; }
.about p + p { margin-top: 16px; }

.business-card {
  position: sticky;
  top: 108px;
  background: linear-gradient(145deg, #ffffff 0%, #f6fffb 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.business-kicker {
  display: inline-flex;
  color: var(--navy);
  background: rgba(23,16,109,.08);
  padding: 7px 11px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 18px;
}
.business-data {
  margin: 0;
  display: grid;
  gap: 0;
}
.business-data > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.business-data > div:first-child { padding-top: 0; }
.business-data > div:last-child { border-bottom: 0; padding-bottom: 0; }
.business-data dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 850;
  margin-bottom: 3px;
}
.business-data dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.business-data a { color: var(--navy); }
.footer-legal { font-size: 13px; margin-top: 6px; }

/* Tablet refinements */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .business-card { position: static; }
}

/* Mobile-first refinements */
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(100% - 24px, 1160px); }

  .site-header { backdrop-filter: blur(10px); }
  .nav-wrap { min-height: 66px; }
  .brand { gap: 8px; }
  .brand img { width: 38px; height: 38px; border-radius: 9px; }
  .brand span { font-size: 13px; letter-spacing: -.01em; }

  .menu-toggle { width: 38px; height: 38px; }
  .nav {
    top: 70px;
    left: 12px;
    right: 12px;
    border-radius: 16px;
    padding: 12px;
    gap: 4px;
  }
  .nav a { padding: 10px 12px; border-radius: 10px; }
  .nav a:not(.nav-cta):hover { background: var(--soft); }
  .nav-cta { padding: 11px 14px !important; }

  .hero {
    padding: 36px 0 42px;
    background:
      radial-gradient(circle at 90% 12%, rgba(18,201,160,.18), transparent 26%),
      linear-gradient(160deg, #f8f9ff 0%, #fff 62%, #f5fffb 100%);
  }
  .hero-grid { gap: 24px; }
  .hero-copy { text-align: left; }
  .eyebrow { font-size: 11px; padding: 6px 10px; }
  .hero h1 {
    font-size: clamp(34px, 10.4vw, 46px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 14px 0 16px;
  }
  .hero p { font-size: 16px; line-height: 1.55; margin: 0; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { width: 100%; min-height: 48px; }
  .hero-note { margin-top: 13px; font-size: 12px; }

  .hero-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(23,16,109,.11);
  }
  .hero-card img {
    width: min(100%, 280px);
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
  }
  .contact-chip {
    margin-top: 12px;
    padding: 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .section { padding: 52px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading.compact { margin-bottom: 24px; }
  .section-heading h2,
  .split-card h2,
  .support-grid h2,
  .about h2 {
    font-size: clamp(29px, 8.5vw, 38px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 13px 0 14px;
  }
  .section-heading p,
  .split-card p,
  .about p,
  .support-grid p { font-size: 15px; line-height: 1.6; }

  .plans-grid { gap: 12px; }
  .plan-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "speed price"
      "desc desc"
      "button button";
    gap: 8px 14px;
    padding: 20px;
    border-radius: 20px;
  }
  .plan-card.featured { margin-top: 8px; }
  .plan-speed { grid-area: speed; font-size: 34px; align-self: center; }
  .plan-speed span { font-size: 13px; margin-top: 4px; }
  .plan-desc {
    grid-area: desc;
    min-height: auto;
    margin: 2px 0 6px;
    font-size: 13px;
    line-height: 1.5;
  }
  .price {
    grid-area: price;
    margin: 0;
    align-self: center;
    text-align: right;
    font-size: 23px;
    white-space: nowrap;
  }
  .price span { font-size: 14px; }
  .price small { display: block; margin-top: 2px; font-size: 10px; }
  .btn-card { grid-area: button; width: 100%; min-height: 42px; }
  .badge {
    top: -10px;
    left: 16px;
    font-size: 10px;
    padding: 4px 8px;
  }

  .benefits-grid { gap: 12px; }
  .benefits-grid article {
    padding: 20px;
    border-radius: 20px;
  }
  .icon { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
  .benefits-grid h3 { margin: 14px 0 5px; font-size: 16px; }
  .benefits-grid p { font-size: 13px; }

  .split-card {
    gap: 22px;
    padding: 24px 20px;
    border-radius: 22px;
  }
  .split-card .btn { width: 100%; }

  .support-grid { gap: 22px; }
  .support-card {
    padding: 22px 20px;
    border-radius: 20px;
  }
  .support-card strong { font-size: 30px; margin: 6px 0 16px; }
  .support-card .btn { width: 100%; }

  .about-layout { gap: 22px; }
  .business-card {
    padding: 22px 20px;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(23,16,109,.10);
  }
  .business-data > div { padding: 13px 0; }
  .business-data dd { font-size: 14px; }

  .footer { padding-top: 38px; }
  .footer-grid { gap: 26px; }
  .footer strong { margin-bottom: 8px; }
  .footer a { margin: 5px 0; }
  .footer-bottom { margin-top: 28px; padding: 16px 0 22px; }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .legal-hero { padding: 48px 0 28px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-content { padding: 36px 0 64px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 33px; }
  .plan-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "speed"
      "price"
      "desc"
      "button";
  }
  .price { text-align: left; }
  .price small { display: inline; margin-left: 3px; }
}
