/* Pagina Contatti: modulo a destra (scheda bianca), recapiti a sinistra. Su telefono il modulo viene per primo. */
.testa-contatti { padding-bottom: clamp(24px, 4vh, 44px); }
.testa-contatti h1 { font-size: clamp(42px, 6.4vw, 96px); max-width: 12em; }

.contatti { width: var(--largo); margin: 0 auto; padding: clamp(16px, 3vh, 32px) 0 clamp(70px, 11vh, 130px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 84px); align-items: start; }
.contatti-lato { grid-column: 1; grid-row: 1; display: grid; gap: clamp(24px, 3.4vh, 36px); padding-top: clamp(8px, 2vh, 24px); }
.contatti-modulo { grid-column: 2; grid-row: 1; }

.contatti-lato h2, .richiesta h2, .richiesta-fatto h2, .richiesta h3, .richiesta-fatto h3 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }

/* recapiti: due righe grandi, cliccabili */
.contatti-modi { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(13, 13, 16, .12); }
.contatti-modi li { border-bottom: 1px solid rgba(13, 13, 16, .12); }
.contatti-modi a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; color: var(--inchiostro); text-decoration: none; }
.modo-icona { width: 48px; height: 48px; border-radius: 14px; background: #eaf2fd; display: grid; place-items: center; transition: background .3s; }
.modo-icona svg { width: 22px; height: 22px; fill: none; stroke: #0b5fcf; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.contatti-modi a:hover .modo-icona { background: #0b5fcf; }
.contatti-modi a:hover .modo-icona svg { stroke: #fff; }
.modo-testo { display: grid; gap: 1px; }
.modo-testo small { font-size: 14px; font-weight: 650; color: var(--muto); }
.modo-testo b { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.modo-testo em { font-style: normal; font-size: 15px; color: var(--muto); line-height: 1.4; margin-top: 2px; }

.contatti-demo h3 { font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.contatti-demo ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.contatti-demo li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.45; }
.contatti-demo li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border: solid #0b5fcf; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.contatti-altro { font-size: 16px; line-height: 1.5; color: var(--muto); max-width: 30em; }
.contatti-altro a { color: var(--inchiostro); text-decoration: underline; text-decoration-color: #0b5fcf; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.contatti-societa { font-style: normal; font-size: 14px; color: var(--muto); }

/* il modulo */
.richiesta, .richiesta-fatto { background: var(--bianco); border: 1px solid rgba(13, 13, 16, .1); border-radius: 28px; padding: clamp(22px, 3vw, 44px);
  box-shadow: 0 30px 60px -34px rgba(13, 13, 16, .28), 0 2px 6px rgba(13, 13, 16, .04); }
.richiesta-nota { color: var(--muto); font-size: 16px; line-height: 1.45; margin-top: 8px; }
.rcampi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: clamp(20px, 3vh, 30px); }
.rcampo { display: grid; gap: 7px; min-width: 0; }
.rcampo-largo { grid-column: 1 / -1; }
.rcampo > span { font-size: 14.5px; font-weight: 650; letter-spacing: -.01em; }
.rcampo input, .rcampo select, .rcampo textarea { width: 100%; font: inherit; font-size: 17px; font-weight: 500; color: var(--inchiostro); background: var(--carta);
  border: 1.5px solid transparent; border-radius: 14px; padding: 0 16px; height: 54px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.rcampo textarea { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.rcampo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230d0d10' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px; padding-right: 44px; }
.rcampo ::placeholder { color: #9a9aa2; }
.rcampo input:hover, .rcampo select:hover, .rcampo textarea:hover { border-color: rgba(13, 13, 16, .16); }
.rcampo input:focus, .rcampo select:focus, .rcampo textarea:focus { background: var(--bianco); border-color: #0b5fcf; box-shadow: 0 0 0 4px rgba(11, 95, 207, .14); }
.rcampo .sbagliato { border-color: #c8322b; background: #fdf3f2; }
.rcampo-nascosto { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.richiesta-errore { margin-top: 16px; font-size: 15.5px; font-weight: 600; color: #b3261e; }
.richiesta-fine { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(20px, 3vh, 28px); }
.richiesta-fine .bottone { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 17px; }
.richiesta-fine .bottone:disabled { opacity: .55; cursor: default; }
.richiesta-privacy { font-size: 14px; line-height: 1.4; color: var(--muto); flex: 1 1 220px; }
.richiesta-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.richiesta-fatto { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: clamp(48px, 9vh, 96px); }
.richiesta-fatto[hidden], .richiesta[hidden] { display: none; }
.richiesta-fatto svg { width: 64px; height: 64px; fill: none; stroke: #0f7a43; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.richiesta-fatto svg circle { fill: #e6f6ec; stroke: none; }
.richiesta-fatto p { font-size: 18px; line-height: 1.45; color: var(--muto); max-width: 24em; }

@media (max-width: 900px) {
  .contatti { grid-template-columns: 1fr; gap: 40px; }
  .contatti-modulo, .contatti-lato { grid-column: 1; grid-row: auto; }
  .contatti-lato { padding-top: 0; }
  .richiesta, .richiesta-fatto { border-radius: 24px; }
}
@media (max-width: 560px) {
  .rcampi { grid-template-columns: 1fr; }
  .richiesta-fine .bottone { width: 100%; justify-content: center; }
  .richiesta-privacy { flex-basis: 100%; }
}

/* blocco «Contattaci» in fondo a ogni pagina: un unico pannello azzurro chiaro, testo e recapiti a sinistra, modulo bianco a destra */
.chiama { padding: clamp(60px, 10vh, 120px) 0 clamp(50px, 8vh, 90px); }
.chiama-due { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4.4vw, 72px); align-items: stretch;
  background: #eaf2fd; border-radius: clamp(28px, 3vw, 44px); padding: clamp(22px, 3.6vw, 56px); }
.chiama-lato { display: grid; align-content: space-between; gap: clamp(28px, 5vh, 56px); padding: clamp(4px, 1vw, 14px) 0; }
.chiama-testo h2 { font-size: clamp(34px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.055em; line-height: .98; text-wrap: balance; max-width: 9em; }
.chiama-testo p { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; color: #3d4654; margin-top: clamp(14px, 2vh, 22px); max-width: 24em; text-wrap: pretty; }
.chiama .contatti-modi, .chiama .contatti-modi li { border-color: rgba(11, 95, 207, .2); }
.chiama .modo-icona { background: #fff; }
.chiama .modo-testo small, .chiama .modo-testo em { color: #55607a; }
.chiama .richiesta, .chiama .richiesta-fatto { border-color: transparent; box-shadow: 0 30px 60px -36px rgba(11, 60, 140, .45); height: 100%; }
.chiama .richiesta textarea { min-height: 96px; }
.chiama .rcampi { margin-top: 20px; }
@media (max-width: 900px) {
  .chiama { width: auto; padding: 50px 12px 30px; }
  .chiama-due { grid-template-columns: 1fr; gap: 26px; padding: 26px 16px 16px; border-radius: 30px; }
  .chiama-lato { gap: 22px; padding: 0 6px; }
  .chiama .richiesta, .chiama .richiesta-fatto { padding: 22px 18px; }
}
