/* ========================== RESET GENERAL ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: #FFD700;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

/* ========================== VARIABLES ========================== */
:root {
  --amarillo: #FFD700;
  --negro: #000;
  --blanco: #fff;
}

/* ========================== CABECERA ========================== */
.cabecera {
  width: 100%;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.fila-cabecera {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cabecera-logo img {
  height: 60px;
  margin-left: 20px;
  display: block;
}

.cabecera-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 20px;
}

.cabecera-toggle .linea {
  width: 25px;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
}

.cabecera-menu {
  display: flex;
}

.cabecera-enlaces {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-right: 20px;
}

.boton-menu {
  background-color: transparent;
  border: 1px solid #FFD700;
  color: #FFD700;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.boton-menu:hover,
.boton-menu.activo {
  background-color: #FFD700;
  color: #000;
}

/* ========================== RESPONSIVE: MENÚ ========================== */
@media (max-width: 768px) {
  .cabecera-toggle {
    display: flex;
  }

  .cabecera-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #000;
    flex-direction: column;
    display: none;
  }

  .cabecera-menu.activo {
    display: flex;
  }

  .cabecera-enlaces {
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem;
    gap: 10px;
    margin: 0;
  }

  .boton-menu {
    width: 100%;
    text-align: right;
  }
}

/* ========================== ESPACIADOR CABECERA ========================== */
.espacio-cabecera {
  margin-top: 80px;
}

/* ========================== HERO DE CONTACTO ========================== */
.hero-contacto {
  background-color: #000;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-contacto-contenido h1 {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 1rem;
}

.hero-contacto-contenido p {
  font-size: 1.2rem;
  color: #fff;
}

/* ========================== CONTENEDOR CONTACTO ========================== */
.contacto-contenedor {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

/* ========================== FORMULARIO ========================== */
.contacto-formulario {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: #000;
}

.form-box {
  width: 100%;
  max-width: 500px;
  background-color: #0a0a0a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(191, 137, 2, 0.532);
}

.contacto-formulario h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #FFD700;
}

.formulario {
  display: flex;
  flex-direction: column;
}

.formulario label {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  background-color: #222;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border: 2px solid #FFD700;
}

/* ========================== BOTÓN FORMULARIO ========================== */
.formulario button {
  padding: 14px;
  background-color: #FFD700;
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.formulario button:hover {
  background-color: #e6c200;
  transform: scale(1.02);
}

/* ========================== MAPA ========================== */
.contacto-mapa {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #000;
}

.mapa-envoltorio {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 213, 0, 0.2);
}

.mapa-envoltorio iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================== FOOTER ========================== */
.footer {
  background-color: #141617;
  color: #eaeaea;
  padding: 3rem 1rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 10;
}

.footer-contenido {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-columna {
  flex: 1 1 250px;
  min-width: 240px;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-logo h3 {
  color: #FFD700;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0;
}

.footer-columna h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-columna p {
  margin: 0.3rem 0;
  font-size: 0.92rem;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #2a2c2d;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-copy a {
  color: #FFD700;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ========================== RESPONSIVE GENERAL ========================== */
@media (max-width: 992px) {
  .contacto-contenedor {
    flex-direction: column;
  }

  .contacto-formulario,
  .contacto-mapa {
    flex: 1 1 100%;
    padding: 30px 20px;
  }

  .mapa-envoltorio {
    height: 300px;
  }

  .hero-contacto-contenido h1 {
    font-size: 2rem;
  }

  .hero-contacto-contenido p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .footer-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-columna {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
    display: block;
  }
}
