:root {
  --azul: #0d3b66;
  --azul-oscuro: #06264a;
  --azul-claro: #2d9cdb;
  --rojo: #f5402d;
  --rojo-oscuro: #d93020;
  --gris: #687280;
  --gris-claro: #f3f6fa;
  --borde: #dfe7f1;
  --blanco: #ffffff;
  --whatsapp: #f5402d;
  --sombra: 0 24px 70px rgba(6, 38, 74, .12);
  --sombra-fuerte: 0 30px 80px rgba(6, 38, 74, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--azul-oscuro);
  background: var(--blanco);
  line-height: 1.65;
  padding-bottom: env(safe-area-inset-bottom);
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.section-padding { padding: 96px 0; }

.fa-icon,
.benefit-svg,
.module-svg,
.check-svg,
.list-svg,
.footer-svg,
.whatsapp-float-icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}
.btn-icon .fa-icon { width: 1.08em; height: 1.08em; }
.btn-main-cta { box-shadow: 0 18px 36px rgba(245,64,45,.24); }

.navbar-sigapyme {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13,59,102,.08);
  box-shadow: 0 10px 30px rgba(6,38,74,.06);
}
.brand-logo { height: 54px; width: auto; object-fit: contain; }
.navbar-sigapyme .nav-link {
  color: var(--azul-oscuro);
  font-weight: 760;
  font-size: .95rem;
  padding-left: .85rem;
  padding-right: .85rem;
}
.navbar-sigapyme .nav-link:hover,
.navbar-sigapyme .nav-link:focus { color: var(--rojo); }
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(45,156,219,.16); }

.btn-danger {
  --bs-btn-bg: var(--rojo);
  --bs-btn-border-color: var(--rojo);
  --bs-btn-hover-bg: var(--rojo-oscuro);
  --bs-btn-hover-border-color: var(--rojo-oscuro);
  --bs-btn-active-bg: #c82618;
  --bs-btn-active-border-color: #c82618;
}

.btn-danger.btn-icon {
  box-shadow: 0 16px 32px rgba(245,64,45,.24);
}
.btn-danger.btn-icon:hover {
  box-shadow: 0 20px 42px rgba(245,64,45,.32);
}
.btn-primary {
  --bs-btn-bg: var(--azul);
  --bs-btn-border-color: var(--azul);
  --bs-btn-hover-bg: var(--azul-oscuro);
  --bs-btn-hover-border-color: var(--azul-oscuro);
}
.btn-outline-primary {
  --bs-btn-color: var(--azul);
  --bs-btn-border-color: var(--azul);
  --bs-btn-hover-bg: var(--azul);
  --bs-btn-hover-border-color: var(--azul);
}

.hero-section {
  padding-top: 150px;
  padding-bottom: 54px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(45,156,219,.14), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(245,64,45,.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
.hero-section::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(13,59,102,.06);
  pointer-events: none;
}
.hero-carousel { position: relative; z-index: 1; }
.hero-carousel .carousel-inner {
  background: #fff;
  border: 1px solid rgba(13,59,102,.08);
  overflow: hidden;
}
.hero-carousel .carousel-item img {
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  background: #fff;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-size: 50%;
  background-color: rgba(6,38,74,.85);
}
.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--rojo);
}
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rojo);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}
.eyebrow.light { color: #ffffff; }
h1, h2, h3 { font-weight: 950; line-height: 1.08; color: var(--azul-oscuro); }
h1 { font-size: clamp(2.55rem, 5vw, 4.8rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.08rem; }
.section-intro { color: var(--gris); font-size: 1.08rem; }
.closing-copy { color: var(--azul); font-weight: 750; }
.shadow-soft { box-shadow: var(--sombra); }
.bg-soft { background: var(--gris-claro); }

.problem-card,
.benefit-card,
.check-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: 24px;
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover,
.benefit-card:hover,
.check-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(6,38,74,.10);
  border-color: rgba(45,156,219,.35);
}
.problem-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(245,64,45,.1);
  color: var(--rojo);
  font-weight: 950;
  margin-bottom: 16px;
}
.problem-card p { margin: 0; color: var(--gris); font-weight: 650; }

.benefit-card h3 { margin: 14px 0 8px; }
.benefit-card p { margin: 0; color: var(--gris); }
.benefit-card.horizontal { display: flex; align-items: flex-start; gap: 18px; }
.benefit-svg {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--azul), var(--azul-claro));
  color: #fff;
  box-shadow: 0 14px 28px rgba(13,59,102,.18);
}

.bg-navy {
  background:
    radial-gradient(circle at 5% 10%, rgba(45,156,219,.22), transparent 25%),
    linear-gradient(135deg, var(--azul-oscuro), var(--azul));
}
.bg-navy h2,
.support-section h2 { color: #fff; }
.module-card {
  position: relative;
  height: 100%;
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}
.module-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.13); }
.module-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.module-svg {
  width: 44px;
  height: 44px;
  color: #fff;
  opacity: .92;
  margin-bottom: 18px;
}
.module-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  color: var(--rojo);
  font-weight: 950;
  margin-bottom: 18px;
}
.module-card h3 { color: #fff; }
.module-card p { color: rgba(255,255,255,.78); margin-bottom: 0; }

.image-frame { position: relative; max-width: 500px; margin-inline: auto; }
.image-frame::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border-radius: 28px;
  background: rgba(45,156,219,.14);
  z-index: -1;
}
.rubro-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rubro-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--borde);
  background: #fff;
  color: var(--azul);
  border-radius: 999px;
  padding: 9px 15px;
  font-weight: 850;
  font-size: .92rem;
}
.highlight-box {
  border-left: 5px solid var(--rojo);
  background: var(--gris-claro);
  color: var(--azul-oscuro);
  padding: 18px 20px;
  border-radius: 18px;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--azul-oscuro);
  font-weight: 850;
  padding: 24px;
}
.check-svg {
  color: var(--rojo);
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.support-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,38,74,.94), rgba(13,59,102,.94)),
    url("../img/banner-02.webp") center/cover no-repeat;
}
.support-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(10px);
}
.support-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.support-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}
.list-svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--rojo);
  color: #fff;
  margin-top: 1px;
}

.contact-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(245,64,45,.1), transparent 28%),
    linear-gradient(180deg, #fff, #f7faff);
}
.contact-note {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,250,255,.96));
  border: 1px solid rgba(13,59,102,.10);
  border-radius: 28px;
  padding: 28px;
  color: var(--gris);
  box-shadow: 0 22px 54px rgba(6,38,74,.09);
}
.contact-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--rojo), var(--azul-claro));
}
.contact-note strong {
  display: block;
  color: var(--azul-oscuro);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--rojo), #ff5a47);
  border-radius: 999px;
  font-weight: 950;
  line-height: 1.1;
  box-shadow: 0 16px 32px rgba(245,64,45,.23);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-whatsapp:hover,
.contact-whatsapp:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(245,64,45,.32);
}
.contact-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.form-card {
  background: #fff;
  border: 1px solid rgba(13,59,102,.08);
  border-radius: 32px;
  padding: 34px;
}
.form-label { font-weight: 850; color: var(--azul-oscuro); }
.form-control,
.form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: var(--borde);
  color: var(--azul-oscuro);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--azul-claro);
  box-shadow: 0 0 0 .25rem rgba(45,156,219,.16);
}
textarea.form-control { min-height: 120px; }

.site-footer {
  background: var(--azul-oscuro);
  color: rgba(255,255,255,.74);
  padding: 64px 0 28px;
}
.footer-logo {
  width: 210px;
  border-radius: 18px;
  padding: 8px 14px;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-svg { width: 16px; height: 16px; }
.site-footer hr { border-color: rgba(255,255,255,.14); margin: 38px 0 22px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  min-width: 64px;
  height: 64px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rojo), #ff5a47);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 18px 38px rgba(245,64,45,.30);
  font-weight: 950;
  letter-spacing: -.01em;
  transition: transform .22s ease, box-shadow .22s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.02);
  color: #fff;
  box-shadow: 0 24px 54px rgba(245,64,45,.42);
}
.whatsapp-float-icon { width: 32px; height: 32px; }

@media (max-width: 1199.98px) {
  .navbar-sigapyme .btn-icon span { max-width: 190px; white-space: normal; line-height: 1.15; }
}
@media (max-width: 991.98px) {
  .section-padding { padding: 72px 0; }
  .hero-section { padding-top: 122px; }
  .navbar-sigapyme .navbar-collapse { padding: 18px 0; }
  .navbar-sigapyme .btn-icon span { max-width: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 575.98px) {
  .brand-logo { height: 46px; }
  .section-padding { padding: 60px 0; }
  .hero-section { padding-top: 110px; padding-bottom: 42px; }
  .form-card { padding: 24px; border-radius: 24px; }
  .contact-note { padding: 24px 22px 24px 26px; }
  .contact-whatsapp { width: 100%; text-align: center; }
  .benefit-card.horizontal { flex-direction: column; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }
  .whatsapp-float { right: 16px; bottom: 16px; height: 58px; min-width: 58px; padding: 0 16px; }
  .whatsapp-float-label { display: none; }
  .whatsapp-float-icon { width: 30px; height: 30px; }
}


/* Contacto superior tipo tarjeta: limpio, compacto y alineado con el logo */
.nav-call-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--azul-oscuro);
  border: 1px solid rgba(13,59,102,.10);
  box-shadow: 0 10px 28px rgba(6,38,74,.08);
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav-call-card:hover,
.nav-call-card:focus {
  color: var(--azul-oscuro);
  transform: translateY(-2px);
  border-color: rgba(245,64,45,.26);
  box-shadow: 0 16px 38px rgba(6,38,74,.13);
}
.nav-call-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rojo);
  background: rgba(245,64,45,.09);
  box-shadow: inset 0 0 0 1px rgba(245,64,45,.10);
  flex: 0 0 auto;
}
.nav-call-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.nav-call-copy {
  display: grid;
  gap: 4px;
}
.nav-call-copy span {
  display: block;
  color: #607085;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-call-copy strong {
  display: block;
  color: var(--azul-oscuro);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

/* Ajuste de CTAs con ícono */
.btn-icon svg {
  fill: currentColor;
}
/* .contact-whatsapp definido arriba con paleta de marca */

@media (max-width: 1199.98px) {
  .navbar-sigapyme .nav-link {
    padding-left: .55rem;
    padding-right: .55rem;
    font-size: .9rem;
  }
  .nav-call-card { padding-right: 10px; gap: 9px; }
  .nav-call-copy strong { font-size: .92rem; }
}
@media (max-width: 991.98px) {
  .nav-call-card {
    width: 100%;
    justify-content: flex-start;
    margin-top: 4px;
  }
}

/* === Ajuste final solicitado: CTA tipo tarjeta con ícono WhatsApp verde === */
:root {
  --whatsapp: #25D366;
  --whatsapp-oscuro: #1ebe5b;
  --cta-bg: #f5f7fb;
  --cta-border: rgba(13,59,102,.10);
}

.nav-call-card,
.wa-contact-card,
.contact-whatsapp,
.wa-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 20px;
  background: var(--cta-bg);
  color: var(--azul-oscuro);
  border: 1px solid var(--cta-border);
  box-shadow: 0 12px 30px rgba(6,38,74,.08);
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.nav-call-card:hover,
.nav-call-card:focus,
.wa-contact-card:hover,
.wa-contact-card:focus,
.contact-whatsapp:hover,
.contact-whatsapp:focus,
.wa-contact-button:hover,
.wa-contact-button:focus {
  color: var(--azul-oscuro);
  transform: translateY(-2px);
  border-color: rgba(37,211,102,.28);
  box-shadow: 0 18px 38px rgba(6,38,74,.12);
  background: #ffffff;
}

.nav-call-icon,
.wa-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-oscuro));
  box-shadow: 0 12px 24px rgba(37,211,102,.28);
  flex: 0 0 auto;
}

.nav-call-icon svg,
.wa-contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-call-copy,
.wa-contact-copy {
  display: grid;
  gap: 5px;
  text-align: left;
}

.nav-call-copy span,
.wa-contact-copy span {
  display: block;
  color: #6b7a90;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-call-copy strong,
.wa-contact-copy strong {
  display: block;
  color: var(--azul-oscuro);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: -.02em;
}

.hero-wa-card,
.section-wa-card {
  align-self: flex-start;
}

.contact-whatsapp {
  margin-top: 18px;
}

.wa-contact-button {
  appearance: none;
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.wa-contact-button .wa-contact-copy {
  text-align: center;
}

/* El CTA del menú debe verse compacto */
.nav-call-card {
  padding-right: 16px;
}

/* WhatsApp flotante: redondo y verde */
.whatsapp-float {
  width: 64px;
  height: 64px;
  min-width: 64px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-oscuro));
  color: #fff;
  box-shadow: 0 18px 36px rgba(37,211,102,.34);
}
.whatsapp-float:hover {
  box-shadow: 0 24px 48px rgba(37,211,102,.42);
}
.whatsapp-float-label {
  display: none;
}
.whatsapp-float-icon {
  width: 31px;
  height: 31px;
}

/* Mantener responsive y evitar que se deformen */
@media (max-width: 991.98px) {
  .nav-call-card,
  .wa-contact-card,
  .contact-whatsapp {
    width: 100%;
    white-space: normal;
  }
  .wa-contact-button {
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  .nav-call-card,
  .wa-contact-card,
  .contact-whatsapp,
  .wa-contact-button {
    padding: 10px 14px 10px 10px;
    border-radius: 18px;
  }
  .nav-call-copy strong,
  .wa-contact-copy strong {
    font-size: .95rem;
  }
  .whatsapp-float {
    width: 58px;
    height: 58px;
    min-width: 58px;
  }
}

/* =========================================================
   CORRECCIÓN FINAL DEFINITIVA
   Solicitar asesoría = tarjeta clara + ícono WhatsApp verde.
   WhatsApp flotante = círculo verde real de WhatsApp.
   ========================================================= */
:root {
  --wa-real: #25D366;
  --wa-real-dark: #128C7E;
  --wa-card-bg: #f8fafc;
  --wa-card-border: rgba(13, 59, 102, .12);
}

.nav-call-card,
.wa-contact-card,
.contact-whatsapp,
.wa-contact-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 9px 16px 9px 9px !important;
  border-radius: 18px !important;
  border: 1px solid var(--wa-card-border) !important;
  background: var(--wa-card-bg) !important;
  color: var(--azul-oscuro) !important;
  box-shadow: 0 12px 28px rgba(6, 38, 74, .08) !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.nav-call-card:hover,
.nav-call-card:focus,
.wa-contact-card:hover,
.wa-contact-card:focus,
.contact-whatsapp:hover,
.contact-whatsapp:focus,
.wa-contact-button:hover,
.wa-contact-button:focus {
  background: #ffffff !important;
  color: var(--azul-oscuro) !important;
  border-color: rgba(37, 211, 102, .34) !important;
  box-shadow: 0 18px 42px rgba(6, 38, 74, .13) !important;
  transform: translateY(-2px) !important;
}

.nav-call-icon,
.wa-contact-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--wa-real), var(--wa-real-dark)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .34) !important;
}

.nav-call-icon svg,
.wa-contact-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: currentColor !important;
}

.nav-call-copy,
.wa-contact-copy {
  display: grid !important;
  gap: 5px !important;
  text-align: left !important;
}

.nav-call-copy span,
.wa-contact-copy span {
  color: #66758b !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.nav-call-copy strong,
.wa-contact-copy strong {
  color: var(--azul-oscuro) !important;
  font-size: 1.02rem !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

.contact-whatsapp {
  margin-top: 18px !important;
}

.wa-contact-button {
  cursor: pointer !important;
  font-family: inherit !important;
  justify-content: center !important;
}

/* WhatsApp flotante: solo círculo verde, sin pastilla roja */
.whatsapp-float {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--wa-real), var(--wa-real-dark)) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .36) !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-4px) scale(1.03) !important;
  color: #fff !important;
  box-shadow: 0 24px 52px rgba(37, 211, 102, .45) !important;
}

.whatsapp-float-label {
  display: none !important;
}

.whatsapp-float-icon {
  width: 31px !important;
  height: 31px !important;
  fill: currentColor !important;
}

/* Mobile/tablet: evitar título gigante y botones apretados */
@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 96px !important;
    padding-bottom: 38px !important;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
  }

  .hero-copy,
  .section-intro,
  .text-muted {
    font-size: 1rem !important;
  }

  .hero-section .d-flex.flex-column.flex-sm-row {
    flex-direction: column !important;
  }

  .hero-section .btn-outline-primary,
  .hero-section .wa-contact-card {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-section .wa-contact-card,
  .contact-whatsapp,
  .wa-contact-button {
    white-space: normal !important;
  }

  .wa-contact-copy strong,
  .nav-call-copy strong {
    font-size: .96rem !important;
  }

  .wa-contact-copy span,
  .nav-call-copy span {
    font-size: .63rem !important;
  }

  .hero-stats .stat-card {
    min-height: 82px !important;
    padding: 15px 12px !important;
  }

  .stat-card strong,
  .stat-card span {
    display: block !important;
  }

  .whatsapp-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
  }
}


/* =========================================================
   Corrección de layout: slider principal arriba y costado derecho limpio
   ========================================================= */
.hero-slider-first {
  padding-top: 126px !important;
  padding-bottom: 76px !important;
  background:
    radial-gradient(circle at 14% 10%, rgba(45,156,219,.10), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(245,64,45,.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
}

.hero-slider-first::after {
  display: none !important;
}

.hero-carousel-main {
  position: relative;
  z-index: 2;
}

.hero-carousel-main .carousel-inner {
  border-radius: 34px !important;
  border: 1px solid rgba(13,59,102,.08);
  background: #fff;
  box-shadow: 0 30px 80px rgba(6,38,74,.14) !important;
}

.hero-carousel-main .carousel-item img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  background: #fff;
}

.hero-intro-card {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  padding: 38px;
  border: 1px solid rgba(13,59,102,.10);
  border-radius: 34px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 60px rgba(6,38,74,.09);
  backdrop-filter: blur(12px);
}

.hero-slider-first h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 4.6vw, 4.8rem) !important;
  line-height: 1.03 !important;
}

.hero-actions-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-control-card {
  height: 100%;
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(45,156,219,.28), transparent 34%),
    linear-gradient(135deg, var(--azul-oscuro), var(--azul));
  box-shadow: 0 22px 50px rgba(6,38,74,.18);
}

.hero-control-card .control-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #fff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .78;
}

.hero-control-card h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-control-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-control-card li {
  position: relative;
  padding-left: 24px;
  color: rgba(255,255,255,.86);
  font-weight: 750;
}

.hero-control-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rojo);
  font-weight: 950;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero-stats-grid .stat-card {
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px;
  text-align: left;
}

.hero-stats-grid .stat-card strong,
.hero-stats-grid .stat-card span {
  display: block;
}

/* Evita textos pegados tipo Ventasy / Cajadiaria */
.stat-card strong {
  margin-bottom: 2px;
}

/* La tarjeta de WhatsApp se mantiene clara; el icono sí es verde WhatsApp */
:root {
  --wa-real: #25D366;
  --wa-real-dark: #128C7E;
  --wa-card-bg: #f8fafc;
  --wa-card-border: rgba(13, 59, 102, .12);
}

.nav-call-card,
.wa-contact-card,
.contact-whatsapp,
.wa-contact-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 9px 16px 9px 9px !important;
  border-radius: 18px !important;
  border: 1px solid var(--wa-card-border) !important;
  background: var(--wa-card-bg) !important;
  color: var(--azul-oscuro) !important;
  box-shadow: 0 12px 28px rgba(6, 38, 74, .08) !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.nav-call-icon,
.wa-contact-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--wa-real), var(--wa-real-dark)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .34) !important;
}

.nav-call-icon svg,
.wa-contact-icon svg {
  width: 21px !important;
  height: 21px !important;
  fill: currentColor !important;
}

.nav-call-copy,
.wa-contact-copy {
  display: grid !important;
  gap: 5px !important;
  text-align: left !important;
}

.nav-call-copy span,
.wa-contact-copy span {
  color: #66758b !important;
  font-size: .68rem !important;
  font-weight: 950 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.nav-call-copy strong,
.wa-contact-copy strong {
  color: var(--azul-oscuro) !important;
  font-size: 1.02rem !important;
  font-weight: 950 !important;
  letter-spacing: -.02em !important;
}

.wa-contact-button {
  cursor: pointer !important;
  font-family: inherit !important;
  justify-content: center !important;
}

.whatsapp-float {
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--wa-real), var(--wa-real-dark)) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .36) !important;
}

.whatsapp-float-label { display: none !important; }
.whatsapp-float-icon {
  width: 31px !important;
  height: 31px !important;
  fill: currentColor !important;
}

@media (max-width: 1199.98px) {
  .hero-slider-first h1 {
    font-size: clamp(2.25rem, 5.8vw, 3.8rem) !important;
  }
  .nav-call-copy strong { font-size: .94rem !important; }
}

@media (max-width: 991.98px) {
  .hero-slider-first {
    padding-top: 108px !important;
  }
  .hero-intro-card {
    padding: 28px;
    border-radius: 28px;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-call-card {
    width: 100% !important;
    white-space: normal !important;
  }
}

@media (max-width: 575.98px) {
  .hero-slider-first {
    padding-top: 96px !important;
    padding-bottom: 56px !important;
  }
  .hero-carousel-main .carousel-inner {
    border-radius: 22px !important;
  }
  .hero-intro-card {
    margin-top: 26px;
    padding: 22px;
    border-radius: 24px;
  }
  .hero-slider-first h1 {
    font-size: clamp(2rem, 10vw, 2.65rem) !important;
  }
  .hero-actions-inline {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions-inline .btn,
  .hero-actions-inline .wa-contact-card {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-control-card {
    padding: 22px;
    border-radius: 22px;
  }
  .whatsapp-float {
    right: 16px !important;
    bottom: 16px !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
  }
}
