/* Fuente global */
body, p, a, li, span {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;   /* Bold para que resalten */
    color: #002C5F;     /* Azul Stellantis */
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

/* Navbar */
.navbar .nav-link {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

/* Footer */
.footer {
    font-family: 'Exo 2', sans-serif;
    font-weight: 400;
}


/* ===== Header y título ===== */
.page-title {
    background: linear-gradient(90deg, #00008B, #00C9FF); /* Ajusta colores Stellantis */
    color: #fff;
    padding: 190px 0 70px 0;
    text-align: center;
    position: relative;
}

.page-title .overlay {
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.page-title-content h1.page-name {
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.nav-link.nav-link-scroll {
    font-size: 17px;
    font-weight: 500 !important;
}

/* ===== Contenido ===== */
.blog-page-main-wrapper {
    padding: 60px 0;
    background: #fff;
}

.main-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.main-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #002C5F; /* Azul Stellantis */
}

.main-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

/* ===== Footer ===== */
.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: #00C9FF;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ==== Navbar base (sobre el degradado) ==== */
#main-nav {
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
  background: transparent;
  padding: 20px 0;
}

#main-nav .navbar-brand img {width: 190px; height: auto; transition: opacity .2s ease; }
#main-nav .white-logo { display: inline-block; }
#main-nav .color-logo  { display: none; }

#main-nav .nav-link {
  color: #ffffff;           /* links blancos sobre el hero */
  font-weight: 600;
  transition: color .2s ease;
}

/* Botón (si lo usas) */
#main-nav .nav-button .nav-link {
  color: #fff;
}

/* ==== Estado scrolled (sticky con fondo blanco) ==== */
#main-nav.is-stuck {
  background: #ffffff;
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  padding: 10px 0;
}

#main-nav.is-stuck .white-logo { display: none; }
#main-nav.is-stuck .color-logo  { display: inline-block; }

#main-nav.is-stuck .nav-link { color: #111111; }     /* “Inicio” en negro */
#main-nav.is-stuck .nav-link:hover { color: #000; }

/* ==== Mobile: cuando se abre el menú colapsado ==== */
@media (max-width: 991.98px) {
  /* Sobre el hero (no scrolled) mantén legibilidad */
  #main-nav .navbar-collapse {
    background: transparent;
  }
  /* Si haces scroll o quieres que el menú abierto sea blanco */
  #main-nav.is-stuck .navbar-collapse.show {
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.06);
  }
  #main-nav .navbar-toggler { outline: none !important; }
}

/* Evita “salto” por fixed-top (ajusta si tu navbar es más alta) */
body { padding-top: 70px; }
