/* =========================
   Reset básico
========================= */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* =========================
   Video de fondo
========================= */
.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -3;
}

/* =========================
   Contenedor principal
========================= */
.masthead {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 3rem;
  z-index: 1;
}

/* Overlay oscuro base */
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: -2;
}

/* Overlay amarillo diagonal */
.overlay-yellow {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-color: rgba(245, 183, 0, 0.65);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}

/* =========================
   Contenido
========================= */
.masthead-content {
  max-width: 720px;
  color: #ffffff;
}

.masthead-content h1 {
  font-size: 2.8rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.masthead-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* =========================
   Formulario
========================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: bold;
  background-color: #f5b700;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e0a800;
}

/* =========================
   Barra redes sociales
========================= */
.social-bar {
  position: fixed;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}

.social-bar a {
  width: 48px;
  height: 48px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-bar a:hover {
  background-color: #f5b700;
  color: #000;
  transform: scale(1.1);
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px) {
  .overlay-yellow {
    display: none;
  }

  .masthead {
    justify-content: center;
    text-align: center;
  }

  .masthead-content {
    max-width: 100%;
  }

  .social-bar {
    right: 15px;
  }
}
