/* ==========================================================
   ITALIAN GENTLEMAN - Landing di prenotazione
   Palette coerente con il sito principale italiangentleman.it
   ========================================================== */

:root {
    /* Sfondi chiari, arieggiati */
    --bg-page: #fbf9f4;
    --bg-surface: #ffffff;
    --bg-soft: #f4efe4;
    --bg-dark: #121212;

    /* Testi */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8578;

    /* Accenti oro (dal logo) */
    --gold: #c9a961;
    --gold-dark: #a88c4a;
    --gold-soft: #e6d7a8;

    /* Supporti */
    --border: #e8e2d1;
    --border-soft: #ede8db;
    --success: #2f7d4b;

    /* Fonts */
    --font-display: 'Playfair Display', 'Times New Roman', serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius: 4px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 26, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

/* ========= BUTTONS ========= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 10px 22px; font-size: 12px; }
.btn-lg { padding: 17px 38px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(201, 169, 97, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--text-primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-link {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: all var(--transition);
}

.btn-link:hover { color: var(--text-primary); border-bottom-color: var(--text-primary); }

/* ========= TOP BAR ========= */
.topbar {
    background: var(--bg-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.back-link {
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}

.back-link .arrow { color: var(--gold); transition: transform var(--transition); }
.back-link:hover { color: var(--gold); }
.back-link:hover .arrow { transform: translateX(-3px); }

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.topbar-phone:hover { color: #fff; }

/* ========= NAVBAR ========= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 249, 244, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(251, 249, 244, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 16px;
}

.nav-logo img {
    height: 46px;
    width: auto;
    transition: transform var(--transition);
}

.nav-logo:hover img { transform: scale(1.02); }

/* ========= HERO ========= */
.hero {
    position: relative;
    padding: 80px 0 40px;
    overflow: hidden;
}

/* Hero "clean": senza pannello prenotazione laterale, padding bottom generoso */
.hero.hero-clean {
    padding: 100px 0 100px;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}
.hero.hero-clean .hero-cta { margin-bottom: 36px; }
@media (max-width: 640px) {
    .hero.hero-clean { padding: 60px 0 80px; min-height: auto; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-pretitle .line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text-primary);
    line-height: 1.05;
}

.hero-title .accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.55;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50px;
}

.trust-stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.trust-text { letter-spacing: 0.04em; }

.hero-image {
    margin: 60px auto 0;
    max-width: 1100px;
    padding: 0 24px;
}

.hero-image img {
    width: 100%;
    height: clamp(300px, 45vw, 520px);
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ========= SECTION HEADER ========= */
section { padding: 100px 0; }

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

.section-pretitle {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding-left: 52px;
}

.section-pretitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
}

.section-header.center .section-pretitle { padding-left: 0; padding-right: 0; }
.section-header.center .section-pretitle::before {
    left: 50%;
    transform: translateX(calc(-50% - 60px));
    width: 40px;
}
.section-header.center .section-pretitle::after {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.7;
    transform: translateX(calc(50% + 60px));
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 18px;
}

.section-header p {
    color: var(--text-secondary);
    font-family: var(--font-accent);
    font-size: 1.15rem;
}

.section-footer.center { text-align: center; margin-top: 40px; }

/* ========= PROMO SECTION ========= */
.promo-section { background: var(--bg-soft); position: relative; }

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.promo-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.promo-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.promo-card-accent {
    background: linear-gradient(180deg, var(--bg-surface) 0%, #fdf8ec 100%);
    border-color: var(--gold);
}

.promo-card-badge {
    display: inline-block;
    background: var(--bg-dark);
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.promo-card-accent .promo-card-badge {
    background: var(--gold);
    color: var(--bg-dark);
}

.promo-card-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.amount-value {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 0.9;
}

.amount-value .small { font-size: 0.5em; font-weight: 500; }

.amount-label {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.promo-card-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 26px;
    line-height: 1.55;
}

.promo-code-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-page);
    border: 1px dashed var(--gold);
    border-radius: 30px;
    margin-bottom: 24px;
}

.code-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.code-value {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.15em;
    font-size: 14px;
}

.code-copy {
    background: transparent;
    border: 0;
    color: var(--gold-dark);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color var(--transition);
}

.code-copy:hover { color: var(--text-primary); }
.code-copy.copied { color: var(--success); }

/* ========= COSA INCLUDE ========= */
.include { background: var(--bg-page); padding: 80px 0; }

.include-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.include-item {
    text-align: center;
    padding: 32px 22px;
}

.include-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.include-icon svg { width: 24px; height: 24px; }

.include-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.include-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ========= BOOKING ========= */
.booking {
    background: var(--bg-soft);
    padding: 110px 0;
    position: relative;
}

.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.booking-intro p {
    color: var(--text-secondary);
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.7;
}

.booking-list {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.booking-list li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.booking-list .bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.booking-list strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.booking-list span:not(.bullet) {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
}

.booking-contact {
    padding: 18px 22px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-contact > span {
    color: var(--text-secondary);
    font-size: 14px;
}

.booking-contact a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.03em;
}

.booking-contact a:hover { color: var(--gold-dark); }
.booking-contact a svg { color: var(--gold-dark); }

/* ========= FORM ========= */
.booking-form {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 38px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }

.form-group label {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}

.form-group textarea { resize: vertical; min-height: 70px; font-family: var(--font-body); }

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'><path fill='%23a88c4a' d='M6 7 0 1 1 0l5 5 5-5 1 1z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 38px;
}

.field-hint {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12.5px;
    min-height: 1em;
}

.field-hint.highlight {
    color: var(--gold-dark);
    font-weight: 600;
}

.field-hint.success { color: var(--success); font-weight: 600; }
.field-hint.error { color: #c04a3b; }

/* ========= PRICE SUMMARY ========= */
.price-summary {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #f9f2df 100%);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin: 10px 0 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.price-row.discount { color: var(--gold-dark); font-weight: 600; }
.price-row.discount span:last-child::before { content: '− '; }

.price-row.total {
    border-top: 1px solid var(--gold-soft);
    margin-top: 8px;
    padding-top: 14px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 700;
}

.price-note {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    min-height: 1em;
}

.price-note.highlight {
    color: var(--gold-dark);
    font-style: normal;
    font-weight: 600;
}

.form-disclaimer {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
}

.form-success {
    background: #f0f7f2;
    border: 1px solid #bcd9c6;
    color: #1f5b38;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
    line-height: 1.55;
}

.form-success a { color: inherit; text-decoration: underline; }

.form-error {
    background: #fdf2ef;
    border: 1px solid #e9c0b3;
    color: #9a3d27;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-top: 18px;
    font-size: 14px;
    text-align: center;
    line-height: 1.55;
}

/* ========= REVIEWS ========= */
.reviews { background: var(--bg-page); }

.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 26px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.rating-score {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.rating-count { color: var(--text-secondary); font-size: 14px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 20px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--transition);
}

.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 22px;
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--gold);
    line-height: 1;
    font-style: italic;
}

.review-card .stars {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 14px;
}

.review-card p {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    line-height: 1.55;
    color: var(--text-primary);
    margin-bottom: 18px;
    font-style: italic;
}

.review-card cite {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    font-style: normal;
    letter-spacing: 0.05em;
}

.reviews-footnote {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--text-muted);
    font-style: italic;
}

/* ========= CONTACTS ========= */
.contacts { background: var(--bg-soft); padding: 100px 0; }

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: stretch;
}

.contacts-list {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contacts-list li { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.contacts-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.contacts-list strong {
    display: block;
    color: var(--gold-dark);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.contacts-list span, .contacts-list a {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.55;
}

.contacts-list a:hover { color: var(--gold-dark); }

.contacts-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 440px;
    box-shadow: var(--shadow);
}

/* ========= FOOTER ========= */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left { display: flex; align-items: center; gap: 18px; }

.footer-logo {
    height: 46px;
    width: auto;
    opacity: 0.95;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.footer-link:hover { color: #fff; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.25);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

/* ========= FLOATING CALL ========= */
.floating-call {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: 0 10px 26px rgba(201, 169, 97, 0.4);
    transition: all var(--transition);
    animation: pulse-ring 2.5s infinite;
}

.floating-call svg { width: 22px; height: 22px; }

.floating-call:hover {
    transform: scale(1.1);
    background: var(--bg-dark);
    color: var(--gold);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.5), 0 10px 26px rgba(201, 169, 97, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(201, 169, 97, 0), 0 10px 26px rgba(201, 169, 97, 0.4); }
    100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0), 0 10px 26px rgba(201, 169, 97, 0.4); }
}

/* ========= ANIMATIONS ========= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========= RESPONSIVE ========= */
@media (max-width: 960px) {
    section { padding: 70px 0; }

    .promo-grid { grid-template-columns: 1fr; gap: 20px; }
    .include-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .booking-grid { grid-template-columns: 1fr; gap: 40px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
    .contacts-map { min-height: 300px; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    section { padding: 60px 0; }

    .topbar { font-size: 11px; }
    .topbar-inner { flex-wrap: wrap; gap: 6px; }
    .back-link { font-size: 11px; }

    .hero { padding: 40px 0 20px; }
    .hero-pretitle { font-size: 11px; gap: 8px; }
    .hero-pretitle .line { width: 24px; }
    .hero-image { margin-top: 40px; padding: 0 18px; }

    .include-grid { grid-template-columns: 1fr; }

    .booking-form { padding: 28px 22px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }

    .promo-card { padding: 34px 26px; }
    .amount-value { font-size: 3.5rem; }

    .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
    .footer-left { flex-direction: column; gap: 12px; }

    .section-pretitle { padding-left: 44px; font-size: 11px; }
    .section-pretitle::before { width: 30px; }
    .section-header.center .section-pretitle { padding-left: 0; }
}

/* ============================================================
   BOOKING PANEL (wizard hero)
   ============================================================ */
.booking-panel {
    max-width: 900px;
    margin: 48px auto 0;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(26, 26, 26, 0.18);
    padding: 40px 48px 44px;
    position: relative;
    z-index: 3;
}

.bp-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
}
.bp-progress { flex: 1; }
.bp-step-label {
    display: block;
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 8px;
}
.bp-progress-bar {
    width: 100%; height: 3px;
    background: var(--bg-soft);
    border-radius: 2px;
    overflow: hidden;
}
.bp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    transition: width 0.3s ease;
}
.bp-back {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    background: transparent; border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary); font-size: 12px; font-weight: 500; cursor: pointer;
    transition: all var(--transition);
}
.bp-back:hover { border-color: var(--gold); color: var(--text-primary); }

.bp-step-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 0 0 6px;
    color: var(--text-primary);
    font-weight: 600;
}
.bp-step-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 22px;
}
.bp-mer-hint {
    display: inline-block;
    background: rgba(201, 169, 97, 0.14);
    color: var(--gold-dark);
    padding: 2px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    margin-left: 8px;
}

/* CALENDARIO */
.bp-calendar { margin-bottom: 20px; }
.bp-cal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.bp-cal-month {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--text-primary);
    text-transform: capitalize;
}
.bp-cal-nav {
    width: 32px; height: 32px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 50%; color: var(--text-secondary);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--transition);
}
.bp-cal-nav:hover:not(:disabled) { background: var(--bg-soft); color: var(--text-primary); border-color: var(--gold); }
.bp-cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.bp-cal-dows {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
    margin-bottom: 8px;
}
.bp-cal-dows span {
    text-align: center;
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 0;
}
.bp-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
.bp-cal-cell {
    aspect-ratio: 1;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-page); border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 16px; font-weight: 500;
    color: var(--text-primary);
    cursor: pointer; transition: all 0.15s;
}
.bp-cal-cell:hover:not(.disabled):not(.empty) { background: var(--bg-soft); border-color: var(--gold); }
.bp-cal-cell.disabled { color: var(--border); cursor: not-allowed; background: transparent; }
.bp-cal-cell.empty { background: transparent; cursor: default; }
.bp-cal-cell.today { border-color: var(--gold); }
.bp-cal-cell.selected { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.bp-cal-cell.wed:not(.disabled):not(.selected) {
    background: rgba(201, 169, 97, 0.1);
    position: relative;
}
.bp-cal-cell.wed::after {
    content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; background: var(--gold); border-radius: 50%;
}

/* SLOT ORARI */
.bp-slots {
    margin-top: 24px; padding-top: 22px;
    border-top: 1px solid var(--border-soft);
}
.bp-slots-title {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.bp-slots-title + .bp-slots-grid { margin-bottom: 18px; }
.bp-slots-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 10px;
}
.bp-slot {
    padding: 12px 10px;
    background: var(--bg-page); border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    cursor: pointer; transition: all 0.15s;
}
.bp-slot:hover { border-color: var(--gold); background: var(--bg-soft); }
.bp-slot.selected { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.bp-slot.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.bp-slots-empty {
    text-align: center; color: var(--text-muted); font-style: italic;
    padding: 30px 10px;
}

/* SERVIZI (step 2) */
.bp-services { display: flex; flex-direction: column; gap: 10px; }
.bp-service {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-page); border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer; transition: all 0.15s;
    text-align: left;
}
.bp-service:hover { border-color: var(--gold); background: var(--bg-soft); }
.bp-service.selected {
    border-color: var(--gold-dark);
    background: rgba(201, 169, 97, 0.08);
}
.bp-service-info strong {
    display: block;
    font-size: 15px; font-weight: 600; color: var(--text-primary);
    margin-bottom: 3px;
}
.bp-service-info small { color: var(--text-muted); font-size: 12.5px; }
.bp-service-price {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700;
    color: var(--gold-dark);
}

/* BARBIERI (step 3) */
.bp-barbers { display: flex; flex-direction: column; gap: 10px; }
.bp-barber {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px;
    background: var(--bg-page); border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer; transition: all 0.15s;
    text-align: left; width: 100%;
}
.bp-barber:hover { border-color: var(--gold); background: var(--bg-soft); }
.bp-barber.selected { border-color: var(--gold-dark); background: rgba(201, 169, 97, 0.08); }
.bp-barber-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.bp-barber-avatar.bp-any { background: var(--text-primary); }
.bp-barber-info strong {
    display: block;
    font-size: 15px; color: var(--text-primary);
    margin-bottom: 2px;
}
.bp-barber-info span { color: var(--text-muted); font-size: 12.5px; }

/* FORM DATI (step 4) */
.bp-form { display: flex; flex-direction: column; gap: 16px; }
.bp-field { display: flex; flex-direction: column; }
.bp-field label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-primary); margin-bottom: 8px;
}
.bp-field label .bp-optional {
    font-weight: 400; text-transform: none; letter-spacing: 0;
    color: var(--text-muted); font-size: 12px;
}
.bp-field input {
    padding: 13px 16px;
    background: var(--bg-page); border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary); font-size: 15px;
    font-family: var(--font-body);
    transition: all var(--transition);
}
.bp-field input:focus {
    outline: none; border-color: var(--gold);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.12);
}
.bp-hint {
    color: var(--text-muted); font-size: 12.5px; margin-top: 6px;
    min-height: 1em;
}
.bp-hint.success { color: var(--success); font-weight: 600; }
.bp-hint.error { color: #c04a3b; }

/* RIEPILOGO */
.bp-summary {
    margin: 4px 0 8px;
    padding: 18px 20px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #f9f2df 100%);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
}
.bp-sum-line {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 4px 0;
    font-size: 14px; color: var(--text-secondary);
}
.bp-sum-line:first-child { padding-top: 0; }
.bp-summary hr { border: 0; border-top: 1px solid var(--gold-soft); margin: 8px 0; }
.bp-sum-discount { color: var(--gold-dark); font-weight: 600; }
.bp-sum-discount span:last-child::before { content: '− '; }
.bp-sum-total {
    font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 700;
    color: var(--text-primary);
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--gold-soft);
}

/* CONSENSI */
.bp-consents {
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px 18px;
    background: var(--bg-page); border: 1px solid var(--border-soft);
    border-radius: var(--radius);
}
.bp-consent-row {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--text-secondary);
    cursor: pointer; line-height: 1.5;
}
.bp-consent-row input {
    width: 18px; height: 18px; margin-top: 1px;
    accent-color: var(--gold-dark);
    cursor: pointer; flex-shrink: 0;
}
.bp-consent-row a { color: var(--gold-dark); text-decoration: underline; }
.bp-disclaimer {
    color: var(--text-muted); font-size: 12px; text-align: center;
    margin: 0; line-height: 1.5;
}

/* SCHERMATA FINALE */
.bp-final {
    text-align: center;
    padding: 16px 0;
}
.bp-final-icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(47, 125, 75, 0.12);
    color: var(--success);
    display: inline-flex; align-items: center; justify-content: center;
}
.bp-final h3 {
    font-family: var(--font-display); font-size: 1.8rem;
    margin: 0 0 10px; color: var(--text-primary);
}
.bp-final-lead {
    color: var(--text-primary); font-size: 15px;
    margin: 0 0 4px;
}
.bp-final-email {
    color: var(--text-muted); font-size: 13px;
    margin: 0 0 22px; font-style: italic;
}
.bp-final-summary {
    text-align: left;
    padding: 18px 20px;
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.8;
}
.bp-final-summary strong { color: var(--gold-dark); }
.bp-final-actions {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    margin-bottom: 18px;
}
.bp-final-actions .btn { flex: 1 1 140px; font-size: 11px; padding: 10px 14px; }
.bp-link {
    background: transparent; border: 0; color: var(--gold-dark);
    font-size: 13px; text-decoration: underline; cursor: pointer;
    padding: 4px 8px; font-family: var(--font-body);
}

/* CTA BOOKING (nella sezione sotto) */
.booking-cta {
    background: var(--bg-soft);
    padding: 60px 0;
}
.booking-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
    padding: 40px 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.booking-cta-inner h2 { margin: 8px 0 10px; }
.booking-cta-inner p { color: var(--text-secondary); margin: 0; }

/* Responsive */
@media (max-width: 960px) {
    .booking-panel {
        max-width: 640px;
        padding: 32px 32px 36px;
    }
}
@media (max-width: 640px) {
    .booking-panel {
        margin: 30px 16px 0;
        padding: 24px 20px 28px;
        border-radius: var(--radius);
    }
    .bp-step-title { font-size: 1.4rem; }
    .bp-cal-cell { font-size: 13px; }
    .bp-slots-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .booking-cta-inner { padding: 30px 24px; flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CONSENSI FORM (checkbox GDPR)
   ============================================================ */
.consent-box {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin: 10px 0 20px;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.consent-row + .consent-row { border-top: 1px solid var(--border); }

.consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--gold-dark);
    cursor: pointer;
    flex-shrink: 0;
}

.consent-row label {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
}

.consent-row label strong { color: var(--text-primary); font-weight: 600; }
.consent-row label a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 2px; }
.consent-row label .required { color: #c04a3b; font-weight: 700; }

.consent-row label small {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}

/* ============================================================
   COOKIE BANNER — con overlay e gerarchia visiva
   ============================================================ */
.notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s;
}
.notice-overlay.is-visible { opacity: 1; }

.notice-banner {
    background: var(--bg-surface);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    padding: 0;
    max-width: 520px;
    width: 100%;
    transform: translateY(30px);
    transition: transform 0.35s;
    overflow: hidden;
}
.notice-overlay.is-visible .notice-banner { transform: translateY(0); }

.notice-banner-trust {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--bg-dark);
    color: var(--gold);
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.notice-banner-inner {
    padding: 28px 32px 24px;
    text-align: center;
}

.notice-banner-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    line-height: 1;
}

.notice-banner h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0 0 10px;
    color: var(--text-primary);
}

.notice-banner p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 22px;
}

.notice-banner p strong { color: var(--text-primary); }

.notice-banner a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.notice-banner-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 12px;
}

.notice-banner-fine {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    padding-top: 14px;
}

.notice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

/* Accetta tutti: oro pieno, più prominente (flex 1.5) */
.notice-btn-primary {
    flex: 1.5;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-dark);
    border: 1px solid var(--gold-dark);
    padding: 15px 22px;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(201, 169, 97, 0.35);
}
.notice-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

/* Solo necessari: outline, visibile ma meno attraente (flex 1) */
.notice-btn-secondary {
    flex: 1;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 15px 18px;
    font-size: 13px;
    font-weight: 500;
}
.notice-btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--bg-soft);
}

/* Personalizza: link testuale sotto */
.notice-btn-link {
    display: inline-block;
    background: transparent;
    border: 0;
    color: var(--text-secondary);
    font-size: 12.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    padding: 4px 8px;
    margin: 6px auto 0;
    font-family: var(--font-body);
}
.notice-btn-link:hover { color: var(--gold-dark); }

/* Modal granulare */
.notice-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.notice-modal-overlay.is-visible { opacity: 1; }

.notice-modal {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    transition: transform 0.3s;
}

.notice-modal-overlay.is-visible .notice-modal { transform: translateY(0); }

.notice-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px;
    border-bottom: 1px solid var(--border);
}

.notice-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text-primary);
}

.notice-modal-close {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 10px;
}
.notice-modal-close:hover { color: var(--text-primary); }

.notice-modal-body { padding: 18px 26px; }

.notice-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.notice-row:last-child { border-bottom: 0; }

.notice-row-info h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.notice-tag-always {
    background: var(--bg-soft);
    color: var(--gold-dark);
    border: 1px solid var(--border);
}

.notice-row-info p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Switch toggle */
.notice-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.notice-switch input { opacity: 0; width: 0; height: 0; }
.notice-switch span {
    position: absolute;
    inset: 0;
    background: #d6d0c2;
    border-radius: 24px;
    transition: background 0.2s;
}
.notice-switch span::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.notice-switch input:checked + span { background: var(--gold); }
.notice-switch input:checked + span::before { transform: translateX(18px); }
.notice-switch-disabled { cursor: not-allowed; }
.notice-switch-disabled input + span { background: var(--gold); opacity: 0.6; }

.notice-modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 26px 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.notice-modal-footer .notice-btn { flex: 1; min-width: 160px; width: auto; }

@media (max-width: 520px) {
    .notice-overlay { padding: 0; align-items: flex-end; }
    .notice-banner { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-width: 2px 0 0 0; }
    .notice-banner-inner { padding: 24px 22px 20px; }
    .notice-banner h3 { font-size: 1.3rem; }
    .notice-banner-actions { flex-direction: column; }
    .notice-btn-primary { flex: unset; padding: 14px 20px; }
    .notice-btn-secondary { flex: unset; padding: 12px 20px; }
    .notice-modal-footer { flex-direction: column; }
}

/* ============================================================
   LINK GESTISCI COOKIE (footer)
   ============================================================ */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    font-size: 12px;
}

.footer-legal-links a, .footer-legal-links button {
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    font-size: 12px;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.footer-legal-links a:hover, .footer-legal-links button:hover { color: var(--gold); }


/* ============================================================
   BOOKING MODAL (apre il booking-panel al click su CTA)
   ============================================================ */

/* Overlay full-viewport con backdrop blur. z-index 900 (sotto cookie banner 1000). */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}
.booking-modal-overlay.is-visible {
    display: flex;
    opacity: 1;
}

/* Modal container: centered desktop, bottom-sheet mobile. */
.booking-modal {
    position: relative;
    background: transparent;
    width: 100%;
    max-width: 720px;
    margin: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.booking-modal-overlay.is-visible .booking-modal {
    transform: translateY(0) scale(1);
}

/* Close button (X) — DENTRO al pannello, top-right, sempre visibile */
.booking-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 5;
    padding: 0;
}
.booking-modal-close:hover {
    background: var(--bg-surface);
    transform: scale(1.05);
}
.booking-modal-close:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Quando il booking-panel è dentro al modal: rimuove margine/shadow ridondante e riduce padding */
.booking-modal .booking-panel {
    margin: 0;
    width: 100%;
    padding: 32px 36px 36px;
}
.booking-modal .booking-panel .bp-step-title { font-size: 1.4rem; }
.booking-modal .booking-panel .bp-step-sub { font-size: 0.95rem; }
.booking-modal .booking-panel .bp-cal-cell { padding: 8px 0; font-size: 13px; }
.booking-modal .booking-panel .bp-calendar { margin-top: 18px; }
.booking-modal .booking-panel .bp-cal-month { font-size: 1rem; }
.booking-modal .booking-panel .bp-header { padding-right: 50px; /* spazio per la X */ }

/* Body scroll lock quando modal aperto */
body.booking-modal-open {
    overflow: hidden;
}

/* Bottom-sheet mobile (<640px): slide-up dal basso, full-width edge-to-edge */
@media (max-width: 640px) {
    .booking-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .booking-modal {
        max-width: 100%;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        background: var(--bg-surface);
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        -webkit-overflow-scrolling: touch;
    }
    .booking-modal-overlay.is-visible .booking-modal {
        transform: translateY(0);
    }
    .booking-modal-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }
    .booking-modal .booking-panel {
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 26px 20px 32px;
    }
    .booking-modal .booking-panel .bp-header { padding-right: 46px; }
}

/* Visually hidden helper (per titolo aria del modal) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   BOOKING WIZARD — Step 1 chip barbieri
   ============================================================ */
.bp-barber-chips {
    display: flex;
    gap: 8px;
    margin: 18px 0 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.bp-barber-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 8px;
    background: var(--bg-page);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
}
.bp-barber-chip:hover { border-color: var(--gold); }
.bp-barber-chip.selected {
    background: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}
.bp-barber-chip.selected .bp-chip-dot { box-shadow: 0 0 0 2px rgba(255,255,255,0.2); }
.bp-chip-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.bp-chip-dot.bp-any {
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 1px dashed var(--gold);
}
@media (max-width: 640px) {
    .bp-barber-chips { gap: 6px; }
    .bp-barber-chip { font-size: 12px; padding: 6px 12px 6px 6px; }
    .bp-chip-dot { width: 22px; height: 22px; font-size: 10px; }
}

/* ============================================================
   BOOKING WIZARD — Conferma giorno + slot loading state
   ============================================================ */

/* Conferma giorno (step 1): card con data + bottone Continua */
.bp-day-confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg);
    animation: bpFadeSlide 0.25s ease;
}
.bp-day-confirm-info { display: flex; flex-direction: column; gap: 2px; }
.bp-day-confirm-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    font-weight: 600;
}
.bp-day-confirm-info strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
    text-transform: capitalize;
}
.bp-day-confirm .btn {
    flex-shrink: 0;
    padding: 12px 22px;
    font-size: 12px;
}
@keyframes bpFadeSlide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
    .bp-day-confirm { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
    .bp-day-confirm .btn { width: 100%; }
}

/* Slot container: min-height stabile + loading dim per evitare scatto su cambio barbiere */
.bp-slots {
    min-height: 240px;
    transition: opacity 0.18s ease;
}
.bp-slots.is-loading {
    opacity: 0.35;
    pointer-events: none;
}
