/* Font ospitati nel sito (cartella fonts/): niente chiamate a Google, più veloce e conforme al GDPR */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Colori presi dal logo */
  --brand: #c4432a;      /* rosso per testi e pulsanti: leggibile (contrasto AA) */
  --brand-dark: #a83822;
  --brand-logo: #df5236; /* rosso esatto del tetto, per fasce e decorazioni */
  --mauve: #b29c9e;      /* prima fascia */
  --rose: #d4c2c2;       /* seconda e terza fascia */
  --navy: #231f20;       /* nero caldo della scritta (usato per le parti scure) */
  --ink: #2b2627;
  --muted: #6f6567;
  --line: #ece4e4;
  --soft: #f7f2f2;
  --dark: #1f1b1c;
  --white: #fff;
  --content: 1180px;
  /* Font: Barlow Condensed per titoli e numeri (stile cartello di cantiere), Barlow per i testi */
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --serif: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(var(--content), calc(100% - 44px)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h2 { margin-bottom: 16px; color: var(--navy); font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.02; }
.section-intro { max-width: 690px; margin-bottom: 38px; color: var(--muted); }
.button { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid var(--brand); border-radius: 3px; background: var(--brand); color: var(--white); font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); background: var(--brand-dark); border-color: var(--brand-dark); }
.button--outline { background: transparent; border-color: rgba(255,255,255,.8); }
.button--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
:focus-visible { outline: 3px solid #f2ae45; outline-offset: 3px; }

.topbar { background: var(--navy); color: #fff; font-size: .83rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__whatsapp { color: #fff; }
.topbar__icon { color: var(--rose); font-size: 1rem; }

.site-header { position: sticky; z-index: 20; top: 0; background: #fff; box-shadow: 0 5px 20px rgba(26,34,40,.08); }
.header-main { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { flex: 0 1 285px; display: inline-flex; align-items: center; text-decoration: none; }
.logo img { width: 260px; height: auto; }
.logo-fallback { display: none; color: var(--navy); font-size: 1.04rem; font-weight: 800; line-height: 1.1; }
.logo-fallback span { display: block; color: var(--brand); font-size: .68rem; letter-spacing: .12em; }
.nav { display: flex; align-items: stretch; gap: 4px; }
.nav a { display: flex; align-items: center; min-height: 48px; padding: 0 18px; color: var(--navy); font-family: var(--serif); font-size: 1.02rem; font-weight: 700; letter-spacing: .045em; text-decoration: none; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav .nav__contact { background: var(--brand); color: #fff; }
.nav .nav__contact:hover { background: var(--brand-dark); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 44px; border: 0; background: var(--brand); color: #fff; font-size: 1.35rem; cursor: pointer; }

.hero { position: relative; min-height: 590px; display: grid; overflow: hidden; color: #fff; background: #4a4344; }
.hero h1, .hero .hero__title { max-width: 760px; margin: 0 0 20px; color: #fff; font: 700 clamp(3rem, 7vw, 6rem)/.98 var(--serif); letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.hero .hero__title--long { max-width: 900px; font-size: clamp(2.2rem, 5vw, 4.6rem); }
.hero .eyebrow { color: var(--rose); }
.hero p { max-width: 620px; margin-bottom: 30px; color: rgba(255,255,255,.91); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Idea 2: slider. Le slide sono impilate e si alternano in dissolvenza. */
.hero-slide { position: relative; isolation: isolate; background: #4a4344; grid-area: 1 / 1; display: grid; align-items: center; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 46%; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-slide__img { transform: scale(1); }
.hero-slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(35,31,32,.78), rgba(35,31,32,.36) 62%, rgba(35,31,32,.2)); }
.hero__content { position: relative; z-index: 1; padding-block: 90px 130px; }
.hero__content > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hero-slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero__content > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero__content > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero__content > :nth-child(4) { transition-delay: .36s; }

.slider-controls { position: absolute; left: max(22px, calc((100% - var(--content)) / 2)); bottom: 44px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.slider-arrow { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(35,31,32,.25); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.slider-arrow:hover { background: var(--brand); border-color: var(--brand); }
.slider-dots { display: flex; gap: 4px; padding-inline: 6px; }
.slider-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dots button::before { display: block; width: 9px; height: 9px; margin: auto; border: 1px solid #fff; border-radius: 50%; content: ""; transition: background .2s, transform .2s; }
.slider-dots button[aria-current="true"]::before { background: #fff; transform: scale(1.25); }

/* La nostra azienda: linea del tempo 2004 → 2015 → oggi */
.milestones { padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); }
.milestones__head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 48px); }
.milestones__head h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.milestones__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.milestones__list::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-logo), var(--mauve) 55%, var(--rose)); }
.milestone { position: relative; padding-top: 44px; }
.milestone::before { content: ""; position: absolute; top: 0; left: 0; width: 23px; height: 23px; box-sizing: border-box; border: 5px solid var(--brand-logo); border-radius: 50%; background: var(--white); }
.milestone:last-child::before { background: var(--brand-logo); }
.milestone strong { display: block; margin-bottom: 10px; color: var(--brand); font: 700 clamp(2.4rem, 4vw, 3.3rem)/1 var(--serif); text-transform: uppercase; }
.milestone p { max-width: 30ch; margin: 0; color: var(--muted); }
.milestone p b { color: var(--ink); font-weight: 700; }
.milestones__link { display: inline-flex; gap: 6px; margin-top: clamp(28px, 4vw, 40px); }

.services { padding: 105px 0 94px; }
.section-heading { margin-bottom: 35px; }
.section-heading--center { text-align: center; }
.section-heading--center .section-intro { margin-inline: auto; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 285px; display: flex; align-items: end; overflow: hidden; background: #4a4344; color: #fff; text-decoration: none; }
.service-card__image { position: absolute; inset: 0; background-position: center; background-size: cover; transition: transform .5s; }
.service-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(23,20,21,.08) 0%, rgba(23,20,21,.55) 42%, rgba(23,20,21,.9) 100%); }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__body { position: relative; z-index: 1; padding: 24px; }
.service-card__number { display: inline-block; margin-bottom: 9px; color: var(--rose); font-size: .75rem; font-weight: 700; letter-spacing: .14em; }
.service-card h3 { margin: 0 0 8px; color: #fff; font-size: 1.55rem; line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }
.service-card p { margin: 0; color: rgba(255,255,255,.82); font-size: .9rem; }

.partner { position: relative; overflow: hidden; padding: 66px 0; background: var(--navy); color: #fff; }
.partner::after { position: absolute; top: 0; right: -60px; bottom: 0; width: 470px; content: ""; background: linear-gradient(90deg, var(--mauve) 0 24%, transparent 24% 29%, var(--rose) 29% 53%, transparent 53% 58%, var(--rose) 58% 82%, transparent 82%); opacity: .14; transform: skewX(34deg); transform-origin: bottom; pointer-events: none; }
.partner__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.partner .eyebrow { color: var(--rose); }
.partner h2 { max-width: 680px; margin-bottom: 12px; color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.partner p { max-width: 700px; margin: 0; color: #e4dbdb; }
.partner .button { flex: 0 0 auto; }

.projects { padding: 100px 0; background: var(--soft); }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project { min-width: 0; background: #fff; box-shadow: 0 5px 18px rgba(31,39,44,.06); }
.project__photo { position: relative; aspect-ratio: 1.13 / 1; overflow: hidden; background: #e3dada; }
.project__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.project:hover .project__photo img { transform: scale(1.045); }
.project__body { padding: 19px 20px 22px; }
.project__body span { color: var(--brand); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.project__body h3 { margin: 7px 0 0; color: var(--navy); font-size: 1.3rem; }
.projects__footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.projects__footer p { max-width: 760px; margin: 0; color: var(--muted); font-size: .94rem; }
.text-link { color: var(--brand); font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.about { padding: 96px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__visual { position: relative; min-height: 390px; background: #e3dada; }
.about__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__visual::after { position: absolute; right: -18px; bottom: -18px; width: 55%; height: 58%; border-right: 8px solid var(--brand-logo); border-bottom: 8px solid var(--brand-logo); content: ""; pointer-events: none; }
.about__copy p { color: var(--muted); }
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.timeline__item { padding: 17px 18px; border-left: 3px solid var(--brand); background: var(--soft); }
.timeline__item strong { display: block; color: var(--brand); font: 700 1.6rem/1.1 var(--serif); }
.timeline__item span { display: block; margin-top: 6px; color: var(--muted); font-size: .87rem; }

.contact { padding: 92px 0; background: var(--soft); }
.contact__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact__details { display: grid; gap: 18px; margin-top: 30px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.contact-item__icon { width: 42px; height: 42px; display: grid; place-items: center; background: #f6ebe8; color: var(--brand); font-weight: 700; }
.contact-item strong { display: block; color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-item a, .contact-item span { color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--brand); }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 38px); background: #fff; box-shadow: 0 12px 35px rgba(28,34,38,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; color: var(--navy); font-size: .84rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #e2d8d8; border-radius: 2px; background: #fff; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(223,82,54,.25); border-color: var(--brand); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 400; }
.consent input { margin-top: 5px; accent-color: var(--brand); }
.consent a { color: var(--brand); }
.form-note { min-height: 1.3em; margin: -3px 0 0; color: var(--muted); font-size: .8rem; }

.faq { padding: 92px 0; }
.faq__inner { max-width: 900px; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 45px 20px 0; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 17px; right: 4px; color: var(--brand); content: "+"; font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 750px; padding: 0 30px 20px 0; margin: 0; color: var(--muted); }

.footer { padding: 42px 0 22px; background: var(--dark); color: #d4d9dd; font-size: .85rem; }
.footer__main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
.footer__brand img { width: 230px; height: auto; }
.footer__brand p { max-width: 430px; margin: 17px 0 0; color: #c2b6b7; }
.footer__legal { text-align: right; }
.footer__legal p { margin: 0 0 7px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #ab9fa0; font-size: .77rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 15; width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.55rem; text-decoration: none; box-shadow: 0 5px 18px rgba(0,0,0,.22); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float .wa-icon { width: 30px; height: 30px; }
.whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

@media (max-width: 980px) {
  .nav a { padding-inline: 11px; font-size: .76rem; }
  .logo { flex-basis: 225px; }
  .logo img { width: 215px; }
  .service-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 310px; }
  .contact__grid { gap: 35px; }
}
@media (max-width: 760px) {
  .container { width: min(var(--content), calc(100% - 32px)); }
  .topbar__inner { justify-content: center; gap: 8px 16px; flex-wrap: wrap; padding: 8px 0; }
  .header-main { min-height: 72px; }
  .logo { flex: 1; }
  .logo img { width: min(230px, 70vw); }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: #fff; box-shadow: 0 14px 18px rgba(26,34,40,.12); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 46px; padding-inline: 14px; }
  .nav .nav__contact { justify-content: center; margin-top: 6px; }
  .hero { min-height: 520px; }
  .hero-slide__img { object-position: 57% center; }
  .hero__content { padding-block: 64px 110px; }
  .hero h1, .hero .hero__title { max-width: 620px; }
  .slider-controls { left: 16px; bottom: 32px; }
  .hero-slide::after { background: linear-gradient(180deg, rgba(35,31,32,.72), rgba(35,31,32,.6)); }
  .milestones__list { grid-template-columns: 1fr; gap: 28px; padding-left: 40px; }
  .milestones__list::before { top: 6px; bottom: 6px; left: 10px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--brand-logo), var(--mauve) 55%, var(--rose)); }
  .milestone { padding-top: 0; }
  .milestone::before { top: 6px; left: -40px; }
  .services, .projects, .about, .contact, .faq { padding-block: 72px; }
  .service-card { min-height: 275px; }
  .partner__inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 42px; }
  .about__visual { min-height: 300px; margin-right: 16px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__main { flex-direction: column; }
  .footer__legal { text-align: left; }
  .footer__links { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 500px) {
  body { font-size: 15px; }
  .topbar { font-size: .75rem; }
  .topbar__inner { justify-content: space-between; }
  .hero { min-height: 560px; }
  .hero h1, .hero .hero__title { font-size: clamp(2.4rem, 11vw, 3.3rem); }
  .hero .hero__title--long { font-size: clamp(1.4rem, 7.6vw, 2.4rem); }
  .hero__buttons { align-items: stretch; flex-direction: column; max-width: 280px; }
  .hero__buttons .button { width: 100%; }
  .milestone strong { font-size: 2.3rem; }
  .service-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .projects__footer { align-items: flex-start; flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ===== Idea 1: animazioni allo scorrimento, menu attivo, header compatto ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.site-header, .header-main, .logo img { transition: min-height .3s ease, width .3s ease, box-shadow .3s ease; }
.site-header.is-compact { box-shadow: 0 6px 24px rgba(26,34,40,.14); }
.site-header.is-compact .header-main { min-height: 64px; }
.site-header.is-compact .logo img { width: 210px; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-slide__img { transform: none; }
  .hero__content > * { opacity: 1; transform: none; }
}
.nav .nav__contact[aria-current="page"] { background: var(--brand-dark); color: #fff; }

/* Firma del logo: quattro fasce (rosso, malva, rosa, rosa chiaro) sotto le sezioni chiave */
.brand-stripes { display: flex; gap: 4px; height: 6px; }
.brand-stripes span { flex: 1; transform: skewX(34deg); }
.brand-stripes span:nth-child(1) { background: var(--brand-logo); }
.brand-stripes span:nth-child(2) { background: var(--mauve); }
.brand-stripes span:nth-child(3), .brand-stripes span:nth-child(4) { background: var(--rose); }
.footer .brand-stripes { width: 120px; margin-top: 20px; }

/* ===== Servizi: invito a scoprire ===== */
.service-card__more { display: inline-flex; gap: 6px; margin-top: 12px; color: #fff; font-size: .82rem; font-weight: 700; opacity: .85; transition: opacity .2s, gap .2s; }
.service-card:hover .service-card__more { gap: 10px; opacity: 1; }

/* ===== Come lavoriamo ===== */
.process { padding: 96px 0; background: var(--soft); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-step { position: relative; padding: 28px 24px 26px; background: #fff; border-top: 4px solid var(--rose); }
.process-step:first-child { border-top-color: var(--brand-logo); }
.process-step:nth-child(2) { border-top-color: var(--mauve); }
.process-step__n { display: block; margin-bottom: 14px; color: var(--brand); font: 700 2.4rem/1 var(--serif); }
.process-step h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.45rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .93rem; }
.process-step:not(:last-child)::after { position: absolute; top: 44px; right: -14px; z-index: 1; color: var(--mauve); content: "→"; font-size: 1.1rem; }

/* ===== Lavori: filtri e foto cliccabili ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { min-height: 40px; padding: 8px 16px; border: 1px solid #e2d8d8; border-radius: 999px; background: #fff; color: var(--navy); font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.project[hidden] { display: none; }
.project__photo { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; }
.project__zoom { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand); font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.project:hover .project__zoom, .project__photo:focus-visible .project__zoom { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: 60px 1fr 60px; align-items: center; gap: 10px; padding: 24px; background: rgba(23,20,21,.94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__figure img { max-height: 80vh; margin: 0 auto; object-fit: contain; background: #3a3435; min-width: 200px; min-height: 160px; }
.lightbox__figure figcaption { margin-top: 12px; color: #e4dbdb; font-weight: 600; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border: 0; background: none; color: #fff; font-size: 2.2rem; cursor: pointer; }
.lightbox__arrow { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox__arrow:hover, .lightbox__close:hover { color: var(--brand); border-color: var(--brand); }

/* ===== Dove lavoriamo ===== */
.area { padding: 96px 0; }
.area__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.area__list li { position: relative; padding-left: 26px; color: var(--muted); }
.area__list li::before { position: absolute; top: .55em; left: 0; width: 14px; height: 6px; background: var(--brand-logo); content: ""; transform: skewX(34deg); }
.area__list li:nth-child(2)::before { background: var(--mauve); }
.area__list li:nth-child(n+3)::before { background: var(--rose); }
.area__list strong { color: var(--navy); }
.area__map { background: var(--soft); }
.area__map-frame { display: block; width: 100%; height: 320px; border: 0; }
/* Mappa caricata solo al clic (privacy): disegno di strade al posto della mappa */
.area__map-wait { position: relative; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: linear-gradient(115deg, transparent 46%, #fff 46% 49%, transparent 49%), linear-gradient(20deg, transparent 58%, #fff 58% 60%, transparent 60%), linear-gradient(90deg, transparent 30%, #ece2e2 30% 31.5%, transparent 31.5%), linear-gradient(0deg, transparent 62%, #ece2e2 62% 63.5%, transparent 63.5%), var(--soft); }
.area__map-wait small { color: #6a5f60; font-size: .82rem; }
.area__map-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--brand-logo); transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.area__map-pin::after { content: ""; display: block; width: 10px; height: 10px; margin: 10px; border-radius: 50%; background: #fff; }
.area__address { display: grid; gap: 4px; padding: 22px 24px; background: #fff; border-top: 1px solid var(--line); }
.area__address strong { color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.area__address span { color: var(--muted); }
.area__address .area__address-next { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ===== Preventivo guidato ===== */
.quote { position: relative; }
.quote fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 16px; }
.quote legend { margin-bottom: 16px; padding: 0; color: var(--navy); font: 700 1.7rem/1.1 var(--serif); text-transform: uppercase; }
.quote__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; counter-reset: q; }
.quote__steps li { counter-increment: q; padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.quote__steps li::before { content: counter(q) ". "; }
.quote__steps li.is-done { border-top-color: var(--mauve); }
.quote__steps li.is-current { border-top-color: var(--brand); color: var(--navy); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: grid; gap: 2px; height: 100%; padding: 14px 14px 13px; border: 1px solid #e2d8d8; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice strong { color: var(--navy); font-size: .95rem; }
.choice small { color: var(--muted); font-size: .78rem; }
.choice:hover span { border-color: var(--mauve); }
.choice input:checked + span { border-color: var(--brand); background: #fdf3f1; box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid #f2ae45; outline-offset: 2px; }
.field select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #e2d8d8; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; }
.field select:focus { outline: 2px solid rgba(223,82,54,.25); border-color: var(--brand); }
.field input::placeholder, .field textarea::placeholder { color: #a99d9e; }
.quote__error { margin: 0; color: #b3361f; font-size: .85rem; font-weight: 600; }
.quote__nav { display: flex; justify-content: space-between; gap: 12px; }
.quote__nav [data-quote="next"], .quote__nav [type="submit"] { margin-left: auto; }
.button--ghost { background: transparent; border-color: #e2d8d8; color: var(--navy); }
.button--ghost:hover { background: var(--soft); border-color: var(--mauve); color: var(--navy); }
.quote__trap { position: absolute; left: -9999px; }
.quote__done { display: grid; justify-items: start; gap: 6px; padding: 10px 0; }
.quote__done[hidden] { display: none; }
.quote__done-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.6rem; }
.quote__done h3 { margin: 8px 0 0; color: var(--navy); font: 700 1.6rem/1.2 var(--serif); }
.quote__done p { margin: 0; color: var(--muted); }
.quote__done a { color: var(--brand); }
.quote.is-sent > :not(.quote__done) { display: none; }
.button[disabled] { opacity: .6; cursor: progress; }

/* ===== Barra contatti su smartphone ===== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.2fr; padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; box-shadow: 0 -6px 20px rgba(26,22,23,.14); }
  .mobile-bar a { font-family: var(--serif); text-transform: uppercase; letter-spacing: .04em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: var(--navy); font-size: .74rem; font-weight: 700; text-decoration: none; }
  .mobile-bar a span { font-size: 1.15rem; line-height: 1; color: var(--brand); }
  .mobile-bar .wa-icon { display: block; width: 1.15rem; height: 1.15rem; }
  .mobile-bar .mobile-bar__main { background: var(--brand); color: #fff; }
  .mobile-bar .mobile-bar__main span { color: #fff; }
  .whatsapp-float { display: none; }
  body { padding-bottom: 58px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2)::after { display: none; }
  .area, .process { padding-block: 72px; }
  .area__grid { grid-template-columns: 1fr; gap: 32px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 12px; }
  .lightbox__arrow { position: absolute; bottom: 18px; }
  .lightbox__arrow--prev { left: calc(50% - 60px); }
  .lightbox__arrow--next { right: calc(50% - 60px); }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .quote__steps li { font-size: .68rem; letter-spacing: .02em; }
}

/* ===== Prima e dopo (pronto: serve una coppia di foto) ===== */
.before-after { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: #e3dada; user-select: none; --pos: 50%; }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.before-after__after { clip-path: inset(0 0 0 var(--pos)); }
.before-after__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.before-after__line::after { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; content: "⇆"; transform: translate(-50%, -50%); }
.before-after input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.before-after__tag { position: absolute; top: 12px; padding: 4px 10px; background: rgba(35,31,32,.75); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.before-after__tag--before { left: 12px; }
.before-after__tag--after { right: 12px; }

/* ===== Pagine dei servizi ===== */
.page-hero { position: relative; padding: 86px 0 74px; overflow: hidden; background: var(--navy); color: #fff; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .42; }
.page-hero::after { position: absolute; top: 0; right: -80px; bottom: 0; width: 420px; content: ""; background: linear-gradient(90deg, var(--brand-logo) 0 22%, transparent 22% 27%, var(--mauve) 27% 49%, transparent 49% 54%, var(--rose) 54% 76%, transparent 76% 81%, var(--rose) 81%); opacity: .22; transform: skewX(34deg); transform-origin: bottom; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--rose); }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -.02em; text-wrap: balance; }
.page-hero p { max-width: 640px; margin: 0 0 28px; color: rgba(255,255,255,.9); font-size: 1.12rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; color: #cdbfc0; font-size: .82rem; }
.breadcrumb li + li::before { margin-right: 8px; content: "/"; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-body { padding: 86px 0; }
.page-body__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: start; }
.page-body__text { min-width: 0; }
.page-body__text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 8px; }
.page-body__text p { color: var(--muted); max-width: 68ch; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 22px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink); }
.check-list li::before { position: absolute; top: .1em; left: 0; color: var(--brand); content: "✓"; font-weight: 700; }
.page-aside { position: sticky; top: 110px; display: grid; gap: 14px; padding: 30px; background: var(--soft); border-top: 4px solid var(--brand); }
.page-aside h2 { margin: 0; font-size: 1.5rem; }
.page-aside p { margin: 0; color: var(--muted); font-size: .94rem; }
.page-aside a:not(.button) { color: var(--brand); font-weight: 700; text-decoration: none; }
.other-services { padding: 0 0 86px; }
.other-services .service-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .page-body__grid { grid-template-columns: 1fr; gap: 36px; }
  .page-aside { position: static; }
  .check-list { grid-template-columns: 1fr; }
  .other-services .service-grid { grid-template-columns: 1fr; }
  .page-body { padding-block: 64px; }
}
.process-steps--compact { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.process-steps--compact .process-step { background: var(--soft); padding: 22px 20px; }
.process-steps--compact .process-step::after { display: none; }
.process-steps--compact .process-step__n { font-size: 1.8rem; margin-bottom: 8px; }
@media (max-width: 500px) { .process-steps--compact { grid-template-columns: 1fr; } }
.contact__grid > *, .area__grid > *, .page-body__grid > * { min-width: 0; }
.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-form > *, .quote__panel > * { min-width: 0; }
.choice strong { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 760px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .choice span { padding: 12px 10px; } .choice strong { font-size: .88rem; } }

/* ===== Menu con sottomenu ===== */
.nav__item { position: relative; display: flex; align-items: stretch; }
.nav__item > a { padding-right: 6px; }
.nav__sub-toggle { display: grid; place-items: center; width: 26px; padding: 0; border: 0; background: none; color: var(--navy); font-size: .8rem; cursor: pointer; transition: transform .2s, color .2s; }
.nav__item:hover .nav__sub-toggle, .nav__sub-toggle[aria-expanded="true"] { color: var(--brand); }
.nav__sub { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 240px; display: grid; padding: 8px 0; border-top: 3px solid var(--brand); background: #fff; box-shadow: 0 14px 30px rgba(26,22,23,.14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
.nav .nav__sub a { min-height: 42px; padding: 0 20px; font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.nav .nav__sub a:hover, .nav .nav__sub a[aria-current="page"] { background: var(--soft); color: var(--brand); }
@media (max-width: 980px) { .nav .nav__sub a { font-size: .9rem; } }
@media (max-width: 760px) {
  .nav { max-height: calc(100vh - 140px); overflow-y: auto; }
  .nav__item { flex-wrap: wrap; }
  .nav__item > a { flex: 1; }
  .nav__sub-toggle { width: 48px; font-size: 1rem; }
  .nav__sub-toggle[aria-expanded="true"] span { display: inline-block; transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 6px 14px; border-top: 0; border-left: 3px solid var(--rose); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: none; }
  .nav__item.is-open .nav__sub { display: grid; }
}
@media (max-width: 760px) { #site-nav > a, #site-nav .nav__item > a { font-size: 1.15rem; } }

/* Accessibilità: link per saltare al contenuto, visibile solo con la tastiera */
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 10px; }

/* ===== Pagina Lavori svolti ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero--short { padding-block: 70px 60px; }
.projects--page { padding-top: 56px; }
.project-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-grid--page .project__photo { aspect-ratio: 16 / 10; }
.project__text { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.projects__cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 44px; padding: 34px 36px; background: var(--navy); color: #fff; }
.projects__cta .eyebrow { color: var(--rose); }
.projects__cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.projects__cta p { margin: 0; color: #e4dbdb; }
.projects__cta .button { flex: 0 0 auto; }

/* ===== Pagina non trovata ===== */
.notfound { padding: 90px 0 100px; }
.notfound__inner { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.notfound__code { color: var(--rose); font: 700 clamp(6rem, 18vw, 13rem)/.85 var(--serif); letter-spacing: -.02em; }
.notfound h1 { margin-bottom: 14px; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; }
.notfound p { max-width: 56ch; color: var(--muted); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.notfound__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.notfound__list a { color: var(--brand); font-weight: 600; text-decoration: none; }
.notfound__list a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .projects__cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .notfound__inner { grid-template-columns: 1fr; gap: 10px; }
  .notfound { padding-block: 60px 72px; }
}
@media (max-width: 500px) { .project-grid--page { grid-template-columns: 1fr; } }

/* ===== Volteco: video rotondo e formazione ===== */
.partner__inner { align-items: center; }
.partner__text { min-width: 0; }
.partner__points { display: grid; gap: 8px; margin: 20px 0 26px; padding: 0; list-style: none; }
.partner__points li { position: relative; padding-left: 26px; color: #e4dbdb; }
.partner__points li::before { position: absolute; top: .1em; left: 0; color: var(--brand-logo); content: "✓"; font-weight: 700; }
.partner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.text-link--light { color: #fff; }
.video-circle { flex: 0 0 auto; display: grid; justify-items: center; gap: 12px; margin: 0; }
.video-circle__frame { position: relative; width: clamp(220px, 26vw, 320px); aspect-ratio: 1; max-width: 100%; border-radius: 50%; overflow: hidden; background: #000; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 0 0 14px rgba(223,82,54,.25), 0 18px 40px rgba(0,0,0,.35); }
.video-circle video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.video-circle__sound { position: absolute; right: 14%; bottom: 10%; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(23,20,21,.7); color: #fff; font-size: 1.1rem; cursor: pointer; }
.video-circle__sound:hover { background: var(--brand); }
.video-circle figcaption { max-width: 26ch; color: #d9cfcf; font-size: .88rem; text-align: center; }
.video-circle--light figcaption { color: var(--muted); }
.video-circle--light .video-circle__frame { box-shadow: 0 0 0 6px #fff, 0 0 0 12px var(--rose), 0 14px 30px rgba(35,31,32,.18); }

.training { padding: 0 0 86px; }
.training__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; align-items: start; }
.training__item { margin: 0; min-width: 0; }
.training__item img { width: 100%; height: 100%; aspect-ratio: 9 / 14; object-fit: cover; background: #e3dada; }
.training__item--wide img { aspect-ratio: 4 / 3; }
.training__item figcaption { margin-top: 8px; color: var(--muted); font-size: .88rem; }
@media (max-width: 980px) {
  .partner__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .training__grid { grid-template-columns: 1fr 1fr; }
  .training__item--wide { grid-column: 1 / -1; grid-row: auto; }
  .training { padding-bottom: 64px; }
}

/* ===== Lavoro in evidenza: showroom ===== */
.project__photo--link { display: block; position: relative; }
.project__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; background: rgba(35,31,32,.8); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.featured-job { padding: 64px 0 10px; }
.featured-job__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.featured-job__head h2 { margin: 0; }
.featured-job__head p:last-child { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__item { position: relative; display: block; padding: 0; border: 0; overflow: hidden; background: #e3dada; cursor: zoom-in; aspect-ratio: 16 / 10; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item:hover .project__zoom, .gallery__item:focus-visible .project__zoom { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .featured-job__head { grid-template-columns: 1fr; gap: 14px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* Galleria con foto verticali (scattate col telefono) */
.featured-job--alt { padding-top: 40px; }
.gallery--portrait { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gallery--portrait .gallery__item { aspect-ratio: 9 / 16; }
.project__photo--link img { object-position: center 60%; }
/* Schede larghe in home (ristorante e progetto): due per riga sotto le 4 schede */
.project--wide { grid-column: span 2; }
.project--wide .project__photo { aspect-ratio: 16 / 9; }
.project--wide .project__photo img { object-position: center 50%; }
@media (max-width: 500px) {
  .project--wide { grid-column: auto; }
  .project--wide .project__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 980px) { .gallery--portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 500px) { .gallery--portrait { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Galleria bagno: foto verticali + una orizzontale larga */
.gallery--bath { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery--bath .gallery__item { aspect-ratio: 9 / 16; }
.gallery--bath .gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery--bath .gallery__item--wide img { position: absolute; inset: 0; }
@media (max-width: 500px) {
  .gallery--bath { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--bath .gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
}

/* Cantiere passo per passo (durante / a lavoro finito) */
.steps-gallery { display: grid; gap: 26px; }
.steps-gallery__label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--navy); font: 700 1.25rem/1 var(--serif); letter-spacing: .03em; text-transform: uppercase; }
.steps-gallery__label span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--mauve); color: #fff; font-size: 1rem; }
.steps-gallery__label--done span { background: var(--brand); }
/* Galleria con foto quasi quadrate (ristorante): la prima è grande, 9 foto riempiono 3 righe */
.gallery--square .gallery__item { aspect-ratio: 9 / 10; }
.gallery--square .gallery__item--big { aspect-ratio: auto; }
@media (max-width: 760px) { .gallery--square .gallery__item--big { aspect-ratio: 9 / 10; } }
.gallery--strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery--strip .gallery__item { aspect-ratio: 3 / 4; }
.gallery--done { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery--done .gallery__item { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .gallery--strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery--done { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Box "Lavoro in evidenza" nelle pagine servizio */
.case-box { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; margin: 6px 0 34px; padding: 14px; border-left: 4px solid var(--brand-logo); background: var(--soft); color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.case-box:hover { box-shadow: 0 10px 26px rgba(35,31,32,.1); transform: translateY(-2px); }
.case-box img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.case-box__body { display: grid; gap: 6px; }
.case-box__body .eyebrow { margin: 0; }
.case-box strong { color: var(--navy); font: 700 1.35rem/1.1 var(--serif); text-transform: uppercase; }
.case-box__body > span:not(.eyebrow):not(.case-box__link) { color: var(--muted); font-size: .93rem; }
.case-box__link { color: var(--brand); font-weight: 700; }
@media (max-width: 500px) { .case-box { grid-template-columns: 1fr; } }

/* Modulo candidature */
.job-form { align-self: start; }
.job-form__title { margin: 0 0 6px; font-size: 1.8rem; }
.job-form.is-sent > :not(.quote__done) { display: none; }

/* ===== Recensioni Google ===== */
.reviews { padding: 96px 0; background: var(--soft); }
.reviews__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.reviews__head h2 { margin: 0; }
.reviews__score { display: grid; justify-items: end; gap: 2px; color: var(--navy); text-decoration: none; }
.reviews__score strong { font: 700 3.6rem/1 var(--serif); }
.reviews__score-stars { color: #e3a33a; font-size: 1.3rem; letter-spacing: 2px; }
.reviews__score span:last-child { color: var(--muted); font-size: .9rem; }
.reviews__score:hover span:last-child { color: var(--brand); text-decoration: underline; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { display: grid; align-content: start; gap: 12px; margin: 0; padding: 28px 28px 24px; background: #fff; border-top: 4px solid var(--rose); }
.review:nth-child(1) { border-top-color: var(--brand-logo); }
.review:nth-child(2) { border-top-color: var(--mauve); }
.review__stars { color: #e3a33a; letter-spacing: 2px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review figcaption { display: grid; gap: 2px; }
.review figcaption strong { color: var(--navy); font-family: var(--serif); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.review figcaption span { color: var(--muted); font-size: .85rem; }
.reviews__footer { margin-top: 24px; }
@media (max-width: 760px) {
  .reviews { padding-block: 72px; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__score { justify-items: start; }
  .reviews__grid { grid-template-columns: 1fr; }
}
