/* =========================================
   CORE & VARIABLES
   ========================================= */
:root {
  --azul: #1C2C8C;
  --azul-oscuro: #0f172a;
  --azul-vibrante: #2563eb;
  --azul-pastel: #e0f2fe;
  --verde: #1DB954;
  --verde-neon: #00ff9d;
  --amarillo: #F5C136;
  --blanco-humo: #f8fafc;
  --texto-oscuro: #1e293b;
  --texto-gris: #64748b;
  --radio-card: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  color: var(--texto-oscuro);
  background: var(--blanco-humo);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
  margin-bottom: 30px !important;
}

/* Títulos Globales */
.section-title-enhanced {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.title-accent {
  color: var(--verde);
  position: relative;
  display: inline-block;
}

/* Sección General */
.section {
  padding: 50px 0;
}

/* =========================================
   HEADER GLASS (Navegación)
   ========================================= */
.header-2025 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.header-2025.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header-container-2025 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Nav */
.logo-img {
  height: 80px;
  /* Aumentado para mejor visibilidad */
  transition: height 0.3s;
  background: #fff;
  padding: 5px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-2025.scrolled .logo-img {
  height: 65px;
}

/* Menú */
.nav-menu-2025 {
  display: flex;
  gap: 5px;
  background: rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.header-2025.scrolled .nav-menu-2025 {
  background: transparent;
  border: none;
  backdrop-filter: none;
}

.nav-link-2025 {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s;
}

.header-2025.scrolled .nav-link-2025 {
  color: var(--azul-oscuro);
}

.nav-link-2025:hover {
  background: var(--azul);
  color: #fff;
}

.header-actions-2025 {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-header-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  transition: 0.3s;
}

.header-2025.scrolled .btn-header-outline {
  color: var(--azul);
  border-color: var(--azul);
}

.btn-header-outline:hover {
  background: #fff;
  color: var(--azul);
}

.header-2025.scrolled .btn-header-outline:hover {
  background: var(--azul);
  color: #fff;
}

.btn-header-primary {
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.3);
  transition: 0.3s;
}

.btn-header-primary:hover {
  background: var(--verde-neon);
  color: var(--azul-oscuro);
  transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle-2025 {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  z-index: 1100;
}

.header-2025.scrolled .mobile-toggle-2025 {
  background: var(--azul);
}

.mobile-toggle-2025 span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.mobile-toggle-2025.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle-2025.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-2025.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* =========================================
   HERO 2025
   ========================================= */
.hero-2025 {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 0 !important;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-2025 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.hero-overlay-2025 {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero-content-2025 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 30px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.hero-trust-badge .stars {
  color: #F5C136;
  font-size: 14px;
}

.hero-trust-badge span:last-child {
  color: var(--azul);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title-2025 {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-pre {
  display: block;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--verde-neon);
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

/* FIX TÍTULO MASIVO */
.brand-massive {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 12vw, 140px);
  line-height: 0.9;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-style: italic;
  display: inline-block;
  padding-right: 30px;
  /* Espacio extra para la cursiva */
  margin-right: 0;
}

.brand-accent {
  background: linear-gradient(180deg, #00F0FF 0%, #0066FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.6));
  position: relative;
  z-index: 1;
  margin-left: 5px;
  padding-right: 40px;
  /* Aumentado significativamente para evitar corte */
  margin-right: -20px;
  /* Compensar visualmente el espacio extra */
  display: inline-block;
}

.hero-text-2025 {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 45px;
  font-weight: 400;
}

.text-highlight {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid var(--verde);
}

.hero-actions-2025 {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary-2025 {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--verde);
  color: #fff;
  padding: 12px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.btn-primary-2025:hover {
  transform: translateY(-5px) scale(1.02);
  background: var(--verde-neon);
  color: var(--azul-oscuro);
  box-shadow: 0 20px 50px rgba(0, 255, 157, 0.4);
}

.btn-primary-2025 .btn-label {
  display: block;
  line-height: 1;
}

.btn-primary-2025 .btn-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 3px;
}

.btn-secondary-2025 {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.btn-secondary-2025:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-5px);
}

.hero-features-2025 {
  display: flex;
  justify-content: center;
  gap: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  margin: 0 auto;
  max-width: 900px;
}

.feature-item-2025 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.f-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}


/* =========================================
   CINTA DE CONFIANZA
   ========================================= */
.moving-banner {
  background: linear-gradient(90deg, #1C2C8C 0%, #1DB954 100%);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(29, 185, 84, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
  margin-bottom: 40px;
}

.marquee {
  display: inline-block;
  animation: scrollText 45s linear infinite;
}

.marquee span {
  display: inline-block;
  padding-right: 80px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* =========================================
   SERVICIOS
   ========================================= */
.services-premium {
  position: relative;
  background: #fff;
  padding: 50px 0;
  overflow: hidden;
}

.services-premium::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(28, 44, 140, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.services-grid-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card-premium {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card-premium:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(28, 44, 140, 0.15);
  border-color: var(--verde);
}

.service-img-header {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-img-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card-premium:hover .service-img-header img {
  transform: scale(1.1);
}

.service-img-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.service-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--azul);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.featured-badge {
  background: var(--verde);
  color: #fff;
}

.service-content-body {
  padding: 35px;
  text-align: left;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-premium h3 {
  font-size: 24px;
  color: var(--azul);
  margin-bottom: 10px;
  font-weight: 800;
}

.service-description {
  color: var(--texto-gris);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-features {
  margin-top: auto;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.feature-highlight:last-child {
  border-bottom: none;
}

.feature-icon-sm {
  font-size: 18px;
  color: var(--verde);
}

.feature-highlight p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-oscuro);
}

.btn-service {
  display: block;
  text-align: center;
  padding: 16px;
  margin-top: 25px;
  border: 2px solid var(--azul-oscuro);
  border-radius: 14px;
  color: var(--azul-oscuro);
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-service:hover {
  background: var(--azul-oscuro);
  color: #fff;
}

.featured-service {
  border: 2px solid var(--verde);
}

.featured-btn-service {
  background: var(--verde);
  border-color: var(--verde);
  color: #fff;
}

.featured-btn-service:hover {
  background: var(--verde-neon);
  border-color: var(--verde-neon);
  color: var(--azul-oscuro);
}

.other-services {
  margin-top: 60px;
  text-align: center;
  background: #f8fafc;
  padding: 25px;
  border-radius: 16px;
  color: var(--texto-gris);
  font-size: 15px;
}

.other-services strong {
  color: var(--azul);
}


/* =========================================
   PRECIOS (CLEAN & PRO)
   ========================================= */
.pricing-dynamic {
  background: var(--blanco-humo);
}

.pricing-tabs-dynamic {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pricing-tab-btn {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--texto-gris);
  cursor: pointer;
  transition: 0.3s;
}

.pricing-tab-btn:hover,
.pricing-tab-btn.active {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  box-shadow: 0 5px 20px rgba(28, 44, 140, 0.25);
}

.pricing-table-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  background: var(--azul);
  color: #fff;
  padding: 20px 30px;
  text-align: left;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.pricing-table td {
  padding: 18px 30px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--texto-oscuro);
  font-size: 15px;
}

.pricing-table tr:hover {
  background: #f8fafc;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--verde);
  font-size: 16px;
}


/* =========================================
   EMPRESAS
   ========================================= */
.corporate-banner-growth {
  background: #fff;
  padding: 50px 0;
}

.corporate-grid-growth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.corporate-image-growth {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.corporate-image-growth img {
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 30px;
  border-radius: 0 0 24px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.btn-corporate-growth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amarillo);
  color: var(--azul-oscuro);
  padding: 18px 40px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.btn-corporate-growth:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(245, 193, 54, 0.3);
}


/* =========================================
   UBICACION
   ========================================= */
.ubicacion-balanced {
  background: #f8fafc;
  padding: 60px 0;
}

.ubicacion-grid-balanced {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.ubicacion-card-balanced {
  background: #fff;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.map-card-balanced {
  height: 100%;
  min-height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.btn-location-balanced {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--azul);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-location-balanced:hover {
  background: var(--azul-oscuro);
  transform: translateY(-2px);
}


/* =========================================
   CONTACTO (SIMÉTRICO 1fr 1fr)
   ========================================= */
.contacto-balanced {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdf4 100%);
  padding: 80px 0;
}

.contact-grid-balanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Tarjeta Izquierda (Info) */
.contact-quick-balanced {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  height: 100%;
}

.quick-contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-item {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 25px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.quick-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--verde);
}

.quick-icon {
  background: var(--azul-pastel);
  color: var(--azul);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 26px;
  flex-shrink: 0;
}

/* Formulario (Derecha) */
.contact-form-balanced {
  background: #fff;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form-balanced input,
.contact-form-balanced textarea {
  width: 100%;
  padding: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 20px;
  font-family: inherit;
  transition: 0.3s;
}

.contact-form-balanced input:focus,
.contact-form-balanced textarea:focus {
  outline: none;
  border-color: var(--azul);
  background: #f8fafc;
}

.btn-submit-balanced {
  width: 100%;
  padding: 18px;
  background: var(--azul);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}

.btn-submit-balanced:hover {
  background: var(--azul-oscuro);
  box-shadow: 0 10px 25px rgba(28, 44, 140, 0.2);
}


/* =========================================
   FOOTER (MODERN & DARK)
   ========================================= */
.footer-modern {
  background: #0f172a;
  color: #fff;
  padding-top: 80px;
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.logo-box-footer {
  background: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo-modern {
  max-width: 160px;
}

.footer-social-modern a {
  font-size: 22px;
  margin-right: 20px;
  color: #94a3b8;
  transition: 0.3s;
  text-decoration: none;
}

.footer-social-modern a:hover {
  color: var(--verde);
}

.footer-links-modern ul {
  padding: 0;
  list-style: none;
}

.footer-links-modern li {
  margin-bottom: 12px;
}

.footer-links-modern a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links-modern a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom-modern {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  text-align: center;
  color: #64748b;
  font-size: 14px;
}

/* =========================================
   WHATSAPP (CORREGIDO)
   ========================================= */
.whatsapp-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-float {
  width: 65px;
  height: 65px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
  z-index: 10;
}

.wa-icon {
  position: relative;
  z-index: 20;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20BA56;
}

.whatsapp-bubble {
  background: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(10px);
  animation: fade-in-up 0.5s forwards 1s;
  z-index: 1999;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
}

@keyframes fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  background: var(--azul);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  font-size: 22px;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

/* =========================================
   INFINITE GALLERY (CONTACT SECTION)
   ========================================= */
.gallery-container-contact {
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.gallery-track {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: scrollGallery 30s linear infinite;
}

.gallery-item {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   PRICING MODERN
   ========================================= */
.pricing-modern {
  background: #fff;
  padding: 40px 0 80px;
}

.pricing-nav-container {
  position: relative;
  margin-bottom: 30px;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-nav {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pricing-nav::-webkit-scrollbar {
  display: none;
}

.pricing-cat-btn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--texto-gris);
  white-space: nowrap;
  cursor: pointer;
  padding: 8px 12px;
  position: relative;
  transition: all 0.3s;
}

.pricing-cat-btn:hover,
.pricing-cat-btn.active {
  color: var(--azul);
}

.pricing-cat-btn.active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--azul);
  border-radius: 3px 3px 0 0;
}

.pricing-table-wrapper {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pricing-table-modern {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table-modern tr {
  border-bottom: 1px solid #e2e8f0;
}

.pricing-table-modern tr:last-child {
  border-bottom: none;
}

.pricing-table-modern td {
  padding: 16px 10px;
  font-size: 15px;
  color: var(--texto-oscuro);
}

.pricing-table-modern td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--azul);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .pricing-nav {
    justify-content: center;
  }

  .pricing-table-wrapper {
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
  }

  .pricing-table-modern td {
    padding: 20px;
    font-size: 16px;
  }
}

/* =========================================
   RESPONSIVE FINAL
   ========================================= */
@media (max-width: 968px) {
  .section {
    padding: 50px 0;
  }

  .hero-2025 {
    padding-top: 80px;
  }

  .nav-menu-2025 {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #fff;
    padding: 40px 30px;
    transform: translateY(-150%);
    transition: 0.4s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  .nav-menu-2025.active {
    transform: translateY(0);
  }

  .nav-link-2025 {
    color: var(--azul-oscuro);
    font-size: 18px;
    text-align: center;
    width: 100%;
    display: block;
  }

  .nav-link-2025:hover {
    background: #f8fafc;
  }

  .mobile-toggle-2025 {
    display: flex;
  }

  .btn-header-outline,
  .btn-header-primary {
    display: none;
  }

  .hero-title-2025 {
    margin-top: 30px;
  }

  .brand-massive {
    font-size: 70px;
  }

  .hero-actions-2025 {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .btn-primary-2025,
  .btn-secondary-2025 {
    width: 100%;
    justify-content: center;
  }

  .services-grid-premium,
  .corporate-grid-growth,
  .contact-grid-balanced,
  .footer-grid-modern,
  .ubicacion-grid-balanced {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .corporate-image-growth {
    order: -1;
  }

  .image-badge {
    position: relative;
    bottom: auto;
    left: auto;
    border-radius: 0 0 24px 24px;
    margin-top: -5px;
  }

  .contact-quick-balanced {
    order: 2;
  }

  .contact-form-balanced {
    order: 1;
    padding: 30px;
  }

  .pricing-table-container {
    overflow-x: auto;
  }
}