
/* ==========================================================================
   FASE 18 — ESTILO V5
   Referencia visual reinterpretada, NO copiada como contenido.
   Editorial minimal + boutique contemporánea.
   ========================================================================== */

:root {
    --v5-black: #0d1114;
    --v5-black-2: #151a1e;
    --v5-ink: #151719;
    --v5-muted: #73787b;
    --v5-line: #d9dbda;
    --v5-line-dark: #2a3034;
    --v5-paper: #f4f3f0;
    --v5-paper-2: #ecece8;
    --v5-white: #ffffff;
    --v5-shell: 80rem;

    --font-sans: "Helvetica Neue", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

/* ---------- Global ---------- */

html,
body {
    background: var(--v5-paper);
    color: var(--v5-ink);
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.012em;
}

.shell {
    width: min(calc(100% - 2.5rem), var(--v5-shell));
}

.section {
    padding-block: clamp(6rem, 9vw, 10rem);
}

h1,
h2,
h3 {
    font-family: var(--font-sans);
    color: inherit;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(3.15rem, 7.4vw, 6.7rem);
    font-weight: 500;
    line-height: .94;
}

h2 {
    font-size: clamp(2.35rem, 4.8vw, 4.15rem);
    font-weight: 500;
    line-height: .98;
}

h3 {
    font-weight: 600;
}

p {
    line-height: 1.68;
}

.eyebrow {
    margin: 0 0 1.3rem;
    color: var(--v5-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

::selection {
    background: var(--v5-black);
    color: #fff;
}

/* ---------- Header ---------- */

.site-header,
.site-header.is-scrolled {
    min-height: 5rem;
    border-bottom: 1px solid rgba(255,255,255,.09);
    background: rgba(13,17,20,.97);
    color: #fff;
    backdrop-filter: blur(18px);
}

.site-header__inner {
    min-height: 5rem;
}

.brand {
    gap: .8rem;
}

.brand__logo {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.brand__name {
    color: #fff;
    font-size: .79rem;
    font-weight: 650;
    letter-spacing: -.015em;
}

.site-nav {
    border-color: rgba(255,255,255,.09);
    background: rgba(13,17,20,.99);
}

.site-nav__link {
    border-color: rgba(255,255,255,.08);
    color: #a5abb0;
    font-size: .79rem;
    font-weight: 600;
    letter-spacing: 0;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: #fff;
}

.nav-toggle {
    border-color: rgba(255,255,255,.18);
    color: #fff;
}

/* ---------- Hero: editorial, no repeated logo ---------- */

.hero {
    min-height: auto;
    padding-block: clamp(6rem, 11vw, 10.5rem) 2rem;
    border: 0;
    background: var(--v5-paper);
    color: var(--v5-ink);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: end;
    text-align: left;
}

.hero__main {
    max-width: 58rem;
}

.hero__eyebrow {
    color: #777c7f;
}

.hero h1 {
    max-width: 11.5ch;
    margin: 0;
    text-wrap: balance;
}

.hero__side {
    max-width: 32rem;
}

.hero__description {
    margin: 0 0 2rem;
    color: #666b6e;
    font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem 1.5rem;
}

.button {
    min-height: 3.15rem;
    padding: .75rem 1.35rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 650;
}

.button--dark {
    background: var(--v5-black);
    color: #fff;
}

.button--dark:hover {
    background: #252b2f;
}

.hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--v5-ink);
    font-size: .83rem;
    font-weight: 650;
    text-decoration: none;
}

.hero__text-link:hover span {
    transform: translateX(3px);
}

.hero__text-link span {
    transition: transform 160ms ease;
}

.hero__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(5rem, 9vw, 8rem);
    padding-top: 1.15rem;
    border-top: 1px solid var(--v5-line);
    color: #8b8f91;
    font-size: .67rem;
    font-weight: 650;
    letter-spacing: .09em;
    text-transform: uppercase;
}

/* ---------- Shared heading ---------- */

.section-heading {
    gap: 2rem;
    margin-bottom: clamp(4rem, 6vw, 6rem);
}

.section-heading__description {
    max-width: 31rem;
    color: var(--v5-muted);
    font-size: .95rem;
}

/* ---------- Products ---------- */

.products-section {
    background: #fff;
    color: var(--v5-ink);
}

.product-grid {
    gap: clamp(3.75rem, 6vw, 5rem) clamp(1.1rem, 2.4vw, 2rem);
}

.product-card {
    background: transparent;
    border: 0;
}

.product-card__visual {
    min-height: 22rem;
    border: 0;
    border-radius: .4rem;
    overflow: hidden;
    background: #efefec;
}

.product-card__visual--image img {
    min-height: 22rem;
    object-fit: cover;
}

.product-card__placeholder {
    display: grid;
    place-items: end start;
    padding: 1.25rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,0)),
        #efefec;
}

.product-card__placeholder > * {
    display: none !important;
}

.product-card__placeholder::after {
    content: "Imagen de producto";
    position: static;
    transform: none;
    color: #a0a3a3;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-card__index {
    display: none;
}

.product-card__body {
    padding-top: 1.25rem;
}

.product-card__label {
    margin-bottom: .55rem;
    color: #8a8e8f;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.product-card__body h3 {
    margin-bottom: .5rem;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: -.025em;
}

.product-card__body p {
    max-width: 31rem;
    color: #737779;
    font-size: .87rem;
}

.products-section__note {
    display: none;
}

/* ---------- Gallery ---------- */

.gallery-section {
    background: var(--v5-black);
    color: #f6f6f3;
}

.gallery-section .eyebrow {
    color: #81898e;
}

.gallery-section .section-heading__description {
    color: #a1a8ad;
}

.gallery-grid {
    gap: .85rem;
}

.gallery-card {
    border: 0;
    border-radius: .35rem;
    overflow: hidden;
    background: var(--v5-black-2);
}

.gallery-card__placeholder {
    display: grid;
    place-items: end start;
    padding: 1.15rem;
    background: #171c20;
}

.gallery-card__placeholder > * {
    display: none !important;
}

.gallery-card__placeholder::after {
    content: "Trabajo / producto";
    color: #656e74;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-card__number {
    top: 1rem;
    right: 1rem;
    left: auto;
    border: 0;
    background: transparent;
    color: #697176;
    font-size: .66rem;
    font-weight: 700;
}

.gallery-section__foot {
    margin-top: 2rem;
    color: #777f84;
}

/* ---------- About ---------- */

.about-section {
    background: var(--v5-paper);
    color: var(--v5-ink);
}

.about-brand-disc {
    display: none !important;
}

.about-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-section__content {
    max-width: 51rem;
}

.about-section__content h2 {
    margin-bottom: 2rem;
}

.about-section__copy {
    max-width: 42rem;
    color: #686d70;
}

.about-section__words {
    gap: .6rem;
    margin-top: 2rem;
}

.about-section__words li {
    padding: .55rem .88rem;
    border: 1px solid #d4d6d5;
    border-radius: 999px;
    background: transparent;
    font-size: .71rem;
    font-weight: 650;
}

.about-section__note {
    display: none;
}

/* ---------- Instagram ---------- */

.instagram-section {
    background: #fff;
    color: var(--v5-ink);
}

.instagram-section__grid {
    gap: clamp(3.5rem, 7vw, 7rem);
}

.instagram-section__description {
    color: #6f7477;
}

.instagram-preview {
    gap: .8rem;
}

.instagram-preview__card {
    min-height: 11rem;
    border: 0;
    border-radius: .35rem;
    overflow: hidden;
    background: #efefec;
}

.instagram-preview__art {
    background: #efefec !important;
}

.instagram-preview__art > * {
    display: none !important;
}

.instagram-preview__art::after {
    content: "Instagram";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #a0a3a3;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.instagram-preview__index {
    display: none;
}

/* ---------- Contact ---------- */

.contact-section {
    background: var(--v5-black);
    color: #fff;
}

.contact-section .eyebrow {
    color: #80888d;
}

.contact-panel__intro > p:last-child {
    color: #a2a9ad;
}

.contact-grid {
    border-top-color: var(--v5-line-dark);
}

.contact-grid__item {
    border-bottom-color: var(--v5-line-dark);
}

.contact-card {
    color: #fff;
}

.contact-card__icon {
    border-color: #363c40;
    color: #fff;
}

.contact-card__body span,
.contact-card__body small {
    color: #8e969b;
}

a.contact-card:hover .contact-card__icon {
    border-color: #60676b;
    background: #181d21;
}

.contact-panel__note {
    color: #737b80;
}

/* ---------- Footer ---------- */

.site-footer {
    border-top: 1px solid #22282c;
    background: var(--v5-black);
    color: #fff;
}

.footer-brand img {
    display: none;
}

.footer-brand span {
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -.02em;
}

.site-footer__heading {
    color: #6f777c;
}

.site-footer__links a {
    color: #9ba3a8;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    border-top-color: #252b2f;
    color: #727a7f;
}

/* ---------- Responsive ---------- */

@media (min-width: 52rem) {
    .shell {
        width: min(calc(100% - 5rem), var(--v5-shell));
    }

    .site-nav {
        background: transparent;
    }

    .site-nav__link {
        padding-inline: .95rem;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .6fr);
        gap: clamp(4rem, 8vw, 8rem);
    }

    .hero__side {
        padding-bottom: .45rem;
    }

    .section-heading {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, .45fr);
        gap: clamp(4rem, 8vw, 7rem);
    }

    .about-section__grid {
        grid-template-columns: minmax(0, .2fr) minmax(0, .8fr);
        gap: 4rem;
    }

    .about-section__grid::before {
        content: "";
        width: 1px;
        min-height: 11rem;
        background: #cfd1d0;
    }
}

@media (max-width: 51.999rem) {
    .brand__name {
        display: none;
    }

    .hero {
        padding-top: 5.75rem;
    }

    .hero__footer {
        flex-direction: column;
        gap: .5rem;
    }

    .hero__actions {
        align-items: flex-start;
    }
}

@media (max-width: 32rem) {
    .hero h1 {
        font-size: clamp(2.85rem, 14vw, 4.2rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button--dark {
        justify-content: space-between;
    }
}


/* ==========================================================================
   FASE 19 — CORRECCIÓN ABOUT / NOSOTROS
   Evita la grilla heredada de tablet que comprimía el contenido.
   ========================================================================== */

.about-section__visual {
    display: none !important;
}

.about-section .about-section__grid {
    display: block !important;
    grid-template-columns: none !important;
    max-width: var(--v5-shell);
}

.about-section__grid::before,
.about-section__grid::after {
    display: none !important;
    content: none !important;
}

.about-section__content {
    width: 100%;
    max-width: 64rem;
}

.about-section__content .eyebrow {
    margin-bottom: 1.35rem;
}

.about-section__content h2 {
    max-width: 18ch !important;
    margin: 0 0 2.25rem;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: .98;
    text-wrap: balance;
}

.about-section__copy {
    display: grid;
    gap: 1rem;
    max-width: 43rem;
    color: #676c6f;
    font-size: clamp(.98rem, 1.5vw, 1.08rem);
    line-height: 1.75;
}

.about-section__copy p {
    margin: 0;
}

.about-section__words {
    margin-top: 2.25rem;
}

@media (min-width: 48rem) {
    .about-section .about-section__grid {
        grid-template-columns: none !important;
        align-items: initial !important;
        gap: 0 !important;
    }

    .about-section__content {
        max-width: 68rem;
    }

    .about-section__content h2 {
        max-width: 17ch !important;
    }

    .about-section__copy {
        max-width: 46rem;
    }
}

@media (min-width: 64rem) {
    .about-section__content {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .7fr);
        grid-template-areas:
            "eyebrow eyebrow"
            "title copy"
            "words copy";
        column-gap: clamp(4rem, 8vw, 8rem);
        align-items: start;
        max-width: none;
    }

    .about-section__content > .eyebrow {
        grid-area: eyebrow;
    }

    .about-section__content > h2 {
        grid-area: title;
        max-width: 12.5ch !important;
        margin-bottom: 2rem;
    }

    .about-section__copy {
        grid-area: copy;
        max-width: 31rem;
        padding-top: .35rem;
    }

    .about-section__words {
        grid-area: words;
        align-self: end;
        margin-top: 0;
    }
}

@media (max-width: 31.999rem) {
    .about-section__content h2 {
        max-width: 15ch !important;
        font-size: clamp(2.25rem, 12vw, 3.4rem);
    }
}

/* ==========================================================================\n   FASE 29 — Integración de tienda en Home\n   ========================================================================== */
.home-store { background: #fff; color: var(--v5-ink, #151719); }
.home-store__heading { display: grid; gap: 2rem; margin-bottom: clamp(3.75rem,6vw,5.75rem); }
.home-store__heading h2 { max-width: 12ch; margin: 0; }
.home-store__intro { max-width: 32rem; }
.home-store__intro p { margin: 0 0 1.25rem; color: #707578; }
.home-store__all { color: #151719; font-size: .8rem; font-weight: 650; text-decoration: none; }
.home-store__all:hover { text-decoration: underline; }
.home-store__grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem 1.25rem; }
.home-store-card__media { display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: .4rem; background: #efefec; color: #9da1a2; text-decoration: none; }
.home-store-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.home-store-card:hover img { transform: scale(1.015); }
.home-store-card__media > span { width: 100%; height: 100%; display: grid; place-items: end start; padding: 1rem; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-store-card__body { padding-top: 1.1rem; }
.home-store-card__body > span { color: #888d8f; font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-store-card__body h3 { margin: .4rem 0 .45rem; font-size: 1.05rem; letter-spacing: -.025em; }
.home-store-card__body h3 a { color: inherit; text-decoration: none; }
.home-store-card__body p { margin: 0; color: #676c6f; font-size: .86rem; }
.home-store__categories { border-top: 1px solid #d9dbda; }
.home-store__categories a { min-height: 6rem; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 1.5rem; border-bottom: 1px solid #d9dbda; color: inherit; text-decoration: none; }
.home-store__categories a > span { color: #828789; font-size: .75rem; }
.home-store__empty { max-width: 46rem; padding: 2rem; border: 1px solid #d9dbda; border-radius: .5rem; background: #f5f4f1; }
.home-store__empty p { color: #6d7275; }
.home-store__empty a { color: inherit; font-weight: 650; }
@media (min-width: 46rem) { .home-store__grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 52rem) { .home-store__heading { grid-template-columns: minmax(0,1fr) minmax(18rem,.45fr); gap: clamp(4rem,8vw,7rem); } }
@media (min-width: 64rem) { .home-store__grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4.5rem 1.5rem; } }
@media (max-width: 39.999rem) { .home-store__categories a { grid-template-columns: minmax(0,1fr) auto; } .home-store__categories a span:first-of-type { display: none; } }
