:root {
    --violet: #784dfe;
    --violet-dark: #5f34e0;
    --violet-tint: rgba(120, 77, 254, 0.1);
    --ink: #0a0a0a;
    --bg: #fcfcfc;
    --paper: #ffffff;
    --orange: #f9a717;
    --orange-dark: #fc8f02;
    --muted: #6b6b6b;
    --line: rgba(10, 10, 10, 0.12);
    --pastel-blue: #d0dff2;
    --pastel-pink: #f7dadf;
    --danger: #cc4845;
    --danger-bg: #fbeceb;
    --success: #247442;
    --success-bg: #eaf7ef;
}

/* Navigation and form accessibility */
html { scroll-padding-top: 100px; }
section[id] { scroll-margin-top: 20px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--violet-dark);
    outline-offset: 5px;
}
.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 100;
    padding: 14px 20px; border-radius: 8px; background: white;
    color: var(--violet-dark); transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.hero-note { margin: 1.5rem 0 0; font-size: .8rem; color: var(--muted); line-height: 1.7; }
.process-section { background: #f6f3ff; }
.process-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem; list-style: none; padding: 0; margin: 2.5rem 0; text-align: left;
}
.step-number { display: inline-block; color: var(--violet-dark); font-weight: 700; font-size: 1.6rem; margin-bottom: 1rem; }
.process-grid h3 { font-size: 1rem; line-height: 1.6; }
.process-grid p { color: var(--muted); line-height: 1.8; font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; color: var(--violet-dark); font-weight: 600; text-underline-offset: 5px; }
#presupuestar { background: #faf8f5; }
.contact-card { background: white; padding: clamp(1.25rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 50px #32245a08; }
.section-inner.contact-card { max-width: 700px; }
.quote-form .form-hint { margin: 0 0 .65rem; font-size: .82rem; line-height: 1.7; color: var(--muted); }
.quote-form textarea { resize: vertical; min-height: 150px; }
.quote-form [aria-invalid="true"] { border-color: #a32b29; }
.field-error { color: #a32b29; font-size: .8rem; line-height: 1.6; }
.field-error:empty { display: none; }
.quote-form button { gap: 1rem; font-family: inherit; }
.quote-form button:disabled { background: #625286; cursor: wait; }
.form-status { margin: .5rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.form-status:empty { display: none; }
.contact-alternative { border-top: 1px solid var(--line); padding-top: 1.5rem; margin: 1.75rem 0 0; line-height: 1.8; color: var(--muted); font-size: .8rem; }
.contact-alternative a { color: var(--violet-dark); display: inline-block; text-underline-offset: 3px; }
.form-feedback { line-height: 1.7; }
.form-feedback p { margin: .5rem 0 0; }
.footer-admin { display: block; width: fit-content; margin: .5rem auto 0; min-height: 44px; padding: 12px; font-size: .75rem; color: #c4c4c4; text-underline-offset: 4px; }
@media (max-width: 720px) {
    html { scroll-padding-top: 90px; }
    .process-grid { grid-template-columns: 1fr; gap: 1rem; }
    .process-grid li { position: relative; padding-left: 3.5rem; }
    .step-number { position: absolute; left: 0; top: 0; font-size: 1.3rem; }
    .process-grid p { margin-top: .5rem; }
    html:not(.nav-ready) .site-header-inner { flex-wrap: wrap; }
    html:not(.nav-ready) .nav-toggle { display: none; }
    html:not(.nav-ready) .site-nav { display: flex; position: static; width: 100%; box-shadow: none; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions a, .quote-form button { width: 100%; }
    .section .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section .release-card span { font-size: .75rem; }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Lexend Exa", "Montserrat", sans-serif;
    color: var(--ink);
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* Top strip */

.top-strip {
    background: var(--violet);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.5rem 1rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 34px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--violet);
}

.site-nav-cta {
    background: var(--violet);
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600 !important;
}

.site-nav-cta:hover {
    background: var(--violet-dark);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before {
    position: absolute;
    top: -7px;
    left: 0;
}

.nav-toggle-bars::after {
    position: absolute;
    top: 7px;
    left: 0;
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
        padding: 0.5rem 1.5rem 1rem;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 10px 30px rgba(10, 10, 10, 0.08);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--line);
    }

    .site-nav-cta {
        text-align: center;
        margin-top: 0.75rem;
    }
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    color: var(--ink);
    padding: clamp(4rem, 12vw, 6.5rem) 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 0;
}

.hero::before {
    width: 380px;
    height: 380px;
    background: var(--violet);
    opacity: 0.18;
    top: -140px;
    left: -100px;
}

.hero::after {
    width: 320px;
    height: 320px;
    background: var(--orange);
    opacity: 0.2;
    bottom: -120px;
    right: -80px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--violet);
    background: var(--violet-tint);
    border: 1px solid rgba(120, 77, 254, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    color: var(--ink);
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1.1rem;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 2rem;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--violet);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--violet-dark);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1.5px solid var(--ink);
    font-size: 1rem;
    transition: background 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(10, 10, 10, 0.06);
}

/* Sections */

.section {
    padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}

.section-tinted {
    background: var(--pastel-blue);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-inner-narrow {
    max-width: 560px;
}

.section h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.section-lead {
    color: var(--muted);
    margin: 0.6rem 0 2.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Services */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.service-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.5rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.service-card:hover {
    border-color: rgba(120, 77, 254, 0.35);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--ink);
    background: var(--violet-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* Novedades */

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.9rem;
}

.release-card {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 2px;
    border: 1px solid var(--ink);
    display: flex;
    align-items: flex-end;
    padding: 0.9rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: inset 0 -100px 65px -30px rgba(0, 0, 0, 0.65);
    will-change: transform;
}

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

.release-card:hover,
.release-card:focus-visible {
    transform: translateY(-8px) scale(1.03);
    box-shadow: inset 0 -100px 65px -30px rgba(0, 0, 0, 0.65), 0 20px 34px rgba(10, 10, 10, 0.28);
    border-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
    .release-card { transition: none; }
    .release-card:hover, .release-card:focus-visible { transform: none; }
}

.release-card span {
    color: #fff;
    font-family: "Lexend Exa", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: left;
}

.release-hue-1 { background: linear-gradient(160deg, #0a0a0a, #784dfe); }
.release-hue-2 { background: linear-gradient(160deg, #7a2e2e, #f9a717); }
.release-hue-3 { background: linear-gradient(160deg, #1e3a2f, #3caf65); }
.release-hue-4 { background: linear-gradient(160deg, #3a1c4b, #9b5de5); }
.release-hue-5 { background: linear-gradient(160deg, #4b2b1c, #fc8f02); }
.release-hue-6 { background: linear-gradient(160deg, #12293d, #3d9ccc); }

/* Quote form */

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.quote-form label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.65rem;
}

.quote-form input,
.quote-form textarea {
    font: inherit;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(10, 10, 10, 0.3);
    border-radius: 8px;
    width: 100%;
    background: var(--paper);
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: 2px solid var(--violet);
    outline-offset: 1px;
    border-color: var(--violet);
}

.quote-form button {
    margin-top: 1.5rem;
    align-self: flex-start;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    text-align: left;
    border: 1px solid transparent;
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: rgba(204, 72, 69, 0.3);
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border-color: rgba(60, 175, 101, 0.3);
}

/* Footer */

body:has(> .site-footer) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
}

body > .top-strip,
body > .site-header,
body > .site-footer {
    flex-shrink: 0;
}

.site-footer {
    background: #0b0b0b;
    color: #fff;
    padding: 0;
}

.site-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px max(6vw, 24px) 76px;
    min-height: 240px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: start;
    gap: 2rem;
}

.brand-footer {
    display: inline-flex;
    margin-bottom: 0.5rem;
    justify-self: end;
}
.brand-footer .brand-logo { width: 190px; height: auto; }
.site-footer h2 { margin: 0 0 18px; font-size: 1rem; font-weight: 600; color: #fff; }
.site-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

.brand-logo-invert {
    filter: invert(1);
}

.site-footer-inner p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.footer-contact h2 { margin-bottom: 12px; }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-contact a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
}
.site-footer-inner .footer-contact p { font-size: 0.8rem; }

.footer-contact a:hover {
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: 8px;
}
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #000; color: #fff; }
.footer-social a:hover { background: #282828; }

.footer-legal {
    margin: 0;
    padding: 14px 24px;
    background: #242424;
}

.footer-copy {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
    color: #fff;
}
.site-footer .footer-admin { min-height: 0; padding: 4px; margin-top: 6px; font-size: .7rem; }
@media(max-width:700px) {
    .site-footer-inner { grid-template-columns: 1fr 1fr; padding: 32px 20px 40px; gap: 28px 16px; min-height: 0; }
    .brand-footer { grid-column: 1 / -1; justify-self: center; order: 3; margin: 4px 0 0; }
    .brand-footer .brand-logo { width: 150px; }
    .footer-follow, .footer-contact { text-align: left; }
    .site-footer h2 { font-size: 0.9rem; margin-bottom: 12px; }
}
@media(max-width:330px) {
    .site-footer-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .brand-footer { justify-self: center; }
    .footer-follow, .footer-contact { align-items: center; text-align: center; }
    .footer-social { justify-content: center; }
}

/* 404 */

.not-found {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 2rem;
}

.not-found h1 {
    font-size: 4rem;
}

.not-found a {
    color: var(--violet);
    text-decoration: none;
    font-weight: 600;
}

.quote-form .form-section-title { font-size: 1rem; margin: 1.5rem 0 .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); line-height: 1.6; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.quote-form .choice-group { padding: 0; border: 0; margin: 1.25rem 0; min-width: 0; }
.choice-group legend { font-weight: 600; font-size: .9rem; line-height: 1.7; margin-bottom: .7rem; }
.quote-form .choice-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; line-height: 1.5; margin: .5rem 0; min-height: 52px; }
.quote-form .choice-card input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--violet-dark); }
.choice-card:has(input:checked) { background: #f4efff; border-color: var(--violet); }
.choice-card:hover { border-color: var(--violet); }
.optional-label { font-weight: 400; color: var(--muted); }
.release-author { display: block; font-family: "Montserrat", sans-serif; font-size: .75rem; line-height: 1.5; margin-top: .75rem; font-weight: 400; }
.contact-card h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.3; }
.quote-back { display: flex; width: fit-content; margin-bottom: 1.5rem; font-size: .85rem; }
@media (max-width: 480px) { .form-columns { grid-template-columns: 1fr; gap: .25rem; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Public catalog and book details. */
a.release-card{text-decoration:none;color:inherit}
a.release-card:focus-visible{outline:3px solid #784dfe;outline-offset:6px}
.catalog-link{margin-top:32px}
.catalog-page{display:flex;flex-direction:column}
.catalog-page>.section{flex:1}
.book-detail{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:48px;align-items:start;margin-top:36px}
.book-detail h1{overflow-wrap:anywhere}
.book-detail h2{margin-top:32px}
.book-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
@media(max-width:600px){.book-detail{grid-template-columns:1fr;gap:28px}.book-detail>.release-card{width:100%;max-width:260px;margin:auto}}
/* Cinematic book pages */
.book-screen{background:#fff;color:#252238}
.cinema-book{--glow:#6841c7;position:relative;isolation:isolate;overflow:hidden;padding:28px max(6vw,24px) 72px}
.cinema-hue-2{--glow:#b7722c}.cinema-hue-3{--glow:#287752}.cinema-hue-4{--glow:#834fa3}.cinema-hue-5{--glow:#aa5124}.cinema-hue-6{--glow:#285f95}
.cinema-glow{position:absolute;z-index:-1;inset:0 0 auto;height:800px;background:radial-gradient(ellipse at 85% 25%,#784dfe20,transparent 55%),radial-gradient(ellipse at 65% 55%,#f9a71720,transparent 50%);opacity:1;pointer-events:none}
.cinema-back{display:inline-flex;padding:12px 0;color:#655b78;text-decoration:none;font-size:.8rem;gap:12px}
.cinema-back:hover{color:#784dfe}
.cinema-hero{max-width:1400px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:7vw;align-items:center;min-height:620px;padding:38px 0 72px}
.cinema-label{display:flex;align-items:center;gap:12px;font-size:.65rem;letter-spacing:.25em;font-weight:700;color:#6540bb}
.cinema-label>span{color:#784dfe;font-size:2.1rem;font-weight:800;letter-spacing:-.1em}
.cinema-copy h1{font-family:Montserrat,sans-serif;font-size:clamp(2.3rem,4.5vw,4.8rem);line-height:1.02;letter-spacing:-.055em;margin:24px 0 28px;font-weight:700;overflow-wrap:anywhere}
.cinema-meta{display:flex;gap:18px;align-items:center;font-size:.85rem;color:#62596f}
.cinema-published{color:#8a4600;font-weight:700}.cinema-tag{border:1px solid #c9bedc;padding:3px 8px;font-size:.7rem;border-radius:3px}
.cinema-author{font-size:.88rem;color:#62596f;margin:24px 0 12px}.cinema-author strong{color:#30233f;font-weight:500}
.cinema-intro{line-height:1.85;color:#554d60;font-size:.95rem;max-width:570px;overflow-wrap:anywhere}
.cinema-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.cinema-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:49px;padding:12px 25px;border-radius:5px;text-decoration:none;font-weight:700;font-size:.86rem;transition:background .2s}
.cinema-primary{background:#784dfe;color:#fff}.cinema-primary:hover{background:#5f34e0}.cinema-primary span{font-size:1.5rem;line-height:1}
.cinema-secondary{background:#fff3df;color:#793c00;border:1px solid #efca8e}.cinema-secondary:hover{background:#ffe5b8}
.cinema-art{perspective:1100px;display:flex;justify-content:center;padding:20px}
.cinema-cover{color:#fff;position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:2/3;width:min(100%,320px);padding:32px 28px 34px 36px;transform:rotateY(-13deg) rotateZ(4deg);border-radius:0;box-shadow:inset 9px 0 12px #0008,inset 11px 0 1px #ffffff26,18px 26px 65px #49327133;border-right:5px solid #e1d9ce}
.cinema-cover:after{content:'';position:absolute;inset:22% 12% 28%;border:1px solid #ffffff29;border-radius:50%;transform:rotate(-30deg);background:radial-gradient(ellipse,#ffffff16,transparent 68%);pointer-events:none}
.cinema-cover-brand{font-size:.57rem;letter-spacing:.23em;color:#ffffffc4}.cinema-cover-title{position:relative;z-index:1;font-family:'Lexend Exa',sans-serif;font-size:clamp(1.4rem,2.5vw,2.2rem);line-height:1.25;overflow-wrap:anywhere;letter-spacing:-.06em}.cinema-cover-author{font-size:.8rem;color:#eee;overflow-wrap:anywhere}
.cinema-details{max-width:1400px;margin:auto;display:grid;grid-template-columns:1.6fr 1fr;gap:8vw;border-top:1px solid #e9e1f1;padding:38px 0 48px}
.cinema-kicker{color:#6841b0;font-size:.6rem;letter-spacing:.19em;font-weight:700;margin:0 0 16px}.cinema-details h2,.cinema-row-heading h2{font-family:Montserrat,sans-serif;font-size:1.45rem;letter-spacing:-.025em}
.cinema-synopsis{color:#554d60;white-space:pre-wrap;line-height:1.9;font-size:.92rem;overflow-wrap:anywhere}.cinema-details dl{margin:30px 0 0;font-size:.82rem}.cinema-details dl div{display:flex;gap:16px;margin-bottom:16px}.cinema-details dt{color:#655b72;min-width:85px}.cinema-details dd{margin:0;color:#30233f;overflow-wrap:anywhere}
.cinema-related{max-width:1400px;margin:auto}.cinema-row-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 24px}.cinema-row-heading a{font-size:.75rem;color:#6736cd;white-space:nowrap}.cinema-shelf{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.cinema-tile{text-decoration:none;color:#30233f;min-width:0}.cinema-tile .release-card{border:1px solid #e6dcef;border-radius:6px;transition:transform .2s,box-shadow .2s}.cinema-tile:hover .release-card{transform:translateY(-6px);box-shadow:0 12px 28px #49327126}.cinema-tile h3{font-family:Montserrat,sans-serif;font-size:.85rem;margin:14px 0 6px;overflow-wrap:anywhere}.cinema-tile p{font-size:.75rem;color:#655b72;margin:0}
@media(max-width:900px){.book-screen .site-nav{background:#fff}.cinema-hero{gap:30px;min-height:540px}.cinema-cover{padding:24px}.cinema-shelf{grid-template-columns:repeat(5,160px);overflow-x:auto;padding:8px 4px 20px;scroll-snap-type:x proximity}.cinema-tile{scroll-snap-align:start}}
@media(max-width:600px){.cinema-book{padding:16px 22px 44px}.cinema-hero{grid-template-columns:1fr;padding:18px 0 38px;gap:20px}.cinema-art{grid-row:1;padding:12px 0 24px}.cinema-cover{width:190px;padding:24px;transform:rotateY(-10deg) rotateZ(3deg)}.cinema-cover-title{font-size:1.4rem}.cinema-cover-brand{font-size:.45rem}.cinema-copy h1{font-size:2.3rem;margin:18px 0}.cinema-label{font-size:.55rem}.cinema-details{grid-template-columns:1fr;gap:4px;padding:28px 0}.cinema-details dl{margin-top:12px}.cinema-row-heading h2{font-size:1.1rem}.cinema-button{padding:12px 19px}.cinema-shelf{gap:14px}}
@media(prefers-reduced-motion:reduce){.cinema-tile .release-card,.cinema-button{transition:none}}
/* Uploaded artwork keeps the book shape and spine of the mockup. */
.cinema-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;border-radius:inherit;z-index:1}
.cinema-cover:has(.cinema-cover-image):after{inset:0;border:0;border-radius:inherit;transform:none;background:linear-gradient(90deg,#0007,transparent 4%,#ffffff20 5%,transparent 8%);z-index:2}
.release-card:has(.release-cover-image){position:relative;overflow:hidden;padding:0}
.release-cover-image{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .35s ease}
.release-card:hover .release-cover-image,.release-card:focus-visible .release-cover-image{transform:scale(1.08)}
@media(prefers-reduced-motion:reduce){.release-cover-image{transition:none}.release-card:hover .release-cover-image,.release-card:focus-visible .release-cover-image{transform:none}}
/* Hardcover volume: separate front, spine, paper edges and back board. */
.cinema-art{position:relative;perspective:1400px;padding:34px 30px 50px}
.cinema-art:after{content:'';position:absolute;bottom:17px;left:15%;width:76%;height:34px;background:radial-gradient(ellipse,#30203950,transparent 70%);filter:blur(12px);transform:rotate(-7deg);pointer-events:none}
.book-volume{--depth:var(--book-depth,32px);position:relative;width:min(100%,320px);aspect-ratio:2/3;transform-style:preserve-3d;transform:rotateX(7deg) rotateY(-26deg) rotateZ(-3deg);transition:transform .5s ease}
.book-volume .cinema-cover{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;transform:translateZ(calc(var(--depth)/2));border:0;border-radius:0;box-shadow:inset 1px 0 2px #fff5,0 1px 2px #0005;backface-visibility:hidden}
.book-volume .cinema-cover:after,.book-volume .cinema-cover:has(.cinema-cover-image):after{content:'';position:absolute;inset:0;transform:none;border:0;border-radius:inherit;background:linear-gradient(90deg,#0006 0%,#0001 2%,#ffffff30 3%,#0003 4%,transparent 7%,#ffffff0a 70%,#ffffff26 100%);z-index:3;pointer-events:none}
.book-volume .cinema-cover-image{object-fit:fill}
.book-back{position:absolute;inset:0;transform:translateZ(calc(var(--depth)/-2));border-radius:0;box-shadow:12px 20px 32px #30203928}
.book-spine{position:absolute;left:0;top:0;width:var(--depth);height:100%;transform-origin:left;transform:translateZ(calc(var(--depth)/-2)) rotateY(-90deg);box-shadow:inset 6px 0 10px #0006,inset -2px 0 3px #fff3;display:grid;place-items:center}
.book-spine span{writing-mode:vertical-rl;color:#fff9;font-size:10px;letter-spacing:3px}
.book-pages{position:absolute;right:2px;top:5px;bottom:5px;width:max(1px,calc(var(--depth) - 4px));transform-origin:right;transform:translateZ(calc(var(--depth)/2 - 2px)) rotateY(-90deg);background:repeating-linear-gradient(90deg,#e2d9c9 0px,#fcf8ef 1px,#fcf8ef 2px,#d5cbbb 3px);box-shadow:inset 0 0 5px #88785c50;border-radius:0}
.book-pages-top{position:absolute;left:4px;right:3px;top:4px;height:max(1px,calc(var(--depth) - 4px));transform-origin:top;transform:translateZ(calc(var(--depth)/-2 + 2px)) rotateX(90deg);background:repeating-linear-gradient(0deg,#d9d0bf 0px,#fbf7ed 1px,#eee7d9 3px);box-shadow:inset 0 2px 4px #74654935}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.cinema-art:hover .book-volume{transform:rotateX(4deg) rotateY(-18deg) rotateZ(-2deg)}}
@media(max-width:600px){.cinema-art{padding:20px 25px 42px}.book-volume{width:190px;--depth:calc(var(--book-depth,32px) * .59375)}.book-volume .cinema-cover{width:100%;padding:24px}.cinema-art:after{left:23%;width:58%;bottom:12px}}
@media(prefers-reduced-motion:reduce){.book-volume{transition:none}}

/* Keep the binding in the uploaded cover's palette. */
.book-volume.has-binding-color .book-back,
.book-volume.has-binding-color .book-spine {
    background: linear-gradient(100deg, #00000024, #ffffff12 45%, #00000018), var(--binding-color);
}
.book-volume.has-binding-color .book-spine span { color: var(--binding-ink); opacity: .7; }

/* Soft cover lighting and a restrained, whole-book lift. */
.release-grid, .cinema-tile { perspective: 1200px; }
.cinema-shelf { grid-template-columns: repeat(auto-fill, minmax(130px, 160px)); padding: 12px 8px 30px; gap: 24px; }
.cinema-tile .release-card { border-radius: 2px; }
@media (max-width: 900px) {
    .cinema-shelf { grid-template-columns: repeat(5, 130px); gap: 20px; }
}
.release-grid .release-card,
.cinema-tile .release-card {
    transform-origin: 30% 70%;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
    box-shadow: 2px 3px 0 #e4ded4, 4px 5px 0 #c9c1b5, 7px 12px 20px #30203920;
}
.release-grid .release-card::after,
.cinema-tile .release-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0004, transparent 3%, #fff3 4%, #0002 5%, transparent 9%, transparent 85%, #ffffff18);
    pointer-events: none;
}
.release-grid .release-card:hover .release-cover-image,
.release-grid .release-card:focus-visible .release-cover-image,
.cinema-tile .release-card .release-cover-image { transform: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .release-grid .release-card:hover,
    .release-grid .release-card:focus-visible,
    .cinema-tile:hover .release-card,
    .cinema-tile:focus-visible .release-card {
        transform: translateY(-9px) rotateY(-7deg) rotateZ(-1deg);
        box-shadow: 3px 4px 0 #e4ded4, 6px 7px 0 #c9c1b5, 14px 23px 30px #30203930;
    }
    .cinema-art:hover .book-volume { transform: translateY(-6px) rotateX(5deg) rotateY(-14deg) rotateZ(-1deg); }
}
@media (prefers-reduced-motion: no-preference) {
    .cinema-art { animation: book-arrive .85s cubic-bezier(.2,.7,.2,1) both; }
    @keyframes book-arrive {
        from { opacity: 0; translate: 0 24px; }
        to { opacity: 1; translate: 0 0; }
    }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
    .release-grid .release-card:hover,
    .release-grid .release-card:focus-visible,
    .cinema-tile:hover .release-card,
    .cinema-tile:focus-visible .release-card { transform: none; }
}

/* Nosotros */

.about-hero { padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem clamp(1.5rem, 5vw, 3rem); }

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    text-align: left;
}

.about-hero-text h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 1.1rem;
    color: var(--ink);
}

.about-hero-quote {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 1.25rem;
}

.about-hero-text p:not(.about-hero-quote) {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1.75rem;
}

.media-collage {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.media-collage-item {
    position: absolute;
    width: 62%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    box-shadow: 0 24px 45px rgba(10, 10, 10, 0.22);
    transition: transform 0.25s ease;
}

.media-collage-item-1 { left: 0; top: 12%; transform: rotate(-9deg); z-index: 1; }
.media-collage-item-2 { left: 21%; top: 0; transform: rotate(4deg); z-index: 2; }
.media-collage-item-3 { left: 42%; top: 16%; transform: rotate(-3deg); z-index: 3; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .media-collage:hover .media-collage-item-1 { transform: rotate(-13deg) translateY(-6px); }
    .media-collage:hover .media-collage-item-2 { transform: rotate(6deg) translateY(-10px); }
    .media-collage:hover .media-collage-item-3 { transform: rotate(-1deg) translateY(-6px); }
}

.media-collage-empty {
    position: absolute;
    inset: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: radial-gradient(circle at 30% 20%, var(--violet-tint), transparent 60%), var(--pastel-blue);
    border: 1px solid var(--line);
}

.media-collage-empty img { width: 45%; opacity: 0.85; }

.about-cta {
    text-align: center;
    background: linear-gradient(160deg, var(--ink), #241a3d 60%, var(--violet-dark));
    border-radius: 24px;
    margin: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
    padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
}

.about-cta .section-inner { padding: 0; }
.about-cta h2 { color: #fff; }
.about-cta .section-lead { color: rgba(255, 255, 255, 0.75); }
.about-cta .btn-primary { background: #fff; color: var(--ink); }
.about-cta .btn-primary:hover { background: #f0f0f0; }

.whatsapp-float {
    position: fixed;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { background: #128c46; color: #fff; }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* Tienda */

.store-section { background: linear-gradient(160deg, #241a3d, var(--ink) 65%); border-radius: 24px; margin: clamp(2.5rem, 7vw, 4.5rem) 1.5rem; padding: clamp(2.5rem, 6vw, 3.5rem); }

.store-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    text-align: left;
    max-width: 1100px;
}

.store-text .eyebrow { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.store-text h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin: 0 0 0.9rem; }
.store-text p { color: rgba(255, 255, 255, 0.75); line-height: 1.7; margin: 0 0 1.5rem; }
.store-text .btn-primary { background: #fff; color: var(--ink); }
.store-text .btn-primary:hover { background: #f0f0f0; }

.store-visual { width: 100%; min-height: 200px; max-width: 220px; justify-self: center; }
.store-visual .media-collage-item { width: 58%; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35); }

.store-section .media-collage-empty { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 60%), rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.store-section .media-collage-empty img { filter: brightness(0) invert(1); opacity: 0.9; }

@media (max-width: 800px) {
    .store-section { padding: 2rem 1.25rem; }
    .store-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .store-visual { min-height: 150px; max-width: 170px; margin: 0.25rem auto 0; }
    .store-text p { text-align: left; }
}

@media (max-width: 800px) {
    .about-hero { padding: 2rem 1.25rem 1.5rem; }
    .about-hero-grid { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
    .about-hero-grid .media-collage { min-height: 220px; max-width: 260px; margin: 0.25rem auto 0; }
    .about-hero-text p:not(.about-hero-quote) { text-align: left; }
}
