/* =========================================================
   MYSTIKARYA
   STYLE.CSS
   ========================================================= */


/* =========================================================
   FONT ORIGINALI
   ========================================================= */

@font-face {
    font-family: 'Engravers Old English';
    src: url('fonts/EngraversOldEnglish.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('fonts/CormorantGaramond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IM Fell English';
    src: url('fonts/IMFellEnglish-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IM Fell English-italic';
    src: url('fonts/IMFellEnglish-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Allrounder Monument';
    src: url('fonts/AllrounderMonument.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   VARIABILI
   ========================================================= */

:root {
    --gold: #e4cd8f;
    --gold-dim: rgba(228, 205, 143, 0.75);
    --text-soft: rgb(255, 255, 255);
    --line: rgba(228, 205, 143, 0.22);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100%;
    background: #000;
    overflow-x: hidden;
    font-family: 'IM Fell English', serif;
}

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


/* =========================================================
   SFONDO FUMO
   ========================================================= */

.smoke-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;

    filter:
        brightness(0.90)
        contrast(1.05)
        saturate(0.7);
}


/* =========================================================
   ATMOSFERA
   ========================================================= */

.smoke-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            rgba(228, 205, 143, 0.045) 0%,
            rgba(0, 0, 0, 0.05) 35%,
            rgba(0, 0, 0, 0.30) 70%,
            rgba(0, 0, 0, 0.58) 100%
        );
}


/* =========================================================
   VIGNETTE
   ========================================================= */

.smoke-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 20%,
            rgba(0, 0, 0, 0.15) 55%,
            rgba(0, 0, 0, 0.78) 100%
        );
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
    position: relative;
    z-index: 5;
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 24px;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-2vh);
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    font-family:
        'Engravers Old English',
        'Cormorant Garamond',
        serif;

    font-size: 40px;
    font-weight: 100;
    color: var(--gold);
    letter-spacing: 0.01em;

    opacity: 0;

    animation:
        brandFadeIn
        1.2s
        ease-out
        forwards;
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.subtitle {
    margin-top: 46px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size:
        clamp(15px, 1.6vw, 20px);

    letter-spacing: 0.34em;
    color: var(--gold-dim);
    line-height: 2.1;
    text-transform: uppercase;

    opacity: 0;

    transform: scale(1.22);

    will-change:
        transform,
        opacity;

    animation:
        subtitleReveal
        3.2s
        cubic-bezier(0.25, 0.1, 0.25, 1)
        forwards;

    animation-delay: 0.2s;
}


/* =========================================================
   WHATSAPP HERO
   Stesso trattamento dell'eyebrow di "Il Mio Metodo":
   piccolo, spaziato, dorato tenue.
   ========================================================= */

.hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 28px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.55);

    opacity: 0;

    animation:
        exploreFadeIn
        1.8s
        ease-out
        forwards;

    animation-delay: 0.5s;

    transition:
        color 0.5s ease;
}

.hero-whatsapp:hover {
    color: var(--gold);
}

.hero-whatsapp-icon {
    width: 13px;
    height: 13px;

    fill: currentColor;
}


/* =========================================================
   HERO ANIMATIONS
   ========================================================= */

@keyframes brandFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes subtitleReveal {

    from {
        opacity: 0;
        transform: scale(1.22);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* =========================================================
   ESPLORA HERO
   ========================================================= */

.explore {
    appearance: none;

    margin-top: 52px;
    padding: 0;

    border: 0;
    background: transparent;

    color: var(--gold-dim);

    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    opacity: 0;

    animation:
        exploreFadeIn
        1.8s
        ease-out
        forwards;

    animation-delay: 0.8s;

    transition:
        color 0.5s ease;
}

.explore-label {
    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 9px;
    font-weight: normal;

    letter-spacing: 0.42em;
    text-transform: uppercase;

    padding-left: 0.42em;

    transition:
        letter-spacing 0.6s ease;
}

.explore-arrow {
    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 22px;
    line-height: 1;

    opacity: 0.7;

    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
}

.explore:hover {
    color: var(--gold);
}

.explore:hover .explore-label {
    letter-spacing: 0.52em;
}

.explore:hover .explore-arrow {
    transform: translateY(5px);
    opacity: 1;
}

@keyframes exploreFadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   CARTOMANZIA
   ========================================================= */

.section-cartomanzia {
    position: relative;
    width: 100%;
    min-height: 100vh;

    overflow: hidden;
    isolation: isolate;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    opacity: 0;

    transition:
        opacity 2.5s ease;
}

.section-cartomanzia.is-visible {
    opacity: 1;
}


/* =========================================================
   BACKGROUND + OVERLAY CARTOMANZIA (pseudo-elemento)
   ========================================================= */

.section-cartomanzia::before {
    content: '';

    position: absolute;
    top: -15%;
    left: 0;

    width: 100%;
    height: 130%;

    z-index: -1;

    pointer-events: none;
    will-change: transform;

    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.80) 45%,
            rgba(0, 0, 0, 0.95) 100%
        ),
        var(--bg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: translate3d(0, var(--parallax-y, 0px), 0);
}


/* =========================================================
   CONTENUTO CARTOMANZIA
   ========================================================= */

.cartomanzia-content {
    position: relative;

    z-index: 2;

    width: min(720px, 88%);

    padding:
        82px
        0
        90px;

    text-align: center;
}


/* =========================================================
   TITOLO CARTOMANZIA
   ========================================================= */

.cartomanzia-title {
    margin: 0;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size:
        clamp(42px, 5vw, 70px);

    font-weight: normal;
    line-height: 1;

    color: var(--gold);

    letter-spacing: 0.01em;

    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 2.2s ease,
        transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-cartomanzia.is-visible
.cartomanzia-title {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PACCHETTI
   ========================================================= */

.cartomanzia-packages {
    width: 100%;
    margin-top: 43px;
}


/* =========================================================
   INTRO PACCHETTI
   ========================================================= */

.packages-intro {
    opacity: 0;

    transform: translateY(12px);

    transition:
        opacity 1.8s ease 0.35s,
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.section-cartomanzia.is-visible
.packages-intro {
    opacity: 1;
    transform: translateY(0);
}

.packages-description {
    margin: 0;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size: 17px;
    line-height: 1.65;

    text-align: center;

    color:
        rgba(228, 205, 143, 0.76);
}

.packages-description span {
    color: var(--gold);
}


/* =========================================================
   LISTA PACCHETTI
   ========================================================= */

.packages-grid {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-top: 34px;
}


/* =========================================================
   CARD
   ========================================================= */

.package-card {
    position: relative;

    width: 100%;

    min-height: 225px;

    padding:
        27px
        30px
        23px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;

    border: none;

    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 1.8s ease,
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   FADE — TUTTE LE CARD INSIEME
   ========================================================= */

.section-cartomanzia.is-visible
.package-card {

    opacity: 1;

    transform: translateY(0);

    transition-delay: 0.7s;
}


/* =========================================================
   STELLE
   ========================================================= */

.package-stars {
    margin-bottom: 8px;

    font-size: 11px;

    line-height: 1;

    opacity: 0.72;

    letter-spacing: 0.08em;
}


/* =========================================================
   NOME PACCHETTO
   ========================================================= */

.package-name {
    margin: 0;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 29px;

    font-weight: normal;

    text-transform: uppercase;

    letter-spacing: 0.13em;

    line-height: 1.15;

    color: var(--gold);
}


/* =========================================================
   DURATA
   ========================================================= */

.package-duration {
    margin:
        5px
        0
        14px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.30em;

    color:
        rgba(228, 205, 143, 0.55);
}


/* =========================================================
   DETTAGLI
   ========================================================= */

.package-details {
    max-width: 450px;

    margin: 0 auto;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size: 16px;

    line-height: 1.55;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.763);
}


/* =========================================================
   PREZZO
   ========================================================= */

.package-price {
    margin-top: auto;

    padding-top: 0px;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 22px;

    line-height: 1;

    color: var(--gold);
}


/* =========================================================
   UNICO PULSANTE FUORI DALLE CARD
   ========================================================= */

.package-button {
    appearance: none;

    margin-top: 12px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--gold-dim);

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 12px;

    font-weight: normal;

    letter-spacing: 0.36em;

    text-transform: uppercase;

    transition:
        color 0.5s ease,
        letter-spacing 0.6s ease;
}

.package-button::after {
    content: '→';

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 18px;

    line-height: 1;

    opacity: 0.7;

    transition:
        transform 0.6s ease,
        opacity 0.6s ease;
}

.package-button:hover {
    color: var(--gold);

    letter-spacing: 0.43em;
}

.package-button:hover::after {
    transform: translateX(5px);

    opacity: 1;
}


/* =========================================================
   IL MIO METODO
   ========================================================= */

.section-metodo {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 110px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(228, 205, 143, 0.045),
            rgba(0, 0, 0, 0.98) 65%
        );

    overflow: hidden;
}


.metodo-content {
    width: min(760px, 92%);

    margin: 0 auto;

    text-align: center;
}


/* =========================================================
   TITOLO
   ========================================================= */

.metodo-heading {
    margin-bottom: 65px;
}


.metodo-eyebrow {
    display: block;

    margin-bottom: 14px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 9px;

    letter-spacing: 0.32em;

    color:
        rgba(228, 205, 143, 0.45);
}


.metodo-title {
    margin: 0;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size:
        clamp(35px, 4vw, 55px);

    line-height: 0.88;

    font-weight: normal;

    color: var(--gold);

    text-shadow:
        0 0 35px
        rgba(228, 205, 143, 0.08);
}


.metodo-title em {
    font-family:
        'IM Fell English-italic',
        serif;

    font-size: 0.82em;

    font-weight: normal;
}


/* =========================================================
   SLIDER
   ========================================================= */

.metodo-slider {
    position: relative;

    width: min(620px, 100%);

    min-height: 145px;

    margin: 0 auto;
}


.metodo-slide {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transform: translateX(35px);

    pointer-events: none;

    transition:
        opacity 0.65s ease,
        transform 0.65s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.metodo-slide.active {
    position: relative;

    opacity: 1;

    transform: translateX(0);

    pointer-events: auto;
}


.metodo-number {
    display: block;

    margin-bottom: 22px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 8px;

    letter-spacing: 0.25em;

    color:
        rgba(228, 205, 143, 0.35);
}


.metodo-slide p {
    width: 100%;

    max-width: 570px;

    margin: 0;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size: 19px;

    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.72);
}


.metodo-slide strong {
    color: var(--gold);

    font-weight: normal;
}


.metodo-final {
    font-family:
        'Cormorant Garamond',
        serif !important;

    font-size: 25px !important;

    line-height: 1.35 !important;

    color: var(--gold) !important;
}


/* =========================================================
   NAVIGAZIONE
   ========================================================= */

.metodo-navigation {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    margin-top: 60px;
}


.metodo-arrow {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 24px;

    color:
        rgba(228, 205, 143, 0.48);

    cursor: pointer;

    transition:
        color 0.4s ease,
        transform 0.4s ease;
}


.metodo-arrow:hover {
    color: var(--gold);
}


.metodo-prev:hover {
    transform: translateX(-4px);
}


.metodo-next:hover {
    transform: translateX(4px);
}


.metodo-progress {
    display: flex;

    align-items: center;

    gap: 12px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 8px;

    letter-spacing: 0.18em;

    color:
        rgba(228, 205, 143, 0.35);
}


.metodo-line {
    width: 65px;
    height: 1px;

    background:
        rgba(228, 205, 143, 0.18);
}


/* =========================================================
   RITUALI
   ========================================================= */

.section-rituali {
    position: relative;

    width: 100%;

    background: #050403;

    overflow: hidden;
}


/* =========================================================
   INTRO
   ========================================================= */

.rituali-intro {
    position: relative;

    z-index: 2;

    min-height: 38vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    gap: 18px;

    padding:
        0px
        0px
        0px;

    text-align: center;
}


.rituali-title {
    margin: 0;

    font-family:
        'Allrounder Monument',
        sans-serif;

    letter-spacing: 0.18em;

    font-size:
        clamp(24px, 6vw, 24px);

    font-weight: normal;

    line-height: 0.9;

    color: var(--gold);

    text-shadow:
        0 0 35px
        rgba(228, 205, 143, 0.12);
}


/* =========================================================
   NOTA SOTTO IL TITOLO
   ========================================================= */

.rituali-note {
    max-width: 480px;
    margin: 0 auto;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 10px;
    line-height: 1.8;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.45);
}


/* =========================================================
   CONTENITORE RITUALI
   ========================================================= */

.rituali-items {
    position: relative;

    z-index: 2;

    width: 100%;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   SINGOLA CARD RITUALE
   ========================================================= */

.rituale-item {
    position: relative;
    width: 100%;
    min-height: 92vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px 20px;
    text-align: center;

    overflow: hidden;
    isolation: isolate;
}

.rituale-item::before {
    content: '';

    position: absolute;
    inset: -8% 0;

    z-index: -1;

    pointer-events: none;
    will-change: transform;

    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.60) 35%,
            rgba(0, 0, 0, 0.70) 70%,
            rgba(0, 0, 0, 0.88) 100%
        ),
        var(--bg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: translate3d(0, var(--parallax-y, 0px), 0);
}


/* =========================================================
   CARD "PERCORSI PERSONALIZZATI"
   ========================================================= */

.rituale-item--sfondo-sito .rituale-item-video {
    position: absolute;
    inset: -8% 0;

    z-index: -2;

    width: 100%;
    height: 116%;

    object-fit: cover;
    object-position: center;

    pointer-events: none;

    filter:
        brightness(0.72)
        contrast(1.05)
        saturate(0.7);
}

.rituale-item.rituale-item--sfondo-sito::before {
    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.70) 0%,
            rgba(0, 0, 0, 0.60) 35%,
            rgba(0, 0, 0, 0.70) 70%,
            rgba(0, 0, 0, 0.88) 100%
        );
}


/* =========================================================
   CONTENUTO
   ========================================================= */

.rituale-content {
    position: relative;
    z-index: 1;

    width: min(680px, 88%);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    opacity: 0;

    transform:
        scale(0.92);

    transition:
        opacity 3.6s
        cubic-bezier(0.22, 1, 0.36, 1),

        transform 4.8s
        cubic-bezier(0.16, 1, 0.3, 1);
}


.rituale-item.is-active .rituale-content {
    opacity: 1;

    transform:
        scale(1);
}


/* =========================================================
   TITOLO RITUALE
   ========================================================= */

.rituale-name {
    margin: 0 0 38px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size:
        clamp(28px, 4vw, 48px);

    font-weight: normal;

    line-height: 1;

    letter-spacing:
        0.16em;

    color: var(--gold);

    text-shadow:
        0 0 30px
        rgba(228, 205, 143, 0.12);
}


/* =========================================================
   DESCRIZIONE
   ========================================================= */

.rituale-description {
    width: 100%;

    max-width: 570px;

    margin: 0 auto;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size:
        clamp(16px, 1.5vw, 19px);

    font-style: italic;

    line-height: 1.75;

    color:
        rgba(228, 205, 143, 0.82);

    text-shadow:
        0 2px 15px
        rgba(0, 0, 0, 0.8);
}


/* =========================================================
   PREZZO
   ========================================================= */

.rituale-price {
    margin-top: 30px;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 18px;

    font-weight: normal;

    letter-spacing:
        0.08em;

    color: var(--gold);

    text-shadow:
        0 0 20px
        rgba(228, 205, 143, 0.12);
}


/* =========================================================
   BOTTONE
   ========================================================= */

.rituale-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-top: 40px;

    min-width: 175px;

    padding:
        12px
        21px;

    border:
        1px solid
        rgba(228, 205, 143, 0.22);

    border-radius: 40px;

    background:
        rgba(0, 0, 0, 0.22);

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 11px;

    letter-spacing:
        0.24em;

    color:
        rgba(228, 205, 143, 0.62);

    transition:
        border-color 0.7s ease,
        background 0.7s ease,
        color 0.7s ease;
}


.rituale-button:hover {
    border-color:
        rgba(228, 205, 143, 0.58);

    background:
        rgba(0, 0, 0, 0.42);

    color: var(--gold);
}


/* =========================================================
   FRECCIA
   ========================================================= */

.rituale-arrow {
    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 19px;

    line-height: 0;

    transition:
        transform 0.7s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.rituale-button:hover .rituale-arrow {
    transform:
        translateX(5px);
}


/* =========================================================
   DISCLAIMER RITUALI
   ========================================================= */

.rituali-disclaimer {
    max-width: 650px;

    margin:
        28px
        auto
        0;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size: 12px;

    line-height: 1.55;

    text-align: center;

    color:
        rgba(228, 205, 143, 0.42);

    letter-spacing: 0.01em;

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity 2s ease 0.55s,
        transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
}

.section-rituali.is-visible
.rituali-disclaimer {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CORSO DI STREGONERIA
   ========================================================= */

.section-corso {
    position: relative;
    width: 100%;
    min-height: 100vh;

    overflow: hidden;
    isolation: isolate;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 90px 24px;
}

.section-corso::before {
    content: '';

    position: absolute;
    top: -15%;
    left: 0;

    width: 100%;
    height: 130%;

    z-index: -1;

    pointer-events: none;
    will-change: transform;

    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.70) 40%,
            rgba(0, 0, 0, 0.82) 75%,
            rgba(0, 0, 0, 0.94) 100%
        ),
        var(--bg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: translate3d(0, var(--parallax-y, 0px), 0);
}


/* =========================================================
   CONTENUTO
   ========================================================= */

.corso-content {
    position: relative;
    z-index: 1;

    width: min(640px, 90%);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}


/* =========================================================
   REVEAL LEGATO ALLO SCROLL
   ========================================================= */

.corso-fade {
    opacity: 0;
    transform: scale(0.85);

    transition:
        opacity 0.35s ease-out,
        transform 0.35s ease-out;

    will-change: opacity, transform;
}


/* =========================================================
   TITOLO
   ========================================================= */

.corso-title {
    margin: 0;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size:
        clamp(34px, 4.5vw, 56px);

    font-weight: normal;
    line-height: 1.05;

    color: var(--gold);

    letter-spacing: 0.03em;
    text-transform: uppercase;

    text-shadow:
        0 0 35px
        rgba(228, 205, 143, 0.18);
}


/* =========================================================
   SOTTOTITOLO
   ========================================================= */

.corso-subtitle {
    margin: 14px 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: normal;

    letter-spacing: 0.32em;
    text-transform: uppercase;

    color: var(--gold-dim);
}

.corso-ornament {
    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 12px;

    color:
        rgba(228, 205, 143, 0.45);
}


/* =========================================================
   ELENCO
   ========================================================= */

.corso-list {
    list-style: none;

    display: flex;
    flex-direction: column;
    gap: 26px;

    margin: 0 0 48px;
    padding: 0;
}

.corso-item {
    position: relative;

    padding-left: 26px;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size: 19px;
    font-style: italic;
    line-height: 1.6;

    color:
        rgba(228, 205, 143, 0.82);

    text-shadow:
        0 2px 15px
        rgba(0, 0, 0, 0.8);
}

.corso-item::before {
    content: '✦';

    position: absolute;
    left: 0;
    top: 0.1em;

    font-size: 12px;

    color:
        rgba(228, 205, 143, 0.55);
}

.corso-item strong {
    font-family:
        'Cormorant Garamond',
        serif;

    font-style: normal;
    font-weight: normal;

    color: var(--gold);
}

.corso-item--emphasis {
    font-size: 21px;
}

.corso-item-sub {
    display: block;

    margin-top: 6px;

    font-size: 16px;

    color:
        rgba(228, 205, 143, 0.55);
}


/* =========================================================
   BOTTONE CORSO
   ========================================================= */

.corso-button {
    opacity: 0;
    transform: scale(0.85);

    transition:
        opacity 0.35s ease-out,
        transform 0.35s ease-out,
        border-color 0.7s ease,
        background 0.7s ease,
        color 0.7s ease;

    will-change: opacity, transform;
}


/* =========================================================
   PAGINE DI DETTAGLIO RITUALE
   ========================================================= */

.articolo-page {
    position: relative;
    z-index: 5;

    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;

    padding: 130px 24px 110px;
}

.articolo-back {
    position: fixed;
    top: 28px;
    left: 28px;
    z-index: 10;
}

.articolo-content {
    width: min(700px, 100%);

    display: flex;
    flex-direction: column;

    text-align: left;

    opacity: 0;

    animation:
        articoloReveal
        1.4s
        ease-out
        forwards;

    animation-delay: 0.2s;
}

@keyframes articoloReveal {

    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.articolo-title {
    align-self: center;

    margin: 0 0 40px;

    font-family:
        'IM Fell English-italic',
        serif;

    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: normal;

    color: var(--gold);
    text-align: center;

    text-shadow:
        0 0 35px
        rgba(228, 205, 143, 0.18);
}

.articolo-intro {
    margin: 0 0 40px;

    font-family:
        'IM Fell English-Italic',
        serif;

    font-size: 18px;
    font-style: italic;
    line-height: 1.75;

    color:
        rgba(255, 255, 255, 0.85);
}

.articolo-intro strong {
    font-family:
        'Cormorant Garamond',
        serif;

    font-style: normal;

    color: var(--gold);
}

.articolo-subtitle {
    margin: 0 0 22px;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: clamp(22px, 2.8vw, 28px);
    font-weight: normal;

    color: var(--gold);
}

.articolo-subtitle:not(:first-child) {
    margin-top: 12px;
}

.articolo-text {
    margin: 0 0 24px;

    font-family:
        'IM Fell English',
        serif;

    font-size: 16px;
    line-height: 1.8;

    color:
        rgba(255, 255, 255, 0.78);
}

.articolo-meta {
    align-self: center;

    margin: -18px 0 40px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.4);
}

.articolo-callout {
    display: block;
    margin: 4px 0 36px;

    padding: 16px 20px;

    border:
        1px solid
        rgba(228, 205, 143, 0.22);

    border-radius: 10px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;

    color: var(--gold-dim);

    transition:
        border-color 0.5s ease,
        color 0.5s ease;
}

.articolo-callout:hover {
    border-color:
        rgba(228, 205, 143, 0.55);

    color: var(--gold);
}

.articolo-callout-button {
    align-self: center;
    margin: 4px 0 36px;
}

.articolo-contact {
    align-self: center;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 22px;

    margin: 16px 0 6px;
}

.articolo-list {
    margin-bottom: 44px;
}

.articolo-disclaimer {
    margin: 0 0 20px;

    font-family:
        'IM Fell English',
        serif;

    font-size: 13px;
    line-height: 1.65;

    color:
        rgba(228, 205, 143, 0.5);
}

.articolo-price {
    align-self: center;
}

.articolo-button {
    align-self: center;
    margin-top: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    z-index: 5;

    padding:
        55px
        20px
        30px;

    background: rgba(0, 0, 0, 0.92);

    text-align: center;
}

.footer-content {
    width: min(650px, 92%);
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 18px;

    font-family:
        'Engravers Old English',
        'Cormorant Garamond',
        serif;

    font-size: 22px;

    color: var(--gold);
}

.footer-disclaimer {
    max-width: 580px;

    margin: 0 auto;

    font-family:
        'IM Fell English',
        serif;

    font-size: 12px;

    line-height: 1.55;

    color:
        rgba(228, 205, 143, 0.42);
}

.footer-links {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 9px;

    margin-top: 22px;
}

.footer-link {
    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 9px;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.50);

    transition:
        color 0.4s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-separator {
    color:
        rgba(228, 205, 143, 0.25);
}

.footer-copy {
    margin-top: 18px;

    font-family:
        'Allrounder Monument',
        sans-serif;

    font-size: 8px;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color:
        rgba(228, 205, 143, 0.25);
}


/* =========================================================
   RESPONSIVE / MEDIA QUERIES
   ========================================================= */

@media (max-width: 600px) {

    /* PAGINE DI DETTAGLIO RITUALE */
    .articolo-page {
        padding: 100px 20px 80px;
    }

    .articolo-back {
        top: 18px;
        left: 18px;
    }

    .articolo-title {
        margin-bottom: 30px;
    }

    .articolo-intro {
        margin-bottom: 32px;
        font-size: 16px;
        line-height: 1.7;
    }

    .articolo-subtitle {
        margin-bottom: 18px;
    }

    .articolo-list {
        margin-bottom: 34px;
    }

    .articolo-disclaimer {
        font-size: 12px;
    }

    .articolo-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .articolo-meta {
        margin-top: -10px;
        margin-bottom: 30px;
    }

    .articolo-callout {
        font-size: 10px;
        padding: 14px 16px;
    }

    .articolo-contact {
        flex-direction: column;
        gap: 14px;
    }


    .metodo-slide {
        position: absolute;
        inset: 0;

        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        text-align: center;
    }

    .metodo-slide.active {
        position: absolute;
        inset: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        transform: translateX(0);
    }


    /* CARTOMANZIA */
    .section-cartomanzia {
        min-height: auto;
    }


    /* CORSO DI STREGONERIA */
    .section-corso {
        min-height: auto;
        padding: 70px 20px;
    }

    .corso-title {
        font-size: 32px;
    }

    .corso-subtitle {
        margin: 12px 0 34px;
        gap: 10px;
    }

    .corso-list {
        gap: 22px;
        margin-bottom: 38px;
    }

    .corso-item {
        font-size: 17px;
    }

    .corso-item--emphasis {
        font-size: 19px;
    }

    .corso-item-sub {
        font-size: 15px;
    }

    .cartomanzia-content {
        width: 94%;
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .cartomanzia-title {
        font-size: 40px;
    }

    .cartomanzia-packages {
        margin-top: 32px;
    }

    .packages-description {
        font-size: 15px;
        line-height: 1.6;
    }

    .packages-grid {
        margin-top: 28px;
        gap: 10px;
    }

    .package-card {
        min-height: 225px;
        padding: 22px 18px 20px;
    }

    .package-stars {
        font-size: 10px;
    }

    .package-name {
        font-size: 22px;
        line-height: 1.15;
    }

    .package-duration {
        font-size: 9px;
    }

    .package-details {
        max-width: 300px;
        font-size: 15px;
        line-height: 1.55;
    }

    .package-price {
        font-size: 21px;
    }

    .package-button {
        font-size: 10px;
    }


    /* RITUALI: overlay scuro sullo pseudo-elemento */
    .rituale-item::before {
        background-image:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.72) 0%,
                rgba(0, 0, 0, 0.62) 45%,
                rgba(0, 0, 0, 0.85) 100%
            ),
            var(--bg);
    }

    /* INTRO */

    .rituali-intro {
        min-height: 20svh;

        padding:
            0px
            0px
            0px;
    }


    .rituali-title {
        font-size:
            clamp(20px, 8vw, 20px);
    }

    .rituali-note {
        max-width: 300px;
        font-size: 9px;
        line-height: 1.7;
    }


    /* RITUALI */

    .rituale-item {
        min-height: 80svh;
        padding: 45px 15px;
    }


    /* CONTENUTO */

    .rituale-content {
        width: 88%;

        transform:
            scale(0.88);
    }


    .rituale-item.is-active .rituale-content {
        transform:
            scale(1);
    }


    /* TITOLO */

    .rituale-name {
        margin-bottom: 27px;

        font-size:
            clamp(25px, 8vw, 36px);

        letter-spacing:
            0.13em;
    }


    /* TESTO */

    .rituale-description {
        max-width: 320px;

        font-size: 15px;

        line-height: 1.75;
    }


    /* PREZZO */

    .rituale-price {
        margin-top: 25px;

        font-size: 21px;
    }


    /* BOTTONE */

    .rituale-button {
        margin-top: 32px;

        min-width: 165px;

        padding:
            11px
            18px;

        font-size: 10px;
    }


    .rituale-arrow {
        font-size: 17px;
    }


    .rituali-disclaimer {
        max-width: 92%;

        margin-top: 22px;

        font-size: 11px;

        line-height: 1.5;
    }


    .site-footer {
        padding:
            45px
            15px
            25px;
    }

    .footer-content {
        width: 94%;
    }

    .footer-brand {
        font-size: 19px;
        margin-bottom: 16px;
    }

    .footer-disclaimer {
        font-size: 11px;
        line-height: 1.5;
    }

    .footer-links {
        margin-top: 19px;
        gap: 7px;
    }

    .footer-link {
        font-size: 8px;
        letter-spacing: 0.13em;
    }

    .footer-copy {
        margin-top: 15px;
        font-size: 7px;
    }
}


@media (max-width: 380px) {

    .section-metodo {
        padding-top: 65px;
    }

    .metodo-heading {
        margin-bottom: 32px;
    }

    .metodo-title {
        font-size: 39px;
    }

    .metodo-slider {
        min-height: 270px;
    }

    .metodo-slide {
        padding:
            0
            5px;
    }

    .metodo-slide p {
        max-width: 300px;

        font-size: 15px;

        line-height: 1.7;
    }

    .metodo-final {
        font-size: 21px !important;
    }

    .metodo-navigation {
        margin-top: 25px;
    }

    .rituale-item {
        min-height: 84svh;
        padding: 40px 15px;
    }

    .rituale-content {
        width: 92%;
    }

    .rituale-description {
        max-width: 295px;

        font-size: 14.5px;
    }

    .rituale-name {
        font-size: 25px;
    }

    .cartomanzia-content {
        width: 94%;

        padding-top: 48px;

        padding-bottom: 55px;
    }

    .cartomanzia-title {
        font-size: 28px;
    }

    .packages-description {
        font-size: 14px;
    }

    .package-card {
        min-height: 165px;

        padding:
            17px
            13px
            14px;
    }

    .package-stars {
        font-size: 9px;
    }

    .package-name {
        font-size: 20px;
    }

    .package-duration {
        font-size: 8px;
    }

    .package-details {
        font-size: 14px;

        max-width: 260px;
    }

    .package-price {
        font-size: 21px;
    }

    .package-button {
        font-size: 9px;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .rituale-content {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .rituale-item::before,
    .section-cartomanzia::before,
    .section-corso::before {
        transform: none !important;
    }

    .rituale-button,
    .rituale-arrow {
        transition: none;
    }

    .rituali-disclaimer {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-whatsapp {
        animation: none;
        opacity: 1;
    }

    .brand,
    .subtitle,
    .explore,
    .section-cartomanzia,
    .cartomanzia-title,
    .packages-intro,
    .package-card,
    .section-rituali,
    .rituali-title,
    .articolo-content {

        animation: none;

        opacity: 1;

        transform: none;

        transition: none;
    }
}