/* ===========================
   CONTACTO (index integrado, seguro)
   - No pisa body, label, button global
=========================== */

.section--contacto{
  position: relative;
  min-height: 100vh;
  padding-inline: 0 !important; /* full-bleed */
}

/* Wrapper interno */
.section--contacto .contacto__page{
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Video fondo */
.section--contacto .contacto__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: grayscale(100%) blur(1.2px) brightness(1.12) contrast(0.92);
  transform: scale(1.03);
}

/* Overlay claro */
.section--contacto .contacto__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
}

/* Bloque info arriba izq */
.section--contacto .contacto__info{
  position: absolute;
  z-index: 3;
  top: 110px;
  left: 140px;
  text-align: left;
  max-width: 520px;
}

.section--contacto .contacto__title{
  margin: 0 0 18px 0;
  font-family: var(--font-display, "League Spartan", sans-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 600;
  color: rgba(80,80,80,0.9);
}

/* líneas */
.section--contacto .contacto__line{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 18px;
  color: #444;
}

.section--contacto .contacto__icon{
  width: 26px;
  height: 26px;
  opacity: 0.75;
}

.section--contacto .contacto__link{
  color: inherit;
  text-decoration: none;
}

.section--contacto .contacto__link:hover{
  text-decoration: underline;
}

/* Form centrado */
.section--contacto .contacto__formWrap{
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section--contacto .contacto__form{
  width: 420px;
  padding: 28px 30px;
  background-color: rgba(250,250,250,0.92);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
}

/* Campos */
.section--contacto .contacto__field{
  margin-bottom: 16px;
}

.section--contacto .contacto__label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.section--contacto .contacto__required{
  font-weight: 600;
}

/* Inputs */
.section--contacto .contacto__input,
.section--contacto .contacto__textarea{
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #bbb;
  border-radius: 6px;
  background: #fff;
  color: #111;
}

.section--contacto .contacto__input:focus,
.section--contacto .contacto__textarea:focus{
  outline: none;
  border-color: #777;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

.section--contacto .contacto__textarea{
  resize: vertical;
  min-height: 110px;
}

/* Botón */
.section--contacto .contacto__actions{
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.section--contacto .contacto__btn{
  padding: 10px 18px;
  background-color: #2b2b2b;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  min-width: 160px;
}

.section--contacto .contacto__btn:hover{
  background-color: #1e1e1e;
}

/* Error */
.section--contacto .contacto__error{
  color: red;
  font-size: 0.85rem;
  display: none;
  margin-top: 4px;
}

/* Logo abajo derecha */
.section--contacto .contacto__logo{
  position: absolute;
  z-index: 3;
  right: 40px;
  bottom: 30px;
}

.section--contacto .contacto__logo img{
  width: 200px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px){
  .section--contacto .contacto__info{
    left: 28px;
    top: 90px;
  }

  .section--contacto .contacto__form{
    width: min(420px, 92vw);
  }

  .section--contacto .contacto__logo img{
    width: 160px;
  }
}

@media (max-width: 640px){
  /* En móvil, lo hacemos “en flujo” para que no se pisen */
  .section--contacto .contacto__page{
    padding: 90px 18px 28px;
  }

  .section--contacto .contacto__info{
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 18px;
  }

  .section--contacto .contacto__formWrap{
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .section--contacto .contacto__form{
    width: 100%;
    padding: 22px 18px;
  }

  .section--contacto .contacto__logo{
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 18px;
    display: flex;
    justify-content: center;
  }

  .section--contacto .contacto__logo img{
    width: 140px;
  }
}
