/* ==========================================================================
   Q2 landing — replica della landing WordPress/Elementor (q2.burner-control.com)
   Misure, font e colori ricavati dall'originale a 1440 px; breakpoint di Elementor:
   laptop 1366 · tablet extra 1200 · tablet 1024 · mobile extra 880 · mobile 767
   ========================================================================== */

:root {
    --o: #e89209;          /* arancione */
    --b: #5b9ae8;          /* azzurro */
    --bg0: #0a0a0a;
    --bg1: #111111;
    --bg2: #2a2a2a;
    --tx: #c6c3bf;
}

*, *:before, *:after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.q2 { margin: 0; background: var(--bg1); font-family: "Figtree", sans-serif; color: var(--tx); }
.q2 h1, .q2 h2, .q2 h4, .q2 p { margin: 0; }
.q2 img { max-width: 100%; height: auto; border: 0; }
.q2 a { text-decoration: none; }
.q2 hr { border: 0; margin: 0; }
.q2-skip { position: absolute; left: -9999px; top: 0; background: var(--o); color: #fff; padding: 8px 14px; z-index: 10000; }
.q2-skip:focus { left: 8px; top: 8px; }

/* ---- tipografia di base ---- */
.q2-eb { font: 300 15px/18px "JetBrains Mono", monospace; text-transform: uppercase; color: var(--o); }
.q2-eb-blue { color: var(--b); }
.q2-eb-strong { font-weight: 400; }
.q2-h2 { font: 500 42px/50.4px "Figtree", sans-serif; color: #fff; }
.q2-h2-s { font-size: 24px; line-height: 28.8px; }
.q2-h2-or { color: var(--o); margin-top: -20px; }
.q2-faq-l .q2-h2 { line-height: 1; }
.q2-p { font: 200 18px/27px "Figtree", sans-serif; color: var(--tx); }
.q2-p-w { color: #fff; }
.q2-hr { height: 1px; background: var(--o); }

.q2-btn { display: inline-block; background: var(--o); color: #fff; font: 700 16px/16px "Figtree", sans-serif; text-transform: uppercase; padding: 0 30px; border: 0; border-radius: 0; cursor: pointer; text-align: center; }

/* ---- header ---- */
.q2-header-in { display: flex; align-items: center; justify-content: center; width: 90%; margin: 20px auto 0; padding: 5px 20px; }
.q2-h-logo { flex: 0 0 25%; }
.q2-h-logo img { display: block; }
.q2-h-nav { flex: 0 0 50%; padding: 10px; }
.q2-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.q2-nav a { display: flex; align-items: center; padding: 13px 20px; font: 400 15px/20px "Figtree", sans-serif; text-transform: uppercase; color: rgba(255,255,255,.71); }
.q2-h-right { flex: 0 0 25%; display: flex; justify-content: flex-end; align-items: center; }
.q2-btn-req { font-weight: 600; line-height: 24px; padding: 7px 30px; border: 1px solid var(--o); }
.q2-lang { padding: 7px; border: 1px solid transparent; }
.q2-lang a { display: inline-block; padding: 5px 10px 6px; font: 400 16px/16px "Figtree", sans-serif; text-transform: uppercase; color: var(--o); }
.q2-burger { display: none; background: none; border: 0; padding: 10px; margin-left: 6px; cursor: pointer; }
.q2-burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ---- hero ---- */
.q2-hero { display: flex; justify-content: center; margin: 30px 0 50px; }
.q2-hero-box { width: 100%; background: var(--bg2); display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 10px 10px 50px; }
.q2-hero-top { width: 100%; }
.q2-hero-row { width: 90%; margin: 0 auto; display: flex; gap: 20px; }
.q2-hero-title { flex: 0 0 63.9%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 50px 0; }
.q2-brand { display: flex; align-items: center; gap: 20px; padding: 10px; }
.q2-brand img { display: block; width: 120px; }
.q2-brand h4 { font: 300 15px/18px "JetBrains Mono", monospace; text-transform: uppercase; color: var(--o); text-align: center; }
.q2-hr-s { width: 18px; }
.q2-hr-m { width: 60px; }
.q2-hr-l { width: 90px; }
.q2-h1 { font: 600 65px/78px "Figtree", sans-serif; letter-spacing: 6px; text-transform: uppercase; color: #fff; }
.q2-hero-tag { flex: 0 0 34.4%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 5px; padding: 125px 0 50px; }
.q2-tag-in { width: 90%; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }
.q2-tagline { font: 300 18px/32px "Figtree", sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #fff; }
.q2-scroll { display: flex; align-items: center; gap: 20px; padding: 10px; }
.q2-scroll svg { width: 25px; height: 25px; flex: 0 0 auto; }
.q2-scroll h4 { font: 300 15px/18px "JetBrains Mono", monospace; text-transform: uppercase; color: var(--o); text-align: center; }
.q2-video { width: 90%; aspect-ratio: 16 / 9; background: #000; }
.q2-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---- sezioni ---- */
.q2-sec { display: flex; justify-content: center; padding: 5vw 10px; }
.q2-sec-in { width: 90%; }
.q2-col { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.q2-headwrap { width: 100%; padding: 0 10px; }
.q2-headrow { display: flex; gap: 20px; padding: 10px 0; }
.q2-hcol { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.q2-hcol-end { justify-content: flex-end; }
.q2-tile-in { width: 90%; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* tecnologia: riquadri */
.q2-tiles { width: 100%; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 50px; }
.q2-tile { flex: 1 1 calc(25% - 15px); min-width: 0; min-height: 300px; padding: 40px; background: var(--bg2); display: flex; flex-direction: column; justify-content: space-between; }
.q2-tile-accent { background: var(--o); }
.q2-tile h2 { font: 500 24px/28.8px "Figtree", sans-serif; color: #fff; }
.q2-tile p { font: 200 17px/25.5px "Figtree", sans-serif; color: var(--tx); }
.q2-tile h2.q2-eb { font: 300 15px/18px "JetBrains Mono", monospace; color: var(--o); }
.q2-tile h2.q2-eb-blue { color: var(--b); }
.q2-tile h2.q2-eb-strong { font-weight: 400; }
.q2-tile-accent h2 { color: var(--bg1); }
.q2-tile-accent p { color: #212121; }
.q2-tile-top, .q2-tile-bot { width: 100%; }
.q2-icon { width: 50px; height: 50px; padding: 12.5px; background: var(--bg0); display: inline-block; }
.q2-icon svg { display: block; width: 25px; height: 25px; fill: #fff; }

/* sicurezza */
.q2-safety { display: flex; align-items: stretch; gap: 15px; }
.q2-safety-l { flex: 0 0 35%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.q2-safety-r { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }
.q2-logos { display: flex; align-items: flex-start; gap: 20px; }
.q2-logos img { display: block; }

/* connettività */
.q2-connect { width: 100%; margin: 0; background: var(--bg2); padding: 5vw 10px; display: flex; justify-content: center; }
.q2-connect-in { width: 90%; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.q2-carousel { position: relative; width: 100%; }
.q2-swiper { padding-bottom: 18px; overflow: hidden; }
.q2-swiper .swiper-slide { height: auto; }
.q2-slide { height: 100%; padding: 10px; }
.q2-card { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; background: var(--bg1); border-style: solid; border-color: var(--o); border-width: 2px 0; }
.q2-card-img { height: 300px; flex: 0 0 auto; background-color: var(--bg1); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.q2-card-body { min-height: 250px; padding: 40px; background: var(--bg1); display: flex; flex-direction: column; justify-content: space-between; }
.q2-card-body h2 { font: 500 24px/28.8px "Figtree", sans-serif; color: #fff; }
.q2-card-body p { font: 200 17px/25.5px "Figtree", sans-serif; color: var(--tx); }
.q2-arrow { position: absolute; top: 286px; width: 46px; height: 46px; margin-top: -23px; color: rgba(238,238,238,.9); cursor: pointer; z-index: 10; }
.q2-arrow svg { display: block; width: 46px; height: 46px; fill: currentColor; }
.q2-prev { left: -50px; }
.q2-next { right: -50px; }
.q2-pag { margin-top: 10px; text-align: center; line-height: 0; }
.q2-pag .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 6px; background: #fff; opacity: .2; border-radius: 50%; display: inline-block; cursor: pointer; }
.q2-pag .swiper-pagination-bullet-active { opacity: 1; }

/* FAQ */
.q2-faq-in { width: 90%; display: flex; align-items: flex-start; gap: 15px; }
.q2-faq-l { flex: 0 0 35%; display: flex; flex-direction: column; gap: 20px; }
.q2-faq-r { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.q2-faqbox { width: 100%; background: var(--bg2); padding: 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0; }
.q2-faqbox .q2-eb { margin-bottom: 30px; }
.q2-acc { width: 100%; margin: 0 0 30px; }
.q2-acc:last-child { margin-bottom: 0; }
.q2-acc summary { list-style: none; display: flex; align-items: center; gap: 20px; cursor: pointer; }
.q2-acc summary::-webkit-details-marker { display: none; }
.q2-acc-ic { display: flex; align-items: center; flex: 0 0 auto; }
.q2-acc-ic svg { display: block; width: 13px; height: 15px; fill: #fff; }
.q2-acc .q2-i-minus { display: none; }
.q2-acc[open] .q2-i-minus { display: block; }
.q2-acc[open] .q2-i-plus { display: none; }
.q2-acc-t { font: 400 16px/24px "Figtree", sans-serif; color: #fff; }
.q2-acc[open] .q2-acc-t { color: var(--o); }
.q2-acc-a { padding-top: 30px; }
.q2-acc-a p { font: 200 16px/24px "Figtree", sans-serif; color: var(--tx); }

/* contatti */
.q2-contact { background: var(--bg0); border: 1px solid #555; }
.q2-center { align-items: center; gap: 20px; }
.q2-crow { width: 100%; display: flex; align-items: flex-start; gap: 15px 20px; padding: 10px; margin-top: 50px; }
.q2-cl { flex: 601 1 0; min-width: 0; padding-right: 20px; }
.q2-cl-in { width: 90%; margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.q2-wsbox { width: 85%; min-height: 320px; margin-top: 30px; padding: 40px; background: var(--o); display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.q2-wsbox strong { font: 700 24px/28.8px "Figtree", sans-serif; color: var(--bg1); display: block; }
.q2-wsbox p { font: 200 18px/27px "Figtree", sans-serif; color: var(--bg1); }
.q2-btn-dark { background: var(--bg1); font-weight: 600; line-height: 24px; padding: 15px 30px; }
.q2-cr { flex: 623 1 0; min-width: 0; padding: 0 30px; background: #292929; border: 1px solid var(--o); }
.q2-cr-in { width: 90%; margin: 0 auto; padding: 50px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.q2-formwrap { width: 100%; padding-top: 30px; }

/* form (campi bianchi, come l'originale) */
.q2-fr { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }
.q2-f { width: 100%; padding: 0 5px; margin-bottom: 10px; }
.q2-f50 { width: 50%; }
.q2-f label { display: block; padding-bottom: 13px; font: 700 13px/13px "Figtree", sans-serif; text-transform: uppercase; color: #fff; }
.q2-f input[type=text], .q2-f input[type=email], .q2-f textarea, .q2-f select { display: block; width: 100%; height: 40px; padding: 8px 16px; background: #fff; color: var(--bg0); border: 0; border-radius: 0; font: 400 15px/21px "Figtree", sans-serif; }
.q2-f textarea { height: 94px; padding: 5px 14px; resize: vertical; }
.q2-f ::placeholder { color: var(--bg0); opacity: .5; }
.q2-chk { position: relative; }
.q2-chk input { position: absolute; left: 5px; top: 5px; width: 13px; height: 13px; margin: 0; }
.q2-chk label { padding: 0 0 0 21px; font: 400 16px/21px "Figtree", sans-serif; text-transform: none; color: #fff; }
.q2-fbtn { display: flex; justify-content: flex-start; align-items: flex-end; }
.q2-btn-send { height: 47px; }
.q2-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q2 .q2-status { margin-top: 24px; font: 400 15px/21px "Figtree", sans-serif; color: #fff; }
.q2-status.ok { color: #7dd87d; }
.q2-status.err { color: #ff8a80; }

/* footer */
.q2-footer { background: var(--bg0); }
.q2-footer-in { width: 90%; margin: 0 auto; padding: 30px 0; display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
.q2-frow1 { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 30px; }
.q2-flinks { display: flex; align-items: center; gap: 20px; }
.q2-flinks a { font: 300 15px/18px "JetBrains Mono", monospace; text-transform: uppercase; color: var(--o); }
.q2-flinks a.q2-lc { text-transform: lowercase; }
.q2-flegal { display: flex; align-items: center; gap: 20px; }
.q2-flegal p, .q2-flegal > a { font: 400 16px/16px "Figtree", sans-serif; color: #fff; }
.q2-fl-pol { display: flex; align-items: center; gap: 10px; }
.q2-fl-pol a { font: 400 15px/22.5px "Figtree", sans-serif; color: #fff; }
.q2-fl-pol i { font: 400 16px/24px -apple-system, sans-serif; font-style: normal; color: #333; }
.q2-frow2 { display: flex; justify-content: space-between; align-items: center; }
.q2-flogo { display: block; }
.q2-flogo img { display: block; width: 192px; }
.q2-frow2 p { font: 400 16px/16px "Figtree", sans-serif; color: #fff; text-align: right; }

/* ---- popup workshop (pannello laterale) ---- */
.q2-pop { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.8); overflow-y: auto; display: flex; justify-content: flex-end; }
.q2-pop[hidden] { display: none; }
.q2-pop-box { position: relative; width: 640px; max-width: 100%; min-height: 100%; }
.q2-pop-panel { min-height: 100%; background: var(--bg0); border: 1px solid var(--b); padding: 0 30px; }
.q2-pop-in { width: 90%; margin: 0 auto; padding: 50px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.q2-pop-x { position: absolute; top: 59px; right: 54px; z-index: 2; width: 22px; height: 22px; padding: 0; background: none; border: 0; color: #c7c7c7; cursor: pointer; }
.q2-pop-x svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.q2-pop .q2-eb { font: 300 15px/18px "JetBrains Mono", monospace; }
.q2-pop .q2-p { color: var(--tx); }
.q2-form-pop .q2-f label { font-weight: 400; color: rgba(255,255,255,.62); }
.q2-form-pop .q2-f input[type=text], .q2-form-pop .q2-f input[type=email], .q2-form-pop .q2-f textarea, .q2-form-pop .q2-f select { background: transparent; color: #afafaf; border: 1px solid #69727d; }
.q2-form-pop .q2-f textarea { height: 96px; }
.q2-form-pop .q2-f ::placeholder { color: #afafaf; opacity: .6; }
.q2-form-pop .q2-f select { font-size: 16px; line-height: 24px; padding: 5px 20px 5px 14px; appearance: none; -webkit-appearance: none; }
.q2-form-pop .q2-f select option { background: #0a0a0a; color: #afafaf; }
.q2-sel { position: relative; }
.q2-sel svg { position: absolute; right: 11px; top: 15px; width: 11px; height: 11px; fill: #afafaf; pointer-events: none; }
.q2-mods { background: var(--bg0); border: 1px solid #23233a; border-radius: 12px; overflow: hidden; }
.q2-mod { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.q2-mod + .q2-mod { border-top: 1px solid #23233a; }
.q2-form-pop .q2-mod label { padding: 0; font: 400 14px/21px "Figtree", sans-serif; text-transform: none; color: rgba(255,255,255,.62); }
.q2-mod input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1px solid #3e3e5a; border-radius: 4px; background: transparent; cursor: pointer; }
.q2-mod input:checked { background: var(--b); border-color: var(--b); }
.q2-form-pop .q2-chk label { color: rgba(255,255,255,.62); }
.q2-btn-blue { background: var(--b); border: 1px solid var(--b); }

/* ---- simulatore (aggiunta) ---- */
.q2-sim { display: flex; align-items: center; gap: 30px; }
.q2-sim-l { flex: 0 0 34%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.q2-sim-r { flex: 1 1 0; min-width: 0; }
.q2-btn-sim { padding: 15px 30px; line-height: 24px; font-weight: 600; margin-top: 10px; }
.q2-sim-shots { position: relative; display: block; aspect-ratio: 1220 / 586; overflow: hidden; background: var(--bg0); border-style: solid; border-color: var(--o); border-width: 2px 0; }
.q2-sim-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.q2-sim-shots img.is-on { opacity: 1; }
.q2-sim-play { position: absolute; right: 16px; bottom: 16px; width: 56px; height: 56px; border: 1px solid var(--o); border-radius: 50%; background: rgba(10,10,10,.72); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.q2-sim-play svg { width: 24px; height: 24px; fill: var(--o); margin-left: 3px; }
.q2-sim-shots:hover .q2-sim-play { background: var(--o); }
.q2-sim-shots:hover .q2-sim-play svg { fill: var(--bg0); }
.q2-sim-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.q2-sim-chips button { font: 300 15px/18px "JetBrains Mono", monospace; text-transform: none; color: #c6c3bf; background: transparent; padding: 8px 14px; border: 1px solid #555; border-radius: 0; cursor: pointer; }
.q2-sim-chips button:hover { color: #fff; border-color: var(--o); }
.q2-sim-chips button.is-on { color: var(--bg0); background: var(--o); border-color: var(--o); }

/* ==========================================================================
   Responsive (breakpoint Elementor)
   ========================================================================== */

/* laptop */
@media (max-width: 1366px) {
    .q2-h1 { font-size: 45px; line-height: 54px; }
    .q2-tagline { font-size: 15px; }
    .q2-hero-tag { padding-top: 119px; }
    .q2-tile h2 { font-size: 19px; line-height: 22.8px; }
    .q2-safety-l { flex-basis: 30%; }
}

/* tablet extra */
@media (max-width: 1200px) {
    .q2-hero { margin-bottom: 0; }
    .q2-hero-box { padding-bottom: 80px; }
    .q2-h1 { font-size: 35px; line-height: 42px; }
    .q2-tagline { font-size: 14px; line-height: 25px; }
    .q2-h2 { font-size: 35px; line-height: 42px; }
    .q2-tile { flex-basis: calc(50% - 10px); }
    .q2-tile h2 { font-size: 22px; line-height: 26.4px; }
    .q2-faq-in { flex-direction: column; align-items: stretch; }
    .q2-faq-l, .q2-faq-r { flex: 0 0 auto; width: 100%; }
    .q2-crow { flex-direction: column; align-items: stretch; }
    .q2-cl, .q2-cr { flex: 0 0 auto; width: 100%; }
    .q2-cl { padding-right: 0; }
    .q2-arrow { top: 50%; }
}

/* tablet: menu a scomparsa */
@media (max-width: 1024px) {
    .q2-header-in { flex-wrap: wrap; }
    .q2-h-logo { flex: 1 1 auto; }
    .q2-h-right { flex: 0 0 auto; }
    .q2-burger { display: block; }
    .q2-h-nav { order: 3; flex: 0 0 100%; display: none; padding: 0; }
    .q2-header.is-open .q2-h-nav { display: block; }
    .q2-nav ul { flex-direction: column; }
    .q2-nav a { padding: 13px 0; }
}

/* mobile extra */
@media (max-width: 880px) {
    .q2-h1 { font-size: 18px; line-height: 21.6px; }
    .q2-tagline { font-size: 12px; }
    .q2-h2 { font-size: 25px; line-height: 30px; }
    .q2-tiles { }
    .q2-tile { flex-basis: 100%; min-height: 250px; }
    .q2-tile h2 { font-size: 20px; line-height: 24px; }
    .q2-tile p, .q2-card-body p { font-size: 16px; line-height: 24px; }
    .q2-p { font-size: 16px; line-height: 24px; }
    .q2-safety { flex-direction: column; }
    .q2-safety-l { flex: 0 0 auto; }
    .q2-sim { flex-direction: column; align-items: stretch; }
    .q2-sim-r { flex: 0 0 auto; }
    .q2-sim-l { flex: 0 0 auto; }
    .q2-card-body h2 { font-size: 20px; line-height: 24px; }
    .q2-arrow { display: none; }
}

/* mobile */
@media (max-width: 767px) {
    .q2-sec, .q2-connect { padding-top: 10vw; padding-bottom: 10vw; }
    .q2-h1 { font-size: 14px; line-height: 22px; }
    .q2-tagline { line-height: 20px; }
    .q2-h2 { font-size: 22px; line-height: 26.4px; }
    .q2-tile { min-height: 300px; }
    .q2-tile h2, .q2-card-body h2 { font-size: 18px; line-height: 21.6px; }
    .q2-hero-row { flex-wrap: wrap; }
    .q2-hero-title, .q2-hero-tag { flex: 0 0 100%; }
    .q2-hero-tag { padding: 50px 0; }
    .q2-headrow { flex-wrap: wrap; }
    .q2-hcol { flex: 0 0 100%; }
    .q2-btn { font-size: 14px; line-height: 21px; }
    .q2-frow1, .q2-frow2 { flex-wrap: wrap; gap: 20px; }
    .q2-flegal, .q2-flinks { flex-wrap: wrap; }
    .q2-wsbox { width: 100%; }
    .q2-f50 { width: 100%; }
    .q2-pop-x { right: 30px; }
}
