/* CONTACT SECTION - TEMA SEGÚN MES ACTIVO */
#contacto {
  color: var(--season-accent);
  background: var(--season-accent-soft);
}

#contacto span,
#contacto p,
#contacto a,
#contacto label,
#contacto h2,
#contacto h3 {
  color: var(--season-accent);
  text-shadow: 0 0 12px var(--season-glow);
  font-weight: 600;
}

/* Form refinement for contact section */
#contacto .contact-card h3 {
  color: var(--season-accent);
}

#contacto input,
#contacto textarea {
  width: 100%;
  padding: 1.8rem;
  /* Increased padding for a larger feel */
  font-size: 1.1rem;
  border: 1px solid var(--season-accent-soft);
  border-bottom: 2px solid var(--season-accent);
  color: var(--season-accent);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: var(--transition-premium);
  font-family: 'Quicksand', sans-serif;
}

#contacto input::placeholder,
#contacto textarea::placeholder {
  color: var(--season-accent);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

#contacto input:focus,
#contacto textarea:focus {
  background: var(--season-accent-soft);
  border-color: var(--season-accent);
  box-shadow: 0 0 25px var(--season-glow);
  outline: none;
  transform: translateY(-2px);
}

.flex-contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: flex-start;
}

.contact-form-container {
  background: var(--season-accent-soft);
  padding: 4rem;
  border-radius: 20px;
  border: 1px solid var(--season-accent-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

footer {
  padding: 8rem 10%;
  background: var(--pure-black);
  border-top: 1px solid rgba(159, 34, 46, 0.1);
  text-align: center;
  position: relative;
}

footer p {
  color: #CBD5E1;
  font-size: 1rem;
  margin-top: 1.2rem;
  letter-spacing: 1.5px;
  font-weight: 500;
  opacity: 1;
}

/* ESSENCE SECTION (MOVING FROM INLINE) */
.essence-container {
  max-width: 900px;
  margin: 1rem auto 0;
  text-align: center;
}

.essence-heading {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--halloween-vivid);
}

.essence-cover {
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 140, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.55);
}

.essence-cover img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.essence-lead {
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--ghostly-white);
  font-weight: 500;
}

.essence-detail {
  margin-top: 2rem;
  font-size: 1.11rem;
  color: var(--halloween-vivid);
  font-weight: 600;
}

.essence-cat {
  margin-top: 2rem;
  font-size: 1.1rem;
  line-height: 2.1;
  color: var(--ghostly-white);
  font-weight: 500;
}

.essence-cat strong {
  color: var(--halloween-vivid);
}

/* UTILITY CLASSES */
.section-ambient-bg {
  background: rgba(255, 140, 0, 0.015);
}

.contact-intro {
  margin-bottom: 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* ANIMATIONS */
@keyframes floatEffect {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-25px) rotate(1deg);
  }
}

@media (max-width: 1024px) {
  .flex-contact {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .hero-box h2 {
    font-size: 3.5rem;
  }

  section {
    padding: 8rem 8%;
  }
}

/* CONTACTO: COLOR DEL MES ACTIVO
   Los tonos de los doce meses viven en season-colors.css. Aqui solo se
   conectan: el fondo y los bordes toman el color del mes que esta abierto. */
#temporadas ~ #contacto {
  background: var(--season-surface);
}

/* ===================================================================
   CONTACTO · PULIDO PROFESIONAL · BORDES SUAVES · NADA SE OPAQUE
   Paneles sólidos, esquinas redondeadas y texto siempre legible.
   =================================================================== */

/* Panel del formulario: sólido, cálido, con esquinas redondeadas */
#contacto .contact-form-container {
  background: linear-gradient(180deg, #FFFDF7 0%, #FBF4E2 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  padding: 4rem !important;
}

.contact-form {
  margin-bottom: 2rem;
}

#contacto .contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}

#contacto .contact-form input,
#contacto .contact-form textarea {
  width: 100%;
  padding: 1.8rem;
  font-size: 1.1rem;
  border: 1px solid var(--season-accent-soft);
  border-bottom: 2px solid var(--season-accent);
  border-radius: 14px;
  color: #241A08;
  background: #FFFFFF;
  font-weight: 600;
  margin-bottom: 1.6rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: var(--transition-premium);
  font-family: 'Quicksand', sans-serif;
}

#contacto .contact-form .contact-submit {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #d4af37, #b8942a);
  color: #fff;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.4);
}

#contacto .contact-form .contact-submit:hover {
  background: linear-gradient(135deg, #b8942a, #d4af37);
}

#contacto .contact-form .contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

#contacto .contact-form .contact-status {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

#contacto .contact-form .contact-status.ok {
  background: rgba(27, 94, 32, 0.12);
  color: #1b5e20 !important;
  border: 1px solid rgba(27, 94, 32, 0.3);
}

#contacto .contact-form .contact-status.err {
  background: rgba(159, 34, 46, 0.1);
  color: #9f222e !important;
  border: 1px solid rgba(159, 34, 46, 0.3);
}

/* Tarjeta de datos: panel sólido cálido con acento superior suave */
#contacto .contact-card {
  background: linear-gradient(180deg, #FFFDF7 0%, #FDF7E8 100%) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-top: 4px solid var(--season-accent) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14), 0 4px 14px rgba(0, 0, 0, 0.06) !important;
  padding: 3rem !important;
}

/* Campos: sólidos, legibles y con bordeado suave */
#contacto input,
#contacto textarea {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-bottom: 2px solid var(--season-accent) !important;
  border-radius: 14px !important;
  color: #241A08 !important;
  font-weight: 600 !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  opacity: 1 !important;
}
#contacto input::placeholder,
#contacto textarea::placeholder {
  color: #8A806B !important;
  opacity: 1 !important;
}
#contacto input:focus,
#contacto textarea:focus {
  background: #FFFFFF !important;
  border-color: var(--season-accent) !important;
  box-shadow: 0 0 0 4px var(--season-glow), inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* El contacto se atiende por WhatsApp: la sección muestra el enlace directo. */

/* Encabezados y textos internos: opacidad plena */
#contacto .section-head h2,
#contacto .section-head span,
#contacto .contact-card h3 {
  opacity: 1 !important;
}
#contacto .contact-intro,
#contacto .contact-detail p {
  color: var(--season-dark) !important;
  opacity: 1 !important;
}
#contacto .contact-alt {
  color: var(--season-dark-soft) !important;
  opacity: 1 !important;
}
#contacto .contact-alt a {
  color: #C44706 !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(196, 71, 6, 0.5);
  text-underline-offset: 3px;
  text-shadow: 0 1px 2px rgba(196, 71, 6, 0.15);
}
#contacto .contact-alt a:hover {
  color: #A63704 !important;
}
#contacto .contact-save {
  margin-top: 1.6rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.65) !important;
  border: 1px solid rgba(196, 71, 6, 0.25) !important;
  border-left: 5px solid #C44706 !important;
  border-radius: 12px !important;
  color: var(--season-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  opacity: 1 !important;
}
#contacto .contact-save strong {
  color: #C44706 !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(196, 71, 6, 0.15);
}

/* Encabezado legible también sobre fondos oscuros (enero) */
#temporadas[data-season="enero"] ~ #contacto .section-head h2,
#temporadas[data-season="enero"] ~ #contacto .section-head span {
  color: #FFFDF7 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Variante oscura de OCTUBRE: profesional, suave y legible */
#temporadas[data-season="octubre"] ~ #contacto .contact-form-container {
  background: linear-gradient(180deg, rgba(44, 18, 0, 0.97), rgba(20, 6, 0, 0.98)) !important;
  border: 1px solid rgba(255, 102, 0, 0.35) !important;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
#temporadas[data-season="octubre"] ~ #contacto input,
#temporadas[data-season="octubre"] ~ #contacto textarea {
  background: rgba(255, 255, 255, 0.97) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  border-bottom-color: #ff6600 !important;
  color: #1c1c1c !important;
}
#temporadas[data-season="octubre"] ~ #contacto .contact-form-container h3,
#temporadas[data-season="octubre"] ~ #contacto .contact-intro,
#temporadas[data-season="octubre"] ~ #contacto .contact-alt {
  color: #ff8c00 !important;
}
#temporadas[data-season="octubre"] ~ #contacto .contact-save {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 102, 0, 0.35) !important;
  color: #ffc15e !important;
}
#temporadas[data-season="octubre"] ~ #contacto .contact-save strong {
  color: #ff6600 !important;
}

/* Responsivo: relleno cómodo en pantallas pequeñas */
@media (max-width: 768px) {
  #contacto .contact-form-container { padding: 1.8rem 1.2rem !important; }
  #contacto .contact-card { padding: 1.8rem 1.2rem !important; }
  #contacto input,
  #contacto textarea,
  #contacto .contact-form input,
  #contacto .contact-form textarea {
    font-size: 16px !important; /* Previene auto-zoom en iOS Safari */
    padding: 1.1rem 1rem !important;
  }
}

/* DATOS RAPIDOS Y WHATSAPP
   Direccion, horario y contacto siempre visibles, al estilo de la web de
   referencia. La franja va en navbar.css por depender del header. */
/* DATOS RÁPIDOS
   Franja bajo el header con dirección, teléfono, correo, WhatsApp y horario.
   Sigue la idea de la web de referencia: lo esencial a la vista sin scroll. */
.datos-rapidos {
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.12), rgba(0, 0, 0, 0) 45%);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.9rem 6%;
}

.datos-rapidos-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.2rem;
}

.dato-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--ghostly-white);
}

.dato-detail p {
  margin: 0;
}

.dato-detail strong {
  color: var(--halloween-vivid);
  font-weight: 700;
}

.dato-detail a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.dato-detail a:hover {
  color: var(--halloween-vivid);
  border-bottom-color: var(--halloween-vivid);
}

.dato-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.9;
}

.datos-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #FFFFFF;
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datos-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.datos-horario-nota {
  max-width: 1400px;
  margin: 0.5rem auto 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: rgba(200, 200, 200, 0.55);
}

/* HORARIO en la tarjeta de contacto */
.contact-horario {
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--halloween-vivid);
  border-radius: 10px;
  background: rgba(255, 140, 0, 0.06);
}

.contact-horario h4 {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--halloween-vivid);
}

.contact-horario p {
  margin: 0.3rem 0;
  font-size: 0.88rem;
  color: var(--ghostly-white);
}

.contact-horario strong {
  color: #FFFFFF;
}

/* WHATSAPP en la portada, junto al boton de temporadas */
.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.2rem 0.8rem 0;
  padding: 1.1rem 2.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-wa-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(37, 211, 102, 0.5);
}

.hero-horario {
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(200, 200, 200, 0.72);
}

/* El boton de acceso al panel se ve siempre (es la forma de iniciar sesion) */
.admin-menu-item {
  list-style: none;
}

.admin-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.admin-menu-btn:hover {
  color: var(--halloween-vivid);
}

@media (max-width: 900px) {
  .datos-rapidos {
    padding: 0.8rem 5%;
  }
  .datos-rapidos-inner {
    gap: 0.7rem 1.2rem;
    justify-content: flex-start;
  }
  .dato-detail {
    font-size: 0.75rem;
  }
  .datos-wa {
    padding: 0.6rem 1.2rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 560px) {
  .datos-rapidos-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-wa-hero {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.4rem;
  }
}
