/*
Theme Name: 	Fratelli Magni
Description: 	Responsive WordPress Theme based on Boostrap and Font Awesome.
Version:     	1.0.0
Author:     	Ness Communication
Author URI:   http://www.nesscommunication.com
Site:         http://www.nesscommunication.com
Text Domain: 	fratellimagni
Domain Path: 	/languages
Tags:        	grid-layout, blog, custom-menu, featured-images, right-sidebar
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html
*/


body.privacy-policy header, .cmplz-document header { background: var(--sky); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
body.privacy-policy h1, .cmplz-document h1 { font-size: 2.5em; }
body.privacy-policy h2, .cmplz-document h2 { font-size: 2em; }
.cmplz-document p{font-size: 1em;}
body.privacy-policy .wp-block-separator {margin: 40px 0;}
 
.cmplz-document #cmplz-document{font-size: 1em;max-width: 100%;}

/* ─── CSS VARIABLES ─── */
:root {
  --navy:    #0A1A4E;
  --blue:    #1338BE;
  --mid:     #2563EB;
  --sky:     #4A90D9;
  --ice:     #C8DEFF;
  --white:   #FFFFFF;
  --offwhite:#F4F7FF;
  --text:    #0A1A4E;
  --muted:   #5a6a9a;
  --gold:    #D4AF37;
  --font-head: "DM Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}
 
/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-size: 1em;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: auto; }

* { box-sizing: border-box; }
 
/*--------------------------
General
--------------------------*/
 


 
/* Blocco scroll quando menu mobile è aperto */
body.menu-open { overflow: hidden; }

/* ─── CUSTOM CURSOR ─── */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo),
              border-color 0.3s, opacity 0.2s, transform 0.12s;
}
body:hover #cursor-dot, body:hover #cursor-ring { opacity: 1; }
.cursor-expand #cursor-ring { width: 60px; height: 60px; border-color: var(--gold); opacity: 0.7; }
 


hr{border:none; border-bottom: 1px solid;}
 
/* form  */
input{border: 1px solid;}
 
input, textarea, select, button {
	width : auto;
	margin: 0;
	-webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
	-moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
	box-sizing: border-box;
	border: 0;
}
 
pre{overflow: hidden}
 
/* Video Resposnive */
figure{margin:0;}
.video-container { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0;}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
 
a{color: #262D7A;text-decoration: none;}
img{width: 100%;height: auto;}
 
 
/*--------------------------
Layout
--------------------------*/
 
h1,h2,h3,h4,h5{font-weight: 500;margin:0;}
h1{font-size: 3em;}
h2{font-size: 2em;}
h3{font-size: 1.75em;}
h4{font-size: 1.5em;}
h5{font-size: 1.25em;}
p{margin: 0; line-height: 1.5em;font-size: 1.25em;}
 
.p-0{padding: 0;}
.pl-0{padding-left:0;}
.pr-0{padding-right:0;}
 
.p-10{padding: 10px;}
.p-20{padding: 20px;}
.p-30{padding: 30px;}
.p-40{padding: 40px;}
.p-50{padding: 50px;}
.p-60{padding: 60px;}
 
.pb-0{padding-bottom: 0;}
.pb-10{padding-bottom: 10px;}
.pb-20{padding-bottom: 20px;}
.pb-30{padding-bottom: 30px;}
.pb-40{padding-bottom: 40px;}
.pb-60{padding-bottom: 60px;}
 
.pt-10{padding-top: 10px;}
.pt-20{padding-top: 20px;}
.pt-30{padding-top: 30px;}
.pt-40{padding-top: 40px;}
.pt-50{padding-top: 50px;}
.pt-60{padding-top: 60px;}
 
.m-0{margin: 0;}
.ml-0{margin-left:0;}
.mr-0{margin-right:0;}
 
.m-10{margin: 10px;}
.m-20{margin: 20px;}
.m-30{margin: 30px;}
.m-40{margin: 40px;}
.m-50{margin: 50px;}
.m-60{margin: 60px;}
 
.mb-0{margin-bottom: 0;}
.mb-10{margin-bottom: 10px;}
.mb-20{margin-bottom: 20px;}
.mb-30{margin-bottom: 30px;}
.mb-40{margin-bottom: 40px;}
.mb-60{margin-bottom: 60px;}
 
.mt-10{margin-top: 10px;}
.mt-20{margin-top: 20px;}
.mt-30{margin-top: 30px;}
.mt-40{margin-top: 40px;}
.mt-50{margin-top: 50px;}
.mt-60{margin-top: 60px;}
.mt-200{margin-top: 120px!important;}
.mb-200{margin-bottom: 120px!important;}
 
.d-f{display: flex;flex-wrap: wrap;}
.fd-c{flex-direction: column;}
 
.jc-c{justify-content: center;}
.jc-sb{justify-content: space-between;}
.jc-fs{justify-content: flex-start;}
.jc-fe{justify-content: flex-end;}
 
.ac-c{align-content: center;}
.ac-fs{align-content: flex-start;}
.ac-fe{align-content: flex-end;}
 
.ai-c{align-items: center;}
.ai-fs{align-items: flex-start;}
.ai-fe{align-items: flex-end;}
 
.ta-l{text-align: left;}
.ta-c{text-align: center;}
.ta-r{text-align: right;}
 
.fw-1{font-weight: 100;}
.fw-2{font-weight: 200;}
.fw-3{font-weight: 300;}
.fw-4{font-weight: 400;}
.fw-5{font-weight: 500;}
.fw-6{font-weight: 600;}
.fw-7{font-weight: 700;}
.fw-8{font-weight: 800;}
.fw-9{font-weight: 900;}
 
.fs-12{font-size: 0.75em;}
.fs-13{font-size: 0.8125em;}
.fs-14{font-size: 0.875em;}
.fs-15{font-size: 0.9375em;}
.fs-16{font-size: 1em;}
.fs-17{font-size: 1.0625em;}
.fs-18{font-size: 1.125em;}
.fs-19{font-size: 1.1875em;}
.fs-20{font-size: 1.25em;}
.fs-21{font-size: 1.312em;}
.fs-22{font-size: 1.375em;}
.fs-23{font-size: 1.4375em;}
.fs-24{font-size: 1.5em;}
.fs-25{font-size: 1.5em;}
.fs-26{font-size: 1.625em;}
.fs-27{font-size: 1.6875em;}
.fs-28{font-size: 1.75em;}
.fs-29{font-size: 1.8125em;}
.fs-30{font-size: 1.875em;}
.fs-31{font-size: 1.9375em;}
.fs-32{font-size: 2em;}
.fs-33{font-size: 2.0625em;}
.fs-34{font-size: 2.125em;}
.fs-35{font-size: 2.1875em;}
.fs-36{font-size: 2.25em;}
.fs-37{font-size: 2.3125em;}
.fs-38{font-size: 2.375em;}
.fs-39{font-size: 2.4375em;}
.fs-40{font-size: 2.5em;}
.fs-41{font-size: 2.5625em;}
.fs-42{font-size: 2.625em;}
.fs-100{font-size: 6.25em;}
 
.tt-u{text-transform: uppercase;}
 
.w-33{width: 33.33%;}
.w-50{width: 50%;}
.w-66{width: 66.66%;}
.w-100{width: 100%;}
.h-100{height: 100%}
 
.width-wrap { max-width: 1440px; margin: 0 auto; width: 100%; padding: 0 20px; }
.wpcf7 p br{display: none;}
.wpcf7 p {display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;align-content: center;gap: 15px;}
.wpcf7 p .wpcf7-form-control-wrap[data-name="acceptance"] { margin: 0; font-size: 12px; width: 100%; }
.wpcf7 p .wpcf7-form-control-wrap input[type="checkbox"] { width: auto; margin: 0;}
.wpcf7 p .wpcf7-form-control-wrap input, .wpcf7 p .wpcf7-form-control-wrap textarea { width: 100%; margin-bottom: 0; padding: 5px 10px; font-size: .875em; }
.wpcf7 p .wpcf7-form-control-wrap { width: calc(50% - 7.5px); }
.wpcf7 p .wpcf7-form-control-wrap[data-name="your-subject"] { width: 100%; }
.wpcf7 p .wpcf7-form-control-wrap[data-name="your-message"] { width: 100%;}
.wpcf7 p .wpcf7-form-control-wrap textarea{width: 100%;height: 100px;padding: 5px 10px;}
.wpcf7 p .wpcf7-form-control-wrap[data-name="acceptance"] a{display: inline-block; margin: 0; font-weight: 400;padding: 0;} 
.wpcf7-list-item{margin: 0;}
.wpcf7 p input[type="submit"] { padding: 5px 30px; width: auto; text-align: center; display: inline-block; border-radius: 12px; text-decoration: none; text-transform: uppercase; font-size: .875em; font-weight: 800; background-color: #262D7A; color: #fff; box-shadow: 0 10px 4px #000; margin: 0 auto; }
span.wpcf7-spinner{position: absolute;bottom: 40px;}
 
.button { padding: 15px 30px; width: auto; text-align: center; display: inline-block; border-radius: 12px; text-decoration: none; text-transform: uppercase; font-size: 1.25em; font-weight: 800; background-color: #262D7A; color: #fff; box-shadow: 0 10px 4px #000; }
 
/*--------------------------
Header
--------------------------*/
 
/* ─── HEADER ─── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; background: rgba(10, 26, 78, 0.0); transition: background 0.5s, backdrop-filter 0.5s, padding 0.4s; }
header.scrolled { background: var(--sky); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 20px rgba(0, 0, 0, .4); }
header .logo img{height: 110px; transition: all .5s;}
header.scrolled .logo img{height: 80px;}
 


.header__menu { list-style-type: none; padding: 0; display: flex; gap: 20px; align-items: center;}
.header__menu .menu-item{  text-transform: uppercase; color: rgba(255,255,255,0.8); position: relative; transition: color 0.3s;}
.header__menu .menu-item a{ font-size: 0.875rem; letter-spacing: 0.14em; color: #fff; position: relative; transition: color 0.3s; padding: 10px 0; display: block;}
.header__menu .menu-item:hover { color: var(--white); }
.header__menu .menu-item:after { content: ''; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-expo); }
.header__menu .menu-item:hover::after { transform: scaleX(1); }
.header__icon-bar { display: none; }

ul.sub-menu { position: absolute; display: none; flex-direction: column; align-items: flex-start; align-content: flex-start; padding: 20px 10px; margin: 0; gap: 10px; top: 100%; text-align: left; background: rgba(10, 26, 78, 0.95); box-shadow: 0 0 4px rgba(0, 0, 0, 0.3); list-style-type: none; }
.header__menu ul.sub-menu .menu-item { padding: 5px 0; width: 100%;}
 
 
/*--------------------------
Home
--------------------------*/

/* ─── HERO ─── */
#hero { position: relative; height: 100dvh; overflow: hidden; background: var(--navy); }
#hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35) saturate(1.2); }
/* .hero-overlay { position: absolute; inset: 0; background: linear-gradient( 135deg, rgba(10, 26, 78, 0.7) 0%, rgba(19, 56, 190, 0.25) 60%, transparent 100% ); } */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(74, 144, 217, 0.7) 0%, rgba(74, 144, 217, 0.15) 60%, transparent 100%); }  

/* grid lines decoration */
/* .hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(74,144,217,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(74,144,217,0.07) 1px, transparent 1px); background-size: 80px 80px; } */

.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s var(--ease-expo) 0.3s forwards; }
.hero-title { font-family: var(--font-head); font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 800; line-height: 0.95; color: var(--white); margin-bottom: 20px; opacity: 0; transform: translateY(40px); animation: fadeUp 1s var(--ease-expo) 0.5s forwards; text-transform: uppercase; font-weight: 900; }
.hero-title em {
  font-style: normal;
}
.hero-subtitle { font-size: 1.25rem; font-weight: 300; line-height: 1.7; color: rgba(200, 222, 255, 0.75); max-width: 700px; margin-bottom: 30px; opacity: 0; animation: fadeUp 0.9s var(--ease-expo) 0.8s forwards; }
.hero-cta {
  display: flex; gap: 20px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-expo) 1s forwards;
}
.btn-primary {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 16px 40px;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(212,175,55,0.35); }
.btn-ghost {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 40px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
 
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-expo) 1.4s forwards;
}
.hero-scroll span {
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(200,222,255,0.5);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(200,222,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
 
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}
 
/* ─── SECTION: PRODOTTI ─── */
#prodotti { padding: 120px 20px; background: var(--offwhite); }
.prodotti-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.05; color: var(--sky);}
.prodotti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.prodotto-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 3/4;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s var(--ease-expo);
}
.prodotto-card:hover { transform: scale(1.015); z-index: 2; }
.prodotto-card .card-img {
  position: absolute; inset: 0;
  background: var(--navy);
  overflow: hidden;
}
.prodotto-card .card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 40px;
  transition: transform 0.8s var(--ease-expo), filter 0.5s;
  filter: drop-shadow(0 20px 40px rgba(10,26,78,0.3));
}
.prodotto-card:hover .card-img img { transform: scale(1.06) translateY(-8px); }
/* .card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(74, 144, 217, .95) 0%,
    rgba(74, 144, 217, .5) 40%,
    transparent 75%);
  transition: opacity 0.5s;
} */
.prodotto-card:hover .card-gradient { opacity: 0.85; }
.card-body {
  position: relative; z-index: 2;
  padding: 40px;
}
.card-number {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 800;
  color: var(--white); margin-bottom: 12px;
  transition: transform 0.4s var(--ease-expo);
}
.prodotto-card:hover .card-title { transform: translateY(-4px); }
.card-desc {
  font-size: 0.9rem; font-weight: 300; line-height: 1.6;
  color: rgba(200,222,255,0.75);
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-expo), opacity 0.4s;
}
.prodotto-card:hover .card-desc { max-height: 80px; opacity: 1; }
.card-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-top: 20px;
  transition: gap 0.3s;
}
.prodotto-card:hover .card-arrow { gap: 16px; }
.card-arrow svg { transition: transform 0.3s; }
.prodotto-card:hover .card-arrow svg { transform: translateX(4px); }
 
/* blue accent line on hover */
.prodotto-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
  z-index: 3;
}
.prodotto-card:hover::after { transform: scaleX(1); }
 
/* ─── MARQUEE STRIP ─── */
.marquee-strip {
    background: var(--ice);
    padding: 22px 0;
    overflow: hidden;
    position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee-item { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--white); padding: 0 30px 0 0; display: flex; align-items: center; gap: 30px; color: var(--sky);}
.marquee-item::after {
  content: '◆';
  font-size: 0.4rem;
  color: var(--gold);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
 
/* ─── INTRO STATEMENT ─── */
#intro { padding: 120px 20px; background: var(--ice); position: relative; overflow: hidden; }
.intro-bg-number { position: absolute; font-family: var(--font-head); font-size: 30vw; font-weight: 900; color: rgba(255, 255, 255, 0.1); top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; line-height: 1; }
.intro-inner {
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
}
.intro-quote {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--sky);
  margin-bottom: 40px;
}
.intro-quote strong {
  color: var(--navy);
  font-weight: 800;
}
.intro-sub {
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.7;
  color: var(--sky);
}
 
/* ─── ABOUT ─── */
#about { padding: 120px 0; background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; overflow-x: hidden;}
.about-media { position: relative; }
.about-img-wrap {
  position: relative; overflow: hidden;
  border-radius: 4px;
}
.about-img-wrap img {
  width: 100%; height: 520px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}
.about-img-wrap:hover img { transform: scale(1.04); }
 
/* floating stat card */
.stat-float {
  position: absolute; bottom: -30px; right: -30px;
  background: var(--gold);
  padding: 28px 32px;
  border-radius: 2px;
  text-align: center;
}
.stat-float .stat-num {
  font-family: var(--font-head);
  font-size: 3rem; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.stat-float .stat-label {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(10,26,78,0.7); margin-top: 6px;
}
 
.about-text { padding-left: 20px; }
.about-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  line-height: 1.1; color: var(--sky); margin-bottom: 28px;
}

.about-text p {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  margin-bottom: 20px;
}
.about-text p.section-eyebrow { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 16px; }

.sector-tags {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px;
}
.sector-tag {
  font-family: var(--font-head);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--ice);
  padding: 8px 18px; border-radius: 100px;
  background: var(--sky);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sector-tag:hover { background: var(--mid); color: var(--white); border-color: var(--mid); }
 

/* ─── SETTORI ─── */
#settori {
  padding: 100px 0;
  background: var(--ice);
  overflow: hidden;
}
.settori-header {
  text-align: center;
  margin-bottom: 64px;
}
.settori-header .section-eyebrow {
  margin-bottom: 16px;
}
.settori-header .section-title {
  color: var(--sky);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.settori-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
}
.settore-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(200, 222, 255, 0.1);
    text-align: center;
    cursor: default;
    transition: background 0.35s var(--ease-expo), border-color 0.35s, transform 0.35s var(--ease-back);
}
.settore-item:hover {
    background: rgba(74, 144, 217, 0.5);
    border-color: rgba(74, 144, 217, 1);
    transform: translateY(-6px);
    z-index: 1;
}
.settore-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;  
  color: var(--sky);
  transition: color 0.3s, transform 0.4s var(--ease-back);
  flex-shrink: 0;
}
.settore-icon svg {
  width: 100%;
  height: 100%;
}
.settore-item:hover .settore-icon {
  color: var(--white);
  transform: scale(1.15);
}
.settore-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  line-height: 1.4;
  transition: color 0.3s;
}
.settore-item:hover .settore-label {
  color: var(--white);
}
 
@media (max-width: 1100px) {
  .settori-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .settori-grid { grid-template-columns: repeat(3, 1fr); }
  .settore-item { padding: 24px 12px; gap: 12px; }
  .settore-icon { width: 42px; height: 42px; }
  .settori-header .section-title { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .settori-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ─── QUALITÀ ─── */
#qualita { padding: 120px 0; background: var(--offwhite); position: relative; overflow: hidden; }
.qualita-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.qualita-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  line-height: 1.1; color: var(--sky); margin-bottom: 24px;
}
.qualita-text p {
  font-size: 1rem; font-weight: 300; line-height: 1.8;
  margin-bottom: 36px;
}
.qualita-text p.section-eyebrow {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cert-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.cert-item {
  background: var(--white);
  border: 1px solid var(--ice);
  border-radius: 4px;
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease-back), box-shadow 0.3s;
  text-decoration: none;
}
.cert-item:hover {
  border-color: var(--mid);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(19,56,190,0.1);
}
.cert-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--sky);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
}
.cert-icon svg { width: 18px; height: 18px; }
.cert-name {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sky);
}
.cert-lang { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.qualita-visual { position: relative; }
.qualita-img {
  width: 100%; height: 500px;
  object-fit: cover;
  border-radius: 4px;
  filter: brightness(0.5) saturate(0.8) hue-rotate(200deg);
}
.qualita-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--sky);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200, 222, 255, 0.2);
    padding: 20px 24px;
    border-radius: 2px;
    text-align: center;
}
.qualita-badge .qb-title {
  font-family: var(--font-head);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.qualita-badge .qb-val {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.qualita-badge .qb-sub {
  font-size: 0.7rem; color: rgba(200,222,255,0.5);
  margin-top: 4px; letter-spacing: 0.1em;
}

 
/* ─── SCROLL ANIMATIONS ─── */
/* Gli elementi partono visibili; js-ready li nasconde solo quando il JS è pronto */
.reveal, .reveal-left, .reveal-right {
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
 
/* Il body riceve la classe .js-ready dal JS appena possibile */
.js-ready .reveal       { opacity: 0; transform: translateY(50px); }
.js-ready .reveal-left  { opacity: 0; transform: translateX(-50px); }
.js-ready .reveal-right { opacity: 0; transform: translateX(50px); }
 
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
 
/* stagger delay helpers */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
 
/* ─── KEYFRAMES ─── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
 
/* ─── MAGNETIC BUTTONS ─── */
.magnetic {
  position: relative;
  display: inline-block;
  transition: transform 0.3s var(--ease-expo);
}
 
/* ─── FLOATING PARTICLES ─── */
.particle {
  position: fixed;
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s;
}
/* ─── LENIS SMOOTH SCROLL ─── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
 
/* ─── PARALLAX ─── */
.parallax-slow { will-change: transform; }
 
 
 
 
/*--------------------------
Index, Single, Page
--------------------------*/
 
.content{width: 100%;}
.content__title{font-size: 42px;}
 
	.post{padding:40px; border-bottom: 1px solid #eee;}
  .post img{max-width: 100%; height: auto;}
 
  .content .tag {margin-top:40px;}
	.content .tag a{background: #666; color:#fff; padding:5px 10px; text-decoration: none; display: inline-block;;margin-top:5px;font-size: 12px;}
 
	/* Comments */
	.comments{margin: 40px 0; border-top: 1px solid #eee}
	.commentlist,
	.commentlist .children{list-style-type: none}
 
	.comment-body{margin: 40px 0}
	.comment-author.vcard img{border-radius: 100%;}
 
	.comment-form-comment textarea{background: #eee; width:100%;border: 1px solid #ddd;margin-top:5px;}
	.comment-form-author input,
	.comment-form-email input,
	.comment-form-url input{background: #eee; width:200px; max-width:300px;border: 1px solid #ddd;padding:5px}
 
	.comment-form-author label,
	.comment-form-email label,
	.comment-form-url label{ width:100px;display: inline-block;}
 
	.form-submit input{background: #333; color:#fff; border:none;font-size: 16px;padding: 10px 15px;width: auto;}
 
  /* Pagination */
  .pagination{padding:40px;}
  .pagination a,
  .pagination span{padding: 10px 15px; border: 1px solid #ddd; text-decoration: none;}
  .pagination a:hover{background: #eee}
 
  /* Caption Images */
  .wp-caption { margin-bottom: 20px; padding: 10px; max-width: 97%; border: 1px solid #ddd; text-align: center; }
  .wp-caption img { margin: 0; padding: 0; width: 100%!important; height: auto; border: 0 none; }
  .wp-caption p.wp-caption-text { margin: 0; padding: 8px; font-size: 1em; line-height: 17px; }
 
  /* Gallery */
  .gallery { padding: 40px 0 40px 0; width: 100%; }
  .gallery-item {  width: 33.333333%; text-align: center; }
  .gallery img { margin: 0 5% 0 5%; width: 90%; height: auto; border: none!important; }
  .gallery-caption { width: 90%;margin:10px 0 0 0;}
 
 
/*--------------------------
Sidebar
--------------------------*/
 
.sidebar{width:30%;}
	.widget{padding:40px;}
	.widget ul{padding: 0;list-style-type: none;}
	.widget ul li a{text-decoration: none;display: block;border-bottom: 1px solid #eee;padding:10px 15px}
 
	.widget_search label{display: none;}
 
  
/* ═══════════════════════════════════════
   PAGINE INTERNE — STILI DESKTOP
═══════════════════════════════════════ */

/* ─── HERO INTERNO ─── */
#hero.hero-inner {
  height: 55vh;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
}
#hero.hero-inner--navy { background: var(--navy); }
.hero-inner-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.28) saturate(1.1);
}
.hero-inner-content {
  position: relative; z-index: 2;
  padding-bottom: 64px;
}
.hero-inner-content .hero-label {
  opacity: 1;
  transform: none;
  animation: none;
}
.hero-inner-content .hero-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 16px;
  opacity: 1;
  transform: none;
  animation: none;
}
.hero-inner-content .hero-subtitle {
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 0;
  opacity: 1;
  animation: none;
}

/* breadcrumb */
.breadcrumb-new {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(200,222,255,0.45);
  margin-bottom: 20px;
  list-style: none; padding: 0;
}
.breadcrumb-new a { color: rgba(200,222,255,0.45); transition: color 0.2s; text-decoration: none; }
.breadcrumb-new a:hover { color: var(--gold); }
.breadcrumb-new span { color: rgba(200,222,255,0.6); }

/* ─── PAGE SPLIT (chi siamo) ─── */
.page-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 100px 20px; overflow-x: hidden; }
.page-split + .page-split { padding-top: 0; }
.page-split--reverse .page-split-text { order: 2; }
.page-split--reverse .page-split-media { order: 1; }

.page-split-text .section-eyebrow { margin-bottom: 16px; }
.page-split-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  line-height: 1.1; color: var(--navy); margin-bottom: 24px;
}
.page-split-text p {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: var(--muted); margin-bottom: 18px;
}
.page-split-text a { color: var(--mid); text-decoration: none; }
.page-split-text a:hover { text-decoration: underline; }

.page-split-img-wrap {
  overflow: hidden; border-radius: 4px; position: relative;
}
.page-split-img-wrap img {
  width: 100%; height: 500px;
  object-fit: cover; display: block;
  transition: transform 0.8s var(--ease-expo);
}
.page-split-img-wrap:hover img { transform: scale(1.04); }

/* ─── STRIP NAVY ─── */
.strip-navy { background: var(--navy); padding: 24px 0; }
.strip-navy p {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(200,222,255,0.4); text-align: center;
}

/* ─── PAGE CTA ─── */
.page-cta {
  background: var(--navy);
  padding: 100px 0;
  position: relative; overflow: hidden;
}

.page-cta-inner { position: relative; text-align: center; }
.page-cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: var(--white); margin-bottom: 16px;
}
.page-cta-inner p {
  font-size: 1rem; font-weight: 300;
  color: rgba(200,222,255,0.6); margin-bottom: 36px;
}

/* ─── CONTATTI ─── */
#contatti-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 100px 20px;
  align-items: start;
}
.contatti-left h2 {
  font-family: var(--font-head);
  font-size: 1.8rem; font-weight: 800;
  color: var(--navy); margin-bottom: 36px;
}
.contatti-info-item {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 32px;
}
.contatti-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ice);
}
.contatti-info-icon svg { width: 20px; height: 20px; }
.contatti-info-label {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.contatti-info-val {
  font-size: 0.95rem; font-weight: 300; line-height: 1.6; color: var(--muted);
}
.contatti-info-val a { color: var(--mid); text-decoration: none; }
.contatti-info-val a:hover { text-decoration: underline; }
.contatti-form-wrap {
  background: var(--offwhite);
  border: 1px solid var(--ice);
  border-radius: 4px; padding: 48px;
}
.contatti-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--navy); margin-bottom: 32px;
}
.contatti-form-wrap .wpcf7 input[type="text"],
.contatti-form-wrap .wpcf7 input[type="email"],
.contatti-form-wrap .wpcf7 input[type="tel"],
.contatti-form-wrap .wpcf7 textarea {
  width: 100%; border: 1px solid var(--ice); border-radius: 2px!important;
  padding: 10px 20px!important; font-family: var(--font-body); font-size: 0.95rem!important;
  color: var(--navy); background: var(--white); transition: border-color 0.2s;
  margin-bottom: 0; box-shadow: none!important;
}
.contatti-form-wrap .wpcf7 input:focus,
.contatti-form-wrap .wpcf7 textarea:focus { outline: none; border-color: var(--mid); }
.contatti-form-wrap .wpcf7 input[type="submit"] {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); border: none;
  padding: 16px 40px; border-radius: 2px; cursor: pointer;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
  box-shadow: none;
  width: 100%;
}
.contatti-form-wrap .wpcf7 input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212,175,55,0.35);
}

/* MAPPA */
#mappa { width: 100%; height: 480px; overflow: hidden; }
#mappa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(20%) contrast(1.05); }

/* ─── PRODOTTO LAYOUT (termometri/manometri) ─── */
.prodotto-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; padding: 60px 20px; align-items: start; }

/* sidebar */
.prodotto-sidebar {
  position: sticky; top: 90px;
  padding-right: 40px;
  border-right: 1px solid var(--ice);
}
.prodotto-sidebar-title {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
#tipologie-nav {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
#tipologie-nav li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-back);
  border: 1px solid transparent;
}
#tipologie-nav li:hover { background: var(--offwhite); }
#tipologie-nav li.active { background: var(--offwhite); border-color: var(--ice); }
#tipologie-nav li img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
#tipologie-nav li span {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 600;
  line-height: 1.3; color: var(--navy);
}
#tipologie-nav li.active span { color: var(--mid); }

/* contenuto */
.prodotto-content { padding-left: 60px; }
.descrizione-panel { display: none; }
.descrizione-panel.active { display: block; }

.prodotto-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800;
  color: var(--navy); margin-bottom: 20px; line-height: 1.1;
}
.prodotto-content h3.sub-h3 {
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin: 32px 0 10px;
  padding-bottom: 10px; border-bottom: 1px solid var(--ice);
}
.prodotto-content p {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: var(--muted); margin-bottom: 20px;
}
.prodotto-content a { color: var(--mid); }

/* specs grid */
.specs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin: 32px 0;
  border: 1px solid var(--ice); border-radius: 4px; overflow: hidden;
}
.specs-grid--compact { grid-template-columns: repeat(3, 1fr); }
.spec-item {
  display: flex; flex-direction: column;
  padding: 16px 20px; background: var(--offwhite);
  border-right: 1px solid var(--ice); border-bottom: 1px solid var(--ice);
}
.spec-item--full { grid-column: 1 / -1; }
.spec-label {
  font-family: var(--font-head);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.spec-val { font-size: 0.88rem; font-weight: 400; line-height: 1.5; color: var(--navy); }

/* nota prodotto */
.prodotto-note {
  background: rgba(19,56,190,0.05);
  border-left: 3px solid var(--mid);
  padding: 20px 24px; border-radius: 0 4px 4px 0;
  font-size: 0.92rem; line-height: 1.7; color: var(--muted);
  margin: 24px 0;
}
.prodotto-note strong { color: var(--navy); }

/* ATEX badge */
.atex-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--gold);
  color: var(--navy); padding: 12px 20px; border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; margin-bottom: 24px;
}
.atex-badge svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* download links */
.prodotto-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.download-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); border: 1px solid var(--ice); border-radius: 2px;
  padding: 12px 20px; background: var(--offwhite); text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-back);
}
.download-link:hover {
  background: var(--mid); color: var(--white);
  border-color: var(--mid); transform: translateY(-2px);
}
.download-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── RESPONSIVE PAGINE INTERNE ─── */
@media (max-width: 1100px) {
  .prodotto-layout { grid-template-columns: 220px 1fr; }
  .prodotto-content { padding-left: 40px; }
  .page-split { gap: 48px; }
  #contatti-wrap { gap: 48px; }
}

/* ─── LAVORA CON NOI ─── */
#lavora-con-noi {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}


.lavora-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── colonna sinistra ── */
.lavora-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.lavora-eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.lavora-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.lavora-title em {
  font-style: normal;
  color: var(--sky);
}
.lavora-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(200,222,255,0.65);
  margin-bottom: 48px;
  max-width: 460px;
}

/* lista punti numerati */
.lavora-punti {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 32px;
}
.lavora-punto {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.lavora-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(200,222,255,0.1);
  flex-shrink: 0;
  width: 52px;
  padding-top: 2px;
}
.lavora-punto strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.lavora-punto p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(200,222,255,0.55);
  margin: 0;
}

/* ── colonna destra: form card ── */
.lavora-form-wrap { align-self: stretch; display: flex; align-items: center; }
.lavora-form-card {
  background: var(--white);
  border-radius: 4px;
  padding: 48px 44px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}
.lavora-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}

/* CF7 override per il form lavora con noi */
.lavora-form-card .wpcf7 p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}
/* campi che devono stare su riga intera */
.lavora-form-card .wpcf7 p .wpcf7-form-control-wrap[data-name="your-email"],
.lavora-form-card .wpcf7 p .wpcf7-form-control-wrap[data-name="your-subject"],
.lavora-form-card .wpcf7 p .wpcf7-form-control-wrap[data-name="your-message"],
.lavora-form-card .wpcf7 p .wpcf7-form-control-wrap[data-name="acceptance"],
.lavora-form-card .wpcf7 p .wpcf7-submit-btn-wrap,
.lavora-form-card .wpcf7 p input[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
}
.lavora-form-card .wpcf7 p .wpcf7-form-control-wrap {
  width: 100%;
}
/* stile input / textarea */
.lavora-form-card .wpcf7 input[type="text"], .lavora-form-card .wpcf7 input[type="email"], .lavora-form-card .wpcf7 textarea {
    width: 100%;
    border: 1px solid var(--ice);
    border-radius: 2px !important;
    padding: 13px 16px !important;
    font-family: var(--font-body);
    font-size: 0.92rem !important;
    color: var(--navy);
    background: var(--offwhite);
    transition: border-color 0.2s, background 0.2s;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}
.lavora-form-card .wpcf7 input[type="text"]:focus,
.lavora-form-card .wpcf7 input[type="email"]:focus,
.lavora-form-card .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--mid);
  background: var(--white);
}
.lavora-form-card .wpcf7 textarea { min-height: 110px; resize: vertical; }

/* checkbox acceptance */
.lavora-form-card .wpcf7 .wpcf7-acceptance {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.lavora-form-card .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  accent-color: var(--mid);
}

/* submit */
.lavora-form-card .wpcf7 input[type="submit"] {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  border: none;
  border-radius: 2px;
  padding: 16px 32px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-back), box-shadow 0.3s;
  box-shadow: none;
  margin-top: 8px;
}
.lavora-form-card .wpcf7 input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212,175,55,0.35);
}

/* ── Responsive lavora con noi ── */
@media (max-width: 1024px) {
  .lavora-inner { grid-template-columns: 1fr; gap: 56px; }
  .lavora-desc { max-width: 100%; }
  .lavora-form-wrap { align-items: stretch; }
}
@media (max-width: 768px) {
  #lavora-con-noi { padding: 72px 0; }
  .lavora-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .lavora-form-card { padding: 32px 20px; }
  .lavora-form-card .wpcf7 p { grid-template-columns: 1fr; }
  .lavora-punti { gap: 24px; }
  .lavora-num { font-size: 2rem; width: 40px; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--sky);
  padding: 80px 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200,222,255,0.1);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand img { height: 80px; width: auto;}
.footer-brand p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.8;
  color: var(--white);
}
.footer-col h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.88rem; font-weight: 300;
  color: var(--white);
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 0.78rem;   color: var(--white);
  letter-spacing: 0.08em;
}
 
	.footer-wrap ul { display: flex; color: #fff; justify-content: space-between; list-style-type: none; margin: 0; padding: 0; }
	.footer-wrap ul li { flex: 1; text-align: center; }
	.footer-wrap ul li img { width: 150px; height: auto; }
 
	.footer-wrap ul li p { font-size: 1.25em; margin: 5px 0; }
	.footer-wrap ul li a { color: #fff; text-decoration: none; }
	.footer-wrap ul li h3{margin-bottom: 20px;font-weight: 400;}
 
	footer p{font-size: 1em;}
	footer .copyright { padding: 40px; text-align: center; color: #fff; padding: 0; padding-top: 60px; font-size: 1.125em; text-transform: uppercase;}
 

  section.richiedi-preventivo { padding: 100px 20px; text-align: center; }
  section.richiedi-preventivo h2 { font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px;}
  section.richiedi-preventivo p { font-size: 1rem; font-weight: 300; line-height: 1.8; }
  section.richiedi-preventivo .contatti-form-wrap{max-width: 700px;margin: 40px auto;}
 
/* ═══════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {

  /* HEADER */
  header { padding: 0 ; }
  header.scrolled { padding: 0; }

  /* HERO HOME */
  .hero-content { padding: 0 32px; }
  .hero-title { font-size: clamp(2.8rem, 6vw, 5rem); }

  /* PRODOTTI GRID → 2 colonne */
  .prodotti-grid { grid-template-columns: 1fr 1fr; }

  /* ABOUT → stack */
  #about {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 80px 0;
    overflow-x: hidden;
  }
  .about-img-wrap img { height: 400px; }
  .stat-float { right: 16px; bottom: 16px; }
  .about-text { padding-left: 0; }

  /* QUALITÀ → stack */
  .qualita-inner { grid-template-columns: 1fr; gap: 48px; }
  .qualita-img { height: 360px; }

  /* FOOTER → 2 col */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}


/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 768px
═══════════════════════════════════════ */
@media (max-width: 998px) {

#cursor-dot, #cursor-ring{display: none;}

  /* ── HEADER MOBILE ── */
  header { padding: 10px 0; height: auto; }
  header.scrolled { height: 60px; }
  header .logo img { height: 72px; }
  header.scrolled .logo img { height: 56px; }


  /* NAV → drawer laterale */
  nav, .header__menu {
      width: 100%;
      max-width: 300px;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      height: 100dvh;
      background: var(--navy);
      z-index: 10;
      transform: translateX(-100%);
      transition: transform 0.35s var(--ease-expo);
      display: flex !important;
      flex-direction: column;
      justify-content: center;
      padding: 20px 16px;
      gap: 0;
      list-style: none;
      z-index: 999;
  }
  .header__menu.show-menu,
  nav.show-menu { transform: translateX(0); }

  .header__menu .menu-item,
  nav a {
    display: block;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white) !important;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
  }
  .header__menu .menu-item a { font-size: 1.1rem; padding: 14px 0; }
  .header__menu .menu-item:after{display: none;}

  nav a::after { display: none; }

  /* Sub-menu mobile */
  ul.sub-menu {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 16px;
    display: none; /* nascosto di default, aperto da JS */
  }
  ul.sub-menu.sub-open { display: block; }
  ul.sub-menu .menu-item a {
    font-size: 0.9rem;
    color: rgba(200,222,255,0.65) !important;
    border-bottom: none;
    padding: 8px 0;
  }

  /* Wrapper per voce con figli: flex row con tasto + */
  .menu-item-has-children {
    position: relative;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
  }
  .menu-item-has-children > a {
    flex: 1;
  }
  /* Tasto toggle + / × */
  .sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: rgba(200,222,255,0.6);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, transform 0.3s var(--ease-expo);
    margin-left: 12px;
    user-select: none;
  }
  .sub-toggle.open {
    transform: rotate(45deg);
    color: var(--gold);
    border-color: var(--gold);
  }
  /* Il sub-menu occupa tutta la larghezza sotto la riga */
  .menu-item-has-children > ul.sub-menu {
    width: 100%;
    flex-basis: 100%;
  }

  /* Hamburger mobile */
  .header__icon-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    cursor: pointer;
    z-index: 11;
    position: relative;
  }
  .header__icon-bar .icon-left,
  .header__icon-bar .icon-right {
    position: absolute;
    height: 2px; width: 22px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.35s, opacity 0.25s, background 0.3s;
    right: 0;
  }
  .header__icon-bar .icon-left  { top: 50%; transform: translateY(calc(-50% - 5px)); }
  .header__icon-bar .icon-right { top: 50%; transform: translateY(calc(-50% + 5px)); }
  .header__icon-bar .icon-left::before,
  .header__icon-bar .icon-left::after,
  .header__icon-bar .icon-right::before,
  .header__icon-bar .icon-right::after { display: none; }

  /* Hamburger → X */
  .header__icon-bar.open .icon-left  { transform: translateY(-50%) rotate(45deg); }
  .header__icon-bar.open .icon-right { transform: translateY(-50%) rotate(-45deg); }

  /* Overlay scuro dietro il menu aperto */
  .header__icon-bar.open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9;
  }

  /* ── HERO HOME ── */
  #hero { height: 100dvh; }
  .hero-content { padding: 0 20px; justify-content: flex-end; padding-bottom: 100px; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.8rem); line-height: 1; }
  .hero-subtitle { font-size: 0.95rem; max-width: 100%; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; padding: 16px 24px; }
  .hero-scroll { display: none; }

  /* ── MARQUEE ── */
  .marquee-item { padding: 0 20px 0 0; gap: 20px; font-size: 0.65rem; }

  /* ── PRODOTTI ── */
  #prodotti { padding: 60px 20px; }
  .prodotti-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
  }
  .prodotti-header .btn-ghost { width: 100%; text-align: center; }
  .prodotti-grid { grid-template-columns: 1fr; gap: 2px; }
  .prodotto-card { aspect-ratio: 4/3; }
  .card-img:before { content: ''; position: absolute; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 999; width: 100%; }
  .card-body { padding: 24px; position: relative; z-index: 999;}
  .card-title { font-size: 1.4rem; }
  /* Su mobile mostriamo sempre la descrizione, senza hover */
  .card-desc { max-height: none; opacity: 1; }

  /* ── INTRO ── */
  #intro { padding: 60px 20px; }
  .intro-quote { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .intro-bg-number { font-size: 50vw; }

  /* ── ABOUT ── */
  #about { padding: 60px 20px; grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap img { height: 280px; }
  .stat-float {
    position: relative;
    right: auto; bottom: auto;
    display: inline-flex;
    align-items: center; gap: 12px;
    margin-top: 16px;
    padding: 16px 24px;
  }
  .stat-float .stat-num { font-size: 2.2rem; }
  .sector-tags { gap: 8px; margin-top: 24px; }
  .sector-tag { font-size: 0.62rem; padding: 6px 14px; }

  /* ── SETTORI ── */
  #settori { padding: 60px 20px; }
  .settori-header { margin-bottom: 40px; }
  .settori-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; }
  .settore-item { padding: 20px 10px; gap: 10px; }
  .settore-icon { width: 38px; height: 38px; }
  .settore-label { font-size: 0.6rem; letter-spacing: 0.06em; }
  .settori-inner.width-wrap{padding: 0;}

  /* ── QUALITÀ ── */
  #qualita { padding: 60px 20px; }
  .qualita-inner { grid-template-columns: 1fr; gap: 40px; }
  .qualita-inner.width-wrap{padding: 0;}
  .cert-grid { grid-template-columns: 1fr; gap: 10px; }
  .qualita-img { height: 260px; }
  .qualita-badge { top: 16px; right: 16px; padding: 14px 18px; }

  /* ── FOOTER ── */
  footer { padding: 60px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; padding-bottom: 36px; }
  .footer-top.width-wrap { padding: 0; padding-bottom: 20px;}
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* ── PAGINE INTERNE ── */

  /* Hero interno */
  #hero.hero-inner { height: 50vh; min-height: 280px; }
  .hero-inner-content { padding-bottom: 36px; }
  .hero-inner-content .hero-title { font-size: 1.75em; }
  .hero-inner-content .hero-subtitle { font-size: 0.9rem; }

  /* Chi siamo split */
  .page-split { grid-template-columns: 1fr; gap: 32px; padding: 60px 20px; }
  .page-split + .page-split { padding-top: 0; }
  .page-split--reverse .page-split-text { order: 1; }
  .page-split--reverse .page-split-media { order: 2; }
  .page-split-img-wrap img { height: 240px; }
  .page-split-text h2 { font-size: 1.6rem; }

  /* Contatti */
  #contatti-wrap { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; overflow-x: hidden;}
  .contatti-form-wrap { padding: 20px; }
  #mappa { height: 320px; }

  /* Prodotto layout (termometri/manometri) */
  .prodotto-layout {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }
  .prodotto-sidebar {
    position: static;
    padding-right: 0;
    padding-bottom: 28px;
    border-right: none;
    border-bottom: 1px solid var(--ice);
  }
  #tipologie-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  #tipologie-nav li {
    flex-direction: column;
    text-align: center;
    width: calc(50% - 4px);
    gap: 8px;
    padding: 12px 8px;
  }
  #tipologie-nav li img { width: 40px; height: 40px; }
  #tipologie-nav li span { font-size: 0.65rem; }
  .prodotto-content { padding-left: 0; padding-top: 36px; }
  .prodotto-content h2 { font-size: 1.5rem; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid--compact { grid-template-columns: 1fr 1fr; }
  .prodotto-downloads { flex-direction: column; gap: 10px; }
  .download-link { justify-content: center; }

  /* CTA */
  .page-cta { padding: 64px 0; }
  .page-cta-inner h2 { font-size: 1.6rem; }
  .page-cta-inner .btn-primary { width: 100%; text-align: center; }
}




/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  ≤ 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {

  /* Hero ancora più compatto */
  .hero-title { font-size: 2.2rem; }
  .hero-content { padding: 0 16px; padding-bottom: 80px !important; }
  .width-wrap{padding: 0 16px;}

 
  .hero-inner-content.width-wrap { padding-bottom: 36px; }

  .page-split{padding: 60px 16px;}

 

  /* Settori: 2 colonne su schermi piccoli */
  .settori-grid { grid-template-columns: repeat(2, 1fr); }
  .settore-label { font-size: 0.55rem; }

  /* Card prodotti più alte per leggibilità */
  .prodotto-card { aspect-ratio: 3/4; }

  section.prodotto-layout.width-wrap { padding: 60px 16px; }


  /* Specs su colonna singola */
  .specs-grid--compact { grid-template-columns: 1fr; }

  /* tipologie nav: full width */
  #tipologie-nav li { width: 100%; flex-direction: row; text-align: left; }

  /* Qualità cert-grid: già 1 col, ok */

  footer{padding: 60px 16px;}
  /* Footer brand */
  .footer-brand p { font-size: 0.82rem; }
  .footer-col h4 { font-size: 0.85rem; }
}