/* ================================= */
/* ENCABEZADO */
/* ================================= */

.encabezado {
    position: sticky;
    top: 0;
    z-index: 500;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 22px 48px;

    background: var(--blanco);
    border-bottom: 1px solid var(--linea-oscura);
}

.marca-nombre {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-principal {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-principal a {
    text-decoration: none;
    font-size: 15px;
    position: relative;
    padding-bottom: 3px;
}

.nav-principal a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background: var(--negro);
    transition: width 0.25s ease;
}

.nav-principal a:hover::after,
.nav-principal a[aria-current="page"]::after {
    width: 100%;
}

.acciones-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icono-boton {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--linea-oscura);
    border-radius: 50%;
    font-size: 16px;
    transition: 0.25s ease;
}

.icono-boton:hover {
    background: var(--negro);
    color: var(--blanco);
    border-color: var(--negro);
}

.contador-carrito {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--negro);
    color: var(--blanco);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-movil-btn {
    display: none;
}

/* ================================= */
/* BARRA DE BÚSQUEDA HEADER */
/* ================================= */

.buscador-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--linea-oscura);
    border-radius: 20px;
    padding: 8px 16px;
    min-width: 220px;
}

.buscador-header input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 14px;
}

/* ================================= */
/* HERO */
/* ================================= */

.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    background: var(--negro);
    color: var(--blanco);
    overflow: hidden;
    padding: 60px 48px 70px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(5, 3, 3, 0) 40%, rgba(5, 3, 3, 0.9) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 40px;
}

.hero-titulo-fijo {
    font-family: var(--sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
}

.titulo-cambiante {
    position: relative;
    height: 190px;
    max-width: 620px;
}

.frase {
    position: absolute;
    left: 0;
    bottom: 0;
    font-family: var(--serif);
    font-size: 58px;
    line-height: 1.05;
    font-weight: 400;
}

.frase span {
    display: inline-block;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.btn-principal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    background: var(--blanco);
    color: var(--negro);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radio);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-principal:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.btn-principal .flecha {
    transition: transform 0.25s ease;
}

.btn-principal:hover .flecha {
    transform: translateY(3px);
}

.hero-nota {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    text-align: right;
    max-width: 220px;
}

/* ================================= */
/* TICKER DE FIRMAS (DISEÑADORAS) */
/* ================================= */

.ticker-firmas {
    background: var(--hueso);
    border-bottom: 1px solid var(--linea-oscura);
    overflow: hidden;
    padding: 16px 0;
}

.ticker-pista {
    display: flex;
    gap: 46px;
    width: max-content;
    animation: desfilar 38s linear infinite;
}

.ticker-firmas:hover .ticker-pista {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    white-space: nowrap;
    text-decoration: none;
    color: var(--negro);
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.ticker-item:hover {
    opacity: 1;
}

.ticker-item .punto {
    font-family: var(--sans);
    font-style: normal;
    font-size: 11px;
    color: var(--niebla);
}

@keyframes desfilar {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================================= */
/* SECCIONES GENERALES */
/* ================================= */

.seccion {
    padding: 90px 48px;
}

.seccion-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
}

.seccion-titulo {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    max-width: 520px;
}

.seccion-descripcion {
    color: var(--niebla);
    font-size: 15px;
    max-width: 320px;
    text-align: right;
}

/* ================================= */
/* PIE DE PÁGINA */
/* ================================= */

.pie {
    background: var(--negro);
    color: var(--blanco);
    padding: 70px 48px 30px;
}

.pie-arriba {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--linea-clara);
}

.pie-marca {
    max-width: 340px;
}

.pie-marca .marca-nombre {
    color: var(--blanco);
}

.pie-marca p {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
}

.pie-columnas {
    display: flex;
    gap: 70px;
}

.pie-columna h4 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    font-weight: 500;
}

.pie-columna a {
    display: block;
    text-decoration: none;
    color: var(--blanco);
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.85;
}

.pie-columna a:hover {
    opacity: 1;
    text-decoration: underline;
}

.pie-abajo {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ================================= */
/* DRAWER GENÉRICO (CARRITO / CUENTA) */
/* ================================= */

.fondo-drawer {
    position: fixed;
    inset: 0;
    background: rgba(5, 3, 3, 0.6);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fondo-drawer.activo {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 440px;
    max-width: 92vw;
    background: var(--blanco);
    z-index: 901;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.16, 1, .3, 1);
    display: flex;
    flex-direction: column;
}

.drawer.activo {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--linea-oscura);
}

.drawer-header h2 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.drawer-cerrar {
    font-size: 26px;
    line-height: 1;
}

.drawer-cuerpo {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

.drawer-pie {
    padding: 22px 28px 28px;
    border-top: 1px solid var(--linea-oscura);
}

/* ================================= */
/* MODAL GENÉRICO */
/* ================================= */

.fondo-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 3, 3, 0.72);
    z-index: 950;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.fondo-modal.activo {
    display: flex;
}

.modal {
    position: relative;
    background: var(--blanco);
    width: 100%;
    border-radius: 4px;
    animation: aparecer 0.25s ease;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-cerrar {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    z-index: 5;
}

/* ================================= */
/* RESPONSIVE */
/* ================================= */

@media (max-width: 980px) {
    .seccion {
        padding: 70px 30px;
    }

    .encabezado {
        padding: 18px 24px;
    }

    .buscador-header {
        display: none;
    }

    .hero {
        padding: 40px 24px 50px;
    }

    .frase {
        font-size: 42px;
    }

    .titulo-cambiante {
        height: 150px;
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .nav-principal {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 78vw;
        max-width: 320px;
        background: var(--negro);
        color: var(--blanco);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 26px;
        padding: 100px 30px 30px;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
        z-index: 600;
    }

    .nav-principal.abierto {
        transform: translateX(0);
    }

    .nav-principal a {
        font-size: 20px;
        font-family: var(--serif);
    }

    .menu-movil-btn {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .hero {
        min-height: 74vh;
        align-items: flex-end;
    }

    .hero-contenido {
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
    }

    .hero-cta {
        align-items: flex-start;
        width: 100%;
    }

    .hero-nota {
        text-align: left;
    }

    .frase {
        font-size: 34px;
    }

    .seccion-encabezado {
        flex-direction: column;
        align-items: flex-start;
    }

    .seccion-descripcion {
        text-align: left;
        max-width: 100%;
    }

    .seccion-titulo {
        font-size: 28px;
    }

    .pie-arriba {
        flex-direction: column;
        gap: 34px;
    }

    .pie-columnas {
        gap: 40px;
        flex-wrap: wrap;
    }

    .pie-abajo {
        flex-direction: column;
        gap: 10px;
    }

    .drawer {
        width: 100vw;
        max-width: 100vw;
    }
}