/* Reset y configuración base */
* {
  position: relative;
  margin: 0;
  padding: 0;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
}
/* Botón flotante para llamada */
.floating-call-wrapper {
  position: fixed;
 bottom: 65px;
  z-index: 9999;
}

.floating-call {
  display: flex;
  align-items: center;
  background: #0652DD;
  color: #fff;
  text-decoration: none;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(6, 82, 221, 0.2);
  padding: 12px 22px;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  min-width: 140px;
 }

.floating-call:hover {
  background: #1B1464;
  box-shadow: 0 6px 24px rgba(6, 82, 221, 0.3);
}

.call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0652DD;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(6, 82, 221, 0.15);
  transition: background 0.2s, color 0.2s;
}

.floating-call:hover .call-icon {
  background: #0652DD;
  color: #fff;
}

.call-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.call-text {
  font-weight: bold;
  font-size: 16px;
  color: #fff;
}

.call-subtitle {
  font-size: 12px;
  color: #dff9fb;
}

.call-indicator {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.call-dot {
  width: 8px;
  height: 8px;
  background: #00ff99;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff99;
  animation: call-dot-pulse 1.2s infinite alternate;
}

@keyframes call-dot-pulse {
  0% { box-shadow: 0 0 8px #00ff99; }
  100% { box-shadow: 0 0 16px #00ff99; }
}

.call-pulse {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10, 168, 255, 0.18);
  animation: call-pulse-anim 1.8s infinite;
  z-index: -1;
}

@keyframes call-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.45; }
  70% { transform: scale(1.1); opacity: 0.18; }
  100% { transform: scale(1.3); opacity: 0; }
}
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Contenedor principal centrado */
.wrapper, .home {
  width: 100%;
  max-width: calc(100vw - 30px); /* Respeta márgenes del body */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

/* Centrar todos los contenedores con ancho uniforme */
.container, .container2, #conta2, #conta3 {
  width: 100%;
  max-width: calc(100vw - 30px); /* Ancho uniforme respetando márgenes */
  margin: 10px auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Header místico con fondo negro y letras claras */
.header {
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.95) 0%, 
    rgba(20, 10, 30, 0.9) 30%, 
    rgba(30, 15, 45, 0.85) 70%, 
    rgba(15, 5, 25, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 25px;
  width: 100%;
  max-width: calc(100vw - 30px);
  margin: 15px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 20px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 
    0 8px 32px rgba(138, 43, 226, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(138, 43, 226, 0.2);
  position: relative;
  overflow: hidden;
  animation: headerFloat 6s ease-in-out infinite;
}

.header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
  animation: mysticalRotate 20s linear infinite;
  pointer-events: none;
}

.header::after {
  content: '✨';
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 16px;
  color: #ffd700;
  animation: sparkle 3s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes headerFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes mysticalRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #b19cd9, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(177, 156, 217, 0.6));
  }
}

.phone-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50px;
  border: 1px solid rgba(138, 43, 226, 0.4);
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.phone-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
  background: rgba(0, 0, 0, 0.8);
}

.phone-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  color: #b19cd9;
  text-shadow: 0 0 8px rgba(177, 156, 217, 0.6);
}

.call-icon {
  background: linear-gradient(135deg, #8a2be2, #b19cd9);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(138, 43, 226, 0.3);
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.description2 {
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.2);
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Imágenes responsivas y centradas con márgenes */
img {
  max-width: calc(100% - 20px); /* Respeta márgenes */
  height: auto;
  display: block;
  margin: 10px auto;
}

/* Videos centrados y responsivos con márgenes */
video {
  width: calc(100% - 20px); /* Respeta márgenes */
  max-width: 380px;
  height: auto;
  margin: 15px auto;
  display: block;
  border-radius: 15px;
}

/* Contenedores de video centrados con ancho uniforme */
.video-container {
  width: 100%;
  max-width: calc(100vw - 50px); /* Ancho uniforme con márgenes extra */
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  background: rgba(0,0,0,0.8);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

.video-description {
  margin-top: 10px;
  text-align: center;
}

.video-description h3 {
  color: #ffd700;
  font-size: 18px;
  margin-bottom: 8px;
}

.video-description p {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

/* Video especial de humo con CTA */
.humo-video {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #333);
  border: 2px solid #ffd700;
}

.humo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.humo-text {
  color: #ffd700;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  margin-bottom: 10px;
  animation: glow 2s ease-in-out infinite alternate;
}

.humo-cta {
  background: linear-gradient(45deg, #e61022, #ff7070);
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(230, 16, 34, 0.4);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.humo-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(230, 16, 34, 0.6);
}

@keyframes glow {
  from { text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 10px #ffd700; }
  to { text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 20px #ffd700, 0 0 30px #ffd700; }
}

/* Botones centrados con ancho uniforme */
.whatsapp-button, .button,a#sendMessage, .more-info, .chat-button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: inline-block;
  width: auto;
  min-width: 200px;
  max-width: 320px;
  margin: 15px auto;
  padding: 14px 24px;
  text-align: center;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-sizing: border-box;
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  position: relative;
  overflow: hidden;
  animation: whatsappPulse 5s infinite;
}

/* Animación principal de color para conversión */
@keyframes whatsappPulse {
  0%, 85%, 100% {
    background: linear-gradient(45deg, #25D366, #128C7E);
    transform: scale(1);
  }
  5%, 80% {
    background: linear-gradient(45deg, #1a9c4f, #0d6b5a);
    transform: scale(1.02);
  }
}

/* Subrayado dorado animado en forma de Z */
.whatsapp-button::after, .button::after, .more-info::after, .chat-button::after, a#sendMessage::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 20%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  border-radius: 1px;
  opacity: 0;
  animation: goldenUnderline 5s infinite;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Animación del subrayado dorado tipo lápiz en Z */
@keyframes goldenUnderline {
  0%, 90%, 100% {
    width: 0;
    opacity: 0;
    left: 20%;
    transform: translateX(0) skewX(0deg);
  }
  10% {
    width: 0;
    opacity: 1;
    left: 20%;
    transform: translateX(0) skewX(0deg);
  }
  25% {
    width: 30%;
    opacity: 1;
    left: 20%;
    transform: translateX(0) skewX(-15deg);
  }
  40% {
    width: 30%;
    opacity: 1;
    left: 35%;
    transform: translateX(0) skewX(15deg);
  }
  55% {
    width: 30%;
    opacity: 1;
    left: 50%;
    transform: translateX(0) skewX(-15deg);
  }
  70% {
    width: 30%;
    opacity: 1;
    left: 50%;
    transform: translateX(0) skewX(0deg);
  }
  85% {
    width: 0;
    opacity: 0;
    left: 80%;
    transform: translateX(0) skewX(0deg);
  }
}

/* Efecto de brillo adicional durante la animación */
.whatsapp-button::before, .button::before, .more-info::before, .chat-button::before, a#sendMessage::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  animation: shimmer 5s infinite;
}

@keyframes shimmer {
  0%, 90%, 100% {
    left: -100%;
    opacity: 0;
  }
  10%, 80% {
    left: 100%;
    opacity: 1;
  }
}

.whatsapp-button:hover, .button:hover, .more-info:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background: linear-gradient(45deg, #1a9c4f, #0d6b5a) !important;
  animation-play-state: paused;
}

/* Centrar elementos específicos */
.centrado {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

/* Testimonios centrados con ancho uniforme */
.testimonials-container, .testimonial, .testimonial2 {
  width: 100%;
  max-width: calc(100vw - 30px); /* Ancho uniforme */
  margin: 15px auto;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Galería responsiva con márgenes uniformes */
.masonry-grid {
  width: 100%;
  max-width: calc(100vw - 30px); /* Ancho uniforme */
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  justify-items: center;
  box-sizing: border-box;
}

.masonry-grid-item {
  width: 100%;
  max-width: 200px;
}

.masonry-grid-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0; /* Eliminar márgenes adicionales */
}

/* Formularios centrados con ancho uniforme */
.whatsapp-form {
  width: 100%;
  max-width: calc(100vw - 30px); /* Ancho uniforme */
  margin: 20px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.whatsapp-form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.whatsapp-form input, .whatsapp-form textarea {
  width: calc(100% - 20px); /* Respeta márgenes */
  max-width: 280px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Texto centrado con márgenes uniformes */
.description, p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  margin: 10px auto;
  max-width: calc(100vw - 50px); /* Ancho uniforme con márgenes extra */
  padding: 0 10px;
  box-sizing: border-box;
}
 

/* Footer centrado con ancho uniforme */
.footer {
  width: 100%;
  max-width: calc(100vw - 30px); /* Ancho uniforme */
  text-align: center;
  padding: 20px;
  margin: 30px auto 0;
  box-sizing: border-box;
}

/* ===== BOTONES FIJOS MEJORADOS ===== */

/* Contenedor principal de botones fijos */
#fixed-buttons-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10000;
  pointer-events: none;
}

/* Wrapper para cada botón flotante */
.floating-button-wrapper {
  pointer-events: all;
  position: relative;
}

/* Estilos base para botones flotantes */
.floating-button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Botón de llamada */
.call-action {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24, #d63031);
  animation: callPulse 2s infinite;
}

.call-action:hover {
  background: linear-gradient(135deg, #ff5252, #e53935, #c62828);
}

/* Botón de WhatsApp */
.whatsapp-action {
  background: linear-gradient(135deg, #25d366, #128c7e, #075e54);
  animation: whatsappPulse 5s infinite;
  position: relative;
  overflow: hidden;
}

/* Subrayado dorado para botones flotantes de WhatsApp */
.whatsapp-action::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 20%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  border-radius: 1px;
  opacity: 0;
  animation: goldenUnderline 5s infinite;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Efecto de brillo para botones flotantes de WhatsApp */
.whatsapp-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  animation: shimmer 5s infinite;
}

.whatsapp-action:hover {
  background: linear-gradient(135deg, #1a9c4f, #0d6b5a, #064e47) !important;
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}

/* Iconos de los botones */
.button-icon {
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.floating-button:hover .button-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(360deg);
}

/* Contenido del botón */
.button-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.button-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}

.button-subtitle {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 400;
}

/* Indicador en línea para WhatsApp */
.online-indicator {
  margin-left: 10px;
  display: flex;
  align-items: center;
}

.online-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  animation: onlinePulse 2s infinite;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

/* Efecto de pulso para los botones */
.button-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: inherit;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: -1;
}

.floating-button:hover .button-pulse {
  animation: buttonPulseEffect 0.6s ease-out;
}

/* Animaciones */
@keyframes callPulse {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(255, 107, 107, 0);
  }
}

@keyframes whatsappGlow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

@keyframes onlinePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes buttonPulseEffect {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive para móviles - Márgenes uniformes forzados */
@media (max-width: 768px) {
  body {
    padding: 0 20px; /* Márgenes laterales más amplios en tablets */
  }
  
  .container, .container2, #conta2, #conta3 {
    width: 100%;
    max-width: calc(100vw - 40px); /* Ancho uniforme respetando márgenes */
    padding: 15px;
  }
  
  .video-container {
    width: 100%;
    max-width: calc(100vw - 60px); /* Márgenes extra para videos */
  }
  
  video {
    width: calc(100% - 20px);
    max-width: 350px;
  }
  
  .whatsapp-button, .button, .more-info {
    min-width: 180px;
    max-width: 280px;
    font-size: 14px;
    padding: 12px 20px;
  }
  
  .masonry-grid {
    width: 100%;
    max-width: calc(100vw - 40px);
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .header {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 15px;
  }
  
  .testimonials-container {
    width: 100%;
    max-width: calc(100vw - 40px);
  }
  
  .whatsapp-form {
    width: 100%;
    max-width: calc(100vw - 40px);
  }
  
  .footer {
    width: 100%;
    max-width: calc(100vw - 40px);
  }
  
  /* Botones flotantes */
  #fixed-buttons-container {
    bottom: 15px;
    gap: 12px;
  }
  
  .floating-button {
    min-width: 180px;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .button-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
  
  .button-text {
    font-size: 14px;
  }
  
  .button-subtitle {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 15px; /* Márgenes laterales forzados en móviles */
  }
  
  .container, .container2, #conta2, #conta3 {
    width: 100%;
    max-width: calc(100vw - 30px); /* Ancho uniforme respetando márgenes */
    padding: 12px;
  }
  
  .video-container {
    width: 100%;
    max-width: calc(100vw - 50px); /* Márgenes extra para videos */
    padding: 15px;
  }
  
  video {
    width: calc(100% - 15px);
    max-width: 320px;
  }
  
  .whatsapp-button, .button, .more-info {
    min-width: 160px;
    max-width: 250px;
    font-size: 13px;
    padding: 12px 18px;
  }
  
  .masonry-grid {
    width: 100%;
    max-width: calc(100vw - 30px);
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }
  
  .header {
    width: 100%;
    max-width: calc(100vw - 20px);
    padding: 20px 15px;
    margin: 10px auto;
    border-radius: 20px;
  }
  
  .logo {
    font-size: 24px;
  }
  
  .phone-container {
    padding: 10px 15px;
    margin: 12px 0;
  }
  
  .phone-link {
    font-size: 14px;
    margin-right: 8px;
  }
  
  .call-icon {
    width: 30px;
    height: 30px;
  }
  
  .description2 {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .testimonials-container {
    width: 100%;
    max-width: calc(100vw - 30px);
    padding: 15px;
  }
  
  .testimonial {
    width: 100%;
    max-width: calc(100% - 10px);
    padding: 15px;
  }
  
  .whatsapp-form {
    width: 100%;
    max-width: calc(100vw - 30px);
    padding: 15px;
  }
  
  .whatsapp-form input, .whatsapp-form textarea {
    width: calc(100% - 20px);
    max-width: 250px;
  }
  
  .footer {
    width: 100%;
    max-width: calc(100vw - 30px);
    padding: 15px;
  }
  
  /* Texto y títulos con márgenes forzados */
  .description, p {
    max-width: calc(100vw - 40px);
    padding: 0 5px;
  }
 
  /* Botones flotantes */
  #fixed-buttons-container {
    bottom: 10px;
    gap: 10px;
  }
  
  .floating-button {
    min-width: 160px;
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .button-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
  
  .button-text {
    font-size: 13px;
  }
  
  .button-subtitle {
    font-size: 10px;
  }
}

/* Eliminar estilos antiguos */
.boton-llamada,
.container2 {
  display: none !important;
}

/* Nube de Tags Esotérica */
.esoteric-tag-cloud {
  position: relative;
  width: calc(80vw - 40px);
  max-width: 600px;
  margin: 30px auto;
  padding: 30px 20px;
  background: linear-gradient(135deg, #1a0033 0%, #2d1b69 50%, #1a0033 100%);
  border-radius: 20px;
  border: 2px solid #8a2be2;
  box-shadow: 
    0 0 30px rgba(138, 43, 226, 0.3),
    inset 0 0 20px rgba(138, 43, 226, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.mystical-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.energy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.energy-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fff 0%, #8a2be2 70%, transparent 100%);
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.7;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.cosmic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: cosmicPulse 4s ease-in-out infinite;
}

@keyframes cosmicPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.1;
  }
}

.tag-cloud-title {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 25px;
}

.tag-cloud-title h3 {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  }
  50% {
    text-shadow: 0 0 20px rgba(138, 43, 226, 1), 0 0 30px rgba(255, 215, 0, 0.5);
  }
}

.title-underline {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8a2be2, #ffd700, #8a2be2, transparent);
  margin: 10px auto;
  animation: underlineShimmer 2s ease-in-out infinite;
}

@keyframes underlineShimmer {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
  }
}

.tags-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 200px;
  transition: opacity 0.5s ease-in-out;
}

.esoteric-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  animation: tagFloat 6s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Tamaños de tags */
.tag-small {
  font-size: 12px;
  padding: 6px 12px;
}

.tag-medium {
  font-size: 14px;
  padding: 8px 16px;
}

.tag-large {
  font-size: 16px;
  padding: 10px 20px;
}

.tag-extra-large {
  font-size: 18px;
  padding: 12px 24px;
  font-weight: 700;
}

/* Colores místicos */
.mystical-purple {
  background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
  color: #fff;
}

.cosmic-blue {
  background: linear-gradient(135deg, #4169e1 0%, #191970 100%);
  color: #fff;
}

.magical-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #000;
}

.ethereal-pink {
  background: linear-gradient(135deg, #ff69b4 0%, #8b008b 100%);
  color: #fff;
}

.spiritual-green {
  background: linear-gradient(135deg, #32cd32 0%, #006400 100%);
  color: #fff;
}

@keyframes tagFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-5px) rotate(1deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

.esoteric-tag:hover,
.tag-hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 
    0 8px 25px rgba(138, 43, 226, 0.4),
    0 0 20px rgba(255, 255, 255, 0.3);
  z-index: 10;
}

.mystical-purple:hover {
  box-shadow: 
    0 8px 25px rgba(138, 43, 226, 0.6),
    0 0 30px rgba(138, 43, 226, 0.8);
}

.cosmic-blue:hover {
  box-shadow: 
    0 8px 25px rgba(65, 105, 225, 0.6),
    0 0 30px rgba(65, 105, 225, 0.8);
}

.magical-gold:hover {
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.8);
}

.ethereal-pink:hover {
  box-shadow: 
    0 8px 25px rgba(255, 105, 180, 0.6),
    0 0 30px rgba(255, 105, 180, 0.8);
}

.spiritual-green:hover {
  box-shadow: 
    0 8px 25px rgba(50, 205, 50, 0.6),
    0 0 30px rgba(50, 205, 50, 0.8);
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkleEffect 1s ease-out forwards;
}

@keyframes sparkleEffect {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.mystical-footer {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 25px;
}

.mystical-text {
  color: #b19cd9;
  font-size: 14px;
  font-style: italic;
  animation: textShimmer 4s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% {
    opacity: 0.7;
    text-shadow: 0 0 5px rgba(177, 156, 217, 0.5);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(177, 156, 217, 0.8);
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .esoteric-tag-cloud {
    width: calc(80vw - 30px);
    padding: 25px 15px;
    margin: 20px auto;
  }
  
  .tag-cloud-title h3 {
    font-size: 18px;
  }
  
  .tags-container {
    gap: 8px;
    min-height: 150px;
  }
  
  .tag-small {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .tag-medium {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .tag-large {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .tag-extra-large {
    font-size: 16px;
    padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .esoteric-tag-cloud {
    width: calc(80vw - 20px);
    padding: 20px 10px;
  }
  
  .tag-cloud-title h3 {
    font-size: 16px;
  }
  
  .mystical-text {
    font-size: 12px;
  }
  
  .tags-container {
    gap: 6px;
  }
}

/* Asegurar que iframes y objetos respeten márgenes */
iframe, object {
  max-width: calc(100% - 20px);
  width: calc(100% - 20px);
  margin: 10px auto;
  display: block;
}

/* Elementos específicos con márgenes uniformes */
.whatsapp-banner {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: calc(100vw - 50px);
  box-sizing: border-box;
}

.whatsapp-banner img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

/* Estilos antiguos eliminados - ahora usando nuevos botones fijos */

/* Animaciones */
@keyframes vibration {
  0% { transform: translate(0); }
  10% { transform: translate(-2px, 2px); }
  20% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, -2px); }
  40% { transform: translate(2px, 2px); }
  50% { transform: translate(-2px, 2px); }
  60% { transform: translate(2px, -2px); }
  70% { transform: translate(-2px, -2px); }
  80% { transform: translate(2px, 2px); }
  90% { transform: translate(-2px, 2px); }
  100% { transform: translate(0); }
}

/* Efectos especiales para texto */
#sparkling {
  position: relative;
  color: #fff;
  text-shadow: -2px 2px 5px #000, 1px 1px 0px #fff, 0 0 5px #fff, 0 0 14px #000000, 0 0 15px #7fff00, 0 0 13px #82ff06, 0 0 19px #7fff00, 0 0 12px #86ff0d;
}

#fire {
  color: #fff;
  text-shadow: 0 0 5px #fff, 0 0 10px #ff0, 0 0 15px #ff0, 0 0 20px #ff0, 0 0 25px #ff0;
  animation: fire 1s ease-in-out infinite alternate;
}

/* Zoom effect */
.zoom {
  transition: transform 0.5s;
}

.zoom:hover {
  transform: scale(1.5);
  z-index: 999;
}

/* Asegurar centrado vertical y horizontal completo */
body > * {
  margin-left: auto;
  margin-right: auto;
}

/* Contenedor principal para todo el contenido */
.main-content {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

/* ===== TIPOGRAFÍA PERSONALIZADA ===== */

/* Títulos con Playfair Display */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 20px 0 15px 0;
  color: inherit;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* Enlaces con Inter */
a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Inputs y formularios con Inter */
input, textarea, select, button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

/* Responsive para títulos en móviles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  h5, h6 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4, h5, h6 {
    font-size: 1rem;
  }
}
