:root {
  --dorado: #c9a14a;
  --dorado-claro: #e6c97a;
  --oscuro: #1b1b1b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f4f4;
  color: #222;
}

.nav {
  position: relative;
}

/* HEADER */
/* 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: 400px;
  background: url("../assets/portico_gent2.jpg") bottom / cover no-repeat;
  position: relative;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* UBICACIÓN */
.ubicacion-section {
  max-width: 1300px;
  margin: 80px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 0 40px;
}

.info-ubicacion h2 {
  color: var(--dorado);
  margin-bottom: 10px;
}

.referencias {
  margin: 25px 0;
  list-style: none;
}

.referencias li {
  margin-bottom: 10px;
}

.acciones {
  display: flex;
  gap: 20px;
}

.btn {
  background: var(--dorado);
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

.btn.secundario {
  background: transparent;
  border: 2px solid var(--dorado);
  color: var(--dorado);
}

.mapa-container iframe {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  border: none;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

/* ASISTENTE */
.asistente {
  background: #fff;
  padding: 40px 20px;
}

.asistente h2 {
  text-align: center;
  color: var(--dorado);
  margin-bottom: 20px;
}

.asistente-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.asistente-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

/* ============ 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;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .ubicacion-section {
    grid-template-columns: 1fr;
  }
}
/* 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;
  }
}
