:root {
  --dorado: #c9a14a;
  --oscuro: #1b1b1b;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: #f4f4f4;
}

.nav {
  position: relative;
}
/* HEADER */
.header {
  background: linear-gradient(90deg, #c8a44b, #006330);
  padding: 30px 0;
}

.header-inner {
  max-width: none;
  margin: 0 auto;              /* centra el bloque completo */
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* fuerza alineación izquierda */
  gap: 15px;
}

.logo-area img {
  display: block;     /* evita comportamientos inline */
  margin: 0;          /* elimina auto-centering */
  height: 105px;
}

.logo-text h1 {
  font-size: 30px;
  color: #fff;
}

.logo-text span {
  font-size: 22px;
  color: #f1e7c0;
}

/* MENU PRINCIPAL
=================*/
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  z-index: 9999;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  /*position: relative;*/
}

.menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--dorado);
  bottom: -6px;
  left: 0;
  transition: var(--transicion);
}

.menu li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color:white;
  border: none;
  cursor: pointer;
}

/*.nav a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.nav a.active,
.nav a:hover {
  border-bottom: 2px solid #f1e7c0;
}*/


/* BANNER */
.banner {
  height: 200px;
  background: url("../assets/v8.jpg");
  background-repeat: repeat;
  background-size: contain;
  position: relative;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* CONTACTO */
.contacto-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* COLUMNA IZQUIERDA */
.datos-contacto h2 {
  color: var(--dorado);
}

.dato {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: bold;
}

.redes a {
  margin-left: 5px;
  color: var(--dorado);
  text-decoration: none;
}

/* COLUMNA DERECHA */
.contacto-imagen img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0,0,0,.3);
  object-fit: cover;
}

/* ===============================
   SECCIÓN FONDO
================================ */
.lead-section {
  position: relative;
  height: 70vh;
  background: url("../assets/fondo1.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.lead-content {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 2;
}
/* ===============================
   MODAL
================================ */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* ===============================
   MODAL FORMULARIO
================================ */
/* ===============================
   SECCIÓN FONDO
================================ */
.lead-bg {
  height: 80vh;
  background: url("../assets/fondo1.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: left;
  position: relative;
}

/* ===============================
   FORMULARIO (OCULTO POR DEFECTO)
================================ */
.lead-form-container {
  background: rgba(255, 255, 255, 0.85);
  width: 70%;
  height: 85%;
  max-width: 900px;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

/* Mostrar al pasar el mouse */
.lead-bg:hover .lead-form-container {
  opacity: 0.85;
  transform: translateY(0);
}

/* ===============================
   TEXTO
================================ */
.lead-form-container h2 {
  margin-bottom: 10px;
  font-size: 26px;
}

.lead-form-container p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #333;
}

/* ===============================
   FORMULARIO
================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #999;
  padding: 10px;
  background: transparent;
  font-size: 15px;
}
.checkbox{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
}
textarea {
  resize: none;
  height: 80px;
  margin-bottom: 15px;
}

/* ===============================
   OPCIONES
================================ */
.form-options {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: left;
  margin-bottom: 10px;
  font-size: 14px;
/*  display: flex;
  align-items: left; 
  justify-content: flex-start; 
  justify-content: left;
  align-items: left;
  */
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.radio-group span {
  font-weight: 500;
  margin-right: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* ===============================
   BOTÓN
================================ */
button {
  width: 100%;
  padding: 14px;
  background: #1f5fa8;
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}

button span {
  margin-left: 10px;
}


/* ============ FOOTER =========== */
.footer {
  background: #1f2c3d;
  color: #cfd8e3;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr 1fr 1fr;
  gap: 20px;
  padding: 15px 10px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer h4 {
  color: #fff;
  margin-top: 10px;
  font-size: 16px;
}

.footer p {
  font-size: 16px;
  line-height: 1.6;
}

.footer-logo {
  width: 180px;
  margin-bottom: 5px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer ul li a {
  color: #cfd8e3;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #ffffff;
}

.social-list li,
.enlaces li,
.contact-list li {
  display: flex;
  align-items: left;
  gap: 20px;
}

.footer i {
  color: #ffffff;
}

/* Barra inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* MENU RESPONSIVE 
==================*/
@media (max-width: 768px) {
  .nav {
    width: 100%;
  }

  .menu {
    display: none;
    flex-direction: column;
    /*background: var(--blanco);*/
    background-color: rgba(255, 255, 255, 0.50);
    position: absolute;
    top: 100%;
    right: 0;
    width: 90px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    padding: 0;
    margin: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    border-bottom: 1px solid #eee;
    width: 100%;
    margin: 0;
  }

  .menu li a {
    font-size: 14px; 
    padding: 4px 4px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    word-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.0; 
    transition: all 0.3s ease;
  }

  .menu li a:hover {
    background-color: rgba(0,102,204,0.1);
    color: #008425;
    box-shadow: inset 3px 0 0 var(--dorado);
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .banner-texto h2 {
    font-size: 2rem;
  }
}