:root {
  /* Brand */
  --primary: #0A3D91;
  --primary-dark: #081F3A;
  --secondary: #4FB3E8;
  --accent: #D62828;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F3F6FA;
  --bg-dark: #081F3A;

  /* Text */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #E5E7EB;

  /* UI */
  --border: #E2E8F0;

  /* Radius / shadows (no tocar) */
  --radius: 5px;
  --radius2: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.15);
  --shadow2: 0 20px 60px rgba(0,0,0,.25);

  --container: 1140px;
}


* {
  box-sizing: border-box;
    cursor: default;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(
    180deg,
    #F8FAFC 0%,
    #F3F6FA 60%,
    #EEF2F7 100%
  );
  color: var(--text-main);
}


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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

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

.topbar-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  z-index: 9999;
  opacity: 0.85;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0% 2% 0% 2%;
}
.nav-link {
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-light);
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(78, 162, 255, 0.28), rgba(124, 92, 255, 0.28));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 20px 12px;
  cursor: pointer;
}

.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 6px;
}



/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 600;
}

.btn-small {
  padding: 10px 12px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, rgb(0 106 180), rgb(0 106 180));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}

.btn-secondary {
  background: #25D366
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

/* Hero (oscuro) + capa animada tipo llamas */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;

  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;

  /* “llamas” = manchas de luz que suben y se deforman */
  background:
    radial-gradient(60% 40% at 20% 110%, rgba(79,179,232,0.22), transparent 60%),
    radial-gradient(55% 40% at 55% 115%, rgba(214,40,40,0.12), transparent 62%),
    radial-gradient(60% 45% at 85% 120%, rgba(79,179,232,0.18), transparent 65%),
    radial-gradient(45% 35% at 35% 130%, rgba(255,255,255,0.06), transparent 60%);

  filter: blur(18px);
  opacity: 0.85;
  mix-blend-mode: screen;

  transform: translateY(0) scale(1.05);
  animation: heroFlames 7.5s ease-in-out infinite;
}

@keyframes heroFlames {
  0% {
    transform: translateY(6%) scale(1.05);
    filter: blur(20px);
  }
  35% {
    transform: translateY(-2%) scale(1.10) skewX(-1deg);
    filter: blur(16px);
  }
  70% {
    transform: translateY(-6%) scale(1.08) skewX(1deg);
    filter: blur(18px);
  }
  100% {
    transform: translateY(6%) scale(1.05);
    filter: blur(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}



.hero-bg {
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 520px;
  background: radial-gradient(closest-side at 20% 40%, rgba(78, 162, 255, 0.22), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(124, 92, 255, 0.20), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: start;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 13px;
  width: fit-content;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006ab4, #006ab4);
  box-shadow: 0 0 0 6px #ffffff;
}

.hero-title {
  margin: 16px 0 10px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.8px;
  color: white;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
  background: none;
  color: white;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.trust-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 14px;
}

.trust-kpi {
  font-weight: 800;
  font-size: 20px;
}

.trust-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted2);
}

.hero-right {
  display: grid;
  gap: 14px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-title {
  font-weight: 700;
}

.pill {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 999px;
}

.checklist {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-image {
  height: 240px;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    radial-gradient(closest-side at 35% 40%, rgba(78, 162, 255, 0.16), transparent 70%),
    radial-gradient(closest-side at 70% 55%, rgba(124, 92, 255, 0.15), transparent 70%);
  position: relative;
  overflow: hidden;
}

.hero-image-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(10px);
  padding: 14px;
}

.hero-image-title {
  font-weight: 800;
  letter-spacing: -0.3px;
}

.hero-image-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

/* La imagen ocupa bien el bloque */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* Fade */
  opacity: 1;
  transition: opacity 600ms ease;
  will-change: opacity;
}

/* Estado durante el cambio */
.hero-image img.is-fading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    transition: none;
  }
}


/* Sections */
.section {
  padding: 56px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.4px;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* Logos */
.logos {
  padding: 30px 0 8px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.logo-item {
  border: 1px solid var(--border);
  background: white;
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: var(--radius2);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}


.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
}


.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.card-title {
  margin: 14px 0 8px;
  font-size: 18px;
}

.card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mini-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius2);
  padding: 18px;
  display: flex;
  gap: 12px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(78, 162, 255, 0.25), rgba(124, 92, 255, 0.22));
  border: 1px solid var(--border);
}

.step-title {
  font-weight: 800;
}

.step-text {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Pills */
.pill-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  cursor: default;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius2);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.contact-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}

.contact-title {
  margin: 0 0 12px;
}

.form {
  display: grid;
  gap: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}


input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 61, 145, 0.15);
}


.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-hint {
  margin: 0;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.6;
}

.form-alert {
  display: none;
  margin-top: 4px;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.contact-side {
  display: grid;
  gap: 14px;
}

.side-box {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}

.side-box.highlight {
  background: linear-gradient(135deg, rgba(78, 162, 255, 0.10), rgba(124, 92, 255, 0.08));
}

.side-title {
  font-weight: 800;
}

.side-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #989aa7
}

.side-item:last-child {
  border-bottom: none;
}

.side-label {
  color: var(--muted);
  font-weight: 700;
}

.side-text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sep {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin: 14px 0;
}

/* Footer */
.footer {
  padding: 60px 0;
  background: var(--primary-dark);
  color: var(--text-light);
}


.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: 0.4px;
}

.footer-text {
  margin-top: 6px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.footer-link {
color: var(--text-light);
  padding: 8px 10px;
  border-radius: 12px;
}

.footer-link:hover {
 color: white;
  background: rgba(255, 255, 255, 0.06);
}

.footer-copy {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted2);
  font-size: 13px;
}

/* WhatsApp floating */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.28);
  box-shadow: var(--shadow2);
  z-index: 60;
  backdrop-filter: blur(12px);
}

.wa-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  transform: rotate(280deg);
}

.wa-text {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1020px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Hamburguer visible en header blanco */
/* Hamburguer visible en header blanco */
.nav-toggle {
  background: var(--bg-light);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  background: var(--text-main);
}


  .nav-menu {
    position: absolute;
    right: 20px;
    top: 75px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow2);
  }

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

  .nav-link {
    padding: 12px 12px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

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

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

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

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
.section:nth-child(even) {
  background: var(--bg-light);
}

.form-alert {
  display: none;
  margin-top: 10px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-main);
}

.form-alert.ok {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.10);
}

.form-alert.err {
  border-color: rgba(214, 40, 40, 0.35);
  background: rgba(214, 40, 40, 0.10);
}
