:root {
    --color-brand: #d4805d;
    --color-brand-dark: #aa6045;
    --color-ink: #24211f;
    --color-ink-soft: #625c57;
    --color-paper: #ffffff;
    --color-canvas: #f7f4f0;
    --color-soft: #efe9e3;
    --color-border: #ddd6cf;
    --color-footer: #25211f;
    --color-footer-muted: #c9c1ba;

    --container: 1240px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4.5rem;

    --shadow-soft: 0 18px 50px rgba(36, 33, 31, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-announcement {
    background: var(--color-ink);
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.site-announcement__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.site-announcement__secondary {
    color: #d6d0cb;
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
}

.site-header__main {
    min-height: 104px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 147px;
}

.brand__logo {
    width: 147px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav__link {
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.primary-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--color-brand);
    transition: right 160ms ease;
}

.primary-nav__link:hover::after,
.primary-nav__link:focus-visible::after {
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.header-action {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: var(--color-ink-soft);
    font-size: 0.68rem;
    font-weight: 700;
}

.header-action svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-action:hover,
.header-action:focus-visible {
    color: var(--color-brand-dark);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-paper);
    cursor: pointer;
}

.menu-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--color-ink);
}

.site-search {
    padding-bottom: 1.25rem;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    border: 1px solid #cfc6be;
    border-radius: 999px;
    background: var(--color-canvas);
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-form:focus-within {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px rgba(212, 128, 93, 0.13);
}

.search-form__input {
    min-width: 0;
    min-height: 52px;
    padding: 0 1.4rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-ink);
}

.search-form__input::placeholder {
    color: #8d8580;
}

.search-form__button {
    min-width: 132px;
    border: 0;
    background: var(--color-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1.3rem;
    font-weight: 800;
    cursor: pointer;
}

.search-form__button:hover,
.search-form__button:focus-visible {
    background: var(--color-brand-dark);
}

.search-form__button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.home-intro {
    padding: clamp(3rem, 7vw, 6.5rem) 0;
    background:
        linear-gradient(120deg, rgba(212, 128, 93, 0.08), transparent 45%),
        var(--color-canvas);
    border-bottom: 1px solid var(--color-border);
}

.home-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.home-intro__content {
    max-width: 700px;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--color-brand-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-intro h1,
.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.home-intro h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 5.6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 500;
}

.home-intro__lead {
    max-width: 620px;
    margin: 1.5rem 0 0;
    color: var(--color-ink-soft);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.home-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.button--primary {
    background: var(--color-brand);
    color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
    background: var(--color-brand-dark);
}

.button--secondary {
    border: 1px solid var(--color-border);
    background: #fff;
}

.button--secondary:hover,
.button--secondary:focus-visible {
    border-color: var(--color-ink);
}

.home-intro__visual {
    position: relative;
    min-height: 410px;
    border-radius: var(--radius-lg);
    background: #ded7d0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.home-intro__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 25%, rgba(255,255,255,.88) 0 8%, transparent 8.3%),
        linear-gradient(145deg, rgba(255,255,255,.2), transparent 48%);
}

.book-stack {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    border-radius: 5px 12px 12px 5px;
    box-shadow: 0 14px 24px rgba(36, 33, 31, 0.15);
}

.book-stack::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: 82%;
    border-radius: 2px 9px 9px 2px;
    background: #f7f2eb;
    opacity: 0.92;
}

.book-stack--one {
    bottom: 80px;
    width: 58%;
    height: 86px;
    background: var(--color-brand);
}

.book-stack--two {
    bottom: 164px;
    width: 50%;
    height: 74px;
    transform: translateX(-50%) rotate(4deg);
    background: #2d2927;
}

.book-stack--three {
    bottom: 235px;
    width: 43%;
    height: 68px;
    transform: translateX(-50%) rotate(-2deg);
    background: #aaa29a;
}

.home-intro__seal {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--color-brand-dark);
    border: 1px solid rgba(36, 33, 31, 0.08);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    text-align: center;
    transform: rotate(8deg);
}

.home-section {
    padding: var(--space-7) 0;
}

.home-section--soft {
    background: var(--color-soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.section-heading > a {
    color: var(--color-brand-dark);
    font-weight: 800;
    border-bottom: 1px solid currentColor;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2.3vw, 2rem);
}

.preview-card {
    min-width: 0;
}

.preview-card__image {
    aspect-ratio: 0.73;
    border-radius: var(--radius-sm);
    background:
        linear-gradient(135deg, rgba(255,255,255,.45), transparent 60%),
        #e8e2dc;
}

.preview-card__line {
    width: 100%;
    height: 10px;
    margin-top: 0.85rem;
    border-radius: 999px;
    background: #e5dfda;
}

.preview-card__line--short {
    width: 42%;
    margin-top: 1rem;
    background: #d7cec7;
}

.preview-card__line--price {
    width: 30%;
    background: rgba(212, 128, 93, 0.35);
}

.feature-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #d6ccc4;
    border-bottom: 1px solid #d6ccc4;
}

.feature-link {
    min-height: 220px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d6ccc4;
    transition: background 160ms ease, transform 160ms ease;
}

.feature-link:last-child {
    border-right: 0;
}

.feature-link:hover,
.feature-link:focus-visible {
    background: rgba(255,255,255,.45);
}

.feature-link__number {
    color: var(--color-brand-dark);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.feature-link strong {
    margin-top: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 500;
}

.feature-link > span:last-child {
    margin-top: 0.55rem;
    color: var(--color-ink-soft);
    font-size: 0.92rem;
}

.site-footer {
    padding: 4.5rem 0 1.5rem;
    background: var(--color-footer);
    color: #fff;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__brand img {
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
}

.site-footer__brand p {
    max-width: 350px;
    color: var(--color-footer-muted);
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.site-footer__column h2 {
    margin: 0 0 0.6rem;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.site-footer__column p,
.site-footer__column a {
    margin: 0;
    color: var(--color-footer-muted);
    font-size: 0.9rem;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
    color: #fff;
}

.site-footer__bottom {
    margin-top: 4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #9e9690;
    font-size: 0.76rem;
}

@media (max-width: 1020px) {
    .site-header__main {
        grid-template-columns: auto 1fr auto;
        min-height: 86px;
        gap: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .brand {
        justify-self: center;
    }

    .primary-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 20px 1.5rem;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 18px 30px rgba(36, 33, 31, 0.08);
    }

    .primary-nav--open {
        display: flex;
    }

    .primary-nav__link {
        padding: 0.9rem 0;
        border-bottom: 1px solid #eee8e2;
    }

    .primary-nav__link::after {
        display: none;
    }

    .header-action span {
        display: none;
    }

    .header-actions {
        gap: 0.65rem;
    }

    .home-intro__grid {
        grid-template-columns: 1fr;
    }

    .home-intro__visual {
        min-height: 360px;
    }

    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .site-footer__column:last-child {
        grid-column: 2 / 3;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-announcement__inner {
        justify-content: center;
        text-align: center;
    }

    .site-announcement__secondary {
        display: none;
    }

    .site-header__main {
        min-height: 78px;
    }

    .brand__logo {
        width: 128px;
    }

    .header-action--optional {
        display: none;
    }

    .site-search {
        padding-bottom: 0.9rem;
    }

    .search-form__input {
        min-height: 48px;
        padding-left: 1rem;
        font-size: 0.92rem;
    }

    .search-form__button {
        min-width: 54px;
        width: 54px;
        padding: 0;
    }

    .search-form__button span {
        display: none;
    }

    .home-intro {
        padding: 3.6rem 0;
    }

    .home-intro h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .home-intro__visual {
        min-height: 300px;
    }

    .preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.5rem;
    }

    .feature-links {
        grid-template-columns: 1fr;
    }

    .feature-link {
        min-height: 170px;
        border-right: 0;
        border-bottom: 1px solid #d6ccc4;
    }

    .feature-link:last-child {
        border-bottom: 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__column:last-child {
        grid-column: auto;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .brand__logo {
        width: 116px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .header-action svg {
        width: 21px;
        height: 21px;
    }

    .home-intro__visual {
        min-height: 260px;
    }

    .home-intro__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .preview-grid {
        gap: 1rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand,
    .site-footer__column:last-child {
        grid-column: auto;
    }
}


/* ==========================================================================
   Iteración visual 2B — más impacto, color y ritmo editorial/comercial
   ========================================================================== */

:root {
    --color-brand: #df7044;
    --color-brand-dark: #b84f2f;
    --color-ink: #1f1c1a;
    --color-ink-soft: #5a514c;
    --color-canvas: #fffaf5;
    --color-soft: #f4ece4;
    --color-border: #d8cec5;
    --color-blue: #244c78;
    --color-blue-bright: #2d67a3;
    --color-green: #2f6a55;
    --color-yellow: #f2bd3e;
    --color-pink: #c94e74;
    --color-cream: #f5dfbb;
    --container: 1320px;
}

.site-announcement {
    background: #1d1a18;
    font-weight: 700;
}

.site-header__main {
    min-height: 98px;
}

.brand {
    min-width: 170px;
}

.brand__logo {
    width: 170px;
}

.primary-nav__link {
    font-size: 0.96rem;
    font-weight: 800;
}

.search-form {
    border-width: 2px;
    border-color: #d9cdc3;
    background: #fff;
}

.search-form__input {
    min-height: 56px;
    font-size: 1rem;
}

.search-form__button {
    min-width: 144px;
    background: var(--color-brand);
    font-size: 0.96rem;
}

.home-v2 {
    overflow: hidden;
}

.hero-carousel {
    padding: 24px 0 0;
    background: #fff;
}

.hero-carousel__frame {
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: clamp(380px, 56vh, 540px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2.5rem, 5vw, 5rem);
    border-radius: 2px;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide[hidden] {
    display: none;
}

.hero-slide::before,
.hero-slide::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-slide::before {
    width: 260px;
    height: 260px;
    top: -110px;
    right: 32%;
    background: rgba(255, 255, 255, 0.13);
}

.hero-slide::after {
    width: 420px;
    height: 420px;
    right: -190px;
    bottom: -230px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-slide--orange {
    background: #db693e;
    color: #fffaf5;
}

.hero-slide--green {
    background: #3b7b61;
    color: #fffef8;
}

.hero-slide--yellow {
    background: #f2bd3e;
    color: #1f1c1a;
}

.hero-slide__copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-slide__kicker {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
    margin: 0;
    max-width: 740px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.95;
    letter-spacing: -0.052em;
    font-weight: 500;
}

.hero-slide__copy > p:not(.hero-slide__kicker) {
    max-width: 570px;
    margin: 1.4rem 0 0;
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.55;
    opacity: 0.94;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.4rem;
    margin-top: 2rem;
}

.hero-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.3rem;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    transition: transform 150ms ease, background 150ms ease, color 150ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
    transform: translateY(-2px);
}

.hero-button--light {
    background: #fff;
    color: #201c19;
}

.hero-button--dark {
    background: #211e1b;
    color: #fff;
}

.hero-link {
    color: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    border-bottom: 2px solid currentColor;
}

.hero-link--dark {
    color: #211e1b;
}

.hero-art {
    position: relative;
    min-height: 360px;
    z-index: 1;
}

.hero-art--books {
    transform: rotate(1deg);
}

.hero-book {
    position: absolute;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    box-shadow: 0 26px 48px rgba(44, 22, 13, 0.22);
}

.hero-book--1 {
    width: 190px;
    height: 285px;
    left: 6%;
    top: 36px;
    background: #f5c341;
    color: #29231b;
    transform: rotate(-11deg);
}

.hero-book--2 {
    width: 184px;
    height: 300px;
    left: 30%;
    top: 8px;
    background: #274e7b;
    color: #fff;
    transform: rotate(5deg);
}

.hero-book--3 {
    width: 196px;
    height: 292px;
    left: 54%;
    top: 30px;
    background: #f4e8d6;
    color: #26211e;
    transform: rotate(12deg);
}

.hero-book--4 {
    width: 168px;
    height: 255px;
    right: 1%;
    top: 74px;
    background: #a93f66;
    color: #fff;
    transform: rotate(-5deg);
}

.hero-book::before {
    content: "";
    position: absolute;
    top: 14%;
    left: 14%;
    right: 14%;
    height: 2px;
    background: currentColor;
    opacity: 0.55;
}

.hero-burst {
    position: absolute;
    right: 7%;
    bottom: 2%;
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #d75f37;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    transform: rotate(9deg);
    box-shadow: 0 12px 30px rgba(40, 20, 10, 0.14);
}

.hero-art--art {
    min-height: 390px;
}

.art-card {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 24px 46px rgba(19, 52, 40, 0.2);
}

.art-card--paper {
    width: 310px;
    height: 280px;
    left: 24%;
    top: 42px;
    background: #fff7e8;
    transform: rotate(-7deg);
}

.art-card--coral {
    width: 190px;
    height: 145px;
    left: 8%;
    top: 178px;
    background: #e87048;
    transform: rotate(8deg);
}

.art-card--blue {
    width: 200px;
    height: 200px;
    right: 5%;
    top: 110px;
    background: #315f93;
    transform: rotate(12deg);
}

.art-pencil {
    position: absolute;
    width: 320px;
    height: 24px;
    border-radius: 999px;
    transform-origin: center;
    box-shadow: 0 12px 20px rgba(29, 52, 43, 0.18);
}

.art-pencil::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 24px solid #f0d8b5;
}

.art-pencil--one {
    left: 18%;
    top: 104px;
    background: #f2bd3e;
    transform: rotate(-17deg);
}

.art-pencil--two {
    left: 28%;
    bottom: 66px;
    background: #c84c72;
    transform: rotate(14deg);
}

.art-dot {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.art-dot--one {
    width: 76px;
    height: 76px;
    right: 24%;
    top: 16px;
    background: #efbd3e;
}

.art-dot--two {
    width: 48px;
    height: 48px;
    left: 11%;
    top: 62px;
    background: #fff3df;
}

.hero-art--used {
    min-height: 390px;
}

.used-book {
    position: absolute;
    left: 50%;
    border-radius: 5px 12px 12px 5px;
    box-shadow: 0 18px 34px rgba(74, 53, 12, 0.2);
}

.used-book::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: 84%;
    border-radius: 2px 8px 8px 2px;
    background: #fff7e6;
}

.used-book--1 {
    width: 360px;
    height: 74px;
    top: 54px;
    transform: translateX(-52%) rotate(-5deg);
    background: #304f79;
}

.used-book--2 {
    width: 410px;
    height: 88px;
    top: 130px;
    transform: translateX(-48%) rotate(4deg);
    background: #b74b67;
}

.used-book--3 {
    width: 330px;
    height: 72px;
    top: 219px;
    transform: translateX(-56%) rotate(-2deg);
    background: #3b745f;
}

.used-book--4 {
    width: 385px;
    height: 76px;
    top: 285px;
    transform: translateX(-43%) rotate(5deg);
    background: #db6b40;
}

.used-stamp {
    position: absolute;
    right: 2%;
    top: 24px;
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border: 4px solid #30291d;
    border-radius: 50%;
    color: #30291d;
    font-size: 0.74rem;
    font-weight: 950;
    line-height: 1.05;
    text-align: center;
    transform: rotate(12deg);
}

.hero-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 4px;
}

.hero-carousel__dots {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 34px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d7cec7;
    cursor: pointer;
    transition: width 160ms ease, background 160ms ease;
}

.hero-dot.is-active {
    width: 64px;
    background: var(--color-brand);
}

.hero-carousel__arrows {
    display: flex;
    gap: 0.5rem;
}

.hero-carousel__arrows button {
    width: 42px;
    height: 42px;
    border: 1px solid #d7cec7;
    border-radius: 50%;
    background: #fff;
    color: #24201d;
    font-size: 1.1rem;
    cursor: pointer;
}

.hero-carousel__arrows button:hover,
.hero-carousel__arrows button:focus-visible {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
}

.shelf-section {
    padding-top: 4rem;
}

.section-heading--bold h2 {
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    font-weight: 500;
}

.book-preview-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.7rem);
}

.book-preview-card {
    min-width: 0;
}

.book-cover {
    position: relative;
    aspect-ratio: 0.68;
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
    border-radius: 2px 8px 8px 2px;
    box-shadow: 0 18px 34px rgba(31, 28, 26, 0.14);
    overflow: hidden;
}

.book-cover::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,.35);
}

.book-cover::after {
    content: "";
    position: absolute;
    width: 82px;
    height: 82px;
    border: 2px solid currentColor;
    border-radius: 50%;
    right: -26px;
    top: 18%;
    opacity: 0.38;
}

.book-cover span {
    position: relative;
    z-index: 1;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.book-cover--coral {
    background: #df7044;
    color: #fff8ef;
}

.book-cover--blue {
    background: #2d5e91;
    color: #fff;
}

.book-cover--yellow {
    background: #efbb3d;
    color: #2c2418;
}

.book-cover--green {
    background: #39725b;
    color: #fff;
}

.book-cover--pink {
    background: #bf4b70;
    color: #fff;
}

.book-cover--ink {
    background: #26211f;
    color: #fff3df;
}

.book-preview-card__meta {
    margin: 1rem 0 0.35rem;
    color: var(--color-brand-dark);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-preview-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    line-height: 1.18;
    font-weight: 600;
}

.book-preview-card__price {
    display: block;
    margin-top: 0.6rem;
    color: #7b716a;
    font-size: 0.74rem;
}

.product-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(170px, 1fr);
    gap: clamp(1rem, 2vw, 1.7rem);
    overflow-x: auto;
    padding: 0.35rem 0.15rem 1rem;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.product-card {
    min-width: 0;
    scroll-snap-align: start;
}

.product-card__media {
    position: relative;
    aspect-ratio: 0.72;
    display: block;
    overflow: hidden;
    border: 1px solid #eadfd5;
    border-radius: 4px 10px 10px 4px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(31, 28, 26, 0.12);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 0.45rem;
}

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: end start;
    padding: 1rem;
    background:
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.34) 0 14%, transparent 15%),
        linear-gradient(145deg, #c92d2d, #7f1d1d);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card__badge {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    padding: 0.35rem 0.5rem;
    border-radius: 999px;
    background: #fff3df;
    color: #8f201f;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-card__meta {
    margin: 1rem 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.product-card__meta a {
    color: var(--color-brand-dark);
}

.product-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.2;
    font-weight: 600;
}

.product-card h3 a {
    color: inherit;
}

.product-card__prices {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    margin-top: 0.65rem;
}

.product-card__prices strong {
    color: #211e1b;
    font-size: 0.92rem;
}

.product-card__prices del {
    color: #8e8178;
    font-size: 0.74rem;
}

.home-empty-state {
    margin: 0;
    padding: 1.2rem 0;
    color: #766b64;
}

.home-empty-state--dark {
    color: #e8ddd3;
}

.category-stage {
    margin-top: 1rem;
    padding: 4.8rem 0 5.3rem;
    background: #211e1b;
    color: #fff;
}

.section-heading--on-dark {
    margin-bottom: 2.4rem;
}

.section-heading--on-dark .eyebrow {
    color: #f3b68f;
}

.section-heading--on-dark h2 {
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}

.category-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    color: #1f1b19;
    transition: transform 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
    transform: translateY(-5px);
}

.category-card__icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.category-card strong {
    margin-top: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1.05;
}

.category-card > span:last-child {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.35;
}

.category-card--orange {
    background: #df7044;
    color: #fff;
}

.category-card--blue {
    background: #315f93;
    color: #fff;
}

.category-card--green {
    background: #3e795f;
    color: #fff;
}

.category-card--yellow {
    background: #f0bc3e;
}

.category-card--pink {
    background: #c34f73;
    color: #fff;
}

.category-card--cream {
    background: #f1dfc2;
}

.promo-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.promo-card {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: clamp(2rem, 4vw, 3.5rem);
    overflow: hidden;
    color: #fff;
}

.promo-card--blue {
    background: #2e5d91;
}

.promo-card--coral {
    background: #dc6a42;
}

.promo-card__tag {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.promo-card strong {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-top: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.promo-card__cta {
    position: relative;
    z-index: 2;
    margin-top: 1.3rem;
    font-size: 0.86rem;
    font-weight: 900;
}

.promo-shape {
    position: absolute;
    pointer-events: none;
}

.promo-shape--circle {
    width: 220px;
    height: 220px;
    border: 36px solid rgba(255,255,255,.18);
    border-radius: 50%;
    top: -70px;
    right: -20px;
}

.promo-shape--book {
    width: 210px;
    height: 135px;
    right: 40px;
    bottom: 48px;
    border: 12px solid rgba(255,255,255,.2);
    transform: rotate(-12deg);
}

.promo-shape--sheet {
    width: 210px;
    height: 270px;
    right: 50px;
    top: 26px;
    border: 14px solid rgba(255,255,255,.19);
    transform: rotate(10deg);
}

.promo-shape--dot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: -20px;
    bottom: -12px;
    background: rgba(255,255,255,.16);
}

.editorial-band {
    padding: 5.5rem 0;
    background: #f3bd3f;
    color: #211e1b;
}

.editorial-band__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.editorial-band__copy h2 {
    max-width: 650px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.editorial-band__copy > p:not(.eyebrow) {
    max-width: 600px;
    margin: 1.4rem 0 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.editorial-cards {
    position: relative;
    min-height: 400px;
}

.editorial-card {
    position: absolute;
    width: 230px;
    height: 315px;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    border-radius: 2px 10px 10px 2px;
    box-shadow: 0 26px 44px rgba(82, 59, 9, 0.2);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.editorial-card--one {
    left: 6%;
    top: 48px;
    background: #2e5e91;
    color: #fff;
    transform: rotate(-10deg);
}

.editorial-card--two {
    left: 35%;
    top: 16px;
    background: #d96742;
    color: #fff;
    transform: rotate(3deg);
}

.editorial-card--three {
    right: 4%;
    top: 64px;
    background: #3b735c;
    color: #fff;
    transform: rotate(10deg);
}

@media (max-width: 1120px) {
    .hero-slide {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        min-height: clamp(360px, 52vh, 500px);
        padding: 3rem;
    }

    .hero-slide h1,
    .hero-slide h2 {
        font-size: clamp(2.8rem, 5.2vw, 4.6rem);
    }

    .hero-art {
        transform: scale(0.9);
        transform-origin: center;
    }

    .book-preview-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 2.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .editorial-band__grid {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-card {
        width: 190px;
        height: 280px;
    }
}

@media (max-width: 820px) {
    .product-row {
        grid-auto-columns: minmax(155px, 44vw);
        gap: 1rem;
    }


    .brand {
        min-width: auto;
    }

    .brand__logo {
        width: 142px;
    }

    .hero-carousel {
        padding-top: 12px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
        padding: 2.2rem 1.6rem 1.4rem;
    }

    .hero-slide h1,
    .hero-slide h2 {
        font-size: clamp(2.7rem, 11vw, 4.4rem);
    }

    .hero-art {
        min-height: 260px;
        transform: scale(0.76);
        transform-origin: center;
    }

    .hero-carousel__controls {
        min-height: 56px;
    }

    .book-preview-row {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }

    .book-preview-card {
        flex: 0 0 min(42vw, 190px);
        scroll-snap-align: start;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        min-height: 300px;
    }

    .editorial-band__grid {
        grid-template-columns: 1fr;
    }

    .editorial-cards {
        min-height: 350px;
    }
}

@media (max-width: 520px) {
    .hero-slide {
        padding: 2rem 1.25rem 1rem;
    }

    .hero-slide__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-art {
        min-height: 220px;
        transform: scale(0.60);
        margin: -20px -60px -36px;
    }

    .hero-carousel__arrows {
        display: none;
    }

    .hero-dot {
        width: 26px;
    }

    .hero-dot.is-active {
        width: 50px;
    }

    .section-heading--bold h2,
    .section-heading--on-dark h2 {
        font-size: 2.5rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 180px;
    }

    .promo-card {
        min-height: 270px;
    }

    .promo-card strong {
        font-size: 2.4rem;
    }

    .editorial-band {
        padding: 4rem 0;
    }

    .editorial-band__copy h2 {
        font-size: 3rem;
    }

    .editorial-cards {
        min-height: 290px;
    }

    .editorial-card {
        width: 150px;
        height: 225px;
    }

    .editorial-card--one {
        left: 0;
    }

    .editorial-card--two {
        left: 29%;
    }

    .editorial-card--three {
        right: 0;
    }
}

/* ==========================================================================
   Iteración visual 2C — rojo más protagonista y banners full width
   ========================================================================== */

:root {
    --color-brand: #cf2e2e;
    --color-brand-dark: #a82020;
    --color-red: #c92d2d;
    --color-red-deep: #a91f24;
    --color-coral: #df7044;
    --container: 1320px;
}

.hero-carousel--full {
    padding-top: 20px;
    background: #fff;
}

.hero-slide {
    border-radius: 0;
}

.hero-slide__inner {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: 20px;
    min-height: clamp(380px, 56vh, 540px);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.hero-slide--red {
    background: linear-gradient(135deg, #b32028 0%, #cf2e2e 45%, #df7044 100%);
    color: #fffaf5;
}

.hero-slide--coral {
    background: linear-gradient(135deg, #df7044 0%, #f08f55 55%, #f4b764 100%);
    color: #211d1a;
}

.hero-slide--yellow {
    background: linear-gradient(135deg, #efb735 0%, #f2c247 50%, #f6d172 100%);
    color: #1f1c1a;
}

.hero-slide--coral .hero-link,
.hero-slide--yellow .hero-link {
    color: #211d1a;
}

.hero-slide--red .hero-burst {
    color: #b32028;
}

.hero-slide--coral .hero-burst,
.hero-slide--yellow .hero-burst {
    color: #c92d2d;
}

.hero-carousel__controls--full {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: 24px;
}

.hero-carousel__controls-inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hero-dot.is-active {
    background: var(--color-red);
}

.book-cover--red {
    background: #c92d2d;
    color: #fff8ef;
}

.category-card--red {
    background: #c92d2d;
    color: #fff;
}

.promo-section--full {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.promo-grid--full {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.promo-card {
    border-radius: 0;
    min-height: 360px;
}

.promo-card__inner {
    width: min(100%, calc(var(--container) / 2));
    margin-left: auto;
    margin-right: auto;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2rem, 4vw, 3.4rem);
    position: relative;
}

.promo-grid--full > .promo-card:first-child .promo-card__inner {
    margin-right: 0;
    margin-left: auto;
}

.promo-grid--full > .promo-card:last-child .promo-card__inner {
    margin-left: 0;
    margin-right: auto;
}

.promo-card--red {
    background: linear-gradient(135deg, #b32028 0%, #cf2e2e 55%, #de5e48 100%);
    color: #fff;
}

.promo-card--blue {
    background: linear-gradient(135deg, #214c78 0%, #2d67a3 100%);
    color: #fff;
}

.editorial-band--full {
    padding: 5.8rem 0;
    background: linear-gradient(135deg, #f2be3f 0%, #f4c85b 100%);
}

.editorial-band__grid--full {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: 20px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.section-heading--bold h2,
.section-heading--on-dark h2,
.editorial-band__copy h2 {
    letter-spacing: -0.05em;
}

@media (max-width: 1120px) {
    .hero-slide__inner {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        min-height: clamp(360px, 52vh, 500px);
    }

    .editorial-band__grid--full {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .hero-slide__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-inline: 16px;
        gap: 1rem;
    }

    .promo-grid--full {
        grid-template-columns: 1fr;
    }

    .promo-grid--full > .promo-card:first-child .promo-card__inner,
    .promo-grid--full > .promo-card:last-child .promo-card__inner {
        margin-left: auto;
        margin-right: auto;
        width: min(100%, var(--container));
    }

    .promo-card__inner {
        min-height: 300px;
        width: min(100%, var(--container));
    }

    .editorial-band__grid--full {
        grid-template-columns: 1fr;
        padding-inline: 16px;
    }
}

@media (max-width: 520px) {
    .hero-carousel__controls--full {
        padding-inline: 16px;
    }

    .promo-card,
    .promo-card__inner {
        min-height: 280px;
    }

    .promo-card strong {
        font-size: 2.3rem;
    }
}


/* ==========================================================================
   Corrección Iteración 2C — el contenedor exterior no controla la altura
   ========================================================================== */

.hero-carousel--full .hero-slide {
    display: block;
    min-height: 0;
    padding: 0;
    grid-template-columns: none;
    gap: 0;
}

.hero-carousel--full .hero-slide[hidden] {
    display: none;
}

.hero-carousel--full .hero-slide__inner {
    height: clamp(390px, 54vh, 510px);
    min-height: 0;
}

@media (max-width: 1120px) {
    .hero-carousel--full .hero-slide__inner {
        height: clamp(370px, 50vh, 470px);
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .hero-carousel--full .hero-slide__inner {
        height: auto;
        min-height: 0;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}


/* ==========================================================================
   Iteración móvil 2D — shell PWA
   ========================================================================== */

.mobile-app-nav,
.mobile-copies-quick {
    display: none;
}

@media (max-width: 820px) {
    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .mobile-app-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        min-height: 72px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid #ddd3cb;
        box-shadow: 0 -10px 30px rgba(31, 28, 26, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-app-nav__item {
        min-width: 0;
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        padding: 4px 2px;
        border: 0;
        background: transparent;
        color: #625a55;
        font: inherit;
        cursor: pointer;
    }

    .mobile-app-nav__item > svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-app-nav__item > span:last-child {
        max-width: 100%;
        overflow: hidden;
        font-size: 0.64rem;
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-app-nav__item--active {
        color: var(--color-red);
    }

    .mobile-app-nav__item--copies {
        position: relative;
        color: #211e1b;
        transform: translateY(-7px);
    }

    .mobile-app-nav__copies-icon {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        margin-bottom: 1px;
        border-radius: 50%;
        background: var(--color-red);
        color: #fff;
        box-shadow: 0 8px 20px rgba(169, 31, 36, 0.28);
    }

    .mobile-app-nav__copies-icon svg {
        width: 25px;
        height: 25px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-copies-quick {
        display: block;
        padding: 14px 14px 4px;
        background: #fff;
    }

    .mobile-copies-quick__card {
        min-height: 104px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
        background: #211e1b;
        color: #fff;
        box-shadow: 0 14px 30px rgba(31, 28, 26, 0.12);
    }

    .mobile-copies-quick__icon {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: var(--color-red);
    }

    .mobile-copies-quick__icon svg {
        width: 26px;
        height: 26px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-copies-quick__copy {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-copies-quick__copy small {
        color: #efb6a2;
        font-size: 0.68rem;
        font-weight: 900;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .mobile-copies-quick__copy strong {
        margin-top: 2px;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.12rem;
        line-height: 1.08;
    }

    .mobile-copies-quick__copy > span {
        margin-top: 5px;
        color: #cfc7c1;
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .mobile-copies-quick__arrow {
        color: #efb6a2;
        font-size: 1.4rem;
        font-weight: 700;
    }
}

@media (display-mode: standalone) {
    .site-announcement {
        display: none;
    }
}


/* Etapa 3: bloques comerciales administrados desde Bwebly */
.home-section__subtitle {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--color-text-soft);
    font-size: 0.98rem;
    line-height: 1.55;
}

.home-section-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -8px 0 24px;
}

.home-section-shortcut {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(24, 24, 24, 0.16);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease;
}

.home-section-shortcut:hover,
.home-section-shortcut:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(24, 24, 24, 0.42);
}

@media (max-width: 820px) {
    .home-section-shortcuts {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .home-section-shortcuts::-webkit-scrollbar {
        display: none;
    }

    .home-section-shortcut {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}


/* Etapa 3C: carrusel principal administrado desde Bwebly */
.hero-slide--configured {
    position: relative;
    overflow: hidden;
    background: #211e1b;
    color: #fff;
}

.hero-slide--configured .hero-slide__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-slide--configured .hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18,16,15,.58) 0%, rgba(18,16,15,.24) 38%, rgba(18,16,15,.02) 70%);
    pointer-events: none;
}

.hero-slide--configured .hero-slide__inner--configured {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 620px) 1fr;
    align-items: end;
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.hero-slide__configured-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.hero-slide__configured-copy h1,
.hero-slide__configured-copy h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-button--configured {
    background: var(--color-red);
    color: #fff;
    border-color: var(--color-red);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.hero-button--configured:hover,
.hero-button--configured:focus-visible {
    background: #fff;
    color: #211e1b;
    border-color: #fff;
}

@media (max-width: 820px) {
    .hero-slide--configured .hero-slide__inner--configured {
        min-height: clamp(280px, 54vw, 420px);
        padding: 1.5rem 16px 1.8rem;
        align-items: end;
    }

    .hero-slide--configured .hero-slide__overlay {
        background: linear-gradient(0deg, rgba(18,16,15,.60) 0%, rgba(18,16,15,.16) 58%, rgba(18,16,15,0) 100%);
    }

    .hero-slide__configured-copy h1,
    .hero-slide__configured-copy h2 {
        font-size: clamp(2rem, 8vw, 3.3rem);
    }
}


/* Etapa 3C.1: tamaño estable del carrusel configurado */
.hero-carousel--full .hero-slide--configured {
    height: clamp(300px, 33.333vw, 510px);
    min-height: 0;
}

.hero-carousel--full .hero-slide--configured .hero-slide__inner--configured {
    width: min(100%, var(--container));
    height: 100%;
    min-height: 0;
}

.hero-carousel--full .hero-slide--configured .hero-slide__background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 820px) {
    .hero-carousel--full .hero-slide--configured {
        height: clamp(220px, 54vw, 320px);
    }

    .hero-carousel--full .hero-slide--configured .hero-slide__inner--configured {
        height: 100%;
        min-height: 0;
    }
}


/* Menu jerarquico administrado por Bwebly */
.primary-nav {
    position: relative;
    min-width: 0;
}

.primary-nav__list,
.primary-nav__children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.55rem, 1.25vw, 1.35rem);
}

.primary-nav__item {
    position: static;
}

.primary-nav__item-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.primary-nav__submenu-toggle {
    display: inline-grid;
    width: 28px;
    height: 28px;
    margin-left: 0.1rem;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: color 160ms ease, transform 160ms ease;
}

.primary-nav__submenu-toggle:hover,
.primary-nav__submenu-toggle:focus-visible {
    color: var(--color-brand-dark);
}

.primary-nav__submenu-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.primary-nav__panel {
    display: none;
}

.primary-nav__panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.45rem 2rem;
}

.primary-nav__group-title {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--color-ink);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.25;
}

a.primary-nav__group-title:hover,
a.primary-nav__group-title:focus-visible,
.primary-nav__child-link:hover,
.primary-nav__child-link:focus-visible {
    color: var(--color-brand-dark);
}

.primary-nav__children {
    display: grid;
    gap: 0.42rem;
}

.primary-nav__child-link {
    display: inline-block;
    color: var(--color-ink-soft);
    font-size: 0.82rem;
    line-height: 1.35;
}

.primary-nav__subheading {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid #eee8e2;
    color: var(--color-ink);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.primary-nav__link--label {
    cursor: default;
}

@media (min-width: 1021px) {
    .primary-nav__item--has-children:hover > .primary-nav__panel,
    .primary-nav__item--has-children:focus-within > .primary-nav__panel,
    .primary-nav__item--open > .primary-nav__panel {
        display: block;
    }

    .primary-nav__panel {
        position: absolute;
        z-index: 30;
        top: 100%;
        left: 0;
        right: 0;
        min-width: 620px;
        padding: 1.4rem 1.5rem 1.55rem;
        border: 1px solid var(--color-border);
        border-radius: 0 0 18px 18px;
        background: #fff;
        box-shadow: 0 22px 40px rgba(36, 33, 31, 0.14);
    }
}

@media (max-width: 1020px) {
    .primary-nav {
        position: absolute;
        z-index: 40;
        max-height: calc(100dvh - 170px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .primary-nav.primary-nav--open {
        display: block;
    }

    .primary-nav__list {
        display: block;
    }

    .primary-nav__item {
        border-bottom: 1px solid #eee8e2;
    }

    .primary-nav__item-row {
        justify-content: space-between;
        gap: 0.7rem;
    }

    .primary-nav__link {
        flex: 1 1 auto;
        padding: 0.92rem 0;
        border-bottom: 0;
    }

    .primary-nav__submenu-toggle {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin-right: -0.45rem;
    }

    .primary-nav__item--open > .primary-nav__panel {
        display: block;
    }

    .primary-nav__panel {
        position: static;
        padding: 0 0 1rem 0.85rem;
    }

    .primary-nav__panel-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding-left: 0.85rem;
        border-left: 2px solid #eee8e2;
    }

    .primary-nav__group-title {
        margin-bottom: 0.5rem;
        font-size: 0.88rem;
    }

    .primary-nav__child-link {
        padding: 0.18rem 0;
        font-size: 0.84rem;
    }

    .primary-nav__subheading {
        max-width: 28rem;
    }

    .primary-nav__item--utility .primary-nav__link {
        color: var(--color-brand-dark);
    }
}

@media (max-width: 560px) {
    .primary-nav__panel-grid {
        padding-left: 0.7rem;
    }
}


/* ==========================================================================
   Etapa 4 — Descubrimientos administrados desde Bwebly
   ========================================================================== */

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.discovery-card {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #332e2a;
    color: #fff;
    isolation: isolate;
    transition: transform 180ms ease;
}

.discovery-card:hover,
.discovery-card:focus-visible {
    transform: translateY(-5px);
}

.discovery-card__image,
.discovery-card__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.discovery-card__image {
    z-index: -2;
    object-fit: cover;
    transition: transform 320ms ease;
}

.discovery-card:hover .discovery-card__image,
.discovery-card:focus-visible .discovery-card__image {
    transform: scale(1.035);
}

.discovery-card__shade {
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(20, 17, 15, 0.05) 12%,
            rgba(20, 17, 15, 0.16) 45%,
            rgba(20, 17, 15, 0.88) 100%
        );
}

.discovery-card__content {
    width: 100%;
    min-height: 46%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.35rem, 2.6vw, 2rem);
}

.discovery-card__content strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.discovery-card__cta {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .discovery-card {
        min-height: 280px;
    }
}

@media (max-width: 620px) {
    .discovery-grid {
        grid-template-columns: 1fr;
    }

    .discovery-card {
        min-height: 230px;
    }

    .discovery-card__content strong {
        font-size: 2rem;
    }
}


/* Banners promocionales nativos: imagen completa clickeable, sin overlays ni botones */
.hero-slide--configured .hero-banner-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.hero-slide--configured .hero-banner-link:focus-visible {
    outline: 4px solid #fff;
    outline-offset: -6px;
}

.hero-slide--configured .hero-banner-link .hero-slide__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* ==========================================================================
   Bloques editoriales administrables del blog
   ========================================================================== */

.blog-highlights-section {
    padding: 5rem 0;
}

.blog-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.blog-highlight-card {
    position: relative;
    min-height: clamp(340px, 34vw, 560px);
    display: flex;
    align-items: flex-end;
    padding: clamp(2rem, 4vw, 4rem);
    overflow: hidden;
    background-color: var(--blog-highlight-bg);
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.blog-highlights-grid .blog-highlight-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.blog-highlight-card__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-highlight-card__text {
    max-width: 620px;
    margin-bottom: 1rem;
    color: var(--blog-highlight-text);
    font-size: clamp(0.9rem, 1.25vw, 1.1rem);
    line-height: 1.45;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.blog-highlight-card strong {
    color: var(--blog-highlight-title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.4rem, 4.4vw, 5rem);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.blog-highlight-card__link {
    margin-top: 1.4rem;
    color: var(--blog-highlight-link);
    font-size: 0.92rem;
    font-weight: 900;
}

.blog-highlight-card:hover .blog-highlight-card__link,
.blog-highlight-card:focus-visible .blog-highlight-card__link {
    text-decoration: underline;
}

.blog-invitation {
    min-height: clamp(500px, 44vw, 720px);
    display: flex;
    align-items: center;
    background-color: var(--blog-invitation-bg);
    background-size: cover;
    background-position: center;
}

.blog-invitation__inner {
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.blog-invitation__copy {
    max-width: 720px;
}

.blog-invitation__copy h2 {
    margin: 0;
    color: var(--blog-invitation-title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 5.2vw, 5.8rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.045em;
}

.blog-invitation__copy p {
    max-width: 650px;
    margin: 1.5rem 0 2rem;
    color: var(--blog-invitation-text);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
}

.blog-invitation__button {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0.85rem 1.3rem;
    background: var(--blog-invitation-button);
    color: var(--blog-invitation-button-text);
    font-weight: 900;
    text-decoration: none;
}

.blog-invitation__button:hover,
.blog-invitation__button:focus-visible {
    transform: translateY(-1px);
}

@media (max-width: 820px) {
    .blog-highlights-grid {
        grid-template-columns: 1fr;
    }

    .blog-highlights-grid .blog-highlight-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .blog-highlight-card {
        min-height: 360px;
    }

    .blog-invitation {
        min-height: 520px;
        background-position: center;
    }
}
