/* ===========================
   RESET BASE – LLAMA VIOLETA
   =========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--lv-color-bg);
    color: var(--lv-color-text);
    line-height: 1.6;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ===========================
   DESIGN TOKENS – LLAMA VIOLETA
   =========================== */

:root {
    /* Brand Colors */
    --lv-color-primary: #5B4B6B;
    /* violeta humo */
    --lv-color-secondary: #E6E0EB;
    /* lila niebla */
    --lv-color-accent: #C2A6B0;
    /* arcilla suave */

    /* Base Colors */
    --lv-color-bg: #FAF9F7;
    /* blanco lino */
    --lv-color-text: #2E2A32;
    /* grafito */
    --lv-color-text-muted: #6D6773;

    /* UI Colors */
    --lv-color-border: rgba(91, 75, 107, 0.25);
    --lv-color-shadow: rgba(46, 42, 50, 0.08);

    /* Typography */
    --lv-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lv-font-size-xs: 0.75rem;
    --lv-font-size-sm: 0.85rem;
    --lv-font-size-md: 0.95rem;
    --lv-font-size-lg: 1.05rem;
    --lv-font-size-xl: 1.4rem;

    /* Spacing */
    --lv-space-xxs: 4px;
    --lv-space-xs: 8px;
    --lv-space-sm: 12px;
    --lv-space-md: 18px;
    --lv-space-lg: 32px;
    --lv-space-xl: 64px;

    /* Radius */
    --lv-radius-sm: 6px;
    --lv-radius-md: 12px;
    --lv-radius-lg: 24px;
    --lv-radius-round: 50%;

    /* Transitions */
    --lv-transition-fast: 0.2s ease;
    --lv-transition-base: 0.3s ease;

    /* Layout */
    --lv-max-width: 1240px;
}










/* ===========================
   HEADER – LLAMA VIOLETA
   =========================== */

.lv-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(242, 238, 244, 0.94);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--lv-color-border);
    z-index: 1000;
    transition: var(--lv-transition-base);
}

.lv-header__container {
    max-width: var(--lv-max-width);
    margin: 0 auto;
    padding: calc(var(--lv-space-md) + 6px) var(--lv-space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Marca */
.lv-header__brand {
    display: flex;
    align-items: center;
    gap: var(--lv-space-xs);
}

.lv-header__logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: var(--lv-radius-round);
}

.lv-header__name {
    font-size: var(--lv-font-size-lg);
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Navegación */
.lv-header__nav {
    display: flex;
    gap: calc(var(--lv-space-lg) + 4px);
}

.lv-header__link {
    position: relative;
    font-size: var(--lv-font-size-md);
    color: var(--lv-color-text);
    letter-spacing: 0.03em;
    transition: color var(--lv-transition-fast);
}

.lv-header__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background-color: var(--lv-color-primary);
    transition: width var(--lv-transition-fast);
}

.lv-header__link:hover {
    color: var(--lv-color-primary);
}

.lv-header__link:hover::after {
    width: 100%;
}

/* CTA */
.lv-header__button {
    padding: calc(var(--lv-space-xs) + 2px) calc(var(--lv-space-md) + 4px);
    border: 1px solid var(--lv-color-primary);
    border-radius: var(--lv-radius-lg);
    font-size: var(--lv-font-size-sm);
    letter-spacing: 0.04em;
    color: var(--lv-color-primary);
    background: transparent;
    transition: var(--lv-transition-fast);
}

.lv-header__button:hover {
    background-color: var(--lv-color-primary);
    color: var(--lv-color-bg);
}

/* ===========================
   HAMBURGUESA
   =========================== */

.lv-header__toggle {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.lv-header__toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--lv-color-text);
    border-radius: 2px;
    transition: var(--lv-transition-fast);
}

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 768px) {

    .lv-header__toggle {
        display: flex;
    }

    .lv-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(242, 238, 244, 0.98);
        flex-direction: column;
        align-items: center;
        gap: var(--lv-space-md);
        padding: var(--lv-space-lg) 0;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--lv-transition-base);
    }

    .lv-header__nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .lv-header__cta {
        display: none;
    }

    .lv-header__name {
        font-size: var(--lv-font-size-sm);
    }
}

/* ===========================
   MOBILE CHICO
   =========================== */
@media (max-width: 480px) {
    .lv-header__name {
        display: none;
    }
}













/* ===========================
   HERO – LLAMA VIOLETA
   =========================== */

.lv-hero {
    position: relative;
    padding: var(--lv-space-xl) var(--lv-space-lg);
    background-color: var(--lv-color-bg);
    overflow: hidden;
}

.lv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 500px at 70% 30%,
            rgba(91, 75, 107, 0.08),
            transparent 60%);
    pointer-events: none;
}

.lv-hero__container {
    position: relative;
    max-width: var(--lv-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--lv-space-xl);
    align-items: center;
}

/* ===========================
   CONTENIDO
   =========================== */

.lv-hero__content {
    max-width: 520px;
    animation: lv-hero-fade-up 0.8s ease forwards;
}

.lv-hero__eyebrow {
    font-size: var(--lv-font-size-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lv-color-primary);
    margin-bottom: var(--lv-space-sm);
}

.lv-hero__title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.12;
    font-weight: 500;
    margin-bottom: var(--lv-space-md);
    color: var(--lv-color-text);
}

.lv-hero__description {
    font-size: var(--lv-font-size-lg);
    color: var(--lv-color-text-muted);
    margin-bottom: var(--lv-space-lg);
    max-width: 460px;
}

/* ===========================
   CTA
   =========================== */

.lv-hero__cta {
    display: inline-block;
    font-size: var(--lv-font-size-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: var(--lv-space-md);
    padding-bottom: 4px;
    color: var(--lv-color-primary);
    position: relative;
}

.lv-hero__cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform-origin: left;
    transition: transform var(--lv-transition-fast);
}

.lv-hero__cta:hover::after {
    transform: scaleX(0.65);
}

.lv-hero__cta1 {
    display: inline-block;
    font-size: var(--lv-font-size-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-right: var(--lv-space-md);
    padding-bottom: 4px;
    color: var(--lv-color-primary);
    position: relative;
}

.lv-hero__cta1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform-origin: left;
    transition: transform var(--lv-transition-fast);
}

.lv-hero__cta1:hover::after {
    transform: scaleX(0.65);
}

/* ===========================
   CTA WHATSAPP – SOLIDO
   =========================== */

.lv-hero__cta--whatsapp {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--lv-color-primary);
    color: #fff;
    border-radius: var(--lv-radius-lg);
    font-size: var(--lv-font-size-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    box-shadow: 0 14px 32px rgba(91, 75, 107, 0.28);
    transition:
        transform var(--lv-transition-base),
        box-shadow var(--lv-transition-base);
}

/* eliminar subrayado animado heredado */
.lv-hero__cta--whatsapp::after {
    display: none;
}

.lv-hero__cta--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(91, 75, 107, 0.38);
}

/* ===========================
   MOBILE
   =========================== */

@media (max-width: 768px) {
    .lv-hero__cta--whatsapp {
        width: 100%;
        text-align: center;
    }
}

/* ===========================
   MEDIA
   =========================== */

.lv-hero__media {
    position: relative;
    animation: lv-hero-fade 1s ease forwards;
}

.lv-hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--lv-radius-lg);
    box-shadow: 0 24px 48px var(--lv-color-shadow);
}

/* ===========================
   ANIMACIONES
   =========================== */

@keyframes lv-hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lv-hero-fade {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .lv-hero__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .lv-hero {
        padding: var(--lv-space-lg) var(--lv-space-md);
    }

    .lv-hero__container {
        grid-template-columns: 1fr;
        gap: var(--lv-space-lg);
    }

    .lv-hero__media {
        order: -1;
    }

    .lv-hero__title {
        font-size: 2.1rem;
    }

    .lv-hero__cta1 {
        display: none;
    }
}













/* ===========================
   PROCESO – MATERIAL EDITORIAL (FULL BG)
   =========================== */

.lv-process {
    position: relative;
    padding: var(--lv-space-xl) var(--lv-space-lg);
    background-color: var(--lv-color-bg);
    overflow: hidden;
}

/* ===========================
   FONDO
   =========================== */

.lv-process__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.lv-process__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: saturate(0.9);
}

/* Overlay sutil para legibilidad */
.lv-process__background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(247, 246, 249, 0.96),
            rgba(247, 246, 249, 0.85));
}

/* ===========================
   CONTENEDOR
   =========================== */

.lv-process__container {
    position: relative;
    z-index: 1;
    max-width: var(--lv-max-width);
    margin: 0 auto;
    min-height: 420px;

    display: flex;
    align-items: center;
}

/* ===========================
   CONTENIDO
   =========================== */

.lv-process__content {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: var(--lv-space-lg);
}

/* ===========================
   HEADER
   =========================== */

.lv-process__header {
    max-width: 560px;
}

.lv-process__title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 500;
    margin-bottom: var(--lv-space-sm);
    color: var(--lv-color-text);
}

.lv-process__subtitle {
    font-size: var(--lv-font-size-md);
    color: var(--lv-color-text-muted);
    line-height: 1.6;
}

/* ===========================
   TEXTO PRINCIPAL
   =========================== */

.lv-process__text {
    font-size: var(--lv-font-size-lg);
    color: var(--lv-color-text-muted);
    line-height: 1.75;
    max-width: 46ch;
}

/* ===========================
   REVEAL
   =========================== */

.lv-process__content {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.lv-process.lv-reveal {
    opacity: 0;
    transform: translateY(28px);
}

.lv-process.lv-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
    .lv-process__container {
        min-height: 380px;
    }

    .lv-process__content {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .lv-process {
        padding: var(--lv-space-lg) var(--lv-space-md);
    }

    .lv-process__container {
        min-height: auto;
    }

    .lv-process__background::after {
        background: linear-gradient(to bottom,
                rgba(247, 246, 249, 0.94),
                rgba(247, 246, 249, 0.88));
    }

    .lv-process__content {
        max-width: 100%;
        gap: var(--lv-space-md);
    }

    .lv-process__text {
        font-size: var(--lv-font-size-md);
    }
}












/* ===========================
   COLECCIÓN – CARDS EDITORIALES
   =========================== */

.lv-collection {
    padding: var(--lv-space-xl) var(--lv-space-lg);
    background-color: var(--lv-color-bg);
}

.lv-collection__container {
    max-width: var(--lv-max-width);
    margin: 0 auto;
}

/* Header */
.lv-collection__header {
    max-width: 520px;
    margin-bottom: var(--lv-space-xl);
}

.lv-collection__title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 500;
    margin-bottom: var(--lv-space-sm);
}

.lv-collection__subtitle {
    font-size: var(--lv-font-size-md);
    color: var(--lv-color-text-muted);
}

/* Grid */
.lv-collection__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lv-space-lg);
}

/* ===========================
   PRODUCT CARD
   =========================== */

.lv-product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--lv-color-bg);
}

/* Media (ANTI-BUG IMAGE SETUP) */
.lv-product-card__media {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--lv-color-secondary);
    border-radius: var(--lv-radius-md);
    padding: var(--lv-space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lv-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* CLAVE */
    object-position: center;
}

/* Content */
.lv-product-card__content {
    padding-top: var(--lv-space-md);
}

.lv-product-card__name {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: var(--lv-space-xxs);
}

.lv-product-card__description {
    font-size: var(--lv-font-size-sm);
    color: var(--lv-color-text-muted);
    margin-bottom: var(--lv-space-sm);
}

/* Button */
button.lv-product-card__button,
a.lv-product-card__button {
    all: unset;

    display: inline-flex !important;
    align-items: center;
    gap: 6px;

    padding: 8px 12px !important;
    margin: 0;

    font-size: var(--lv-font-size-sm);
    letter-spacing: 0.08em;

    color: #8A7BB0 !important;
    /* violeta visible desde el inicio */
    cursor: pointer;

    position: relative;
    user-select: none;

    transition: all 0.2s ease;
}

/* Hover / active */
button.lv-product-card__button:hover,
a.lv-product-card__button:hover,
button.lv-product-card__button:active,
a.lv-product-card__button:active,
button.lv-product-card__button:focus,
a.lv-product-card__button:focus {
    background: #5B4B6B !important;
    /* violeta oscuro */
    color: #ffffff !important;

    border-radius: 999px;
    transform: translateY(-1px);
}

/* underline */
button.lv-product-card__button::after,
a.lv-product-card__button::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 1px;

    background-color: #8A7BB0;

    transform: scaleX(1);
    transform-origin: center;
    transition: transform 0.2s ease;
}

/* underline hover */
button.lv-product-card__button:hover::after,
a.lv-product-card__button:hover::after,
button.lv-product-card__button:active::after,
a.lv-product-card__button:active::after {
    transform: scaleX(0.3);
}

/* Hover sutil */
.lv-product-card:hover .lv-product-card__media {
    background-color: var(--lv-color-accent);
    transition: background-color var(--lv-transition-base);
}

@media (max-width: 1024px) {
    .lv-collection__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .lv-collection {
        padding: var(--lv-space-lg) var(--lv-space-md);
    }

    .lv-collection__grid {
        grid-template-columns: 1fr;
    }
}









/* FOOTER BASE */
.lv-footer {
    width: 100%;
    background: #0f0f0f;
    color: #eaeaea;
}

.lv-footer * {
    box-sizing: border-box;
}

.lv-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

/* GRID */
.lv-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* IZQUIERDA */
.lv-footer__title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lv-footer__text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

/* DERECHA */
.lv-footer__brand {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lv-footer__description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* REDES */
.lv-footer__socials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lv-footer__social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.lv-footer__social img {
    width: 35px;
    height: 35px;
    display: block;
}

.lv-footer__social:hover {
    opacity: 1;
}

/* BASE */
.lv-footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.7;
}

.lv-footer__signature a {
    color: inherit;
    text-decoration: none;
}

.lv-footer__signature a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .lv-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lv-footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .lv-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* 🔹 SOCIALS EN FILA */
    .lv-footer__socials {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .lv-footer__social {
        flex-direction: column;
        align-items: center;
        font-size: 0.75rem;
        gap: 0.4rem;
    }

    .lv-footer__social img {
        width: 42px;
        height: 42px;
    }

    .lv-footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}