/* Pagine /contatti/ e /lavora-con-noi/ (modello pages/static/common/servizio-pagina.php): recapiti, modulo, finestra di esito, banner.
   Palette: blu #0E0080, fucsia #FF0762, grigio testo #656565 (contrasto 5,7:1 su bianco). */

/* ---- recapiti ---- */
.ctRecapiti { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ctRecapiti .svcCard p { margin: 0 0 8px; flex: 0 1 auto; }
.ctRecapiti .svcCard p:last-of-type { margin-bottom: 14px; flex: 1; }
.ctRecapiti a.ctLink { color: #0E0080; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ctRecapiti a.ctLink:hover { color: #FF0762; }
.ctRecapiti a.ctLink:focus-visible { outline: 3px solid #0E0080; outline-offset: 3px; border-radius: 4px; }
.ctEtichetta { display: block; color: #656565; font-size: 14px; }
.ctMail { margin: 0 0 12px; padding: 0; list-style: none; }
.ctMail li { margin: 0 0 10px; }
.ctMail strong { display: block; color: #0E0080; font-size: 14px; }

/* ---- modulo ---- */
.ctForm { max-width: 900px; margin: 0 auto; }
.ctForm .svcLabel { color: #ff8fb6; }
.ctForm h2 { color: #fff; text-transform: none; }
.ctForm .svcFormIntro, .ctForm .svcFormNote { color: #fff; }
.ctForm .svcFormNote a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ctForm .ctNota { margin: 6px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 14px; }
.ctForm [hidden] { display: none !important; }
.ctForm .svcField select { width: 100%; }
.ctForm fieldset.ctScelta { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.ctForm fieldset.ctScelta legend { float: none; width: auto; padding: 0; margin-bottom: 8px; color: #fff; font-size: 15px; font-weight: 700; }
.ctForm .ctRadio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: 18px; color: #fff; }
.ctForm .ctRadio input { width: 22px; height: 22px; accent-color: #FF0762; }
.ctForm input[type="file"] { width: 100%; padding: 12px; border-radius: 12px; background: #fff; color: #1f1f33; font-size: 16px; }
.ctTrappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- finestra di esito (al posto di SweetAlert2) ---- */
dialog.spikeMsg { width: 32em; max-width: calc(100% - 2em); padding: 1.4em 1.4em 1.6em; border: 0; border-radius: 20px; background: #fff; color: #3a3a4a; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 40, 0.4); }
dialog.spikeMsg::backdrop { background: rgba(14, 0, 80, 0.55); }
.spikeMsgIcona { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 72px; height: 72px; margin: 6px auto 10px; border: 4px solid; border-radius: 50%; font-family: Arial, Helvetica, sans-serif; font-size: 40px; line-height: 1; }
.spikeMsgIcona--success { color: #1a9c55; border-color: rgba(26, 156, 85, 0.4); }
.spikeMsgIcona--error { color: #d6204f; border-color: rgba(214, 32, 79, 0.4); }
.spikeMsgTitolo { margin: 0.2em 0 0; color: #0E0080; font-size: 1.6em; font-weight: 700; }
.spikeMsgCorpo { margin: 0.7em 0 0; font-size: 1.1em; line-height: 1.5; white-space: pre-line; }
.spikeMsgOk { margin-top: 1.4em; min-height: 46px; padding: 0.6em 2em; border: 0; border-radius: 16px; background: linear-gradient(90deg, #ff0065, #ff672f); color: #fff; font-weight: 700; cursor: pointer; }
.spikeMsgOk:focus-visible { outline: 3px solid #0E0080; outline-offset: 3px; }

/* ---- banner a tutta larghezza ---- */
.ctBanner { margin: 0; }
.ctBanner img { display: block; width: 100%; height: clamp(180px, 26vw, 340px); object-fit: cover; }

@media (max-width: 1199.98px) { .ctRecapiti { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .ctRecapiti { grid-template-columns: 1fr; } }
