/* ================================================= */
/* CSS OPTIMIZADO - LIMPIO, SIN DUPLICADOS, SIN ERRORES */
/* ================================================= */

/* --- IMPORTS & FUENTES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Montserrat:wght@700&family=Open+Sans:wght@300;400&family=Poppins&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* --- ACCESIBILIDAD: Mínimo 44x44px para toque --- */
.min-tap {
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 10px 15px !important;
}

/* --- BANNER DE COOKIES --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px 25px;
  display: none;
  max-width: 600px;
  width: calc(100% - 40px);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 38px;
  color: #ffb347;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text h5 {
  margin: 0 0 5px;
  color: #333;
  font-weight: 600;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.btn-aceptar {
  background-color: #007bff;
  border: none;
  color: white;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-aceptar:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-text { min-width: 100%; }
}

/* --- ESTILOS REPETIDOS: TEXTO AMARILLO --- */
.text-yellow-bold {
  color: #e6e208 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
  font-weight: bold !important;
}

.text-yellow-center {
  text-align: center !important;
}

/* --- BOTONES PREMIUM (style-103 → style-115) --- */
.btn-premium {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  min-width: 44px;
  min-height: 44px;
}

/* --- MODALES PRINCIPALES --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 2rem 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

/* Partículas flotantes */
.modal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="10" cy="10" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="30" r="1" fill="%23ffffff" opacity="0.15"/><circle cx="40" cy="70" r="1.2" fill="%23ffffff" opacity="0.08"/></svg>') repeat;
  background-size: 120px;
  animation: floatParticles 25s infinite linear;
  pointer-events: none;
  z-index: -1;
}

@keyframes floatParticles {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

/* --- CONTENIDO DEL MODAL --- */
.modal-content {
  position: relative;
  max-width: 1100px;
  width: 95%;
  margin: 2rem auto;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 50%, #eef2ff 100%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.2) inset,
    0 12px 40px rgba(59,130,246,0.2);
  transform: scale(0.75) translateY(80px);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  max-height: 92vh;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Fondos por carrera */
#modalContabilidad .modal-content { 
  background: linear-gradient(135deg, rgba(240,249,255,0.95), rgba(224,242,254,0.9)), 
              url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1350&q=80') center/cover;
}
#modalGestion .modal-content { 
  background: linear-gradient(135deg, rgba(243,232,255,0.95), rgba(233,213,255,0.9)), 
              url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1350&q=80') center/cover;
}
#modalNegocios .modal-content { 
  background: linear-gradient(135deg, rgba(236,253,245,0.95), rgba(209,250,229,0.9)), 
              url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1350&q=80') center/cover;
}
#modalGastronomia .modal-content { 
  background: linear-gradient(135deg, rgba(255,247,237,0.95), rgba(254,215,170,0.9)), 
              url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1350&q=80') center/cover;
}

/* --- CABECERA PREMIUM --- */
.modal-header {
  padding: 3.5rem 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 32px 32px 0 0;
}

.modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    var(--grad-start, #3b82f6), 
    var(--grad-mid, #06b6d4), 
    var(--grad-end, #0891b2));
  animation: gradientShift 10s ease infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0%, 100% { transform: translateX(-50%); }
  50% { transform: translateX(0); }
}

.modal-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(90deg, #ffffff, #f0f9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -1.2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.modal-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  margin-top: 0.8rem;
  position: relative;
}

.modal-subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* --- CUERPO DEL MODAL --- */
.modal-body {
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  max-height: calc(90vh - 220px);
  overflow-y: auto;
  border-radius: 0 0 32px 32px;
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.05);
}

/* Scroll premium */
.modal-body::-webkit-scrollbar { width: 10px; }
.modal-body::-webkit-scrollbar-track { 
  background: rgba(0,0,0,0.06); 
  border-radius: 12px; 
  margin: 10px 0;
}
.modal-body::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--scroll-color, #3b82f6), var(--scroll-color-dark, #06b6d4));
  border-radius: 12px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.modal-body::-webkit-scrollbar-thumb:hover { 
  background: linear-gradient(180deg, #2563eb, #0891b2);
  background-clip: content-box;
}

/* Variables por carrera */
#modalContabilidad { --grad-start: #0ea5e9; --grad-mid: #0284c7; --grad-end: #0369a1; --scroll-color: #0ea5e9; --scroll-color-dark: #0284c7; }
#modalGestion     { --grad-start: #8b5cf6; --grad-mid: #7c3aed; --grad-end: #6d28d9; --scroll-color: #8b5cf6; --scroll-color-dark: #7c3aed; }
#modalNegocios    { --grad-start: #10b981; --grad-mid: #059669; --grad-end: #047857; --scroll-color: #10b981; --scroll-color-dark: #059669; }
#modalGastronomia { --grad-start: #f97316; --grad-mid: #ea580c; --grad-end: #c2410c; --scroll-color: #f97316; --scroll-color-dark: #ea580c; }

/* Texto de alto contraste */
.modal-body p, 
.modal-body li, 
.modal-body strong {
  color: #1e293b !important;
  line-height: 1.8 !important;
  font-weight: 500 !important;
}

.modal-body h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.5rem !important;
  margin: 1.8rem 0 1rem !important;
  position: relative;
  padding-bottom: 0.6rem;
}

.modal-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--scroll-color, #3b82f6);
  border-radius: 2px;
}

.modal-body ul { 
  padding-left: 1.8rem !important; 
  margin: 1rem 0 !important; 
}
.modal-body li { 
  margin: 0.6rem 0 !important; 
}
.modal-body li::marker { 
  color: var(--scroll-color, #3b82f6); 
  font-weight: bold; 
}

/* Imágenes con glassmorphism */
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  background: white;
  padding: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  object-fit: cover;
}

.modal-body img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  border-color: var(--scroll-color, #3b82f6);
}

/* --- BOTÓN CERRAR --- */
.close {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 20;
}

.close:hover {
  transform: rotate(90deg) scale(1.15);
  background: rgba(255,255,255,0.5);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* --- BOTONES SUBMODALES --- */
.submodal-btn {
  position: relative;
  padding: 1rem 2.2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  background: var(--btn-bg, linear-gradient(135deg, #3b82f6, #06b6d4));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  min-width: 160px;
}

.submodal-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.7s;
}

.submodal-btn:hover::before { left: 100%; }
.submodal-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

/* --- SUBMODALES --- */
[id^="subModal"] {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  z-index: 11000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[id^="subModal"].active {
  display: flex;
  opacity: 1;
}

[id^="subModal"] .modal-content {
  max-width: 800px;
  width: 90%;
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(248,250,252,0.92));
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

[id^="subModal"].active .modal-content {
  transform: scale(1);
}

/* --- ANIMACIÓN AL SCROLLEAR --- */
.modal-body > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.7s ease;
}

.modal-body > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .modal-content { 
    width: 97%; 
    border-radius: 24px; 
    margin: 1rem auto; 
  }
  .modal-title { font-size: 2.2rem; }
  .modal-header { padding: 2.5rem 1.8rem 1.8rem; }
  .modal-body { padding: 2rem; max-height: calc(85vh - 180px); }
  .submodal-btn { padding: 0.9rem 1.6rem; font-size: 0.95rem; }
  .close { width: 46px; height: 46px; font-size: 1.6rem; top: 1.2rem; right: 1.2rem; }
}

/* ================================================= */
/* OTROS ESTILOS ÚNICOS (NO DUPLICADOS) */
/* ================================================= */

.whatsapp-float, 
.close-modal, 
.carousel-prev, 
.carousel-next, 
.text-green-500, 
.text-gray-500, 
.px-4, 
.inline-flex, 
.hover\:text-blue-600 {
  @extend .min-tap;
}

.headers { 
  height: 200px; 
  background: linear-gradient(to bottom, #c8eef5, #ebf4f7); 
}

.computron-logo { 
  margin-left: -80px; 
}

.licencia-etiqueta { 
  height: 220px; 
  display: flex; 
  align-items: center; 
}

.responsive-buttons { 
  display: flex; 
  justify-content: center; 
  margin-top: 20px; 
  flex-wrap: wrap; 
}
.responsive-buttons > * { 
  width: 100%; 
  margin-bottom: 10px; 
}

.modal-content-text { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; 
  justify-content: space-between; 
}
.modal-content-text > * { 
  flex: 1; 
  min-width: 30%; 
  padding: 10px; 
}

.slide-bg { 
  background-image: url('images/administracion.jpg'); 
}

.heading-decorate { 
  font-size: 3.5rem; 
  font-family: 'Montserrat', sans-serif; 
  font-weight: 700; 
  color: #fff; 
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5); 
  line-height: 1.2; 
  margin-bottom: 20px; 
}

.divider { 
  display: block; 
  height: 4px; 
  width: 80px; 
  background: #fff; 
  margin: 15px 0; 
}

.lead { 
  font-size: 1.5rem; 
  font-family: 'Open Sans', sans-serif; 
  color: rgba(255,255,255,0.9); 
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3); 
  margin-bottom: 30px; 
  line-height: 1.6; 
}

#education-quote-section { 
  position: relative; 
  padding: 50px 0; 
}

.slogan-author { 
  font-style: italic; 
  opacity: 0.8; 
}

.img-fluid { 
  max-width: 90%; 
  height: auto; 
}

#main-google-map { 
  border: 0; 
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* --- Z-INDEX PARA SUBMODALES --- */
#subModal2Contabilidad, 
#subModal2Gestion, 
#subModal2Negocios, 
#subModal2Gastronomia,
#subModal3,
#subModal4Contabilidad,
#subModal4Gestion,
#subModal4Negocios,
#subModal4Gastronomia {
  z-index: 11000;
}

/* --- MAGIC BOOK & ANIMATIONS --- */
#magic-book-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#card-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  gap: 24px;
  z-index: 20;
  flex-direction: row;
}

.magic-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 24px;
  width: 240px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(0) rotate(0deg) scale(0.1);
  opacity: 0;
  will-change: transform, opacity;
}

#book-gif {
  width: 100%;
  max-width: 500px;
  height: auto;
  z-index: 10;
  transform: scale(1);
  filter: brightness(100%);
  transition: all 1s ease;
}

#light-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  z-index: 15;
}

/* --- FOOTER --- */
.style-166 {
  background: linear-gradient(135deg, #2b2d42 0%, #1e3a8a 100%);
  color: white;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.style-169 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.style-172, .style-180, .style-185 {
  color: white;
  margin: 0 auto 15px;
  font-size: 1rem;
  position: relative;
  padding-bottom: 8px;
}

.style-173, .style-181, .style-186 {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #3a86ff;
}

.style-175, .style-177, .style-178, .style-179 {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
}

.fas { color: #3a86ff; }

.style-192 {
  display: flex;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
}

.style-193 {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 12px;
  color: white;
  font-size: 0.9rem;
}

.style-194 {
  background: #3a86ff;
  color: white;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
}

.style-195 {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.style-196 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.style-199, .style-201 {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
}

/* --- FINAL --- */








  /* ===== MAPA PREMIUM ===== */
  .map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
  }

  .map-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: #fff;
    transition: all 0.4s ease;
  }

  .map-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  }

  .google-map {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    transition: filter 0.3s ease;
  }

  .map-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(30,64,175,0.1) 0%, rgba(59,130,246,0.05) 100%);
    pointer-events: none;
    z-index: 1;
  }

  /* Marcador flotante */
  .floating-marker {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .marker-pin {
    background: #1e40af;
    width: 40px; height: 40px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(30,64,175,0.4);
    animation: float 3s ease-in-out infinite;
  }

  .marker-pin svg {
    transform: rotate(45deg);
    fill: white;
  }

  .marker-pulse {
    position: absolute;
    width: 60px; height: 60px;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
  }

  .marker-glow {
    position: absolute;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(59,130,246,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: glow 2s ease-in-out infinite;
  }

  /* Tarjeta de información */
  .info-card {
    position: absolute;
    bottom: 30px; left: 30px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    z-index: 10;
  }

  .info-card.active {
    opacity: 1;
    transform: translateY(0);
  }

  .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }

  .card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
  }

  .verified-badge {
    background: #10b981;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .address {
    font-size: 0.95rem;
    color: #475569;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #64748b;
  }

  .contact-row span {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .action-btn {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 0.95rem;
  }

  .action-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30,64,175,0.3);
  }

  /* Controles flotantes */
  .map-controls {
    position: absolute;
    top: 20px; right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s ease;
  }

  .map-controls.active {
    opacity: 1;
    transform: translateX(0);
  }

  .ctrl-btn {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #1e40af;
  }

  .ctrl-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  }

  /* Animaciones */
  @keyframes float {
    0%, 100% { transform: translate(-50%, -100%) translateY(0); }
    50% { transform: translate(-50%, -100%) translateY(-8px); }
  }

  @keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
  }

  @keyframes glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
  }

  /* Responsive */
  @media (max-width: 768px) {
    .info-card { 
      width: 280px; 
      left: 15px; 
      bottom: 15px; 
      padding: 16px; 
    }
    .map-controls { 
      top: 15px; 
      right: 15px; 
      gap: 8px; 
    }
    .ctrl-btn { width: 40px; height: 40px; }
    .google-map { height: 400px; }
  }

  @media (max-width: 480px) {
    .info-card { 
      position: relative; 
      bottom: auto; 
      left: auto; 
      margin: 20px auto 0; 
      width: 100%; 
      max-width: 320px; 
    }
    .map-wrapper { margin-bottom: 20px; }
  }

  /* Reveal Animation */
  .map-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

  .map-reveal.active {
    opacity: 1;
    transform: translateY(0);
  }


