/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  background: #000;
}

/* ========================= */
/* ANIMACIONES */
/* ========================= */

@keyframes aparecer {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes headerFade {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ========================= */
/* HEADER */
/* ========================= */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.15);

  animation: headerFade 0.8s ease-out both;
}

.titulo-sitio {
  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.contacto-header {
  display: flex;
  align-items: center;
}

/* Botón CONTACTO en header */
.btn-contacto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-contacto:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
  border-color: rgba(255,255,255,1);
}

/* ----- VIDEO HERO ----- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-fondo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capa-oscura {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
  z-index: 1;
}

.hero-texto {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10vw;
  text-align: center;
}

.linea {
  opacity: 0;
  font-size: 1.3rem;
  max-width: 900px;
}

.linea1 { animation: aparecer 1.2s forwards; animation-delay: 1s; }
.linea2 { animation: aparecer 1.2s forwards; animation-delay: 7s; }
.linea3 { animation: aparecer 1.2s forwards; animation-delay: 14s; }
.linea4 { animation: aparecer 1.2s forwards; animation-delay: 22s; font-size: 1.6rem; }

/* ----- BOTÓN SONIDO ----- */

.btn-sonido {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 5;
  padding: 10px 16px;
  background: rgba(0,0,0,0.55);
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-sonido:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}


/* ========================= */
/* SLIDER */
/* ========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.slide.activo { opacity: 1; }

.capa-oscura {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* ========================= */
/* TEXTOS SOBRE EL SLIDER */
/* ========================= */

.hero-texto {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10vw;
  text-align: center;
}

.linea {
  opacity: 0;
  font-size: 1.8rem;
  line-height: 1.3;
  max-width: 1000px;
}

.linea1 { animation: aparecer 1.2s forwards 1s; }
.linea2 { animation: aparecer 1.2s forwards 3s; }
.linea3 { animation: aparecer 1.2s forwards 6s; }
.linea4 { animation: aparecer 1.2s forwards 8s; font-size: 2.4rem; font-weight: 700; }

/* ========================= */
/* CONTACTO */
/* ========================= */

.seccion-contacto {
  background: #000;
  padding: 90px 20px 80px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contacto-inner {
  max-width: 980px;
  margin: 0 auto;
}

/* Solo el título a la izquierda */
.titulo-contacto {
  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 22px;
}

/* Todo lo demás centrado */
.contacto-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Datos centrados */
.datos-contacto {
  margin-bottom: 26px;
}

.dato-principal {
  font-size: 1.4rem;
  font-weight: 700;
}

.dato-secundario {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-top: 6px;
}

/* Formulario enmarcado */
.form-contacto {
  width: 100%;
  max-width: 520px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  padding: 22px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Campos verticales */
.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.campo span {
  font-size: 0.95rem;
  opacity: 0.85;
  text-align: left;
}

/* Recuadro discreto en cada input */
.form-contacto input,
.form-contacto textarea {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  padding: 12px 12px;
  color: #fff;
  font-size: 1rem;
  outline: none;
}

.form-contacto textarea { resize: vertical; min-height: 110px; }

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.35);
}

/* Botones */
.botones-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.btn-enviar,
.btn-borrar {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.25s ease, opacity 0.25s ease;
}

.btn-enviar:hover,
.btn-borrar:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.04);
}

.btn-borrar { opacity: 0.75; }

/* ========================= */
/* FOOTER */
/* ========================= */

.pie {
  background: #000;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.redes { display: flex; gap: 20px; }

.icono-svg-color {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icono-red:hover .icono-svg-color {
  transform: scale(1.18);
  opacity: 1;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
  }

  .titulo-sitio { font-size: 1.8rem; }

  .hero-texto { padding: 0 7vw; }

  .linea { font-size: 1.3rem; }
  .linea4 { font-size: 1.8rem; }

  .titulo-contacto { font-size: 1.9rem; }

  .form-contacto { padding: 18px; }
}

<div class="contacto-header">
  <a href="#contacto" class="btn-contacto" aria-label="Ir a la sección Contacto">
    <span class="icono-telefono" aria-hidden="true">☎</span>
    <span class="texto-boton">CONTACTO</span>
  </a>
</div>

/* ========================= */
/* BOTÓN CONTACTO CELESTE */
/* ========================= */

.btn-contacto-celeste {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px; /* esquinas bien redondeadas */

  background: #3fb6e0; /* celeste elegante */
  color: #000;

  text-decoration: none;
  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;

  box-shadow: 0 4px 12px rgba(63,182,224,0.35);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-contacto-celeste:hover {
  background: #5cc6eb;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(63,182,224,0.45);
}

/* Teléfono dentro del botón */
.telefono-btn {
  white-space: nowrap;
}

/* Separador visual */
.separador-btn {
  opacity: 0.6;
  font-weight: 900;
}

/* Texto Contacto */
.texto-btn {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* ========================= */
/* BOTÓN CONTACTO EN HEADER */
/* (MISMO ESTILO QUE ENVIAR) */
/* ========================= */

.btn-header-contacto {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent;
  color: #fff;

  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;

  text-decoration: none;
  cursor: pointer;

  transition: transform 0.2s ease,
              background 0.25s ease,
              opacity 0.25s ease;
}

.btn-header-contacto:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.04);
}

.mensaje-enviado{
  max-width: 720px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  padding: 28px;
  border-radius: 12px;
  text-align: center;
}

.mensaje-enviado h1{
  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.mensaje-enviado p{
  opacity: 0.85;
  margin-bottom: 18px;
}

/* ========================= */
/* TÍTULO + SUBTÍTULO HEADER */
/* ========================= */

.bloque-titulo {
  display: flex;
  flex-direction: column;
}

/* Subtítulo debajo del logo */
.subtitulo-sitio {
  font-family: 'Carlito', 'Calibri', sans-serif;
  font-size: 1.4rem;   /* DOBLE */
  font-style: italic;
  opacity: 0.85;

  /* indentación hasta "CULTURALES JC" */
  padding-left: 230px;
  margin-top: 4px;
}