/* ════════════════════════════════════════
   CONTATTI — Hero
   ════════════════════════════════════════ */
.cnt-hero {
    text-align: center;
    padding: 120px 24px 48px;
    background: var(--bg);
}
.cnt-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin: 8px 0 16px;
}
.cnt-hero-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ════════════════════════════════════════
   CANALI CONTATTO
   ════════════════════════════════════════ */
.cnt-canali {
    padding: 0 24px 64px;
    max-width: 1000px;
    margin: 0 auto;
}
.cnt-canali-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cnt-canale {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--raggio-lg);
    padding: 28px 24px;
    box-shadow: var(--ombra);
    transition: all var(--transizione);
    text-decoration: none;
    color: inherit;
    opacity: 1;
}
.cnt-canale:hover {
    transform: translateY(-4px);
    box-shadow: var(--ombra-lg);
    border-color: var(--border-hover);
}
.cnt-canale-wa:hover { border-color: #25D366; }
.cnt-canale-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(242,140,40,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cnt-canale-icon--wa {
    background: #25D366;
}
.cnt-canale-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.cnt-canale-dato {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.cnt-canale-dato a { color: var(--arancione-text); text-decoration: none; }
.cnt-canale-dato a:hover { text-decoration: underline; }
.cnt-canale-note {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ════════════════════════════════════════
   MAPPA + ORARI
   ════════════════════════════════════════ */
.cnt-dove {
    background: linear-gradient(180deg, var(--bg) 0%, #FFF3E8 100%);
    padding: 72px 24px;
}
.cnt-dove-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.cnt-section-h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    margin: 6px 0 20px;
}
.cnt-mappa-wrap {
    border-radius: var(--raggio-lg);
    overflow: hidden;
    box-shadow: var(--ombra-lg);
    border: 1px solid var(--border);
    margin-bottom: 14px;
}
.cnt-indirizzo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}
.cnt-indirizzo a { color: var(--arancione-text); text-decoration: none; }
.cnt-indirizzo a:hover { text-decoration: underline; }

/* Orari */
.cnt-orari-badge { margin-bottom: 16px; }
.cnt-badge-aperto {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    padding: 7px 18px;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
}
.cnt-badge-chiuso {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--arancione);
    color: #fff;
    padding: 7px 18px;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
}
.cnt-orari-tabella {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--raggio-lg);
    overflow: hidden;
    box-shadow: var(--ombra);
}
.cnt-orario {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}
.cnt-orario:last-child { border-bottom: none; }
.cnt-orario--oggi {
    background: rgba(242,140,40,0.05);
}
.cnt-orario--oggi .cnt-orario-giorno { color: var(--arancione-text); font-weight: 700; }
.cnt-orario-giorno { font-weight: 600; color: var(--text); }
.cnt-orario-giorno small { font-weight: 400; color: var(--text-muted); }
.cnt-orario-ore { color: var(--text-muted); }
.cnt-orario-chiuso { color: var(--text-dim); font-style: italic; }

/* Placeholder mappa (cookie consent) */
.cnt-mappa-placeholder {
    width: 100%; height: 300px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--raggio-lg);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.cnt-mappa-ph-inner {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 24px;
}
.cnt-mappa-ph-inner p {
    font-family: 'Nunito', sans-serif; font-size: 0.85rem;
    color: var(--text-muted); line-height: 1.6; margin: 0;
}
.cnt-mappa-load-btn {
    display: inline-block; margin-top: 8px;
    padding: 10px 24px; border: none; border-radius: 999px;
    background: var(--arancione); color: #fff;
    font-family: 'Nunito', sans-serif; font-size: 0.85rem; font-weight: 700;
    cursor: pointer; transition: all 0.25s ease;
}
.cnt-mappa-load-btn:hover { background: #D47A20; transform: translateY(-1px); }

/* ════════════════════════════════════════
   FORM WHATSAPP — ticket evento
   ════════════════════════════════════════ */
.cnt-form-section {
    background: var(--bg);
    padding: 48px 24px 80px;
    overflow: visible;
}

/* ─── Ticket evento ─── */
.cnt-ticket {
    display: flex;
    position: relative;
    max-width: 620px;
    margin: 0 auto;
}

/* Notches (fori semicircolari alla perforazione) */
.cnt-ticket::before,
.cnt-ticket::after {
    content: '';
    position: absolute;
    right: 69px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg);
    z-index: 10;
}
.cnt-ticket::before { top: -12px; }
.cnt-ticket::after { bottom: -12px; }

/* ─── Corpo ticket (form) ─── */
.cnt-ticket-body {
    flex: 1;
    background-color: #FFFDF8;
    border: 1px solid #e8e0d4;
    border-right: 2px dashed rgba(0,0,0,0.13);
    border-radius: 14px 0 0 14px;
    padding: 28px 32px 32px;
    position: relative;
    background-image:
        linear-gradient(180deg, var(--arancione) 0%, var(--arancione) 5px, transparent 5px),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(200,180,150,0.08) 27px,
            rgba(200,180,150,0.08) 28px
        );
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cnt-ticket-brand {
    font-family: 'Playfair Display', serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--arancione);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ─── Stub (strappo) ─── */
.cnt-ticket-stub {
    width: 80px;
    flex-shrink: 0;
    background-color: #FFFDF8;
    background-image:
        linear-gradient(180deg, var(--arancione) 0%, var(--arancione) 5px, transparent 5px);
    border: 1px solid #e8e0d4;
    border-left: none;
    border-radius: 0 14px 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.cnt-stub-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cnt-stub-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(37,211,102,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cnt-stub-num {
    font-family: 'Nunito', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-dim);
}

/* ─── Stato strappo (tear-off al submit) ─── */
.cnt-ticket--tearing {
    pointer-events: none;
}
.cnt-ticket--tearing .cnt-ticket-stub {
    transform-origin: center left;
}
.cnt-ticket--tearing .cnt-ticket-body {
    border-right-style: solid;
    border-right-color: rgba(0,0,0,0.04);
    border-right-width: 1px;
    letter-spacing: 1px;
}

.cnt-form-compact {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFDF8;
    border: 1px solid #e8e0d4;
    border-radius: 6px;
    padding: 28px 32px 32px;
    box-shadow:
        0 2px 12px rgba(0,0,0,0.06),
        0 0 0 1px rgba(0,0,0,0.02);
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 27px,
            rgba(200,180,150,0.08) 27px,
            rgba(200,180,150,0.08) 28px
        );
}
.cnt-form-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.cnt-form-wa-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cnt-form-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2px;
}
.cnt-form-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
.cnt-wa-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cnt-form-row {
    display: flex;
    gap: 10px;
}
.cnt-wa-input {
    width: 100%;
    padding: 10px 14px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--raggio);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}
.cnt-wa-input::placeholder {
    color: #aaa;
    font-weight: 400;
}
.cnt-wa-input:focus {
    outline: none;
    border-color: #25D366;
    background: #fff;
}
.cnt-wa-textarea {
    resize: vertical;
    min-height: 72px;
    height: auto;
}
.cnt-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 4px;
}
.cnt-wa-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    color: var(--text-muted);
    cursor: pointer;
}
.cnt-wa-privacy input[type="checkbox"] {
    accent-color: #25D366;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}
.cnt-wa-privacy a {
    color: var(--arancione);
    text-decoration: underline;
}
.cnt-wa-send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.cnt-wa-send:hover {
    background: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

@media (max-width: 600px) {
    .cnt-form-compact { padding: 20px 18px 24px; }
    .cnt-form-row { flex-direction: column; }
    .cnt-form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .cnt-wa-send { justify-content: center; }
}

/* ════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════ */
.cnt-faq {
    background: linear-gradient(180deg, #FFF3E8 0%, var(--bg) 100%);
    padding: 72px 24px;
}
.cnt-faq-inner {
    max-width: 720px;
    margin: 0 auto;
}
.cnt-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cnt-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--raggio-lg);
    overflow: hidden;
    box-shadow: var(--ombra);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cnt-faq-item.open {
    border-color: var(--border-hover);
    box-shadow: var(--ombra-lg);
}
.cnt-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    transition: color 0.2s;
}
.cnt-faq-q:hover { color: var(--arancione); }
.cnt-faq-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.2s;
}
.cnt-faq-item.open .cnt-faq-arrow {
    transform: rotate(180deg);
    color: var(--arancione);
}
.cnt-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.4s cubic-bezier(0.16,1,0.3,1);
    padding: 0 24px;
}
.cnt-faq-item.open .cnt-faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}
.cnt-faq-a p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ════════ Responsive ════════ */
@media (min-width: 600px) {
    .cnt-canali-grid {
        flex-direction: row;
        align-items: stretch;
    }
    .cnt-canali-grid > * {
        flex: 1;
        min-height: 0;
    }
}
@media (min-width: 768px) {
    .cnt-dove-inner { grid-template-columns: 1.3fr 1fr; }
}
@media (max-width: 600px) {
    .cnt-hero { padding: 100px 20px 36px; }
    .cnt-ticket-body { padding: 20px 18px 24px; }
    .cnt-ticket-stub { width: 56px; padding: 16px 6px; }
    .cnt-ticket::before,
    .cnt-ticket::after { right: 45px; width: 20px; height: 20px; }
    .cnt-ticket::before { top: -10px; }
    .cnt-ticket::after { bottom: -10px; }
    .cnt-stub-text { font-size: 0.6rem; letter-spacing: 2px; }
    .cnt-stub-icon { width: 32px; height: 32px; }
    .cnt-stub-icon svg { width: 18px; height: 18px; }
}
