/* Open Sans ospitato localmente (latin, latin-ext, cyrillic, cyrillic-ext) */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url(../fonts/open-sans-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url(../fonts/open-sans-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url(../fonts/open-sans-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:100%;font-display:swap;src:url(../fonts/open-sans-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Tecnica Industriale RU - foglio di stile principale */
:root {
  --accent: #0ca2e0;
  --blue: #1f8cba;
  --blue-2: #2a8fba;
  --green: #6dab3c;
  --green-d: #5f9934;
  --text: #676b6d;
  --head: #262b2e;
  --muted: #a0a0a0;
  --light: #f2f3f3;
  --line: #e4e6e6;
  --wrap: 1250px;
  --gutter: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--text); font: 400 15px/25px "Open Sans", Helvetica, Arial, Verdana, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--head); font-weight: 600; margin: 0 0 10px; }
h1 { font-size: 36px; line-height: 44px; }
h2 { font-size: 30px; line-height: 38px; }
h3 { font-size: 24px; line-height: 32px; }
h4 { font-size: 18px; line-height: 26px; }
h5 { font-size: 15px; line-height: 25px; }
h6 { font-size: 13px; line-height: 20px; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px; padding-left: 20px; }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: var(--light); color: var(--head); }
hr, .sep { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.ic { width: 1em; height: 1em; vertical-align: -.125em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 1000; }
.skip:focus { left: 8px; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }

/* ---------- barra SEO in cima ---------- */
.omni-bar { text-align: center; padding: 2px 16px; }
.omni-bar h1 { margin: 0; font: 400 16px/24px Roboto, "Open Sans", Helvetica, Arial, sans-serif; color: #787878; }

/* ---------- header ---------- */
/* header fisso: la barra blu esce dallo schermo, restano logo e menu (più bassi dopo lo scorrimento) */
.masthead { position: sticky; top: calc(-1 * var(--tb-h, 0px)); z-index: 50; background: #fff; box-shadow: 0 0 15px 1px rgba(0,0,0,.07); }
.header-bar .header-in, .logo img { transition: min-height .25s, width .25s; }
.masthead.is-stuck .header-in { min-height: 64px; }
.masthead.is-stuck .logo img { width: 300px; }
.top-bar { background: rgba(31,140,186,.9); color: #fff; font-size: 14px; line-height: 18px; }
.top-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 6px; padding-bottom: 6px; max-width: none; padding-left: 30px; padding-right: 30px; }
.top-text { margin: 0; }
.top-widgets { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.top-bar a { color: #fff; }
.top-phone b a { font-weight: 600; }
.top-mail { font-weight: 600; white-space: nowrap; }
.top-search { position: relative; display: flex; align-items: center; }
.top-search input { width: 0; opacity: 0; border: 0; padding: 4px 0; border-radius: 3px; font: inherit; transition: width .25s, opacity .25s, padding .25s; }
.top-search:focus-within input, .top-search input:not(:placeholder-shown) { width: 210px; opacity: 1; padding: 4px 8px; color: var(--head); }
.top-search button { background: none; border: 0; color: #fff; cursor: pointer; padding: 2px 4px; font-size: 16px; display: flex; }
.soc { display: flex; gap: 6px; flex-wrap: wrap; }
.soc a { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: 13px; }
.soc a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.soc-top a { width: 24px; height: 24px; font-size: 11px; background: linear-gradient(30deg, #0ca2e0 0%, #27dde8 100%); }
.soc-top a:hover { background: #fff; color: var(--accent); }
.header-bar .header-in { display: flex; align-items: center; justify-content: space-between; min-height: 90px; gap: 20px; max-width: none; padding-left: 30px; padding-right: 30px; }
.logo { flex: none; }
.logo img { width: 440px; max-width: 100%; height: auto; display: block; }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--head); cursor: pointer; padding: 6px; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.menu > li { position: relative; }
.menu > li > a { display: block; margin: 18px 16px; padding: 4px 0; color: var(--head); font-size: 16px; line-height: 20px; position: relative; white-space: nowrap; transition: color .2s; }
.menu > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .25s; }
.menu > li:hover > a::after, .menu > li.active > a::after, .menu > li > a:focus::after { right: 0; }
.menu > li:hover > a, .menu > li.active > a { text-decoration: none; color: var(--accent); }
.menu img { vertical-align: -2px; }
.sub-toggle, .nav-close { display: none; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: rgba(244,244,244,.98); padding: 12px 0; box-shadow: 0 6px 20px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.menu > li:hover > .sub, .menu > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 6px 30px 6px 20px; color: var(--head); font-size: 14px; line-height: 20px; }
.sub a:hover { color: var(--accent); text-decoration: none; background: rgba(0,0,0,.03); }
.menu > li.lang .sub { left: auto; right: 0; min-width: 180px; }
.menu > li.mega { position: static; }
.menu > li.mega > .sub { left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 10px 20px; }
.menu > li.mega > .sub a { padding: 18px 10px; font-size: 15px; line-height: 25px; }
.menu > li.mega > .sub a:hover { background: none; }

/* ---------- titolo pagina e breadcrumb ---------- */
.page-title { background: var(--light); padding: 50px 0 54px; text-align: center; }
.page-title h1 { font-size: 36px; line-height: 44px; margin: 0 0 14px; }
.crumbs { list-style: none; margin: 0; padding: 4px 10px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; background: rgba(0,0,0,.05); border-radius: 3px; font-size: 13px; line-height: 20px; color: #a2a5a6; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5b5b5; }
.crumbs a { color: #a2a5a6; }
.crumbs a:hover { color: var(--accent); text-decoration: none; }
.crumbs span { color: #a2a5a6; }

/* ---------- contenuto ---------- */
.main { padding: 50px 0; }
.home .main { padding-top: 0; }
.content::after { content: ""; display: block; clear: both; }
.row { display: flex; flex-wrap: wrap; margin: 0 -7.5px; }
.col { padding: 0 7.5px; min-width: 0; }
.c1 { width: 8.333%; } .c2 { width: 16.666%; } .c3 { width: 25%; } .c4 { width: 33.333%; } .c5 { width: 41.666%; } .c6 { width: 50%; }
.c7 { width: 58.333%; } .c8 { width: 66.666%; } .c9 { width: 75%; } .c10 { width: 83.333%; } .c11 { width: 91.666%; } .c12 { width: 100%; }
.sp { max-height: 120px; }
.block { position: relative; }
.stripe { padding: 20px 0; box-shadow: 0 0 0 100vmax var(--stripe-bg); clip-path: inset(0 -100vmax); background: var(--stripe-bg); margin: 0; }
.content > .stripe:last-child { margin-bottom: -50px; } /* ultima fascia attaccata al footer */
.stripe.s1 { --stripe-bg: var(--light); }
.stripe.s2 { --stripe-bg: var(--blue-2); color: #fff; }
.stripe.s3 { --stripe-bg: #fff; }
.stripe.s2 h1, .stripe.s2 h2, .stripe.s2 h3, .stripe.s2 h4, .stripe.s2 a:not(.btn) { color: #fff; }
.my-title-s { font-size: 25px; line-height: 44px; }
figure { margin: 0 0 15px; }
figure.img.al-center { text-align: center; }
figure.img.al-right { text-align: right; }
/* cornice doppia: bordo esterno, 6px di spazio, bordo sull'immagine */
figure.img.boxed img { border: 1px solid #ebebeb; padding: 6px; outline: 1px solid #ebebeb; outline-offset: -7px; }
figure.img.shadow img { box-shadow: 0 3px 12px rgba(0,0,0,.12); }
figcaption { font-size: 13px; margin-top: 6px; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.table-wrap { overflow-x: auto; margin-bottom: 15px; }

/* titolo con linee ai lati */
.ftitle { display: flex; align-items: center; gap: 14px; color: rgba(103,107,109,.5); font-weight: 600; margin: 10px 0; text-align: center; }
.ftitle::before, .ftitle::after { content: ""; flex: 1; border-top: 1px solid rgba(103,107,109,.15); }
.ftitle.dashed::before, .ftitle.dashed::after { border-top-style: dashed; }
.ftitle.nolines::before, .ftitle.nolines::after, .ftitle.left::before { display: none; }
.ftitle.dark { color: var(--head); }
.ftitle.accent { color: var(--accent); }
.ftitle.h3 { font-size: 24px; line-height: 32px; }
.ftitle.h4 { font-size: 18px; line-height: 26px; }
.ftitle.h5 { font-size: 15px; line-height: 25px; }
.ftitle.h6 { font-size: 13px; line-height: 20px; color: var(--head); }

/* pulsanti */
/* pulsanti: chiari con testo scuro, al passaggio sfumatura blu e testo bianco */
.btn, a.btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(30deg, #0ca2e0 0%, #27dde8 100%); color: #fff; border: 0; border-radius: 4px; padding: 0 14px; min-height: 42px; font: 600 14px/1.2 "Open Sans", sans-serif; cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,.12); transition: background .2s, color .2s, box-shadow .2s; text-decoration: none; }
.btn:hover, a.btn:hover { background: linear-gradient(30deg, #1cd9ea 0%, #0ca2e0 100%); color: #fff; text-decoration: none; box-shadow: 0 5px 11px rgba(0,0,0,.18); }
.btn-s, a.btn-s { min-height: 30px; font-size: 12px; font-weight: 700; padding: 0 14px; border-radius: 3px; }
.btn-l, a.btn-l { min-height: 48px; font-size: 16px; padding: 0 26px; }
.btn-light, a.btn-light { background: rgba(242,243,243,.5); color: var(--head); box-shadow: inset 0 0 0 1px rgba(103,107,109,.15); }
.stripe.s1 .btn-light { color: #494949; }
.stripe.s1 .btn-light:hover { color: #fff; }
.btn-light:hover, a.btn-light:hover { background: linear-gradient(30deg, #1cd9ea 0%, #0ca2e0 100%); color: #fff; box-shadow: none; }
.btn-link, a.btn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--head); }
.btn-link:hover, a.btn-link:hover { color: var(--accent); text-decoration: none; }
p .btn { margin: 4px 2px; }

/* teaser (box immagine + titolo) */
.teaser { background: rgba(242,243,243,.9); margin-bottom: 15px; }
.teaser-img { padding: 1px 1px 10px; }
.teaser-img img { width: 100%; display: block; }
.teaser-body { padding: 0 25px 10px; font-size: 13px; line-height: 20px; }
.teaser-body h1, .teaser-body h2, .teaser-body h3, .teaser-body h4, .teaser-body h5, .teaser-body h6 { font-size: 13px; line-height: 25px; font-weight: 600; margin-bottom: 6px; }
.teaser-body h4 { font-size: 15px; }
.teaser-body a:not(.btn) { color: var(--head); }
.teaser-body a:not(.btn):hover { color: var(--accent); text-decoration: none; }
.teaser-body .btn { margin: 4px 0 10px; }

/* box azione (richiesta preventivo) */
.action-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.action-box h3 { color: #fff; margin: 0; font-size: 24px; line-height: 32px; }
.action-box h4 { color: #fff; margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; }
.action-box h4 a { color: #fff; }

/* fisarmonica preventivo (verde) e fisarmoniche generiche */
details.quote { margin: 0 0 20px; }
details.quote > summary { background: var(--green); border: 1px solid #66a038; border-radius: 5px; color: #fff; font-size: 18px; line-height: 18px; font-weight: 600; padding: 14px 20px; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px; }
details.quote[open] > summary { border-radius: 5px 5px 0 0; }
details.quote > summary::-webkit-details-marker, details.acc > summary::-webkit-details-marker { display: none; }
details.quote > summary:hover { background: #649f36; }
details.quote > summary .ic { font-size: 20px; }
.quote-body { padding: 20px; border: 1px solid #e3ecdc; border-top: 0; border-radius: 0 0 5px 5px; }
details.acc { margin-bottom: 10px; }
details.acc > summary { padding: 14px 20px; cursor: pointer; list-style: none; color: #666; font-size: 18px; line-height: 18px; font-weight: 600; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; display: flex; gap: 10px; align-items: center; }
details.acc > summary::after { content: "+"; margin-left: auto; font-size: 20px; color: #999; font-weight: 400; }
details.acc[open] > summary::after { content: "−"; }
.acc-body { padding: 14px 20px; }
.box { margin-bottom: 20px; }
.box > :last-child { margin-bottom: 0; }
.box::after { content: ""; display: block; clear: both; }
.box figure.alignleft { margin: 5px 20px 5px 0; }

/* schede (A-Z marchi) */
.tab-nav { display: flex; flex-wrap: wrap; gap: 5px 5px; margin-bottom: 14px; }
.tab-nav button { min-width: 48px; height: 47px; padding: 10px 18px; background: #ebebeb; color: #666; border: 1px solid #e3e3e3; border-radius: 0; font: 400 15px/25px "Open Sans", sans-serif; cursor: pointer; transition: background .2s; }
.tab-nav button:hover { background: #e3e3e3; }
.tab-nav button[aria-selected="true"] { background: #f8f8f8; border-color: #f0f0f0; }
.tab-panel[hidden] { display: none; }

/* liste con freccia, punto o divisori */
.list { list-style: none; padding: 0; }
.list li { position: relative; padding: 5px 0 5px 20px; }
.list li p { margin: 0; }
.list.arrow li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.list.bullet li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.list.divider li + li { border-top: 1px solid var(--line); }

/* carousel (strisce di foto e card) */
.carousel { position: relative; margin: 0 0 20px; }
.carousel .track { display: flex; gap: 1px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: none; scroll-snap-align: start; }
.carousel.photos .slide img { height: 200px; width: auto; max-width: none; object-fit: cover; display: block; }
/* strisce di foto a tutta larghezza come nel vecchio tema */
.content > .carousel.photos, .block > .carousel.photos, .box > .carousel.photos { margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2); margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2); }
.stripe:has(> .carousel.photos) { padding: 10px 0; }
.stripe > .carousel.photos { margin-bottom: 0; }
.carousel.cards .track { gap: 20px; padding: 10px 2px; }
.carousel.cards .slide { width: calc((100% - 60px) / 4); }
.carousel.cards .slide figure { margin: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--head); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 2; }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }

/* benefici, progress bar */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.benefit { display: flex; gap: 16px; }
.benefit-ico { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.progress { display: grid; gap: 12px; }
.pbar-label { display: block; font-size: 13px; color: var(--head); }
.pbar-track { display: block; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }
.pbar-track span { display: block; height: 100%; background: var(--accent); }

/* video e mappe a caricamento su richiesta */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; margin-bottom: 15px; }
.video iframe, .video .video-play, .video .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .video-play { padding: 0; background: #000; cursor: pointer; }
.video .video-play img { object-fit: cover; opacity: .85; }
.video .video-play::after, .vthumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 10px; background: rgba(255,0,0,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 28px no-repeat; }
.vthumb { position: relative; display: block; margin-bottom: 10px; }
.map { margin-top: 20px; }
.content > .map { margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2); margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2); } /* mappa a tutta larghezza */
.content > .map:last-child { margin-bottom: -50px; }
.map-placeholder { background: var(--light); height: 350px; padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.map-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.map iframe { width: 100%; height: 350px; border: 0; display: block; }

/* form */
.form { max-width: 760px; }
.form label { display: block; color: var(--head); font-size: 14px; margin-bottom: 4px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form input[type=file], .search-form input {
  width: 100%; padding: 9px 12px; border: 1px solid #d9dbdb; border-radius: 3px; font: inherit; color: var(--head); background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid rgba(12,162,224,.35); border-color: var(--accent); }
.form .invalid { border-color: #dd3333 !important; background: #fff6f6 !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form .consent label { display: block; position: relative; padding-left: 26px; font-size: 13px; line-height: 20px; color: var(--text); cursor: pointer; }
.form .consent input { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.form .consent.invalid label { color: #dd3333; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { padding: 10px 14px; border-radius: 3px; margin-top: 10px; }
.form-status.ok { background: #eef7e8; color: #3d6b1e; border: 1px solid #b9dba3; }
.form-status.err, .form-error { background: #fff3f3; color: #b02a2a; border: 1px solid #f0c2c2; padding: 10px 14px; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ricerca, 404 */
.search-form { display: flex; gap: 10px; max-width: 560px; margin-bottom: 20px; }
.search-results { list-style: none; padding: 0; }
.search-results li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.search-results li a { font-weight: 600; font-size: 16px; }
.search-results li p { margin: 4px 0 0; font-size: 13px; }
.notfound .btn { margin: 4px; }

/* ---------- slider home ---------- */
/* slider: griglia 1240x440, sotto i 1240px tutto scala in proporzione */
.hero { position: relative; height: clamp(220px, 35.484vw, 440px); overflow: hidden; background: #1c2a33; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; display: flex; align-items: center; justify-content: center; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-text { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; padding: 0 16px; transform: translateY(min(16px, 1.29vw)); text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.hero-text p { margin: 0; }
.hero-kicker { font-size: clamp(11px, 1.613vw, 20px); line-height: 1.5; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: clamp(8px, 2.823vw, 35px) !important; }
.hero-line-1 { font-size: clamp(20px, 4.839vw, 60px); line-height: 1.167; font-weight: 700; margin-bottom: clamp(2px, .645vw, 8px) !important; }
.hero-line-2 { font-size: clamp(21px, 5.161vw, 64px); line-height: 1.156; font-weight: 700; margin-bottom: clamp(14px, 4.153vw, 51px) !important; }
.hero-btn { display: inline-block; font-size: clamp(10px, 1.129vw, 14px); line-height: 1.15; font-weight: 800; color: rgba(255,255,255,.6); padding: clamp(6px, .806vw, 10px) clamp(18px, 3.226vw, 40px) clamp(7px, .887vw, 11px); border: clamp(2px, .242vw, 3px) solid rgba(255,255,255,.55); border-radius: 1px; text-shadow: none; transition: color .2s, border-color .2s; }
.hero-btn:hover { color: #fff; border-color: #fff; text-decoration: none; }
.hero-text.single { flex-direction: row; gap: clamp(16px, 13.95vw, 173px); transform: none; }
.hero-big { font-size: clamp(24px, 5.645vw, 70px); line-height: 1.457; font-weight: 800; max-width: min(680px, 54.8vw); }
.hero-brace { font-size: clamp(60px, 16.935vw, 210px); line-height: 1; font-weight: 300; color: rgba(255,255,255,.55); transform: translateY(-.08em); }
.hero-dots { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; z-index: 3; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-selected="true"] { background: #fff; }

/* ---------- footer ---------- */
.footer { background: var(--light); color: var(--text); font-size: 14px; line-height: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 50px; padding-bottom: 10px; max-width: 1250px; }
.footer section { margin-bottom: 30px; }
.widget-title { font-size: 15px; line-height: 25px; font-weight: 600; color: var(--head); margin: 0 0 15px; }
.footer a { color: var(--text); }
.footer a:hover { color: var(--accent); text-decoration: none; }
.footer .btn-link { color: var(--head); margin-top: 6px; }
.footer-photos { display: grid; grid-template-columns: repeat(4, 63px); gap: 2px; }
.footer-photos img { width: 63px; height: 63px; object-fit: cover; }
.footer-photos a:hover img { opacity: .8; }
.footer-links li { padding: 2px 0 2px 18px; }
.footer-links li::before { top: 11px; border-color: var(--text); }
.contact-info { list-style: none; padding: 0; margin: 0 0 15px; }
.contact-info li { margin-bottom: 10px; }
.contact-info strong { color: var(--head); font-weight: 400; }
.contact-info a { text-decoration: underline; }
.footer .soc a { width: 24px; height: 24px; font-size: 12px; background: rgba(103,107,109,.15); color: var(--text); }
.footer .soc a:hover { background: linear-gradient(30deg, #0ca2e0 0%, #27dde8 100%); color: #fff; }
.bottom-bar { border-top: 1px solid rgba(103,107,109,.12); font-size: 13px; line-height: 20px; color: var(--muted); }
.bottom-bar a, .bottom-bar a:hover { color: var(--muted); }
.bottom-bar a:hover { color: var(--accent); }
.bottom-in { max-width: 1250px; }
.bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 10px 30px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.bottom-in p { margin: 0; }
.bottom-in a, .link-btn { color: var(--muted); }
.bottom-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.link-btn:hover { color: var(--accent); }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 3px; background: rgba(0,0,0,.2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 40; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }

/* ---------- lightbox ---------- */
.lbx { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 50px 60px; }
.lbx img { max-width: 100%; max-height: 100%; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.lbx .lbx-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.lbx iframe { width: 100%; height: 100%; border: 0; }
.lbx button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; padding: 10px; }
.lbx .lbx-close { top: 6px; right: 10px; }
.lbx .lbx-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lbx .lbx-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ---------- banner cookie (compatto) ---------- */
.cc { position: fixed; left: 20px; bottom: 20px; z-index: 150; width: min(410px, calc(100vw - 32px)); background: #fff; color: var(--text); border-radius: 6px; box-shadow: 0 6px 30px rgba(0,0,0,.22); padding: 18px 20px; font-size: 13px; line-height: 19px; }
.cc[hidden], .cc [hidden] { display: none !important; }
.cc-title { margin: 0 0 6px; font-weight: 700; font-size: 15px; color: var(--head); }
.cc-text { margin: 0 0 12px; }
.cc-prefs { border-top: 1px solid var(--line); margin: 0 0 12px; }
.cc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row small { display: block; color: var(--muted); }
.cc-row b { color: var(--head); }
.cc-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.cc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-btn { flex: 1 1 auto; padding: 8px 12px; border-radius: 3px; font: 600 13px/1.2 "Open Sans", sans-serif; cursor: pointer; border: 1px solid var(--accent); }
.cc-ghost { background: #fff; color: var(--accent); }
.cc-ghost:hover { background: #eef8fd; }
.cc-primary { background: var(--accent); color: #fff; }
.cc-primary:hover { background: var(--blue); }
.cc-revisit { position: fixed; left: 16px; bottom: 16px; z-index: 140; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.cc-revisit[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .menu > li > a { margin: 14px 9px; font-size: 14px; }
  .logo img { width: 340px; }
}
@media (max-width: 1100px) {
  .top-text { display: none; }
  .top-bar-in { justify-content: center; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .3s; overflow-y: auto; z-index: 80; padding: 60px 0 30px; }
  .nav.open { transform: none; }
  .menu { display: block; }
  .menu > li { border-bottom: 1px solid #eee; }
  .menu > li > a { margin: 0; padding: 12px 56px 12px 24px; white-space: normal; }
  .menu > li > a::after { display: none; }
  .sub-toggle { display: flex; position: absolute; right: 8px; top: 4px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: 0; font-size: 18px; color: var(--head); cursor: pointer; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] { transform: rotate(180deg); }
  .sub, .menu > li.mega > .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; columns: auto; padding: 0 0 10px; background: #f7f7f7; }
  .menu > li.open > .sub, .menu > li.mega.open > .sub { display: block; }
  .sub a, .menu > li.mega > .sub a { padding: 8px 24px 8px 36px; font-size: 14px; line-height: 20px; }
  .masthead.is-stuck .header-in { min-height: 70px; }
  .nav-close { display: flex; position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 26px; color: var(--head); cursor: pointer; padding: 6px; }
  body.nav-open .masthead { z-index: 90; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 70; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .carousel.cards .slide { width: calc((100% - 40px) / 3); }
}
@media (max-width: 778px) {
  :root { --gutter: 16px; }
  .top-bar-in, .header-bar .header-in { padding-left: 16px; padding-right: 16px; }
  .top-phone, .soc-top { display: none; }
  .header-bar .header-in { min-height: 70px; }
  .logo img { width: 260px; }
  .row { margin: 0; }
  .col { width: 100% !important; padding: 0; }
  .page-title { padding: 24px 0 20px; }
  .page-title h1 { font-size: 24px; line-height: 31px; }
  h1 { font-size: 28px; line-height: 36px; }
  h2 { font-size: 24px; line-height: 32px; }
  h3 { font-size: 20px; line-height: 28px; }
  .main { padding: 30px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
  .carousel.cards .slide { width: calc((100% - 20px) / 2); }
  .carousel.photos .slide img { height: 150px; }
  .hero-dots { right: 12px; }
  .alignleft, .alignright { float: none; margin: 0 0 10px; }
  .action-box { text-align: center; justify-content: center; }
  .lbx { padding: 50px 8px; }
  .omni-bar h1 { font-size: 13px; line-height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* album fotografici */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 20px; }
.album { text-align: center; }
.album-cover img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.album-title { font-size: 16px; line-height: 24px; margin: 8px 0 0; }
