/* Revamping.eu – foglio di stile unico */

@font-face {
  font-family: "Open Sans";
  src: url("/fonts/open-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --yellow: #fcde04;
  --yellow-dark: #e6c800;
  --black: #0d0d0d;
  --dark: #1b1c1d;
  --text: #333638;
  --muted: #676b6d;
  --line: #dfe2e3;
  --grey: #f2f3f3;
  --white: #fff;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --shadow: 0 10px 30px rgb(0 0 0 / 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 15.5px/1.75 var(--body);
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--black); }
h1, h2, h3, h4 { color: var(--black); line-height: 1.25; margin: 0 0 .6em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p, ul, ol { margin: 0 0 1.1em; }
figure { margin: 0; }
strong { color: var(--black); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--black); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(860px + 2 * var(--gutter)); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--dark); }

/* ------------------------------------------------------------ bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--yellow); color: var(--black); border: 2px solid var(--yellow);
  font: 700 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em;
  padding: 1em 1.8em; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: var(--black); }
.btn-outline { background: transparent; border-color: var(--black); }
.btn-outline:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; border-color: #333; color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ------------------------------------------------------------ testata */
.topbar { background: var(--dark); color: #b9bdbf; font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { color: var(--yellow); }
@media (max-width: 760px) { .topbar-h24, .topbar .social { display: none; } .topbar a[href^="mailto"] { display: none; } }

.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(255 255 255 / .08); color: #d5d8d9; }
.social a:hover { background: var(--yellow); color: var(--black); }
.social .icon { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid #222; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { flex: none; }
.logo img { width: 210px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { text-decoration: none; }
.nav-list > li > a {
  display: block; padding: 28px 9px; color: var(--white);
  font: 600 .72rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .03em;
}
.nav-list > li > a:hover, .nav-list > li.is-current > a, .nav-list > li:focus-within > a { color: var(--yellow); }
.sub-toggle { background: none; border: 0; color: #aaa; padding: 4px; margin-left: -8px; cursor: pointer; display: grid; }
.sub-toggle .icon { width: 14px; height: 14px; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--yellow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { display: block; padding: 8px 20px; font-size: .86rem; color: var(--text); line-height: 1.4; }
.sub a:hover, .sub a[aria-current] { background: var(--grey); color: var(--black); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.lang { gap: 2px; margin-left: 12px; }
.nav-list > .lang > a { padding: 6px 8px; font: 700 .72rem/1 var(--body); color: #999; border: 1px solid #333; border-radius: var(--radius); letter-spacing: .04em; }
.lang a[aria-current] { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.lang a:hover { color: var(--white); border-color: #666; }
.lang a[aria-current]:hover { color: var(--black); }

@media (max-width: 1279px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--black);
    max-height: calc(100vh - 76px); overflow-y: auto; border-top: 1px solid #222; display: none;
  }
  .nav-open .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid #222; }
  .nav-list > li > a { flex: 1; padding: 15px 0; font-size: .82rem; }
  .sub-toggle { margin: 0; padding: 12px; }
  .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: #161616; padding: 4px 0 10px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { color: #ccc; padding: 9px 16px; }
  .sub a:hover, .sub a[aria-current] { background: none; color: var(--yellow); }
  .lang { margin: 16px 0 0; border: 0; justify-content: flex-start; gap: 8px; }
  .nav-list > .lang > a { flex: none; padding: 9px 16px; }
}
@media (max-width: 420px) { .logo img { width: 190px; } }

/* ------------------------------------------------------------ slider home */
.slider { position: relative; height: clamp(440px, 72vh, 720px); background: var(--black); overflow: hidden; color: var(--white); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .52); }
.slide-text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.slide-title { font: 700 clamp(2.1rem, 6.2vw, 4.4rem)/1.08 var(--head); text-transform: uppercase; margin: 0 0 .2em; text-shadow: 0 2px 20px rgb(0 0 0 / .4); }
.slide-sub { font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 400; margin: 0 0 1.2em; color: #eee; }
.slide-badges { width: min(300px, 70vw); }
.slider-btn {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  background: rgb(0 0 0 / .25); color: var(--white); border: 0; width: 48px; height: 64px; cursor: pointer; display: grid; place-items: center;
}
.slider-btn:hover { background: var(--yellow); color: var(--black); }
.slider-btn .icon { width: 30px; height: 30px; }
.slider-prev { left: 0; } .slider-next { right: 0; }
.slider-dots { position: absolute; z-index: 2; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgb(255 255 255 / .45); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--yellow); }
@media (max-width: 700px) { .slider-btn { display: none; } }

/* ------------------------------------------------------------ titolo pagina */
.page-hero { position: relative; background: var(--grey); text-align: center; padding: clamp(40px, 6vw, 64px) 0; }
.page-hero h1 { font: 600 clamp(1.7rem, 4vw, 2.6rem)/1.2 var(--head); margin: 0 0 .4em; }
.page-hero.has-bg { color: var(--white); padding: clamp(72px, 11vw, 140px) 0; background: var(--black); overflow: hidden; }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }
.page-hero.has-bg h1 { color: var(--white); text-shadow: 0 2px 16px rgb(0 0 0 / .4); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--muted); }
.has-bg .crumbs ol { color: #ddd; }
.crumbs li + li::before { content: "/"; margin: 0 .6em; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

.quote-bar { margin: 28px 0 0; }
.quote-bar a {
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px;
  background: var(--yellow); color: var(--black); border-radius: var(--radius); text-decoration: none;
  font-weight: 700; text-align: center; line-height: 1.4;
}
.quote-bar a:hover { background: var(--yellow-dark); }
.quote-bar .icon { width: 22px; height: 22px; }

/* ------------------------------------------------------------ sezioni */
.band { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.band-tight { padding: clamp(32px, 4.5vw, 52px) 0; }
.band-intro { padding-bottom: 8px; }
.band-grey { background: var(--grey); }
/* due sezioni bianche consecutive non raddoppiano lo spazio */
.band:not(.band-grey):not(.band-photo) + .band:not(.band-grey):not(.band-photo) { padding-top: 0; }
.band-photo { color: #eee; background: var(--black); overflow: hidden; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .62); }
.band-photo .wrap { position: relative; z-index: 1; }
.band-photo .section-title, .band-photo strong { color: var(--white); }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.section-title { font: 600 clamp(1.5rem, 3.2vw, 2.15rem)/1.2 var(--head); text-transform: uppercase; letter-spacing: .01em; }
.section-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--yellow); margin-top: .45em; }
.section-title.center::after, .center > .section-title::after { margin-left: auto; margin-right: auto; }
.section-title.small { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.section-title + .cards, .section-title + .apps { margin-top: 28px; }

.cols { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; }
  .cols-media { align-items: center; }
}
.cols-media figure img { border-radius: var(--radius); box-shadow: var(--shadow); }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.features { display: grid; gap: 32px; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { text-align: center; padding: 0 8px; }
.feature-icon, .pillar-icon {
  width: 68px; height: 68px; padding: 18px; border-radius: 50%; background: var(--yellow); color: var(--black);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 16px; display: block;
}
.feature h3 { font: 600 1.15rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.feature p { color: var(--muted); margin: 0; }

.cards { display: grid; gap: 22px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-label { display: block; padding: 16px; text-align: center; font: 600 1.05rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--black); border-bottom: 3px solid var(--yellow); position: relative; background: var(--white); }

.link-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; list-style: none; padding: 0; margin: 32px 0 0; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-list .icon { color: var(--yellow-dark); width: 20px; height: 20px; }

.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 32px 0 0; }
.brands li { background: var(--white); border-radius: var(--radius); padding: 8px; display: grid; place-items: center; }
.brands img { width: 100%; max-width: 150px; aspect-ratio: 2 / 1; object-fit: contain; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0 0 28px; }
@media (min-width: 560px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 8px; background: var(--white); border-radius: var(--radius); font-weight: 600; color: var(--black); line-height: 1.3; font-size: .9rem; }
.band-grey .values li { background: var(--white); }
.band:not(.band-grey) .values li { background: var(--grey); }
.values .icon { width: 30px; height: 30px; color: var(--black); stroke-width: 1.6; }
.values-4 { margin-top: 36px; }
@media (min-width: 900px) { .values-4 { grid-template-columns: repeat(4, 1fr); } .values-4 li { padding: 28px 12px; font-size: 1rem; } .values-4 .icon { width: 40px; height: 40px; } }

.contact-info { display: grid; gap: 4px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 28px 0; }
.contact-info h3 { display: flex; align-items: center; gap: 8px; font: 600 1.05rem/1.2 var(--head); text-transform: uppercase; }
.contact-info .icon { color: var(--yellow-dark); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--grey); border-radius: var(--radius); padding: 26px 24px 10px; border-top: 3px solid var(--yellow); }
.band-grey .steps li { background: var(--white); }
.steps h3::before { content: counter(step, decimal-leading-zero); display: block; font: 700 1.9rem/1 var(--head); color: var(--yellow-dark); margin-bottom: 10px; }
.steps p { font-size: .94rem; }

.pillars { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 28px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { text-align: center; }
.pillars h3 { font: 600 1.15rem/1.3 var(--head); text-transform: uppercase; }
.pillars p { color: var(--muted); font-size: .95rem; }

.diag { display: grid; gap: 20px; margin: 28px 0 44px; }
@media (min-width: 800px) { .diag { grid-template-columns: repeat(2, 1fr); } }
.diag article { background: var(--grey); border-radius: var(--radius); padding: 24px 26px 8px; border-left: 3px solid var(--yellow); }
.diag h3 { font: 600 1.08rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.diag p, .diag li { font-size: .94rem; }
.diag ul { padding-left: 1.2em; }

.videos { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 800px) { .videos { grid-template-columns: 1fr 1fr; } }
.video-link { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--black); border-radius: var(--radius); overflow: hidden; }
.video-link img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-link:hover img { opacity: 1; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-play .icon { width: 72px; height: 72px; padding: 20px 18px 20px 22px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.video figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.h24 { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px 0 0; padding: 20px; border: 2px solid var(--yellow); border-radius: var(--radius); font: 600 clamp(1.2rem, 3vw, 1.6rem)/1.3 var(--head); color: var(--black); text-transform: uppercase; }
.h24 .icon { width: 1.4em; height: 1.4em; color: var(--yellow-dark); }
.h24 a { text-decoration: none; }

/* ------------------------------------------------------------ gallerie */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--grey); }
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }
.gallery-more { margin-top: 8px; }
.gallery-more > summary { list-style: none; display: flex; width: max-content; margin: 20px auto; }
.gallery-more > summary::-webkit-details-marker { display: none; }
.gallery-more[open] > summary { display: none; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(0 0 0 / .94); color: var(--white); }
.lightbox::backdrop { background: rgb(0 0 0 / .8); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100% - 120px); max-height: calc(100% - 80px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; padding: 12px; display: grid; }
.lightbox button:hover { color: var(--yellow); }
.lightbox .icon { width: 36px; height: 36px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .85rem; color: #bbb; }
@media (max-width: 700px) { .lightbox img { max-width: 100%; } }

/* ------------------------------------------------------------ ruote */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .apps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .apps { grid-template-columns: repeat(6, 1fr); } }
.apps a { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; height: 100%; box-shadow: 0 2px 10px rgb(0 0 0 / .05); }
.apps img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.apps span { display: block; padding: 10px 8px; text-align: center; font-weight: 700; font-size: .82rem; line-height: 1.3; color: var(--black); border-top: 3px solid var(--yellow); }
.apps a:hover span { background: var(--yellow); }

.sector { padding: clamp(40px, 6vw, 64px) 0 8px; }
.sector + .sector { border-top: 1px solid var(--line); }
.sector-overview { margin: 8px 0 28px; }
/* nessuna larghezza forzata: vale quella reale (attributo width), ridotta solo se non c'è spazio */
.sector-overview img { margin: 0 auto; border-radius: var(--radius); }
.sector-split { display: grid; gap: 24px; align-items: start; margin-top: 8px; }
.sector-split .sector-overview { margin: 0; }
.sector-split .wheels { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (min-width: 800px) { .sector-split { grid-template-columns: auto 1fr; gap: 32px; } }
.wheels { display: grid; gap: 18px; }
@media (min-width: 700px) { .wheels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .wheels { grid-template-columns: repeat(3, 1fr); } }
.wheel { background: var(--grey); border-radius: var(--radius); padding: 22px 22px 6px; display: flex; flex-direction: column; }
.wheel h3 { font: 600 1.05rem/1.3 var(--head); text-transform: uppercase; letter-spacing: .02em; }
.wheel p { font-size: .92rem; }
.wheel-cat { margin-top: auto; font-size: .82rem !important; color: var(--muted); }
.wrap > .sector:last-child { padding-bottom: clamp(40px, 6vw, 64px); }

/* ------------------------------------------------------------ articolo */
.post-date { color: var(--muted); font-size: .9rem; }
.post-figure { margin-bottom: 28px; }
.post-figure img { border-radius: var(--radius); margin: 0 auto; }
.zoom { display: block; cursor: zoom-in; }

/* ------------------------------------------------------------ moduli */
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); align-self: start; }
.form-grid { display: grid; gap: 14px 18px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--white);
  border: 1px solid #cdd1d3; border-radius: var(--radius); padding: 10px 12px; min-height: 44px;
}
.field input[type="file"] { padding: 8px; font-size: .85rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgb(252 222 4 / .55); }
.form-sub { margin: 8px 0 -4px; font: 600 .95rem/1.3 var(--head); text-transform: uppercase; color: var(--black); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--muted); margin: 18px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--black); }
.form-actions { margin: 0; }
.form-status { margin: 14px 0 0; font-weight: 600; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1d7a35; }
.form-status.is-error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------ invito al contatto */
.cta { background: var(--yellow); color: var(--black); text-align: center; padding: clamp(40px, 6vw, 64px) 0; }
.cta h2 { font: 600 clamp(1.2rem, 2.6vw, 1.6rem)/1.35 var(--head); max-width: 860px; margin: 0 auto .6em; }
.cta p { margin-bottom: .9em; }
.cta a:not(.btn) { font-weight: 700; }

.modal { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; padding: 0; border-radius: var(--radius); box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
.modal::backdrop { background: rgb(0 0 0 / .65); }
.modal-box { padding: clamp(22px, 4vw, 40px); position: relative; }
.modal h2 { font: 600 1.5rem/1.2 var(--head); text-transform: uppercase; margin-right: 40px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--black); display: grid; }
.modal-close .icon { width: 26px; height: 26px; }

/* ------------------------------------------------------------ piè di pagina */
.site-footer { background: var(--black); color: #a7abad; font-size: .88rem; }
.footer-grid { display: grid; gap: 36px; padding-top: clamp(44px, 6vw, 64px); padding-bottom: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font: 600 1rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 16px; }
.site-footer ul:not(.social) { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid #222; padding: 14px 0; font-size: .78rem; color: #7c8082; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-bottom p { margin: 0; }
.footer-sitemap { position: relative; }
.footer-sitemap summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  color: #c5c8ca; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 4px 0;
}
.footer-sitemap summary::-webkit-details-marker { display: none; }
.footer-sitemap summary:hover { color: var(--yellow); }
.footer-sitemap .icon { width: 13px; height: 13px; transform: rotate(180deg); transition: transform .15s; }
.footer-sitemap[open] .icon { transform: none; }
.site-footer .footer-sitemap ul {
  position: absolute; right: 0; bottom: calc(100% + 8px); min-width: 250px; z-index: 5;
  background: #1b1c1d; border-top: 3px solid var(--yellow); padding: 8px 0; box-shadow: 0 -10px 30px rgb(0 0 0 / .4);
}
.site-footer .footer-sitemap li { margin: 0; }
.footer-sitemap a { display: block; padding: 7px 18px; font-size: .84rem; color: #c5c8ca; }
@media (max-width: 560px) { .site-footer .footer-sitemap ul { left: 0; right: auto; } }
