.main-header {
    position: sticky;
   width: 100%;
    height: 190px;
    
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background:
        linear-gradient(rgba(0, 0, 0, .6),
            rgba(0, 0, 0, .6)),
        url("../imgs/bannerfenix3.webp");
    /* object-fit: cover; */
   background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 0.5px solid var(--border);
    backdrop-filter: blur(10px);
}

/* HEADER */

.logo img {
  width: clamp(80px, 10vw, 140px);
  height: auto;
  display: block;
}

/* NAV */

#navbar ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin-top: 5rem;/*se úede quitar*/
   
}

#navbar a {
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: .3s ease;
    position: relative;
}

#navbar a:hover {
    color: #fbbf24;
}

/* EFECTO SUBRAYADO */

#navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #fbbf24;
    transition: .3s ease;
}

#navbar a:hover::after {
    width: 100%;
}

/* BOTÓN HAMBURGUESA */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* HERO */

.hero {
    margin-top: 45px;
    width: 100%;
    min-height: calc(100vh - 5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
    padding: 5rem 5rem 6rem;
    background-image: url("../imgs/img3.png");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.highlight {
    color: var(--dark);
}

.hero p {
    margin: 1.5rem 0;
    color: var(--dark);
    font-size: 1.1rem;
    max-width: 600px;
}
/* .hero-img {
    width: 100%;
    border-radius: 16px;
    min-height: 300px;
    background: url("../imgs/conductor.png") center / cover no-repeat;
} */
.hero-img {
    width: 100%;
    height: 55%;
    min-height: 500px;
    border-radius: 15px;
    background:
        linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)),
        url("../imgs/fabio.png");

    background-position: center;
    background-size: cover;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* ── Logo texto (reemplaza la imagen del logo) ── */
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -.02em;
  transition: opacity .2s;
}
.logo-text span {
  color: #fbbf24;
}
.logo-text:hover {
  opacity: .85;
}
.dark-mode .logo-text { color: #ffffff; }
.dark-mode .logo-text span { color: var(--secondary, #fcc419); }
