/* Stile comune delle pagine interne del prototipo SEADS (stessi colori e regole della home) */
:root {
  --night: #050f24; --abyss: #071a3d; --deep: #002A94; --steel: #3F6B83; --slate: #254151;
  --sky: #1B75BB; --aqua: #5fc3f0; --yellow: #EFC94C; --light: #F3F3F3; --white: #FFFFFF;
  --ink: #0d1726; --muted: #5d6b76; --pill: 60px; --wrap: 1240px; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { margin: 0 0 18px; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 900; text-transform: uppercase; }
h3 { font-size: 21px; font-weight: 800; line-height: 1.2; }
p { margin: 0 0 16px; }
section { position: relative; padding: 110px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--sky); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 680px; }
.on-dark { color: var(--white); }
.on-dark .eyebrow { color: var(--yellow); }
.on-dark .lead { color: rgba(255,255,255,.78); }
.src { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Note per SEADS */
.todo { display: inline-block; background: rgba(239,201,76,.16); color: #a07c00; border: 1px dashed rgba(239,201,76,.9); border-radius: 6px; font-size: 11px; font-weight: 700; padding: 1px 7px; letter-spacing: .02em; vertical-align: middle; text-transform: none; line-height: 1.5; }
.on-dark .todo { color: var(--yellow); }
body.hide-notes .todo { display: none; }
.draft { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; padding: 8px 8px 8px 14px; border-radius: var(--pill); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.draft button { border: 0; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: var(--pill); cursor: pointer; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: var(--pill); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 30px rgba(239,201,76,.25); }
.btn-deep { background: var(--deep); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s; }
header.scrolled { background: rgba(5,15,36,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .35s; }
header.scrolled .nav { height: 68px; }
.logo img { height: 42px; width: auto; }
.menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 15px; color: rgba(255,255,255,.85); }
.menu a { text-decoration: none; white-space: nowrap; }
.menu a:hover, .menu a[aria-current] { color: var(--yellow); }
.nav-right { display: flex; align-items: center; gap: 16px; color: var(--white); }
.lang-sw { display: inline-flex; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--pill); padding: 3px; }
.lang-sw button { border: 0; background: transparent; color: rgba(255,255,255,.7); font-weight: 800; font-size: 12px; letter-spacing: .06em; padding: 6px 11px; border-radius: var(--pill); cursor: pointer; }
.lang-sw button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.nav .btn { padding: 12px 22px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--night); display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; gap: 6px; clip-path: circle(0 at calc(100% - 50px) 42px); transition: clip-path .6s var(--ease); }
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 42px); }
.mobile-menu a { color: var(--white); text-decoration: none; font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }

/* Apertura della pagina */
.page-hero { background: radial-gradient(ellipse at 80% 10%, rgba(27,117,187,.45), transparent 55%), linear-gradient(160deg, var(--abyss), var(--night)); color: var(--white); padding: 190px 0 110px; overflow: hidden; }
.page-hero h1 { font-size: clamp(40px, 6.5vw, 92px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.035em; line-height: .95; max-width: 15ch; }
.page-hero h1 .accent { color: var(--yellow); }
.page-hero .lead { color: rgba(255,255,255,.8); font-size: clamp(18px, 1.7vw, 22px); }
.page-hero.short { padding: 170px 0 80px; }

/* Storia */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.story-grid p { font-size: 18px; color: var(--slate); }
.quote-box { border-left: 4px solid var(--yellow); padding: 6px 0 6px 24px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }

/* Cronologia */
.timeline-sec { background: var(--light); }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sky), var(--yellow)); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 0 40px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 111px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--deep); }
.timeline li.now::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(239,201,76,.25); }
.timeline .yr { font-size: 22px; font-weight: 900; color: var(--deep); text-align: right; line-height: 1.3; }
.timeline .ev { background: var(--white); border-radius: 18px; padding: 18px 22px; box-shadow: 0 10px 30px rgba(13,23,38,.06); }
.timeline .ev b { display: block; font-size: 17px; margin-bottom: 2px; }
.timeline .ev span { color: var(--muted); font-size: 15px; }
.timeline .tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: var(--pill); padding: 2px 9px; margin-bottom: 6px; background: #eaf3f9; color: var(--deep); }
.timeline .tag.aw { background: #fdf3d4; color: #8a6a00; }
.timeline .tag.in { background: #e3f4ea; color: #1f8a5b; }
.timeline .tag.nx { background: #e4ecfb; color: #1949F2; }
.timeline li.next::before { background: var(--white); border-color: var(--yellow); border-style: dashed; }
.timeline .ev .next-list { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.timeline .ev .next-list li { display: list-item; grid-template-columns: none; padding: 0; margin: 4px 0; position: static; }
.timeline .ev .next-list li::before { content: none; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; margin-top: 40px; }
.member { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 24px; background: var(--light); }
.member .av { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--deep)); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 22px; object-fit: cover; filter: grayscale(1); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--yellow); }
.member b { display: block; font-size: 19px; }
.member span { color: var(--muted); font-size: 15px; }

/* Video TEDx */
.video-sec { background: var(--night); }
.video-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt button { position: absolute; inset: 0; border: 0; background: linear-gradient(180deg, rgba(5,15,36,0), rgba(5,15,36,.55)); cursor: pointer; display: grid; place-items: center; }
.yt button i { width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: 26px; box-shadow: 0 16px 40px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.yt button:hover i { transform: scale(1.08); }
/* Elenco video della pagina Stampa */
.vid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0 0; }
.vid { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vid .yt { border-radius: 18px; box-shadow: 0 14px 34px rgba(5,15,36,.18); }
.vid .yt button i { width: 56px; height: 56px; font-size: 18px; }
.vid .yt button:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.vid figcaption { display: flex; flex-direction: column; gap: 4px; }
.vid figcaption a { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; line-height: 1.35; }
.vid figcaption a:hover { color: var(--deep); text-decoration: underline; }
.vid-dur { position: absolute; right: 10px; bottom: 10px; z-index: 1; background: rgba(5,15,36,.8); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; pointer-events: none; }
.vid-note { margin-top: 18px; font-size: 14px; color: var(--muted, #5b6b80); }
@media (max-width: 1000px) { .vid-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .vid-list { grid-template-columns: 1fr; } }

/* Cosa ci muove */
.drive { background: var(--light); text-align: center; }
.drive p.big { font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; max-width: 900px; margin: 0 auto 32px; }

/* Modulo */
.form-card { background: var(--white); color: var(--ink); border-radius: 30px; padding: 36px; display: grid; gap: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.25); }
.fl { position: relative; }
.fl input { width: 100%; font: inherit; font-size: 16px; padding: 24px 16px 10px; border: 1.5px solid #d6dee5; border-radius: 14px; background: var(--white); color: var(--ink); }
.fl label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.fl input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(27,117,187,.14); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { top: 7px; font-size: 11px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: .06em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; color: var(--muted); align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--deep); }
.check a { color: var(--deep); }
.thanks { display: none; background: #eaf3f9; color: var(--slate); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.nl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.perks li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; color: rgba(255,255,255,.86); font-weight: 600; }
.perks li i { width: 36px; height: 36px; border-radius: 50%; background: rgba(239,201,76,.18); color: var(--yellow); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; }

/* Testi legali */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; text-transform: none; font-weight: 800; letter-spacing: -0.01em; margin-top: 44px; }
.legal p, .legal li { color: var(--slate); font-size: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e3e8ec; vertical-align: top; color: var(--slate); }
.legal th { background: var(--light); color: var(--ink); }
.legal .warn { background: #fdf3d4; border: 1px dashed var(--yellow); border-radius: 14px; padding: 14px 18px; color: #6b5300; font-weight: 600; font-size: 15px; }
.table-scroll { overflow-x: auto; }
body.hide-notes .legal .warn { display: none; }

/* CTA finale */
.cta-band { background: radial-gradient(ellipse at 80% 20%, rgba(27,117,187,.45), transparent 50%), linear-gradient(160deg, var(--abyss), var(--night)); color: var(--white); text-align: center; }
.cta-band h2 { font-size: clamp(32px, 5vw, 64px); }
.cta-band .lead { color: rgba(255,255,255,.78); }

/* Footer */
footer { background: #030a19; color: rgba(255,255,255,.6); padding: 80px 0 36px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot img { height: 40px; width: auto; margin-bottom: 18px; }
.foot h4 { color: var(--white); font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .1em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Comparsa */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

.story-grid > *, .video-grid > *, .nl-grid > * { min-width: 0; }
@media (max-width: 1180px) {
  .menu { display: none; }
  .burger { display: block; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section { padding: 80px 0; }
  .story-grid, .video-grid, .nl-grid { grid-template-columns: 1fr; gap: 36px; }
  .team { grid-template-columns: 1fr; }
  .timeline::before { left: 66px; }
  .timeline li { grid-template-columns: 54px 1fr; gap: 0 30px; }
  .timeline li::before { left: 59px; }
  .timeline .yr { font-size: 16px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .btn { display: none; }
  .page-hero { padding: 150px 0 80px; }
  .row2, .foot { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .draft { left: 8px; right: 8px; bottom: 8px; justify-content: space-between; }
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 30px; }
  .timeline li::before { left: 0; }
  .timeline .yr { text-align: left; margin-bottom: 6px; }
}

/* ---- Aggiunte per WordPress: pagina Custodi della Laguna e moduli ---- */
.page-hero .btn { margin-top: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(13,23,38,.06); }
.step i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #eaf3f9; color: var(--deep); font-style: normal; font-weight: 800; margin-bottom: 14px; }
.step b { display: block; font-size: 19px; margin-bottom: 6px; }
.step span { color: var(--muted); }
.proofs { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.proofs li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 20px 22px; color: rgba(255,255,255,.85); }
.proofs b { color: var(--white); }
.proofs .src { color: rgba(255,255,255,.6); }
.proofs a { color: var(--yellow); }
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 32px 0 36px; }
.level { background: var(--light); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.level b { font-size: 19px; color: var(--deep); }
.level span { color: var(--muted); font-size: 15px; }
.level .lv-tag { align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--yellow); color: var(--ink); border-radius: 60px; padding: 2px 10px; }
details.faq { border-bottom: 1px solid #d9e0e6; padding: 18px 0; }
details.faq summary { font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink); }
details.faq p { margin: 12px 0 0; }
.fl select, .fl textarea { width: 100%; font: inherit; font-size: 16px; padding: 24px 16px 10px; border: 1.5px solid #d6dee5; border-radius: 14px; background: var(--white); color: var(--ink); }
.fl textarea { min-height: 110px; resize: vertical; }
.fl.sel label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: .06em; }
.page-hero .form-card { color: var(--ink); }
@media (max-width: 860px) { .steps, .proofs, .levels { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1180px) { .levels { grid-template-columns: 1fr 1fr; } }

/* ---- Pagine Enti pubblici, Aziende, Soluzioni, Installazioni ---- */
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.four.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .steps.four.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .steps.four.five { grid-template-columns: 1fr; } }
.big-h2 { font-size: clamp(30px, 4vw, 52px) !important; text-transform: uppercase; font-weight: 900 !important; margin-top: 0 !important; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--slate); font-size: 17px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.checks.light li { color: rgba(255,255,255,.85); }
.checks a { color: var(--deep); }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.quotes blockquote { margin: 0; border-left: 4px solid var(--yellow); padding: 14px 20px; background: rgba(255,255,255,.04); border-radius: 0 16px 16px 0; color: rgba(255,255,255,.85); font-size: 18px; font-weight: 600; }
.callout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--deep), #0b3d91); color: var(--white); border-radius: 28px; padding: 40px 44px; }
.callout .eyebrow { color: var(--yellow); }
.callout h2 { font-size: clamp(26px, 3vw, 40px); }
.callout p { color: rgba(255,255,255,.82); max-width: 640px; }
.case { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; }
.case-img { aspect-ratio: 16 / 9; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.case .checks { padding: 22px 24px; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(13,23,38,.06); margin-top: 32px; font-size: 17px; }
.matrix th, .matrix td { padding: 16px 20px; text-align: center; border-bottom: 1px solid #e6ebef; }
.matrix th { background: var(--deep); color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix td { color: var(--deep); font-size: 20px; }
.matrix td:first-child { font-size: 17px; color: var(--ink); }
.soon { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #1f8a5b; background: #e3f4ea; border-radius: 60px; padding: 2px 9px; white-space: nowrap; }
.prods { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.prod { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: var(--light); border-radius: 24px; overflow: hidden; }
.prod img, .prod-ph { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.prod-ph { display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #1f5a43, #6aa070); color: var(--white); font-weight: 800; font-size: 20px; padding: 16px; }
.prod > div:last-child { padding: 24px; }
.prod h3 { color: var(--deep); font-size: 22px; margin-bottom: 8px; }
.prod p { color: var(--muted); margin-bottom: 8px; }
.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.site { background: var(--light); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.site img, .site-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.site-ph { display: grid; place-items: center; background: #dfe7ec; }
.site > div { padding: 18px 20px 20px; }
.site h3 { margin-bottom: 2px; }
.site-place { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.site-prod { display: inline-block; font-size: 12px; font-weight: 700; color: var(--deep); background: #eaf3f9; border-radius: 60px; padding: 3px 10px; margin-bottom: 8px; }
.site p { font-size: 15px; color: var(--slate); margin: 0; }
.cta-band .btn { margin-top: 6px; }
@media (max-width: 1180px) { .steps.four { grid-template-columns: 1fr 1fr; } .sites { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .steps.four, .quotes, .prods, .sites, .callout { grid-template-columns: 1fr; } .prod { grid-template-columns: 1fr; } .prod img, .prod-ph { aspect-ratio: 16 / 9; min-height: 0; } .callout { padding: 28px; } .cta-band .btn-ghost { margin-left: 0 !important; } }

.legal h2.big-h2 { text-transform: uppercase !important; letter-spacing: -0.02em; }

/* Pagina Stampa */
.press-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.press-list li { background: var(--light); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.press-meta { font-size: 13px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: .06em; }
.press-list a { color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; line-height: 1.35; }
.press-list a:hover { color: var(--deep); text-decoration: underline; }
.press-lang { display: inline-block; margin-left: 6px; font-size: 10px; background: var(--deep); color: var(--white); border-radius: 60px; padding: 1px 7px; letter-spacing: .06em; }
.proofs a { color: var(--yellow); }
@media (max-width: 860px) { .press-list { grid-template-columns: 1fr; } }

/* Installazioni: altre foto */
.site-more { display: flex; gap: 8px; margin-top: 12px; }
.site-more a { display: block; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; }
.site-more img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.site-more a:hover img { transform: scale(1.08); }

/* La nostra storia: foto accanto alle tappe */
.timeline .ev.has-img { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 14px; }
.timeline .tl-img { width: 200px; height: 126px; object-fit: cover; border-radius: 12px; }
@media (max-width: 860px) { .timeline .ev.has-img { grid-template-columns: 1fr; } .timeline .tl-img { width: 100%; height: auto; aspect-ratio: 580 / 366; } }

/* Aziende: foto del caso */
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-more { display: flex; gap: 8px; padding: 12px 24px 0; }
.case-more a { display: block; width: 84px; height: 56px; border-radius: 10px; overflow: hidden; }
.case-more img { width: 100%; height: 100%; object-fit: cover; }

.timeline-sec .press-list li { background: var(--white); box-shadow: 0 6px 20px rgba(13,23,38,.05); }
/* elenco dentro la tappa «Domani»: non è una tappa */
.timeline .ev .next-list li { display: list-item !important; padding: 0 !important; }
.timeline .ev .next-list li::before { content: none !important; }

/* ===== Pagine interne da telefono (26 nov 2026) =====
   Stesso metodo della home: spazi ridotti, schede da sfogliare con i puntini,
   cronologia e domande compatte, modulo contatti più corto */
.dots { display: none; }
@media (max-width: 560px) {
  /* Spazi */
  section { padding: 48px 0; }
  .page-hero { padding: 104px 0 40px; }
  .page-hero.short { padding: 100px 0 28px; }
  .page-hero h1 { font-size: 34px; margin-bottom: 14px; }
  .page-hero .lead { font-size: 16px; margin-bottom: 8px; }
  .page-hero .eyebrow { margin-bottom: 12px; }
  .eyebrow { margin-bottom: 12px; }
  h2 { font-size: 28px; margin-bottom: 14px; }
  .big-h2 { font-size: 28px !important; }
  .lead { font-size: 16px; }
  p { margin-bottom: 12px; }
  .story-grid, .video-grid, .nl-grid { gap: 22px; }
  .story-grid p { font-size: 16px; }
  .quote-box { font-size: 20px; }

  /* Pulsanti: due affiancati quando ce ne sono due */
  .page-hero .btn { margin-top: 4px; padding: 13px 22px; font-size: 15px; }
  .cta-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-band .wrap > :not(.btn) { grid-column: 1 / -1; }
  .cta-band .wrap > .btn:only-of-type, .cta-band .wrap > .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cta-band .btn { margin: 0 !important; padding: 12px 8px; font-size: 14px; white-space: normal; line-height: 1.2; }
  .cta-band h2 { font-size: 28px; }

  /* Schede da sfogliare con il dito */
  .steps, .steps.four, .steps.four.five, .proofs, .prods, .sites, .vid-list {
    display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 16px; margin: 24px -16px 0; padding: 4px 16px 6px; scrollbar-width: none;
  }
  .steps::-webkit-scrollbar, .proofs::-webkit-scrollbar, .prods::-webkit-scrollbar, .sites::-webkit-scrollbar, .vid-list::-webkit-scrollbar { display: none; }
  .steps > *, .proofs > *, .prods > *, .sites > *, .vid-list > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .steps > .reveal, .proofs > .reveal, .prods > .reveal, .sites > .reveal, .vid-list > .reveal { opacity: 1; transform: none; transition: none; }
  .step { padding: 20px; }
  .step i { margin-bottom: 10px; }
  .prod > div:last-child { padding: 18px; }
  .site > div { padding: 14px 16px 16px; }
  .proofs li { padding: 16px 18px; }

  /* Puntini */
  .dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; color: var(--ink); }
  .on-dark .dots, .video-sec .dots { color: var(--white); }
  .dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: currentColor; opacity: .28; cursor: pointer; transition: width .25s, opacity .25s, background .25s; }
  .dots button.on { width: 22px; opacity: 1; background: var(--deep); }
  .on-dark .dots button.on, .video-sec .dots button.on { background: var(--yellow); }

  /* La nostra storia: cronologia più corta, foto piccola accanto al testo */
  .timeline { margin-top: 24px; }
  .timeline li { padding-bottom: 16px; }
  .timeline .ev { padding: 14px 16px; }
  .timeline .ev.has-img { grid-template-columns: 92px 1fr; gap: 12px; align-items: start; padding: 10px; }
  .timeline .tl-img { width: 92px; height: 70px; aspect-ratio: auto; border-radius: 10px; }
  .timeline .ev b { font-size: 16px; }
  .timeline .ev span { font-size: 14px; }
  .team { margin-top: 24px; gap: 12px; }
  .member { padding: 16px; }

  /* Stampa: elenco degli articoli più fitto */
  .press-list { margin-top: 20px; gap: 8px; }
  .press-list li { padding: 12px 16px; border-radius: 14px; }
  .press-list a { font-size: 15px; }

  /* Domande frequenti */
  details.faq { padding: 12px 0; }
  details.faq summary { font-size: 16px; }
  details.faq p { margin-top: 8px; font-size: 15px; }

  /* Aziende: caso e citazioni */
  .case .checks { padding: 16px 18px; }
  .checks { gap: 10px; }
  .checks li { font-size: 15px; }
  .quotes blockquote { font-size: 16px; padding: 12px 16px; }
  .callout { padding: 22px; gap: 16px; }

  /* Modulo contatti più corto: campi affiancati a due a due */
  .form-card { padding: 18px; gap: 10px; border-radius: 22px; }
  .row2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fl input, .fl select, .fl textarea { padding: 20px 12px 6px; font-size: 15px; border-radius: 12px; }
  .fl label { left: 13px; right: 10px; top: 14px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fl textarea { min-height: 84px; }
  .form-card .btn { padding: 13px 20px; }
  .form-note, .check { font-size: 13px; }

  /* Testi legali */
  .legal h2 { font-size: 20px; margin-top: 28px; }
  .legal p, .legal li { font-size: 15px; }

  /* Piè di pagina: link su due colonne */
  footer { padding: 44px 0 28px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .copy { margin-top: 28px; }
}
