:root {
    --primary: #b47d69; /* Tortora Luxury */
    --accent: #1e1d1d;  /* Oro Muted */
    --bg: #FCF9F7;      /* Crema Chiarissimo */
    --text: #332C2B;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px); /* Effetto vetro sfocato */
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    border-bottom: 1px solid rgba(142, 124, 119, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-list {
    display: flex;
    gap: 35px;
    list-style: none;
}

.navbar-list a {
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navbar-list a:hover {
    color: var(--accent);
}


.navbar-contact {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;

    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid rgba(142, 124, 119, 0.2);
    background: rgba(255, 255, 255, 0.5);

    transition: var(--transition);
}

.contact-icon {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(142, 124, 119, 0.2);
}

.contact-item:hover .contact-icon {
    fill: var(--white);
    transform: rotate(15deg) scale(1.1);
}

@media (max-width: 1100px) {
    .contact-item {
        padding: 10px;
        font-size: 0;
    }
    .contact-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .navbar-contact {
        margin-left: auto;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px;
    align-items: center;
}

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin: 20px 0;
    color: var(--primary);
}

.hero-content h1 span { font-style: italic; font-weight: 400; }

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons { display: flex; gap: 20px; align-items: center; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-secondary {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
}

.image-wrapper { position: relative; }
.hero-img-main {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 300px 300px 30px 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.trattamenti { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }

.section-intro { text-align: center; margin-bottom: 60px; }
.subtitle { color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; }

.trattamenti-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.trattamenti-nav a {
    padding: 10px 25px; border-radius: 50px; border: 1px solid #ddd;
    text-decoration: none; color: #666; font-size: 0.8rem; transition: var(--transition);
}
.trattamenti-nav a:hover { background: var(--primary); color: white; border-color: var(--primary); }

.trattamento-card-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 40px;
}

.t-image img { width: 100%; height: 100%; object-fit: cover; }
.t-info { padding: 60px; }
.btn-text { color: var(--accent); text-decoration: none; font-weight: 600; margin-top: 20px; display: inline-block; }


.promo {
    padding: 100px 5%;
    background-color: var(--white); /* Contrasto con lo sfondo crema del resto del sito */
}

.promo-description {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.promo-card {
    background: var(--bg);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(142, 124, 119, 0.15);
}

.promo-img {
    position: relative;
    height: 240px;
}

.promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.promo-content {
    padding: 35px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.promo-content p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-bottom: 25px;
}

.price-box {
    margin-bottom: 25px;
}

.old {
    text-decoration: line-through;
    color: #A09592;
    font-size: 1.1rem;
    margin-right: 10px;
}

.new {
    font-size: 2.2rem;
    color: var(--text);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.btn-primary-small {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-small:hover {
    background: var(--text);
    transform: scale(1.05);
}

.contact-section {
    padding: 100px 5%;
    background-color: var(--primary);
    color: var(--white);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
}

.info-details {
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent); /* Oro */
    font-size: 1.2rem;
}

.info-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--accent);
}

.info-text p, .info-text a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--accent);
}

.social-wrapper h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-pill {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.social-pill:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-map {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1); /* Leggero tocco artistico alla mappa */
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .hero-container, .trattamento-card-modern, .contact-container { grid-template-columns: 1fr; text-align: center; }
    .navbar-list { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
}

.main-footer {
    background-color: var(--white);
    padding: 100px 0% 0;
    border-top: 1px solid rgba(142, 124, 119, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    padding: 0 5% 80px; align-items: start;
}

.footer-logo {
    height: 80px;
    margin-bottom: 25px;
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.footer-address {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.footer-hours h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

.footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(142, 124, 119, 0.1);
    font-size: 0.9rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--text);
}

.time {
    color: var(--light-text);
}

.footer-bottom {
    background-color: var(--bg);
    padding: 40px 5%;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 850px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .footer-hours h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .hours-list li {
        justify-content: center;
        gap: 20px;
    }
}
.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: grid;
}

.tab-link.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-container {
    perspective: 1000px;
}
.trattamenti-modern {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.trattamenti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.t-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.t-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(180, 125, 105, 0.2); /* Usa il tuo primary color in rgba */
}

.t-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s ease;
}

.t-card:hover .t-video {
    transform: scale(1.08);
}

.t-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(51, 44, 43, 0.9) 0%, rgba(51, 44, 43, 0) 100%);
    z-index: 2;
}

.t-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    color: var(--white);
    width: 100%;
}

.t-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.t-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 300;
}

.t-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    transition: var(--transition);
}

.t-card:hover .t-btn {
    color: var(--white);
    gap: 12px;
}

.t-video, .t-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita che l'immagine si deformi */
    z-index: 1;
    transition: transform 0.8s ease;
}

.t-card:hover .t-video,
.t-card:hover .t-img-bg {
    transform: scale(1.08);
}
.img-focus-top {
    object-position: top;
}

.img-focus-bottom {
    object-position: bottom;
}

.img-focus-custom {
    object-position: 50% 20%;
}
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center; /* Centra il contenuto */
    padding: 120px 5% 60px;

    /* Regole per l'immagine di sfondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Rimuovi la riga sotto se non vuoi l'effetto parallasse allo scroll */
    background-attachment: fixed;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Centriamo il testo */
    max-width: 900px; /* Più stretto per non far andare il testo troppo in lungo */
    margin: 0 auto;
}

.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--accent); /* Il tuo colore Oro */
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Ombra per leggibilità */
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin: 20px 0;
    color: var(--white); /* Testo bianco */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.hero-content h1 span {
    font-style: italic;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--white); /* Testo bianco */
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center; /* Centra i bottoni */
}

/* Modifiche ai bottoni per il fondo scuro */
.hero .btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.hero .btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.hero .btn-secondary {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--white);
    padding-bottom: 5px;
    transition: var(--transition);
}

.hero .btn-secondary:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Responsive per la nuova Hero */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-buttons { flex-direction: column; gap: 20px; width: 100%; }
    .hero .btn-primary, .hero .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
}
/* --- Tagline con linee decorative di classe --- */
.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--accent); /* Il tuo Oro Muted */
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Ombra più leggera */
}

/* Lineette laterali per la tagline */
.hero-tagline::before,
.hero-tagline::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--accent);
    opacity: 0.6;
}

/* --- Titolo Principale --- */
.hero-content h1 {
    font-size: 5.5rem; /* Leggermente più grande per impatto */
    line-height: 1.05;
    margin: 10px 0 30px;
    color: var(--white);
    /* Ombra diffusa ed elegante, non netta */
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    letter-spacing: -1px; /* Stringere leggermente i font Serif li rende più "premium" */
}

/* Il nome in corsivo */
.hero-content h1 span {
    font-style: italic;
    font-weight: 400;
    font-size: 6.5rem; /* Facciamo spiccare il nome */
    color: var(--white); /* Oppure usa var(--primary) se vuoi un tocco di colore */
}

/* --- Sottotitolo --- */
.hero-content p {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.hero-logo-inline {
    height: 80px; /* Modifica questo valore per fare il logo più grande o più piccolo */
    width: auto;
    margin-top: 15px;
    vertical-align: middle;
    /* Aggiungiamo un'ombra anche all'immagine per staccarla dallo sfondo */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Modifica per smartphone: rimpiccioliamo un po' il logo sui piccoli schermi */
@media (max-width: 768px) {
    .hero-logo-inline {
        height: 70px;
    }
}
/* --- Titolo Principale ("Studio Estetico") --- */
.hero-content h1 {
    font-size: 3rem; /* Ridotto per dare importanza al logo */
    line-height: 1.2;
    margin: 10px 0 30px;
    color: var(--white);
    font-weight: 600; /* Font più leggero e delicato */
    letter-spacing: 1.5px; /* Più spazio tra le lettere per massima eleganza */
    text-shadow: 0 5px 15px rgba(0,0,0,0.4); /* Ombra ammorbidita */
}

/* Modifiche per gli schermi dei telefoni */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem; /* Ancora più proporzionato su mobile */
        letter-spacing: 2px;
    }
}
/* --- SEZIONE CHI SIAMO (ERMINIA) --- */
.about-section {
    padding: 120px 5%;
    background-color: var(--bg); /* Mantiene lo sfondo crema elegante del sito */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide a metà lo spazio */
    gap: 80px;
    align-items: center;
}

/* Stile della foto */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    /* Angolo in alto a destra molto arrotondato per un effetto morbido e moderno */
    box-shadow: 0 20px 40px rgba(142, 124, 119, 0.15); /* Ombra color tortora chiaro */
}

/* Targhetta sovrapposta alla foto */
.about-badge {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid rgba(142, 124, 119, 0.1);
}

.about-badge span {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    display: block;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

/* Stile del testo */
.about-text .subtitle {
    display: block;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
}

/* Frase ad effetto */
.about-text .lead-text {
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Firma in basso */
.about-text .signature {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary);
    margin-top: 40px;
    opacity: 0.8;
}

/* --- Adattamento per Cellulari e Tablet --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; /* Incolonna gli elementi */
        text-align: center; /* Centra il testo su mobile */
        gap: 50px;
    }

    .about-image img {
        height: 450px;
    }

    .about-badge {
        right: 20px; /* Rientra la targhetta per non uscire dallo schermo */
        bottom: -20px;
    }

    .about-text h2 {
        font-size: 2.8rem;
    }

    .about-text .subtitle {
        margin-top: 20px;
    }
}
/* --- NUOVA SEZIONE TRATTAMENTI A GRIGLIA --- */
.trattamenti-grid {
    display: grid;
    /* Forza esattamente 4 colonne su desktop */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Responsive per Tablet / Schermi medi (fino a 1100px) -> 2 per riga */
@media (max-width: 1100px) {
    .trattamenti-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive per Smartphone (fino a 768px) -> 1 per riga */
@media (max-width: 768px) {
    .trattamenti-grid {
        grid-template-columns: 1fr;
    }
}

/* --- CARD TRATTAMENTI PREMIUM LUXURY --- */
.t-card {
    position: relative;
    border-radius: 20px; /* Angoli leggermente più netti per un look sofisticato */
    overflow: hidden;
    height: 450px; /* Più slanciate in verticale */
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(180, 125, 105, 0.1); /* Bordino delicato */
}

/* Effetto Sollevamento Card */
.t-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(180, 125, 105, 0.25);
}

/* Immagini/Video di Sfondo */
.t-video, .t-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1.2s ease; /* Zoom molto lento e lussuoso */
}

.t-card:hover .t-video,
.t-card:hover .t-img-bg {
    transform: scale(1.12); /* Leggero zoom in */
}

/* Overlay Sfumato - Più caldo ed elegante */
.t-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    /* Sfuma dal nero al tuo colore primary, fino al trasparente */
    background: linear-gradient(to top, rgba(51, 44, 43, 0.95) 0%, rgba(180, 125, 105, 0.4) 50%, rgba(51, 44, 43, 0) 100%);
    z-index: 2;
    transition: background 0.6s ease, height 0.6s ease;
}

.t-card:hover .t-overlay {
    height: 85%; /* L'ombra sale leggermente per far leggere meglio il testo in hover */
    background: linear-gradient(to top, rgba(51, 44, 43, 0.95) 0%, rgba(180, 125, 105, 0.65) 60%, rgba(51, 44, 43, 0) 100%);
}

/* Contenuto Testuale */
.t-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px 30px;
    color: var(--white);
    width: 100%;
    text-align: center; /* Testo centrato per un look da boutique */
    transform: translateY(30px); /* Parte spostato in basso */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.t-card:hover .t-content {
    transform: translateY(0); /* Sale dolcemente nella posizione finale */
}

.t-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

/* Linea oro decorativa sotto il titolo */
.t-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--accent); /* Il tuo colore Oro */
    transition: width 0.6s ease;
}

.t-card:hover .t-content h3::after {
    width: 80px; /* La linea si allunga elegantemente */
}

/* Descrizione nascosta di default per pulizia visiva */
.t-content p {
    font-size: 0.9rem;
    opacity: 0;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}

.t-card:hover .t-content p {
    opacity: 0.9;
    transform: translateY(0);
    transition-delay: 0.1s; /* Leggero ritardo per creare un effetto "a cascata" */
}

/* Nuovo Bottone stile "Glass" */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(4px); /* Effetto vetro sfocato */
    transition: all 0.4s ease;
}

.t-card:hover .t-btn {
    background-color: var(--primary); /* Si riempie col colore tortora */
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.t-btn i {
    transition: transform 0.4s ease;
}

.t-card:hover .t-btn i {
    transform: translateX(5px); /* La freccina fa uno scatto in avanti */
}
/* Contenuto Testuale */
.t-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px 40px; /* Aumentato il padding in basso a 40px per alzare il bottone */
    color: var(--white);
    width: 100%;
    text-align: center;
    transform: translateY(0); /* Rimosso lo spostamento, ora il bottone è stabile */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.t-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0; /* Modificato per la nuova animazione */
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

/* Linea oro decorativa sotto il titolo */
.t-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--accent); /* Il tuo colore Oro */
    transition: width 0.6s ease;
}

.t-card:hover .t-content h3::after {
    width: 80px; /* La linea si allunga elegantemente */
}

/* Descrizione nascosta: ora ha altezza 0 e non spinge il bottone in basso */
.t-content p {
    font-size: 0.9rem;
    opacity: 0;
    max-height: 0; /* Nasconde l'ingombro del testo */
    margin: 0; /* Rimuove i margini */
    overflow: hidden; /* Taglia fuori il testo finché non si apre */
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
}

/* Al passaggio del mouse, il testo "si apre" spingendo il titolo in alto */
.t-card:hover .t-content p {
    opacity: 0.9;
    max-height: 60px; /* Si espande dolcemente */
    margin-top: 15px; /* Crea spazio dal titolo */
    margin-bottom: 25px; /* Crea spazio dal bottone */
}
/* Contenuto Testuale - Spostamento dimezzato e più delicato */
.t-content {
    position: relative;
    z-index: 3;
    padding: 30px 20px 30px; /* Padding inferiore bilanciato per distanziare il bottone dal bordo */
    color: var(--white);
    width: 100%;
    text-align: center;
    transform: translateY(15px); /* Uno spostamento molto più leggero (prima era 30px) */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.t-card:hover .t-content {
    transform: translateY(0); /* Ritorna in posizione in modo fluido */
}

.t-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

/* Linea oro decorativa sotto il titolo */
.t-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.5s ease;
}

.t-card:hover .t-content h3::after {
    width: 60px; /* Allungamento leggermente più contenuto ed elegante */
}

/* Descrizione - Mantiene il suo spazio ma compare in dissolvenza */
.t-content p {
    font-size: 0.9rem;
    opacity: 0; /* Invisibile finché non ci passi sopra */
    margin-bottom: 18px; /* Margine ridotto per non spingere troppo giù il bottone */
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(8px); /* Entra dolcemente dal basso */
}

.t-card:hover .t-content p {
    opacity: 0.9;
    transform: translateY(0);
}

/* ==========================================================================
   STILI PAGINE EDITORIALI (Senza Immagini)
   ========================================================================== */

/* Sposta il contenuto sotto la navbar fissa */
body.editorial-page {
    background-color: var(--bg);
}

/* Header testuale elegante */
.editorial-hero {
    padding: 180px 5% 80px; /* Spazio per la navbar */
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.editorial-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.editorial-hero h1 {
    font-size: 4.5rem;
    margin: 15px 0 30px;
    letter-spacing: 1px;
    text-shadow: none; /* Rimuoviamo l'ombra perché c'è un colore solido */
}

.editorial-hero .lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Contenitore principale degli articoli */
.editorial-content {
    max-width: 750px; /* Volutamente stretto per una lettura confortevole */
    margin: 0 auto;
    padding: 100px 5%;
}

/* Blocco di testo per ogni trattamento */
.text-block {
    position: relative;
    padding-left: 80px; /* Spazio per il numero grande a sinistra */
    margin-bottom: 30px;
}

/* Numerazione in stile Magazine */
.block-number {
    position: absolute;
    left: 0;
    top: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent); /* Color Oro */
    opacity: 0.3; /* Leggermente in trasparenza per non sovrastare il titolo */
    line-height: 1;
}

.text-block h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.text-block p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-block strong {
    color: var(--text);
    font-weight: 600;
}

/* Divisore elegante tra i trattamenti */
.elegant-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.4;
    margin: 60px 0;
}

/* Call to Action a fine pagina */
.editorial-cta {
    text-align: center;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    margin-top: 80px;
    box-shadow: 0 15px 40px rgba(180, 125, 105, 0.08);
    border: 1px solid rgba(180, 125, 105, 0.1);
}

.editorial-cta h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.editorial-cta p {
    margin-bottom: 30px;
    color: #666;
}

/* Responsive per Tablet e Smartphone */
@media (max-width: 768px) {
    .editorial-hero {
        padding: 140px 5% 60px;
    }

    .editorial-hero h1 {
        font-size: 3rem;
    }

    .text-block {
        padding-left: 0;
        margin-top: 40px;
    }

    .block-number {
        position: relative;
        display: block;
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .text-block h2 {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   STILE PAGINA VISO: GRIGLIA SFALSATA (Senza Immagini)
   ========================================================================== */

body.editorial-page {
    background-color: var(--bg);
}

/* Header testuale elegante */
.editorial-hero {
    padding: 180px 5% 80px;
    background-color: var(--primary); /* Tortora */
    color: var(--white);
    text-align: center;
    position: relative;
}

.editorial-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.editorial-hero h1 {
    font-size: 4.5rem;
    margin: 15px 0 25px;
    letter-spacing: 1px;
}

.editorial-hero .lead-text {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Contenitore Principale e Griglia */
.editorial-main {
    padding: 80px 5% 120px;
    max-width: 1300px;
    margin: 0 auto;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Due colonne su desktop */
    gap: 50px 60px;
    align-items: start;
}

/* Design delle "Schede" di testo */
.text-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 25px;
    position: relative;
    box-shadow: 0 15px 40px rgba(180, 125, 105, 0.08); /* Ombra leggerissima */
    border: 1px solid rgba(180, 125, 105, 0.1); /* Bordino delicato tortora */
    transition: transform 0.5s ease;
    overflow: hidden;
}

.text-card:hover {
    transform: translateY(-10px);
}

/* Effetto Sfalsato (Solo su Desktop) */
@media (min-width: 992px) {
    /* Sposta in basso tutte le schede della colonna di destra (le pari) */
    .text-card:nth-child(even) {
        margin-top: 100px;
    }
}

/* Numero in filigrana sullo sfondo della scheda */
.card-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent); /* Oro */
    opacity: 0.07; /* Quasi trasparente, fa solo da texture */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

/* Tipografia interna alla scheda */
.text-card h2, .text-card h4, .text-card p {
    position: relative;
    z-index: 1; /* Tiene il testo sopra il numero in filigrana */
}

.text-card h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.card-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 1px solid rgba(181, 138, 122, 0.3); /* Lineetta sottile oro sotto il sottotitolo */
    padding-bottom: 5px;
}

.text-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-card p:last-child {
    margin-bottom: 0;
}

/* Call to Action */
.editorial-cta-wrapper {
    margin-top: 100px;
    display: flex;
    justify-content: center;
}

.editorial-cta {
    background: var(--white);
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(180, 125, 105, 0.1);
    border: 1px dashed rgba(180, 125, 105, 0.4); /* Bordo tratteggiato elegante */
}

.editorial-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 15px;
}

.editorial-cta p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Responsive per Tablet e Mobile */
@media (max-width: 991px) {
    .editorial-grid {
        grid-template-columns: 1fr; /* Torna a una colonna singola su mobile */
        gap: 40px;
    }

    .text-card {
        padding: 40px 30px;
    }

    .editorial-hero h1 {
        font-size: 3.2rem;
    }
}
/* ==========================================================================
   HEADER SUPER MINIMAL (Pagina Viso)
   ========================================================================== */

.minimal-hero {
    padding: 160px 5% 40px; /* Spazio per la navbar */
    background-color: transparent;
    text-align: center;
}

.minimal-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.minimal-hero h1 {
    font-size: 2.6rem;
    color: var(--primary); /* Il tuo Tortora */
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.minimal-lead {
    font-size: 1.1rem;
    color: #777; /* Grigio morbido */
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 10px;
}

/* Call to Action Minimal */
.editorial-cta-wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.editorial-cta {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px; /* Più compatto */
    width: 100%;
    border: 1px solid rgba(180, 125, 105, 0.1);
}

.editorial-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-style: normal;
}

.editorial-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.editorial-main {
    padding: 10px 5% 120px;
    max-width: 1300px;
    margin: 0 auto;
}
/* --- NUOVA SEZIONE TRATTAMENTI A GRIGLIA --- */
.trattamenti-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* <--- MODIFICATO: prima era 30px, ora le card sono più vicine */
    margin-top: 50px;
}
/* --- NUOVO TITOLO SEZIONE TRATTAMENTI --- */
.minimal-section-title {
    text-align: center;
    margin-bottom: 45px;
}

/* Scritta sopra il titolo con linee laterali */
.minimal-overline {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent); /* Color Oro */
    margin-bottom: 15px;
    font-weight: 600;
}

.minimal-overline::before,
.minimal-overline::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--accent);
    opacity: 0.5;
}

/* Titolo principale */
.minimal-section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary); /* Tortora */
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

/* Responsive per schermi piccoli */
@media (max-width: 768px) {
    .minimal-section-title h2 {
        font-size: 2.2rem;
    }
    .minimal-overline::before,
    .minimal-overline::after {
        width: 20px; /* Linee più corte su mobile */
    }
}

/* ==========================================================================
   NUOVO STILE ELEGANTE FOTO "CHI SIAMO"
   ========================================================================== */

/* Contenitore principale per gestire la sovrapposizione */
.about-image-wrapper {
    position: relative;
    padding-right: 30px; /* Crea spazio per far uscire la cornice a destra */
    padding-bottom: 30px;
    max-width: 500px;
    margin: 0 auto;
}

/* 1. Cornice oro sfalsata (effetto tridimensionale delicato) */
.about-frame {
    position: absolute;
    top: 30px;
    right: 0;
    bottom: 0;
    left: 30px;
    border: 1px solid var(--accent); /* Il tuo color Oro */
    z-index: 1;
    border-radius: 0; /* Taglio fotografico netto */
    opacity: 0.6; /* Rimane delicata e non invasiva */
}

/* 2. Contenitore della foto */
.about-image {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 0; /* Taglio fotografico netto */
    box-shadow: 0 25px 50px rgba(180, 125, 105, 0.15); /* Ombra morbida Tortora */
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease; /* Effetto zoom molto lento e lussuoso */
}

/* Al passaggio del mouse la foto si ingrandisce leggermente */
.about-image-wrapper:hover .about-image img {
    transform: scale(1.05);
}

/* 3. Nuova Targhetta "A Sigillo" circolare */
.about-badge-elegant {
    position: absolute;
    bottom: 40px;
    left: -30px; /* Spostata a sinistra per bilanciare visivamente la cornice a destra */
    background: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%; /* Tonda perfetta */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(180, 125, 105, 0.2);
    z-index: 3;
}

.about-badge-elegant .badge-text {
    font-family: 'Playfair Display', serif;
    color: var(--primary); /* Tortora */
    font-size: 0.95rem;
    line-height: 1.4;
    font-style: italic;
    letter-spacing: 1px;
}

/* ==========================================================================
   ADATTAMENTO PER CELLULARI (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .about-image-wrapper {
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .about-frame {
        top: 20px;
        left: 20px;
    }

    .about-image img {
        height: 500px; /* Leggermente più bassa sui telefoni */
    }

    .about-badge-elegant {
        left: -10px; /* Rientra per non uscire dallo schermo piccolo */
        bottom: 20px;
        width: 120px;
        height: 120px;
    }

    .about-badge-elegant .badge-text {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   ADATTAMENTO RESPONSIVE TITOLI PAGINE INTERNE (MINIMAL HERO)
   ========================================================================== */
@media (max-width: 768px) {
    .minimal-hero {
        padding: 130px 5% 30px; /* Riduciamo un po' anche lo spazio vuoto in alto */
    }

    .minimal-hero h1 {
        font-size: 2.2rem; /* Ridotto drasticamente per adattarsi allo schermo */
        line-height: 1.2;
    }

    .minimal-lead {
        font-size: 0.95rem; /* Sottotitolo leggermente più proporzionato */
        padding: 0 10px; /* Dà un po' di respiro ai lati del testo */
    }
}

/* --- NAVBAR CONTACT STYLING (Pulsante Prenota Ora) --- */
.navbar-contact {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    background: var(--primary); /* Sfondo Tortora pieno per farlo risaltare */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(180, 125, 105, 0.2); /* Ombra in tinta */
}

/* Effetto Hover: si svuota e rimane il bordo */
.contact-item:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
}

/* --- RESPONSIVE NAVBAR CONTACT --- */
@media (max-width: 1100px) {
    .contact-item {
        padding: 10px 20px;
        font-size: 0.7rem; /* Il testo rimane visibile e proporzionato sui tablet */
    }
}

@media (max-width: 768px) {
    .navbar-contact {
        margin-left: auto;
    }

    /* Su mobile lo rendiamo leggermente più compatto per non accavallarsi al logo */
    .contact-item {
        padding: 8px 16px;
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}
/* --- Tagline con linee decorative (SOLO PER LA HOMEPAGE HERO) --- */
.hero-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--white); /* Il testo diventa Tortora */
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Lineette laterali SOLO per la Hero */
.hero-tagline::before,
.hero-tagline::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--white); /* Le lineette diventano Tortora */
    opacity: 0.6;
}

/* --- NUOVA SEZIONE TRATTAMENTI A GRIGLIA --- */
.trattamenti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* <-- Modificato da 4 a 3 */
    gap: 20px; /* Un po' più di spazio per bilanciare le card più grandi */
    margin-top: 50px;
}

/* --- NUOVA SEZIONE TRATTAMENTI A GRIGLIA --- */
.trattamenti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Manteniamo le 3 colonne */
    gap: 30px; /* Spazio tra le card */
    margin-top: 50px;

    /* --- IL TRUCCO PER RESTRINGERE LE CARD --- */
    max-width: 1100px; /* Limita la larghezza totale (puoi scendere a 1000px se le vuoi ancora più strette) */
    margin-left: auto; /* Centra la griglia a sinistra */
    margin-right: auto; /* Centra la griglia a destra */
}

/* Responsive per Tablet (da 3 a 2 per riga) */
@media (max-width: 1024px) {
    .trattamenti-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Responsive per Smartphone (1 per riga) */
@media (max-width: 768px) {
    .trattamenti-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        padding: 0 15px; /* Evita che tocchino i bordi del telefono */
    }
}

/* ==========================================================================
   SEZIONE EVENTI EDITORIALE
   ========================================================================== */
.eventi-section {
    padding: 100px 5%;
    background-color: var(--white); /* Sfondo bianco per staccare dalla griglia trattamenti */
}

.eventi-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px; /* Molto spazio tra un evento e l'altro */
}

/* Struttura della card evento */
.evento-card {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Inverte l'ordine per il secondo evento (Testo a sinistra, Video a destra) */
.evento-card.reverse {
    flex-direction: row-reverse;
}

/* Contenitore del video (Formato verticale tipo Reel) */
.evento-video-wrapper {
    flex: 0 0 45%; /* Occupa il 45% dello spazio */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(180, 125, 105, 0.15); /* Ombra color tortora */
    position: relative;
    /* Proporzione 9:16 fissa per i Reel di Instagram */
    aspect-ratio: 9 / 16;
}

.evento-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Riempie il contenitore senza deformarsi */
    transition: transform 1s ease;
}

.evento-video-wrapper:hover .evento-video {
    transform: scale(1.05); /* Leggero zoom quando ci passi sopra */
}

/* Contenuto Testuale */
.evento-content {
    flex: 1; /* Prende lo spazio rimanente */
}

.evento-data {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.evento-content h3 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.evento-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Linea oro decorativa sotto il testo */
.evento-divider {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    opacity: 0.5;
}

/* --- RESPONSIVE PER TABLET E SMARTPHONE --- */
@media (max-width: 992px) {
    .evento-card, .evento-card.reverse {
        flex-direction: column; /* Incolonna video e testo sui telefoni */
        gap: 40px;
        text-align: center;
    }

    .evento-video-wrapper {
        width: 80%; /* Rimpicciolisce un po' il video su mobile */
        max-width: 400px;
    }

    .evento-content h3 {
        font-size: 2.2rem;
    }

    .evento-divider {
        margin: 0 auto; /* Centra la linea su mobile */
    }
}

@media (max-width: 768px) {
    .evento-video-wrapper {
        width: 100%;
    }
}

.evento-video-wrapper {
    width: 100%;
    max-width: 320px; /* IL SEGRETO È QUI: Limitiamo la larghezza a 320px (dimensione di uno schermo mobile) */
    flex-shrink: 0; /* Evita che si schiacci in modo strano */
    border-radius: 25px; /* Angoli leggermente più morbidi per simulare un telefono */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(180, 125, 105, 0.15);
    position: relative;
    aspect-ratio: 9 / 12; /* Mantiene la proporzione esatta dei Reel */
}

/* Struttura della card evento */
.evento-card {
    display: flex;
    align-items: center;
    justify-content: center; /* Centriamo il blocco */
    gap: 60px; /* Ridotto da 80px a 60px per un look più compatto e unito */
}

/* --- CONTACT SECTION REVOLUTION (Light & Elegant) --- */
.contact-section {
    padding: 100px 5%;
    /* Usiamo il color crema di sfondo per staccare dolcemente dal bianco del footer/eventi */
    background-color: var(--bg);
    color: var(--text);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Titoli e Testi */
.contact-info .subtitle {
    color: var(--accent) !important; /* Colore Oro per il sottotitolo */
    opacity: 1 !important;
}

.contact-info h2 {
    font-size: 3.5rem;
    color: var(--primary); /* Il tuo Tortora per il titolo principale */
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.contact-desc {
    font-size: 1.1rem;
    color: #666; /* Grigio scuro morbido per alta leggibilità */
    margin-bottom: 50px;
    max-width: 500px;
    line-height: 1.8;
}

/* Dettagli Contatti (Sede, Telefono, Email) */
.info-details {
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 45px;
    height: 45px;
    /* Sfondo leggerissimo in tortora per far risaltare l'icona */
    background: rgba(180, 125, 105, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary); /* Icona Tortora */
    font-size: 1.2rem;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.info-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--accent); /* Colore Oro */
}

.info-text p, .info-text a {
    color: var(--text); /* Testo scuro e leggibile */
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--primary); /* Diventa tortora al passaggio del mouse */
}

/* Social Pills */
.social-wrapper h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--text);
}

.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-pill {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary); /* Testo tortora */
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(180, 125, 105, 0.3); /* Bordo delicato tortora */
    transition: var(--transition);
}

.social-pill:hover {
    background: var(--primary); /* Si riempie di tortora al passaggio */
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(180, 125, 105, 0.2);
}

/* Mappa */
.contact-map {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    /* Ombra più definita ora che lo sfondo è chiaro */
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(180, 125, 105, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    /* Manteniamo un leggero filtro sulla mappa per non renderla troppo accesa */
    filter: grayscale(0.1) contrast(1.05);
}

/* Responsive (se non c'era già) */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 400px;
    }
}

/* Mappa Statica Elegante */
.contact-map {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(180, 125, 105, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Taglia i bordi in eccesso senza schiacciare l'immagine */
    display: block;
    transition: transform 0.6s ease; /* Effetto morbido per l'hover */
}

/* Opzionale: un leggerissimo zoom quando passi il mouse sulla mappa */
.contact-map:hover img {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-map {
        height: 400px;
    }
}
/* --- Mappa Statica Elegante --- */
.contact-map {
    height: 600px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    border: 1px solid rgba(180, 125, 105, 0.1);
    position: relative; /* FONDAMENTALE: permette al bottone di posizionarsi al suo interno */
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Leggero zoom della foto quando passi il mouse sull'area della mappa */
.contact-map:hover img {
    transform: scale(1.03);
}

/* --- Contenitore e Bottone Mappa --- */
.map-btn-wrapper {
    position: absolute;
    bottom: 40px; /* Distanza dal bordo inferiore */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* Centra il bottone orizzontalmente */
    z-index: 10; /* Lo mantiene sempre in primo piano rispetto alla foto */
}

.btn-map {
    background-color: var(--white);
    color: var(--primary); /* Testo Tortora */
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Ombra morbida per staccarlo dallo sfondo */
    transition: var(--transition);
}

/* Effetto Hover del bottone */
.btn-map:hover {
    background-color: var(--primary); /* Si riempie di Tortora */
    color: var(--white); /* Testo bianco */
    transform: translateY(-5px); /* Si solleva leggermente */
    box-shadow: 0 20px 40px rgba(180, 125, 105, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-map {
        height: 400px;
    }

    .map-btn-wrapper {
        bottom: 30px; /* Lo abbassiamo leggermente sui piccoli schermi */
    }
}

/* ==========================================================================
   FOOTER BOUTIQUE REVOLUTION
   ========================================================================== */
.main-footer {
    background-color: var(--white);
    padding: 100px 0% 0;
    border-top: 1px solid rgba(180, 125, 105, 0.15); /* Bordino tortora chiarissimo */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; /* Struttura a 3 Colonne */
    gap: 60px;
    padding-bottom: 80px;
    align-items: start;
}

/* --- Colonna 1: Brand --- */
.footer-logo {
    height: 70px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
}

.footer-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary); /* Tortora */
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 350px;
}

.footer-contact-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-info p i {
    color: var(--accent); /* Oro per le piccole icone */
    font-size: 1.1rem;
}

.footer-contact-info a {
    color: #666;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-info a:hover {
    color: var(--primary);
}

/* --- Titoli delle colonne (Scopri & Orari) --- */
.footer-links h4,
.footer-hours h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
}

/* Lineetta oro decorativa sotto i titoli */
.footer-links h4::after,
.footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

/* --- Colonna 2: Link Rapidi --- */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent); /* Oro in hover */
    transform: translateX(5px); /* Elegante scatto a destra */
}

/* --- Colonna 3: Orari (Stile Menu Lusso) --- */
.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #666;
}

.hours-list .day {
    font-weight: 600;
    color: var(--text);
}

/* I magici puntini sospensivi che si adattano allo spazio */
.hours-list .dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(180, 125, 105, 0.4);
    margin: 0 15px;
    position: relative;
    top: -4px;
}

.hours-list .time {
    color: var(--primary);
    font-weight: 600;
}

.hours-list .closed {
    color: var(--accent); /* La scritta chiuso è oro e in corsivo */
    font-style: italic;
}

/* --- Barra Finale (Copyright & Social) --- */
.footer-bottom {
    background-color: var(--bg); /* Colore Crema del sito */
    padding: 25px 5%;
    border-top: 1px solid rgba(180, 125, 105, 0.1);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-content p {
    font-size: 0.85rem;
    color: #888;
}

/* Bottoni Social con effetto pillola circolare */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary); /* Icona tortora */
    font-size: 1.1rem;
    text-decoration: none;
    border: 1px solid rgba(180, 125, 105, 0.2);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary); /* Si riempie di tortora */
    color: var(--white);
    transform: translateY(-5px); /* Si solleva */
    box-shadow: 0 10px 20px rgba(180, 125, 105, 0.2);
}

/* --- Responsive per Tablet e Smartphone --- */
@media (max-width: 992px) {
    .footer-container {
        /* Su tablet passiamo a 2 colonne in alto, e gli orari vanno sotto a tutto tondo */
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Una sola colonna per i cellulari */
        text-align: center;
        gap: 50px;
    }

    .footer-quote {
        margin: 0 auto 25px; /* Centra la frase */
    }

    .footer-contact-info p {
        justify-content: center; /* Centra info contatti */
    }

    .footer-links h4::after,
    .footer-hours h4::after {
        left: 50%;
        transform: translateX(-50%); /* Centra le lineette oro */
    }

    .hours-list .dots {
        display: none; /* Rimuove i puntini su mobile per pulizia */
    }

    .hours-list li {
        justify-content: space-between; /* Spinge giorno a sinistra e ora a destra */
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================
   RECENSIONI - STILE BOUTIQUE
   ========================================== */
.reviews-section {
    padding: 80px 5%;
    background-color: var(--bg); /* Sfondo Crema per staccare dal bianco */
    text-align: center;
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.reviews-slider {
    background-color: var(--white);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border: 1px solid rgba(180, 125, 105, 0.15); /* Bordo tortora leggerissimo */
    position: relative;
    overflow: hidden; /* Fondamentale per non far sbordare la progress bar */
}

/* --- Wrapper e Slide --- */
.review-slides-wrapper {
    position: relative;
    min-height: 180px; /* Altezza fissa per evitare che il box salti su e giù */
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out; /* Effetto dissolvenza morbido */
}

/* Solo la slide attiva è visibile */
.review-slide.active {
    opacity: 1;
    visibility: visible;
}

/* --- Tipografia Recensioni --- */
.quote-icon {
    font-size: 2.5rem;
    color: var(--accent); /* Colore Oro */
    margin-bottom: 20px;
    opacity: 0.6;
}

.review-text {
    font-family: 'Playfair Display', serif; /* Font elegante per le citazioni */
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--primary); /* Colore Tortora */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Progress Bar Animata --- */
.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(180, 125, 105, 0.1);
}

.progress-bar {
    height: 100%;
    background-color: var(--primary); /* La barra che si riempie è oro */
    width: 0%;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-slider {
        padding: 40px 20px;
    }
    .review-text {
        font-size: 1.1rem;
    }
    .review-slides-wrapper {
        min-height: 220px; /* Spazio extra per testi più lunghi su schermi stretti */
    }
    .footer-links {
        display: none;
    }
    .footer-contact-info p {
        display: none;

    }

    .contact-info h2{
        font-size: 2.2rem;
    }
}

/* --- Stile per il link Privacy nel Footer --- */
.footer-privacy-link {
    color: #888; /* Mantiene lo stesso grigio morbido del copyright */
    text-decoration: none; /* Rimuove la sottolineatura di default */
    margin-left: 5px; /* Crea un piccolo respiro dal nome dello studio */
    transition: var(--transition);
    position: relative;
}

/* Effetto Hover elegante: il testo diventa Tortora e appare una delicata sottolineatura */
.footer-privacy-link:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px; /* Abbassa leggermente la linea per renderla più raffinata */
}

/* Responsive Contatti */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center; /* Assicura che i titoli e i testi generali siano centrati */
    }

    .contact-map {
        height: 400px;
    }

    /* IL TRUCCO È QUI: Trasformiamo il contenitore dell'elenco in un blocco compatto */
    .info-details {
        display: inline-block; /* Si stringe intorno al contenuto */
        text-align: left;      /* Mantiene l'interno (icone e testi) allineato a sinistra */
        margin: 0 auto 50px;   /* Si posiziona al centro dello schermo */
    }

    /* Assicuriamoci che i singoli item tornino al loro comportamento naturale */
    .info-item {
        justify-content: flex-start;
        align-items: flex-start;
    }

    /* Centra anche i bottoni Social per non farli rimanere a sinistra */
    .social-pills {
        justify-content: center;
    }
}

.contact-info h2 {
    font-size: 2.8rem; /* <-- Modificato da 3.5rem a 2.8rem */
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}
@media (max-width: 768px) {
    .contact-info h2 {
        font-size: 2.2rem; /* Allineato alle altre sezioni su mobile */
    }
}

.navbar-list a {
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative; /* Aggiunto: serve per far funzionare la linea animata */
}

/* 1. Il testo diventa color Tortora al passaggio del mouse */
.navbar-list a:hover {
    color: var(--primary);
}

/* 2. Creiamo la linea invisibile sotto il link */
.navbar-list a::after {
    content: '';
    position: absolute;
    bottom: -6px; /* Distanza della linea dalla parola */
    left: 0;
    width: 0%; /* Di base è larga 0, quindi invisibile */
    height: 1px; /* Spessore della linea */
    background-color: var(--primary); /* Colore della linea (Tortora) */
    transition: width 0.3s ease; /* Animazione fluida */
}

/* 3. Quando passi il mouse, la linea si allunga da sinistra a destra */
.navbar-list a:hover::after {
    width: 100%;
}

.editorial-cta {
    text-align: center;
    max-width: 700px;
    width: 100%;
    background: none;
}
.editorial-cta {
    text-align: center;
    max-width: 500px;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important;
    }
}