:root {
  --primary: #1c4e85; /* azul 80% */
  --accent: #f28705; /* naranja 20% */
  --secondary: #123a67;
  --sky: #e9eff6;
  --ink: #1f1f1f;
}

body {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background-color: #ffffff;
  padding-top: 80px; /* Espacio para el navbar fijo */
}

.btn {
  transition: background-color 0.35s ease, color 0.35s ease,
    transform 0.25s ease, box-shadow 0.25s ease, border-color 0.35s ease;
  font-weight: 600;
  border-radius: 40px;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-secondary {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.nav-link.active {
  color: var(--primary) !important;
  padding: 10px 14px !important;
  min-width: auto !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.nav-link.active::after {
  background: var(--primary) !important;
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

/* Dropdown toggle activo - mismo comportamiento */
.dropdown-toggle.active {
  color: var(--primary) !important;
  padding: 10px 14px !important;
  min-width: auto !important;
  width: auto !important;
  box-sizing: border-box !important;
}

.dropdown-toggle.active::after {
  background: var(--primary) !important;
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

.text-primary-custom {
  color: var(--primary);
}

.text-secondary-custom {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}
.navbar-smart {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(0);
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

.navbar-smart.navbar-visible {
  transform: translateY(0);
}

.navbar-scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-smart.navbar-orange {
  background: rgba(242, 135, 5, 0.95);
}

.navbar-smart.navbar-orange.navbar-scrolled {
  background: rgba(242, 135, 5, 0.98);
}

.navbar-smart.navbar-orange .navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-smart.navbar-orange .navbar-nav .nav-link:hover,
.navbar-smart.navbar-orange .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-smart.navbar-orange .navbar-nav .nav-link.active {
  color: #fff !important;
  font-weight: 700;
}

.navbar-smart.navbar-orange .navbar-nav .nav-link::after {
  background: #fff !important;
}

.navbar-brand {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.navbar-nav .nav-link {
  color: #123a67 !important;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
  display: inline-block;
  min-width: auto;
  width: auto;
  box-sizing: border-box;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  border-radius: 6px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--secondary) !important;
  background: transparent !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Dropdown — sombras más profesionales */
.dropdown-menu {
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.25s ease;
  margin-top: 0;
}

/* Mostrar dropdown SOLO pasando el mouse */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Evitar que el dropdown se mueva */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  right: auto;
  min-width: 220px;
}

/* Animación suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-call {
  background: var(--accent);
  color: white;
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-call:hover {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
}

.btn-chat {
  background: #1c4e85;
  color: white;
  border-radius: 50px;
  padding: 8px 22px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-chat:hover {
  background: #ff6c11;
  color: white;
  transform: translateX(4px);
}

/* ===== DROPDOWN ITEMS – estilo minimalista ===== */

.dropdown-item {
  padding: 10px 18px;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: all 0.25s ease;
}

/* Guion oculto por defecto */
.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  opacity: 0;
  color: var(--primary);
  font-weight: 700;
  transition: all 0.25s ease;
}

/* Hover: solo el texto naranja + aparece el guion */
.dropdown-item:hover {
  color: var(--primary) !important;
  background-color: transparent !important; /* no pintar fondo */
  transform: translateX(6px);
}

/* Guion visible cuando hay hover */
.dropdown-item:hover::before {
  content: "-";
  opacity: 1;
  left: -10px;
}

/* ===== MENU DROPDOWN ===== */

/* Ocultar dropdown por defecto */
.nav-item .dropdown-menu {
  display: none;
  border: none;
  box-shadow: none;
  margin-top: 0;
}

/* Mostrar cuando el cursor está sobre el item padre */
.nav-item:hover .dropdown-menu {
  display: block;
}

/* Transición suave SOLO del color */
.dropdown-item {
  color: #000;
  transition: color 0.3s ease-in-out; /* 👈 hace la magia */
}

/* Cuando haces hover */
.dropdown-item:hover {
  color: var(--primary); /* tu naranja */
}

/* Si quieres el guion también suave */
.dropdown-item::before {
  content: "";
  opacity: 0;
  margin-right: 6px;
  transition: opacity 0.3s ease-in-out;
}

.dropdown-item:hover::before {
  content: "-";
  opacity: 1;
}

/* ------------------------------------------------------ */

/* ============================================
   BANNERS UNIFICADOS - SISTEMA DE DISEÑO
   ============================================ */

/* Contenedor wrapper del banner */
.hero-banner-wrapper {
  margin-top: 5px;
}

/* Banner principal - Altura fija unificada (reducida 30% + 25% adicional) */
.hero-banner {
  height: 263px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* Imagen o video de fondo */
.hero-banner img,
.hero-banner video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay unificado */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(48, 48, 48, 0.219),
    rgba(26, 26, 26, 0.4)
  );
  z-index: 1;
}

/* Contenedor de contenido */
.hero-banner .container {
  position: relative;
  z-index: 2;
  padding: 40px 15px;
}

/* ============================================
   TIPOGRAFÍA UNIFICADA PARA BANNERS
   ============================================ */

/* Badge superior (opcional) */
.hero-banner .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 78, 133, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Asegurar que el badge existente también funcione */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 78, 133, 0.08);
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Título principal - UNIFICADO */
.hero-banner h1,
.hero-banner .display-5,
.hero-banner .display-4,
.hero-banner h2.display-4 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

/* Subtítulo/Lead - UNIFICADO */
.hero-banner .lead,
.hero-banner p.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

/* Texto auxiliar pequeño */
.hero-banner p:not(.lead) {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
}

/* Texto destacado naranja */
.hero-banner .text-highlight {
  color: var(--accent);
}

/* Botones en banner - UNIFICADO */
.hero-banner .btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  min-height: 48px;
  border-radius: 40px;
}

.hero-banner .btn-lg {
  font-size: 1rem;
  padding: 12px 24px;
  min-height: 48px;
}

/* =====================================================
   FIX DEFINITIVO BOTONES FAQ (NO AFECTA OTROS BOTONES)
   ===================================================== */

.botones-faq-fix .btn {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 999px;
  white-space: normal !important; /* 👈 rompe el bloqueo */
  text-align: center;
}

/* Texto puede envolver sin deformar el botón */
.botones-faq-fix .btn-text {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

/* Icono estable */
.botones-faq-fix .material-icons {
  font-size: 20px;
  flex-shrink: 0;
}

/* MOBILE REAL */
@media (max-width: 576px) {
  .botones-faq-fix .btn {
    max-width: 100% !important;
    margin: 0 auto;
  }
}


/* ============================================
   RESPONSIVE - BANNERS
   ============================================ */

@media (max-width: 991px) {
  .hero-banner {
    height: 210px;
  }

  .hero-banner h1,
  .hero-banner .display-5,
  .hero-banner .display-4,
  .hero-banner h2.display-4 {
    font-size: 2rem;
  }

  .hero-banner .lead,
  .hero-banner p.lead {
    font-size: 1rem;
  }

  .hero-banner .container {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 184px;
    border-radius: 12px;
  }

  .hero-banner h1,
  .hero-banner .display-5,
  .hero-banner .display-4,
  .hero-banner h2.display-4 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .hero-banner .lead,
  .hero-banner p.lead {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .hero-banner .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
    min-height: 44px;
  }

  .hero-banner .container {
    padding: 25px 15px;
  }

  .hero-banner .section-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}

@media (max-width: 576px) {
  .hero-banner {
    height: 158px;
  }

  .hero-banner h1,
  .hero-banner .display-5,
  .hero-banner .display-4,
  .hero-banner h2.display-4 {
    font-size: 1.5rem;
  }

  .hero-banner .lead,
  .hero-banner p.lead {
    font-size: 0.9rem;
  }
}

/* Responsive para botones en service-card */
@media (max-width: 768px) {
  .service-card .btn {
    width: 100%;
    max-width: 100%;
    padding: 10px 16px;
  }
  
  .btn-naranja-azul {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .service-card .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .service-card {
    padding: 20px 16px;
  }
}

/* Botones CTA centrados y juntos */
.botones-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.botones-cta .btn {
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .botones-cta {
    flex-direction: column;
    gap: 10px;
  }
  
  .botones-cta .btn {
    width: 100%;
    max-width: 280px;
  }
}

.text-highlight {
  color: var(--accent);
}

/* Patrón de texto para banners: 1er renglón blanco, 2do naranja, 3er blanco */
.hero-banner h1 > span:nth-child(1),
.hero-banner h1 > span:first-child {
  color: #fff;
}

.hero-banner h1 > span.text-highlight,
.hero-banner h1 > span:nth-child(2) {
  color: var(--accent);
}

.hero-banner h1 > span:nth-child(3),
.hero-banner h1 > span:last-child:not(.text-highlight) {
  color: #fff;
}

.banner-badge {
  background: rgba(0, 0, 0, 0.55);
  display: inline-block;
  padding: 16px 22px;
  border-radius: 14px;
  position: absolute;
  bottom: 18px;
  right: 18px;
}

/* BENEFICIOS */
.benefit-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* SERVICES */
.service-card2 {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.service-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* El video ocupa todo el fondo del section */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(48, 48, 48, 0.219),
    rgba(26, 26, 26, 0.4)
  );
}

/* Contenido encima del overlay */
.hero-banner {
  min-height: 450px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

/* Badge de 5000+ */
.banner-badge {
  background: rgba(0, 0, 0, 0.55);
  display: inline-block;
  padding: 16px 22px;
  border-radius: 14px;
}

/* Badge en esquina inferior derecha del hero */
.banner-badge-bottom-right {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.55);
  padding: 16px 22px;
  border-radius: 14px;
  text-align: right;
  z-index: 10;
  min-width: 120px;
  pointer-events: none;
}

/* Asegurar que el contador no interfiera con botones */
.hero-banner .container {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-banner .container .row {
  width: 100%;
}

/* Asegurar que botones mantengan proporción */
.btn-lg {
  font-size: 1rem;
  padding: 12px 24px;
  min-height: 48px;
}

.btn {
  font-size: 0.95rem;
  padding: 10px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Evitar deformación de botones en responsive */
@media (max-width: 576px) {
  .btn {
    width: 100%;
    max-width: 300px;
  }

  .d-flex.flex-column.flex-sm-row .btn {
    width: 100%;
    max-width: 100%;
  }
}

/* Indicadores de carrusel en esquina inferior derecha */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: auto;
  margin: 0;
  justify-content: flex-end;
  z-index: 15;
}

@media (max-width: 768px) {
  .banner-badge-bottom-right {
    bottom: 15px;
    right: 15px;
    padding: 10px 16px;
    font-size: 0.85rem;
    min-width: 100px;
  }
  
  .banner-badge-bottom-right .fs-3 {
    font-size: 1.3rem !important;
  }

  .carousel-indicators {
    bottom: 15px;
    right: 15px;
  }
}

/* Contenedor externo para limitar el ancho */
.hero-banner-wrapper {
  max-width: 1320px; /* Igual al container-xl de Bootstrap */
  margin: 0 auto; /* Centrar */
  padding: 0 15px; /* Mismos márgenes laterales que Bootstrap */
}
/* ------------------------------------------------------ */

.benefit-card {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  height: 100%; /* Hace que todas las tarjetas midan lo mismo */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

/* Para que el texto no empuje botones de forma desigual */
.benefit-card p {
  flex-grow: 1;
}

/* Iconos uniformes */
.benefit-card .material-icons {
  font-size: 32px;
  margin-bottom: 12px;
}

/* ------------------------------------------------------ */

/* número redondo */
.why-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

/* el item completo */
.why-item {
  align-items: flex-start;
}

/* línea divisoria suave */
.why-divider {
  margin: 0.75rem 0 1rem;
  border-color: #adadad;
}

.why-section {
  overflow-x: hidden;
}

html,
body {
  overflow-x: hidden;
}

/* ------------------------------------------------------ */
/* Sección de servicios */

/* Tarjetas de servicio */
.service-card {
  background-color: #fff;
  border-radius: 22px;
  padding: 24px 24px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Carrusel de servicios */
.services-carousel {
  position: relative;
}

.services-carousel-shell {
  background: #fff;
  border-radius: 32px;
  padding: 40px 30px;
  box-shadow: 0 15px 45px rgba(16, 42, 98, 0.08);
}

.services-carousel .carousel-inner {
  position: relative;
}

.services-carousel .carousel-item {
  padding: 1rem 0;
}

.service-card-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1280px;
}

.service-card-media {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  min-height: 200px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  flex: 1 1 auto;
  min-height: 120px;
}

.service-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.services-carousel .service-card {
  text-align: center;
  box-shadow: 0 18px 32px rgba(20, 28, 56, 0.08);
  padding: 20px;
}

.services-carousel .service-card-actions {
  display: flex;
  justify-content: center;
}

.services-carousel .service-card .btn {
  width: auto;
  min-width: 180px;
  justify-content: center;
}

.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  top: 50%;
  transform: translateY(-50%);
}

.services-carousel .carousel-control-prev {
  left: -30px;
}

.services-carousel .carousel-control-next {
  right: -30px;
}

.services-carousel .carousel-control-prev-icon,
.services-carousel .carousel-control-next-icon {
  filter: invert(1);
}

.services-carousel .carousel-control-prev:hover,
.services-carousel .carousel-control-next:hover {
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 576px) {
  .services-carousel .carousel-control-prev,
  .services-carousel .carousel-control-next {
    width: 48px;
    height: 48px;
  }
  .services-carousel-shell {
    padding: 25px 15px;
  }
}

/* Círculo con icono */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #e3e3e3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--secondary);
}

.service-icon .material-icons {
  font-size: 26px;
}

/* Títulos de las tarjetas */
.service-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}

.btn-naranja-azul {
  background-color: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: background-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  margin: 0 auto;
}

.btn-naranja-azul:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-azul-naranja {
  background-color: var(--primary); /* azul inicial */
  color: #fff;
  transition: background-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-azul-naranja:hover {
  background-color: var(--accent); /* naranja */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Botón Conversa con nosotros en FAQ: azul inicial, naranja al seleccionar */
.btn-chat-faq {
  background-color: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 40px;
  transition: all 0.25s ease;
}

.btn-chat-faq:hover,
.btn-chat-faq:focus,
.btn-chat-faq.active {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-contactenos {
  background-color: #f28705;
  border-color: #f28705;
  color: #fff;
}

.btn-contactenos:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Botón outline-light en hero - azul por defecto, naranja al hover */
.hero-banner .btn-outline-light {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.hero-banner .btn-outline-light:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------------ */

/* Contenedor circular para la imagen-icono */
.service-icon-img {
  width: 100%;
  height: 200px;
  border-radius: 10%;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden; 
}

/* Imagen dentro del círculo */
.service-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cards de servicios con alturas uniformes */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.service-card .service-icon-img {
  flex-shrink: 0;
  margin: 0 auto;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-card .btn {
  margin-top: auto;
  align-self: center;
  width: auto;
  min-width: auto;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}


.circle-bg {
    background: #e9eff6;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; 
}

.circle-bg .material-icons {
    font-size: 35px;
    color: #003c71;
}

/* Dropdown caret */
.dropdown-caret {
  font-size: 18px;
  line-height: 1;
}

/* ===== NAVBAR ACCIONES ===== */
.btn-call,
.btn-chat {
  padding: 8px 16px;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.btn-call {
  background: var(--accent);
  color: #fff;
}

.btn-call:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.btn-chat {
  background: var(--secondary);
  color: #fff;
}

.btn-chat:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

/* ===== FOOTER ===== */
.footer-sky {
  background: var(--sky);
}

.footer-title {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.footer-links {
  margin: 0;
  padding: 0;
}

.footer-link {
  color: #2f3a4c;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 4px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
  color: var(--secondary);
  transform: translateX(3px);
  text-decoration: none;
}

.social-icons .social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.social-icons .social-icon:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== ANIMACIONES DE TEXTO ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.counter {
  font-variant-numeric: tabular-nums;
}

/* ===== COMPONENTES NUEVOS ===== */
/* Badge para secciones fuera de banners */
.section-badge:not(.hero-banner .section-badge) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(28, 78, 133, 0.08);
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.job-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.06);
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-chip {
  background: rgba(242, 135, 5, 0.12);
  color: var(--secondary);
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.team-card,
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  padding: 18px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
  font-style: italic;
  color: #4b5563;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  font-weight: 700;
}

.benefit-card.d-flex {
  text-align: left;
  align-items: flex-start;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  z-index: 1200;
  animation: pulse 1.6s infinite;
  text-decoration: none;
}

.floating-whatsapp:hover {
  color: #fff;
  background: #1ebe57;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Carrusel infinito de logos */
.logos-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logos-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  gap: 3rem;
}

.logo-item {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Navbar sin hamburguesa - siempre expandido */
.navbar-no-hamburger .navbar-toggler {
  display: none !important;
}

.navbar-no-hamburger .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}

@media (max-width: 991px) {
  .navbar-smart {
    background: #fff;
  }

  .navbar-nav .nav-link {
    padding: 10px 10px;
    min-width: auto !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .navbar-nav .nav-link.active {
    padding: 10px 10px !important;
    min-width: auto !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .dropdown-toggle.active {
    padding: 10px 10px !important;
    min-width: auto !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .d-flex.ms-lg-3.gap-3,
  .d-flex.ms-lg-3.gap-2 {
    width: 100%;
  }

  .logo-item {
    width: 120px;
    height: 60px;
  }

  /* Navbar sin hamburguesa en móvil también expandido */
  .navbar-no-hamburger .navbar-collapse {
    display: flex !important;
  }
}

/* =========================================
   BOTONES DOBLES EN TARJETAS DE SERVICIOS
   ========================================= */

.service-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr; /* mismos tamaños */
  gap: 10px;
  width: 100%;
}

/* Botones iguales */
.service-card-actions .btn {
  width: 100% !important;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
  justify-content: center;
}


@media (max-width: 576px) {
  .service-card-actions {
    row-gap: 12px; /* espacio vertical claro */
  }

  .service-card-actions .btn {
    margin: 0; /* evita colapsos visuales */
  }
}
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
