:root{
  --accent:#ff5a5f;
  --dark:#0b0b0f;
  --muted:#777;
  --glass: rgba(255,255,255,0.06);
  --max-width:1200px;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;color:#111}
body{background:#fff;line-height:1}

/* === NAVBAR FIJA Y ADAPTABLE === */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  background: transparent;
  box-sizing:border-box;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

/* Al hacer scroll o sobre fondo claro */
header.scrolled, .navbar.scrolled {
  background-color: rgba(85, 81, 81, 0.9); /* gris oscuro 90% */
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Fondo claro con texto oscuro */
header.light-bg, .navbar.light-bg {
  background-color: rgba(240, 240, 240, 0.9);
  color: #111;
}

/* Fondo oscuro con texto claro */
header.dark-bg, .navbar.dark-bg {
  background-color: rgba(40, 40, 40, 0.95);
  color: #fff;
}

/* HERO */
.hero{position:relative;height:100vh;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(0.55)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0.25),rgba(0,0,0,0.45));}
.hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:20px}
.brand{font-size:64px;margin:0;font-weight:700;letter-spacing:1px}
.slogan{font-size:20px;margin:12px 0 24px;color:#f311e0}
.btn-primary{background:var(--accent);color:#fff;border:none;padding:12px 20px;border-radius:10px;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.25)}
.btn-ghost{margin-left:12px;color:#fff;background:transparent;border:1px solid rgba(255,255,255,0.14);padding:10px 18px;border-radius:10px}

/* SECTIONS */
.section{padding:80px 0;background:#fff}
.section-title{text-align:center;font-size:28px;margin:0 0 28px;color:var(--dark)}

.services-grid{display:flex;gap:20px;max-width:var(--max-width);margin:0 auto;padding:0 20px}
.service-card{background:#fff;border-radius:14px;padding:20px;flex:1;box-shadow:0 6px 20px rgba(21,21,21,0.06);transition:transform .25s ease,box-shadow .25s ease}
.service-card:hover{transform:translateY(-8px);box-shadow:0 16px 36px rgba(21,21,21,0.12)}
.service-img{width:100%;height:180px;object-fit:cover;border-radius:10px}
.service-card h3{margin-top:14px;margin-bottom:8px}

/* GALLERY */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;max-width:90%;margin:0 auto;padding:12px}
.gallery-grid img{width:100%;height:160px;object-fit:cover;border-radius:0;box-shadow:0 6px 18px rgba(0,0,0,0.12);transition:transform .35s ease,box-shadow .35s ease;cursor:pointer}
.gallery-grid img:hover{transform:scale(1.04);box-shadow:0 20px 40px rgba(0,0,0,0.25)}

/* Lightbox */
.lightbox{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.88);visibility:hidden;opacity:0;transition:opacity .25s ease;z-index:1500}
.lightbox[aria-hidden="false"]{visibility:visible;opacity:1}
.lb-img{max-width:92%;max-height:82vh}
.lb-close{position:fixed;top:24px;right:28px;background:transparent;border:0;color:#fff;font-size:34px;cursor:pointer}
.lb-caption{color:#ddd;margin-top:12px;text-align:center}
/* === BOTONES DE NAVEGACIÓN LIGHTBOX === */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: white;
  font-size: 3rem; /* 3 veces el tamaño aproximado del puntero */
  cursor: pointer;
  padding: 0.5em;
  z-index: 1002;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lb-nav-btn:hover {
  transform: translateY(-50%) scale(1.2);
  color: #ccc;
}

/* Posición de los botones */
#lb-prev {
  left: 30px;
}

#lb-next {
  right: 30px;
}


/* ABOUT */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;max-width:var(--max-width);margin:0 auto;padding:0 20px;align-items:center}
.about-img img{width:100%;border-radius:12px;object-fit:cover}

/* COVERAGE */
.coverage-inner{display:flex;gap:20px;max-width:var(--max-width);margin:0 auto;padding:0 20px;align-items:center}
.coverage-map{width:50%;border-radius:12px;object-fit:cover}
.coverage-text{flex:1}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1fr 360px;gap:24px;max-width:var(--max-width);margin:0 auto;padding:0 20px}
.contact-grid form{display:flex;flex-direction:column;gap:12px}
.contact-grid input,.contact-grid textarea,select{padding:12px;border-radius:8px;border:1px solid #e6e6e6}
.honeypot{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.form-feedback{color:var(--muted);margin-top:8px}

/* FOOTER */
.footer{padding:20px 0;background:#111;color:#fff}
.footer-inner{max-width:var(--max-width);margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 20px}

/* MODAL */
.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.6);visibility:hidden;opacity:0;z-index:1200}
.modal[aria-hidden="false"]{visibility:visible;opacity:1}
.modal-panel{background:#fff;width:100%;max-width:560px;padding:20px;border-radius:12px;position:relative}
.modal-close{position:absolute;top:12px;right:12px;background:transparent;border:0;font-size:26px}

/* RESPONSIVE */
@media(max-width:900px){.services-grid{flex-direction:column}.about-grid{grid-template-columns:1fr}.coverage-inner{flex-direction:column}.contact-grid{grid-template-columns:1fr}.brand{font-size:44px}}
@media(max-width:480px){.nav-links{display:none}.brand{font-size:36px}}

/* Simple scroll animation helper */
[data-animate]{opacity:0;transform:translateY(12px);transition:all .6s ease}
[data-animate].in-view{opacity:1;transform:none}

/* style.css - Diseño moderno y responsive para MaGuMi */

:root {
  --accent: #ff5a5f;
  --dark: #0b0b0f;
  --muted: #777;
  --glass: rgba(255, 255, 255, 0.06);
  --max-width: 1200px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  color: #111;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  line-height: 1.5;
}

/* NAVBAR */
.nav-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px;
}

.logo {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}
.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  white-space: nowrap;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.brand {
  font-size: 64px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.slogan {
  font-size: 20px;
  margin: 12px 0 24px;
  color: #f3f3f3;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #e0484d;
  transform: translateY(-2px);
}

.btn-ghost {
  margin-left: 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* SECTIONS */
.section {
  padding: 80px 0;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 28px;
  color: var(--dark);
}

/* SERVICES */
.services-grid {
  display: flex;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  flex: 1;
  box-shadow: 0 6px 20px rgba(21,21,21,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(21,21,21,0.12);
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-width: 90%;
  margin: 0 auto;
  padding: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* === BLOQUE DE ESTILO PARA LIGHTBOX MEJORADO === */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

#lightbox[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

#lb-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: scale(1);
  transition: transform 0.3s ease;
}

#lb-img.zoom-in {
  transform: scale(1.05);
}

#lb-caption {
  color: #fff;
  margin-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

#lb-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(148, 130, 130, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

#lb-close:hover {
  background: rgba(194, 155, 201, 0.153);
}

/* === FLECHAS DE NAVEGACIÓN === */
.lb-prev, .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  color: #f60202;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0 20px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s;
  user-select: none;
}

.lb-prev:hover, .lb-next:hover {
  background: rgba(244, 7, 7, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lb-prev {
  left: 25%;
}

.lb-next {
  right: 50%;
}

@media (max-width: 768px) {
  .lb-prev, .lb-next {
    font-size: 3rem;
    padding: 0 12px;
  }
  #lb-img {
    max-width: 95%;
  }
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* COVERAGE */
.coverage-inner {
  display: flex;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.coverage-map {
  width: 50%;
  border-radius: 12px;
  object-fit: cover;
}

.coverage-text {
  flex: 1;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.contact-grid form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-grid input, .contact-grid textarea, select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  color: var(--muted);
  margin-top: 8px;
}

/* FOOTER */
.footer {
  padding: 20px 0;
  background: #111;
  color: #fff;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  visibility: hidden;
  opacity: 0;
  z-index: 1200;
  transition: opacity .25s ease;
}

.modal[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.modal-panel {
  background: #fff;
  width: 100%;
  max-width: 560px;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    flex-direction: column;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .coverage-inner {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .brand {
    font-size: 36px;
  }
}

/* ANIMACIONES DE SCROLL */
[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info p,
.contact-info ul {
  margin-bottom: 10px;
}

.follow-text {
  margin-top: 20px;
  font-weight: bold;
}

.social-links {
  list-style: none;
  padding: 0;
}

.social-links li {
  margin: 15px 0;
}

.social-links a {
  color: #ff0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #cc0000;
  text-decoration: underline;
}

.contact-form-wrapper p {
  margin-bottom: 15px;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin: 15px 0;
}

.privacy-check a {
  color: #ff0000;
  text-decoration: none;
}

.privacy-check a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* ===== EFECTO VISUAL BOTONES ACTIVADOS ===== */
.btn-primary {
  opacity: 0.6;
  transition: all 0.3s ease;
  cursor: not-allowed;
}

.btn-primary.enabled {
  opacity: 1;
  background-color: #ff4d4d;
  cursor: pointer;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.4);
}

.btn-primary.enabled:hover {
  background-color: #e63939;
  transform: scale(1.08);
}
/* 🔸 Animación de pulso suave para botones activos */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 77, 77, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 12px rgba(255, 77, 77, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 77, 77, 0.4); }
}

/* Cuando el botón esté habilitado (validación aceptada) */
.btn-primary.enabled,
.btn-agendar.enabled {
  animation: pulse 2s infinite ease-in-out;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease;
}

/* Estado deshabilitado para ambos botones */
.btn-primary:disabled,
.btn-agendar:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
}
/* === Contacto - Diseño en dos columnas === */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Columna izquierda (1/3 del ancho) */
.contact-info {
  flex: 1;
  max-width: 33%;
  text-align: center;
}

.contact-info p {
  margin: 10px 0;
}

.contact-info a {
  color: #d93030;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #ff5757;
}

/* Columna derecha (2/3 del ancho) */
.contact-form {
  flex: 2;
  max-width: 66%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
    text-align: center;
  }
}

button.enabled {
  background-color: #d93030; /* rojo activo */
  cursor: pointer;
  opacity: 1;
  transition: background-color 0.3s;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Checkbox de aviso de privacidad === */
.privacy-consent {
  margin: 15px 0;
  font-size: 0.95rem;
  color: #0c0c0c;
  text-align: left;
}

.privacy-consent label {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.privacy-consent input[type="checkbox"] {
  accent-color: #d93030;
  transform: scale(1.2);
  cursor: pointer;
}

.privacy-consent a {
  color: #d93030;
  text-decoration: underline;
  transition: color 0.3s;
}

.privacy-consent a:hover {
  color: #080808;
}

/* Botones deshabilitados y activos */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button.enabled {
  background-color: #d93030;
  color: rgb(29, 28, 28);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Ajuste fino de interlineado entre correo y fecha en el formulario de contacto */
#contacto input[type="email"] {
  margin-bottom: 2px; /* reduce espacio después del campo correo */
}

#contacto p + input[type="date"] {
  margin-top: 2px; /* reduce espacio entre el texto “Fecha de tu evento” y el campo */
}

.auth-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.auth-content {
  background: #fff;
  color: #333;
  padding: 30px 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 400px;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

/* === Transición suave en el Lightbox === */
#lightboxImg {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

#lightboxImg.visible {
  opacity: 1;
}

/* (Opcional) Suave deslizamiento lateral */
@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.pdf-viewer {
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
  padding: 20px;
}

.pdf-viewer h2 {
  color: #70284a;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* === MODAL DE AVISO DE PRIVACIDAD === */
.privacy-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.privacy-modal[aria-hidden="false"] {
  display: flex;
}

.privacy-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: slideUp 0.3s ease;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.6rem;
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #70284a;
}

.privacy-modal-content h2 {
  color: #70284a;
  margin-bottom: 15px;
  text-align: center;
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.privacy-consent {
  margin: 15px 0;
  font-size: 0.95rem;
  color: #333;
}

.privacy-consent a {
  color: #d93030;
  text-decoration: underline;
  transition: color 0.3s;
}

.privacy-consent a:hover {
  color: #a02020;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.enabled {
  background-color: #d93030;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

