/* ============================================
   STYLES.CSS - VERMONT - VERSIÓN MEJORADA
   Diseño Mobile-First con Animaciones
   ============================================

   ÍNDICE DE SECCIONES:
   1. VARIABLES CSS GLOBALES
   2. RESET Y ESTILOS BASE
   3. UTILIDADES GENERALES
   4. HEADER Y NAVEGACIÓN
   5. HERO Y SECCIONES PRINCIPALES
   6. CARDS Y COMPONENTES
   7. FOOTER
   8. FORMULARIOS
   9. ANIMACIONES Y TRANSICIONES
   10. RESPONSIVE DESIGN
   11. MODO OSCURO
   12. IMPRESIÓN
   ============================================ */


/* ============================================
   LOGO
   ============================================ */

.logo {
  margin-right: 30px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  text-decoration: none; 
  color: #ffffff; 
  font-weight: 600;  
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.header-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-logo-v {
  font-family: 'Lora', Georgia, serif;
  font-size: 65px;
  font-weight: 700;
  color: #ffffff;
  line-height: 0.8;
  margin-right: -3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo:hover .header-logo-v {
  transform: scale(1.05);
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.header-logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 8px;
  margin-left: 6px;
  transition: all 0.3s ease;
}

.header-logo-vermont {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.logo:hover .header-logo-vermont {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.header-logo-consultores {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  line-height: 1;
  margin: 3px 0 0 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.logo:hover .header-logo-consultores {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.logo:hover .header-logo-text-group {
  border-left: 2px solid #00ced1;
  box-shadow: -2px 0 10px rgba(0, 206, 209, 0.3);
}

/* ============================================
   MENÚ HAMBURGUESA
   ============================================ */

.menu-toggle { 
  display: inline-flex; 
  width: 50px; 
  height: 50px; 
  align-items: center; 
  justify-content: center; 
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(45, 55, 72, 0.8) 100%);
  border: 2px solid rgba(0, 206, 209, 0.4);
  border-radius: 12px;
  cursor: pointer; 
  transition: all 0.3s ease;
  position: relative;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.2) 0%, rgba(0, 119, 182, 0.2) 100%);
  border-color: #00CED1;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

.menu-toggle .hamburger { 
  width: 24px; 
  height: 3px; 
  background: #00CED1; 
  position: relative; 
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 206, 209, 0.5);
}

.menu-toggle .hamburger::after, 
.menu-toggle .hamburger::before { 
  content: ""; 
  position: absolute; 
  left: 0; 
  right: 0; 
  height: 3px; 
  background: #00CED1; 
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 206, 209, 0.5);
}

.menu-toggle .hamburger::before { 
  top: -8px; 
}

.menu-toggle .hamburger::after { 
  top: 8px; 
}





/* ============================================
   RESPONSIVE - NAVEGACIÓN
   ============================================ */

@media(min-width: 720px) {
  .nav { 
    display: block;
    position: relative;
  }
  
  .nav-list {
    gap: 0;
    position: relative;
  }
  
  .nav-link {
    padding: 8px 16px;
  }
  
  .nav-underline {
    position: absolute;
    bottom: -20px;
  }
}

/* ============================================
   RESPONSIVE - NAVEGACIÓN
   ============================================ */

@media(min-width: 720px) {
  .nav { 
    display: block; 
    position: relative;
  }
}

/* ============================================
   MODO OSCURO - NAVEGACIÓN
   ============================================ */

body.dark-mode .nav-link {
  color: #ffffff; /* Blanco en modo oscuro, NO turquesa */
}

/* ============================================
   RESPONSIVE - NAVEGACIÓN
   ============================================ */

@media(min-width: 720px) {
  .nav { 
    display: block; 
  }
  
  .nav-list {
    gap: 0;
  }
  
  .nav-link {
    padding: 8px 16px;
  }
  
  .nav-underline {
    position: absolute;
    bottom: -20px;
  }
}

@media(max-width: 720px) {
  .menu-toggle { 
    display: inline-flex; 
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #001F3F 0%, #1a3a52 50%, #2c5282 100%);
    backdrop-filter: blur(10px);
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 80px 20px 40px 20px;
    z-index: 998;
  }

  .nav[style*="display: block"] {
    display: flex !important;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    align-items: center;
    position: relative;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 18px 32px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(45, 55, 72, 0.6) 100%);
    border: 2px solid rgba(0, 206, 209, 0.3);
    border-left: 5px solid #00CED1;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .nav-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #00CED1 0%, #0077b6 100%);
    box-shadow: 2px 0 8px rgba(0, 206, 209, 0.6);
  }

  .nav-list a.active {
    /* Solo mantener el estilo para página activa si es necesario */
    color: #00CED1;
  }

  .nav-underline {
    display: none;
  }

  /* MODO CLARO - Menú */
  body:not(.dark-mode) .nav {
    background: linear-gradient(135deg, #d4e8f0 0%, #c5dde8 50%, #b8d4e3 100%);
  }

  body:not(.dark-mode) .nav-list a {
    color: #001F3F;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.9) 100%);
    border-color: rgba(0, 206, 209, 0.4);
  }

  body:not(.dark-mode) .nav-list a.active {
    color: #00CED1; /* Solo para página activa */
  }

  body:not(.dark-mode) .menu-toggle {
    background: linear-gradient(135deg, rgba(212, 232, 240, 0.95) 0%, rgba(225, 240, 247, 0.95) 100%);
    border-color: rgba(0, 206, 209, 0.5);
  }

  body:not(.dark-mode) .menu-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.15) 0%, rgba(0, 119, 182, 0.15) 100%);
    border-color: #00CED1;
  }
}

/* ============================================
   BOTÓN DE TEMA OSCURO/CLARO
   ============================================ */

.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  margin-left: auto;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.15) rotate(180deg);
  box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4);
  border-color: rgba(0, 206, 209, 0.6);
}

.theme-icon {
  position: absolute;
  font-size: 24px;
  transition: all 0.3s ease;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

body.dark-mode .sun-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

body.dark-mode .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Modo oscuro - Botón hamburguesa */
body.dark-mode .menu-toggle {
  background: rgba(0, 206, 209, 0.15);
  border-color: rgba(0, 206, 209, 0.4);
}

body.dark-mode .menu-toggle:hover {
  background: rgba(0, 206, 209, 0.25);
  border-color: #00CED1;
}

/* ============================================
   BOTÓN CTA (CALL TO ACTION)
   ============================================ */

.cta-desktop { 
  display: none; 
  text-decoration: none;
  background: var(--color-accent);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

.cta-desktop:hover {
  background: #00b8bb;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.5);
}

@media(min-width: 720px) {
  .cta-desktop {
    display: inline-flex;
  }
}

/* ============================================
   Resto de los estilos sigue igual...
   ============================================ */

/* ============================================
   VARIABLES CSS GLOBALES
   ============================================ */
:root {
  /* Colores principales */
  --color-primary: #001F3F;
  --color-accent: #00CED1;
  --color-text: #333333;
  
  /* Colores de fondo */
  --bg-section: #F4F4F4;
  --bg-white: #ffffff;
  
  /* Efectos visuales */
  --radius: 12px;
  --shadow-soft: 0 10px 24px rgba(0,31,63,0.06);
  
  /* Ancho máximo del contenido */
  --container-max: 1100px;
  
  /* Tipografía */
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   RESET Y ESTILOS BASE
   ============================================ */
* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
  margin: 0; 
  color: var(--color-text); 
  background: var(--bg-white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
}

/* ============================================
   CONTENEDOR CENTRAL
   ============================================ */
.container { 
  width: calc(100% - 32px); 
  max-width: var(--container-max); 
  margin: 0 auto; 
  padding: 0; 
}

/* ============================================
   HEADER - MENÚ DE NAVEGACIÓN
   ============================================ */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 999; 
  background: linear-gradient(135deg, #2c5282 0%, #396ea9 50%, #4a90d9 100%);
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 31, 63, 0.15);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 30px rgba(0, 31, 63, 0.35);
  transform: translateY(-2px);
}

.site-header:hover {
  box-shadow: 0 6px 30px rgba(0, 31, 63, 0.25);
}

.header-inner { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  justify-content: flex-start; 
  padding: 20px 25px; 
  max-width: 100%; 
}

.logo {
  margin-right: 30px; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  text-decoration: none; 
  color: #ffffff; 
  font-weight: 600;  
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-mark { 
  text-decoration: none; 
  color: #ffffff; 
  font-weight: 600; 
  font-size: 24px;
  transition: transform 0.5s ease;
  display: inline-block;
}

.logo:hover .logo-mark {
  transform: rotate(360deg);
}

/* ============================================
   BOTÓN DE TEMA OSCURO/CLARO
   ============================================ */
.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  margin-left: auto;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.15) rotate(180deg);
  box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4);
  border-color: rgba(0, 206, 209, 0.6);
}

.theme-icon {
  position: absolute;
  font-size: 24px;
  transition: all 0.3s ease;
}

.sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.moon-icon {
  opacity: 0;
  transform: rotate(180deg);
}

body.dark-mode .sun-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

body.dark-mode .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ============================================
   MENÚ HAMBURGUESA (MÓVIL)
   ============================================ */
.menu-toggle { 
  display: inline-flex; 
  width: 44px; 
  height: 44px; 
  align-items: center; 
  justify-content: center; 
  background: transparent; 
  border: 0; 
  cursor: pointer; 
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1) rotate(90deg);
}

.menu-toggle .hamburger { 
  width: 22px; 
  height: 2px; 
  background: #ffffff; 
  position: relative; 
  transition: all 0.3s ease;
}

.menu-toggle .hamburger::after, 
.menu-toggle .hamburger::before { 
  content: ""; 
  position: absolute; 
  left: 0; 
  right: 0; 
  height: 2px; 
  background: #ffffff; 
  transition: all 0.3s ease;
}

.menu-toggle .hamburger::before { 
  top: -6px; 
}

.menu-toggle .hamburger::after { 
  top: 6px; 
}

/* ============================================
   NAVEGACIÓN PRINCIPAL - MEJORADA
   ============================================ */
.nav { 
  display: none; 
}


.nav-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  gap: 0;
  align-items: center;
  position: relative;
}

.nav-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex; 
  gap: 0;
  align-items: center;
  position: relative;
}

.nav-list a { 
  text-decoration: none; 
  color: #ffffff; 
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

/* LÍNEA BLANCA ACTIVA - SIEMPRE VISIBLE EN PÁGINA ACTUAL */
.nav-list a::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 16px;
  right: 16px;
  height: 5px;
  /* Degradado ajustado a la imagen: Cian a Azul muy oscuro */
  background: linear-gradient(0deg, #00ced1 0%, #005b70 50%, #011627 100%);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  /* Sombra más sutil para que no brille tanto como un neón, acorde a la imagen */
  box-shadow: 0 2px 10px rgba(0, 206, 209, 0.3);
}


/* Mostrar línea para el enlace de la página actual */
.nav-list a.active::before {
  transform: scaleX(1.1);
  background: linear-gradient(90deg, #00CED1 0%, #005b70 50%, #011627 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 206, 209, 0.3);
  height: 6px;
}

/* ============================================
   RESPONSIVE - NAVEGACIÓN
   ============================================ */
@media(min-width: 720px) {
  .nav { 
    display: block; 
    position: relative;
  }
}


/* ============================================
   BOTÓN CTA (CALL TO ACTION)
   ============================================ */
.cta-desktop { 
  display: none; 
  text-decoration: none;
  background: var(--color-accent);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

.cta-desktop:hover {
  background: #00b8bb;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.5);
}

/* ============================================
   SECCIÓN HERO (PORTADA) - MEJORADA
   ============================================ */
.hero { 
  padding: 80px 0 60px 0;
  min-height: auto;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

/* Efecto de partículas flotantes */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

/* Partícula adicional */
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(57, 110, 169, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  50% { 
    transform: translate(-30px, -30px) scale(1.1); 
  }
}

.hero-inner { 
  display: flex; 
  flex-direction: column-reverse; 
  gap: 30px;
  align-items: start;
  position: relative;
  z-index: 1;
  justify-content: center;
  min-height: 450px;
}
.hero-copy h1 { 
  font-size: 58px; 
  margin: 0 0 20px 0; 
  line-height: 1.3;
  font-weight: 800;
  color: var(--color-primary);
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 30%, #00b4d8 70%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: fadeInTitle 0.6s ease-out 0.3s forwards;
}

/* Efecto de aparición del título completo */
@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de letras individuales - aplicada con JS */
.hero-copy h1.letter-animation {
  opacity: 1;
  /* Mantener el gradiente en el contenedor padre */
  display: inline-block;
}

.hero-copy h1.letter-animation span {
  display: inline-block;
  opacity: 0;
  animation: letterFadeIn 0.5s ease-out forwards;
  background: linear-gradient(40deg, #003d5c 20%, #0077b6 50%, #0daccc 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modo oscuro - gradiente azul vibrante y brillante */
/* La más parecida a tu imagen - Azul vibrante profesional */
body.dark-mode .hero-copy h1.letter-animation span {
  background: linear-gradient(40deg, #003d5c 0%, #0077b6 10%, #0daccc 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes letterFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) rotateX(-90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.lead { 
  color: rgba(0, 31, 63, 0.75); 
  margin: 0 0 20px 0;
  animation: slideInLeft 0.8s ease-out 0.2s both;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-ctas { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-bottom: 20px;
  margin-top: 8px;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

/* ============================================
   BOTONES GENERALES CON EFECTOS
   ============================================ */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  padding: 14px 28px; 
  border-radius: 12px; 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 16px;
  cursor: pointer; 
  border: 0; 
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto de onda al hacer hover */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary { 
  background: var(--color-accent); 
  color: #fff; 
  box-shadow: var(--shadow-soft); 
}

.btn-primary:hover {
  background: #00b8bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 206, 209, 0.3);
}

.btn-ghost { 
  background: transparent; 
  color: var(--color-primary); 
  border: 1px solid rgba(0,31,63,0.08); 
}

.btn-ghost:hover {
  background: rgba(0, 206, 209, 0.05);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* ============================================
   LISTA DE CONFIANZA (TRUST LIST)
   ============================================ */
.trust-list { 
  list-style: none; 
  padding: 0; 
  margin: 16px 0 0 0; 
  display: flex; 
  gap: 18px; 
  color: rgba(0, 31, 63, 0.8); 
  font-size: 14px;
  font-weight: 500;
  animation: slideInLeft 0.8s ease-out 0.6s both;
  flex-wrap: wrap;
  
}

.trust-list li {
  position: relative;
  padding-left: 24px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.trust-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 16px;
  animation: checkPop 0.5s ease-out;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ============================================
   VISUAL DEL HERO (IMAGEN) - MEJORADO
   ============================================ */
.hero-visual { 
  width: 100%; 
  border-radius: 20px; 
  overflow: hidden; 
  position: relative;
  animation: slideInRight 0.8s ease-out;
  box-shadow: 0 25px 70px rgba(0, 31, 63, 0.25), 0 15px 40px rgba(0, 206, 209, 0.15);
  border: 4px solid rgba(0, 206, 209, 0.3);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-visual img { 
  height: 500px; 
  object-fit: cover; 
  width: 100%; 
  filter: contrast(1.02) saturate(0.95); 
  display: block; 
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: scale(1.08);
  filter: contrast(1.05) saturate(1);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section { 
  padding: 40px 0; 
  margin-top: 0; 
}

/* ============================================
   SECCIÓN DE SERVICIOS - MEJORADA
   ============================================ */
.section-services {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  padding: 60px 0;
  position: relative;
}

/* Decoración de fondo */
.section-services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 206, 209, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(57, 110, 169, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header h2 {
  font-size: 32px;
  color: var(--color-primary);
  margin: 0 0 12px 0;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 8px rgba(0, 31, 63, 0.08);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: 2px;
  animation: expandWidth 0.8s ease-out 0.3s both;
}

@keyframes expandWidth {
  from { width: 0; }
  to { width: 60px; }
}

.section-sub { 
  margin: 0 0 20px 0; 
  color: rgba(0,0,0,0.7);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TARJETAS (CARDS) - MEJORADAS
   ============================================ */
.cards-grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: 1fr; 
}

.card { 
  background: linear-gradient(135deg, #ffffff 0%, #fafcfe 100%); 
  padding: 24px; 
  border-radius: 16px; 
  box-shadow: 0 8px 16px rgba(0,31,63,0.08), 0 16px 32px rgba(0,206,209,0.06), 0 0 1px rgba(0,0,0,0.1);
  border-left: 5px solid var(--color-accent);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
}

/* Animación escalonada para las tarjetas */
.card-animate {
  animation: cardAppear 0.6s ease-out forwards;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.05) 0%, transparent 100%);
  border-radius: 0 16px 0 100%;
  transition: all 0.4s ease;
  z-index: 0;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 30px 60px rgba(0,0,0,0.12), 0 0 1px rgba(0,0,0,0.15);
}

.card:hover::before {
  width: 180px;
  height: 180px;
  opacity: 0.8;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-icon { 
  font-size: 32px; 
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
  animation: none;
}

.card h3 { 
  margin: 0 0 10px 0; 
  color: var(--color-primary); 
  font-size: 18px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--color-accent);
}

.card p { 
  margin: 0 0 16px 0; 
  color: rgba(0,0,0,0.7); 
  font-size: 14px;
  line-height: 1.6;
}

.card-link { 
  color: var(--color-accent); 
  text-decoration: none; 
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card:hover .card-link {
  gap: 10px;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* Variantes de tarjetas con diferentes colores */
.card.featured { 
  border-left: 4px solid var(--color-accent);
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card.featured::before {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.08) 0%, transparent 100%);
}

.card.featured-primary {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card.featured-primary::before {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.06) 0%, transparent 100%);
}

.card.featured-primary:hover h3 {
  color: var(--color-primary);
}

.card.featured-success {
  border-left: 4px solid #28a745;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card.featured-success::before {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.08) 0%, transparent 100%);
}

.card.featured-success:hover h3 {
  color: #28a745;
}

.card.featured-success .card-link {
  color: #28a745;
}

.card.featured-warning {
  border-left: 4px solid #ff9800;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.card.featured-warning::before {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, transparent 100%);
}

.card.featured-warning:hover h3 {
  color: #ff9800;
}

.card.featured-warning .card-link {
  color: #ff9800;
}

/* ============================================
   PASOS DEL PROCESO
   ============================================ */
.process-steps { 
  list-style: none; 
  padding: 0; 
  margin: 12px 0 0 0; 
  display: grid; 
  gap: 12px; 
}

.process-steps li { 
  background: var(--bg-white); 
  padding: 14px; 
  border-radius: 10px; 
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.process-steps li:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0,31,63,0.12);
}

/* ============================================
   BLOG - MEJORADO
   ============================================ */
.blog-grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: 1fr; 
  margin-top: 32px;
}

/* ============================================
   POST CARD - MEJORADO PARA FULL CLICK
   ============================================ */

.post-card { 
  background: var(--bg-white); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.12), 0 16px 32px rgba(0,0,0,0.08);
  display: flex; 
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border-left: 4px solid var(--color-accent);
  position: relative;
  user-select: none;
}

/* Efecto hover mejorado */
.post-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18), 0 30px 60px rgba(0,0,0,0.12);
}

.post-card:active {
  transform: translateY(-8px) scale(0.99);
}

/* Imagen del post */
.post-card img { 
  height: 220px; 
  width: 100%; 
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.post-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

/* Meta del post */
.post-meta { 
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  transition: all 0.3s ease;
}

.post-card:hover .post-meta {
  background: rgba(0, 206, 209, 0.02);
}

.post-meta time {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-meta h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-card:hover .post-meta h3 {
  color: var(--color-accent);
}

.post-meta p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  font-size: 15px;
  flex-grow: 1;
}

/* Botón "Leer más" */
.read-more { 
  color: var(--color-accent); 
  font-weight: 600; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 8px 0;
}

.read-more::after {
  content: '';
  transition: transform 0.3s ease;
}

.post-card:hover .read-more {
  gap: 10px;
  transform: translateX(5px);
}

/* En modo edición, prevenir clic directo en la tarjeta */
.post-card.edit-mode {
  cursor: default;
}

.post-card.edit-mode:hover {
  transform: translateY(-8px) scale(1.01);
}

/* ============================================
   MODO OSCURO PARA POST CARD
   ============================================ */

body.dark-mode .post-card {
  background: #2c2c2c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

body.dark-mode .post-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #333333;
}

body.dark-mode .post-meta {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .post-card:hover .post-meta {
  background: rgba(0, 206, 209, 0.05);
}

body.dark-mode .post-meta h3 {
  color: #00CED1;
}

body.dark-mode .post-meta p {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .read-more {
  color: #00CED1;
}

/* ============================================
   RESPONSIVE - POST CARD
   ============================================ */

@media (max-width: 720px) {
  .post-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  
  .post-card img {
    height: 180px;
  }
  
  .post-meta {
    padding: 20px;
  }
  
  .post-meta h3 {
    font-size: 18px;
  }
  
  .post-meta p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .post-card {
    border-radius: 12px;
  }
  
  .post-card img {
    height: 160px;
  }
  
  .post-meta {
    padding: 16px;
    gap: 6px;
  }
  
  .post-meta h3 {
    font-size: 16px;
  }
  
  .post-meta p {
    font-size: 13px;
  }
  
  .read-more {
    font-size: 14px;
  }
}
/* ============================================
   CONTACTO - MEJORADO
   ============================================ */
.contact-grid { 
  display: grid; 
  gap: 24px; 
  grid-template-columns: 1fr; 
}

.contact-form { 
  background: var(--bg-white); 
  padding: 32px; 
  border-radius: 16px; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.12), 0 16px 32px rgba(0,0,0,0.08);
  display: flex; 
  flex-direction: column; 
  gap: 16px;
  border-left: 4px solid var(--color-accent);
  transition: all 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15), 0 20px 40px rgba(0,0,0,0.1);
}

.contact-form h1 {
  color: var(--color-primary);
  margin: 0 0 8px 0;
  font-size: 32px;
  position: relative;
  padding-bottom: 20px;
}

.contact-form > p {
  color: rgba(0,0,0,0.7);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.contact-form label { 
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea { 
  padding: 12px 16px; 
  border-radius: 10px; 
  border: 2px solid #E6E6E6; 
  font-size: 15px; 
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
  transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form .consent { 
  display: flex; 
  gap: 10px; 
  align-items: flex-start; 
  font-size: 14px;
  font-weight: 400;
  color: rgba(0,0,0,0.8);
  cursor: pointer;
}

.contact-form .consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 2px;
}

.contact-form button[type="submit"] {
  margin-top: 8px;
}

/* ============================================
   INFORMACIÓN DE CONTACTO
   ============================================ */
.contact-info { 
  background: linear-gradient(135deg, var(--color-primary) 0%, #2c5282 100%); 
  padding: 40px; 
  border-radius: 20px; 
  box-shadow: 
    0 10px 40px rgba(0, 31, 63, 0.2),
    0 20px 80px rgba(0, 31, 63, 0.1);
  display: flex; 
  flex-direction: column; 
  gap: 24px;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 15px 50px rgba(0, 31, 63, 0.25),
    0 25px 90px rgba(0, 31, 63, 0.15);
}

.contact-info h3 {
  color: #00CED1;
  margin: 0 0 20px 0;
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.contact-info p {
  margin: 0 0 20px 0;
  line-height: 1.8;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-info strong {
  color: #00CED1;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

/* Enlaces en la información de contacto */
.contact-info a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
}

.contact-info a i {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: #00CED1;
}

.contact-info a:hover {
  color: #00CED1;
  transform: translateX(5px);
  gap: 15px;
}
/* ============================================
   INFORMACIÓN DE CONTACTO - ESTILOS ADICIONALES
   ============================================ */

/* ============================================
   MODO CLARO - ESTILOS DEL CUADRO
   ============================================ */

body:not(.dark-mode) .contact-info a[href*="maps.google"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .contact-info a[href*="maps.google"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

/* Color para el teléfono */
body:not(.dark-mode) .contact-info a[href^="https://wa"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .contact-info a[href^="https://wa"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

/* Color para el horario */
body:not(.dark-mode) .contact-info .contact-horario {
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
}

body:not(.dark-mode) .contact-info .contact-horario i {
  color: #00CED1;
  font-size: 1.25rem;
}

body:not(.dark-mode) .contact-info p:hover .contact-horario {
  color: #00CED1;
  transform: translateX(5px);
}

/* Color para el email */
body:not(.dark-mode) .contact-info a[href^="mailto"],
body:not(.dark-mode) .contact-info a[href^="/cdn-cgi/l/email-protection"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .contact-info a[href^="mailto"]:hover,
body:not(.dark-mode) .contact-info a[href^="/cdn-cgi/l/email-protection"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

/* Botón "Agendar en línea" - Modo Claro */
body:not(.dark-mode) .contact-info .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

body:not(.dark-mode) .contact-info .btn-ghost:hover {
  background: #00CED1;
  border-color: #00CED1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.4);
}

/* ============================================
   MODO OSCURO - AJUSTES
   ============================================ */

body.dark-mode .contact-info {
  background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.2);
}

body.dark-mode .contact-info a[href*="maps.google"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body.dark-mode .contact-info a[href*="maps.google"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

body.dark-mode .contact-info a[href^="https://wa"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body.dark-mode .contact-info a[href^="https://wa"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

body.dark-mode .contact-info .contact-horario {
  color: #ffffff;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 8px 0;
}

body.dark-mode .contact-info .contact-horario i {
  color: #00CED1;
  font-size: 1.25rem;
}

body.dark-mode .contact-info p:hover .contact-horario {
  color: #00CED1;
  transform: translateX(5px);
}

body.dark-mode .contact-info a[href^="mailto"],
body.dark-mode .contact-info a[href^="/cdn-cgi/l/email-protection"] {
  color: #ffffff;
  transition: all 0.3s ease;
}

body.dark-mode .contact-info a[href^="mailto"]:hover,
body.dark-mode .contact-info a[href^="/cdn-cgi/l/email-protection"]:hover {
  color: #00CED1;
  transform: translateX(5px);
}

/* Botón "Agendar en línea" - Modo Oscuro */
body.dark-mode .contact-info .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

body.dark-mode .contact-info .btn-ghost:hover {
  background: #00CED1;
  border-color: #00CED1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.4);
}

/* ============================================
   ESTILOS GENERALES PARA AMBOS MODOS
   ============================================ */

.contact-info a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.contact-info a i {
  flex-shrink: 0;
  font-size: 20px;
}

.contact-info .contact-horario i {
  flex-shrink: 0;
  font-size: 20px;
}
/* ============================================
   INFORMACIÓN DE CONTACTO - COLORES PERSONALIZADOS
   ============================================ */

/* Color para la dirección (rojo/rosado) */
.contact-info a[href*="maps.google"] {
  color: #ff6b6b; /* Rojo/rosado para dirección */
}

.contact-info a[href*="maps.google"]:hover {
  color: #ee5a52;
}

/* Color para el teléfono (verde WhatsApp) */
.contact-info a[href^="https://wa"] {
  color: #25D366; /* Verde WhatsApp */
}

.contact-info a[href^="https://wa"]:hover {
  color: #1da851;
}

/* Color para el horario (amarillo/naranja) */
.contact-info .contact-horario {
  color: #ffa500; /* Naranja para horario */
}

.contact-info p:hover .contact-horario {
  color: #ff8c00;
}

/* Color para el email (azul cyan como tu marca) */
.contact-info a[href^="mailto"] {
  color: var(--color-accent); /* Cyan de tu marca */
}

.contact-info a[href^="mailto"]:hover {
  color: 	#9b59b6;
}

/* Botón "Agendar en línea" */
.contact-info .btn-ghost {
  color: var(--color-accent);
  border-color: rgba(0, 206, 209, 0.3);
}

.contact-info .btn-ghost:hover {
  background: rgba(0, 206, 209, 0.1);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* MODO OSCURO - AJUSTES */
body.dark-mode .contact-info a[href*="maps.google"] {
  color: #ff6b6b;
}

body.dark-mode .contact-info a[href^="https://wa"] {
  color: #25D366;
}

body.dark-mode .contact-info .contact-horario {
  color: #ffa500;
}

body.dark-mode .contact-info a[href^="mailto"] {
  color: 	#9b59b6;
}
/* ============================================
   SECCIÓN BLOG CALL - MEJORADA
   ============================================ */
.section-blog-call {
  text-align: center;
  align-items: center; 
  background: linear-gradient(1000deg, #94c3f1 0%, #e9ecef 100%);
  padding: 40px 20px;
  margin: 0;
  position: relative;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-blog-call::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.05) 0%, transparent 100%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-blog-call > * {
  position: relative;
  z-index: 1;
}

.section-blog-call h2 {
  color: var(--color-primary);
  margin-bottom: 12px;
  font-size: 28px;
}

.section-blog-call p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

/* ============================================
   SERVICIOS (PÁGINA SERVICIOS)
   ============================================ */
.service-list {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12), 0 16px 32px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-accent);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15), 0 20px 40px rgba(0,0,0,0.1);
}

.service-item h2 {
  color: var(--color-primary);
  font-size: 24px;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.service-item:hover h2 {
  color: var(--color-accent);
}

.service-item p {
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.service-item ul {
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.8;
  padding-left: 20px;
  margin: 0;
}

.service-item ul li {
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { 
  background: linear-gradient(135deg, #2c5282 0%, #396ea9 50%, #4a90d9 100%);
  border-top: 1px solid rgba(255,255,255,0.1); 
  padding: 18px 0 28px 0; 
  margin-top: 0;
}

.footer-inner { 
  display: flex; 
  gap: 8px; 
  justify-content: space-between; 
  align-items: flex-start; 
  flex-wrap: wrap; 
}

.footer-col { 
  min-width: 100px; 
}

.footer-inner a { 
  color: #ffffff; 
  text-decoration: none; 
  display: block; 
  margin: 4px 0; 
  transition: color 0.3s ease;
}

.footer-inner a:hover {
  color: var(--color-accent);
}

.footer-bottom { 
  margin-top: 12px; 
  padding-top: 12px; 
  border-top: 1px solid rgba(255,255,255,0.1); 
  text-align: center; 
}

.footer-bottom small,
.footer-bottom a {
  color: #e4dddd;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-col strong {
  font-size: 25px;
  color: #e4dddd;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.footer-col strong:hover {
  color: var(--color-accent);
  letter-spacing: 2px;
}

.footer-col p {
  font-size: 18px;
  color: #e4dddd;
  font-weight: 800;
  margin: 5px 0;
  line-height: 1.4;
}

/* ============================================
   ICONOS DE REDES SOCIALES - MEJORADOS
   ============================================ */
.wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.wrapper ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.wrapper ul li {
  width: 55px;
  height: 55px;
  cursor: pointer;
  border-radius: 50%;
  border: 5px solid #e4dddd;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: socialPulse 2s ease-in-out infinite;
}

@keyframes socialPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.wrapper ul li:hover {
  animation: none;
}

.wrapper ul li .fa {
  color: #e4dddd;
  font-size: 30px;
  margin: 5px 0;
  padding: 0;
  transition: all 0.5s ease;
}

.wrapper ul li:hover.facebook {
  border: 5px solid #054dac;
  box-shadow: 0 0 15px #054dac;
  transition: all 0.5s ease;
  transform: scale(1.1) rotate(360deg);
}

.wrapper ul li:hover .fa-facebook {
  color: #054dac;
  text-shadow: 0 0 15px #054dac;
  transition: all 0.5s ease;
}

.wrapper ul li:hover.instagram {
  border: 5px solid #bc2a8d;
  box-shadow: 0 0 15px #bc2a8d;
  transition: all 0.5s ease;
  transform: scale(1.1) rotate(360deg);
}

.wrapper ul li:hover .fa-instagram {
  color: #bc2a8d;
  text-shadow: 0 0 15px #bc2a8d;
  transition: all 0.5s ease;
}

.wrapper ul li:hover.whatsapp {
  border: 5px solid #4dc247;
  box-shadow: 0 0 15px #4dc247;
  transition: all 0.5s ease;
  transform: scale(1.1) rotate(360deg);
}

.wrapper ul li:hover .fa-whatsapp {
  color: #4dc247;
  text-shadow: 0 0 15px #4dc247;
  transition: all 0.5s ease;
}

/* ============================================
   LOGO EN EL FOOTER - NUEVO DISEÑO ELEGANTE
   Agregar al final de styles.css
   ============================================ */

.footer-logo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 400px;
}

/* Contenedor del logo con texto */
.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 8px;
  cursor: default;
}

/* Letra V grande decorativa */
.footer-logo-v {
  font-family: 'Lora', Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  color: #ffffff;
  line-height: 0.8;
  margin-right: -5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Contenedor del texto VERMONT y CONSULTORES */
.footer-logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 12px;
  margin-left: 8px;
}

/* Texto VERMONT */
.footer-logo-vermont {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Texto CONSULTORES */
.footer-logo-consultores {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 3px;
  line-height: 1;
  margin: 4px 0 0 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Eslogan debajo del logo */
.footer-logo-col > p {
  font-size: 18px;
  color: #e4dddd;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Efecto hover en todo el conjunto */
.footer-logo-wrapper:hover .footer-logo-v {
  transform: scale(1.05);
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.footer-logo-wrapper:hover .footer-logo-vermont {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  display: inline-block;
}

.footer-logo-wrapper:hover .footer-logo-consultores {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  display: inline-block;
}

.footer-logo-wrapper:hover .footer-logo-text-group {
  border-left: 2px solid #00ced1;
  box-shadow: -2px 0 10px rgba(0, 206, 209, 0.3);
}

/* ============================================
   MODO OSCURO PARA EL NUEVO LOGO
   ============================================ */
body.dark-mode .footer-logo-v,
body.dark-mode .footer-logo-vermont {
  color: #ffffff;
}

body.dark-mode .footer-logo-consultores {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .footer-logo-text-group {
  border-left-color: rgba(0, 206, 209, 0.4);
}

body.dark-mode .footer-logo-wrapper:hover .footer-logo-v,
body.dark-mode .footer-logo-wrapper:hover .footer-logo-vermont,
body.dark-mode .footer-logo-wrapper:hover .footer-logo-consultores {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

body.dark-mode .footer-logo-wrapper:hover .footer-logo-text-group {
  border-left-color: #d16900;
}

body.dark-mode .footer-logo-col > p {
  color: #e4dddd;
}

body.dark-mode .trust-list,
body.dark-mode .trust-list li {
  color: #ffffff;
}

/* ============================================
   RESPONSIVE DESIGN - TABLETS Y MÓVILES
   ============================================ */

/* TABLETS (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    max-width: 90%;
    padding: 0 15px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }
  .hero-copy {
    flex: 1;
    order: 1;
  }
  .hero-visual {
    flex: 1;
    order: 2;
    max-width: 400px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .header-inner {
    padding: 15px 20px;
  }

  .nav-list {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    text-align: center;
  }

  /* Ajustes adicionales para móviles */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .card {
    padding: 25px;
  }

  .trust-list {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   RESPONSIVE - LOGO DEL FOOTER
   ============================================ */
@media (max-width: 720px) {
  .footer-logo-v {
    font-size: 56px;
  }
  
  .footer-logo-vermont {
    font-size: 26px;
    letter-spacing: 1.5px;
  }
  
  .footer-logo-consultores {
    font-size: 9px;
    letter-spacing: 2px;
  }
  
  .footer-logo-col > p {
    font-size: 16px;
  }
  
  .footer-logo-text-group {
    padding-left: 10px;
    margin-left: 6px;
  }
}

@media (max-width: 480px) {
  .footer-logo-v {
    font-size: 48px;
  }
  
  .footer-logo-vermont {
    font-size: 22px;
    letter-spacing: 1px;
  }
  
  .footer-logo-consultores {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  
  .footer-logo-col > p {
    font-size: 14px;
  }

  /* Ajustes adicionales para móviles pequeños */
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card {
    padding: 20px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .trust-list li {
    font-size: 0.9rem;
  }
}

/* ============================================
   MODO OSCURO - MEJORADO
   ============================================ */
body.dark-mode {
  background: #1a1a1a;
  color: #e0e0e0;
}

body.dark-mode .site-header {
  background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .hero {
  background: linear-gradient(180deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 120px 0 40px 0;
  min-height: auto;
}

body.dark-mode .hero::before {
  background: radial-gradient(circle, rgba(0, 206, 209, 0.15) 0%, transparent 70%);
}

body.dark-mode .hero-copy h1 {
  color: var(--color-primary);
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 30%, #00b4d8 70%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .lead {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

body.dark-mode .card,
body.dark-mode .post-card,
body.dark-mode .contact-form,
body.dark-mode .contact-info,
body.dark-mode .process-steps li {
  background: #2c2c2c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

body.dark-mode .card h3,
body.dark-mode .section-services .section-header h2 {
  color: #00CED1;
}

body.dark-mode .card:hover h3 {
  color: #00CED1;
}

body.dark-mode .card p,
body.dark-mode .section-sub {
  color: rgba(224, 224, 224, 0.7);
}

body.dark-mode .site-footer {
  background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
  border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer-col p {
  color: #e0e0e0;
}

body.dark-mode .footer-col strong {
  color: #00CED1;
}

body.dark-mode .btn-ghost {
  color: #00CED1;
  border-color: rgba(0, 206, 209, 0.3);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form select,
body.dark-mode .contact-form textarea {
  background: #1a1a1a;
  border-color: #444;
  color: #e0e0e0;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
  color: #888;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form select:focus,
body.dark-mode .contact-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.2);
}

body.dark-mode .contact-form h1 {
  color: transparent !important;
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative !important;
  padding-bottom: 20px !important;
  display: block !important;
}

/* Agregar línea debajo del título Contacto en modo claro */
.contact-form h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  /* NO establecer width aquí - dejamos que la animación lo controle */
  height: 5px;
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%);
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3);
  border-radius: 3px;
  animation: expandContactLineLight 1.2s ease-out 0.3s both;
}

/* FORZAR estilos para modo claro - EXACTAMENTE igual que modo oscuro */
body:not(.dark-mode) .contact-form h1::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  /* NO establecer width aquí - dejamos que la animación lo controle */
  height: 5px !important;
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%) !important;
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3) !important;
  border-radius: 3px !important;
  animation: expandContactLineLight 1.2s ease-out 0.3s both !important;
}

/* Agregar línea debajo del título Contacto en modo oscuro */
body.dark-mode .contact-form h1::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  /* NO establecer width aquí - dejamos que la animación lo controle */
  height: 5px !important;
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%) !important;
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3) !important;
  border-radius: 3px !important;
  animation: expandContactLineSlow 1.2s ease-out 0.3s both !important;
}

body.dark-mode .contact-form > p {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .contact-form label {
  color: #00CED1;
}

body.dark-mode .contact-form .consent {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .contact-info h3 {
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .contact-info h3::after {
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%);
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3);
  height: 5px;
  border-radius: 3px;
}

body.dark-mode .contact-info p {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .contact-info strong {
  color: #00CED1;
}

body.dark-mode .map-placeholder {
  background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
  border-color: rgba(0, 206, 209, 0.2);
  color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .map-placeholder:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #454545 100%);
  border-color: var(--color-accent);
}

body.dark-mode .section-services {
  background: linear-gradient(180deg, #1a1a1a 0%, #2c2c2c 100%);
  padding: 60px 0;
}

body.dark-mode .section-services .section-header h2 {
  color: #00CED1;
}

body.dark-mode .section-services .section-sub {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .section-blog-call {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  padding: 60px 20px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 350px;
}

body.dark-mode .section-blog-call h2 {
  color: #00CED1;
  margin-bottom: 12px;
  font-size: 28px;
}

body.dark-mode .section-blog-call p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

body.dark-mode .section-blog-call .btn-ghost {
  color: #00CED1;
  border-color: rgba(0, 206, 209, 0.3);
  background: rgba(0, 206, 209, 0.05);
}

body.dark-mode .section-blog-call .btn-ghost:hover {
  background: rgba(0, 206, 209, 0.15);
  border-color: #00CED1;
}

body.dark-mode main {
  background: #1a1a1a;
}

body.dark-mode .section {
  margin-top: 0;
  background: transparent;
}

body.dark-mode .service-list {
  background: transparent;
}

body.dark-mode .service-item {
  background: #2c2c2c;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  border-left: 4px solid var(--color-accent);
}

body.dark-mode .service-item h2 {
  color: #00CED1;
}

body.dark-mode .service-item p,
body.dark-mode .service-item ul {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .service-item ul li {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .post-meta time {
  color: var(--color-accent);
}

body.dark-mode .post-meta h3 {
  color: #00CED1;
}

body.dark-mode .post-card:hover .post-meta h3 {
  color: #00CED1;
}

body.dark-mode .post-meta p {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .read-more {
  color: var(--color-accent);
}

/* ============================================
   MEDIA QUERIES - TABLET Y DESKTOP
   Pantallas >= 720px
   ============================================ */
@media(min-width: 720px) {
  .nav { 
    display: block; 
  }
  
  .cta-desktop { 
    display: inline-flex; 
    padding: 10px 14px; 
    border-radius: 10px; 
  }
  
  .menu-toggle { 
    display: none; 
  }
  
  .header-inner {
    gap: 25px;
  }
  
  .logo {
    margin-right: 40px;
  }

  .hero-inner { 
    flex-direction: row; 
    align-items: start; 
  }
  .hero-copy { 
    flex: 1; 
    padding-right: 20px; 
  }
  .hero-visual { 
    flex: 1; 
  }
  .hero-visual img { 
    height: 280px; 
  }

  .cards-grid { 
    grid-template-columns: repeat(2,1fr); 
  }
  
  .blog-grid { 
    grid-template-columns: repeat(3,1fr); 
  }
  
  .contact-grid { 
    grid-template-columns: 1fr 360px; 
    align-items: start; 
  }
}

/* ============================================
   MEDIA QUERIES - DESKTOP GRANDE
   Pantallas >= 1100px
   ============================================ */
@media(min-width: 1100px) {
  .hero-copy h1 { 
    font-size: 52px; 
  }
  
  .hero-visual img { 
    height: 340px; 
  }
  
  .cards-grid { 
    grid-template-columns: repeat(3,1fr); 
  }
  
  .section-blog-call h2 {
    font-size: 32px;
  }
}

/* ============================================
   RESPONSIVE SOCIAL ICONS
   ============================================ */
@media screen and (max-width: 640px) {
  .wrapper {
    width: 100%;
  }
  .wrapper ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .wrapper ul li {
    margin: 5px;
  }
}

@media screen and (max-width: 340px) {
  .wrapper {
    width: 100%;
  }
  .wrapper ul li {
    width: 50px;
    height: 50px;
    margin: 5px;
  }
  .wrapper ul li .fa {
    font-size: 20px;
  }
}

/* ============================================
   ESTILOS ADICIONALES PARA EL BLOG EDITOR
   Agregar estos estilos al final de styles.css
   ============================================ */

/* BOTÓN DE CONTRASEÑA */
#password-toggle {
  margin-left: 10px;
}

#password-toggle .theme-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

#password-toggle:hover .theme-icon {
  transform: scale(1.2) rotate(15deg);
}

/* MODAL GENERAL */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #ffffff;
  margin: 5% auto; /* Reducido para dar más espacio */
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px; 
  max-height: 85vh; 
  overflow-y: auto; 
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.3s ease;
}

/* Scrollbar personalizado para el modal */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--color-accent, #00CED1);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #00b8bb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-large {
  max-width: 600px;
}

.close-modal,
.close-post-modal {
  position: sticky; /* Mantener visible al hacer scroll */
  top: 0;
  right: 0;
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
  z-index: 10;
}

.close-modal:hover,
.close-post-modal:hover {
  color: #000;
  transform: rotate(90deg);
}

.modal-content h2 {
  color: var(--color-primary);
  margin: 0 0 16px 0;
  font-size: 24px;
}

.modal-content p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 16px;
}

.modal-content input[type="password"],
.modal-content input[type="text"],
.modal-content input[type="date"],
.modal-content textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid #E6E6E6;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-bottom: 16px;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.1);
}

.modal-content button {
  width: 100%;
  margin-top: 10px;
}

/* FORMULARIO DEL POST */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.color-picker {
  display: flex;
  gap: 12px;
  align-items: center;
}

.color-picker input[type="color"] {
  width: 60px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #E6E6E6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-picker input[type="color"]:hover {
  transform: scale(1.05);
  border-color: var(--color-accent);
}

.color-preview-box {
  width: 100px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #E6E6E6;
  background: var(--color-accent);
  transition: all 0.3s ease;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-buttons .btn {
  flex: 1;
  margin: 0;
}

/* BOTONES DE EDICIÓN EN LAS TARJETAS */
.post-card-edit-buttons {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 8px;
  z-index: 10;
}

.post-card.edit-mode .post-card-edit-buttons {
  display: flex;
}

.edit-btn,
.delete-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.edit-btn {
  background: #4CAF50;
  color: white;
}

.edit-btn:hover {
  background: #45a049;
  transform: scale(1.1) rotate(15deg);
}

.delete-btn {
  background: #f44336;
  color: white;
}

.delete-btn:hover {
  background: #da190b;
  transform: scale(1.1) rotate(-15deg);
}
/* AGREGAR AL FINAL DE TU styles.css - SECCIÓN DE BOTONES DE EDICIÓN */

/* ============================================
   BOTONES DE EDICIÓN EN LAS TARJETAS - MEJORADO
   ============================================ */

.post-card-edit-buttons {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  gap: 10px;
  z-index: 10;
  animation: fadeInButtons 0.3s ease-out;
}

@keyframes fadeInButtons {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.post-card.edit-mode .post-card-edit-buttons {
  display: flex;
}

/* ============================================
   BOTONES EDIT Y DELETE - NUEVO DISEÑO
   ============================================ */

.edit-btn,
.delete-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  font-weight: bold;
  backdrop-filter: blur(10px);
}

/* ============================================
   EFECTO DE FONDO ANIMADO EN BOTONES
   ============================================ */

.edit-btn::before,
.delete-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}

/* ============================================
   BOTÓN EDIT - VERDE CON GRADIENTE
   ============================================ */

.edit-btn {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
}

.edit-btn:hover {
  background: linear-gradient(135deg, #5CBF60 0%, #4CAF50 100%);
  transform: scale(1.2) rotate(15deg);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.5);
}

.edit-btn:active {
  transform: scale(0.95) rotate(15deg);
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

/* Animación de pulso para el botón edit */
.post-card.edit-mode .edit-btn {
  animation: editPulse 1.5s ease-in-out infinite;
}

@keyframes editPulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.6);
  }
}

/* ============================================
   BOTÓN DELETE - ROJO CON GRADIENTE
   ============================================ */

.delete-btn {
  background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
  color: white;
}

.delete-btn:hover {
  background: linear-gradient(135deg, #ff5252 0%, #f44336 100%);
  transform: scale(1.2) rotate(-15deg);
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.5);
}

.delete-btn:active {
  transform: scale(0.95) rotate(-15deg);
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

/* Animación de pulso para el botón delete */
.post-card.edit-mode .delete-btn {
  animation: deletePulse 1.5s ease-in-out infinite;
  animation-delay: 0.2s;
}

@keyframes deletePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.6);
  }
}

/* ============================================
   EFECTO ONDULANTE EN LOS BOTONES
   ============================================ */

.edit-btn::after,
.delete-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.edit-btn:hover::after,
.delete-btn:hover::after {
  animation: rippleWave 0.6s ease-out;
}

@keyframes rippleWave {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 60px;
    height: 60px;
    opacity: 0;
  }
}

/* ============================================
   MODO OSCURO PARA BOTONES DE EDICIÓN
   ============================================ */

body.dark-mode .edit-btn {
  background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

body.dark-mode .edit-btn:hover {
  background: linear-gradient(135deg, #81C784 0%, #66BB6A 100%);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.6);
}

body.dark-mode .delete-btn {
  background: linear-gradient(135deg, #EF5350 0%, #f44336 100%);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

body.dark-mode .delete-btn:hover {
  background: linear-gradient(135deg, #FF7675 0%, #EF5350 100%);
  box-shadow: 0 8px 24px rgba(244, 67, 54, 0.6);
}

/* ============================================
   INDICADOR DE MODO EDICIÓN MEJORADO
   ============================================ */

.edit-mode-indicator {
  position: fixed;
  top: 100px;
  right: 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
  z-index: 999;
  animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.edit-mode-indicator.active {
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-mode-indicator::before {
  content: '✓';
  font-size: 18px;
  font-weight: bold;
}

/* ============================================
   RESPONSIVE - BOTONES DE EDICIÓN
   ============================================ */

@media (max-width: 720px) {
  .edit-btn,
  .delete-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  
  .post-card-edit-buttons {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .edit-btn:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
  }
  
  .delete-btn:hover {
    transform: scale(1.15) rotate(-15deg);
    box-shadow: 0 6px 16px rgba(244, 67, 54, 0.5);
  }
}

@media (max-width: 480px) {
  .edit-btn,
  .delete-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .post-card-edit-buttons {
    gap: 5px;
  }
}

/* INDICADOR DE MODO EDICIÓN */
.edit-mode-indicator {
  position: fixed;
  top: 100px;
  right: 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
  z-index: 999;
  animation: slideInRight 0.5s ease;
  display: none;
}

.edit-mode-indicator.active {
  display: block;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   BOTONES DE EXPORTAR/IMPORTAR DATOS
   ============================================ */

#data-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* EFECTO DE CARGA */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* MODO OSCURO PARA MODALES */
body.dark-mode .modal-content {
  background: #2c2c2c;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

body.dark-mode .modal-content h2 {
  color: #00CED1;
}

body.dark-mode .modal-content p {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .modal-content input,
body.dark-mode .modal-content textarea {
  background: #1a1a1a;
  border-color: #444;
  color: #e0e0e0;
}

body.dark-mode .modal-content input:focus,
body.dark-mode .modal-content textarea:focus {
  border-color: var(--color-accent);
}

body.dark-mode .form-group label {
  color: #00CED1;
}

body.dark-mode .close-modal:hover,
body.dark-mode .close-post-modal:hover {
  color: #00CED1;
}

body.dark-mode .color-picker input[type="color"] {
  border-color: #444;
}

body.dark-mode .color-preview-box {
  border-color: #444;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .modal-content {
    width: 95%;
    margin: 3% auto;
    padding: 20px;
    max-height: 90vh; /* Más espacio en móvil */  
  }
  
  .modal-large {
    max-width: 95%;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
  
  .edit-mode-indicator {
    top: 80px;
    right: 10px;
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .modal-content {
    width: 95%;
    margin: 20% auto;
    padding: 20px;
  }
  
  .modal-large {
    max-width: 95%;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
  
  .edit-mode-indicator {
    top: 80px;
    right: 10px;
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ======================================= */
/* ====== ESTILOS PARA ARTÍCULOS EN MODAL ====== */
/* ======================================= */

/* Botón de edición del artículo */
.article-edit-btn {
  position: absolute;
  top: 20px;
  right: 60px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

.article-edit-btn:hover {
  background: #00b8bb;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.5);
}

/* Contenido del artículo en modal */
.article-modal-content {
  padding: 20px 0;
}

.article-section {
  margin-bottom: 32px;
  position: relative;
}

.article-date {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.article-title {
  font-size: 32px;
  color: var(--color-primary);
  margin: 0 0 24px 0;
  line-height: 1.2;
  font-weight: 700;
}

.article-featured-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 31, 63, 0.15);
}

.article-intro {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.8);
  padding: 20px;
  background: rgba(0, 206, 209, 0.05);
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  margin-bottom: 32px;
}

.article-section h2 {
  font-size: 24px;
  color: var(--color-primary);
  margin: 0 0 16px 0;
  font-weight: 700;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.8);
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.article-content ul li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
}

.article-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 18px;
}

.article-conclusion {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
  margin: 32px 0;
}

.article-conclusion h2 {
  color: var(--color-primary);
  font-size: 22px;
  margin: 0 0 16px 0;
}

.article-cta {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-radius: 12px;
  margin: 32px 0 0 0;
}

.article-cta h3 {
  color: var(--color-primary);
  margin: 0 0 12px 0;
  font-size: 22px;
}

.article-cta p {
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  font-size: 16px;
}

/* Botones de editar sección */
.edit-section-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--color-accent);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 10;
  display: none;
}

.edit-section-btn:hover {
  background: #00b8bb;
  transform: scale(1.05);
}

/* MODO OSCURO PARA ARTÍCULOS */
body.dark-mode .article-title {
  color: #00CED1;
}

body.dark-mode .article-section h2 {
  color: #00CED1;
}

body.dark-mode .article-content,
body.dark-mode .article-intro {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 206, 209, 0.08);
}

body.dark-mode .article-conclusion {
  background: #2c2c2c;
}

body.dark-mode .article-conclusion h2 {
  color: #00CED1;
}

body.dark-mode .article-conclusion .article-content {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .article-cta {
  background: #2c2c2c;
}

body.dark-mode .article-cta h3 {
  color: #00CED1;
}

body.dark-mode .article-cta p {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive para artículos en modal */
@media (max-width: 720px) {
  .article-title {
    font-size: 24px;
  }
  
  .article-section h2 {
    font-size: 20px;
  }
  
  .article-intro {
    font-size: 15px;
    padding: 16px;
  }
  
  .article-edit-btn {
    top: 10px;
    right: 50px;
    padding: 8px 14px;
    font-size: 14px;
  }
  
  .article-featured-image {
    max-height: 250px;
  }
}


/* ======================================= */
/* ====== ESTILOS PARA ARTÍCULOS EN MODAL ====== */
/* VERSIÓN ACTUALIZADA - AGREGAR AL FINAL DE STYLES.CSS */
/* ======================================= */

/* Modal de artículo con diseño mejorado */
.modal-article {
  background: linear-gradient(135deg, #ffffff 0%, #fafcfe 100%);
  padding: 0;
  box-shadow: 0 20px 80px rgba(0, 31, 63, 0.25), 0 10px 40px rgba(0, 206, 209, 0.15);
  border: 1px solid rgba(0, 206, 209, 0.15);
}

.article-modal-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 20px 30px;
  border-bottom: 2px solid rgba(0, 206, 209, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  border-radius: 16px 16px 0 0;
}

/* Botón de edición del artículo - Estilo mejorado */
.article-edit-btn {
  background: linear-gradient(135deg, var(--color-accent) 0%, #00b8bb 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.article-edit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.article-edit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.article-edit-btn .edit-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.article-edit-btn .edit-text {
  position: relative;
  z-index: 1;
}

.article-edit-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 206, 209, 0.5);
}

.article-edit-btn:hover .edit-icon {
  transform: rotate(15deg) scale(1.1);
}

.article-edit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Estado activo del modo edición */
.article-edit-btn.active {
  background: linear-gradient(135deg, #28a745 0%, #20803c 100%);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

/* Contenido del artículo en modal */
.article-modal-content {
  padding: 40px 50px;
}

.article-section {
  margin-bottom: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.article-date {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(0, 206, 209, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 206, 209, 0.2);
}

.article-title {
  font-size: 36px;
  color: var(--color-primary);
  margin: 0 0 32px 0;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 31, 63, 0.08);
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 15px 50px rgba(0, 31, 63, 0.2), 0 10px 25px rgba(0, 206, 209, 0.15);
  border: 3px solid rgba(0, 206, 209, 0.15);
  transition: transform 0.3s ease;
}

.article-featured-image:hover {
  transform: scale(1.02);
}

.article-intro {
  font-size: 18px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.85);
  padding: 28px;
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.08) 0%, rgba(0, 206, 209, 0.03) 100%);
  border-left: 5px solid var(--color-accent);
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.1);
  font-weight: 500;
}

.article-section h2 {
  font-size: 26px;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 3px solid rgba(0, 206, 209, 0.2);
  position: relative;
}

.article-section h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  border-radius: 2px;
}

.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-content ul {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}

.article-content ul li {
  padding-left: 40px;
  position: relative;
  margin-bottom: 16px;
  line-height: 1.8;
  transition: transform 0.2s ease;
}

.article-content ul li:hover {
  transform: translateX(5px);
}

.article-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 20px;
  width: 28px;
  height: 28px;
  background: rgba(0, 206, 209, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 206, 209, 0.3);
}

.article-conclusion {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 32px;
  border-radius: 16px;
  border-left: 5px solid var(--color-primary);
  margin: 48px 0;
  box-shadow: 0 8px 25px rgba(0, 31, 63, 0.1);
  position: relative;
  overflow: hidden;
}

.article-conclusion::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 31, 63, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.article-conclusion h2 {
  color: var(--color-primary);
  font-size: 24px;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.article-conclusion .article-content {
  position: relative;
  z-index: 1;
}

.article-cta {
  text-align: center;
  padding: 40px 30px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  border-radius: 16px;
  margin: 48px 0 0 0;
  box-shadow: 0 8px 25px rgba(0, 206, 209, 0.15);
  border: 2px solid rgba(0, 206, 209, 0.2);
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 206, 209, 0.08) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

.article-cta > * {
  position: relative;
  z-index: 1;
}

.article-cta h3 {
  color: var(--color-primary);
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 700;
}

.article-cta p {
  color: rgba(0, 0, 0, 0.75);
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.6;
}

.article-cta .btn {
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.3);
  padding: 14px 32px;
  font-size: 16px;
}

/* Botones de editar sección - Estilo mejorado */
.edit-section-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #00b8bb 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 10;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.3);
}

.edit-section-btn:hover {
  background: linear-gradient(135deg, #00b8bb 0%, var(--color-accent) 100%);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.5);
}

/* Bordes para secciones editables en modo edición */
.editable-section.editing {
  border: 2px dashed rgba(0, 206, 209, 0.4) !important;
  padding: 20px !important;
  border-radius: 12px !important;
  background: rgba(0, 206, 209, 0.02);
  transition: all 0.3s ease;
}

.editable-section.editing:hover {
  background: rgba(0, 206, 209, 0.05);
  border-color: rgba(0, 206, 209, 0.6) !important;
}

/* MODO OSCURO PARA ARTÍCULOS */
body.dark-mode .modal-article {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  border-color: rgba(0, 206, 209, 0.3);
}

body.dark-mode .article-modal-header {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  border-bottom-color: rgba(0, 206, 209, 0.3);
}

body.dark-mode .article-date {
  background: rgba(0, 206, 209, 0.15);
  border-color: rgba(0, 206, 209, 0.3);
}

body.dark-mode .article-title {
  color: #00CED1;
  text-shadow: 0 2px 8px rgba(0, 206, 209, 0.3);
}

body.dark-mode .article-section h2 {
  color: #00CED1;
  border-bottom-color: rgba(0, 206, 209, 0.3);
}

body.dark-mode .article-content,
body.dark-mode .article-intro {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.12) 0%, rgba(0, 206, 209, 0.06) 100%);
  box-shadow: 0 4px 15px rgba(0, 206, 209, 0.15);
}

body.dark-mode .article-content ul li::before {
  background: rgba(0, 206, 209, 0.2);
  border-color: rgba(0, 206, 209, 0.4);
}

body.dark-mode .article-conclusion {
  background: linear-gradient(135deg, #2c2c2c 0%, #1f1f1f 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .article-conclusion::before {
  background: radial-gradient(circle, rgba(0, 206, 209, 0.08) 0%, transparent 70%);
}

body.dark-mode .article-conclusion h2 {
  color: #00CED1;
}

body.dark-mode .article-conclusion .article-content {
  color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .article-cta {
  background: linear-gradient(135deg, #2c2c2c 0%, #1f1f1f 100%);
  border-color: rgba(0, 206, 209, 0.3);
  box-shadow: 0 8px 25px rgba(0, 206, 209, 0.2);
}

body.dark-mode .article-cta::before {
  background: radial-gradient(circle, rgba(0, 206, 209, 0.12) 0%, transparent 70%);
}

body.dark-mode .article-cta h3 {
  color: #00CED1;
}

body.dark-mode .article-cta p {
  color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .article-featured-image {
  border-color: rgba(0, 206, 209, 0.3);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 10px 25px rgba(0, 206, 209, 0.2);
}

body.dark-mode .editable-section.editing {
  background: rgba(0, 206, 209, 0.05);
  border-color: rgba(0, 206, 209, 0.4) !important;
}

body.dark-mode .editable-section.editing:hover {
  background: rgba(0, 206, 209, 0.08);
}

/* Responsive para artículos en modal */
@media (max-width: 720px) {
  .modal-article {
    width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .article-modal-header {
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .article-modal-content {
    padding: 25px 20px;
  }
  
  .article-title {
    font-size: 26px;
  }
  
  .article-section h2 {
    font-size: 22px;
  }
  
  .article-intro {
    font-size: 16px;
    padding: 20px;
  }
  
  .article-content {
    font-size: 16px;
  }
  
  .article-edit-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .article-edit-btn .edit-text {
    display: none;
  }
  
  .article-featured-image {
    max-height: 300px;
    border-radius: 12px;
  }
  
  .article-cta {
    padding: 30px 20px;
  }
  
  .article-cta h3 {
    font-size: 20px;
  }
}

/* ======================================= */
/* ====== ESTILOS ARTÍCULOS - REDISEÑO TOTAL ====== */
/* AGREGAR AL FINAL DE STYLES.CSS */
/* ======================================= */

/* ============================================
   OVERLAY Y CONTENEDOR PRINCIPAL
   ============================================ */
.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 31, 63, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.article-modal-overlay.active {
  opacity: 1;
}

.article-modal-container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  max-width: 900px;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.article-modal-overlay.active .article-modal-container {
  transform: scale(1) translateY(0);
}

/* Scrollbar personalizado */
.article-modal-container::-webkit-scrollbar {
  width: 10px;
}

.article-modal-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.article-modal-container::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

/* ============================================
   BOTÓN DE CERRAR
   ============================================ */
.article-close-btn {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 206, 209, 0.3);
  color: var(--color-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.article-close-btn:hover {
  background: var(--color-accent);
  color: white;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 206, 209, 0.4);
}

.close-icon {
  transition: transform 0.3s ease;
}

/* ============================================
   BOTÓN DE EDICIÓN FLOTANTE - INFERIOR DERECHA
   Habilita el modo edición - Permanece visible
   ============================================ */

.floating-edit-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  box-shadow: 0 10px 30px rgba(0, 206, 209, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 3s ease-in-out infinite;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mostrar cuando el modal está abierto */
.floating-edit-btn.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0); 
  }
  25% { 
    transform: translateY(-8px); 
  }
  50% { 
    transform: translateY(-12px); 
  }
  75% { 
    transform: translateY(-8px); 
  }
}

.floating-edit-btn:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 15px 40px rgba(0, 206, 209, 0.6);
  animation: none;
}

.floating-edit-btn:active {
  transform: scale(0.95);
}

/* Botón en modo edición activo */
.floating-edit-btn.active {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.5);
}

.floating-edit-btn.active:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: scale(1.15) rotate(-15deg);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.7);
}

.edit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.edit-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.floating-edit-btn:hover .edit-icon {
  transform: rotate(-15deg) scale(1.1);
}

/* ============================================
   MINI BOTONES DE EDITAR SECCIONES - IZQUIERDA
   ============================================ */

.mini-edit-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-edit-btn:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ============================================
   RESPONSIVE - BOTONES
   ============================================ */

@media (max-width: 720px) {
  /* Botón de cerrar más pequeño en móvil */
  .article-close-btn {
    width: 44px;
    height: 44px;
    top: 15px;
    right: 15px;
    font-size: 20px;
  }
  
  /* Botón de edición más pequeño en móvil */
  .floating-edit-btn {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }
  
  .edit-icon {
    width: 24px;
    height: 24px;
  }
  
  .floating-edit-btn:hover {
    transform: scale(1.1) rotate(15deg);
  }
  
  /* Mini botones más pequeños */
  .mini-edit-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* Botón de cerrar muy pequeño en móvil muy pequeño */
  .article-close-btn {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
    font-size: 18px;
  }
  
  /* Botón de edición más pequeño aún */
  .floating-edit-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  
  .edit-icon {
    width: 22px;
    height: 22px;
  }
  
  .floating-edit-btn:hover {
    transform: scale(1.1) rotate(15deg);
  }
  
  /* Mini botones aún más pequeños */
  .mini-edit-btn {
    width: 28px;
    height: 28px;
    font-size: 10px;
    top: 10px;
    left: 10px;
  }
}

/* ============================================
   MODO OSCURO - BOTONES
   ============================================ */

body.dark-mode .article-close-btn {
  background: rgba(26, 26, 46, 0.95);
  border-color: rgba(0, 206, 209, 0.4);
  color: #00CED1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .article-close-btn:hover {
  background: #00CED1;
  color: #1a1a2e;
  box-shadow: 0 12px 30px rgba(0, 206, 209, 0.6);
}

body.dark-mode .floating-edit-btn {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  box-shadow: 0 10px 30px rgba(0, 206, 209, 0.5);
}

body.dark-mode .floating-edit-btn:hover {
  box-shadow: 0 15px 40px rgba(0, 206, 209, 0.7);
}

body.dark-mode .floating-edit-btn.active {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.6);
}

body.dark-mode .floating-edit-btn.active:hover {
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.8);
}

body.dark-mode .mini-edit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

body.dark-mode .mini-edit-btn:hover {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.7);
}
/* ============================================
   HERO DEL ARTÍCULO
   ============================================ */
.article-hero {
  position: relative;
  padding: 60px 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.article-hero-content {
  position: relative;
  z-index: 1;
}

.article-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-hero-title {
  font-size: 42px;
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   IMAGEN PRINCIPAL
   ============================================ */
.article-image-section {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.article-main-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-image-section:hover .article-main-image {
  transform: scale(1.05);
}

/* ============================================
   CUERPO DEL ARTÍCULO
   ============================================ */
.article-body {
  padding: 60px 50px;
}

/* Introducción destacada */
.article-lead {
  position: relative;
  margin-bottom: 50px;
}

.lead-text {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 400;
  padding: 35px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  border-radius: 16px;
  border-left: 5px solid #667eea;
  position: relative;
  overflow: hidden;
}

.lead-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 120px;
  color: rgba(102, 126, 234, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Secciones */
.article-section {
  margin-bottom: 45px;
  position: relative;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.section-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.8);
}

.section-content p {
  margin-bottom: 20px;
}

.section-content ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.section-content ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.section-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* ============================================
   CONCLUSIÓN
   ============================================ */
.article-conclusion-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px;
  border-radius: 20px;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(102, 126, 234, 0.1);
}

.article-conclusion-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.conclusion-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.conclusion-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.conclusion-content {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}

/* ============================================
   CALL TO ACTION
   ============================================ */
.article-cta-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.cta-decoration {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
}

.cta-title {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin: 0 0 15px 0;
  position: relative;
  z-index: 1;
}

.cta-text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 30px 0;
  position: relative;
  z-index: 1;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

/* ============================================
   MINI BOTONES DE EDITAR
   ============================================ */
.mini-edit-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-edit-btn:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Secciones editables */
.editable-section.editing {
  border: 2px dashed rgba(102, 126, 234, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(102, 126, 234, 0.02);
  position: relative;
  transition: all 0.3s ease;
}

.editable-section.editing:hover {
  background: rgba(102, 126, 234, 0.05);
  border-color: rgba(102, 126, 234, 0.6);
}

/* ============================================
   MODAL DE CONTRASEÑA - MEJORADO
   ============================================ */

.password-modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.password-modal-overlay.active {
  opacity: 1;
}

.password-modal-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 45px;
  border-radius: 24px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border: 2px solid rgba(0, 206, 209, 0.2);
}

.password-modal-overlay.active .password-modal-box {
  transform: scale(1);
}

.password-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: #333333;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.password-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite;
}

.password-title {
  font-size: 28px;
  font-weight: 800;
  color: #001F3F;
  margin: 0 0 10px 0;
}

.password-subtitle {
  font-size: 15px;
  color: #555555;
  margin: 0 0 25px 0;
  line-height: 1.6;
}

.password-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #333333;
  background: #ffffff;
}

.password-input::placeholder {
  color: #999999;
}

.password-input:focus {
  outline: none;
  border-color: #00CED1;
  box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.1);
  color: #333333;
}

.password-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 206, 209, 0.3);
}

.password-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 206, 209, 0.4);
}

.password-submit-btn:active {
  transform: translateY(0);
}

.password-error {
  color: #e74c3c;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
}

/* ============================================
   MODO OSCURO PARA MODAL DE CONTRASEÑA
   ============================================ */

body.dark-mode .password-modal-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-color: rgba(0, 206, 209, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
}

body.dark-mode .password-close-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .password-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .password-title {
  color: #00CED1;
}

body.dark-mode .password-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .password-input {
  background: #2c2c2c;
  border-color: #444444;
  color: #ffffff;
}

body.dark-mode .password-input::placeholder {
  color: #888888;
}

body.dark-mode .password-input:focus {
  border-color: #00CED1;
  box-shadow: 0 0 0 4px rgba(0, 206, 209, 0.2);
}

body.dark-mode .password-submit-btn {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  box-shadow: 0 8px 20px rgba(0, 206, 209, 0.4);
}

body.dark-mode .password-submit-btn:hover {
  box-shadow: 0 12px 30px rgba(0, 206, 209, 0.6);
}

body.dark-mode .password-error {
  color: #ff6b6b;
}

/* ============================================
   MODAL DE EDICIÓN DE SECCIÓN
   ============================================ */
.section-modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.section-modal-overlay.active {
  opacity: 1;
}

.section-modal-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px;
  border-radius: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.section-modal-overlay.active .section-modal-box {
  transform: scale(1);
}

.section-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.section-modal-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 30px 0;
}

.section-edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.section-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.section-save-btn {
  flex: 1;
  padding: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-save-btn svg {
  width: 20px;
  height: 20px;
}

.section-save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.section-cancel-btn {
  flex: 1;
  padding: 16px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.section-cancel-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

/* ============================================
   NOTIFICACIONES TOAST
   ============================================ */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 16px 28px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(17, 153, 142, 0.4);
  z-index: 10002;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

.toast-notification.error {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

/* ============================================
   MODO OSCURO - TOTALMENTE DIFERENTE
   ============================================ */
body.dark-mode .article-modal-overlay {
  background: rgba(0, 0, 0, 0.98);
}

body.dark-mode .article-modal-container {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(0, 206, 209, 0.2);
}

body.dark-mode .article-close-btn {
  background: rgba(0, 206, 209, 0.15);
  border-color: rgba(0, 206, 209, 0.4);
  color: #00CED1;
}

body.dark-mode .article-close-btn:hover {
  background: #00CED1;
  color: #1a1a2e;
}

body.dark-mode .floating-edit-btn {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
}

body.dark-mode .floating-edit-btn.active {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

body.dark-mode .article-hero {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

body.dark-mode .article-badge {
  background: rgba(0, 206, 209, 0.25);
  border-color: rgba(0, 206, 209, 0.4);
}

body.dark-mode .lead-text {
  background: linear-gradient(135deg, rgba(0, 206, 209, 0.15) 0%, rgba(0, 206, 209, 0.05) 100%);
  border-left-color: #00CED1;
  color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .lead-text::before {
  color: rgba(0, 206, 209, 0.1);
}

body.dark-mode .section-title {
  color: #00CED1;
}

body.dark-mode .section-title::after {
  background: linear-gradient(90deg, #00CED1 0%, #0fa89a 100%);
}

body.dark-mode .section-content {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .section-content ul li::before {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
}

body.dark-mode .article-conclusion-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-color: rgba(0, 206, 209, 0.2);
}

body.dark-mode .article-conclusion-box::before {
  background: radial-gradient(circle, rgba(0, 206, 209, 0.15) 0%, transparent 70%);
}

body.dark-mode .conclusion-title {
  color: #00CED1;
}

body.dark-mode .conclusion-content {
  color: rgba(255, 255, 255, 0.85);
}

body.dark-mode .article-cta-box {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
}

body.dark-mode .cta-button {
  background: #1a1a2e;
  color: #00CED1;
}

body.dark-mode .mini-edit-btn {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
}

body.dark-mode .editable-section.editing {
  border-color: rgba(0, 206, 209, 0.4);
  background: rgba(0, 206, 209, 0.05);
}

body.dark-mode .editable-section.editing:hover {
  background: rgba(0, 206, 209, 0.1);
  border-color: rgba(0, 206, 209, 0.6);
}

body.dark-mode .password-modal-box,
body.dark-mode .section-modal-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(0, 206, 209, 0.2);
}

body.dark-mode .password-title,
body.dark-mode .section-modal-title {
  color: #00CED1;
}

/* ============================================
   CORRECCIÓN PARA HORARIO
   Agregar al final de styles.css
   ============================================ */

/* Estilo para el horario (que no es clickeable) */
.contact-info .contact-horario {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.contact-info .contact-horario i {
  flex-shrink: 0;
  font-size: 20px;
}

/* Efecto hover para el horario */
.contact-info p:hover .contact-horario {
  transform: translateX(5px);
}

/* ============================================
   LOGO DEL HEADER - DISEÑO VERTICAL
   (Mismo estilo que el logo del footer)
   ============================================ */

/* Logo principal del header */
.logo {
  margin-right: 30px;
  display: flex; 
  align-items: center; 
  text-decoration: none; 
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Contenedor del logo con texto en el HEADER */
.header-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

/* Letra V grande decorativa en el HEADER */
.header-logo-v {
  font-family: 'Lora', Georgia, serif;
  font-size: 65px; /* Más grande */
  font-weight: 700;
  color: #ffffff;
  line-height: 0.8;
  margin-right: -3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Contenedor del texto VERMONT y CONSULTORES en el HEADER */
.header-logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 8px;
  margin-left: 6px;
}

/* Texto VERMONT en el HEADER */
.header-logo-vermont {
  font-family: 'Poppins', sans-serif;
  font-size: 30px; /* Más grande */
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Texto CONSULTORES en el HEADER */
.header-logo-consultores {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; /* Más grande */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  line-height: 1;
  margin: 3px 0 0 0;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

/* Efecto hover en el logo del header */


.logo:hover .header-logo-text-group {
  border-left-color: var(--color-accent);
}

/* ============================================
   MODO OSCURO PARA EL LOGO DEL HEADER
   ============================================ */
body.dark-mode .header-logo-v,
body.dark-mode .header-logo-vermont {
  color: #ffffff;
}

body.dark-mode .header-logo-consultores {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .header-logo-text-group {
  border-left-color: rgba(0, 206, 209, 0.4);
}

body.dark-mode .logo:hover .header-logo-v,
body.dark-mode .logo:hover .header-logo-vermont,
body.dark-mode .logo:hover .header-logo-consultores {
  background: linear-gradient(90deg, #33E3E6 0%, #33A8B8 50%, #1A4D5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

body.dark-mode .logo:hover .header-logo-text-group {
  border-left-color: #00CED1;
}

/* ============================================
   RESPONSIVE - LOGO DEL HEADER
   ============================================ */
@media (max-width: 720px) {
  .header-logo-v {
    font-size: 50px;
  }
  
  .header-logo-vermont {
    font-size: 25px;
    letter-spacing: 1px;
  }
  
  .header-logo-consultores {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  
  .header-logo-text-group {
    padding-left: 6px;
    margin-left: 4px;
  }
}

@media (max-width: 480px) {
  .header-logo-v {
    font-size: 42px;
  }
  
  .header-logo-vermont {
    font-size: 20px;
    letter-spacing: 0.8px;
  }
  
  .header-logo-consultores {
    font-size: 7px;
    letter-spacing: 1px;
  }
}

/* ============================================
   AJUSTES RESPONSIVE COMPLETOS - VERMONT
   Agregar al FINAL de styles.css
   ============================================ */

/* ============================================
   MÓVILES PEQUEÑOS (320px - 480px)
   ============================================ */
@media (max-width: 480px) {
  /* HEADER MÁS COMPACTO */
  .header-inner {
    padding: 15px 20px;
    gap: 12px;
  }
  
  /* LOGO HEADER REDUCIDO */
  .header-logo-v {
    font-size: 28px !important;
  }
  
  .header-logo-vermont {
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
  }
  
  .header-logo-consultores {
    font-size: 4px !important;
    letter-spacing: 0.8px !important;
  }
  
  .header-logo-text-group {
    padding-left: 6px;
    margin-left: 4px;
  }
  
  /* BOTONES TEMA/MODO */
  .theme-toggle {
    width: 42px;
    height: 42px;
  }
  
  .theme-icon {
    font-size: 20px;
  }
  
  /* HERO COMPACTO */
  .hero {
    padding: 40px 0 30px 0;
  }
  
  .hero-copy h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 16px;
  }
  
  .lead {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .hero-visual img {
    height: 200px;
    border-radius: 12px;
  }
  
  /* BOTONES MÁS PEQUEÑOS */
  .btn {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
    
  }
  
  /* TRUST LIST COMPACTA */
  .trust-list {
    font-size: 11px;
    gap: 8px;
    margin-top: 8px;
  }
  
  .trust-list li {
    padding-left: 18px;
  }
  
  /* SECCIONES MÁS COMPACTAS */
  .section {
    padding: 30px 0;
  }
  
  .section-header h2 {
    font-size: 26px;
  }
  
  .section-sub {
    font-size: 14px;
  }
  
  /* TARJETAS MÁS COMPACTAS */
  .card {
    padding: 18px;
    border-radius: 12px;
  }
  
  .card-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .card p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .card-link {
    font-size: 13px;
  }
  
  /* BLOG MÁS COMPACTO */
  .blog-grid {
    gap: 18px;
  }
  
  .post-card {
    border-radius: 12px;
  }
  
  .post-card img {
    height: 180px;
  }
  
  .post-meta {
    padding: 18px;
  }
  
  .post-meta time {
    font-size: 11px;
  }
  
  .post-meta h3 {
    font-size: 17px;
    margin: 6px 0;
  }
  
  .post-meta p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .read-more {
    font-size: 13px;
    margin-top: 6px;
  }
  
  /* FOOTER MÁS COMPACTO */
  .site-footer {
    padding: 16px 0 24px 0;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-logo-v {
    font-size: 42px;
  }
  
  .footer-logo-vermont {
    font-size: 20px;
    letter-spacing: 1px;
  }
  
  .footer-logo-consultores {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  
  .footer-col p {
    font-size: 16px;
  }
  
  .wrapper ul {
    gap: 8px;
  }
  
  .wrapper ul li {
    width: 48px;
    height: 48px;
    border-width: 4px;
  }
  
  .wrapper ul li .fa {
    font-size: 26px;
  }
  
  /* CONTACTO MÁS COMPACTO */
  .contact-grid {
    gap: 18px;
  }
  
  .contact-form,
  .contact-info {
    padding: 24px 18px;
    border-radius: 12px;
  }
  
  .contact-form h1 {
    font-size: 26px;
    margin-bottom: 6px;
  }
  
  .contact-form label {
    font-size: 13px;
  }
  
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
  }
  
  .contact-form textarea {
    min-height: 120px;
  }
  
  .contact-form .consent {
    font-size: 12px;
    gap: 8px;
  }
  
  .contact-info h3 {
    font-size: 20px;
  }
  
  .contact-info p {
    font-size: 14px;
  }
  
  .contact-info a {
    font-size: 14px;
  }
  
  /* SERVICIOS MÁS COMPACTOS */
  .service-item {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  
  .service-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .service-item p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .service-item ul {
    font-size: 13px;
    padding-left: 18px;
  }
  
  /* MODALES EN MÓVIL */
  .modal-content {
    width: 95%;
    margin: 15% auto;
    padding: 24px;
    border-radius: 16px;
  }
  
  .modal-content h2 {
    font-size: 20px;
  }
  
  .modal-large {
    max-width: 95%;
  }
  
  /* ARTÍCULO EN MODAL */
  .article-modal-container {
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }
  
  .article-hero {
    padding: 40px 25px;
  }
  
  .article-hero-title {
    font-size: 28px;
  }
  
  .article-main-image {
    height: 250px;
  }
  
  .article-body {
    padding: 40px 25px;
  }
  
  .lead-text {
    font-size: 16px;
    padding: 24px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .section-content {
    font-size: 15px;
  }
  
  .article-cta-box {
    padding: 35px 25px;
  }
  
  .cta-title {
    font-size: 22px;
  }
  
  .cta-text {
    font-size: 15px;
  }
  
  /* BOTÓN SCROLL TO TOP */
  #scroll-top-btn {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
  }
}

/* ============================================
   MÓVILES MEDIANOS (481px - 720px)
   ============================================ */
@media (min-width: 481px) and (max-width: 720px) {
  /* LOGO HEADER */
  .header-logo-v {
    font-size: 38px;
  }
  
  .header-logo-vermont {
    font-size: 18px;
    letter-spacing: 1px;
  }
  
  .header-logo-consultores {
    font-size: 6px;
    letter-spacing: 1.5px;
  }
  
  /* HERO */
  .hero-copy h1 {
    font-size: 36px;
  }
  
  .lead {
    font-size: 15px;
  }
  
  .hero-visual img {
    height: 250px;
  }
  
  /* GRID DE 2 COLUMNAS */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* FOOTER */
  .footer-logo-v {
    font-size: 56px;
  }
  
  .footer-logo-vermont {
    font-size: 26px;
  }
  
  .footer-logo-consultores {
    font-size: 9px;
  }
}

/* ============================================
   TABLETS (721px - 1024px)
   ============================================ */
@media (min-width: 721px) and (max-width: 1024px) {
  .container {
    width: calc(100% - 60px);
    max-width: 960px;
  }
  
  /* HEADER EN TABLETS */
  .header-inner {
    padding: 20px 30px;
    gap: 20px;
  }
  
  .header-logo-v {
    font-size: 42px;
  }
  
  .header-logo-vermont {
    font-size: 20px;
    letter-spacing: 1.2px;
  }
  
  .header-logo-consultores {
    font-size: 6.5px;
    letter-spacing: 1.8px;
  }
  
  .nav-list {
    gap: 15px;
  }
  
  .nav-list a {
    padding: 6px 12px;
    font-size: 14px;
  }
  
  .cta-desktop {
    padding: 10px 18px;
    font-size: 14px;
  }
  
  /* HERO EN TABLETS */
  .hero {
    padding: 50px 0 35px 0;
  }
  
  .hero-copy h1 {
    font-size: 44px;
  }
  
  .lead {
    font-size: 16px;
  }
  
  .hero-visual img {
    height: 300px;
  }
  
  /* GRID DE 2 COLUMNAS PARA TARJETAS */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* GRID DE 2-3 COLUMNAS PARA BLOG */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  /* CONTACTO EN TABLETS */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* SERVICIOS */
  .service-item {
    padding: 26px;
  }
  
  .service-item h2 {
    font-size: 22px;
  }
  
  /* FOOTER EN TABLETS */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-logo-v {
    font-size: 64px;
  }
  
  .footer-logo-vermont {
    font-size: 28px;
  }
  
  .footer-logo-consultores {
    font-size: 10px;
  }
}

/* ============================================
   LAPTOPS (1025px - 1440px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
  
  /* HEADER EN LAPTOPS */
  .header-inner {
    padding: 20px 25px;
  }
  
  /* HERO OPTIMIZADO */
  .hero-copy h1 {
    font-size: 50px;
  }
  
  .lead {
    font-size: 17px;
  }
  
  .hero-visual img {
    height: 320px;
  }
  
  /* GRID DE 3 COLUMNAS */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  /* CONTACTO EN 2 COLUMNAS */
  .contact-grid {
    grid-template-columns: 1fr 400px;
    gap: 28px;
  }
  
  /* SERVICIOS */
  .service-item {
    padding: 28px;
  }
  
  .service-item h2 {
    font-size: 26px;
  }
}

/* ============================================
   DESKTOPS GRANDES (1441px+)
   ============================================ */
@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
  }
  
  /* HERO EN PANTALLAS GRANDES */
  .hero-copy h1 {
    font-size: 58px;
  }
  
  .lead {
    font-size: 18px;
  }
  
  .hero-visual img {
    height: 380px;
  }
  
  /* GRID DE 4 COLUMNAS PARA TARJETAS */
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
  }
  
  /* GRID DE 3 COLUMNAS PARA BLOG */
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  
  /* CONTACTO */
  .contact-grid {
    grid-template-columns: 1fr 420px;
    gap: 32px;
  }
}

/* ============================================
   OPTIMIZACIONES PARA TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  /* AUMENTAR ÁREAS TÁCTILES */
  .btn {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 18px;
  }
  
  .nav-list a {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
  }
  
  .theme-toggle {
    min-width: 48px;
    min-height: 48px;
  }
  
  /* DESACTIVAR HOVER EN TOUCH */
  .card:hover,
  .post-card:hover,
  .service-item:hover {
    transform: none;
  }
  
  .btn:hover::before {
    width: 0;
    height: 0;
  }
  
  /* MEJORAR CLICKEABILIDAD */
  .read-more {
    padding: 8px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  
  .card-link {
    padding: 6px 0;
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  
  /* SCROLL SUAVE EN TOUCH */
  * {
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================
   MODO LANDSCAPE EN MÓVILES
   ============================================ */
@media (max-width: 720px) and (orientation: landscape) {
  /* HERO MÁS BAJO */
  .hero {
    padding: 25px 0;
  }
  
  .hero-inner {
    flex-direction: row;
    gap: 20px;
    align-items: start;
  }
  .hero-copy {
    flex: 1;
  }
  .hero-visual {
    flex: 1;
  }
  
  .hero-visual img {
    height: 180px;
  }
  
  .hero-copy h1 {
    font-size: 28px;
  }
  
  .lead {
    font-size: 13px;
  }
  
  /* HEADER MÁS COMPACTO */
  .header-inner {
    padding: 10px 20px;
  }
  
  .header-logo-v {
    font-size: 32px;
  }
  
  .header-logo-vermont {
    font-size: 15px;
  }
  
  .header-logo-consultores {
    font-size: 5px;
  }
  
  /* REDUCIR ESPACIADO VERTICAL */
  .section {
    padding: 25px 0;
  }
  
  .card {
    padding: 16px;
  }
  
  .site-footer {
    padding: 16px 0 20px 0;
  }
  
  /* MODALES MÁS PEQUEÑOS */
  .modal-content {
    margin: 5% auto;
    padding: 20px;
  }
}

/* ============================================
   MODO LANDSCAPE EN TABLETS
   ============================================ */
@media (min-width: 721px) and (max-width: 1024px) and (orientation: landscape) {
  /* APROVECHAR MEJOR EL ESPACIO HORIZONTAL */
  .hero-inner {
    gap: 40px;
  }
  .hero-visual img {
    height: 280px;
  }
  /* GRID DE 3 COLUMNAS EN LANDSCAPE */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   ACCESIBILIDAD - ANIMACIONES REDUCIDAS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* MANTENER OPACIDAD PARA ACCESIBILIDAD */
  .card,
  .post-card,
  .section {
    opacity: 1 !important;
  }
}

/* ============================================
   MODO ALTO CONTRASTE (ACCESIBILIDAD)
   ============================================ */
@media (prefers-contrast: high) {
  /* AUMENTAR CONTRASTE */
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .card,
  .post-card,
  .contact-form,
  .contact-info {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background: #0000ff;
    color: #ffffff;
    border: 2px solid #000000;
  }
  
  .btn-ghost {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
  }
}

/* ============================================
   MODO IMPRESIÓN
   ============================================ */
@media print {
  /* OCULTAR ELEMENTOS NO NECESARIOS */
  .site-header,
  .site-footer,
  .menu-toggle,
  .theme-toggle,
  .hero-ctas,
  .cta-desktop,
  .floating-edit-btn,
  #scroll-top-btn,
  .edit-btn,
  .delete-btn,
  .mini-edit-btn {
    display: none !important;
  }
  
  /* OPTIMIZAR PARA IMPRESIÓN */
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero,
  .section,
  .card,
  .service-item {
    page-break-inside: avoid;
    box-shadow: none !important;
  }
  
  a {
    text-decoration: underline;
    color: #0000ff;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 12px;
    color: #666;
  }
  
  .hero-visual img,
  .post-card img,
  .article-main-image {
    max-height: 300px;
  }
  
  /* AJUSTAR TAMAÑOS */
  h1 {
    font-size: 24pt;
  }
  
  h2 {
    font-size: 20pt;
  }
  
  h3 {
    font-size: 16pt;
  }
  
  p {
    font-size: 12pt;
    line-height: 1.5;
  }
}

/* ============================================
   FIX PARA SAFARI iOS
   ============================================ */
@supports (-webkit-touch-callout: none) {
  /* FIX PARA ALTURA EN iOS */
  .hero {
    min-height: -webkit-fill-available;
  }
  
  /* FIX PARA SCROLL EN MODALES */
  .article-modal-container,
  .modal-content {
    -webkit-overflow-scrolling: touch;
  }
  
  /* FIX PARA BOTONES */
  button,
  .btn {
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* FIX PARA INPUTS */
  input,
  textarea,
  select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
  }
}

/* ============================================
   FIX PARA SAMSUNG INTERNET BROWSER
   ============================================ */
@supports (-webkit-appearance: none) {
  /* MEJORAR RENDERIZADO */
  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ============================================
   OPTIMIZACIÓN PARA PANTALLAS PEQUEÑAS (< 360px)
   ============================================ */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }
  
  .header-inner {
    padding: 12px 15px;
  }
  
  .header-logo-v {
    font-size: 24px !important;
  }
  
  .header-logo-vermont {
    font-size: 11px !important;
  }
  
  .header-logo-consultores {
    font-size: 3.5px !important;
  }
  
  .hero-copy h1 {
    font-size: 28px;
  }
  
  .lead {
    font-size: 13px;
  }
  
  .btn {
    padding: 9px 12px;
    font-size: 13px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card h3 {
    font-size: 15px;
  }
  
  .card p {
    font-size: 12px;
  }
}

/* ============================================
   OPTIMIZACIÓN PARA PANTALLAS ULTRA ANCHAS (> 2560px)
   ============================================ */
@media (min-width: 2560px) {
  .container {
    max-width: 1800px;
  }
  
  .hero-copy h1 {
    font-size: 70px;
  }
  
  .lead {
    font-size: 30px;
  }
  
  .section-header h2 {
    font-size: 58px;
  }
  
  .card h3 {
    font-size: 24px;
  }
  
  .card p {
    font-size: 18px;
  }
}

/* ============================================
   PANTALLAS GRANDES (1441px+)
   ============================================ */
@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .card {
    padding: 40px;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .footer-inner {
    padding: 60px 0;
  }
}

/* ============================================
   NOTIFICACIONES DE CONTACTO
   ============================================ */

.notification-contact {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  word-wrap: break-word;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* Notificación de Éxito - Modo Claro */
.notification-contact.success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-left: 5px solid #28a745;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
  font-weight: 600;
}

/* Notificación de Error - Modo Claro (fondo rosado como en la imagen) */
.notification-contact.error {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
  color: #c62828;
  border-left: 5px solid #e91e63;
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
  font-weight: 600;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ============================================
   BOTÓN DE EDICIÓN FLOTANTE - STICKY
   Permanece visible mientras desplazas el artículo
   ============================================ */

.floating-edit-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  box-shadow: 0 10px 30px rgba(0, 206, 209, 0.4);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 3s ease-in-out infinite;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mostrar cuando el modal está abierto */
.floating-edit-btn.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0); 
  }
  25% { 
    transform: translateY(-8px); 
  }
  50% { 
    transform: translateY(-12px); 
  }
  75% { 
    transform: translateY(-8px); 
  }
}

.floating-edit-btn:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 15px 40px rgba(0, 206, 209, 0.6);
  animation: none;
}

.floating-edit-btn:active {
  transform: scale(0.95);
}

/* Botón en modo edición activo */
.floating-edit-btn.active {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.5);
}

.floating-edit-btn.active:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: scale(1.15) rotate(-15deg);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.7);
}

.edit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.edit-icon {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.floating-edit-btn:hover .edit-icon {
  transform: rotate(-15deg) scale(1.1);
}

/* ============================================
   RESPONSIVE - BOTÓN FLOTANTE
   ============================================ */

@media (max-width: 720px) {
  .floating-edit-btn {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }
  
  .edit-icon {
    width: 24px;
    height: 24px;
  }
  
  .floating-edit-btn:hover {
    transform: scale(1.1) rotate(15deg);
  }
}

@media (max-width: 480px) {
  .floating-edit-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  
  .edit-icon {
    width: 22px;
    height: 22px;
  }
  
  .floating-edit-btn:hover {
    transform: scale(1.1) rotate(15deg);
  }
}

/* ============================================
   MODO OSCURO - BOTÓN FLOTANTE
   ============================================ */

body.dark-mode .floating-edit-btn {
  background: linear-gradient(135deg, #00CED1 0%, #0fa89a 100%);
  box-shadow: 0 10px 30px rgba(0, 206, 209, 0.5);
}

body.dark-mode .floating-edit-btn:hover {
  box-shadow: 0 15px 40px rgba(0, 206, 209, 0.7);

/* ============================================
   MODO OSCURO - NOTIFICACIONES
   ============================================ */

/* Notificación de Éxito - Modo Oscuro */
body.dark-mode .notification-contact.success {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
  color: #c8e6c9;
  border-left: 5px solid #66bb6a;
  box-shadow: 0 6px 20px rgba(102, 187, 106, 0.5);
}

/* Notificación de Error - Modo Oscuro */
body.dark-mode .notification-contact.error {
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
  color: #ffcdd2;
  border-left: 5px solid #ef5350;
  box-shadow: 0 6px 20px rgba(239, 83, 80, 0.5);
}
}

/* ============================================
   TÍTULOS PRINCIPALES - ESTILO "BLOG"
   Con línea decorativa cyan debajo
   ============================================ */

.section h1,
.page-title,
h1.main-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 40px 0;
  padding-bottom: 20px;
  position: relative;
  display: inline-block;
  line-height: 1.1;
}

.section h1::after,
.page-title::after,
h1.main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 9000px; /* Línea mucho más larga - casi al tope */
  height: 5px;
  background: #00CED1;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 206, 209, 0.5);
  animation: expandWidthLarge 0.8s ease-out 0.3s both;
}

/* Modo claro - Mejorar efecto de la línea */
body:not(.dark-mode) .section h1::after,
body:not(.dark-mode) .page-title::after,
body:not(.dark-mode) h1.main-title::after {
  width: 9000px; /* Línea mucho más larga */
  box-shadow: 
    0 3px 20px rgba(0, 206, 209, 0.8), 
    0 0 40px rgba(0, 229, 255, 0.4),
    0 1px 3px rgba(0, 206, 209, 0.6);
  /* Efecto brillante similar al modo oscuro */
  animation: expandWidthLarge 0.8s ease-out 0.3s both;
  /* Animación de aparición gradual */
}

/* Animación para la línea larga */
@keyframes expandWidthLarge {
  from { 
    width: 0; 
    opacity: 0;
  }
  to { 
    width: 1180px; /* Ancho final más grande */
    opacity: 1;
  }
}

/* Variante centrada */
h1.centered {
  display: block;
  text-align: center;
}

h1.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Modo oscuro */
body.dark-mode .section h1,
body.dark-mode .page-title,
body.dark-mode h1.main-title {
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .section h1::after,
body.dark-mode .page-title::after {
  width: 90000px; /* Línea mucho más larga en modo oscuro */
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%);
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3);
  height: 5px;
  border-radius: 3px;
  animation: expandWidthLarge 0.8s ease-out 0.3s both;
}

/* ============================================
   CONTACTO - PÁGINA MEJORADA
   ============================================ */

/* Grid de contacto con formulario y datos */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
  }
}

/* Formulario de contacto mejorado - COLOR AZUL MEJORADO */
.contact-form {
  background: linear-gradient(135deg, #d4e8f0 0%, #e1f0f7 100%);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 
    0 8px 30px rgba(0, 31, 63, 0.15),
    0 2px 8px rgba(0, 119, 182, 0.1);
  border-top: 5px solid #00CED1;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%);
  box-shadow: 0 2px 8px rgba(0, 206, 209, 0.4);
}

body.dark-mode .contact-form {
  background: linear-gradient(180deg, #1e293b 0%, #2d3748 100%);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.2);
}

.contact-form h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #e0e7ef;
}

body.dark-mode .contact-form h2 {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Información de contacto - NUEVO ESTILO AZUL para modo claro */
.contact-info {
  background: linear-gradient(135deg, #d4e8f0 0%, #e1f0f7 100%) !important;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 
    0 8px 30px rgba(0, 31, 63, 0.15),
    0 2px 8px rgba(0, 119, 182, 0.1);
  border-top: 5px solid #00CED1;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%);
  box-shadow: 0 2px 8px rgba(0, 206, 209, 0.4);
}

body.dark-mode .contact-info {
  background: linear-gradient(180deg, #1e293b 0%, #2d3748 100%) !important;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.2);
}

.contact-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Línea decorativa debajo del h3 - igual que en contacto */
.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%; /* Más larga en modo claro */
  max-width: 600px;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #00a8cc 50%, #0077b6 100%);
  border-radius: 3px;
  box-shadow: 0 3px 20px rgba(0, 206, 209, 0.8), 0 0 40px rgba(0, 229, 255, 0.4);
  animation: expandContactLine 0.8s ease-out 0.3s both;
}

/* Animación para la línea de Datos */
/* Animación para línea de Contacto en modo claro */
@keyframes expandContactLineSmall {
  from { 
    width: 0;
    opacity: 0;
  }
  to { 
    width: 95%;
    max-width: 700px;
    opacity: 1;
  }
}

/* Animación para línea de Contacto en MODO CLARO (90%) */
@keyframes expandContactLineLight {
  from { 
    width: 0;
    opacity: 0;
  }
  to { 
    width: 90%;
    max-width: 600px;
    opacity: 1;
  }
}

/* Animación normal para línea de Contacto */
@keyframes expandContactLine {
  from { 
    width: 0;
    opacity: 0;
  }
  to { 
    width: 95%;
    max-width: 700px;
    opacity: 1;
  }
}

/* Animación MÁS LENTA para línea de Contacto en modo oscuro */
@keyframes expandContactLineSlow {
  from { 
    width: 0;
    opacity: 0;
  }
  to { 
    width: 95%;
    max-width: 700px;
    opacity: 1;
  }
}

body.dark-mode .contact-info h3 {
  color: transparent !important;
  background: linear-gradient(90deg, #003d5c 0%, #0077b6 50%, #00CED1 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.dark-mode .contact-info h3::after {
  /* NO establecer width aquí, dejamos que la animación lo controle */
  background: linear-gradient(90deg, #00ced1 0%, #005b70 70%, #011627 100%) !important;
  /* ↑ Mismo degradado que los títulos en modo oscuro */
  box-shadow: 0 2px 5px rgba(0, 206, 209, 0.3) !important;
  /* ↑ Misma sombra que los títulos */
  animation: expandContactLine 0.8s ease-out 0.3s both !important;
}

.contact-info p {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-info strong {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 600;
}

body.dark-mode .contact-info strong {
  color: #00CED1 !important;
}

.contact-info a {
  color: #9333EA;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  padding: 8px 0;
}

/* Email específicamente en MORADO en modo claro */
body:not(.dark-mode) .contact-info a[href^="mailto"] {
  color: #9333EA !important;
}

body:not(.dark-mode) .contact-info a[href^="mailto"]:hover {
  color: #7c3aed !important;
}

body:not(.dark-mode) .contact-info a[href^="mailto"] i {
  color: #9333EA !important;
}

body.dark-mode .contact-info a {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.dark-mode .contact-info a:hover {
  color: #00CED1 !important;
}

body.dark-mode .contact-info p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* ESTILOS ESPECÍFICOS POR TIPO DE INFORMACIÓN - MODO CLARO */

/* Dirección (ubicación) - Rojo/Rosado */
body:not(.dark-mode) .contact-info a[href*="maps.google"] {
  color: #ff4d6d !important;
}

body:not(.dark-mode) .contact-info a[href*="maps.google"]:hover {
  color: #e63946 !important;
}

body:not(.dark-mode) .contact-info a[href*="maps.google"] i {
  color: #ff4d6d !important;
}

/* Teléfono (WhatsApp) - Verde */
body:not(.dark-mode) .contact-info a[href^="https://wa"] {
  color: #25D366 !important;
}

body:not(.dark-mode) .contact-info a[href^="https://wa"]:hover {
  color: #1da851 !important;
}

body:not(.dark-mode) .contact-info a[href^="https://wa"] i {
  color: #25D366 !important;
}

/* Horario - Naranja/Amarillo */
body:not(.dark-mode) .contact-horario {
  color: #ffa500 !important;
}

body:not(.dark-mode) .contact-horario i {
  color: #ffa500 !important;
}

.contact-info a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
  gap: 15px;
}

.contact-info a i {
  font-size: 1.25rem;
  color: var(--color-accent);
}

body.dark-mode .contact-info a i {
  color: inherit;
}

/* ESTILOS ESPECÍFICOS POR TIPO DE INFORMACIÓN - MODO OSCURO */

/* Dirección (ubicación) - Rojo/Rosado en modo oscuro */
body.dark-mode .contact-info a[href*="maps.google"] {
  color: #ff4d6d !important;
}

body.dark-mode .contact-info a[href*="maps.google"]:hover {
  color: #ff6b85 !important;
}

body.dark-mode .contact-info a[href*="maps.google"] i {
  color: #ff4d6d !important;
}

/* Teléfono (WhatsApp) - Verde en modo oscuro */
body.dark-mode .contact-info a[href^="https://wa"] {
  color: #25D366 !important;
}

body.dark-mode .contact-info a[href^="https://wa"]:hover {
  color: #34e077 !important;
}

body.dark-mode .contact-info a[href^="https://wa"] i {
  color: #25D366 !important;
}

/* Email - Morado en modo oscuro */
body.dark-mode .contact-info a[href^="mailto"] {
  color: #9333EA !important;
}

body.dark-mode .contact-info a[href^="mailto"]:hover {
  color: #a855f7 !important;
}

body.dark-mode .contact-info a[href^="mailto"] i {
  color: #9333EA !important;
}

/* Horario - Naranja/Amarillo en modo oscuro */
body.dark-mode .contact-horario {
  color: #ffa500 !important;
}

body.dark-mode .contact-horario i {
  color: #ffa500 !important;
}

.contact-horario {
  color: var(--color-primary);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.dark-mode .contact-horario {
  color: #ffffff;
}

.contact-horario i {
  color: var(--color-accent);
  font-size: 1.25rem;
}

body.dark-mode .contact-horario i {
  color: inherit;
}

/* Botón en la info de contacto */
.contact-info .btn {
  margin-top: 30px;
  width: 100%;
  justify-content: center;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  padding: 16px 24px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.contact-info .btn:hover {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 209, 0.4);
}

body.dark-mode .contact-info .btn:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}


/* ============================================
   RESPONSIVE PARA CONTACTO
   ============================================ */

@media (max-width: 1023px) {
  .contact-form,
  .contact-info {
    padding: 30px 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
  }
}

@media (max-width: 640px) {
  .contact-form,
  .contact-info {
    padding: 24px 20px;
    border-radius: 16px;
  }
}

/* ============================================
   ESTILOS UNIVERSALES PARA CONTENEDORES
   Aplicar a BLOG, SERVICIOS, CONTACTO (NO a Inicio)
   ============================================ */

/* Contenedores tipo Card - COLOR AZUL MEJORADO */
body:not(.page-inicio) .card,
body:not(.page-inicio) .article-card,
body:not(.page-inicio) .service-card,
body:not(.page-inicio) .feature-card,
body:not(.page-inicio) .post-card {
  background: linear-gradient(135deg, #d4e8f0 0%, #e1f0f7 100%) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 8px 30px rgba(0, 31, 63, 0.15),
    0 2px 8px rgba(0, 119, 182, 0.1) !important;
  border-top: 5px solid #00CED1 !important;
  border-left: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* BLOG: Raya a la IZQUIERDA - usando article-card y post-card que solo están en blog */
body:not(.page-inicio):not(.page-servicios):not(.page-contacto) .article-card,
body:not(.page-inicio):not(.page-servicios):not(.page-contacto) .post-card {
  border-top: none !important;
  border-left: 5px solid #00CED1 !important;
}

body:not(.page-inicio) .card::before,
body:not(.page-inicio) .article-card::before,
body:not(.page-inicio) .service-card::before,
body:not(.page-inicio) .feature-card::before,
body:not(.page-inicio) .post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 0 2px 8px rgba(0, 206, 209, 0.4);
  z-index: 0;
}

/* BLOG: Raya vertical a la izquierda con gradiente */
body:not(.page-inicio):not(.page-servicios):not(.page-contacto) .article-card::before,
body:not(.page-inicio):not(.page-servicios):not(.page-contacto) .post-card::before {
  top: 0;
  left: 0;
  bottom: 0;
  right: auto;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 2px 0 8px rgba(0, 206, 209, 0.4);
}

body:not(.page-inicio) .card:hover,
body:not(.page-inicio) .post-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(0, 31, 63, 0.22),
    0 4px 12px rgba(0, 119, 182, 0.15) !important;
}

/* Modo Oscuro para Contenedores */
body.dark-mode:not(.page-inicio) .card,
body.dark-mode:not(.page-inicio) .article-card,
body.dark-mode:not(.page-inicio) .service-card,
body.dark-mode:not(.page-inicio) .feature-card,
body.dark-mode:not(.page-inicio) .post-card {
  background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%) !important;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.2) !important;
  border-top: 5px solid #00CED1 !important;
}

/* BLOG MODO OSCURO: Raya a la IZQUIERDA */
body.dark-mode:not(.page-inicio):not(.page-servicios):not(.page-contacto) .article-card,
body.dark-mode:not(.page-inicio):not(.page-servicios):not(.page-contacto) .post-card {
  border-top: none !important;
  border-left: 5px solid #00CED1 !important;
}

body.dark-mode:not(.page-inicio) .card::before,
body.dark-mode:not(.page-inicio) .article-card::before,
body.dark-mode:not(.page-inicio) .service-card::before,
body.dark-mode:not(.page-inicio) .feature-card::before,
body.dark-mode:not(.page-inicio) .post-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 0 2px 12px rgba(0, 206, 209, 0.6);
  display: block !important;
}

/* BLOG MODO OSCURO: Raya vertical a la izquierda con gradiente brillante */
body.dark-mode:not(.page-inicio):not(.page-servicios):not(.page-contacto) .article-card::before,
body.dark-mode:not(.page-inicio):not(.page-servicios):not(.page-contacto) .post-card::before {
  top: 0;
  left: 0;
  bottom: 0;
  right: auto;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 2px 0 12px rgba(0, 206, 209, 0.6);
  display: block !important;
}

body.dark-mode:not(.page-inicio) .card:hover,
body.dark-mode:not(.page-inicio) .post-card:hover {
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 25px 90px rgba(0, 0, 0, 0.3) !important;
}
/* ============================================
   ESTILOS ESPECÍFICOS PARA SERVICE-ITEM
   Contenedores de servicios con color azul mejorado
   ============================================ */

body.page-servicios .service-item {
  background: linear-gradient(135deg, #d4e8f0 0%, #e1f0f7 100%) !important;
  border-radius: 24px !important;
  padding: 36px 40px;
  box-shadow: 
    0 8px 30px rgba(0, 31, 63, 0.15),
    0 2px 8px rgba(0, 119, 182, 0.1) !important;
  border-top: 5px solid #00CED1 !important;
  border-left: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateY(30px);
}

body.page-servicios .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 0 2px 8px rgba(0, 206, 209, 0.4);
  z-index: 0;
}

body.page-servicios .service-item.animate-in {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

body.page-servicios .service-item:nth-child(1) { animation-delay: 0.1s; }
body.page-servicios .service-item:nth-child(2) { animation-delay: 0.2s; }
body.page-servicios .service-item:nth-child(3) { animation-delay: 0.3s; }
body.page-servicios .service-item:nth-child(4) { animation-delay: 0.4s; }

body.page-servicios .service-item:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 
    0 12px 40px rgba(0, 31, 63, 0.22),
    0 4px 12px rgba(0, 119, 182, 0.15) !important;
}

/* Modo Oscuro para Service Items */
body.dark-mode.page-servicios .service-item {
  background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%) !important;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.2) !important;
  border-top: 5px solid #00CED1 !important;
}

body.dark-mode.page-servicios .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00CED1 0%, #0077b6 100%) !important;
  box-shadow: 0 2px 12px rgba(0, 206, 209, 0.6);
  display: block !important;
}

body.dark-mode.page-servicios .service-item:hover {
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    0 25px 90px rgba(0, 0, 0, 0.3) !important;
}