/* Sotea Sistem — Scaffalature industriali per tutte le esigenze
   Import fedele della landing originale: valori ricavati dal CSS inline dell'originale. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --primary:var(--lg-primary,#004C8D);
  --dark-blue:#003366;
  --accent:var(--lg-accent,#FDD835);
  --text-dark:#1a1a2e;
  --text-light:#ffffff;
  --grey:#555;
  --light-grey:#f8f9fa;
  --font:var(--lg-font,'Poppins'),sans-serif;
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:var(--font);color:var(--text-dark);line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
h1,h2,h3{line-height:1.25}
button,input,textarea{font-family:inherit}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* Animations (attive solo con JS, così senza JS i contenuti restano visibili) */
.js .fade-up{opacity:0;transform:translateY(30px);transition:opacity .6s ease,transform .6s ease}
.js .fade-up.visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .fade-up{opacity:1;transform:none;transition:none}
}

/* Top Bar */
.top-bar{background:var(--dark-blue);color:var(--text-light);padding:8px 0;font-size:13px}
.top-bar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px}
.top-bar a{color:var(--text-light);transition:opacity .3s}
.top-bar a:hover{opacity:.8}

/* Header */
.header{background:#fff;position:sticky;top:0;z-index:100;box-shadow:0 2px 10px rgba(0,0,0,.08);padding:12px 0}
.header .container{display:flex;justify-content:space-between;align-items:center}
.header-logo img{height:48px;width:auto}
.header-cta{display:inline-block;background:var(--accent);color:var(--text-dark);font-weight:700;padding:10px 22px;border-radius:6px;font-size:14px;transition:background .3s,transform .2s}
.header-cta:hover{background:#e6c200;transform:translateY(-1px)}

/* Hero */
.hero{position:relative;min-height:85vh;display:flex;align-items:center;justify-content:center;background:url('../img/scaffalatura_background.jpg') center/cover no-repeat fixed;color:var(--text-light);text-align:center;padding:80px 20px 60px}
.hero::before{content:'';position:absolute;inset:0;background:rgba(0,51,102,.78)}
.hero-content{position:relative;z-index:2;max-width:900px}
.hero h1{font-size:clamp(1.8rem,4.5vw,3rem);font-weight:700;margin-bottom:16px}
.hero .subtitle{font-size:clamp(1rem,2vw,1.25rem);font-weight:400;opacity:.92;margin-bottom:48px}
.hero-cta-wrap{margin-bottom:40px}
.hero .hero-cta{display:inline-block;font-size:16px;padding:14px 28px}
.hero-features{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:10px}
.hero-card{background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:24px 16px;text-align:center;transition:transform .3s,background .3s}
.hero-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.2)}
.hero-card img{width:56px;height:56px;margin:0 auto 14px;object-fit:contain;filter:brightness(0) invert(1);opacity:.9}
.hero-card p{font-size:14px;line-height:1.5}
.hero-card strong{font-weight:600}

/* Form Section */
.form-section{padding:70px 0;background:var(--light-grey)}
.form-section.blue-bg{background:var(--primary)}
.form-section h2{text-align:center;font-size:clamp(1.4rem,3vw,2rem);margin-bottom:36px;color:var(--primary)}
.form-section.blue-bg h2{color:var(--text-light)}
#form{scroll-margin-top:170px}

/* Form */
.sotea-form{max-width:500px;margin:0 auto;padding:20px}
.sotea-form .form-intro{text-align:center;margin-bottom:25px;font-size:17px;font-weight:500;color:var(--grey)}
.sotea-form .form-group{margin-bottom:18px}
.sotea-form label{display:block;color:var(--primary);font-size:14px;margin-bottom:6px;font-weight:500}
.sotea-form label .required{color:#e53935}
.sotea-form input[type="text"],
.sotea-form input[type="email"],
.sotea-form input[type="tel"],
.sotea-form textarea{width:100%;padding:12px 15px;border:2px solid rgba(255,255,255,.3);border-radius:6px;font-size:15px;background-color:rgba(255,255,255,.95);color:#333;transition:border-color .3s ease,box-shadow .3s ease}
.sotea-form input:focus,
.sotea-form textarea:focus{outline:none;border-color:#FDD835;box-shadow:0 0 0 3px rgba(253,216,53,.3)}
.sotea-form input::placeholder,
.sotea-form textarea::placeholder{color:#999}
.sotea-form textarea{min-height:100px;resize:vertical}
.sotea-form .submit-btn{width:100%;min-height:44px;padding:15px 30px;background-color:#FDD835;color:#004C8D;border:none;border-radius:6px;font-size:18px;font-weight:700;cursor:pointer;transition:all .3s ease;text-transform:uppercase;letter-spacing:1px;margin-top:10px}
.sotea-form .submit-btn:hover{background-color:#FFEB3B;transform:translateY(-2px);box-shadow:0 4px 15px rgba(253,216,53,.4)}
.sotea-form .submit-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}

/* Checkbox custom (input sovrapposto alla casella: resta focusabile) */
.sotea-form .checkbox-group{margin-bottom:18px}
.sotea-form .checkbox-label{display:flex;align-items:flex-start;cursor:pointer;position:relative;padding-left:30px;color:var(--grey);font-size:13px;line-height:1.4;margin-bottom:0;font-weight:400}
.sotea-form .checkbox-label input[type="checkbox"]{position:absolute;top:0;left:0;width:20px;height:20px;margin:0;opacity:0;cursor:pointer;z-index:1}
.sotea-form .checkmark{position:absolute;top:0;left:0;height:20px;width:20px;background-color:rgba(255,255,255,.95);border:2px solid rgba(255,255,255,.3);border-radius:4px;transition:all .2s ease}
.form-section:not(.blue-bg) .sotea-form .checkmark{border-color:#ccc}
.sotea-form .checkbox-label:hover .checkmark{border-color:#FDD835}
.sotea-form .checkbox-label input:checked ~ .checkmark{background-color:#FDD835;border-color:#FDD835}
.sotea-form .checkbox-label input:focus-visible ~ .checkmark{box-shadow:0 0 0 3px rgba(253,216,53,.6)}
.sotea-form .checkmark::after{content:"";position:absolute;display:none;left:6px;top:2px;width:5px;height:10px;border:solid #004C8D;border-width:0 2px 2px 0;transform:rotate(45deg)}
.sotea-form .checkbox-label input:checked ~ .checkmark::after{display:block}
.sotea-form .checkbox-text{margin-left:5px;color:var(--grey)}
.sotea-form .checkbox-text a{color:var(--primary);font-weight:700;text-decoration:underline;transition:transform .2s ease;display:inline-block}
.sotea-form .checkbox-text a:hover{transform:translateY(-2px)}

/* Form su sfondo blu */
.blue-bg .sotea-form .form-intro{color:rgba(255,255,255,.9)}
.blue-bg .sotea-form label{color:#fff}
.blue-bg .sotea-form label .required{color:#FDD835}
.blue-bg .sotea-form .checkbox-label,
.blue-bg .sotea-form .checkbox-text,
.blue-bg .sotea-form .checkbox-text a{color:#fff}

/* Products */
.products{padding:80px 0;background:#fff}
.products .section-title{text-align:center;font-size:clamp(1.3rem,3vw,2rem);color:var(--primary);margin-bottom:60px;text-transform:uppercase;font-weight:700}
.product-card{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-bottom:60px}
.product-card:last-child{margin-bottom:0}
.product-card.reversed{direction:rtl}
.product-card.reversed>*{direction:ltr}
.product-card img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.1)}
.product-card h3{font-size:clamp(1.2rem,2.5vw,1.5rem);color:var(--primary);margin-bottom:14px;font-weight:700}
.product-card p{font-size:19px;color:var(--grey);line-height:1.7}

/* Why Choose Us */
.why-us{padding:80px 0;background:var(--light-grey)}
.why-us .section-title{text-align:center;font-size:clamp(1.3rem,3vw,2rem);color:var(--primary);margin-bottom:10px;text-transform:uppercase;font-weight:700}
.why-us .section-subtitle{text-align:center;font-size:clamp(1rem,2vw,1.25rem);color:var(--primary);font-weight:600;margin-bottom:10px}
.why-us .section-desc{text-align:center;color:var(--grey);font-size:16px;margin-bottom:50px;max-width:700px;margin-left:auto;margin-right:auto}
.why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.why-card{background:var(--primary);color:var(--text-light);border-radius:12px;padding:36px 28px;text-align:center;transition:transform .3s,box-shadow .3s}
.why-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(0,76,141,.3)}
.why-card h3{font-size:1.15rem;font-weight:700;margin-bottom:12px}
.why-card p{font-size:15px;opacity:.9;line-height:1.6}

/* Where */
.where-section{padding:80px 0;background:#fff}
.where-inner{display:grid;grid-template-columns:auto 1fr;gap:50px;align-items:center;max-width:900px;margin:0 auto}
.where-inner img{width:260px;border-radius:12px}
.where-inner h2{font-size:clamp(1.3rem,3vw,1.8rem);color:var(--primary);margin-bottom:14px;font-weight:700}
.where-inner p{font-size:17px;color:var(--grey);line-height:1.7}

/* Partnership */
.partnership{padding:80px 0;background:var(--light-grey)}
.partnership .container{max-width:960px}
.partnership h2{text-align:center;font-size:clamp(1.3rem,3vw,1.8rem);color:var(--primary);margin-bottom:24px;font-weight:700}
.partnership p{font-size:16px;color:var(--grey);line-height:1.7;text-align:center;margin-bottom:16px}
.cert-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:36px}
.cert-grid img{width:100%;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:transform .3s}
.cert-grid img:hover{transform:scale(1.04)}

/* Statistics */
.stats{padding:70px 0;background:linear-gradient(135deg,var(--dark-blue),var(--primary));color:var(--text-light)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stat-item img{width:150px;height:150px;margin:0 auto 14px;object-fit:contain}
.stat-number{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;margin-bottom:4px}
.stat-label{font-size:14px;opacity:.85}

/* Footer */
.footer{background:var(--dark-blue);color:var(--text-light);padding:60px 0 0}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px}
.footer-logo{display:inline-block;background:#fff;border-radius:12px;padding:14px 20px;margin-bottom:16px}
.footer-logo img{height:48px;width:auto}
.footer h3{font-size:16px;font-weight:700;margin-bottom:16px;position:relative;padding-bottom:10px}
.footer h3::after{content:'';position:absolute;left:0;bottom:0;width:40px;height:2px;background:var(--accent)}
.footer p,.footer a{font-size:14px;color:rgba(255,255,255,.8);line-height:1.8}
.footer a:hover{color:var(--accent)}
.footer-cookie-btn{background:none;border:0;padding:0;cursor:pointer;font-size:14px;line-height:1.8;color:rgba(255,255,255,.8);text-align:left}
.footer-cookie-btn:hover{color:var(--accent)}
.footer-iso{max-width:180px;height:auto;background:#fff;padding:8px;border-radius:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;text-align:center;font-size:12px;color:rgba(255,255,255,.6)}

/* Responsive */
@media(max-width:992px){
  .hero-features{grid-template-columns:repeat(2,1fr)}
  .product-card{grid-template-columns:1fr;gap:24px}
  .product-card.reversed{direction:ltr}
  .why-cards{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  .footer-grid{grid-template-columns:1fr}
  .where-inner{grid-template-columns:1fr;text-align:center}
  .where-inner img{margin:0 auto}
}
@media(max-width:600px){
  .hero-features{grid-template-columns:1fr}
  .header-cta{font-size:12px;padding:8px 14px}
  .header-logo img{height:36px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .cert-grid{grid-template-columns:repeat(2,1fr)}
  .product-card p{font-size:16px}
  .top-bar .container{font-size:12px;justify-content:center;text-align:center}
}
@media(max-width:450px){
  .header-logo img{height:28px}
  .header .container{gap:8px}
  .header-cta{font-size:11px;padding:6px 12px;white-space:nowrap}
}

/* ===== Thank-you page ===== */
.ty-page{background-color:#f5f5f5;color:#272727;line-height:1.7}
.ty-page h1,.ty-page h2,.ty-page h3{line-height:1.25}
.thank-you-container{max-width:800px;margin:100px auto;padding:60px 40px;background:#fff;border-radius:15px;box-shadow:0 10px 40px rgba(0,0,0,.1);text-align:center}
.ty-check-circle{width:120px;height:120px;background:linear-gradient(135deg,#004C8D 0%,#00305a 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 30px;animation:tyScaleIn .5s ease-out}
.ty-check{width:50px;height:50px;border-radius:50%}
.ty-check-path{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:tyStroke .6s cubic-bezier(.65,0,.45,1) forwards}
@keyframes tyStroke{100%{stroke-dashoffset:0}}
@keyframes tyScaleIn{0%{transform:scale(0)}50%{transform:scale(1.1)}100%{transform:scale(1)}}
.ty-page h1{color:#004C8D;font-size:42px;font-weight:700;margin-bottom:20px}
.ty-subtitle{font-size:20px;color:#666;margin-bottom:40px;line-height:1.6}
.info-box{background:#f9f9f9;border-left:4px solid #004C8D;padding:25px;margin:30px 0;text-align:left;border-radius:5px}
.info-box h2{color:#004C8D;font-size:22px;margin-bottom:15px;display:flex;align-items:center}
.info-box p{color:#666;font-size:16px;margin-bottom:10px}
.info-icon{width:22px;height:22px;margin-right:10px;flex-shrink:0;fill:#004C8D}
.contact-info{margin:40px 0;text-align:center}
.contact-info h3{color:#004C8D;font-size:18px;margin-bottom:20px}
.contact-info-intro{margin-bottom:20px;color:#666}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:20px}
.contact-item{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:15px;background:#f9f9f9;border-radius:8px;transition:all .3s ease}
.contact-item svg{width:28px;height:28px;margin-bottom:10px;fill:#004C8D;transition:transform .3s ease}
.contact-item a{color:#004C8D;font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.contact-item span{color:#666;font-size:14px}
.contact-item:hover{background:#004C8D;color:#fff}
.contact-item:hover a,.contact-item:hover span{color:#fff}
.contact-item:hover svg{fill:#fff}
.contact-item-wa:hover svg{transform:scale(1.2)}
.ty-btn{display:inline-flex;align-items:center;gap:8px;padding:15px 40px;background-color:#004C8D;color:#fff;border-radius:5px;font-weight:700;font-size:18px;transition:all .3s ease;margin-top:20px}
.ty-btn svg{width:16px;height:16px;fill:currentColor}
.ty-btn:hover{background-color:#00305a;transform:translateY(-2px);box-shadow:0 5px 20px rgba(0,76,141,.3)}
.ty-back{margin-top:16px;font-size:15px}
.ty-back a{color:#004C8D;text-decoration:underline;display:inline-block;padding:10px 0}
.logo-section{margin-top:50px;padding-top:30px;border-top:1px solid #eee}
.logo-section img{max-width:200px;height:auto;margin:0 auto}
.legal-footer{margin-top:30px;padding-top:20px;border-top:1px solid #eee;text-align:center}
.legal-footer p{color:#666;font-size:13px;margin-bottom:10px;line-height:1.6}
.legal-links{margin-top:10px;font-size:13px;color:#666}
.legal-links a,.legal-links button{color:#004C8D;font-size:13px;transition:color .3s ease;background:none;border:0;padding:0;cursor:pointer}
.legal-links a:hover,.legal-links button:hover{color:#00305a;text-decoration:underline}
@media(max-width:768px){
  .thank-you-container{margin:50px 20px;padding:40px 20px}
  .ty-page h1{font-size:32px}
  .ty-subtitle{font-size:18px}
  .ty-check-circle{width:100px;height:100px}
  .contact-grid{grid-template-columns:1fr}
}

/* Bottone WhatsApp flottante (basso a destra) */
.wa-float{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.25);z-index:90;transition:transform .2s,opacity .25s}
.wa-float.is-hidden{opacity:0;pointer-events:none}
.wa-float:hover{transform:scale(1.06)}
.wa-float:focus-visible{outline:3px solid #fff;box-shadow:0 0 0 6px #128C7E}
.wa-float svg{width:30px;height:30px;fill:#fff}
body{padding-bottom:72px}
