/*
 * Landing e fasce promozionali (prima: "Residenza Via Michelangelo").
 *
 * Dal progetto di Claude Design del 2026-09-30 (design/Residenza Via
 * Michelangelo.html), misurato sulle sue pagine a 1440 e 390 px. Eredita i
 * token del sito: Poppins, blu #0033c7 (scritto per esteso: --primary del tema
 * vale ancora #007bff), pulsanti a pillola, grigi di Bootstrap.
 *
 * Tutto sotto .res, così non tocca il resto del sito. Niente .container: nel
 * tema ha padding 0 e overflow hidden, che qui taglierebbero testi e focus.
 */

.res {
  --res-blue: #0033c7;
  --res-blue-dark: #00279a;
  --res-blue-soft: #e1e8ff;
  --res-ink: #212529;
  --res-ink-2: #343a40;
  --res-muted: #495057;
  --res-text: #666;
  --res-line: #e9ecef;
  --res-field: #ced4da;
  --res-alt: #f8f9fa;
  --res-error: #c82333;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--res-text);
}
.res *, .res *::before, .res *::after { box-sizing: border-box; }
.res img { display: block; max-width: 100%; }
.res ul, .res ol, .res dl { margin: 0; padding: 0; list-style: none; }
.res p { margin: 0; }

.res-wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 20px; }
.res-stack { display: flex; flex-direction: column; gap: 48px; }

.res-section { padding: 96px 0; background: #fff; }
.res-section--alt { background: var(--res-alt); }

/* Intestazione di fascia: occhiello con linea, titolo, testo */
.res-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.res-eyebrow { display: flex; align-items: center; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: var(--res-blue); line-height: 1.5; }
.res-eyebrow::after { content: ''; flex-grow: 1; height: 1px; background: var(--res-blue-soft); margin-left: 20px; }
.res-h2 { margin: 0; font-size: 34px; font-weight: 500; line-height: 1.25; color: #000; }
.res-lead, .res-lead p { font-size: 16px; line-height: 1.7; color: var(--res-text); }

/* Pulsanti (pillole del sito) */
.res-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.res .res-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 11px 24px; border: 1px solid var(--res-blue); border-radius: 30px;
  font-family: inherit; font-size: 16px; font-weight: 400; line-height: 24px;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.res .res-btn--primary, .res .res-btn--primary:visited { background: var(--res-blue); color: #fff; }
.res .res-btn--primary:hover, .res .res-btn--primary:focus { background: var(--res-blue-dark); border-color: var(--res-blue-dark); color: #fff; }
.res .res-btn--outline, .res .res-btn--outline:visited { background: transparent; color: var(--res-blue); }
.res .res-btn--outline:hover, .res .res-btn--outline:focus { background: var(--res-blue); color: #fff; }
.res .res-btn--light, .res .res-btn--light:visited { background: #fff; border-color: #fff; color: #000; }
.res .res-btn--light:hover, .res .res-btn--light:focus { background: var(--res-blue-soft); border-color: var(--res-blue-soft); color: #000; }
.res a:focus-visible, .res button:focus-visible, .res input:focus-visible, .res select:focus-visible, .res textarea:focus-visible {
  outline: 3px solid var(--res-blue); outline-offset: 2px;
}
.res-band .res-btn:focus-visible, .res-call a:focus-visible, .res-stats a:focus-visible { outline-color: #fff; }

/* Etichetta "Rendering non vincolante" */
.res-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(20,19,19,.72); color: #fff; font-size: 12px; font-weight: 400; line-height: 1.2; padding: 4px 8px; letter-spacing: .3px; }
.res-tag--sm { left: 12px; bottom: 12px; font-size: 11px; }
.res-tag--xs { left: 8px; bottom: 8px; font-size: 10px; }

/* ---------- Fascia in home (variante B) ---------- */
.res-band { padding: 64px 0; background: #fff; }
.res-band__box { display: flex; background: #212529; min-height: 480px; }
.res-band__media { position: relative; flex: 0 0 50.77%; overflow: hidden; }
.res-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }
.res-band__body { flex: 1; padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.res-chip { display: inline-block; background: var(--res-blue); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; padding: 8px 16px; border-radius: 30px; line-height: 1.2; }
.res-band__title { margin: 0; font-size: 44px; font-weight: 600; line-height: 1.15; color: #fff; }
.res-band__text { margin-top: 10px !important; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85); }
.res-band__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin: 0; }
.res-band__facts > div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 14px; }
.res-band__facts dt { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.78); margin-bottom: 4px; }
.res-band__facts dd { margin: 0; font-size: 30px; font-weight: 500; color: #fff; line-height: 1.2; }

/* ---------- Apertura della landing ---------- */
.res-hero { display: flex; min-height: 640px; background: #fff; }
.res-hero__body { flex: 0 0 43%; padding: 48px 20px 48px max(70px, calc((100vw - 1300px) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.res-hero__eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--res-blue); line-height: 1.5; }
.res-hero__title { margin: 0; font-size: 56px; font-weight: 600; line-height: 1.15; color: #000; }
.res-hero__text, .res-hero__text p { font-size: 18px; line-height: 1.7; color: var(--res-text); max-width: 500px; }
.res-hero__note { font-size: 14px; color: var(--res-muted); }
.res-hero__media { position: relative; flex: 1; overflow: hidden; }
.res-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }

/* Dati chiave su foto con velo blu */
.res-stats { position: relative; padding: 80px 0; background: var(--res-blue); overflow: hidden; }
.res-stats__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-stats::before { content: ''; position: absolute; inset: 0; background: var(--res-blue); opacity: .86; z-index: 1; }
.res-stats .res-wrap { position: relative; z-index: 2; }
.res-stats__list { display: flex; max-width: 1000px; margin: 0 auto !important; }
.res-stats__item { flex: 1; text-align: center; }
.res-stats__value { display: block; font-size: 44px; font-weight: 500; color: #fff; line-height: 1.25; }
.res-stats__label { display: block; font-size: 16px; color: rgba(255,255,255,.88); }

/* Presentazione: testo + immagine */
.res-split { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.res-split__text { flex: 0 1 600px; display: flex; flex-direction: column; gap: 24px; }
.res-split__text .res-head { max-width: none; }
.res-split__media { position: relative; flex: 0 1 620px; aspect-ratio: 4 / 3; overflow: hidden; }
.res-split__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.res-points { display: flex; flex-direction: column; gap: 14px; }
.res-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--res-ink); }
.res-points__icon { display: flex; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--res-blue-soft); color: var(--res-blue); align-items: center; justify-content: center; }

/* Card appartamento */
.res-units--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.res-unit { display: flex; background: #fff; border: 1px solid var(--res-line); }
.res-units--grid .res-unit { flex-direction: column; }
.res-unit__media { position: relative; flex: 0 0 49.2%; min-height: 560px; overflow: hidden; }
.res-units--grid .res-unit__media { min-height: 0; aspect-ratio: 4 / 3; }
.res-unit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.res-unit--venduto .res-unit__media img, .res-unit--prenotato .res-unit__media img { filter: grayscale(1); }
.res-status { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; border-radius: 30px; line-height: 1; background: var(--res-blue); color: #fff; border: 1px solid var(--res-blue); }
.res-status--prenotato, .res-status--venduto { background: var(--res-line); color: var(--res-ink-2); border-color: var(--res-line); }
.res-unit__body { flex: 1; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.res-unit__kicker { font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--res-muted); }
.res-unit__title { margin: 0; font-size: 32px; font-weight: 500; line-height: 1.2; color: #000; }
.res-unit__text, .res-unit__text p { font-size: 16px; line-height: 1.7; color: var(--res-text); }
.res-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.res-specs li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--res-ink); line-height: 1.4; }
.res-specs li::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; background: var(--res-blue); }
.res-specs li:first-child { font-weight: 500; }
.res-price { min-height: 64px; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--res-line); border-bottom: 1px solid var(--res-line); padding: 8px 0; }
.res-price__label { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--res-muted); margin-bottom: 2px; }
.res-price__value { font-size: 40px; font-weight: 500; color: #000; line-height: 1.1; }
.res-price__value--note { font-size: 22px; color: var(--res-ink-2); }
.res-unit .res-actions { margin-top: 6px; }

/* Dotazioni */
.res-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.res-feature { background: #fff; border: 1px solid var(--res-line); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.res-feature__icon { display: flex; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--res-blue); color: var(--res-blue); align-items: center; justify-content: center; }
.res-feature__title { font-size: 18px; font-weight: 500; line-height: 1.35; color: #000; }
.res-feature__text { font-size: 15px; line-height: 1.6; }

/* Galleria */
.res-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 27px; }
.res .res-gallery__item { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.res-gallery__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.res-gallery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.res-gallery__item:hover img { transform: scale(1.03); }
.res-gallery__zoom { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--res-blue); display: flex; align-items: center; justify-content: center; }
.res-gallery__caption { font-size: 14px; color: var(--res-ink); }

/* Cronoprogramma */
.res-stack:has(.res-timeline) { align-items: stretch; }
.res-timeline { position: relative; display: flex; width: 100%; max-width: 900px; margin: 8px auto 0 !important; }
.res-timeline::before { content: ''; position: absolute; top: 13px; left: calc(50% / var(--res-steps)); right: calc(50% / var(--res-steps)); height: 2px; background: var(--res-field); }
.res-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.res-step__dot { width: 28px; height: 28px; border-radius: 50%; border: 5px solid var(--res-blue); background: #fff; position: relative; z-index: 1; }
.res-step--completato .res-step__dot { background: var(--res-blue); }
.res-step__state { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--res-blue); background: var(--res-blue-soft); padding: 6px 12px; border-radius: 30px; }
.res-step__when { font-size: 32px; font-weight: 500; color: #000; line-height: 1.2; }
.res-step__what { font-size: 18px; color: var(--res-text); }

/* Form + telefoni */
.res-contact { display: flex; align-items: stretch; }
.res-form { flex: 0 0 61.9%; background: #fff; border: 1px solid var(--res-line); padding: 40px; }
.res-form__hint { margin: 0 0 24px !important; font-size: 14px; line-height: 1.6; color: var(--res-ink-2); font-weight: 300; }
.res-form__hint b { font-weight: 500; }
.res-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.res-fields { display: flex; flex-direction: column; gap: 24px; }
.res-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.res-field { min-width: 0; }
.res-field label { display: block; font-size: 14px; font-weight: 500; color: var(--res-ink); margin-bottom: 6px; line-height: 1.4; }
.res-optional { font-weight: 300; color: #6c757d; margin-left: 6px; }
.res-field input[type=text], .res-field input[type=tel], .res-field input[type=email], .res-field select, .res-field textarea {
  display: block; width: 100%; height: 48px; padding: 0 14px; font-family: inherit; font-size: 16px; font-weight: 400;
  color: var(--res-ink); background: #fff; border: 1px solid var(--res-field); border-radius: 4px; box-shadow: none;
}
.res-field textarea { height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.res-field input::placeholder, .res-field textarea::placeholder { color: #8a9096; }
.res-field input:focus, .res-field select:focus, .res-field textarea:focus { border-color: var(--res-blue); outline: 2px solid var(--res-blue); outline-offset: 0; }
.res-select { position: relative; color: var(--res-muted); }
.res-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.res-select svg { position: absolute; right: 14px; top: 14px; pointer-events: none; }
.res-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; }
.res-check input { width: 24px; height: 24px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--res-blue); }
.res-field--check label { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--res-ink-2); margin: 0; }
.res-field--check label a { color: var(--res-blue); font-weight: 400; text-decoration: underline; }
.res-error { margin: 6px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--res-error); }
.res-error:empty { display: none; }
.res-field.is-invalid input, .res-field.is-invalid textarea, .res-field.is-invalid select { border: 2px solid var(--res-error); }
.res-field.is-invalid .res-error::before { content: '!'; display: inline-flex; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--res-error); color: #fff; font-size: 12px; font-weight: 600; align-items: center; justify-content: center; vertical-align: 1px; }
.res .res-btn--submit { min-height: 56px; padding: 15px 32px; }
.res-btn--submit[disabled] { opacity: .7; cursor: progress; }
.res-summary { margin-bottom: 24px; padding: 16px 20px; border: 2px solid var(--res-error); border-radius: 4px; background: #fff; }
.res-summary__title { font-weight: 500; color: var(--res-error); margin-bottom: 6px !important; }
.res-summary li { font-size: 14px; line-height: 1.6; }
.res-summary a { color: var(--res-ink); text-decoration: underline; }
.res-result { padding: 4px 0 8px; display: flex; flex-direction: column; gap: 12px; color: var(--res-ink-2); line-height: 1.7; }
.res-result--ko { margin-bottom: 24px; padding: 16px 20px; border: 2px solid var(--res-error); border-radius: 4px; }
.res-result__title { font-size: 24px; font-weight: 500; color: #000; display: flex; align-items: center; gap: 10px; }
.res-result--ok .res-result__title::before { content: ''; width: 28px; height: 28px; border-radius: 50%; background: var(--res-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.res-result--ko .res-result__title { color: var(--res-error); }
.res-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.res .res-pill, .res .res-pill:visited { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; color: var(--res-blue); text-decoration: none; border: 1px solid var(--res-blue); border-radius: 30px; font-size: 16px; font-weight: 500; }
.res .res-pill:hover, .res .res-pill:focus { background: var(--res-blue); color: #fff; }

.res-call { flex: 1; background: var(--res-blue); color: #fff; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.res-call__eyebrow { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.85); }
.res-call__title { font-size: 28px; font-weight: 500; line-height: 1.25; color: #fff; }
.res-call__phones { display: flex; flex-direction: column; gap: 12px; margin-top: 4px !important; }
.res .res-call__phone, .res .res-call__phone:visited { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 20px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; font-size: 26px; font-weight: 500; letter-spacing: .5px; }
.res .res-call__phone:hover, .res .res-call__phone:focus { background: rgba(255,255,255,.12); color: #fff; }
.res-call__icon { display: flex; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--res-blue); align-items: center; justify-content: center; }
.res-call__note { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.85); margin-top: 4px !important; }

/* Agenzia */
.res-agency { padding: 56px 0; background: #fff; }
.res-agency__box { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--res-line); border-bottom: 1px solid var(--res-line); padding: 40px 0; }
.res-agency__text { display: flex; flex-direction: column; gap: 8px; }
.res-agency__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--res-muted); }
.res-agency__name { font-size: 26px; font-weight: 500; color: #000; line-height: 1.3; }
.res-agency__note { font-size: 16px; color: var(--res-text); }
.res-agency__phones { display: flex; flex-wrap: wrap; gap: 12px; }

/* Barra fissa su mobile */
.res-sticky { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  .res-hero__title { font-size: 46px; }
  .res-band__body { padding: 40px; }
  .res-band__title { font-size: 36px; }
  .res-unit__body { padding: 32px; }
  .res-units--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .res-section { padding: 72px 0; }
  .res-band__box, .res-hero, .res-split, .res-unit, .res-contact { flex-direction: column; }
  .res-band__box { min-height: 0; }
  .res-band__media { flex: none; height: 360px; }
  .res-hero { min-height: 0; }
  .res-hero__media { order: -1; flex: none; height: 420px; }
  .res-hero__body { flex: none; padding: 40px 20px; }
  .res-split { align-items: stretch; gap: 40px; }
  .res-split__text, .res-split__media { flex: none; }
  .res-unit__media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .res-features, .res-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-form { flex: none; }
  .res-agency__box { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mobile (390 px nel progetto) ---------- */
@media (max-width: 767.98px) {
  .res-wrap { padding: 0 16px; }
  .res-section { padding: 48px 0; }
  .res-stack { gap: 32px; }
  .res-h2 { font-size: 28px; }
  .res-eyebrow { font-size: 14px; }
  .res-actions { flex-direction: column; }
  .res-actions .res-btn { width: 100%; }

  .res-band { padding: 32px 0; }
  .res-band__media { height: 224px; }
  .res-band__media img { object-position: 40% 50%; }
  .res-band__body { padding: 28px 24px; gap: 20px; }
  .res-chip { font-size: 11px; padding: 7px 14px; }
  .res-band__title { font-size: 30px; }
  .res-band__text { margin-top: 8px !important; font-size: 16px; }
  .res-band__facts dt { font-size: 11px; }
  .res-band__facts dd { font-size: 24px; }
  .res-band .res-btn { width: 100%; }

  .res-hero__media { height: 250px; }
  .res-hero__body { padding: 28px 20px 32px; gap: 16px; }
  .res-hero__eyebrow { font-size: 12px; }
  .res-hero__title { font-size: 34px; }
  .res-hero__text, .res-hero__text p { font-size: 16px; }
  .res-hero__note { font-size: 13px; }

  .res-stats { padding: 40px 0; }
  .res-stats__list { flex-wrap: wrap; row-gap: 28px; }
  .res-stats__item { flex: 0 0 50%; }
  .res-stats__value { font-size: 34px; }
  .res-stats__label { font-size: 14px; }

  .res-unit__body { padding: 24px 20px 28px; gap: 16px; }
  .res-unit__title { font-size: 24px; }
  .res-specs { grid-template-columns: 1fr; }
  .res-price__value { font-size: 32px; }
  .res-units--grid { grid-template-columns: 1fr; }

  .res-features { gap: 12px; }
  .res-feature { padding: 28px 12px; gap: 14px; }
  .res-feature__icon { width: 60px; height: 60px; }
  .res-feature__title { font-size: 15px; }
  .res-gallery { gap: 20px 16px; }
  .res-gallery__caption { font-size: 13px; }

  .res-timeline { flex-direction: column; gap: 32px; max-width: none; padding-left: 44px !important; }
  .res-timeline::before { top: 14px; bottom: 14px; left: 13px; right: auto; width: 2px; height: auto; }
  .res-step { align-items: flex-start; text-align: left; gap: 8px; }
  .res-step__dot { position: absolute; left: -44px; top: 0; }
  .res-step__when { font-size: 26px; }
  .res-step__what { font-size: 16px; }

  .res-form { padding: 24px 20px; }
  .res-row { grid-template-columns: 1fr; gap: 24px; }
  .res .res-btn--submit { width: 100%; }
  .res-call { padding: 28px 20px; }
  .res-call__title { font-size: 22px; }
  .res .res-call__phone { font-size: 22px; }
  .res-agency { padding: 40px 0 120px; }
  .res-agency__name { font-size: 22px; }

  .res-sticky {
    display: flex; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid var(--res-line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    font-family: 'Poppins', Arial, sans-serif; transition: transform .2s;
  }
  .res-sticky .res-btn { flex: 1; font-weight: 500; }
  .res-sticky.is-hidden { transform: translateY(110%); }
}

@media (prefers-reduced-motion: reduce) {
  .res-sticky, .res .res-btn, .res-gallery__media img { transition: none; }
}

/* Pulsante "Chiama l'agenzia" nel riquadro blu (nessun numero in chiaro) */
.res .res-call__cta, .res .res-call__cta:visited {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; align-self: flex-start;
  min-height: 56px; margin-top: 8px; padding: 14px 28px; border-radius: 30px;
  background: #fff; color: var(--res-blue); text-decoration: none; font-size: 18px; font-weight: 500;
}
.res .res-call__cta:hover, .res .res-call__cta:focus { background: var(--res-blue-soft); color: var(--res-blue); }
@media (max-width: 767.98px) { .res .res-call__cta { align-self: stretch; } }

/* Form semplice (es. "Scrivici" in home): una colonna, centrato */
.res-simple .res-head { max-width: 760px; }
.res-form--simple { flex: none; width: 100%; max-width: 820px; }

/* Recapiti in home: indirizzo, telefono ed email come tre pulsanti uguali
   (il tema colora di nero i link di .contact-section: qui si ridefinisce). */
.contact-section .contact-info a.contact-pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  margin-top: 8px; padding: 10px 20px; min-height: 48px; border-radius: 30px;
  background: #0033c7; border: 1px solid #0033c7; color: #fff;
  font-size: 15px; font-weight: 400; line-height: 1.35; text-decoration: none;
  transition: background-color .2s;
}
.contact-section .contact-info a.contact-pill svg { flex-shrink: 0; }
.contact-section .contact-info a.contact-pill:hover,
.contact-section .contact-info a.contact-pill:focus { background: #00279a; border-color: #00279a; color: #fff; }
.contact-section .contact-info a.contact-pill:focus-visible { outline: 3px solid #0033c7; outline-offset: 2px; }

/* ---------- Selettore delle lingue ---------- */
/* In alto: una voce del menu come le altre (globo + sigla), che apre l'elenco
   delle lingue scritte nella loro lingua; la corrente è spuntata. */
.lang-switch .dropdown-toggle { display: inline-flex !important; align-items: center; gap: 6px; }
.lang-switch .dropdown-toggle::after { margin-left: 2px; vertical-align: middle; }
.lang-switch .dropdown-menu {
  min-width: 190px; padding: 8px 0; margin-top: 0; border: 0; border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); font-family: 'Poppins', Arial, sans-serif;
}
.lang-switch .dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 18px; font-size: 14px; color: #212529;
}
.lang-switch .dropdown-item:hover, .lang-switch .dropdown-item:focus { background: #e1e8ff; color: #0033c7; }
.lang-switch__code { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: #6c757d; }
.lang-switch .dropdown-item.is-current { color: #0033c7; font-weight: 500; }
.lang-switch .dropdown-item.is-current .lang-switch__code::before { content: '✓  '; color: #0033c7; }
@media (max-width: 991.98px) {
  /* Nel menu mobile (fondo nero) l'elenco si apre dentro il menu. */
  #ftco-navbar .lang-switch .dropdown-menu { position: static !important; transform: none !important; background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 0 8px 22px !important; margin: 0 !important; }
  #ftco-navbar .lang-switch .dropdown-item { color: rgba(255,255,255,.75) !important; padding: 8px 0 !important; background: transparent !important; }
  #ftco-navbar .lang-switch .dropdown-item:hover, #ftco-navbar .lang-switch .dropdown-item:focus,
  #ftco-navbar .lang-switch .dropdown-item.is-current { color: #fff !important; }
  .lang-switch .dropdown-item.is-current .lang-switch__code::before { color: #fff; }
  .lang-switch__code { color: rgba(255,255,255,.5); }
}
/* Nel footer: una colonna "Lingua" come quella delle sezioni. */
.footer-lang a { display: inline-flex; align-items: center; gap: 10px; padding: 3px 0; }
.footer-lang__code { display: inline-block; min-width: 28px; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; opacity: .6; }
.footer-lang a.is-current { color: #fff; }
.footer-lang a.is-current .footer-lang__code { opacity: 1; }
/* Il tema taglia tutto ciò che esce da .container (overflow: hidden): nella
   barra di navigazione il menu delle lingue deve poter uscire. */
#ftco-navbar > .container { overflow: visible !important; }
.lang-switch__toggle { background: none; border: 0; cursor: pointer; font-family: inherit; }
.lang-switch__toggle:focus-visible { outline: 2px solid #0033c7; outline-offset: 2px; }
