/**
 * ========================================
 * IR360 LEGAL - STYLES
 * Estilos personalizados para landing legal
 * Basados en la estructura de IR360
 * ========================================
 */

/* Variables de color IR360 */
:root {
  --primary-blue: #032841;
  --secondary-blue: #1a3a52;
  --accent-yellow: #ccff00;
  --accent-gold: #d4af37;
  --light-gray: #f8f9fa;
  --dark-gray: #2c3e50;
  --text-dark: #212529;
  --text-light: #6c757d;
}

/* Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url('../images/fondo 3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

/* Preloader (inline en HTML pero aquí por referencia) */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.3s ease-out;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 120px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* ========================================
   ANIMATIONS UX/UI
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

.icon-rotate {
  transition: transform 0.3s ease;
}

.icon-rotate:hover {
  transform: rotate(360deg);
}

/* ========================================
   HERO SECTION LEGAL
   ======================================== */

.hero-legal {
  background: linear-gradient(135deg, rgba(3, 40, 65, 0.45) 0%, rgba(26, 58, 82, 0.45) 100%),
              url('../images/legal2.jpg') center center / cover no-repeat fixed;
  padding: 180px 0 140px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 850px;
  display: flex;
  align-items: center;
  background-attachment: fixed;
  background-size: cover;
  will-change: background;
  -webkit-background-size: cover;
  -webkit-background-attachment: fixed;
}

.hero-legal h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  color: white;
}

.hero-legal .subtitle {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  font-weight: 600;
  color: var(--accent-yellow);
}

.hero-legal .description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.btn-primary-legal {
  background: linear-gradient(135deg, #d4af37 0%, #e8c547 50%, #d4af37 100%);
  background-size: 200% 100%;
  color: #032841;
  border: 2px solid #d4af37;
  padding: 1.2rem 3.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 60px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(212, 175, 55, 0.35),
    0 2px 8px rgba(3, 40, 65, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Efecto de brillo interno elegante */
.btn-primary-legal::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: elegantShine 3s infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes elegantShine {
  0% {
    left: -100%;
    top: -100%;
  }
  50%, 100% {
    left: 100%;
    top: 100%;
  }
}

.btn-primary-legal:hover::before {
  opacity: 1;
}

/* Estados de botón */
.btn-primary-legal:hover {
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a035 100%);
  background-size: 200% 100%;
  color: #1a3a52;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(212, 175, 55, 0.5),
    0 4px 12px rgba(3, 40, 65, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-primary-legal:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.3),
    0 2px 6px rgba(3, 40, 65, 0.15),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary-legal:focus {
  outline: none;
  box-shadow: 
    0 0 0 4px rgba(212, 175, 55, 0.25),
    0 8px 25px rgba(212, 175, 55, 0.5),
    0 4px 12px rgba(3, 40, 65, 0.25);
}

/* Ícono styling */
.btn-primary-legal .btn-icon {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-primary-legal:hover .btn-icon {
  transform: scale(1.15) rotate(5deg);
}

.btn-primary-legal .btn-text {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: 1.2px;
}

/* Responsive */
@media (max-width: 768px) {
  .btn-primary-legal {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
  }
  
  .btn-primary-legal .btn-icon {
    font-size: 1rem;
  }
}

/* Disabled state */
.btn-primary-legal:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary-legal {
  background: transparent;
  color: white;
  border: 2.5px solid #ffffff;
  padding: 1rem 2.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 60px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(255, 255, 255, 0.2),
    inset 0 0 0 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary-legal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 60px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(3, 40, 65, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-secondary-legal:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #d4af37;
  color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(212, 175, 55, 0.4),
    inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.btn-secondary-legal:hover::before {
  opacity: 1;
}

.btn-secondary-legal .btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-secondary-legal:hover .btn-icon {
  transform: scale(1.2);
}

/* ======================================== */
  background-size: 200% 100%;
  color: white;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6), 
              0 0 30px rgba(37, 211, 102, 0.4),
              inset 0 0 20px rgba(37, 211, 102, 0.2);
  border-color: #25d366;
}

.btn-secondary-legal:hover::before {
  opacity: 1;
}

.btn-secondary-legal .btn-icon {
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  animation: whatsappIcon 2s ease infinite;
}

@keyframes whatsappIcon {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

.btn-secondary-legal .btn-text {
  position: relative;
  z-index: 1;
}

/* Hero Rating con estrellas destacadas */
.hero-rating {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stars-container {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.stars-container i {
  font-size: 1.8rem;
  animation: starPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px currentColor);
}

.stars-container .star-1 {
  color: #b8860b;
  animation-delay: 0s;
}

.stars-container .star-2 {
  color: #d4af37;
  animation-delay: 0.2s;
}

.stars-container .star-3 {
  color: #c5a028;
  animation-delay: 0.4s;
}

.stars-container .star-4 {
  color: #daa520;
  animation-delay: 0.6s;
}

.stars-container .star-5 {
  color: #b8860b;
  animation-delay: 0.8s;
}

@keyframes starPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

.rating-text {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(240, 147, 251, 0.2));
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Hero Badge de Urgencia */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
  color: var(--accent-yellow);
  font-size: 1.1rem;
}

/* Hero Proof Elements */
.hero-proof {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
/* Hero Proof Elements */
.hero-proof {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
} font-size: 0.9rem;
}

/* Hero Guarantee */
.hero-guarantee {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-guarantee i {
  color: var(--accent-yellow);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-yellow);
  font-size: 2rem;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

/* ========================================
   VIDEO BACKGROUND CONTAINER
   ======================================== */

.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  pointer-events: none;
}

.continuous-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.continuous-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 40, 65, 0.4);
  z-index: 1;
}

/* ========================================
   TRUST BAR
   ======================================== */

.trust-bar {
  background: transparent;
  padding: 3rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.trust-bar-video {
  display: none;
}

.trust-bar-overlay {
  display: none;
}

.trust-item {
  text-align: center;
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.trust-item .icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.trust-item .number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white !important;
  -webkit-text-fill-color: white !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.trust-item .label {
  display: block;
  font-size: 1rem;
  color: white !important;
  -webkit-text-fill-color: white !important;
  margin-top: 0.5rem;
}

.trust-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-gold));
  color: var(--primary-blue) !important;
  -webkit-text-fill-color: var(--primary-blue) !important;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========================================
   TESTIMONIOS - DISEÑO PREMIUM Y RESPONSIVO
   ======================================== */

/* Sección principal con fondo elegante */
.testimonios-social {
  padding: 100px 20px;
  background-image: url('../images/fondo sancion.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Decoración sutil de línea superior */
.testimonios-social::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ccff00 50%, transparent 100%);
}

/* ========== HEADER MINIMALISTA Y ELEGANTE ========== */
.testimonios-header {
  text-align: center;
  margin-bottom: 70px;
}

.testimonios-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(3, 40, 65, 0.9), rgba(26, 58, 82, 0.9));
  color: var(--accent-gold);
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(3, 40, 65, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.testimonios-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(3, 40, 65, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.testimonios-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.testimonios-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  margin-top: 12px;
}

/* ========== GRID RESPONSIVO Y FLEXIBLE ========== */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1380px;
  margin: 0 auto 60px;
}

@media (max-width: 992px) {
  .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== TARJETAS PREMIUM CON GLASSMORPHISM ========== */
.testimonio-card {
  background: rgba(3, 40, 65, 0.65);
  padding: clamp(24px, 5vw, 40px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(204, 255, 0, 0.15);
  backdrop-filter: blur(10px);
  position: relative;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Marca decorativa sutil */
.testimonio-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 6rem;
  color: var(--accent-gold);
  opacity: 0.03;
  font-family: Georgia, serif;
  line-height: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.testimonio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(204, 255, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(204, 255, 0, 0.3);
  background: rgba(3, 40, 65, 0.85);
}

.testimonio-card:hover::before {
  opacity: 0.08;
}

/* Tarjeta destacada con énfasis sutil */
.testimonio-destacado {
  position: relative;
  background: rgba(3, 40, 65, 0.75);
  border: 1.5px solid rgba(204, 255, 0, 0.2);
}

.testimonio-destacado::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ccff00, #ffffff, #ccff00);
  border-radius: 20px 20px 0 0;
}

/* Badge mejorado con corona escalada */
.destacado-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: linear-gradient(135deg, rgba(3, 40, 65, 0.9), rgba(26, 58, 82, 0.9));
  color: #ccff00;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(204, 255, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid rgba(204, 255, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.crown-icon {
  font-size: 1.3rem;
  animation: crownFloat 2.5s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

/* ========== HEADER DE TARJETA ========== */
.testimonio-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Avatar elegante sin degradados dorados */
.client-avatar {
  width: clamp(56px, 12vw, 65px);
  height: clamp(56px, 12vw, 65px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Avatar primario - Azul marino limpio */
.avatar-primary {
  background: linear-gradient(135deg, #032841 0%, #1a3a52 100%);
}

/* Avatar destacado - Azul más vibrante */
.avatar-featured {
  background: linear-gradient(135deg, #1e3b8a 0%, #2563eb 100%);
  box-shadow: 0 8px 28px rgba(30, 59, 138, 0.25);
}

/* Imagen dentro del avatar (si se usa en el futuro) */
.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* Hover del avatar */
.testimonio-card:hover .client-avatar {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Info del cliente */
.client-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.client-info strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.case-type {
  color: rgba(204, 255, 0, 0.9) !important;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== RATING CON ESTILO ========== */
.testimonio-card .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(204, 255, 0, 0.15);
  flex-wrap: wrap;
}

.testimonio-card .rating i {
  color: #ccff00;
  font-size: clamp(1rem, 2vw, 1.2rem);
  transition: transform 0.2s ease;
}

.testimonio-card .rating i:hover {
  transform: scale(1.1);
}

.rating-number {
  margin-left: 10px;
  font-weight: 900;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

/* ========== TEXTO DEL TESTIMONIO ========== */
.testimonio-text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95) !important;
  margin-bottom: 28px;
  font-weight: 400;
  font-style: italic;
  flex-grow: 1;
}

/* ========== FOOTER TARJETA ========== */
.testimonio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(204, 255, 0, 0.15);
  margin-top: auto;
  flex-wrap: wrap;
  gap: 12px;
}

.verified {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ccff00;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.verified i {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.date {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  font-weight: 500;
}

/* ========== CTA SECCIÓN ========== */
.testimonios-cta {
  text-align: center;
  margin-top: 40px;
  padding: clamp(40px, 8vw, 60px);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, #1e3b8a 100%);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(3, 40, 65, 0.2);
  position: relative;
  overflow: hidden;
}

.testimonios-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo IR360 - Esquina Superior Izquierda */
.cta-logo {
  position: absolute;
  top: clamp(12px, 2.5vw, 20px);
  left: clamp(12px, 2.5vw, 20px);
  z-index: 3;
  animation: logoFadeIn 0.6s ease-out 0.2s both;
}

.cta-logo-img {
  width: clamp(70px, 12vw, 100px);
  height: auto;
  opacity: 0.9;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.25));
}

.testimonios-cta:hover .cta-logo-img {
  opacity: 1;
  filter: drop-shadow(0 5px 15px rgba(204, 255, 0, 0.35));
  transform: scale(1.08);
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
  }
  to {
    opacity: 0.85;
    transform: translateX(0) scale(1);
  }
}

.testimonios-cta p {
  color: white;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
  margin-bottom: clamp(24px, 5vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  margin-top: clamp(16px, 2vw, 20px);
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-testimonios {
  background: var(--accent-gold);
  color: var(--primary-blue);
  padding: clamp(14px, 3vw, 18px) clamp(32px, 5vw, 45px);
  border-radius: 50px;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: none;
  cursor: pointer;
}

.btn-testimonios:hover {
  background: #ffe680;
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.5);
  color: var(--primary-blue);
}

.btn-testimonios i {
  transition: transform 0.35s ease;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.btn-testimonios:hover i {
  transform: translateX(6px) scale(1.1);
}

/* ========== RESPONSIVE COMPLETO ========== */

/* Tablets grande */
@media (max-width: 1200px) {
  .testimonios-social {
    padding: 80px 20px;
  }

  .testimonios-grid {
    gap: 28px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .testimonios-social {
    padding: 60px 16px;
  }

  .testimonios-header {
    margin-bottom: 50px;
  }

  .testimonios-badge {
    padding: 10px 24px;
    font-size: 0.8rem;
  }

  .testimonio-card {
    padding: 24px;
  }

  .destacado-badge {
    padding: 8px 20px;
    font-size: 0.75rem;
    right: 16px;
    top: -12px;
  }

  .crown-icon {
    font-size: 1.1rem;
  }

  .testimonios-cta {
    margin-top: 50px;
    padding: 32px 24px;
  }

  .testimonios-cta p {
    margin-bottom: 24px;
  }
}

/* Mobile pequeño */
@media (max-width: 480px) {
  .testimonios-social {
    padding: 50px 12px;
  }

  .testimonios-header h2 {
    font-size: 1.8rem;
  }

  .testimonios-subtitle {
    font-size: 0.95rem;
  }

  .testimonio-card {
    padding: 20px;
    border-radius: 16px;
  }

  .client-avatar {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .testimonio-card .rating {
    gap: 3px;
  }

  .testimonio-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .testimonio-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .testimonios-cta {
    padding: 28px 16px;
  }

  .testimonios-cta p {
    font-size: 1.3rem;
  }

  .btn-testimonios {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}

/* Fallback para clases antiguas */
.testimonios-slider {
  display: none;
}

.testimonio-card .author {
  display: none;
}

/* ========================================
   ADDITIONAL CTA BUTTONS
   ======================================== */

.btn-contacto,
.btn-consulta {
  background: linear-gradient(135deg, #d4af37 0%, #e8c547 50%, #d4af37 100%);
  color: var(--primary-blue);
  padding: 1.1rem 2.8rem;
  border: 2px solid #d4af37;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25), 0 4px 12px rgba(3, 40, 65, 0.15);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-contacto::before,
.btn-consulta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  animation: elegantShine 3s infinite;
}

.btn-contacto:hover,
.btn-consulta:hover {
  background: linear-gradient(135deg, #e8c547 0%, #f5d565 50%, #e8c547 100%);
  border-color: #e8c547;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.35), 0 6px 16px rgba(3, 40, 65, 0.2);
  letter-spacing: 0.5px;
}

.btn-contacto:active,
.btn-consulta:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25), 0 2px 6px rgba(3, 40, 65, 0.15);
}

.btn-contacto:focus,
.btn-consulta:focus {
  outline: 2px solid #d4af37;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2), 0 8px 25px rgba(212, 175, 55, 0.25), 0 4px 12px rgba(3, 40, 65, 0.15);
}

/* ========================================
   STICKY CTA
   ======================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-blue);
  color: white;
  padding: 1.2rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  will-change: transform;
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sticky-cta-text strong {
  font-size: 1.2rem;
  color: var(--accent-yellow);
}

.sticky-cta-text span {
  font-size: 0.95rem;
  opacity: 0.9;
}

.btn-sticky-cta {
  background: linear-gradient(135deg, #d4af37 0%, #e8c547 50%, #d4af37 100%);
  color: var(--primary-blue);
  padding: 1rem 2.2rem;
  border: 2px solid #d4af37;
  border-radius: 60px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3), 0 2px 8px rgba(3, 40, 65, 0.12);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn-sticky-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: elegantShine 3s infinite;
}

.btn-sticky-cta:hover {
  background: linear-gradient(135deg, #e8c547 0%, #f5d565 50%, #e8c547 100%);
  border-color: #e8c547;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35), 0 4px 12px rgba(3, 40, 65, 0.15);
  letter-spacing: 0.5px;
}

.btn-sticky-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25), 0 2px 6px rgba(3, 40, 65, 0.1);
}

.btn-sticky-cta:focus {
  outline: 2px solid #d4af37;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 6px 18px rgba(212, 175, 55, 0.3), 0 2px 8px rgba(3, 40, 65, 0.12);
}

/* ========================================
   SECTION TITLE (Global)
   ======================================== */

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(50px, 8vw, 80px);
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, #ccff00 50%, transparent 100%);
}

.section-title .sub-title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: #ccff00;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 1.2rem;
  animation: slideInDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white !important;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.15rem;
  color: white !important;
  max-width: 700px;
  margin: 0 auto;
}

/* About Section - Estilos específicos para sección Nosotros */
.about-section {
  background: linear-gradient(135deg, rgba(3, 40, 65, 0.95), rgba(10, 10, 26, 0.9));
  position: relative;
  z-index: 2;
}

.about-section .sub-title {
  color: #ccff00 !important;
  -webkit-text-fill-color: #ccff00 !important;
  opacity: 1 !important;
}

.about-section .highlight-title,
.about-section .section-title h2,
.about-section h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

.about-section .highlight-paragraph,
.about-section .section-title p,
.about-section p {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  line-height: 1.7;
}

.about-section strong {
  color: #ccff00 !important;
  -webkit-text-fill-color: #ccff00 !important;
}

.about-section .btn-contacto {
  display: inline-block;
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.25) 0%, rgba(204, 255, 0, 0.1) 100%);
  border: 2px solid #ccff00;
  color: #ccff00 !important;
  padding: clamp(0.8rem, 2vw, 0.95rem) clamp(1.5rem, 4vw, 2.2rem);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.2);
  font-weight: 600;
}

.about-section .btn-contacto:hover {
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.35) 0%, rgba(204, 255, 0, 0.2) 100%);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 8px 25px rgba(204, 255, 0, 0.35);
}

/* Descripción de sección mejorada */
.section-description {
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  line-height: 1.8 !important;
  color: white !important;
  font-weight: 500 !important;
  max-width: 750px !important;
  margin: 1.5rem auto 0 !important;
  font-style: italic !important;
}

/* ========================================
   SERVICIOS SECTION
   ======================================== */

#servicios {
  background-image: url('../images/fondo 3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Asegurar que los títulos sean visibles */
#servicios .section-title h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#servicios .section-title p {
  color: rgba(255, 255, 255, 0.95) !important;
}

#servicios .sub-title {
  color: #ccff00 !important;
  -webkit-text-fill-color: #ccff00 !important;
}

.servicios-section {
  padding: 100px 0;
  background-image: url('../images/fondo 3.webp');

  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.servicio-card {
  background: rgba(3, 40, 65, 0.75);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(204, 255, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 16px 48px rgba(204, 255, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: rgba(3, 40, 65, 0.75);
  border-color: rgba(204, 255, 0, 0.15);
}

.servicio-card .icon {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  text-shadow: 0 2px 8px rgba(204, 255, 0, 0.3);
}

.servicio-card:hover .icon {
  transform: scale(1.15) rotate(8deg);
  color: var(--accent-yellow);
}

.servicio-card h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.servicio-card p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.servicio-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.servicio-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  line-height: 1.5;
}

.servicio-card ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
}

.btn-consultar {
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.25) 0%, rgba(204, 255, 0, 0.1) 100%);
  border: 2px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: clamp(0.8rem, 2vw, 0.95rem) clamp(1.5rem, 4vw, 2.2rem);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: auto;
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  box-shadow: 0 4px 15px rgba(204, 255, 0, 0.2);
}

.btn-consultar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-consultar:hover::after {
  left: 100%;
}

.btn-consultar:hover {
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.35) 0%, rgba(204, 255, 0, 0.2) 100%);
  color: white;
  border-color: white;
  transform: translateX(4px);
  box-shadow: 0 8px 25px rgba(204, 255, 0, 0.35);
}

/* ========================================
   PROCESO SECTION
   ======================================== */

/* ========================================
   PROCESO SECTION - MEJORADO
   ======================================== */

.proceso-section {
  padding: clamp(80px, 10vw, 120px) 0;
  background-image: url('../images/fondo 3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.proceso-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.proceso-section > * {
  position: relative;
  z-index: 1;
}

/* Timeline Container */
.proceso-timeline {
  margin: 4rem 0;
}

/* Tarjeta de Proceso Mejorada */
.proceso-card {
  background: rgba(3, 40, 65, 0.75);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(204, 255, 0, 0.15);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.proceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #032841 0%, #1a3a52 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.proceso-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 16px 48px rgba(204, 255, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: rgba(3, 40, 65, 0.85);
  border-color: rgba(204, 255, 0, 0.3);
}

.proceso-card:hover::before {
  transform: scaleX(1);
}

.paso-bg-icon {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: clamp(8rem, 20vw, 12rem);
  color: rgba(204, 255, 0, 0.08);
  opacity: 0.6;
  z-index: 0;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(204, 255, 0, 0.1);
  pointer-events: none;
}

/* Card Destacada (Centro) */
.proceso-card.highlighted {
  background: rgba(3, 40, 65, 0.85);
  border: 2px solid rgba(204, 255, 0, 0.3);
  box-shadow: 0 12px 40px rgba(204, 255, 0, 0.2), 0 0 30px rgba(204, 255, 0, 0.15);
  transform: scale(1.02);
}

.proceso-card.highlighted:hover {
  transform: translateY(-18px) scale(1.05);
  box-shadow: 0 20px 60px rgba(204, 255, 0, 0.3), 0 0 40px rgba(204, 255, 0, 0.2);
  background: rgba(3, 40, 65, 0.9);
}

/* Header con Badge */
.paso-header {
  position: relative;
  margin-bottom: 2rem;
}

.step-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(24px, 4vw, 32px);
  position: relative;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  gap: clamp(6px, 1vw, 12px);
}

.highlight-badge {
  /* Removido estilos circulares */
}

.step-number {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: #ccff00;
  position: relative;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-shadow: 0 2px 6px rgba(204, 255, 0, 0.25);
  letter-spacing: 1px;
  margin: 0;
}

.step-icon {
  position: relative;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #ccff00;
  text-shadow: 0 2px 8px rgba(204, 255, 0, 0.3);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(60px, 8vw, 80px);
  min-height: clamp(60px, 8vw, 80px);
}

/* Para PNG images dentro de .step-icon */
.step-icon img {
  width: clamp(50px, 7vw, 70px);
  height: clamp(50px, 7vw, 70px);
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.proceso-card:hover .step-icon {
  transform: scale(1.25);
}

.proceso-card:hover .step-icon img {
  transform: scale(1.25);
}

/* Línea Decorativa */
.step-line {
  display: none;
}

/* Contenido del Paso */
.paso-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.paso-title {
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  font-weight: 800;
  color: white !important;
  -webkit-text-fill-color: white !important;
  margin: 0 0 clamp(16px, 2vw, 24px);
  line-height: 1.3;
}

.paso-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  color: white !important;
  -webkit-text-fill-color: white !important;
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-weight: 500;
}

/* Features List */
.paso-features {
  margin-top: auto;
}

.paso-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.paso-features li {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  color: white !important;
  -webkit-text-fill-color: white !important;
  margin: clamp(12px, 2vw, 16px) 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 14px);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.paso-features i {
  color: #ccff00;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.proceso-card:hover .paso-features li {
  color: white !important;
  -webkit-text-fill-color: white !important;
  transform: translateX(6px);
}

/* Stats Section */
.proceso-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(32px, 5vw, 48px);
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(3, 40, 65, 0.08);
  box-shadow: 0 10px 40px rgba(3, 40, 65, 0.08);
}

.stat-item {
  text-align: center;
  padding: clamp(20px, 3vw, 32px);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 6vw, 60px);
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ccff00 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item:hover {
  transform: translateY(-8px);
}

.stat-icon {
  width: clamp(60px, 10vw, 85px);
  height: clamp(60px, 10vw, 85px);
  background: linear-gradient(135deg, #ccff00 0%, #d4e535 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(16px, 2.5vw, 24px);
  color: #032841;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  box-shadow: 
    0 12px 35px rgba(204, 255, 0, 0.25),
    0 0 30px rgba(204, 255, 0, 0.15),
    inset -1px -1px 4px rgba(255, 255, 255, 0.3),
    inset 1px 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  font-weight: 700;
  animation: statPulse 3s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

.stat-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0.4;
}

.stat-item:hover .stat-icon {
  transform: scale(1.15);
  box-shadow: 
    0 18px 45px rgba(204, 255, 0, 0.35),
    0 0 40px rgba(204, 255, 0, 0.25),
    inset -1px -1px 4px rgba(255, 255, 255, 0.4);
}

.stat-number {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #ccff00;
  margin: clamp(12px, 2vw, 18px) 0 clamp(8px, 1.5vw, 12px);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(204, 255, 0, 0.2);
  letter-spacing: 1px;
}

.stat-label {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #5a6f8f;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-label {
  color: #032841;
  font-weight: 700;
}

/* CTA Text */
.cta-text {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: white !important;
  -webkit-text-fill-color: white !important;
  margin-bottom: clamp(24px, 4vw, 32px);
  display: block;
  font-weight: 600;
  line-height: 1.5;
}

.btn-consulta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 20px) clamp(32px, 5vw, 48px);
  background: linear-gradient(135deg, #ccff00 0%, #e0ff33 50%, #d4e535 100%);
  color: white !important;
  -webkit-text-fill-color: white !important;
  border: none;
  border-radius: 50px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 12px 32px rgba(184, 212, 0, 0.3),
    0 4px 12px rgba(3, 40, 65, 0.1);
  letter-spacing: 0.5px;
}

.btn-consulta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 18px 48px rgba(184, 212, 0, 0.4),
    0 8px 20px rgba(3, 40, 65, 0.15);
  background: linear-gradient(135deg, #e0ff33 0%, #eaff66 50%, #f0ff99 100%);
}

.btn-consulta-primary:active {
  transform: translateY(-1px);
}

.btn-consulta-primary i {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-consulta-primary:hover i {
  transform: translateX(4px);
}

/* Animaciones */
@keyframes pulseHighlight {
  0%, 100% {
    box-shadow: 
      0 15px 45px rgba(3, 40, 65, 0.25),
      0 0 35px rgba(204, 255, 0, 0.15),
      inset 0 1px 3px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 15px 50px rgba(3, 40, 65, 0.3),
      0 0 50px rgba(204, 255, 0, 0.25),
      inset 0 1px 3px rgba(255, 255, 255, 0.1);
  }
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

@keyframes statPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 12px 35px rgba(204, 255, 0, 0.25),
      0 0 30px rgba(204, 255, 0, 0.15);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 
      0 15px 45px rgba(204, 255, 0, 0.35),
      0 0 40px rgba(204, 255, 0, 0.25);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .proceso-card.highlighted {
    transform: scale(1);
  }

  .proceso-card.highlighted:hover {
    transform: translateY(-12px) scale(1.02);
  }
}

@media (max-width: 768px) {
  .proceso-section {
    padding: 60px 0;
  }

  .proceso-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .proceso-section {
    padding: 40px 0;
  }

  .proceso-card {
    padding: 24px;
  }

  .proceso-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-badge {
    width: 80px;
    height: 80px;
  }

  .step-number {
    font-size: 1.8rem;
  }

  .paso-title {
    font-size: 1.2rem;
  }

  .paso-description {
    font-size: 0.9rem;
  }

  .proceso-card:hover {
    transform: translateY(-8px);
  }
}

/* ========================================
   POR QUÉ SECTION
   ======================================== */

.porque-section {
  padding: 100px 0;
  background-image: url('../images/fondo 3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.porque-item {
  display: flex;
  gap: clamp(1rem, 3vw, 1.5rem);
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(3, 40, 65, 0.75);
  border-radius: 16px;
  margin-bottom: 2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(204, 255, 0, 0.15);
}

.porque-item:hover {
  box-shadow: 0 12px 40px rgba(204, 255, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateX(8px) translateY(-4px);
  background: rgba(3, 40, 65, 0.85);
  border-color: rgba(204, 255, 0, 0.3);
}

.porque-item .icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--accent-yellow);
  flex-shrink: 0;
  text-shadow: 0 2px 8px rgba(204, 255, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.porque-item:hover .icon {
  transform: scale(1.2) rotate(8deg);
}

.porque-item h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  color: white;
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.porque-item p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   FORMULARIO SECTION
   ======================================== */

.formulario-section {
  padding: 100px 0;
  background-image: url('../images/fondo 3.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.form-container {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
  color: #999;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

/* Cloudflare Turnstile */
.cf-turnstile {
  margin: 0 auto;
  display: inline-block;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #d4af37 0%, #e8c547 50%, #d4af37 100%);
  background-size: 200% 100%;
  color: #032841;
  border: 2px solid #d4af37;
  padding: 1.4rem 2.2rem;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 15px rgba(212, 175, 55, 0.35),
    0 2px 8px rgba(3, 40, 65, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Efecto de brillo en submit */
.btn-submit::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  animation: elegantShine 3s infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-submit:hover::before {
  opacity: 1;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #c9a035 100%);
  background-size: 200% 100%;
  color: #1a3a52;
  transform: translateY(-4px);
  box-shadow: 
    0 8px 25px rgba(212, 175, 55, 0.5),
    0 4px 12px rgba(3, 40, 65, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-submit:active {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.3),
    0 2px 6px rgba(3, 40, 65, 0.15),
    inset 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.btn-submit:disabled {
  background: linear-gradient(135deg, #ccc 0%, #ddd 50%, #ccc 100%);
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

/* ========================================
   FORMULARIO MEJORADO - SERVICIOS
   ======================================== */

.services-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  margin-top: 0.8rem;
}

.services-checkboxes .form-check {
  gap: 0.8rem;
  align-items: center;
}

.services-checkboxes .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ccff00;
  transition: all 0.3s ease;
}

.services-checkboxes .form-check-input:hover {
  transform: scale(1.2);
}

.services-checkboxes .form-check-input:checked {
  background-color: #ccff00;
  border-color: #ccff00;
}

.services-checkboxes .form-check-label {
  color: #032841;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

/* Validación de formulario */
.form-group.error .form-control {
  border-color: #dc3545;
  background: #fff5f5;
}

.form-group.error .form-text {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: block;
}

.form-group.success .form-control {
  border-color: #28a745;
  background: #f5fff5;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float i {
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
  .hero-legal {
    padding: 120px 0 60px;
    min-height: 500px;
  }

  .hero-legal h1 {
    font-size: 2.8rem;
  }

  .hero-legal .subtitle {
    font-size: 1.3rem;
  }

  .hero-legal .description {
    font-size: 1.1rem;
  }

  .section-title h2 {
    font-size: 2.3rem;
  }

  .servicios-section,
  .proceso-section,
  .porque-section,
  .formulario-section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .hero-legal {
    padding: 100px 0 50px;
    min-height: 550px;
  }

  .hero-legal h1 {
    font-size: 2.2rem;
  }

  .hero-legal .subtitle {
    font-size: 1.1rem;
  }

  .hero-legal .description {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }
  
  .hero-proof {
    flex-direction: column;
    gap: 1rem;
  }
  
  .scroll-indicator {
    font-size: 1.5rem;
    bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .btn-primary-legal,
  .btn-secondary-legal {
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    padding: 2rem 0;
  }

  .trust-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .trust-item .number {
    font-size: 2rem;
  }
  
  .trust-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
  
  .testimonios-slider {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sticky-cta {
    padding: 1rem 0;
  }
  
  .sticky-cta-text {
    margin-bottom: 0.8rem;
  }
  
  .sticky-cta-text strong {
    font-size: 1rem;
  }
  
  .sticky-cta-text span {
    font-size: 0.85rem;
  }
  
  .btn-sticky-cta {
    width: 100%;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 1.9rem;
  }

  .section-title p {
    font-size: 1rem;
  }

  .servicio-card {
    padding: 2rem;
  }

  .servicio-card h3 {
    font-size: 1.4rem;
  }

  .proceso-step .step-number {
    width: 65px;
    height: 65px;
    font-size: 2rem;
  }

  .proceso-step h3 {
    font-size: 1.3rem;
  }

  .porque-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .porque-item .icon {
    font-size: 2rem;
  }

  .form-container {
    padding: 2rem;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    bottom: 80px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-legal h1 {
    font-size: 1.8rem;
  }

  .hero-legal .subtitle {
    font-size: 1rem;
  }

  .btn-primary-legal,
  .btn-secondary-legal {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .servicio-card {
    padding: 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .btn-submit {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Aplicar animaciones con scroll (opcional con JavaScript) */
.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ========================================
   UTILITIES
   ======================================== */

.text-center {
  text-align: center;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-5 { padding-top: 3rem; }
.pb-5 { padding-bottom: 3rem; }

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .whatsapp-float,
  .formulario-section,
  .navbar,
  footer {
    display: none !important;
  }

  .hero-legal {
    padding: 2rem 0;
    min-height: auto;
  }

  body {
    color: #000;
  }
}

/* CTA Impactante Testimonios - Mejorado para UX Premium */
.btn-cta-impact {
  background: linear-gradient(135deg, #b8d400 0%, #ccff00 50%, #d4e535 100%);
  color: #032841;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.6rem, 3.5vw, 2.4rem);
  border: none;
  border-radius: 60px;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 0.8rem);
  box-shadow: 
    0 12px 28px rgba(184, 212, 0, 0.3),
    0 4px 12px rgba(3, 40, 65, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.6px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta-impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: elegantShine 3.5s infinite;
}

.btn-cta-impact::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}

.btn-cta-impact .cta-icon {
  background: linear-gradient(135deg, #ccff00, #d4e535);
  color: #032841;
  border-radius: 50%;
  width: clamp(1.8rem, 3.5vw, 2.3rem);
  height: clamp(1.8rem, 3.5vw, 2.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  box-shadow: 0 4px 14px rgba(184, 212, 0, 0.25);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta-impact .cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  position: relative;
  z-index: 2;
}

.btn-cta-impact .cta-text {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  font-weight: 800;
  color: #032841;
  letter-spacing: 0.4px;
  line-height: 1.1;
}

.btn-cta-impact .cta-sub {
  font-size: clamp(0.7rem, 1.4vw, 0.78rem);
  color: #1e3b8a;
  font-weight: 600;
  background: rgba(3, 40, 65, 0.06);
  border: 1px solid rgba(30, 59, 138, 0.15);
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  transition: all 0.4s ease;
}

.btn-cta-impact .cta-arrow {
  color: #032841;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.btn-cta-impact:hover {
  background: linear-gradient(135deg, #ccff00 0%, #e0ff33 50%, #eaff66 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 36px rgba(184, 212, 0, 0.4),
    0 6px 16px rgba(3, 40, 65, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-cta-impact:hover .cta-icon {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 6px 18px rgba(184, 212, 0, 0.35);
}

.btn-cta-impact:hover .cta-arrow {
  transform: translateX(8px) scale(1.15);
}

.btn-cta-impact:hover .cta-sub {
  background: rgba(3, 40, 65, 0.1);
  border-color: rgba(30, 59, 138, 0.25);
}

.btn-cta-impact:active {
  transform: translateY(-1px);
  box-shadow: 
    0 8px 20px rgba(184, 212, 0, 0.3),
    0 3px 8px rgba(3, 40, 65, 0.1);
}

.btn-cta-impact:focus {
  outline: 2px solid #ccff00;
  outline-offset: 4px;
}

.btn-cta-impact:focus:not(:focus-visible) {
  outline: none;
}

/* ========================================
   SERVICIOS - ICONOS PNG
   ======================================== */

/**
 * Estilos para los iconos PNG en la sección de servicios
 * Uso: <img src="images/icono-servicio.png" class="service-icon-img">
 * 
 * Iconos esperados:
 * - icono-derecho-penal.png
 * - icono-derecho-civil.png
 * - icono-derecho-laboral.png
 * - icono-derecho-administrativo.png
 * - icono-tutelas-laborales.png
 * - icono-mediacion.png
 */

/* Contenedor del icono */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 15vw, 80px);
  height: clamp(64px, 15vw, 80px);
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #032841 0%, #1a3a52 100%);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(3, 40, 65, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Pseudo-elemento para efecto hover */
.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1e3b8a 0%, #2563eb 100%);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Imagen del icono PNG */
.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 2;
  transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover del contenedor */
.service-wrapper:hover .service-icon {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(3, 40, 65, 0.25);
}

.service-wrapper:hover .service-icon::before {
  opacity: 0.15;
}

.service-wrapper:hover .service-icon-img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) brightness(1.1);
}

/* ========================================
   SERVICIOS - GRID Y TARJETAS (IMPROVED)
   ======================================== */

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 32px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.servicio-card {
  height: 100%;
  display: flex;
}

.service-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 5vw, 40px);
  background: rgba(3, 40, 65, 0.75);
  border-radius: clamp(16px, 3vw, 24px);
  box-shadow: 
    0 8px 24px rgba(3, 40, 65, 0.08),
    0 2px 8px rgba(3, 40, 65, 0.04);
  border: 1px solid rgba(204, 255, 0, 0.15);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  backdrop-filter: blur(10px);
}

/* Efecto de fondo gradiente sutil en hover */
.service-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(184, 212, 0, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 0;
  border-radius: 50%;
}

.service-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ccff00, transparent);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* Contenedor del icono mejorado */
.service-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(20px, 3vw, 28px);
  position: relative;
  z-index: 2;
}

/* Icono con sombra mejorada */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(72px, 18vw, 90px);
  height: clamp(72px, 18vw, 90px);
  background: linear-gradient(135deg, #032841 0%, #1a3a52 50%, #0d3a5c 100%);
  border-radius: clamp(16px, 3vw, 20px);
  box-shadow: 
    0 8px 24px rgba(3, 40, 65, 0.18),
    0 0 20px rgba(3, 40, 65, 0.1),
    inset -1px -1px 3px rgba(255, 255, 255, 0.05);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Brillo interior en icono */
.service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  opacity: 0.3;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  border-radius: inherit;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

/* Imagen del icono PNG */
.service-icon-img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
  position: relative;
  z-index: 2;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Título del servicio mejorado */
.service-title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin: clamp(16px, 2.5vw, 24px) 0 clamp(12px, 2vw, 18px);
  letter-spacing: -0.5px;
  line-height: 1.3;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
  background: none;
}

/* Descripción del servicio */
.service-description {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
  font-weight: 500;
}

/* Efectos de Hover Premium */
.service-wrapper:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 48px rgba(204, 255, 0, 0.2),
    0 8px 20px rgba(204, 255, 0, 0.1),
    0 0 1px rgba(204, 255, 0, 0.3);
  border-color: rgba(204, 255, 0, 0.15);
  background: rgba(3, 40, 65, 0.75);
}

.service-wrapper:hover::before {
  opacity: 1;
}

.service-wrapper:hover::after {
  opacity: 1;
  animation: shimmerBottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-wrapper:hover .service-icon {
  transform: scale(1.08) translateZ(0);
  box-shadow: 
    0 16px 40px rgba(3, 40, 65, 0.25),
    0 0 30px rgba(204, 255, 0, 0.2),
    inset 0 1px 3px rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #1a3a52 0%, #2563eb 50%, #1e3b8a 100%);
}

.service-wrapper:hover .service-icon::after {
  opacity: 1;
  animation: pulseGlow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-wrapper:hover .service-icon::before {
  opacity: 0.8;
}

.service-wrapper:hover .service-icon-img {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18)) brightness(1.15);
  transform: scale(1.12) translateZ(0);
}

.service-wrapper:hover .service-title {
  letter-spacing: 0px;
  transform: scale(1.05);
}

.service-wrapper:hover .service-description {
  color: #3a4f6f;
  font-weight: 600;
}

/* Animaciones */
@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

@keyframes shimmerBottom {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3.5vw, 28px);
    max-width: 1000px;
  }

  .service-icon {
    width: clamp(68px, 16vw, 85px);
    height: clamp(68px, 16vw, 85px);
  }

  .service-title {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  }
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 3vw, 24px);
    max-width: 100%;
  }

  .service-wrapper {
    padding: clamp(24px, 4vw, 32px);
  }

  .service-icon {
    width: clamp(64px, 14vw, 80px);
    height: clamp(64px, 14vw, 80px);
  }

  .service-title {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  }

  .service-description {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  }
}

@media (max-width: 640px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.5vw, 20px);
  }

  .service-wrapper {
    padding: clamp(20px, 3.5vw, 28px);
  }

  .service-icon {
    width: clamp(60px, 12vw, 72px);
    height: clamp(60px, 12vw, 72px);
  }

  .service-title {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
  }

  .service-description {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  }
}

@media (max-width: 480px) {
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2vw, 16px);
    max-width: 100%;
  }

  .service-wrapper {
    padding: clamp(18px, 3vw, 24px);
  }

  .service-icon {
    width: clamp(56px, 10vw, 68px);
    height: clamp(56px, 10vw, 68px);
    margin-bottom: clamp(16px, 2.5vw, 20px);
  }

  .service-title {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin: clamp(12px, 2vw, 16px) 0 clamp(10px, 1.5vw, 14px);
  }

  .service-description {
    font-size: clamp(0.78rem, 1vw, 0.88rem);
  }

  .service-wrapper:hover {
    transform: translateY(-8px);
  }

  .service-wrapper:hover .service-icon {
    transform: scale(1.05) translateZ(0);
  }

  .service-wrapper:hover .service-icon-img {
    transform: scale(1.08) translateZ(0);
  }
}

