/* ==========================================================
   Chavales Rojos - Hoja de estilos principal
   Paleta tomada de la imagen de La Pabloneta
   ========================================================== */
:root {
    --rojo: #b3121b;
    --rojo-oscuro: #7a0c12;
    --amarillo: #f2b705;
    --mostaza: #d99a00;
    --cielo: #8fd0e8;
    --montana: #8c8fb8;
    --asfalto: #2b2b2e;
    --crema: #fff6e0;
    --texto: #2b2b2e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Roboto', system-ui, sans-serif;
    color: var(--texto);
    background:
        linear-gradient(180deg, var(--cielo) 0%, #cfe7ef 35%, var(--crema) 70%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------------- Banner / Header ---------------- */
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rojo-oscuro) 0%, var(--rojo) 55%, #c8241c 100%);
    padding: 2rem 1.5rem 5.5rem;
    color: #fff;
}

/* Franja amarilla en "V", como el frente de la furgoneta */
.banner__franja {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 0 70%,
        var(--amarillo) 70% 79%,
        var(--asfalto) 79% 80%,
        transparent 80% 100%);
    opacity: .9;
}

.banner__contenido {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.banner__logo {
    width: clamp(110px, 16vw, 170px);
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
    transition: transform .3s ease;
}
.banner__logo-link:hover .banner__logo { transform: rotate(-4deg) scale(1.04); }

.banner__pre {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: .3em;
    color: var(--amarillo);
}

.banner__titulo {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1;
    color: var(--amarillo);
    text-shadow: 3px 3px 0 var(--rojo-oscuro), 6px 6px 0 rgba(0,0,0,.35);
    transform: rotate(-2deg);
}

.banner__lema {
    margin-top: .6rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    letter-spacing: .12em;
    color: var(--crema);
}

.banner__montanas {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 90px;
    z-index: 1;
}

/* ---------------- Contenido principal ---------------- */
.inicio {
    flex: 1;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bienvenida__titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: .04em;
    color: var(--rojo);
}

.bienvenida__texto {
    max-width: 640px;
    margin: .5rem auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.foto-principal {
    width: 100%;
    max-width: 560px;
    background: var(--amarillo);
    padding: 10px;
    border-radius: 18px;
    border: 4px solid var(--rojo);
    box-shadow: 0 18px 40px rgba(122,12,18,.35);
}

.foto-principal img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.foto-principal figcaption {
    padding: .7rem 0 .2rem;
    font-family: 'Permanent Marker', cursive;
    color: var(--rojo-oscuro);
    font-size: 1.1rem;
}

/* ---------------- Footer ---------------- */
.pie {
    background: var(--asfalto);
    color: var(--crema);
    border-top: 6px solid var(--amarillo);
    box-shadow: inset 0 6px 0 var(--rojo);
    padding: 2rem 1.25rem 1.5rem;
}

.pie__contenido {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.pie__marca {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    letter-spacing: .06em;
    color: var(--amarillo);
}
.pie__logo { width: 48px; height: auto; }

.pie__redes { display: flex; gap: .75rem; flex-wrap: wrap; }

.red {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
}
.red svg { width: 20px; height: 20px; fill: currentColor; }
.red:hover, .red:focus-visible { transform: translateY(-2px); filter: brightness(1.12); }
.red:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }

.red--instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.red--youtube   { background: #ff0000; }

.pie__copy {
    width: 100%;
    text-align: center;
    font-size: .85rem;
    opacity: .7;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.12);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 640px) {
    .banner { padding-bottom: 4.5rem; }
    .banner__contenido { flex-direction: column; text-align: center; gap: 1rem; }
    .banner__franja { opacity: .35; }
    .pie__contenido { flex-direction: column; text-align: center; }
}
