/* =========================================================
   PRIVACY POLICY
   SHAMÁ STUDIO MASSAGGI
========================================================= */


/* =========================================================
   VARIABILI LOCALI
========================================================= */

:root {
    --privacy-green-dark: #354735;
    --privacy-green: #5f745b;
    --privacy-sage: #cbd2c5;
    --privacy-sage-light: #edf1e9;

    --privacy-beige: #f7f3eb;
    --privacy-beige-deep: #eee7dc;
    --privacy-white: #ffffff;

    --privacy-gold: #b99a65;

    --privacy-text: #2f342f;
    --privacy-text-soft: #6d746d;

    --privacy-border: rgba(53, 71, 53, 0.14);

    --privacy-shadow:
        0 24px 60px rgba(53, 71, 53, 0.09);
}


/* =========================================================
   BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--privacy-beige);
    color: var(--privacy-text);
}

.privacy-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.privacy-hero {
    position: relative;
    padding: 145px 0 110px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(203, 210, 197, 0.48),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f8f4ed 0%,
            #eef1ea 100%
        );

    overflow: hidden;
}

.privacy-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -110px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(95, 116, 91, 0.16);
    border-radius: 50%;
}

.privacy-hero::after {
    content: "";
    position: absolute;
    bottom: -210px;
    left: -130px;

    width: 420px;
    height: 420px;

    border-radius: 50%;
    background: rgba(203, 210, 197, 0.18);
}

.privacy-hero .privacy-container {
    position: relative;
    z-index: 1;
}

.privacy-eyebrow {
    display: inline-block;
    margin-bottom: 24px;

    color: var(--privacy-green);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.privacy-hero h1 {
    max-width: 820px;
    margin: 0;

    color: var(--privacy-green-dark);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 500;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.privacy-hero__intro {
    max-width: 680px;
    margin: 32px 0 0;

    color: var(--privacy-text-soft);

    font-size: 1.08rem;
    line-height: 1.8;
}

.privacy-update {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-top: 34px;
    padding: 11px 16px;

    border: 1px solid rgba(95, 116, 91, 0.2);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.56);

    color: var(--privacy-green-dark);

    font-size: 0.82rem;
    font-weight: 600;
}

.privacy-update::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: var(--privacy-gold);
}


/* =========================================================
   SEZIONE CONTENUTO
========================================================= */

.privacy-content {
    padding: 105px 0 130px;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
}


/* =========================================================
   INDICE LATERALE
========================================================= */

.privacy-index {
    position: sticky;
    top: 120px;

    padding: 28px;

    border: 1px solid var(--privacy-border);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.66);

    box-shadow: 0 14px 36px rgba(53, 71, 53, 0.06);
    backdrop-filter: blur(10px);
}

.privacy-index__title {
    display: block;
    margin-bottom: 20px;

    color: var(--privacy-green-dark);

    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
}

.privacy-index nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.privacy-index a {
    position: relative;

    display: block;
    padding: 10px 12px;

    border-radius: 8px;

    color: var(--privacy-text-soft);

    font-size: 0.84rem;
    line-height: 1.45;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.privacy-index a:hover {
    transform: translateX(4px);

    background: var(--privacy-sage-light);
    color: var(--privacy-green-dark);
}


/* =========================================================
   DOCUMENTO
========================================================= */

.privacy-document {
    min-width: 0;
}

.privacy-section {
    position: relative;

    margin-bottom: 34px;
    padding: 46px 50px;

    border: 1px solid var(--privacy-border);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow: var(--privacy-shadow);

    scroll-margin-top: 130px;
    overflow: hidden;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            180deg,
            var(--privacy-green),
            var(--privacy-gold)
        );
}

.privacy-section__number {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--privacy-gold);

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.privacy-section h2 {
    margin: 0 0 24px;

    color: var(--privacy-green-dark);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.privacy-section p {
    margin: 0 0 18px;

    color: var(--privacy-text-soft);

    font-size: 1rem;
    line-height: 1.85;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section strong {
    color: var(--privacy-green-dark);
    font-weight: 700;
}

.privacy-section a {
    color: var(--privacy-green-dark);
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: color 0.2s ease;
}

.privacy-section a:hover {
    color: var(--privacy-gold);
}


/* =========================================================
   LISTE
========================================================= */

.privacy-section ul {
    margin: 24px 0 28px;
    padding: 0;

    list-style: none;
}

.privacy-section li {
    position: relative;

    margin-bottom: 13px;
    padding-left: 27px;

    color: var(--privacy-text-soft);

    font-size: 1rem;
    line-height: 1.7;
}

.privacy-section li:last-child {
    margin-bottom: 0;
}

.privacy-section li::before {
    content: "";

    position: absolute;
    top: 0.7em;
    left: 0;

    width: 8px;
    height: 8px;

    border: 2px solid var(--privacy-gold);
    border-radius: 50%;

    transform: translateY(-50%);
}


/* =========================================================
   BOX TITOLARE
========================================================= */

.privacy-owner {
    margin-top: 26px;
    padding: 28px 30px;

    border: 1px solid rgba(95, 116, 91, 0.18);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(237, 241, 233, 0.95),
            rgba(247, 243, 235, 0.88)
        );
}

.privacy-owner p {
    margin-bottom: 18px;
}

.privacy-owner p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BOX CONTATTI FINALE
========================================================= */

.privacy-contact-card {
    position: relative;

    margin-top: 28px;
    padding: 32px;

    border: 1px solid rgba(185, 154, 101, 0.28);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--privacy-green-dark),
            #455d45
        );

    box-shadow: 0 20px 44px rgba(53, 71, 53, 0.18);
    overflow: hidden;
}

.privacy-contact-card::after {
    content: "";

    position: absolute;
    top: -70px;
    right: -70px;

    width: 170px;
    height: 170px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.privacy-contact-card p,
.privacy-contact-card strong,
.privacy-contact-card a {
    position: relative;
    z-index: 1;

    color: var(--privacy-white);
}

.privacy-contact-card p {
    margin-bottom: 16px;
}

.privacy-contact-card p:last-child {
    margin-bottom: 0;
}

.privacy-contact-card a:hover {
    color: #e4cfaa;
}


/* =========================================================
   STATO FOCUS
========================================================= */

.privacy-index a:focus-visible,
.privacy-section a:focus-visible {
    outline: 3px solid rgba(95, 116, 91, 0.28);
    outline-offset: 4px;
    border-radius: 6px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .privacy-hero {
        padding: 125px 0 90px;
    }

    .privacy-layout {
        grid-template-columns: 235px minmax(0, 1fr);
        gap: 38px;
    }

    .privacy-index {
        padding: 22px;
    }

    .privacy-section {
        padding: 40px 36px;
    }
}


/* =========================================================
   TABLET VERTICALE / MOBILE
========================================================= */

@media (max-width: 820px) {

    .privacy-container {
        width: min(100% - 32px, 720px);
    }

    .privacy-hero {
        padding: 105px 0 75px;
    }

    .privacy-hero h1 {
        font-size: clamp(3.6rem, 15vw, 5.4rem);
    }

    .privacy-hero__intro {
        font-size: 1rem;
    }

    .privacy-content {
        padding: 70px 0 90px;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .privacy-index {
        position: static;

        padding: 24px;

        border-radius: 16px;
    }

    .privacy-index nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 10px;
    }

    .privacy-section {
        margin-bottom: 24px;
        padding: 36px 30px;

        border-radius: 16px;

        scroll-margin-top: 95px;
    }

    .privacy-section h2 {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
    }
}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 560px) {

    .privacy-container {
        width: min(100% - 24px, 520px);
    }

    .privacy-hero {
        padding: 92px 0 65px;
    }

    .privacy-eyebrow {
        margin-bottom: 18px;
        font-size: 0.7rem;
    }

    .privacy-hero h1 {
        font-size: clamp(3.15rem, 17vw, 4.4rem);
    }

    .privacy-hero__intro {
        margin-top: 24px;

        font-size: 0.96rem;
        line-height: 1.7;
    }

    .privacy-update {
        margin-top: 27px;
        padding: 10px 13px;

        font-size: 0.76rem;
    }

    .privacy-content {
        padding: 55px 0 75px;
    }

    .privacy-index {
        padding: 22px 18px;
    }

    .privacy-index nav {
        grid-template-columns: 1fr;
    }

    .privacy-index a {
        padding: 9px 10px;
    }

    .privacy-section {
        padding: 32px 22px 32px 26px;
    }

    .privacy-section::before {
        width: 4px;
    }

    .privacy-section h2 {
        margin-bottom: 20px;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 0.95rem;
    }

    .privacy-section ul {
        margin: 20px 0 24px;
    }

    .privacy-owner,
    .privacy-contact-card {
        padding: 24px 20px;
    }
}


/* =========================================================
   RIDUZIONE ANIMAZIONI
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .privacy-index a {
        transition: none;
    }
}