/* ── DiGesu Contatti ─────────────────────────────────────── */

.dgc-wrap {
    font-family: inherit;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.dgc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 36px;
    box-sizing: border-box;
}

/* ── Titoli colonne ──────────────────────────────────────── */

.dgc-col-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #0082EF;
}

/* ── Form ────────────────────────────────────────────────── */

.dgc-form-col {
    border-right: 1px solid #e0e0e0;
    padding-right: 40px;
}

.dgc-field {
    margin-bottom: 16px;
}

.dgc-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.dgc-field input,
.dgc-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #f8f9fa;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.dgc-field input:focus,
.dgc-field textarea:focus {
    outline: none;
    border-color: #0082EF;
    box-shadow: 0 0 0 3px rgba(0,130,239,0.12);
}

.dgc-field textarea {
    resize: vertical;
    min-height: 120px;
}

.dgc-btn {
    width: 100%;
    padding: 12px;
    background: #0082EF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.dgc-btn:hover {
    background: #006ecc;
}

/* ── Alert ───────────────────────────────────────────────── */

.dgc-alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.dgc-alert-success {
    background: #e6f4ea;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.dgc-alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* ── Info ────────────────────────────────────────────────── */

.dgc-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dgc-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.dgc-info-icon {
    width: 36px;
    height: 36px;
    background: #e8f3ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dgc-info-icon svg {
    width: 18px;
    height: 18px;
}

.dgc-info-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.dgc-info-val {
    font-size: 14px;
    color: #222;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.dgc-info-val:hover {
    color: #0082EF;
}

/* ── Orari ───────────────────────────────────────────────── */

.dgc-orari {
    margin-top: 4px;
}

.dgc-orario-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #333;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.dgc-orario-row:last-child {
    border-bottom: none;
}

.dgc-chiuso span:last-child {
    color: #c62828;
    font-weight: 600;
}

/* ── Social ──────────────────────────────────────────────── */

.dgc-social {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.dgc-social-btn {
    width: 36px;
    height: 36px;
    background: #e8f3ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.dgc-social-btn:hover {
    background: #0082EF;
}

.dgc-social-btn:hover svg {
    fill: #fff;
}

.dgc-social-btn svg {
    width: 18px;
    height: 18px;
}

/* ── Mappa ───────────────────────────────────────────────── */

.dgc-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.dgc-map-link {
    text-decoration: none;
    display: block;
}

.dgc-map-placeholder {
    background: #e8f3ff;
    border: 1.5px solid #0082EF;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    cursor: pointer;
}

.dgc-map-placeholder:hover {
    background: #d0e8ff;
}

.dgc-map-placeholder span {
    font-size: 14px;
    font-weight: 600;
    color: #0082EF;
}

.dgc-map-placeholder small {
    font-size: 12px;
    color: #555;
}

/* ── Responsive tablet ───────────────────────────────────── */

@media (max-width: 900px) {
    .dgc-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px;
    }

    .dgc-form-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 32px;
    }
}

/* ── Responsive mobile ───────────────────────────────────── */

@media (max-width: 480px) {
    .dgc-grid {
        padding: 16px;
    }

    .dgc-col-title {
        font-size: 16px;
    }
}
