*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-size: 100%;
    vertical-align: baseline;
}

@font-face {
    font-family: 'Bahnschrift Menu';
    src: url('fuentes/bahnschrift.ttf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Bai Jamjuree';
    src: url('fuentes/BaiJamjuree-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aktiv Grotesk Light';
    src: url('fuentes/AktivGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #000;
}

body{
    text-align: left;
    font-family: 'Bai Jamjuree', sans-serif;
}

/* ===== CONTAINER ===== */
.container{
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* background */
.header{
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;

    background-image: url("imagenes/fondo-header.png");
    background-size: 110% auto;
    background-position: 2% 20%;
    background-repeat: no-repeat;
}



/* ===== BARRA SUPERIOR ===== */
.barra-superior{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0 0 0;
}

.logo{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-img{
    width: 350px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.logo-click{
    cursor: pointer;
    transition: transform 0.15s ease;
}

.logo-click:active{
    transform: scale(0.95);
}

/* ===== NAVBAR ===== */
.navbar{
    display: flex;
    gap: 130px;
    align-items: center;
}

.navbar a{
    font-family: 'Bahnschrift Menu', sans-serif;
    position: relative;
    text-decoration: none;
    color: #111111;
    font-size: 19px;
    font-weight: 500;
    font-stretch: 100%;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navbar a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #ff0000;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
}

.navbar a:hover::after{
    transform: scaleX(1);
}

.navbar a:focus-visible::after,
.navbar a.is-active::after{
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce){
    .navbar a::after{
        transition: none;
    }
}

/* ===== CONTENIDO CENTRAL ===== */
.contenido-header{
    width: 100%;
    min-height: calc(100vh - 240px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #111111;
    padding: 100px 0 170px 0;
}

.logo-central{
    margin-bottom: 40px;
}

.logo-central-img{
    width: clamp(180px, 20vw, 320px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.frase-header{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e31c1c;
    color: #ffffff;
    padding: 12px 12px;
    border-radius: 8px;
    margin-top: -10px;
}

.frase-header p{
    font-family: 'Aktiv Grotesk Light', sans-serif;
    font-size: clamp(13px, 1.4vw, 20px);
    font-weight: 300;
    line-height: 1.1;
    margin: 0;
    white-space: nowrap;
}

/* ===== PLECA DE MARCAS ===== */
.pleca-marcas{
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: min(1100px, 92%);
    background: rgba(0, 0, 0, 0.173);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 14px 24px;
    z-index: 3;
}

.marcas-track{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:40px;
    width: 100%;
}

.marca-item:nth-child(2),
.marca-item:nth-child(3),
.marca-item:nth-child(4){
    margin-right: 25px;
}

.marca-item:nth-child(5){
    margin-right: 5px;
}

.marca-item:nth-child(1),
.marca-item:nth-child(6){
    width: 80px;
}


.marca-item{
    flex: 0 0 auto;
    width: 150px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-item img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.marca-item:nth-child(1) img{
    transform: scale(1.2);
}

.marca-item:nth-child(6) img{
    transform: scale(1.3);
}



.marca-item a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.marca-item a:hover{
    transform: scale(1.10);
    opacity: 0.9;
}

.marca-item a:active{
    transform: scale(0.97);
}



/* ===== MENU MÓVIL ===== */
.menu-toggle{
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    z-index: 5000;
}

.menu-mobile{
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4500;
}

.menu-mobile.is-open{
    display: flex;
}

.menu-close{
    display: block;
    position: absolute;
    top: 28px;
    right: 28px;
    background: none;
    border: none;
    color: #000000;
    font-size: 34px;
    cursor: pointer;
}

.menu-logo{
    margin-bottom: 40px;
}

.menu-logo .logo-img{
    width: 260px;
    height: auto;
}

.menu-mobile nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.menu-mobile nav a{
    text-decoration: none;
    color: #000000;
    font-size: 24px;
    font-weight: 500;
    position: relative;
}

.menu-mobile nav a span{
    color: inherit;
}





























@media (max-width: 768px){

    html,
    body{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .header{
        position: relative;
        width: 100%;
        min-height: 100svh;
        overflow: hidden;
        background-image: url("imagenes/fondo-header.png");
        background-size: cover;
        background-position: 1% 20%;
        background-repeat: no-repeat;
    }

    .container{
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    /* barra superior */
    .barra-superior{
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 18px 0 0 0;
        position: relative;
        z-index: 3000;
    }

    .navbar{
        display: none;
    }

    /* sandwich */
    .menu-toggle{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        top: 25px;
        right: 10px;
        padding: 0;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 42px;
        line-height: 1;
        cursor: pointer;
        position: relative;
        z-index: 3600;
    }

    /* contenido central */
    .contenido-header{
        width: 100%;
        min-height: auto;
        margin-top: 95px;
        padding: 0 0 240px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #111111;
        position: relative;
        z-index: 2;
    }

    .logo-central{
        margin-bottom: 22px;
    }

    .logo-central-img{
        width: min(60vw, 240px);
        height: auto;
        display: block;
        margin: 0 auto;
    }

.frase-header{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e31c1c;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 5px;
    margin-top: -6px;
}

.frase-header p{
    font-family: 'Aktiv Grotesk Light', sans-serif;
    font-size: clamp(12px, 3.6vw, 16px);
    font-weight: 300;
    line-height: 1.05;
    margin: 0;
    white-space: nowrap;
    text-align: center;
}

    /* pleca logos */
    .pleca-marcas{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) translateY(50px);
    width: calc(100% - 40px);
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 16px 14px;
    z-index: 3;
}

.marcas-track{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.marca-item,
.marca-item:nth-child(1),
.marca-item:nth-child(6){
    width: 100%;
    height: 34px;
    margin: 0 !important;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marca-item img{
    max-width: 78%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
    .marca-item,
    .marca-item:nth-child(1),
    .marca-item:nth-child(6){
        width: 100%;
        height: 42px;
        margin: 0 !important;
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .marca-item a{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        cursor: pointer;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .marca-item a:active{
        transform: scale(0.96);
        opacity: 0.9;
    }

    .marca-item:nth-child(1) img{
        transform: scale(1.3);
    }

    .marca-item:nth-child(6) img{
        transform: scale(1.7);
    }

    .marca-item:nth-child(2) img{
        transform: scale(1.2);
    }

    /* menú móvil cerrado */
    .menu-mobile{
        display: none;
    }

    /* menú abierto */
    .menu-mobile.is-open{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        inset: 0;
        background-color: #2E2610;
        padding: 290px 20px 30px;
        box-sizing: border-box;
        z-index: 4000;
    }

    .menu-mobile.is-open nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        width: 100%;
        position: relative;

        --line-color: #ffffff;
        --line-w: 52px;
        --line-h: 2px;
        --line-top: 370px;
        --line-gap-bottom: 16px;
    }

    .menu-mobile.is-open nav::before{
        content: "";
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: var(--line-top);
        width: var(--line-w);
        height: var(--line-h);
        background: var(--line-color);
        border-radius: 999px;
        pointer-events: none;
        z-index: 4100;
    }

    .menu-mobile.is-open nav a{
    font-family: 'Bahnschrift Menu', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.2;
    text-align: center;
    display: inline-block;
    transition: transform 0.18s ease, opacity 0.18s ease, color 0.18s ease;
}

.menu-mobile.is-open nav a:hover{
    color: #ff0000;
    opacity: 1;
    transform: scale(1.12);
}

.menu-mobile.is-open nav a:active{
    transform: scale(0.96);
}

    .menu-mobile.is-open nav a:last-child{
        position: relative;
    }

    

    .menu-mobile.is-open nav a:last-child::after{
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: calc(100% + var(--line-gap-bottom));
        width: var(--line-w);
        height: var(--line-h);
        background: var(--line-color);
        border-radius: 999px;
        pointer-events: none;
    }

    .menu-mobile.is-open nav a:hover{
        opacity: 0.88;
    }

    .menu-mobile.is-open nav a:active{
        transform: scale(0.96);
    }

    /* botón cerrar */
    .menu-close{
        display: none;
    }

    .menu-mobile.is-open .menu-close{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 45px;
        right: 45px;
        width: 48px;
        height: 48px;
        padding: 0;
        background: none;
        border: none;
        color: #ffffff;
        font-size: 40px;
        line-height: 1;
        cursor: pointer;
        z-index: 4200;
    }

    /* logo del menú abierto */
    .menu-logo{
        display: none;
    }

    .menu-mobile.is-open .menu-logo{
        display: block;
        position: fixed;
        top: 120px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 4101;
    }

    .menu-mobile.is-open .menu-logo .logo-img{
        width: 210px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* bloqueo scroll */
    html.menu-open,
    body.menu-open{
        overflow: hidden;
        height: 100vh;
        touch-action: none;
    }

    .logo-central-img{
    cursor: pointer;
    transition: transform 0.15s ease;
}

.logo-central-img:active{
    transform: scale(0.96);
}

}





































#contenido-nosotros{
    height: auto;
    overflow: visible;
    position: relative;
}

#contenido-nosotros .container-nosotros{
    min-height: 100vh;
    padding: 60px 100px;
    background-image: url(imagenes/fondo-nosotros.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #111111;
}

/* título */
#contenido-nosotros .titulo-nosotros{
    font-family: 'Bahnschrift Menu', sans-serif;
    font-size: clamp(40px, 5vw, 50px);
    font-weight: 600;
    font-stretch: 125%;
    margin-top: 5px;
    line-height: 0.9;
    text-align: center;
    position: relative;
    top: 15px;
}

/* descripción */
#contenido-nosotros .descripcion-nosotros{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    font-stretch: 125%;
    margin-top: 60px;
    text-align: center;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

/* bloques */
#contenido-nosotros .bloques-nosotros{
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* tarjeta */
#contenido-nosotros .bloque-nosotros{
    background: rgba(255, 255, 255, 0.052);
    border-radius: 18px;
    padding: 40px 28px 36px;
    min-height: 300px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#contenido-nosotros .bloque-nosotros:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.50);
}

/* título de tarjeta */
#contenido-nosotros .bloque-nosotros h3{
    font-family: 'Bahnschrift Menu', sans-serif;
    font-size: clamp(32px, 2.4vw, 52px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 28px;
    text-align: center;
}

/* texto de tarjeta */
#contenido-nosotros .bloque-nosotros p{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

/* flechita roja */
#contenido-nosotros .flecha-bloque{
    color: #ff0400;
    font-weight: 600;
    margin-right: 6px;
}

#contenido-nosotros .bloque-nosotros:hover h3{
    color: #ffffff;
}

#contenido-nosotros .bloque-nosotros:hover p{
    color: #ffffff;
}































@media (max-width: 768px){

    #contenido-nosotros{
        height: auto;
        overflow: visible;
    }

    #contenido-nosotros .container-nosotros{
        min-height: auto;
        padding: 60px 20px;
        text-align: center;
        background-position: center;
    }

    /* título */
    #contenido-nosotros .titulo-nosotros{
        font-size: clamp(32px, 8.8vw, 60px);
        line-height: 0.95;
        margin-top: 50px;
        position: relative;
        top: 0;
        text-align: center;
    }

    /* descripción */
    #contenido-nosotros .descripcion-nosotros{
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.45;
        margin-top: 35px;
        max-width: 560px;
        white-space: normal;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* tarjetas en columna */
    #contenido-nosotros .bloques-nosotros{
        margin-top: 45px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
        justify-items: center;
        align-items: stretch;
    }

    /* tarjeta */
    #contenido-nosotros .bloque-nosotros{
        width: 100%;
        max-width: 300px;
        min-height: auto;
        padding: 24px 20px 22px;
        border-radius: 16px;
    }

    #contenido-nosotros .bloque-nosotros:hover{
        transform: translateY(-4px);
    }

    #contenido-nosotros .bloque-nosotros:hover h3{
        color: #ffffff;
    }

    #contenido-nosotros .bloque-nosotros:hover p{
        color: #ffffff;
    }

    /* título de tarjeta */
    #contenido-nosotros .bloque-nosotros h3{
        font-size: clamp(22px, 5.8vw, 30px);
        line-height: 1;
        margin-bottom: 18px;
        text-align: center;
    }

    /* texto de tarjeta */
    #contenido-nosotros .bloque-nosotros p{
        font-size: clamp(15px, 4vw, 18px);
        line-height: 1.4;
        text-align: center;
    }

    /* flecha */
    #contenido-nosotros .flecha-bloque{
        margin-right: 4px;
    }
}


























#contenido-empresas{
    height: auto;
    overflow: visible;
    position: relative;
}

#contenido-empresas .container-empresas{
    min-height: 100vh;
    padding: 60px 100px;
    background-image: url(imagenes/fondo-estrategias.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    isolation: isolate;
}

/* overlay */
#contenido-empresas .container-empresas::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(58, 40, 3, 0.781);
    z-index: 0;
}

/* contenido arriba del overlay */
#contenido-empresas .empresas-grid{
    position: relative;
    z-index: 1;
}

/* GRID GENERAL */
#contenido-empresas .empresas-grid{
    width: 100%;
    max-width: 1250px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px 70px;
    justify-items: center;
    align-items: center;
}

/* TARJETA */
#contenido-empresas .empresa-card{
    width: 100%;
    max-width: 300px;
    height: 250px;
    perspective: 1200px;
}

/* INTERIOR QUE GIRA */
#contenido-empresas .empresa-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1.5s ease;
    transform-style: preserve-3d;
}

#contenido-empresas .empresa-card:hover .empresa-card-inner{
    transform: rotateY(180deg);
}

/* DOS CARAS */
#contenido-empresas .empresa-card-front,
#contenido-empresas .empresa-card-back{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
}

/* FRENTE */
#contenido-empresas .empresa-card-front{
    background: rgba(0, 0, 0, 0.500);
}

#contenido-empresas .empresa-card-front img{
    max-width: 100%;
    max-height: 95px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* REVERSO */
#contenido-empresas .empresa-card-back{
    background-color: #00000080;
    transform: rotateY(180deg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#contenido-empresas .empresa-card-back p{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(22px, 1.6vw, 30px);
    font-weight: 300;
    line-height: 1.35;
    margin: 0;
    color: #ffffff;
}

#contenido-empresas .empresa-card:nth-child(1) .empresa-card-front img{
    transform: scale(1.2);
}

#contenido-empresas .empresa-card:nth-child(3) .empresa-card-front img{
    transform: scale(1.9);
}





























@media (max-width: 768px){

    #contenido-empresas{
        height: auto;
        overflow: visible;
    }

    #contenido-empresas .container-empresas{
        min-height: auto;
        padding: 60px 20px;   /* mismo patrón lateral que tus otras secciones */
        text-align: center;
        align-items: center;
        justify-content: center;
        background-position: center;
    }

    /* grid en una sola columna */
    #contenido-empresas .empresas-grid{
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: center;
        align-items: center;
    }

    /* tarjetas más compactas */
    #contenido-empresas .empresa-card{
        width: 100%;
        max-width: 275px;
        height: 190px;
        perspective: 1200px;
    }

    #contenido-empresas .empresa-card-front,
    #contenido-empresas .empresa-card-back{
        border-radius: 16px;
        padding: 22px;
    }

    /* logos frontales */
    #contenido-empresas .empresa-card-front img{
        max-width: 100%;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

    /* texto del reverso */
    #contenido-empresas .empresa-card-back p{
        font-family: 'Bai Jamjuree', sans-serif;
        font-size: clamp(18px, 4.5vw, 24px);
        font-weight: 300;
        line-height: 1.35;
        margin: 0;
        color: #ffffff;
    }

    /* ajustes individuales que ya usabas */
    #contenido-empresas .empresa-card:nth-child(1) .empresa-card-front img{
        transform: scale(1.12);
    }

    #contenido-empresas .empresa-card:nth-child(3) .empresa-card-front img{
        transform: scale(1.45);
    }
}























.footer{
    background-color: #2E2610;
    font-family: 'Acumin Variable', sans-serif;
    font-weight: 400;
    color: #fff;
    padding-top: 80px;
}

/* Grid principal */
.footer-contenido{
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.8fr;
    gap: 60px;
    padding: 0 100px;
    align-items: flex-start;
}

/* Logo */
.footer-logo img{
    height: 120px;
    width: auto;
    margin-left: 50px;
}

.footer-logo-link{
    display: inline-block;
    text-decoration: none;
}

/* Descripción */
.descripcion-footer{
    margin-top: 30px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.4;
    font-family: 'Aktiv Grotesk Light', sans-serif;
    font-weight: 200;
    font-stretch: 125%;
}

/* Títulos */
.footer h4{
    font-size: clamp(15px, 1.4vw, 20px);
    margin-bottom: 20px;
    font-family: 'Bahnschrift Menu', sans-serif;
    font-weight:500;
    font-stretch: 125%;
}

/* Listas */
.footer ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li{
    margin-bottom: 10px;
}

.footer ul li a{
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 0.9;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight:300;
    font-stretch: 300%;
}

.footer ul li a:hover{
    color: #ff0000;
}

/* Contacto */
.direccion-footer{
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.5;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight:300;
    font-stretch: 300%;
}

/* Links generales */
.footer a{
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(14px, 1vw, 18px);
    line-height: 1.5;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight:300;
    font-stretch: 300%;
}


.footer a:hover{
    color: #ff0000;
}

/* Línea decorativa */
.footer-linea{
    margin-top: 40px;
    height: 6px;
    width: 100vw;
    margin-left: calc(-100px);
    background: linear-gradient(
        to right,
        rgb(255, 255, 255) 0%,
        rgb(255, 255, 255) 40%,
        rgba(255, 255, 255, 0.6) 70%,
        rgba(255, 215, 0, 0) 100%
    );
}

/* Copy */
.footer-copy{
    padding: 40px 100px 30px;
    font-size: clamp(14px, 1vw, 16px);
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 200;
    font-stretch: 125%;
}



@media (max-width: 768px){

    /* Grid en columna */
    .footer-contenido{
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 30px;
        text-align: center;
    }

        .footer{
        padding-top: 90px;   /* igual que Somos */
    }

    .footer-contenido{
        padding: 0 20px;     /* mismos 20px laterales */
    }

    .footer-copy{
        padding: 30px 20px;  /* mantiene coherencia */
    }

    /* Columna del logo en vertical */
    .footer-logo{
        display: flex;
        flex-direction: column;   /* 🔥 clave */
        align-items: center;
    }

    .footer-logo img{
        height: 100px;
        width: auto;
        display: block;
        margin: 0 auto 15px auto;
    }

    /* Descripción debajo del logo */
    .descripcion-footer{
        margin-top: 30px;
        font-size: clamp(15px, 5vw, 16px);
        line-height: 1.5;
        text-align: center;
    }

    .footer ul li{
        margin-bottom: 4px; 
    }

    .footer ul li a{
        line-height: 1.2;    
    }

    /* Línea blanca desde la izquierda */
    .footer-linea{
        width: 100%;          /* 🔥 que ocupe todo */
        margin: 30px 0 0 0;   /* sin auto */
    }

    /* Copy */
    .footer-copy{
        padding: 30px 20px;
        text-align: center;
        font-size: 14px;
    }

}








































.pagina-privacidad{
    height: auto;
    overflow: visible;
    position: relative;
    margin: 0;
    padding: 0;
}

.container-privacidad{
    min-height: 100vh;
    padding: 60px 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #B09250;
    color: white;
    margin: 0;
    border: 0;
    position: relative;   /* importante */
}

.container-privacidad::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 4px;
    background: #B09250;
    pointer-events: none;
}

/* TÍTULO principal */
.titulo-privacidad{
    color: #000000;
    font-family: 'Bahnschrift Menu', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 600;
    font-stretch: 125%;
    margin-top: 55px;
    margin-bottom: 30px;
    line-height: 0.95;
}

/* TEXTO del aviso */
.texto-privacidad p{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 300;
    font-stretch: 125%;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 28px;
    color: rgb(0, 0, 0);
    text-align: justify;
    text-justify: inter-word;
}

/* BOTÓN volver */
.btn-volver-inicio{
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 40px;
    padding: 14px 28px;
    border-radius: 14px;
    background: #ff0000;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    font-stretch: 125%;
    font-size: clamp(14px, 1.2vw, 18px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-volver-inicio:hover{
    transform: scale(1.03);
    opacity: 0.92;
}


/* Si metes listas o puntos legales */
.texto-privacidad ul{
    margin: 0 0 35px 25px;
    padding: 0;
}

.texto-privacidad li{
    font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 300;
    font-stretch: 125%;
    line-height: 1.5;
    margin-bottom: 12px;
    color: rgb(0, 0, 0);
    text-align: justify;
    text-justify: inter-word;
}
.footer{
    margin-top: 0;
    border-top: 0;
}

.texto-privacidad{
    margin-bottom: 0;
}

.texto-privacidad p:last-child{
    margin-bottom: 0;
}



@media (max-width: 768px) {

    /* 1. BASE DEL CUERPO (Fondo azul para la barra de abajo) */
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
        background-color: #000000; /* El azul de tu footer */
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* 2. HEADER (Negro absoluto para la zona del reloj) */
    .header {
        width: 100%;
        background-color: #000;
        position: relative;
        flex-shrink: 0;
        z-index: 10;
    }

    /* 3. SECCIÓN INTERMEDIA (Negro para el contenido) */
    main, .contenido-principal, #contenido-somos, #contenido-abastecimiento {
        flex: 1;
        background-color: #000 !important;
        margin-top: -1px; /* Sella cualquier grieta con el video */
    }

    /* 4. FOOTER (Azul y ajuste para la barrita del iPhone) */
    .footer {
        width: 100%;
        background-color: #2E2610;
        margin: 0;
        padding: 60px 20px 20px;
        color: white;
        flex-shrink: 0;
        /* Esto es lo que pinta de azul el área de la barrita blanca */
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }


    body.pagina-privacidad{
        margin: 0;
        padding: 0;
        min-height: 100vh;
    }

/* Esto asegura que la sección superior toque el borde de la pantalla */
#topo-privacidad {
    margin-top: 0;
    padding-top: env(safe-area-inset-top, 20px); 
    width: 100%;
}

    .container-privacidad {
        padding: 60px 20px;
    }

    .titulo-privacidad {
        font-size: clamp(32px, 8.2vw, 54px);
        text-align: center;
        margin-top: 40px;
    }

    .texto-privacidad p {
        font-size: 16px;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 25px;
    }

    .btn-volver-inicio {
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
        margin: 30px auto;
        padding: 12px 20px;
        background: #ff0000;
        color: rgb(0, 0, 0);
        text-decoration: none;
        border-radius: 10px;
    }

    .footer-linea{
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: auto;
    }

}