/* Irene Gipsy Tattoo - Dark Luxury Theme */
/* Colors: Black #000000, Gold #D4AF37, Text #F5F5DC, Bg #0a0a0a */

@import url('https://fonts.cdnfonts.com/css/roman-sd');

:root {
    --primary-color: #000000;
    --secondary-color: #D4AF37;
    /* Gold */
    --accent-color: #FFD700;
    --text-color: #F5F5DC;
    /* Beige/Cream */
    --bg-color: #0a0a0a;
    --bg-dark-grey: #121212;
    --font-heading: 'Playfair Display', serif;
    --font-roman: 'Roman SD', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    color: var(--secondary-color);
    transition: var(--transition);
    border-radius: 0;
    text-align: center;
    /* Sharp edges for luxury feel */
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    border-color: #333;
    color: #888;
    margin: 0 10px;
}

.btn-outline:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-roman);
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: 20px;
}

.nav-menu li {
    margin-left: 0;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    display: block;
    text-align: center;
    white-space: nowrap;
}

/* Flag icons — rendered as CSS background (emoji flag not supported on Windows) */
.lang-flag-gb,
.lang-flag-it {
    display: inline-block;
    width: 20px;
    height: 14px;
    background-size: cover;
    background-position: center;
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 2px;
}
.lang-flag-gb {
    background-image: url('https://flagcdn.com/20x15/gb.png');
}
.lang-flag-it {
    background-image: url('https://flagcdn.com/20x15/it.png');
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    /* Parallax effect handles in JS or simpler pure CSS */
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 5.4rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    padding-bottom: 10px;
    line-height: 1.2;
    letter-spacing: 4px;
    text-transform: none;
}

.hero h1 .hero-gipsy {
    font-family: var(--font-roman);
    text-transform: uppercase;
}

/* Scroll indicator (frecce mobile) */
.scroll-indicator {
    display: none;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%       { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

@keyframes arrowBounceLeft {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%       { transform: translateY(-50%) translateX(-8px); }
}

@keyframes arrowBounceRight {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%       { transform: translateY(-50%) translateX(8px); }
}

/* Gallery arrows — nascosto su desktop */
.gallery-arrow {
    display: none;
}

/* Stars Animation */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700;
    animation: twinkle 4s infinite ease-in-out;
    opacity: 0;
}

/* Positioning Stars Randomly */
.star:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    transform: scale(1.5);
}

.star:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 1s;
    transform: scale(1);
}

.star:nth-child(3) {
    top: 60%;
    left: 15%;
    animation-delay: 2s;
    transform: scale(1.2);
}

.star:nth-child(4) {
    top: 15%;
    left: 60%;
    animation-delay: 0.5s;
    transform: scale(0.8);
}

.star:nth-child(5) {
    top: 70%;
    left: 85%;
    animation-delay: 1.5s;
    transform: scale(1.3);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero p {
    font-style: italic;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.cta-group .btn {
    margin: 0 10px;
}

/* Section Components */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: block;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.col-img,
.col-text {
    flex: 1;
}

.col-text p {
    text-align: justify;
}

.col-img img {
    border: 1px solid #333;
    box-shadow: 10px 10px 0 var(--secondary-color);
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    margin-top: 20px;
    font-weight: 500;
}

.text-link i {
    margin-left: 10px;
    transition: var(--transition);
}

.text-link:hover i {
    transform: translateX(5px);
}

/* Gallery Masonry */
.bg-black {
    background-color: #000;
}

.bg-dark-grey {
    background-color: var(--bg-dark-grey);
}

.filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #666;
    margin: 0 15px;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    padding-bottom: 5px;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
}

.gallery-loading,
.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #555;
    font-size: 1rem;
}
.gallery-loading .fa-spinner { font-size: 2rem; color: var(--secondary-color); }

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    height: 480px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    text-align: center;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay,
.gallery-item.overlay-active .gallery-overlay {
    opacity: 1;
    pointer-events: auto;
}

.gallery-item:hover img,
.gallery-item.overlay-active img {
    transform: scale(1.05);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
}


/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #333;
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* BTS Grid */
.bts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.bts-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.bts-item:hover img {
    filter: grayscale(0%);
}

/* Booking Section */
.bg-gradient {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.booking .fade-in-up {
    margin-top: 35px;
}

.booking-options {
    margin-top: 40px;
}

/* Contact Form */
.booking-form-container {
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border: 1px solid #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder {
    color: #666;
}

.form-message {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.form-message.error {
    color: #ff4444;
}

.form-message.success {
    color: #4CAF50;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Aftercare */
.bg-dark {
    background-color: #050505;
}

.aftercare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.aftercare-card {
    border-left: 2px solid var(--secondary-color);
    padding-left: 20px;
}

.aftercare-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.aftercare-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    font-size: 0.95rem;
    color: #ccc;
}

.aftercare-card ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.alert-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--secondary-color);
    padding: 15px;
    text-align: center;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Aftercare complete sheet */
.aftercare-full-sheet {
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 28px 32px;
}
.aftercare-full-sheet h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}
.aftercare-sheet-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}
.aftercare-sheet-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--secondary-color);
    text-align: center;
}
.aftercare-sheet-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.aftercare-sheet-col ul li {
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: justify;
}
.aftercare-sheet-col ul li .ic {
    display: inline;
    margin-right: 5px;
}
.aftercare-sheet-col ul li .ic.no  { color: #e05555; }
.aftercare-sheet-col ul li .ic.yes { color: #55c97a; }
.aftercare-contact {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted, #999);
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.aftercare-contact a {
    color: var(--secondary-color);
    text-decoration: none;
}
.aftercare-contact a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .aftercare-full-sheet {
        padding: 20px 12px;
    }
    .aftercare-sheet-cols {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 12px;
        margin: 0 -4px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .aftercare-sheet-cols::-webkit-scrollbar {
        height: 4px;
    }
    .aftercare-sheet-cols::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
    }
    .aftercare-sheet-cols::-webkit-scrollbar-thumb {
        background: rgba(212,175,55,0.4);
        border-radius: 2px;
    }
    .aftercare-sheet-col {
        flex: 0 0 calc(100vw - 56px);
        scroll-snap-align: center;
    }
    .aftercare-sheet-col ul li {
        white-space: nowrap;
        font-size: 0.82rem;
        text-align: left;
    }
}

/* Contact */
.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: #fff;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.col-map {
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: #000;
    padding: 60px 0 20px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #888;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.lang-links a {
    color: #888;
}

.lang-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: #555;
    font-size: 0.8rem;
}

.footer-legal-links {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.75rem;
}

.footer-legal-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: var(--secondary-color);
}

.footer-legal-links span {
    color: #333;
}

/* ========================================
   MOBILE STYLES - Beautiful & Premium
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* General */
    .section-padding {
        padding: 60px 0;
    }

    .container {
        width: 92%;
        padding: 0 10px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
        display: block;
        width: 100%;
    }

    /* Navigation - Premium Overlay */
    .nav-toggle {
        display: block;
        padding: 12px;
        font-size: 1.4rem;
        z-index: 1001;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: none;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-link {
        font-size: 1.4rem;
        display: block;
        padding: 18px 20px;
        letter-spacing: 3px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .nav-link:hover,
    .nav-link:active {
        background: rgba(212, 175, 55, 0.05);
        color: var(--secondary-color);
    }

    .lang-switch {
        margin-top: 20px;
    }

    .lang-switch .lang-link {
        font-size: 1.1rem;
        padding: 12px 30px;
        border: 1px solid var(--secondary-color);
    }

    /* Hero Section - Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        /* Safe area for modern mobile browsers */
    }

    .hero-bg {
        background-attachment: scroll;
        /* Fix parallax on mobile */
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3.6rem;
        line-height: 1.1;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        bottom: 110px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--secondary-color);
        font-size: 1.3rem;
        gap: 2px;
        line-height: 0.7;
        animation: scrollBounce 1.6s ease-in-out infinite;
        z-index: 10;
        pointer-events: none;
    }

    .hero h2 {
        font-size: 0.9rem;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 15px;
        max-width: 320px;
        margin: 0 auto;
    }

    .cta-group .btn {
        margin: 0;
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    /* About Section */
    .row {
        gap: 30px;
    }

    .col-img,
    .col-text {
        flex: 100%;
    }

    .col-img img {
        box-shadow: 5px 5px 0 var(--secondary-color);
    }

    .col-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Gallery - Frecce navigazione */
    .gallery-scroll-wrap {
        position: relative;
    }

    .gallery-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        z-index: 10;
        color: var(--secondary-color);
        font-size: 1.1rem;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.4s ease;
        text-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
    }

    .gallery-arrow-left  {
        left: 4px;
        animation: arrowBounceLeft 1.6s ease-in-out infinite;
    }
    .gallery-arrow-right {
        right: 4px;
        animation: arrowBounceRight 1.6s ease-in-out infinite;
    }

    /* Gallery - Horizontal Scroll with Zoom Effect */
    .masonry-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 30px 0;
        scrollbar-width: none;
    }

    .masonry-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 75%;
        scroll-snap-align: center;
        margin-bottom: 0;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
        transform: scale(0.9);
        box-shadow: none;
    }

    .gallery-item.centered {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25), 0 5px 15px rgba(0, 0, 0, 0.5);
    }

    .gallery-item img {
        border-radius: 12px;
        height: 500px;
        width: 100%;
        object-fit: cover;
    }

    .gallery-overlay {
        padding: 10px;
    }

    .gallery-overlay h3 {
        font-size: 0.9rem;
    }

    .gallery-overlay p {
        font-size: 0.75rem;
    }

    .filters {
        margin-bottom: 25px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .filter-btn {
        margin: 0;
        padding: 8px 14px;
        font-size: 0.75rem;
        border: 1px solid #333;
        border-radius: 20px;
    }

    .filter-btn.active {
        border-color: var(--secondary-color);
        background: rgba(212, 175, 55, 0.1);
    }

    /* Process — scroll orizzontale su mobile */
    .process-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 12px;
        padding-left: 4px;
        padding-right: 4px;
        margin-top: 30px;
        scrollbar-width: none;
    }

    .process-grid::-webkit-scrollbar {
        display: none;
    }

    .process-step {
        flex: 0 0 82%;
        scroll-snap-align: center;
        padding: 25px 20px;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .process-step:hover {
        transform: none;
    }

    .icon-box {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    /* BTS - Horizontal Scroll */
    .bts-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding-bottom: 15px;
        scrollbar-width: none;
        /* Firefox */
    }

    .bts-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .bts-item {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }

    .bts-item img {
        height: 380px;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Booking / Form */
    .booking-form-container {
        margin-top: 25px;
    }

    .contact-form {
        padding: 25px 18px;
        border-radius: 4px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input {
        padding: 14px 12px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
        border-radius: 4px;
    }

    .lead {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* Aftercare — scroll orizzontale su mobile */
    .aftercare-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 12px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .aftercare-grid::-webkit-scrollbar {
        height: 4px;
    }
    .aftercare-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
    }
    .aftercare-grid::-webkit-scrollbar-thumb {
        background: rgba(212,175,55,0.4);
        border-radius: 2px;
    }
    .aftercare-card {
        flex: 0 0 82%;
        scroll-snap-align: center;
        background: #1a1a1a;
        border: 1px solid #333;
        border-left: 2px solid var(--secondary-color);
        border-radius: 12px;
        padding: 24px 20px;
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .alert-box {
        flex-direction: column;
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-item {
        margin-bottom: 25px;
    }

    .contact-item i {
        font-size: 1.3rem;
        margin-right: 15px;
    }

    .col-map {
        min-height: 280px;
        width: 100%;
        overflow: hidden;
        border-radius: 8px;
    }

    .col-map iframe {
        width: 100%;
        height: 300px;
        border-radius: 8px;
        display: block;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-outline {
        margin: 0;
        width: 100%;
        display: block;
        text-align: center;
        padding: 14px 20px;
    }

    .social-links {
        justify-content: center;
        gap: 30px;
    }

    .social-links a {
        font-size: 1.8rem;
        padding: 10px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h3 {
        font-size: 1.1rem;
    }

    .footer-col ul li a {
        padding: 5px 0;
        display: inline-block;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    /* Instagram Section */
    .instagram .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Buttons - Better touch targets */
    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
    }

    /* Section standalone CTA buttons - centered with consistent width */
    .text-center > .btn,
    .text-center > a.btn {
        display: inline-block;
        min-width: 240px;
        max-width: 320px;
        width: 80%;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.88rem;
    }

    .hero h2 {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery-item {
        margin-bottom: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 20px;
    }

    .process-step {
        padding: 20px 15px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .cta-group {
        padding: 0 10px;
    }

    .container {
        width: 95%;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.visible {
    opacity: 1;
    transform: none;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Lightbox */
#lightbox {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* ========================================
   PAGINA CONSULENZA - Booking Page
   ======================================== */

/* Utility */
.hidden { display: none !important; }

/* Active nav link for current page */
.nav-link.active-page {
    color: var(--secondary-color);
}
.nav-link.active-page::after {
    width: 100%;
}

/* Config Warning Banner */
.config-warning {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 14px 20px;
    text-align: center;
    font-size: 0.9rem;
}
.config-warning code {
    background: rgba(212, 175, 55, 0.15);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* ── Page Header (compact hero) ── */
.page-header {
    position: relative;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.page-header .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    z-index: -2;
}
.page-header .overlay {
    z-index: -1;
    background: rgba(0,0,0,0.65);
}
.page-header-content h1 {
    font-family: 'Pinyon Script', cursive;
    font-size: 3.8rem;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 10px rgba(212,175,55,0.3);
    margin-bottom: 12px;
    line-height: 1.2;
    padding-bottom: 8px;
}
.page-header-content p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 22px;
    line-height: 1.7;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245,245,220,0.7);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(245,245,220,0.3);
    padding: 8px 18px;
    transition: var(--transition);
}
.back-link:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ── Booking Grid (2 columns) ── */
.consulenza-section { background-color: #0d0d0d; }

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* ── Booking Card ── */
.booking-card {
    background: rgba(0,0,0,0.5);
    border: 1px solid #2a2a2a;
    padding: 30px;
    margin-bottom: 24px;
    transition: border-color 0.3s ease;
}
.booking-card:last-child { margin-bottom: 0; }
.booking-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2a2a;
}
.booking-card-title i {
    margin-right: 8px;
    opacity: 0.8;
}

/* ── Calendar Header ── */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.cal-month-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
}
.cal-nav-btn {
    background: transparent;
    border: 1px solid #333;
    color: var(--secondary-color);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}
.cal-nav-btn:hover:not(.disabled):not(:disabled) {
    background: rgba(212,175,55,0.1);
    border-color: var(--secondary-color);
}
.cal-nav-btn.disabled,
.cal-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ── Calendar Day Headers ── */
.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 6px;
}
.cal-days-header span {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    padding: 4px 0;
}

/* ── Calendar Grid ── */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

/* ── Calendar Day Cells ── */
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.15s ease;
    position: relative;
    font-family: var(--font-body);
}
.cal-day.empty { background: transparent; }

.cal-day.past {
    color: #333;
    cursor: not-allowed;
}

.cal-day.unavailable {
    color: #444;
    cursor: not-allowed;
    background: rgba(255,255,255,0.02);
}

.cal-day.available {
    color: var(--secondary-color);
    cursor: pointer;
    border: 1px solid rgba(212,175,55,0.25);
    font-weight: 500;
}
.cal-day.available:hover {
    background: rgba(212,175,55,0.15);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.cal-day.today {
    font-weight: 600;
}
.cal-day.today.available {
    border-color: var(--secondary-color);
}
.cal-day.today.unavailable {
    border: 1px dashed #444;
}

.cal-day.selected {
    background: var(--secondary-color) !important;
    color: #000 !important;
    font-weight: 700;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 12px rgba(212,175,55,0.4);
}

/* ── Calendar Loading ── */
.cal-loading {
    text-align: center;
    padding: 20px 0 10px;
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212,175,55,0.2);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}
.loading-spinner.small {
    width: 14px;
    height: 14px;
    border-width: 2px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Calendar Legend ── */
.cal-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
}
.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    flex-shrink: 0;
}
.dot-available { background: var(--secondary-color); opacity: 0.7; }
.dot-unavailable { background: #333; }
.dot-selected { background: var(--secondary-color); }

/* ── Time Slots ── */
.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.time-slot {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
    letter-spacing: 0.5px;
}
.time-slot:hover {
    background: rgba(212,175,55,0.1);
    border-color: var(--secondary-color);
}
.time-slot.selected {
    background: var(--secondary-color);
    color: #000;
    font-weight: 600;
    border-color: var(--secondary-color);
}
.no-slots-msg {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* ── Selected Info Bar ── */
.selected-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    flex-wrap: wrap;
}
.selected-info i {
    flex-shrink: 0;
}
.selected-info span {
    flex: 1;
}
.change-link {
    background: transparent;
    border: none;
    color: rgba(212,175,55,0.6);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}
.change-link:hover { color: var(--secondary-color); }

/* ── Form Labels (overwrite index.html missing labels) ── */
.booking-card .form-group label:not(.checkbox-label):not(.payment-card):not(.radio-option) {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #999;
    margin-bottom: 8px;
}

/* ── Textarea ── */
.booking-card .form-group textarea {
    width: 100%;
    padding: 14px 15px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #333;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
    min-height: 110px;
    transition: var(--transition);
    line-height: 1.6;
}
.booking-card .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(212,175,55,0.15);
}
.booking-card .form-group textarea::placeholder { color: #555; }

/* Optional label */
.label-optional {
    font-size: 0.75rem;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

/* Form hint */
.form-hint {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 0.78rem;
}

/* ── Upload Area ── */
.upload-area {
    border: 2px dashed #333;
    min-height: 120px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: rgba(0,0,0,0.4);
}
.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--secondary-color);
    background: rgba(212,175,55,0.04);
}
.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    gap: 8px;
    text-align: center;
    pointer-events: none;
}
.upload-placeholder i {
    font-size: 2rem;
    color: #444;
    display: block;
    margin-bottom: 4px;
}
.upload-placeholder p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
.upload-placeholder strong { color: var(--secondary-color); }
.upload-placeholder small { color: #555; font-size: 0.78rem; }

/* Photo Preview Grid */
.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
}
.photo-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid #333;
    overflow: hidden;
    flex-shrink: 0;
}
.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.remove-photo {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.8);
    border: 1px solid #555;
    color: #fff;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 2px;
}
.remove-photo:hover { background: #c0392b; border-color: #c0392b; }

.add-more-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed #333 !important;
    background: rgba(0,0,0,0.3) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    color: #555;
    font-size: 0.7rem;
    transition: var(--transition);
}
.add-more-btn:hover { border-color: var(--secondary-color) !important; color: var(--secondary-color); }
.add-more-btn i { font-size: 1.2rem; }

/* ── Payment Options ── */
.payment-options {
    display: flex;
    gap: 10px;
}
.payment-card {
    flex: 1;
    cursor: pointer;
}
.payment-card input[type="radio"] { display: none; }
.payment-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(0,0,0,0.5);
    color: #777;
    font-size: 0.88rem;
    font-family: var(--font-body);
    transition: var(--transition);
    text-align: center;
    line-height: 1.3;
}
.payment-card span i {
    font-size: 1rem;
    flex-shrink: 0;
}
.payment-card:hover span,
.payment-card input[type="radio"]:checked + span {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(212,175,55,0.08);
}

/* ── Newsletter / Radio Options (Sì / No) ── */
.newsletter-options {
    display: flex;
    gap: 10px;
}
.radio-option {
    flex: 1;
    cursor: pointer;
}
.radio-option input[type="radio"] { display: none; }
.radio-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(0,0,0,0.5);
    color: #777;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    text-align: center;
}
.radio-option:hover span,
.radio-option input[type="radio"]:checked + span {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(212,175,55,0.08);
}

/* ── GDPR Checkbox ── */
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--secondary-color);
    cursor: pointer;
}
.checkbox-label span {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
    text-align: justify;
}

/* ── No Date Warning ── */
.no-date-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,68,68,0.08);
    border: 1px solid rgba(255,68,68,0.3);
    color: #ff8888;
    padding: 12px 16px;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

/* ── Submit Button ── */
.submit-btn {
    width: 100%;
    margin-top: 16px;
    font-size: 1rem;
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 6px;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(212,175,55,0.25);
}
.submit-btn:hover {
    box-shadow: 0 6px 28px rgba(212,175,55,0.4);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* ── intl-tel-input dark theme ── */
.iti {
    width: 100%;
}
.iti__selected-dial-code {
    color: var(--text-light) !important;
    font-size: 0.88rem;
}
.iti__selected-flag {
    background-color: transparent !important;
    padding: 0 8px 0 12px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.iti__flag-container:hover .iti__selected-flag,
.iti__selected-flag:focus {
    background-color: rgba(255,255,255,0.05) !important;
}
.iti__country-list {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
    max-height: 190px !important;
    width: 280px !important;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) #222;
    z-index: 1000;
}
.iti__country-list .iti__country {
    padding: 5px 10px !important;
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
    background-color: rgba(212, 175, 55, 0.12) !important;
}
.iti__country-list .iti__country-name {
    color: #ccc !important;
    font-size: 0.82rem !important;
}
.iti__country-list .iti__dial-code {
    color: var(--secondary-color) !important;
    font-size: 0.82rem !important;
    font-weight: 500;
}
.iti__country-list .iti__divider {
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    margin: 4px 0 !important;
    padding: 0 !important;
}

/* ── Caparra Info Block ── */
.caparra-info {
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-left: 3px solid var(--secondary-color);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.caparra-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.caparra-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}
.caparra-info p:last-child { margin-bottom: 0; }
.caparra-info ul {
    margin: 6px 0 10px 16px;
    padding: 0;
}
.caparra-info ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.5;
}
.caparra-info strong {
    color: var(--text-light);
}

/* ── Success State ── */
.success-state {
    text-align: center;
    padding: 40px 20px;
}
.success-card {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 50px 40px;
}
.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}
@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.success-card h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}
.success-subtitle {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}
.booking-details-box {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}
.booking-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-color);
}
.booking-detail-item:last-child { border-bottom: none; }
.booking-detail-item i {
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.success-actions .btn { min-width: 180px; }

/* ========================================
   CONSULENZA - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: auto;
        min-height: 280px;
        padding: 90px 0 40px;
        background-attachment: scroll;
    }
    .page-header .hero-bg {
        background-attachment: scroll;
    }
    .page-header-content h1 {
        font-size: 2.6rem;
    }
    .page-header-content p {
        font-size: 0.9rem;
    }
    .booking-card {
        padding: 20px 16px;
        margin-bottom: 16px;
    }
    .booking-grid {
        gap: 0;
    }
    .cal-day {
        font-size: 0.8rem;
    }
    .payment-options,
    .newsletter-options {
        gap: 8px;
    }
    .payment-card span,
    .radio-option span {
        padding: 12px 8px;
        font-size: 0.82rem;
    }
    .time-slot {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
    .success-card {
        padding: 35px 20px;
    }
    .success-card h2 {
        font-size: 1.6rem;
    }
    .success-actions {
        flex-direction: column;
    }
    .success-actions .btn {
        width: 100%;
        min-width: unset;
    }
    .cal-legend {
        gap: 10px;
    }
    .photo-preview {
        padding: 10px;
        gap: 8px;
    }
    .photo-thumb, .add-more-btn {
        width: 70px;
        height: 70px;
    }
}

/* ========================================
   SEDUTA PAGE
   ======================================== */

/* Seduta info box */
.seduta-info-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--secondary-color);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.seduta-info-box > i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.seduta-info-box strong {
    display: block;
    color: var(--text-light);
    font-size: 0.88rem;
    margin-bottom: 4px;
}
.seduta-info-box p {
    color: #888;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

/* PayPal label */
.paypal-label {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 10px;
}

/* Calendar subtitle */
.cal-subtitle {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 14px;
    font-style: italic;
}

/* Calendar day focused (data selezionata ma in attesa di orario) */
.cal-day.selected.focused {
    outline: 2px solid #fff;
    outline-offset: 1px;
}

/* Date error message */
.date-error-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,68,68,0.1);
    border: 1px solid rgba(255,68,68,0.35);
    color: #ff9999;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
}
.date-error-msg i { flex-shrink: 0; margin-top: 2px; }

/* Appointments section */
.appointments-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.appointments-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.appointment-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.appointment-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    gap: 12px;
}
.appointment-chip.chip-no-time {
    border-color: rgba(255,140,0,0.35);
    background: rgba(255,140,0,0.06);
}
.chip-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.chip-session {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.chip-date, .chip-time {
    font-size: 0.82rem;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chip-date i, .chip-time i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}
.chip-remove {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.chip-remove:hover { color: #ff6b6b; background: rgba(255,68,68,0.1); }

/* Form select */
.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 0.2s;
}
.form-select:focus { outline: none; border-color: var(--secondary-color); }
.form-select option { background: #1a1a1a; color: var(--text-light); }

/* Deposit section */
.deposit-section {
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.deposit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.deposit-breakdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #bbb;
}
.deposit-total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: var(--font-heading);
}
.deposit-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 16px;
    line-height: 1.5;
}
.paypal-container {
    margin-top: 8px;
    min-height: 45px;
}
.paypal-not-configured {
    background: rgba(255,140,0,0.08);
    border: 1px solid rgba(255,140,0,0.3);
    color: #ffaa55;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.payment-success {
    background: rgba(80,200,120,0.1);
    border: 1px solid rgba(80,200,120,0.35);
    color: #80e8a0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.payment-success i { font-size: 1.1rem; }

/* =============================================
   PRE-SEDUTA PAGE
   ============================================= */

/* Banner "prima seduta" (quando arriva da seduta.html con URL param) */
.first-session-banner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--secondary-color);
    border-radius: 8px;
    padding: 14px 16px;
}
.first-session-banner i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.first-session-banner strong {
    color: #e0e0e0;
    display: block;
    margin-bottom: 4px;
}
.first-session-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: #aaa;
    line-height: 1.5;
}

/* Input data prima seduta (quando arriva direttamente) */
.first-session-date-input {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    color-scheme: dark;
    transition: border-color 0.2s;
}
.first-session-date-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Bottone secondario nel success state */
.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
    background: var(--secondary-color);
    color: #000;
}

/* No slots message */
.no-slots-msg {
    color: #888;
    font-size: 0.88rem;
    text-align: center;
    padding: 12px 0;
}

/* =============================================
   FAQ PAGE
   ============================================= */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category-title:first-child {
    margin-top: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-question {
    list-style: none;
    padding: 1.1rem 2.2rem 1.1rem 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #e8e8e8;
    position: relative;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.2s;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 1.2rem 0;
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0.7rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0.5rem 0 0.7rem 1.2rem;
}

.faq-answer ul li {
    margin-bottom: 0.35rem;
}

.faq-link {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-link:hover {
    opacity: 0.8;
}

.faq-cta {
    margin-top: 3rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 2.5rem 2rem;
}

.faq-cta h3 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

.faq-cta p {
    color: #aaa;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.faq-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   VOUCHER PAGE
   ============================================= */

.voucher-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.voucher-how-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voucher-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.voucher-step-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--secondary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.voucher-step strong {
    color: #e8e8e8;
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.voucher-step p {
    margin: 0;
    color: #999;
    font-size: 0.84rem;
    line-height: 1.5;
}

.voucher-validity-note {
    margin-top: 1.2rem;
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.07);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 0.84rem;
    color: #aaa;
    display: flex;
    gap: 10px;
    align-items: center;
}

.voucher-validity-note i {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.voucher-validity-note strong {
    color: #e0e0e0;
}

.voucher-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 1.2rem;
}

.voucher-preset-btn {
    padding: 10px 6px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-align: center;
}

.voucher-preset-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.voucher-preset-btn.selected {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000;
}

.voucher-custom-row {
    margin-bottom: 1rem;
}

.voucher-custom-row label {
    display: block;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 6px;
}

.voucher-custom-input-wrap {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.voucher-custom-input-wrap:focus-within {
    border-color: var(--secondary-color);
}

.voucher-currency {
    padding: 0 10px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.voucher-custom-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    padding: 9px 10px 9px 0;
}

.voucher-amount-display {
    text-align: center;
    padding: 10px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 6px;
}

.voucher-amount-display strong {
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.voucher-recipient-section {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 1rem;
    padding-top: 1rem;
}

.voucher-section-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.voucher-section-label .label-optional {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: #666;
    font-weight: 400;
    font-style: normal;
}

.paypal-label {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0.5rem 0;
}

.paypal-container {
    min-height: 48px;
    margin: 10px 0;
}

.paypal-not-configured {
    background: rgba(255, 150, 0, 0.08);
    border: 1px solid rgba(255, 150, 0, 0.3);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #ffaa44;
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-hint {
    font-size: 0.78rem;
    color: #777;
    margin-top: 4px;
    display: block;
}

.voucher-code-display {
    margin: 1rem 0;
}

.voucher-code-box {
    background: rgba(212, 175, 55, 0.08);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.voucher-code-label {
    font-size: 0.82rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.voucher-code-value {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.voucher-code-amount {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

@media (max-width: 768px) {
    .voucher-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .voucher-preset-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   REVIEWS / TESTIMONIALS SECTION
   ============================================= */

.reviews-subtitle {
    color: #888;
    font-size: 0.92rem;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 12px 4px 20px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex: 1;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    background: #161616;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.review-stars {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.88rem;
    color: #ccc;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: #e8e8e8;
    margin: 0 0 2px;
}

.review-detail {
    font-size: 0.78rem;
    color: #666;
    margin: 0;
}

/* Arrow navigation buttons */
.reviews-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
    z-index: 2;
}

.reviews-nav:hover {
    background: rgba(212, 175, 55, 0.22);
    border-color: var(--secondary-color);
}

.reviews-nav:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Dot indicators */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.reviews-dot.active {
    background: var(--secondary-color);
    transform: scale(1.25);
}

/* Responsive */
@media (max-width: 900px) {
    .review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .reviews-nav {
        display: none;
    }

    .review-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* =============================================
   LEGAL PAGE
   ============================================= */

.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

/* Quick nav */
.legal-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.2rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
}

.legal-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.legal-nav-item:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--secondary-color);
}

/* Sections */
.legal-section {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-updated {
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.legal-subtitle {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: #d0d0d0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.8rem 0 0.7rem;
}

.legal-section p {
    font-size: 0.88rem;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 0.8rem;
}

.legal-list {
    margin: 0.5rem 0 1rem 1.2rem;
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.75;
}

.legal-list li {
    margin-bottom: 0.5rem;
}

.legal-link {
    color: var(--secondary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-link:hover {
    opacity: 0.8;
}

/* Placeholder warning box */
.legal-placeholder {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 160, 0, 0.07);
    border-left: 3px solid #ffaa00;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 0.8rem 0;
    font-size: 0.84rem;
    color: #ccc;
    line-height: 1.6;
}

.legal-placeholder i {
    color: #ffaa00;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-placeholder strong {
    color: #ffcc55;
}

.legal-placeholder em {
    color: #888;
    font-style: italic;
}

/* Table */
.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    color: #bbb;
}

.legal-table th {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.legal-table td {
    padding: 9px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    line-height: 1.5;
}

.legal-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Note box */
.legal-note {
    background: rgba(212, 175, 55, 0.06);
    border-left: 3px solid rgba(212, 175, 55, 0.4);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.85rem !important;
    color: #aaa !important;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 1rem 0 !important;
}

.legal-note i {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 600px) {
    .legal-nav {
        flex-direction: column;
        gap: 8px;
    }

    .legal-nav-item {
        justify-content: center;
    }

    .legal-table th,
    .legal-table td {
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}

/* ============================================================
   CONSENSO INFORMATO
   ============================================================ */

/* ── Step indicator ── */
.consenso-steps-indicator {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.consenso-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.consenso-step-dot span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    background: var(--bg-dark);
    transition: var(--transition);
}

.consenso-step-dot.active span {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.consenso-step-dot.done span {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000;
}

.step-dot-label {
    font-size: 0.72rem;
    color: #666;
    text-align: center;
    max-width: 90px;
    line-height: 1.3;
}

.consenso-step-dot.active .step-dot-label {
    color: var(--secondary-color);
}

.consenso-step-line {
    flex: 1;
    height: 2px;
    background: #333;
    margin-top: 22px;
    max-width: 160px;
    min-width: 60px;
}

/* ── Radio pill group ── */
.radio-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.radio-pill {
    cursor: pointer;
}

.radio-pill input[type="radio"] {
    display: none;
}

.radio-pill span {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #444;
    border-radius: 30px;
    font-size: 0.88rem;
    color: #aaa;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
    user-select: none;
}

.radio-pill input[type="radio"]:checked + span {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(212,175,55,0.1);
}

.radio-pill:hover span {
    border-color: #666;
    color: #ccc;
}

/* ── Declaration box ── */
.consenso-declaration {
    background: rgba(0,0,0,0.3);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    padding: 24px 28px;
    margin: 24px 0;
}

.consenso-declaration h4 {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.consenso-declaration p,
.consenso-declaration ul {
    color: #bbb;
    font-size: 0.88rem;
    line-height: 1.7;
}

.consenso-declaration ul {
    padding-left: 20px;
    margin: 12px 0;
}

.consenso-declaration ul li {
    margin-bottom: 6px;
}

.consenso-declaration strong {
    color: #e0e0e0;
}

.consenso-para {
    margin-top: 14px;
}

.consenso-ritocchi-note {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #2a2a2a;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}

.consenso-ritocchi-note i {
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Signature pad ── */
.signature-pad-wrap {
    border: 1px solid #444;
    border-radius: 6px;
    background: #111;
    overflow: hidden;
    cursor: crosshair;
    margin-top: 8px;
}

.signature-canvas {
    display: block;
    width: 100%;
    height: 160px;
    touch-action: none;
}

.signature-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-signature-clear {
    background: transparent;
    border: 1px solid #444;
    color: #888;
    font-size: 0.8rem;
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-signature-clear:hover {
    border-color: #c0392b;
    color: #c0392b;
}

/* ── Form actions ── */
.form-actions {
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .consenso-step-line {
        min-width: 30px;
    }

    .radio-pill-group {
        gap: 8px;
    }

    .consenso-declaration {
        padding: 18px 16px;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

/* ── Autocomplete dropdown (comuni) ── */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #1c1c1c;
    border: 1px solid #444;
    border-radius: 0 0 8px 8px;
    z-index: 200;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.autocomplete-dropdown::-webkit-scrollbar { width: 4px; }
.autocomplete-dropdown::-webkit-scrollbar-thumb { background: #333; }

.autocomplete-item {
    padding: 10px 14px;
    font-size: 0.86rem;
    color: #bbb;
    cursor: pointer;
    border-bottom: 1px solid #282828;
    transition: background 0.12s, color 0.12s;
}

.autocomplete-item:last-child { border-bottom: none; }

.autocomplete-item:hover,
.autocomplete-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
}
/* ========================================
   DEV TODO BANNER
   Ricorda le cose da completare prima del lancio
   ======================================== */
.dev-todo-banner {
    background: linear-gradient(135deg, #1a1400, #2a1e00);
    border: 1px solid #D4AF37;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 28px;
}
.dev-todo-banner-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #D4AF37;
    margin-bottom: 10px;
}
.dev-todo-banner ul {
    margin: 0;
    padding-left: 16px;
    color: #bbb;
    line-height: 1.9;
    font-size: 0.82rem;
}
.dev-todo-banner ul li strong {
    color: #e8c84a;
}
.dev-todo-banner ul li code {
    background: rgba(212,175,55,0.12);
    color: #D4AF37;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

/* ========================================
   TEST MODE BUTTON
   Visibile solo quando PayPal non è configurato
   ======================================== */
.btn-test-mode {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-top: 12px;
    background: rgba(212,175,55,0.06);
    border: 1px dashed #D4AF37;
    border-radius: 4px;
    color: #D4AF37;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-test-mode:hover {
    background: rgba(212,175,55,0.14);
}
