:root {
  --gm-teal: #005a73;
  --gm-teal-dark: #00435a;
  --gm-light-bg: #f3f6f7;
  --gm-font: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
              sans-serif;
}

/* GENERAL */
body {
  font-family: var(--gm-font);
  color: #333;
}

/* NAVBAR */
.gm-logo {
  height: 90px;
  width: auto;
}

.gm-navbar-links .nav-link {
  font-weight: 500;
  font-size: 1.1rem;
  margin-left: 1rem;
}

.gm-navbar-links .nav-link:hover {
  color: var(--gm-teal-dark);
}

/* HERO CON VIDEO */
.gm-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  height: 70vh;
  padding: 0;
  overflow: hidden;
}

.gm-hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gm-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;  /* mueve el encuadre vertical */
  display: block;
}
.gm-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 50, 0.25);
  z-index: 2;
}
/* Móvil*/
@media (max-width: 768px) {
  .gm-hero {
    min-height: 80vh;
    height: 80vh;
  }
}
/* CINTILLO DE MARCAS */
.gm-brands-strip {
  background-color: var(--gm-teal);
  padding: 0.6rem 0;
}

.gm-brands-strip img {
  max-height: 60px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gm-brands-strip .carousel-control-prev,
.gm-brands-strip .carousel-control-next,
.gm-brands-strip .carousel-indicators {
  display: none !important;
}

/* Redes sociales vertical */
.gm-social-bar {
  position: fixed;
  top: 40%;
  right: 0.75rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gm-social-bar a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--gm-teal-dark);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem;
}

/* Secciones generales */
.gm-section {
  background-color: #ffffff;
}

.gm-section-title {
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--gm-teal-dark);
}

/* Cards Unidades de negocio*/
.gm-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gm-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.gm-card-image img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
}

.gm-card-title {
  font-weight: 700;
  color: var(--gm-teal-dark);
}


.gm-about-section {
  background-color: var(--gm-teal);
}

.gm-about-title {
  font-weight: 800;
}

.gm-about-image {
  position: relative;
}

.gm-about-image img {
  width: 100%;
  border-radius: 0.5rem;
}

.gm-video-btn {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background-color: #ffffff;
  color: var(--gm-teal-dark);
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
}


.gm-stats-section {
  background-color: var(--gm-light-bg);
}

.gm-stats-category {
  font-weight: 700;
  color: var(--gm-teal-dark);
}

.gm-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gm-teal-dark);
  margin-bottom: 0;
}

/* línea bajo el número */
.gm-stat-number::after {
  content: "";
  display: block;
  width: 250px;
  height: 1px;
  background-color: var(--gm-teal-dark);
  margin-top: 4px;
}

.gm-stat-label {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.gm-stat-text {
  font-size: 0.9rem;
}

/* Listas de enlaces bajo los números */
.gm-stat-links {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.85rem;
}

.gm-stat-links li + li {
  margin-top: 0.15rem;
}

.gm-stat-links a {
  color: var(--gm-teal-dark);
  text-decoration: none;
}

.gm-stat-links a:hover {
  text-decoration: underline;
}


.gm-divider {
  border-top: 1px solid #c9d4d8;
  margin: 1.5rem 0;
}

/* GALERÍA */
.gm-gallery-section {
  background-color: #ffffff;
}

.gm-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.gm-gallery-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gm-teal-dark);
}

.gm-gallery-subtitle {
  font-size: 1.8rem;
}

/* FOOTER */
.gm-footer {
  background-color: var(--gm-teal-dark);
  color: #ffffff;
  font-size: 0.9rem;
}

.gm-footer img {
  max-height: 80px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gm-footer-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gm-footer-links a {
  color: #e4eef1;
  text-decoration: none;
  font-size: 0.9rem;
}

.gm-footer-links a:hover {
  text-decoration: underline;
}

.gm-footer-bottom {
  background-color: var(--gm-teal);
  padding-top: 0.75rem;
}

.gm-footer-bottom p {
  color: #e0edf0;
  font-size: 0.8rem;
}

.gm-footer-icons i {
  font-size: 1.2rem;
  margin-left: 0.4rem;
}

.gm-footer-pattern img {
  width: 100%;
  display: block;
  margin-top: 0.4rem;
}

/* LOADER con fade-in / fade-out */
#gm-loader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  animation: loaderFadeIn 0.7s ease forwards; 
  transition: opacity 0.7s ease, visibility 0.7s ease; 
}

#gm-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* entrada del loader */
@keyframes loaderFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* logo del loader */
.gm-loader-inner img {
  max-width: 220px;
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  animation: logoZoom 1.8s ease-in-out infinite alternate;
}

@keyframes logoZoom {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.07); opacity: 1; }
}

/* Spinner del loader */
.gm-loader-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #e0e0e0;
  border-top-color: var(--gm-teal);
  animation: gm-spin 0.5s linear infinite;
  margin: 0 auto;
}

@keyframes gm-spin {
  to { transform: rotate(360deg); }
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .gm-hero {
    min-height: 55vh;
    height: 55vh;
  }
  .gm-social-bar {
    right: 0.3rem;
  }
}

@media (max-width: 575.98px) {
  .gm-section-title {
    font-size: 1.3rem;
  }
  .gm-gallery-title {
    font-size: 1.5rem;
  }
}
/* Listas de enlaces bajo los números */
.gm-stat-links {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.85rem;
}

.gm-stat-links li + li {
  margin-top: 0.15rem;
}

.gm-stat-links a {
  color: var(--gm-teal-dark);
  text-decoration: none;
}

.gm-stat-links a:hover {
  text-decoration: underline;
}

/* Contenedor de dos columnas (aeropuertos e hidrocarburos) */
.gm-stat-two-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.gm-stat-two-cols > ul,
.gm-stat-two-cols > div {
  flex: 1 1 200px;
}

/* Subtítulo de columnas de hidrocarburos ("Combustible" / "Servicio") */
.gm-stat-subtitle {
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--gm-teal-dark);
}

.gm-hidro-cols {
  gap: 3rem;
}
@media (max-width: 768px) {
  .gm-stat-two-cols {
    flex-direction: column;
  }
}
/* VIÑETAS GENERALES */
.gm-bullets {
  list-style: none;       
  padding-left: 0;        
  margin-bottom: 1rem;
}

.gm-bullets li {
  position: relative;
  padding-left: 1.1rem;   
}

.gm-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.8rem;
  color: var(--gm-teal-dark);  
}

.gm-bullets a {
  text-decoration: none;
}

.gm-bullets a:hover {
  text-decoration: underline;
}

