/* ===== STORE — CINEMA THEME =====
   Loaded after store-index.min.css on store/index.html (body.store-cinema).
   It doesn't change the layout: it dresses the store in the language of
   main.html — film grain, gridded off-white, dark and deep-red acts, cursive
   section labels, thin bronze rules, square edges instead of rounded cards. */

.store-cinema {
    --cine-brown: #987654;
    --cine-brown-soft: rgba(152, 118, 84, 0.22);
    --cine-paper: #f8f5f0;
    --cine-ink: #0f0d0c;
    --cine-red: #4a0e0e;
    background-color: var(--cine-ink);
}

/* Film grain over everything, as on the portfolio */
.store-cinema::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.06;
    background-size: 170px 170px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='170' height='170' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ── Section headers ─────────────────────────────────────────── */
.store-cinema .section-cursive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: -4px;
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: rgba(152, 118, 84, 0.5);
}
.store-cinema .section-cursive::before,
.store-cinema .section-cursive::after {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 1px;
    margin-bottom: 4px;
    background: rgba(152, 118, 84, 0.3);
}
.store-cinema .section-header { margin-bottom: 56px; }
.store-cinema .section-header h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.store-cinema .section-header .subtitle {
    font-size: 0.9rem;
    font-style: italic;
    letter-spacing: 0.12em;
    color: var(--cine-brown);
}

/* ── The paper sections: off-white with the faint grid ───────── */
.store-cinema .about-section,
.store-cinema .value-section,
.store-cinema .services-section,
.store-cinema .process-section,
.store-cinema .faq-section {
    background-color: var(--cine-paper);
    background-image:
        linear-gradient(rgba(152, 118, 84, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(152, 118, 84, 0.028) 1px, transparent 1px);
    background-size: 52px 52px;
}
/* Two paper sections in a row read as one: a hairline keeps them apart */
.store-cinema .value-section,
.store-cinema .process-section { border-top: 1px solid rgba(152, 118, 84, 0.14); }

/* ── Buttons: square, letter-spaced, bronze ──────────────────── */
.store-cinema .btn-primary,
.store-cinema .btn-secondary,
.store-cinema .btn-nav-primary,
.store-cinema .btn-book,
.store-cinema .btn-download,
.store-cinema .btn-modal-download,
.store-cinema .nav-home-btn,
.store-cinema .contact-btn {
    border-radius: 0;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow: none;
}
.store-cinema .btn-primary,
.store-cinema .btn-download,
.store-cinema .btn-modal-download {
    background: var(--cine-brown);
    border: 1px solid var(--cine-brown);
    color: #0a0a0a;
    font-size: 0.78rem;
    padding: 17px 34px;
}
.store-cinema .btn-primary:hover,
.store-cinema .btn-download:hover,
.store-cinema .btn-modal-download:hover {
    background: transparent;
    color: var(--cine-brown);
    transform: none;
    box-shadow: none;
}
.store-cinema .btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    padding: 17px 30px;
}
.store-cinema .btn-secondary:hover {
    border-color: var(--cine-brown);
    color: var(--cine-brown);
    background: transparent;
    transform: none;
}
.store-cinema .btn-nav-primary {
    background: transparent;
    border: 1px solid rgba(152, 118, 84, 0.6);
    color: var(--cine-brown);
    font-size: 0.68rem;
}
.store-cinema .btn-nav-primary:hover { background: var(--cine-brown); color: #0a0a0a; }
.store-cinema .nav-home-btn { font-size: 0.66rem; }

/* ── Hero: the reel behind, darkened ─────────────────────────── */
.store-cinema .hero-section {
    padding: 170px 0 130px;
    background-color: #070606;
    isolation: isolate;
}
.store-cinema .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -3;
    width: auto;
    height: auto;
    transform: none;
    background: url('../img/reel-posterH.webp') center / cover no-repeat;
    opacity: 0.6;
    filter: saturate(0.8);
}
.store-cinema .hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: saturate(0.8);
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .store-cinema .hero-bg-video { display: none; }
}
.store-cinema .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse at 50% 42%, rgba(7, 6, 6, 0.45) 0%, rgba(7, 6, 6, 0.82) 70%),
        linear-gradient(to bottom, rgba(7, 6, 6, 0.6) 0%, rgba(7, 6, 6, 0) 30%, rgba(7, 6, 6, 0.96) 100%);
}
.store-cinema .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 0.7rem;
    letter-spacing: 0.42em;
    color: var(--cine-brown);
}
.store-cinema .hero-badge::before,
.store-cinema .hero-badge::after {
    content: '';
    width: 34px;
    height: 1px;
    background: rgba(152, 118, 84, 0.45);
}
.store-cinema .hero-title {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: 0.01em;
}
.store-cinema .hero-title .highlight { font-style: italic; color: var(--cine-brown); }
.store-cinema .hero-subtitle {
    font-style: italic;
    color: rgba(255, 255, 255, 0.62);
}
.store-cinema .credential-item span {
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Chi sono ─────────────────────────────────────────────────── */
.store-cinema .about-image-container {
    border-radius: 2px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.22);
    transform: rotate(-1.6deg);
    border: 8px solid #fffef9;
}
.store-cinema .about-image-container::before { display: none; }
.store-cinema .about-image { border-radius: 0; }
.store-cinema .about-intro {
    font-style: italic;
    border-left: 1px solid var(--cine-brown);
}
.store-cinema .about-stats {
    background: none;
    border: 0;
    border-top: 1px solid var(--cine-brown-soft);
    border-bottom: 1px solid var(--cine-brown-soft);
    border-radius: 0;
    box-shadow: none;
    padding: 44px 0;
}
.store-cinema .stat-number {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 400;
    color: var(--cine-brown);
}
.store-cinema .stat-label {
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.5);
}

/* ── Il mio approccio ─────────────────────────────────────────── */
.store-cinema .value-card {
    background: rgba(255, 254, 249, 0.7);
    border: 1px solid rgba(152, 118, 84, 0.18);
    border-radius: 2px;
    box-shadow: none;
    transition: border-color 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.store-cinema .value-card:hover {
    border-color: var(--cine-brown);
    transform: translateY(-5px);
    box-shadow: none;
}
.store-cinema .value-icon,
.store-cinema .process-icon {
    background: none;
    border: 1px solid rgba(152, 118, 84, 0.5);
    border-radius: 50%;
    box-shadow: none;
}
.store-cinema .value-icon .svg-icon,
.store-cinema .process-icon .svg-icon { color: var(--cine-brown); fill: var(--cine-brown); }
.store-cinema .process-step:hover .process-icon { background: var(--cine-brown); border-color: var(--cine-brown); }
.store-cinema .process-step:hover .process-icon .svg-icon { color: #0a0a0a; fill: #0a0a0a; }
.store-cinema .value-card h3,
.store-cinema .process-step h3 { font-weight: 400; letter-spacing: 0.04em; }

/* ── Il sistema strategico (dark) ─────────────────────────────── */
.store-cinema .strategy-section { background: var(--cine-ink); }
.store-cinema .strategy-step {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(152, 118, 84, 0.16);
    border-radius: 2px;
    transition: border-color 0.4s ease;
}
.store-cinema .strategy-step:hover { border-color: rgba(152, 118, 84, 0.6); transform: none; }
.store-cinema .step-number {
    font-size: 2.6rem;
    font-weight: 400;
    color: rgba(152, 118, 84, 0.75);
}
.store-cinema .step-content h3 { font-weight: 400; letter-spacing: 0.06em; }

/* ── Servizi ──────────────────────────────────────────────────── */
.store-cinema .service-info h3 { font-weight: 400; letter-spacing: 0.03em; }
.store-cinema .service-includes li { border-bottom-color: rgba(152, 118, 84, 0.16); }
.store-cinema .service-includes .svg-icon { color: var(--cine-brown); fill: var(--cine-brown); }
.store-cinema .contact-btn.whatsapp {
    background: transparent;
    border: 1px solid rgba(152, 118, 84, 0.55);
    color: var(--cine-brown);
    font-size: 0.68rem;
    padding: 13px 22px;
}
.store-cinema .contact-btn.whatsapp:hover { background: var(--cine-brown); color: #0a0a0a; transform: none; }
.store-cinema .booking-card {
    background: var(--cine-ink);
    border: 1px solid rgba(152, 118, 84, 0.4);
    border-radius: 2px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.8);
}
.store-cinema .booking-header { border-bottom-color: rgba(152, 118, 84, 0.22); }
.store-cinema .booking-label { color: var(--cine-brown); letter-spacing: 0.3em; }
.store-cinema .booking-card h4 { color: #fff; font-weight: 400; letter-spacing: 0.04em; }
.store-cinema .booking-details,
.store-cinema .booking-details span { color: rgba(255, 255, 255, 0.6); }
.store-cinema .booking-details .svg-icon { color: var(--cine-brown); fill: var(--cine-brown); }
.store-cinema .booking-price .price {
    font-size: 3.4rem;
    font-weight: 400;
    color: var(--cine-brown);
}
.store-cinema .btn-book {
    background: var(--cine-brown);
    border: 1px solid var(--cine-brown);
    color: #0a0a0a;
    font-size: 0.76rem;
}
.store-cinema .btn-book:hover { background: transparent; color: var(--cine-brown); transform: none; box-shadow: none; }

/* ── Libro gratuito (dark) ────────────────────────────────────── */
.store-cinema .book-section { background: #0b0a09; }
.store-cinema .book-label { letter-spacing: 0.3em; color: var(--cine-brown); }
.store-cinema .book-content h2 { font-weight: 400; letter-spacing: 0.12em; }
.store-cinema .book-badge {
    border-radius: 0;
    background: var(--cine-brown);
    color: #0a0a0a;
    letter-spacing: 0.26em;
    box-shadow: none;
}
.store-cinema .book-cover { border-radius: 2px; }
.store-cinema .book-benefits .svg-icon { color: var(--cine-brown); fill: var(--cine-brown); }

/* ── Testimonianze: dark, like References on the portfolio ────── */
.store-cinema .testimonials-section { background: var(--cine-ink); }
.store-cinema .testimonials-section .section-header h2 { color: #fff; }
.store-cinema .testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    box-shadow: none;
}
.store-cinema .testimonial-card:hover {
    border-color: rgba(152, 118, 84, 0.5);
    transform: none;
    box-shadow: none;
}
.store-cinema .testimonial-card .quote-mark { color: rgba(152, 118, 84, 0.4); }
.store-cinema .testimonial-card .testimonial-text { color: rgba(255, 255, 255, 0.72); font-style: italic; }
.store-cinema .testimonial-card .credit-line { background: var(--cine-brown); }
.store-cinema .testimonial-card .testimonial-credit h4 { color: #fff; font-weight: 400; letter-spacing: 0.04em; }
.store-cinema .testimonial-card .testimonial-credit p {
    color: var(--cine-brown);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.store-cinema .faq-item {
    background: none;
    border: 0;
    border-bottom: 1px solid rgba(152, 118, 84, 0.2);
    border-radius: 0;
    box-shadow: none;
}
.store-cinema .faq-question { font-family: Georgia, 'Times New Roman', serif; }
.store-cinema .faq-icon { color: var(--cine-brown); }

/* ── Final call: the deep red act ─────────────────────────────── */
.store-cinema .cta-section-final {
    background: var(--cine-red);
    padding: 110px 0;
}
.store-cinema .cta-section-final h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 0.08em;
}
.store-cinema .cta-section-final p { font-style: italic; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.1em; }
.store-cinema .cta-section-final .btn-primary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.store-cinema .cta-section-final .btn-primary:hover { background: #fff; color: var(--cine-red); border-color: #fff; }
.store-cinema .cta-section-final .btn-secondary { border-color: transparent; color: rgba(255, 255, 255, 0.55); }
.store-cinema .cta-section-final .btn-secondary:hover { color: #fff; border-color: transparent; }

/* ── Footer ───────────────────────────────────────────────────── */
.store-cinema footer { background: #0b0a09; }
.store-cinema .footer-brand h3 { font-weight: 400; letter-spacing: 0.2em; }
.store-cinema .footer-brand p { color: var(--cine-brown); letter-spacing: 0.14em; }

/* ── Floating controls ────────────────────────────────────────── */
.store-cinema .sticky-whatsapp {
    width: 48px;
    height: 48px;
    background: rgba(15, 13, 12, 0.92);
    border: 1px solid rgba(152, 118, 84, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    animation: none;
}
.store-cinema .sticky-whatsapp .svg-icon { width: 1.25rem; height: 1.25rem; color: var(--cine-brown); fill: var(--cine-brown); }
.store-cinema .sticky-whatsapp:hover { background: var(--cine-brown); transform: none; }
.store-cinema .sticky-whatsapp:hover .svg-icon { color: #0a0a0a; fill: #0a0a0a; }
.store-cinema .back-to-top {
    border-radius: 0;
    background: rgba(15, 13, 12, 0.92);
    border: 1px solid rgba(152, 118, 84, 0.6);
    color: var(--cine-brown);
    box-shadow: none;
}

/* ── Email modal ──────────────────────────────────────────────── */
.store-cinema .modal-content {
    background: var(--cine-ink);
    border: 1px solid rgba(152, 118, 84, 0.4);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.8);
}
.store-cinema .modal-badge {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--cine-brown);
    letter-spacing: 0.34em;
    font-size: 0.68rem;
}
.store-cinema .modal-title { color: #fff; font-weight: 400; letter-spacing: 0.04em; }
.store-cinema .modal-subtitle,
.store-cinema .modal-disclaimer,
.store-cinema .success-text { color: rgba(255, 255, 255, 0.55); }
.store-cinema .success-title { color: #fff; font-weight: 400; }
.store-cinema .form-label { color: rgba(255, 255, 255, 0.6); letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.66rem; }
.store-cinema .form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    color: #fff;
}
.store-cinema .form-input:focus { border-color: var(--cine-brown); box-shadow: none; outline: none; }
.store-cinema .modal-close { color: rgba(255, 255, 255, 0.6); }
.store-cinema .btn-modal-download { width: 100%; }

@media (max-width: 768px) {
    .store-cinema .section-cursive { font-size: 1.9rem; gap: 12px; }
    .store-cinema .section-cursive::before,
    .store-cinema .section-cursive::after { width: 18px; }
    .store-cinema .section-header { margin-bottom: 38px; }
    .store-cinema .hero-section { padding: 130px 0 90px; }
    .store-cinema .hero-badge { font-size: 0.6rem; letter-spacing: 0.3em; gap: 12px; }
    .store-cinema .hero-badge::before,
    .store-cinema .hero-badge::after { width: 18px; }
    .store-cinema .about-image-container { transform: rotate(-1deg); }
    .store-cinema .cta-section-final { padding: 80px 0; }
    .store-cinema .booking-price .price { font-size: 2.8rem; }
}

/* ── Header: the name was a <p> the old stylesheet never dressed ─ */
.store-cinema .logo p {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: #fff;
}
.store-cinema .logo h2 { letter-spacing: 0.14em; font-weight: 400; }

/* ── Book cover: the drawn fallback is for a missing image only.
   The script hid it on the image's "load" event, which never fires when the
   picture is already in cache — and then both showed, one under the other.
   If the image really fails, the script sets display:flex inline and wins. */
.store-cinema .book-fallback { display: none; }

/* The hamburger showed on desktop too, next to the full navigation */
@media (min-width: 1025px) {
    .store-cinema .menu-toggle { display: none; }
}
