@import url('./resilience.css');

:root { --sgp-ink: #0d1b2a; --sgp-muted: #506477; --sgp-accent: #40e0d0; --sgp-commercial: #087b4b; --sgp-line: #d6e1e8; }
/* ============================================================
   SGP INDUSTRIAL ULTRA PRO
   Paleta: Azul petróleo #0d1b2a, verde #0ea315, blanco #ffffff
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a151e;
  color: #f5f5f5;
}

/* Utilidades básicas */
.section {
  padding: 90px 0;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-intro {
  color: #0e1b2a;
  width: 100%;
  max-width: auto;
}

/* ============================================================
   HEADER ULTRA PRO
   ============================================================ */

.sgp-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  padding: 16px 0;
  background: #0d1b2a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(64, 224, 208, 0.15);
}

.sgp-header.shrink {
  padding: 8px 0;
  background: #0d1b2a;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.sgp-container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ============================================================
   LOGO - Imagen al lado de SGP (horizontal)
   ============================================================ */

.sgp-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.sgp-logo:hover {
  opacity: 0.9;
}

.sgp-logo-img {
  width: 100%;
  height: 26px;
  margin: 6px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

/* ============================================================
   NAVEGACIÓN DESKTOP
   ============================================================ */

.sgp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.sgp-nav a {
  color: #cbd7e5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.sgp-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.5), transparent);
  transition: width 0.3s ease;
}

.sgp-nav a:hover {
  color: #ffffff;
}

.sgp-nav a:hover::after {
  width: 100%;
}

.sgp-nav .dropdown-list-custom {
  background: #0d1b2a !important;
}

/* ============================================================
   DROPDOWN DESKTOP
   ============================================================ */

.dropdown-menu-custom {
  position: relative;
  display: inline-block;
}

.dropdown-toggle-custom {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd7e5;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.dropdown-toggle-custom .dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: #9fb1c4;
}

.dropdown-toggle-custom:hover {
  color: #ffffff;
}

.dropdown-toggle-custom:hover .dropdown-icon {
  transform: rotate(180deg);
  color: #ffffff;
}

.dropdown-list-custom {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  padding: 10px 0;
  margin: 0;
  background: #0d1b2a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  min-width: 200px;
  display: none;
  z-index: 9999;
  border: 1px solid rgba(64, 224, 208, 0.2);
}

.dropdown-list-custom li a {
  display: block;
  padding: 10px 20px;
  color: #cbd7e5;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.dropdown-list-custom li a:hover {
  background: rgba(64, 224, 208, 0.1);
  color: #ffffff;
  padding-left: 24px;
}

/* Mostrar dropdown en desktop (hover) */
@media (min-width: 992px) {
  .dropdown-menu-custom:hover .dropdown-list-custom {
    display: block;
  }
}

/* ============================================================
   BOTÓN MÓVIL - SOLO VISIBLE EN PANTALLAS PEQUEÑAS
   ============================================================ */

.sgp-mobile-btn {
  display: none;
  /* Oculto por defecto en desktop */
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.sgp-mobile-btn:hover {
  opacity: 0.8;
}

/* ============================================================
   MENÚ MÓVIL
   ============================================================ */

.sgp-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #0d1b2a;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 9998;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
}

.sgp-mobile-menu.show {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(64, 224, 208, 0.2);
}

.mobile-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.mobile-close-btn {
  background: transparent;
  border: none;
  color: #9fb1c4;
  font-size: 1.3rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-close-btn:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.mobile-menu-links {
  flex: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-links a {
  color: #cbd7e5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.mobile-menu-links a:hover {
  color: #ffffff;
  padding-left: 8px;
}

/* Dropdown móvil */
.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown .dropdown-toggle-custom {
  padding: 10px 0;
  color: #cbd7e5;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 1rem;
}

.mobile-dropdown .dropdown-toggle-custom:hover {
  color: #ffffff;
}

.mobile-dropdown .dropdown-list-custom {
  position: static;
  background: transparent;
  box-shadow: none;
  padding-left: 20px;
  margin-top: 0;
  border: none;
  display: none;
}

.mobile-dropdown .dropdown-list-custom.show {
  display: block;
}

.mobile-dropdown .dropdown-list-custom li a {
  padding: 8px 0;
  color: #9fb1c4;
  font-size: 0.9rem;
  border-bottom: none;
}

.mobile-dropdown .dropdown-list-custom li a:hover {
  background: transparent;
  color: #ffffff;
  padding-left: 8px;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid rgba(64, 224, 208, 0.2);
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-contact a {
  color: #9fb1c4;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 6px 0;
  transition: color 0.3s ease;
  display: block;
}

.mobile-contact a:hover {
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE - En móvil se muestra el botón y se oculta nav
   ============================================================ */

@media (max-width: 992px) {
  .sgp-nav {
    display: none;
  }

  .sgp-mobile-btn {
    display: flex;
    /* Se muestra solo en móvil */
  }

  .sgp-container {
    width: 90%;
  }
}

@media (max-width: 576px) {
  .sgp-header {
    padding: 10px 0;
  }

  .sgp-logo-img {
    width: 100%;
    height: 20px;
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero-section {
  position: relative;
  margin-top: 0px;
}

.hero-carousel {
  height: calc(100vh - 0px);
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay industrial */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(13, 27, 42, 0.8),
      rgba(13, 27, 42, 0.4),
      rgba(0, 0, 0, 0.6));
}

/* Contenido */

.hero-content {
  position: absolute;
  inset: 0;
  max-width: 780px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 16px;
  color: #cbd7e5;
  max-width: 540px;
}

/* Botones hero */

.hero-buttons {
  display: none;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.btn-hero-primary,
.btn-hero-secondary {
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary {
  background: #258BB7;
  color: #ffffff;
}

.btn-hero-primary:hover {
  background: #0283DA;
  color: #ffffff;
  transform: translateY(-2px)
}

.btn-hero-secondary {
  background: #25d366;
  color: #0d1b2a;
}

.btn-hero-secondary:hover {
  background: #20c95e;
  color: #0d1b2a;
  transform: translateY(-2px)
}

/* KPIs */

.hero-kpi-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 14px;
  justify-content: center;
}

.hero-kpi {
  background: rgba(7, 16, 26, 0.85);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 150px;
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-kpi span {
  display: block;
  font-weight: 700;
  color: #40e0d0;
  font-size: 14px;
}

.hero-kpi small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* Efecto de brillo en Hero */
.hero-kpi::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.5), transparent);
  transition: left 0.6s ease;
}

.hero-kpi:hover::before {
  left: 100%;
}

.hero-kpi:hover {
  transform: translateY(-8px);
  border-color: rgba(64, 224, 208, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* KPIs en 2 columnas para mobile */
@media (max-width: 320px) {
  .hero-kpi-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    gap: 12px 14px;
    /* Filas / columnas */
    width: 100%;
    padding: 0 10px;
  }

  .hero-kpi {
    min-width: unset !important;
    width: 100%;
    text-align: center;
    padding: 12px 10px;
  }

  .hero-kpi span {
    font-size: 15px;
  }

  .hero-kpi small {
    font-size: 11px;
  }
}


/* Scroll down */

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  text-decoration: none;
  color: #cbd7e5;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-scroll span {
  width: 18px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #cbd7e5;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd7e5;
  transform: translateX(-50%);
  animation: scrollDot 1.4s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* Hero responsive */

@media (max-width: 768px) {
  .hero-carousel {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
  }
}

/* ============================================================
   ABOUT / QUIÉNES SOMOS - VERSIÓN MEJORADA
   ============================================================ */

.about-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decoración de fondo */
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(30, 77, 120, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Contenedor de imagen */
.about-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 77, 120, 0.2), transparent);
  z-index: 1;
}

.about-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.02);
}

/* Badge de años */
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 43, 62, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 50px;
  z-index: 2;
  border-left: 3px solid #1e4d78;
}

.badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(30, 77, 120, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #40e0d0;
  font-size: 1.2rem;
}

.badge-content span {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  color: white;
  line-height: 1.2;
}

.badge-content small {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contenido de la columna derecha */
.about-content {
  position: relative;
}

.about-badge-header {
  display: inline-block;
  background: rgba(30, 77, 120, 0.1);
  color: #1e4d78;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.about-section .section-title {
  color: #0d1b2a;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-section .section-title .highlight {
  color: #1e4d78;
  position: relative;
}

.about-section .section-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 4px;
  z-index: -1;
}

.about-section .section-intro {
  color: #4a5b6e;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Grid de tarjetas */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.about-card {
  background: white;
  border-radius: 20px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 77, 120, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 77, 120, 0.2);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 77, 120, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.about-card-icon i {
  font-size: 1.5rem;
  color: #1e4d78;
}

.about-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.85rem;
  color: #5a6e7e;
  line-height: 1.5;
  margin: 0;
}

/* Botón CTA */
.about-cta {
  margin-top: 10px;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1e4d78, #0e3a5c);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-about:hover {
  transform: translateX(5px);
  background: linear-gradient(135deg, #0e3a5c, #1e4d78);
  color: white;
}

/* ============================================================
   SERVICIOS - VERSIÓN MEJORADA
   ============================================================ */

.services-section {
  background: linear-gradient(135deg, #0a1a2a 0%, #0f2a3a 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decoración de olas */
.services-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: repeating-linear-gradient(transparent,
      transparent 49px,
      rgba(64, 224, 208, 0.03) 49px,
      rgba(64, 224, 208, 0.05) 51px);
  pointer-events: none;
}

.services-badge {
  display: inline-block;
  background: rgba(64, 224, 208, 0.15);
  color: #40e0d0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.services-section .section-title {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.services-section .section-title .highlight {
  color: #40e0d0;
  position: relative;
}

.services-section .section-intro {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Tarjetas de servicios */
.service-card {
  background: rgba(13, 24, 34, 0.8);
  backdrop-filter: blur(2px);
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(64, 224, 208, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Icono de servicio */
.service-icon-wrapper {
  margin-bottom: 20px;
}

.service-icon-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.15), rgba(30, 77, 120, 0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-circle {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(64, 224, 208, 0.25), rgba(30, 77, 120, 0.25));
}

.service-icon-circle i {
  font-size: 1.8rem;
  color: #40e0d0;
}

/* Títulos y descripción */
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Tags de características */
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(64, 224, 208, 0.1);
  border: 1px solid rgba(64, 224, 208, 0.2);
  border-radius: 50px;
  color: #40e0d0;
  font-weight: 500;
}

/* Lista de servicios */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.service-list li i {
  color: #40e0d0;
  font-size: 0.7rem;
}

/* Imagen del servicio */
.service-image-wrap {
  position: relative;
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  height: 140px;
  cursor: pointer;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.service-image-wrap:hover .image-overlay {
  opacity: 1;
}

.image-overlay i {
  color: white;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.service-image-wrap:hover .image-overlay i {
  transform: scale(1.1);
}

/* Botones */
.service-button {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn-service-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #258BB7, #1e4d78);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.3);
  letter-spacing: 0.5px;
}

.btn-service-primary i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-service-primary:hover {
  background: linear-gradient(135deg, #0283DA, #258BB7);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 139, 183, 0.3);
  border-color: rgba(64, 224, 208, 0.5);
}

.btn-service-primary:hover i {
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE - Quines somos y Servicios
   ============================================================ */

@media (max-height: 750px) {
  .about-badge-header {
    margin-bottom: 10px;
  }
  .about-card-icon {
    margin-bottom: 12px;
  }
  .section-title {
    margin-bottom: 0.25rem !important;
  }
  .section-intro {
    margin-bottom: 0.5rem !important;
  }
  .about-grid {
    margin-bottom: 0.5rem;
  }
  .about-cta {
    margin-top: 0px;
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section .section-title,
  .services-section .section-title {
    font-size: 1.8rem;
  }

  .service-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .about-image {
    height: 350px;
  }

  .about-badge {
    padding: 8px 16px;
  }

  .badge-icon {
    width: 32px;
    height: 32px;
  }

  .badge-content span {
    font-size: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-card {
    padding: 18px;
  }

  .services-section {
    padding: 60px 0;
  }

  .service-icon-circle {
    width: 50px;
    height: 50px;
  }

  .service-icon-circle i {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .feature-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
  }

  .btn-service-primary {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .service-button {
    gap: 15px;
  }
}

@media (max-width: 576px) {

  .about-section .section-title,
  .services-section .section-title {
    font-size: 1.5rem;
  }

  .about-image {
    height: 280px;
  }

  .about-badge {
    bottom: 12px;
    left: 12px;
    padding: 6px 12px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-list li {
    font-size: 0.75rem;
  }

  .service-button {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-service-primary {
    width: 90%;
    justify-content: center;
  }
}

/* ============================================================
   PRESENCIA NACIONAL
   ============================================================ */

.presence-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Decoración de olas en el fondo */
.presence-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: repeating-linear-gradient(transparent,
      transparent 49px,
      rgba(30, 77, 120, 0.03) 49px,
      rgba(30, 77, 120, 0.05) 51px);
  pointer-events: none;
}

/* Contenido de la columna izquierda */
.presence-content {
  position: relative;
  z-index: 2;
}

/* Badge decorativo */
.presence-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1e4d78, #0e3a5c);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(30, 77, 120, 0.2);
}

/* Títulos */
.presence-section .section-title {
  color: #0d1b2a;
  font-size: 2.2rem;
  margin-bottom: 20px;
  position: relative;
}

.presence-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1e4d78, #40e0d0);
  border-radius: 3px;
}

.presence-section .section-intro {
  color: #4a5b6e;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 20px;
}

/* Tags de ubicaciones */
.presence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 25px;
}

.presence-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e2a3a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(30, 77, 120, 0.15);
  transition: all 0.3s ease;
  cursor: default;
}

.presence-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 77, 120, 0.12);
  border-color: rgba(30, 77, 120, 0.3);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.presence-tag i {
  color: #1e4d78;
  font-size: 0.85rem;
}

/* Estadísticas */
.presence-stats {
  display: flex;
  gap: 30px;
  margin: 25px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(30, 77, 120, 0.1);
  border-bottom: 1px solid rgba(30, 77, 120, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e4d78;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.75rem;
  color: #6c7a8a;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Highlight de operaciones */
.presence-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #e8f0f5, #ffffff);
  padding: 18px 20px;
  border-radius: 16px;
  margin-top: 20px;
  border-left: 4px solid #1e4d78;
}

.presence-highlight i {
  font-size: 2rem;
  color: #1e4d78;
  opacity: 0.7;
}

.presence-highlight div {
  flex: 1;
}

.presence-highlight span {
  display: block;
  font-size: 0.8rem;
  color: #6c7a8a;
  margin-bottom: 4px;
}

.presence-highlight strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2a;
}

/* ============================================================
   MAPA VISUAL 
   ============================================================ */

/* Contenedor visual del video */
.presence-visual-final {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  /* Sin fondo adicional, deja pasar el color del apartado */
}

/* Wrapper del video - SIN aspect-ratio fijo */
.presence-map-wrapper-final {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Eliminamos aspect-ratio para que se adapte al contenido */
}

/* Video con object-fit: contain para mostrar TODO el contenido */
.presence-video-final {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* El video se ajustará manteniendo su proporción original */
}

/* Opcional: Si quieres que el video ocupe todo el ancho y altura automática */
.presence-video-final-auto {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: contain;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .presence-section {
    padding: 60px 0;
  }

  .presence-section .section-title {
    font-size: 1.8rem;
  }

  .presence-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .presence-tag {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .presence-stats {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }

  .presence-highlight {
    padding: 15px;
  }

  .presence-highlight i {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .presence-section .section-title {
    font-size: 1.5rem;
  }

  .presence-tags {
    gap: 8px;
  }

  .presence-tag {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}

/* Para PC (pantallas grandes) */
@media (min-width: 992px) {
  .presence-video-final {
    max-height: 850px;
    /* Altura máxima para que no se estire demasiado */
  }
}

/* Para tablet (pantallas medianas) */
@media (min-width: 768px) and (max-width: 991px) {
  .presence-video-final {
    max-height: 450px;
  }
}

/* Para móvil (pantallas pequeñas) */
@media (max-width: 767px) {
  .presence-video-final {
    max-height: 400px;
  }
}

/* Para móvil muy pequeño */
@media (max-width: 576px) {
  .presence-video-final {
    max-height: 350px;
  }
}

/* ============================================================
   CERTIFICACIONES
   ============================================================ */

.cert-section {
  background: linear-gradient(135deg, #0a1a2a 0%, #0f2a3a 100%);
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo decorativo */
.cert-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cert-section .section-title {
  color: #ffffff;
}

.cert-section .section-title .highlight {
  color: #40e0d0;
  position: relative;
}

.cert-section .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

/* Tarjetas de certificaciones */
.cert-card {
  background: rgba(13, 24, 34, 0.8);
  backdrop-filter: blur(2px);
  border-radius: 24px;
  padding: 32px 24px;
  height: 100%;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border: 1px solid rgba(64, 224, 208, 0.1);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo en hover */
.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(64, 224, 208, 0.5), transparent);
  transition: left 0.6s ease;
}

.cert-card:hover::before {
  left: 100%;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: rgba(64, 224, 208, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Icono contenedor */
.cert-card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4f8, #e6edf4);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-card-icon {
  transform: scale(1.05);
}

.cert-card-icon img {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.cert-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.cert-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Badge en la tarjeta */
.cert-card-footer {
  margin-top: 10px;
}

.cert-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #1e4d78, #0e3a5c);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* ============================================================
   CERTIFICACIONES - RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .cert-card {
    padding: 24px 20px;
  }

  .cert-card-icon {
    width: 80px;
    height: 80px;
  }

  .cert-card-icon img {
    max-width: 55px;
    max-height: 55px;
  }

  .cert-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .cert-card-icon {
    width: 70px;
    height: 70px;
  }

  .cert-card-icon img {
    max-width: 48px;
    max-height: 48px;
  }
}

@media (max-width: 576px) {
  .cert-card {
    padding: 20px 16px;
  }

  .cert-card h3 {
    font-size: 1.2rem;
  }

  .cert-card p {
    font-size: 0.8rem;
  }
}

/* ============================================================
   CLIENTES - PASARELA INFINITA
   ============================================================ */

.clients-section {
  background: linear-gradient(135deg, #0a1a2a 0%, #0f2a3a 100%);
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo decorativo */
.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(64, 224, 208, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.clients-section .section-title {
  color: #ffffff;
}

.clients-section .section-title .highlight {
  color: #40e0d0;
  position: relative;
}

.clients-section .section-intro {
  color: rgba(255, 255, 255, 0.8);
}

/* Wrapper con efecto de desvanecimiento */
.clients-slider-wrapper {
  position: relative;
  margin-top: 40px;
}

.clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 25px 0;
}

.clients-track {
  display: flex;
  width: calc(200%);
  animation: scrollClients 28s linear infinite;
  gap: 20px;
}

/* Pausar animación al hover */
.clients-slider:hover .clients-track {
  animation-play-state: paused;
}

/* Items de clientes */
.client-item {
  flex: 0 0 auto;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo adaptado para fondo oscuro */
.client-logo {
  background: #F0F0F0;
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 20px 15px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(64, 224, 208, 0.15);
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: #40e0d0;
  background: #FFFFFF;
}

.client-logo img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.05);
}

/* Efectos de desvanecimiento en los bordes */
.slider-fade-left,
.slider-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.slider-fade-left {
  left: 0;
  background: linear-gradient(to right, #0a1a2a, transparent);
}

.slider-fade-right {
  right: 0;
  background: linear-gradient(to left, #0a1a2a, transparent);
}

/* Animación de scroll */
@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   CLIENTES - RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .client-item {
    width: 145px;
  }
  
  .client-logo {
    padding: 18px 14px;
  }
  
  .client-logo img {
    height: 62px;
  }
  
  .clients-track {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .client-item {
    width: 130px;
  }

  .client-logo {
    padding: 15px 12px;
  }

  .client-logo img {
    height: 55px;
  }

  .clients-track {
    animation-duration: 20s;
    gap: 12px;
  }

  .slider-fade-left,
  .slider-fade-right {
    width: 40px;
  }
}

@media (max-width: 576px) {
  .client-item {
    width: 110px;
  }

  .client-logo {
    padding: 12px 10px;
  }
  
  .client-logo img {
    height: 45px;
  }

  .clients-track {
    animation-duration: 16s;
    gap: 10px;
  }

  .slider-fade-left,
  .slider-fade-right {
    width: 30px;
  }
}

@media (max-width: 400px) {
  .client-item {
    width: 95px;
  }

  .client-logo {
    padding: 10px 8px;
  }
  
  .client-logo img {
    height: 38px;
  }

  .clients-track {
    animation-duration: 14s;
    gap: 8px;
  }
}

/* ============================================================
   CTA FINAL - VERSIÓN MEJORADA
   ============================================================ */

.cta-final {
  background: linear-gradient(135deg, #0d1b2a 0%, #07111a 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(64, 224, 208, 0.1);
  border-bottom: 1px solid rgba(64, 224, 208, 0.1);
}

/* Decoración de fondo */
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-final::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 139, 183, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Badge decorativo */
.cta-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.cta-badge span {
  display: inline-block;
  background: rgba(64, 224, 208, 0.15);
  color: #40e0d0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

/* Título */
.cta-final h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-final h2 .highlight {
  color: #40e0d0;
  position: relative;
  display: inline-block;
}

/* Descripción */
.cta-final p {
  font-size: 1rem;
  color: #cbd7e5;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Botones */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #258BB7, #1e4d78);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 224, 208, 0.3);
  letter-spacing: 0.5px;
}

.btn-cta-primary i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #0283DA, #258BB7);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 139, 183, 0.3);
  border-color: rgba(64, 224, 208, 0.5);
}

.btn-cta-primary:hover i {
  transform: translateX(3px);
}

/* Footer del CTA */
.cta-footer {
  margin-top: 20px;
}

.cta-small {
  font-size: 0.75rem !important;
  color: #9fb1c4 !important;
  margin-bottom: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-small::before {
  content: '✓';
  color: #40e0d0;
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE CTA FINAL
   ============================================================ */

@media (max-width: 768px) {
  .cta-final {
    padding: 50px 0;
  }

  .cta-final h2 {
    font-size: 1.6rem;
  }

  .cta-final p {
    font-size: 0.9rem;
    padding: 0 20px;
  }

  .btn-cta-primary {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .cta-buttons {
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .cta-final {
    padding: 40px 0;
  }

  .cta-final h2 {
    font-size: 1.4rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-cta-primary {
    width: 90%;
    justify-content: center;
  }
}

/* ============================================================
   FOOTER CORPORATIVO SGP
   ============================================================ */

.footer-back {
  background: #0d1b2a;
  padding: 40px 0 0;
  color: #dde4ee;
  font-family: inherit;
}

/* Logo encima de todo */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-icon {
  font-size: 24px;
  color: #90b8d8;
}

.footer-brand-name {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
}

.footer-line-logo {
  margin: 14px 0 20px !important;
}

/* Fila de bloques */
.footer-main {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0;
}

.footer-divider-v {
  width: 1px;
  background: rgba(204, 214, 226, 0.18);
  align-self: stretch;
  margin: 0 24px;
  flex-shrink: 0;
}

.footer-block {
  flex: 1;
  min-width: 130px;
}

.footer-block-recl {
  flex: 0 0 auto;
  min-width: 170px;
  max-width: 210px;
}

/* Encabezados */
.footer-back h6 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-h6-icon {
  font-size: 13px;
  color: #90b8d8;
}

/* Párrafos */
.footer-back p {
  font-size: 13px;
  color: #9fb1c4;
  line-height: 1.6;
  margin: 0;
}

/* Listas genéricas */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #9fb1c4;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-list a {
  color: #9fb1c4;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: #ffffff;
}

/* Lista de contacto con iconos FA alineados */
.footer-list-contact {
  margin-bottom: 12px;
}

.footer-list-contact li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.footer-contact-icon {
  font-size: 12px;
  color: #90b8d8;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Redes sociales */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.social-wa {
  background: #25d366;
  color: #fff;
}

.social-wa:hover {
  background: #1ebe5a;
}

.social-fb {
  background: #1877f2;
  color: #fff;
}

.social-fb:hover {
  background: #0f65d4;
}

.social-ig {
  background: radial-gradient(circle at 30% 107%,
      #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #fff;
}

.social-ig:hover {
  opacity: 0.85;
}

.social-li {
  background: #0a66c2;
  color: #fff;
}

.social-li:hover {
  background: #084e9a;
}

/* Canal de Ética */
.footer-recl-link {
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-recl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.footer-recl-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  transition: color 0.2s;
}

.footer-recl-link:hover .footer-recl-title {
  color: #90b8d8;
}

.footer-recl-icon {
  font-size: 20px;
  color: #9fb1c4;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-recl-ruc {
  font-size: 11.5px;
  color: #9fb1c4;
  line-height: 1.55;
}

/* Líneas */
.footer-line {
  border: none;
  border-top: 1px solid rgba(204, 214, 226, 0.18);
  margin: 24px 0 16px;
}

/* Aviso legal */
.footer-legal {
  font-size: 12px;
  color: #7a90a4;
  line-height: 1.65;
  margin: 0;
}

/* Pie */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 600;
  color: #dde4ee;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 24px;
  }

  .footer-divider-v {
    display: none;
  }

  .footer-block,
  .footer-block-recl {
    max-width: 100%;
    min-width: 0;
    flex: unset;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   MODAL PARA AMPLIAR IMÁGENES
   ============================================================ */

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10000;
  cursor: pointer;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.image-modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.image-modal-close:hover {
  color: #40e0d0;
  background: rgba(64, 224, 208, 0.2);
  transform: rotate(180deg);
}

.image-modal-img {
  max-width: 100%;
  max-height: 85%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.image-modal-caption {
  margin-top: 20px;
  color: #cbd7e5;
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Responsive modal */
@media (max-width: 768px) {
  .image-modal-content {
    width: 95%;
    height: 85%;
    padding: 15px;
  }

  .image-modal-close {
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
  }

  .image-modal-caption {
    font-size: 0.75rem;
    margin-top: 15px;
  }
}

/* ============================================================
   RESPONSIVE GENERAL
   ============================================================ */

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

/* MVP: consistent controls and readable forms, preserving Lara's identity. */
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 88px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10010; padding: 12px 20px; background: white; color: var(--sgp-ink); }
.skip-link:focus { top: 12px; }
.sgp-header { box-shadow: 0 1px 0 #ffffff1f; }
.sgp-logo-img { width: auto; max-width: 160px; }
.nav-disclosure summary { list-style: none; }
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure .dropdown-list-custom { display: none !important; }
.nav-disclosure[open] .dropdown-list-custom { display: block !important; }
.sgp-mobile-menu { max-width: 100%; height: 100dvh; overflow-y: auto; }
.sgp-mobile-menu.show { right: 0; }
.mobile-menu-links .dropdown-list-custom { padding-left: 0; }
.mobile-close-btn, .sgp-mobile-btn { min-width: 44px; min-height: 44px; }
.hero-carousel { height: max(740px, 92svh); max-height: 1000px; }
.hero-content { max-width: 950px; padding-top: 80px; padding-bottom: 80px; }
.hero-content h1 { font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 750; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.hero-content p { font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.65; max-width: 620px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; }
.btn-hero-primary, .btn-hero-secondary, .btn-about, .btn-cta-primary, .btn-commercial { border-radius: 6px; min-height: 48px; font-weight: 650; }
.btn-hero-primary { background: #fff; color: var(--sgp-ink); }
.btn-hero-secondary { background: var(--sgp-commercial); border-color: #42c895; color: white; }
.hero-kpi { background: #0d1b2ac9; border-radius: 6px; box-shadow: none; }
.section-title, #contacto h2 { line-height: 1.15; letter-spacing: -.02em; }
.service-card { border-radius: 12px; box-shadow: none; }
.service-image-wrap button.image-overlay { width: 100%; border: 0; cursor: zoom-in; border-radius: inherit; }
.service-image-wrap button:focus-visible { opacity: 1; }
.service-image-wrap img { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.image-modal { border: 0; margin: auto; padding: 0; max-width: 100vw; max-height: 100dvh; color: white; }
.image-modal[open] { display: flex; }
.image-modal::backdrop { background: #0d1b2aeb; }
.image-modal-close { border: 1px solid #ffffff50; font-size: 1.5rem; }
.image-modal-content { min-height: 80dvh; }
.contact-form { display: grid; gap: 16px; color: var(--sgp-ink); }
.contact-form-intro { color: var(--sgp-muted); font-size: .9375rem; line-height: 1.6; margin: 0 0 4px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.contact-form label { position: static; transform: none; color: var(--sgp-ink); background: none; padding: 0; font-size: .875rem; font-weight: 650; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-width: 0; padding: 12px; font: inherit; font-size: 1rem; line-height: 1.5; color: var(--sgp-ink); background: #f8fafb; border: 1px solid #9aadb9; border-radius: 5px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: #087b70; outline: 2px solid #087b7033; }
.contact-form-note { font-size: .8125rem; color: var(--sgp-muted); margin: 0; text-align: center; }
.form-error { margin: 0; color: #a11e1e; }
.form-error:empty { display: none; }
.btn-commercial { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; background: var(--sgp-commercial); color: white; text-align: center; text-decoration: none; line-height: 1.4; }
.btn-commercial:hover { background: #05643c; color: white; }
#contacto a:not(.btn-commercial) { overflow-wrap: anywhere; }
@media (max-width: 575px) {
  .hero-carousel { height: auto; min-height: 860px; }
  .hero-content { padding: 110px 20px 90px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-buttons { gap: 10px; width: 100%; }
  .hero-buttons a { width: 100%; }
  .hero-kpi-row { gap: 10px; margin-top: 20px; }
  .hero-kpi { padding: 14px 8px; }
  .hero-kpi span { font-size: 1.1rem; }
  .hero-kpi small { font-size: .75rem; }
  .hero-scroll { display: none; }
  .section { padding: 64px 0; }
  .card-flotante { right: 12px; bottom: 12px; }
  .card-flotante .facebook, .card-flotante .instagram { display: none; }
  .card-flotante ul { padding: 8px; }
}
.hero-carousel > .carousel-inner { position: absolute; inset: 0; height: 100%; background: #0d1b2a url('../img/produccion.webp') center / cover no-repeat; }
.hero-image { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .hero-image { display: none; } }
