/* FM Camper Service: stesso aspetto del sito WordPress, senza plugin.
   Misure prese dal vecchio sito a 1440 px (computer) e 375 px (telefono), 1/12/2026. */
@font-face { font-family: "Graduate"; src: url("/font/graduate-400.woff2") format("woff2"); font-weight: 300 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("/font/ubuntu-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("/font/ubuntu-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ubuntu"; src: url("/font/ubuntu-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --verde: #536347;
  --verde-scuro: #434f39;
  --marrone: #764e2b;
  --marrone-scuro: #5e3d21;
  --sabbia: #dfcdbe;
  --legno: #f5eee8;
  --fondo: #f6f6f6;
  --nero: #1d1d1b;
  --larghezza: 1180px;
  --testata: 140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--testata) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: "Ubuntu", system-ui, sans-serif; font-size: 16px; line-height: 1.65; color: var(--verde); background: var(--fondo); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Graduate", Georgia, serif; font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0; }
p { margin: 0 0 1em; }
.centro { text-align: center; }
.contenitore, .stretto { width: min(var(--larghezza), calc(100% - 45px)); margin-inline: auto; }

/* ---------- Testata ---------- */
.testata { position: sticky; top: 0; z-index: 50; background: var(--verde); color: #fff; }
.testata-in { width: min(var(--larghezza), calc(100% - 45px)); margin: 0 auto; height: var(--testata); display: flex; align-items: center; justify-content: space-between; }
.marchio img { width: 300px; height: auto; }
.testata nav, .testata nav > ul, .testata nav > ul > li { height: 100%; }
.testata nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.testata nav > ul > li > a, .testata summary { display: flex; align-items: center; height: 100%; padding: 0 15px; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 16px; letter-spacing: 1px; line-height: 1.3; cursor: pointer; }
.testata nav a:hover, .testata summary:hover, .testata [aria-current="page"], .testata summary.attivo { color: var(--sabbia); }
.menu-sotto details { height: 100%; }
.menu-sotto { position: relative; }
.menu-sotto summary { list-style: none; }
.menu-sotto summary::-webkit-details-marker { display: none; }
.menu-sotto summary::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.menu-sotto ul { position: absolute; top: calc(100% + 10px); left: 0; min-width: 190px; background: var(--sabbia); padding: 0 !important; display: block !important; box-shadow: 0 10px 20px rgba(41, 51, 61, .1); }
.menu-sotto li a { display: block; padding: 13px 20px; color: var(--verde); text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; line-height: 1.3; }
.menu-sotto li a:hover, .menu-sotto li a[aria-current="page"] { color: var(--marrone); }
.menu-apri, .menu-bottone { display: none; }

@media (max-width: 999px) {
  :root { --testata: 98px; }
  .marchio img { width: 200px; }
  .menu-bottone { display: block; width: 44px; height: 44px; position: relative; cursor: pointer; margin-right: -12px; }
  .menu-bottone span, .menu-bottone span::before, .menu-bottone span::after { position: absolute; width: 20px; height: 2px; background: #fff; content: ""; }
  .menu-bottone span { top: 21px; left: 12px; }
  .menu-bottone span::before { left: 0; top: -6px; }
  .menu-bottone span::after { left: 0; top: 6px; width: 14px; left: 6px; }
  .testata nav { display: none; position: absolute; top: var(--testata); left: 0; right: 0; height: auto; background: var(--verde); border-top: 1px solid rgba(255,255,255,.15); }
  .testata nav > ul, .testata nav > ul > li, .menu-sotto details { height: auto; }
  .menu-apri:checked ~ nav { display: block; }
  .testata nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 16px; }
  .testata nav > ul > li > a, .testata summary { padding: 12px 23px; }
  .menu-sotto ul { position: static; box-shadow: none; background: none; }
  .menu-sotto li a { color: #fff; padding: 9px 41px; font-size: 13px; }
}

/* ---------- Apertura (home) ---------- */
.apertura { position: relative; min-height: 810px; height: 90vh; max-height: 1000px; overflow: hidden; }
.apertura-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.apertura-testo { position: relative; width: min(var(--larghezza), calc(100% - 45px)); margin: 0 auto; padding-top: 65px; }
.apertura h1 { margin: 0; }
.apertura h1 img { width: 269px; }
.apertura p { font-size: 45px; line-height: 1; letter-spacing: 1px; color: var(--verde); margin: -13px 0 0 20px; }
@media (max-width: 767px) {
  .apertura { min-height: 0; height: 731px; }
  .apertura-foto { object-position: 62% 50%; }
  .apertura-testo { padding-top: 20px; text-align: center; }
  .apertura h1 img { width: 240px; margin: 0 auto; }
  .apertura p { font-size: 36px; letter-spacing: .5px; width: 230px; margin: -25px auto 0; }
}

/* ---------- Bottoni ---------- */
.bottone { display: inline-block; font-family: "Graduate", serif; font-weight: 300; text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: 1px; text-decoration: none; text-align: center; padding: 12px 40px; border-radius: 100px; border: 0; cursor: pointer; transition: background-color .3s, color .3s; }
.bottone.marrone { background: var(--marrone); color: var(--sabbia); letter-spacing: 2px; }
.bottone.marrone:hover { background: var(--marrone-scuro); }
.bottone.verde { background: var(--verde); color: var(--sabbia); }
.bottone.verde:hover { background: var(--verde-scuro); }
.bottone.sabbia { background: var(--sabbia); color: var(--verde); }
.bottone.sabbia:hover { background: #fff; }
.bottone.bianco { background: #fff; color: var(--marrone); letter-spacing: 2px; padding: 30px; border-radius: 30px; width: 330px; }
.bottone.bianco:hover { background: var(--sabbia); }
@media (max-width: 767px) {
  .bottone { font-size: 22px; padding: 12px 20px; letter-spacing: 0; }
  .bottone.marrone, .bottone.bianco { font-size: 26px; letter-spacing: 1px; }
  .bottone.bianco { padding: 25px; width: 290px; }
}

/* ---------- Fasce della home ---------- */
.fascia { padding: 70px 0; }
.titolo-grande { font-size: 85px; text-align: center; color: var(--marrone); }
.titolo-grande a { text-decoration: none; }
.titolo-grande.bianco { color: #fff; }
.titolo-grande.verde { color: var(--verde); }

.legno { background: var(--legno) url("/img/vanmood_sfondo_legno.webp") center / cover; padding: 50px 0 70px; }
.tessere { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 26px; margin: 50px auto 60px; padding: 0 10px; }
.tessera { width: 300px; height: 312px; border-radius: 40px; padding: 40px 10px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 20px; text-decoration: none; color: var(--marrone);
  box-shadow: inset 0 0 30px 10px rgba(0, 0, 0, .3); transition: background-color .3s; }
.tessera:hover { background-color: #eec59a; }
.tessera img { height: 180px; width: auto; max-width: 260px; }
.tessera span { font-family: "Graduate", serif; text-transform: uppercase; font-size: 32px; line-height: 1; }

.lavori { background: var(--verde) url("/img/vanmood_lavori.webp") center / cover; padding: 90px 0 110px; }
.bottoni-lavori { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 85px; margin: 80px 0 0; }

.sabbia { background: var(--sabbia); }
.chiara { background: var(--fondo); }

@media (max-width: 767px) {
  .titolo-grande { font-size: 50px; }
  .legno { padding: 40px 0 50px; }
  .tessere { flex-direction: column; align-items: center; margin: 40px auto 50px; }
  .tessera { height: 250px; padding: 30px 10px; }
  .tessera img { height: 140px; }
  .tessera span { font-size: 30px; }
  .lavori { padding: 60px 0; }
  .lavori .titolo-grande { max-width: 310px; margin: 0 auto; }
  .bottoni-lavori { flex-direction: column; align-items: center; margin-top: 40px; }
}

/* ---------- Domande (home) ---------- */
.faq { padding: 0 5px; }
.faq details { margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 10px 0 10px 29px; position: relative; color: var(--marrone); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; position: absolute; left: 6px; top: 22px; border: 5px solid transparent; border-left-color: currentColor; border-right-width: 0; transition: transform .15s; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq h3 { display: inline; font-size: 32px; line-height: 1.1; }
.faq .risposta { color: var(--marrone); padding: 6px 10px 18px 32px; font-size: 20px; line-height: 1.4; }
.faq .risposta > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .faq h3 { font-size: 22px; }
  .faq summary::before { top: 17px; }
  .faq .risposta { font-size: 17px; padding-left: 29px; }
}

/* ---------- Recensioni ---------- */
.recensioni-fascia { padding: 60px 0 80px; }
.recensioni { display: grid; grid-template-columns: repeat(3, 399px); justify-content: center; gap: 40px; margin: 50px auto 0; }
.recensione { margin: 0; background: #fff; border-radius: 40px; padding: 40px 30px; text-align: center; font-size: 16px; line-height: 1.65; color: var(--verde); }
.stelle { color: var(--verde); font-size: 30px; letter-spacing: 4px; line-height: 1; margin-bottom: 30px; }
.recensione blockquote { margin: 0 0 30px; }
.recensione blockquote p { margin: 0; }
.recensione figcaption { font-weight: 700; color: var(--verde); text-transform: uppercase; font-size: 20px; }
.bottoni-rec { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 67px; margin: 70px 0 0; }
.bottoni-rec .bottone { width: 510px; padding-inline: 10px; }
@media (max-width: 1300px) { .recensioni { grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% - 45px); } }
@media (max-width: 860px) {
  .recensioni { grid-template-columns: minmax(0, 330px); gap: 30px; }
  .bottoni-rec { flex-direction: column; align-items: center; }
  .bottoni-rec .bottone { width: 330px; max-width: 100%; }
}
@media (max-width: 767px) { .recensioni-fascia { padding: 50px 0 60px; } }

/* ---------- Pagine interne ---------- */
.titolo-pagina { padding: 60px 0; text-align: center; }
.titolo-pagina h1 { color: var(--verde); font-size: 100px; line-height: 1.2; }
.intro { padding: 0 0 70px; font-size: 20px; line-height: 1.4; }
.intro .stretto { width: min(1010px, calc(100% - 65px)); }
.intro p { margin-bottom: 30px; }
.intro p:last-child { margin-bottom: 0; }
.schede { padding: 0 0 90px; display: grid; gap: 40px; }

.scheda { width: min(var(--larghezza), calc(100% - 45px)); margin: 0 auto; display: grid; grid-template-columns: 482px minmax(0, 1fr); column-gap: 74px; align-items: center; padding: 50px 30px; border-radius: 50px; }
.scheda.verde { background: var(--verde); color: #fff; }
.scheda.verde .scheda-testo { order: 2; padding-right: 0; }
.scheda.verde > :not(.scheda-testo) { order: 1; }
.scheda.chiara { grid-template-columns: minmax(0, 1fr) 482px; padding-left: 10px; color: var(--verde); }
.scheda h2 { font-size: 56px; line-height: 1; }
.scheda h2 a { text-decoration: none; }
.scheda h2 small { display: block; font-size: inherit; }
.scheda-testo ul { padding-left: 30px; margin: 64px 0 0; font-size: 22px; line-height: 1.4; }
.scheda-bottone { margin: 68px 0 0; }
.scheda-bottone .bottone { width: 450px; max-width: 100%; padding-inline: 10px; }
.scheda.omologazioni { align-items: start; }
.scheda.omologazioni .scheda-testo { font-size: 18px; line-height: 1.2; max-width: 480px; }
.scheda.omologazioni .scheda-testo p { margin: 30px 0 0; }
.scheda.omologazioni .scheda-testo p + p { margin-top: 26px; }
.scheda.omologazioni ul { font-size: 18px; line-height: 1.2; margin-top: 26px; padding-left: 20px; }
.scheda-foto { width: 482px; height: 482px; object-fit: cover; border-radius: 50px; box-shadow: 0 0 12px rgba(0, 0, 0, .2); }

/* pagine dei lavori */
.scheda.lavoro { column-gap: 74px; }
.scheda.lavoro .scheda-testo { font-size: 20px; line-height: 1.4; padding-right: 0; }
.scheda.lavoro h2 { font-size: 40px; margin-bottom: 40px; }
.scheda.lavoro h2 small { font-size: .8em; margin-top: 2px; }
.scheda.lavoro .scheda-testo p { margin: 0 0 12px; }
.scheda.lavoro .scheda-testo ul { font-size: 20px; line-height: 1.4; margin: 0; padding-left: 30px; }
.scheda.lavoro .scheda-testo > :last-child { margin-bottom: 0; }

.chiamata { text-align: center; padding: 0 0 90px; }
.chiamata p:first-child { font-family: "Graduate", serif; text-transform: uppercase; color: var(--verde); font-size: 40px; line-height: 1; margin-bottom: 30px; }

@media (max-width: 1100px) {
  .scheda, .scheda.chiara { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .scheda-foto { width: 100%; height: auto; aspect-ratio: 1; }
  .scheda h2 { font-size: 44px; }
}
@media (max-width: 767px) {
  .titolo-pagina { padding: 50px 0 40px; }
  .titolo-pagina h1 { font-size: 40px; }
  .intro { font-size: 19px; }
  .intro .stretto { width: calc(100% - 65px); }
  .schede { gap: 40px; padding-bottom: 60px; }
  .scheda, .scheda.chiara { grid-template-columns: minmax(0, 1fr); padding: 40px 15px; border-radius: 30px; row-gap: 40px; }
  .scheda.verde .scheda-testo, .scheda.verde > :not(.scheda-testo) { order: 0; }
  .scheda h2 { font-size: 34px; }
  .scheda-testo ul { font-size: 20px; margin-top: 30px; }
  .scheda-bottone { margin-top: 30px; }
  .scheda-bottone .bottone { width: 100%; }
  .scheda-foto { width: 290px; height: 290px; margin: 0 auto; border-radius: 40px; }
  .scheda.lavoro .scheda-testo, .scheda.lavoro .scheda-testo ul { font-size: 19px; }
  .scheda.lavoro h2 { font-size: 30px; margin-bottom: 20px; }
  .chiamata p:first-child { font-size: 28px; }
}

/* ---------- Galleria ---------- */
.galleria { min-width: 0; width: 100%; max-width: 482px; }
.galleria-vista { position: relative; }
.galleria-foto { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; aspect-ratio: 482 / 450; }
.galleria-foto::-webkit-scrollbar { display: none; }
.galleria-foto li { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
.galleria-foto a, .galleria-foto img { display: block; width: 100%; height: 100%; }
.galleria-foto img { object-fit: cover; }
.galleria-freccia { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 44px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 40px; text-shadow: 0 0 6px rgba(0,0,0,.45); cursor: pointer; padding: 0; }
.galleria-freccia.indietro { left: 6px; }
.galleria-freccia.avanti { right: 6px; }
.galleria-mini { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; overflow-x: auto; scrollbar-width: none; }
.galleria-mini::-webkit-scrollbar { display: none; }
.galleria-mini button { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s; }
.galleria-mini button[aria-current="true"], .galleria-mini button:hover { opacity: 1; }
.galleria-mini img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
@media (max-width: 767px) { .galleria { margin: 0 auto; } }

/* ---------- Contatti ---------- */
.contatti { background: #fff; padding: 80px 0 110px; }
.contatti-griglia { width: min(var(--larghezza), calc(100% - 45px)); margin: 0 auto; display: grid; grid-template-columns: 627px minmax(0, 1fr); }
.modulo { padding: 0 0 0 25px; color: var(--verde); }
.modulo h2, .recapiti h2 { color: var(--verde); font-size: 30px; line-height: 1; }
.modulo h2 { margin-bottom: 30px; }
.recapiti { text-align: center; color: var(--nero); }
.recapiti h2 { margin-bottom: 20px; }
.recapiti p { font-size: 20px; line-height: 1.8; }
.recapiti a { color: var(--nero); text-decoration: none; }
.recapiti a:hover { text-decoration: underline; }
.recapiti h2:not(:first-child) { margin-top: 60px; }
.recapiti .indirizzo { line-height: 1.3; }
.orari { font-size: 15px !important; line-height: 1.5 !important; color: #6b6b6b; }
.nota { font-size: 14px; }
.modulo p { margin: 0 0 24px; }
.modulo label { display: block; font-size: 16px; margin-bottom: 8px; }
.modulo input, .modulo select, .modulo textarea { width: 100%; font: inherit; font-size: 16px; color: #6b6b6b; height: 48px; padding: 10px 15px; border: 1px solid #f7f7f7; border-radius: 0; background: #f7f7f7; }
.modulo select { background: #fff; border-color: #e1e1e1; border-radius: 3px; }
.modulo textarea { height: 150px; }
.modulo input:focus, .modulo select:focus, .modulo textarea:focus { outline: 2px solid var(--verde); outline-offset: 1px; }
.consenso { display: flex; gap: 12px; align-items: flex-start; }
.consenso input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 4px; }
.consenso label { font-size: 14px; line-height: 1.65; margin: 0; }
.consenso a { color: var(--nero); }
.modulo .bottone { font-size: 24px; font-weight: 500; letter-spacing: 2px; width: 250px; padding: 12px 10px; }
.nascosto { position: absolute; left: -9999px; }
.mappa { width: 400px; max-width: 100%; height: 400px; margin: 30px auto 0; background: var(--sabbia); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; }
.mappa p { font-size: 14px !important; line-height: 1.4 !important; margin: 0; color: var(--verde); }
.mappa .bottone { font-size: 20px; }
.mappa.aperta { padding: 0; }
.mappa iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .contatti { padding: 70px 0 80px; }
  .contatti-griglia { grid-template-columns: minmax(0, 1fr); }
  .recapiti { order: -1; margin-bottom: 80px; }
  .modulo { padding: 0 20px; }
  .recapiti p { font-size: 18px; }
  .mappa { width: 290px; }
}

/* ---------- Piede ---------- */
.piede { background: var(--verde); color: #fff; text-align: center; padding: 70px 0 78px; font-size: 20px; line-height: 1.4; }
.piede-in { width: min(944px, calc(100% - 45px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 11px; }
.piede-col { padding: 0 10px; }
.piede h2 { font-size: 40px; margin-bottom: 30px; }
.piede p { margin: 0 0 12px; }
.piede a { text-decoration: none; }
.piede a:hover { text-decoration: underline; }
.piede-iva { margin-top: 52px !important; }
.piede-policy { display: flex; justify-content: center; gap: 20px; margin-top: 40px !important; }
.piede-policy a { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: rgba(0, 0, 0, .65); font: 700 11px/1.25 -apple-system, system-ui, sans-serif; padding: 4px 8px 4px 7px; border-radius: 3px; }
.piede-policy a::before { content: ""; width: 3px; height: 10px; border-radius: 2px; background: #1cc691; }
.piede-policy a:hover { text-decoration: none; background: #f2f2f2; }
@media (max-width: 767px) {
  .piede { padding: 60px 0 70px; font-size: 18px; }
  .piede-in { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .piede h2 { font-size: 32px; margin-bottom: 25px; }
  .piede-iva, .piede-policy { margin-top: 40px !important; }
}

:focus-visible { outline: 2px solid var(--sabbia); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* modulo come il vecchio (Ninja Forms) */
.modulo label { font-weight: 700; }
.modulo .req { color: #e80000; }
.modulo input, .modulo textarea { border-color: #dcdcdc; }
.consenso { margin-bottom: 6px !important; align-items: center; }
.consenso input { margin-top: 0; }
.consenso label { font-size: 16px; font-weight: 700; }
.consenso-testo { font-size: 14px; line-height: 1.65; margin-bottom: 24px !important; }
.consenso-testo a { color: var(--nero); }
.mappa { border-radius: 20px; overflow: hidden; }
@media (max-width: 767px) { .scheda.lavoro h2 { text-align: center; } }

/* tablet: il vecchio non è stato misurato qui, si tiene leggibile */
@media (min-width: 768px) and (max-width: 1299px) { .tessere { max-width: 680px; } }
@media (min-width: 768px) and (max-width: 1100px) { .titolo-pagina h1 { font-size: clamp(56px, 8vw, 100px); } }
@media (min-width: 768px) and (max-width: 900px) {
  .scheda, .scheda.chiara { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding: 50px 30px; }
  .scheda.verde .scheda-testo, .scheda.verde > :not(.scheda-testo) { order: 0; }
  .scheda-foto { width: 482px; height: 482px; margin: 0 auto; }
  .galleria { margin: 0 auto; }
}
