:root {
  --navy: #0d2440;
  --navy-soft: #183a61;
  --blue: #1d74f5;
  --blue-soft: #e8f1ff;
  --coral: #ff765c;
  --lime: #a7e94f;
  --green-soft: #f1fbdc;
  --ink: #142033;
  --muted: #667085;
  --line: #dce5f2;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --shadow: 0 24px 60px rgba(13, 36, 64, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 229, 242, 0.76);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--navy);
  color: white;
  letter-spacing: -0.04em;
}

.brand-text {
  font-size: 0.98rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--navy-soft);
}

.nav-menu a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(13, 36, 64, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 98px;
  background:
    radial-gradient(circle at 10% 10%, rgba(167, 233, 79, 0.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(29, 116, 245, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
  max-width: 760px;
}

.hero-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.12em 0.22em;
}

.hero-steps a {
  color: var(--navy);
  transition: color 0.18s ease, transform 0.18s ease;
}

.hero-steps a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-steps span {
  color: var(--blue);
  font-size: 0.62em;
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.75rem;
}

.hero-subtitle {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2.1vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
  max-width: 480px;
}

.hero-actions-row {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.08rem;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 14px 30px rgba(29, 116, 245, 0.24);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(13, 36, 64, 0.08);
}

.btn-chat {
  flex: 1;
  background: var(--navy);
  color: white;
  box-shadow: 0 10px 28px rgba(13, 36, 64, 0.14);
  font-size: 0.92rem;
}

.btn-chat:hover {
  background: var(--navy-soft);
}

.btn-whatsapp {
  flex: 1;
  background: #25d366;
  color: white;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.24);
  font-size: 0.92rem;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-card {
  position: relative;
  min-height: 500px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy) 0%, #16466f 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-card::before {
  width: 260px;
  height: 260px;
  background: rgba(167, 233, 79, 0.26);
  top: -70px;
  right: -80px;
}

.hero-card::after {
  width: 220px;
  height: 220px;
  background: rgba(255, 118, 92, 0.24);
  bottom: -55px;
  left: -60px;
}

.mini-card {
  position: absolute;
  z-index: 2;
  width: 74%;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.mini-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--lime);
  font-weight: 800;
}

.mini-card strong {
  display: block;
  font-size: 1.48rem;
  letter-spacing: -0.04em;
}

.mini-card small {
  color: rgba(255, 255, 255, 0.74);
}

.mini-card-one {
  top: 44px;
  left: 36px;
}

.mini-card-two {
  top: 178px;
  right: 36px;
}

.mini-card-three {
  bottom: 36px;
  left: 58px;
}

.intro-strip {
  padding: 48px 0;
}

.strip-grid,
.dpb-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
}

.strip-grid p,
.dpb-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.strip-grid a {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid rgba(29, 116, 245, 0.25);
}

.strip-grid a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.solutions {
  background: white;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(13, 36, 64, 0.06);
}

.solution-card.featured {
  border-color: rgba(29, 116, 245, 0.3);
  box-shadow: 0 22px 60px rgba(29, 116, 245, 0.12);
  transform: translateY(-10px);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
}

.card-number {
  color: rgba(13, 36, 64, 0.18);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.card-claim {
  margin: 16px 0 12px;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
}

.solution-card p:not(.card-claim) {
  margin: 0;
  color: var(--muted);
}

.solution-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
  color: var(--ink);
  font-size: 0.96rem;
}

.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.btn-card {
  margin-top: auto;
  background: var(--navy);
  color: white;
}

.chooser {
  background: linear-gradient(180deg, white 0%, var(--surface-soft) 100%);
}

.chooser-box,
.final-box {
  padding: 46px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.chooser-item {
  min-height: 145px;
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.chooser-item:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 116, 245, 0.42);
  background: var(--blue-soft);
}

.chooser-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
}

.chooser-item strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.dpb-block {
  background: var(--navy);
  color: white;
}

.dpb-block h2,
.dpb-block .eyebrow {
  color: white;
}

.dpb-block .eyebrow {
  color: var(--lime);
}

.dpb-copy {
  display: grid;
  gap: 18px;
}

.dpb-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(167, 233, 79, 0.18), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(255, 118, 92, 0.14), transparent 28%),
    var(--surface-soft);
}

.final-box h2 {
  max-width: 820px;
  margin: 0 auto;
}

.final-box p {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-line {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  padding: 28px 0;
  background: white;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 0;
  }

  .nav-cta {
    text-align: center;
    padding: 12px 16px !important;
  }

  .hero-grid,
  .strip-grid,
  .dpb-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

  .cards-grid,
  .chooser-grid {
    grid-template-columns: 1fr;
  }

  .solution-card.featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 66px;
  }

  .brand-text {
    display: none;
  }

  .hero-steps {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .hero-actions,
  .hero-actions.center {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-card {
    min-height: 365px;
  }

  .mini-card {
    width: 82%;
    padding: 18px;
  }

  .mini-card-one {
    top: 28px;
    left: 20px;
  }

  .mini-card-two {
    top: 145px;
    right: 20px;
  }

  .mini-card-three {
    bottom: 28px;
    left: 28px;
  }

  .chooser-box,
  .final-box {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Intro strip con vídeo ── */
.strip-grid-video {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.strip-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* ratio 16:9 */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.strip-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.strip-text h2 {
  margin-bottom: 18px;
}

.strip-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.strip-text a {
  color: var(--navy);
  font-weight: 800;
  border-bottom: 2px solid rgba(29, 116, 245, 0.25);
}

.strip-text a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

@media (max-width: 920px) {
  .strip-grid-video {
    grid-template-columns: 1fr;
  }
}
