/* ===========================
   PALETA Y VARIABLES GLOBALES
=========================== */
:root {
  --navy: #07183a;
  --gold: #e8b23d;
  --muted: #f5f3f2;
  --text: #0b1b33;
  --brand: #0b1b33;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", system-ui, Arial, Helvetica, sans-serif;
  color: var(--text);
  margin: 0;
}

/* ===========================
   ENCABEZADO Y MENÚ
=========================== */
.topbar {
  background: var(--navy);
  color: white;
}

.navbar-brand img {
  height: 48px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.nav-link:hover {
  color: var(--gold);
}

.dropdown-menu {
  background: var(--navy);
  border: none;
}

.dropdown-item {
  color: #fff;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ===========================
   HERO / HEADER PRINCIPAL
=========================== */
.hero {
  position: relative;
  width: 100%;
  margin-top: 0;
  overflow: hidden;
  text-align: center;
  height: auto;
}

.hero img,
.hero .hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* <-- recorta desde arriba */
  display: block;
  filter: brightness(0.8);
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--gold);
}

/* ===========================
   SECCIONES GENERALES
=========================== */
.section {
  padding: 60px 0;
}

.section--muted {
  background: var(--muted);
}

.h2-section {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
}

p.lead {
  color: #2d3b52;
}


.hero .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.hero .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ===========================
   LOGOS Y CLIENTES
=========================== */
.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 36px 0;
}

.logos img {
  max-height: 64px;
  opacity: 0.95;
}

/* ===========================
   MAPA RESPONSIVO
=========================== */
.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 12px;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================
   DIVISOR DORADO
=========================== */
.divider-gold {
  height: 6px;
  width: 100%;
  background: var(--gold);
}

/* ===========================
   LSITADO CON VIÑETAS DORADAS
=========================== */

.gold-list {
  list-style-type: disc;        /* viñetas normales */
  padding-left: 1.8rem;         /* pequeña sangría */
  color: var(--text);           /* color del texto */
  line-height: 1.8;             /* más aire entre líneas */
  margin-top: 1rem;
}

.gold-list li {
  margin-bottom: 1rem;          /* doble espacio entre bullets */
}

/* Tamaño y color del bullet */
.gold-list li::marker {
  color: #e8b23d;               /* color dorado */
  font-size: 1.4em;             /* bullets más grandes */
}



/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--navy);
  color: #fff;
  padding: 26px 0;
}

.social-icons img {
  height: 34px;
  margin-left: 8px;
}

/* ===========================
   FORMULARIO DE CONTACTO
=========================== */
form .form-label {
  color: var(--navy);
  font-weight: 600;
}

form .form-control,
form .form-select {
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  font-size: 15px;
  transition: border-color 0.2s;
}

form .form-control:focus,
form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.15rem rgba(232, 178, 61, 0.25);
}

.btn-brand {
  background-color: var(--navy);
  color: #fff;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.btn-brand:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* ===========================
   ESTILO DE MENÚ ACTIVO
=========================== */
.nav-link.active,
.nav-link:focus,
.nav-link.show {
  color: var(--gold) !important;
}

/* Ajuste de anclas para menú fijo */
:target {
  scroll-margin-top: 90px; /* Altura aproximada del navbar */
}


.whatsapp-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
}

.wa-icon {
  filter: invert(1);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (min-width: 992px) {
  .navbar-brand img {
    height: 56px;
  }
}

@media (max-width: 575px) {
  .logos {
    flex-direction: column;
    gap: 24px;
  }
}
