/*
Theme Name:   G-teK Child
Theme URI:    https://www.gtek.it
Description:  Child theme Avada per G-teK srl — Design system Exo 2, #0A3D8F, #F5C400
Author:       G-teK srl
Author URI:   https://www.gtek.it
Template:     Avada
Version:      3.5.0
License:      Proprietary
Text Domain:  gtek-child
*/

/* ═══════════════════════════════════════════════════════════════════════════
   G-TEK · DESIGN SYSTEM v3.3
   Font: Exo 2 (Google Fonts)
   Primario: #0A3D8F  Accento: #F5C400  Verde: #00A86B
   Content max-width: 1280px
═══════════════════════════════════════════════════════════════════════════ */

/* ─── VARIABILI ─────────────────────────────────────────────────────────── */
:root {
  --gtek-blue:  #0A3D8F;
  --gtek-bm:    #1557C0;
  --gtek-bl:    #3B7DE8;
  --gtek-bxl:   #E8F0FC;
  --gtek-y:     #F5C400;
  --gtek-yd:    #D4A800;
  --gtek-yl:    #FFF8D6;
  --gtek-tx:    #0D1F4A;
  --gtek-mu:    #5A6E9A;
  --gtek-gr:    #00A86B;
  --gtek-off:   #F7F9FF;
  --gtek-g:     #F0F2F8;
  --gtek-bd:    #DDE4F5;
  --gtek-shadow-sm: 0 2px 12px rgba(10,61,143,.08);
  --gtek-shadow-md: 0 8px 32px rgba(10,61,143,.12);
  --gtek-shadow-lg: 0 20px 60px rgba(10,61,143,.16);
}

/* ─── RESET / BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .fusion-body {
  font-family: 'Exo 2', sans-serif !important;
  color: var(--gtek-tx);
  -webkit-font-smoothing: antialiased;
  margin: 0; padding: 0;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Exo 2', sans-serif !important;
  letter-spacing: -0.5px;
  color: var(--gtek-tx);
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ─── NASCONDE AVADA SU PAGINE .gtek-page ───────────────────────────────── */
.gtek-page #header,
.gtek-page .fusion-header-wrapper,
.gtek-page .fusion-header,
.gtek-page .fusion-top-bar,
.gtek-page .fusion-secondary-header,
.gtek-page #top-bar-wrap,
.gtek-page .fusion-page-title-bar,
.gtek-page .fusion-page-title-holder,
.gtek-page .avada-sticky-header-holder,
.gtek-page .fusion-sticky-menu-height,
.gtek-page #footer,
.gtek-page .fusion-footer,
.gtek-page .fusion-footer-widget-area,
.gtek-page .fusion-copyright-area,
.gtek-page .fusion-footer-copyright-area { display: none !important; }

.gtek-page #main,
.gtek-page #content,
.gtek-page #wrapper,
.gtek-page body { padding-top: 0 !important; margin-top: 0 !important; }

/* ─── TOPBAR ────────────────────────────────────────────────────────────── */
#gtek-header { position: relative; z-index: 1000; }
.topbar {
  background: var(--gtek-blue);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3px;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--gtek-y); text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ─── NAVIGAZIONE PRINCIPALE ────────────────────────────────────────────── */
#mainNav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gtek-bd);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(10,61,143,.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 52px; width: auto; }

.nav-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu li { position: relative; }
.nav-menu li > a {
  display: block;
  padding: 22px 14px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--gtek-mu);
  transition: color .2s, background .2s;
  border-radius: 8px;
}
.nav-menu li > a:hover,
.nav-menu li > a.active {
  color: var(--gtek-blue);
  background: var(--gtek-bxl);
}
.nav-cta {
  background: var(--gtek-y) !important;
  color: var(--gtek-blue) !important;
  font-weight: 800 !important;
  border-radius: 9px !important;
  padding: 10px 18px !important;
  box-shadow: 0 3px 12px rgba(245,196,0,.35);
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--gtek-yd) !important;
  box-shadow: 0 6px 20px rgba(245,196,0,.50) !important;
  transform: translateY(-1px);
}

/* ─── MEGA MENU ─────────────────────────────────────────────────────────── */
.has-mega { position: static !important; }
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 560px;
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(10,61,143,.16);
  padding: 24px;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  z-index: 2000;
}
#mainNav .has-mega:hover .mega-menu,
#mainNav .has-mega:focus-within .mega-menu { display: grid; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-col a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--gtek-tx);
  font-weight: 500;
  transition: background .2s, color .2s;
}
.mega-col a:hover { background: var(--gtek-bxl); color: var(--gtek-blue); }
.mega-icon { font-size: 1.4rem; flex-shrink: 0; width: 36px; text-align: center; }
.mega-txt strong { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 1px; }
.mega-txt em { font-style: normal; font-size: .73rem; color: var(--gtek-mu); }
.mega-col-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gtek-blue);
  padding: 4px 12px 8px;
  border-bottom: 1.5px solid var(--gtek-bd);
  margin-bottom: 4px;
}
/* Mega Prodotti: 3 colonne → più largo */
.mega-menu--prodotti {
  grid-template-columns: repeat(3, 1fr) !important;
  min-width: 680px !important;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gtek-blue);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── HERO SLIDER v3.3 ──────────────────────────────────────────────────── */
.s-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #020810;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  /* Ken-Burns subtle zoom */
}
.slide .s-bg-zoom {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.07);
  transition: transform 7s ease;
}
.slide.active .s-bg-zoom { transform: scale(1.0); }

.slide.active { opacity: 1; z-index: 2; }
.slide.leaving { opacity: 0; z-index: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(5,14,40,.58) 0%,
    rgba(5,14,40,.18) 44%,
    transparent 72%);
}

/* Scanlines — sottile effetto tecnico */
.s-scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 4px,
    rgba(255,255,255,.009) 4px, rgba(255,255,255,.009) 5px
  );
}

.slide-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* Eyebrow pill label */
.s-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5,12,35,.55);
  border: 1px solid rgba(245,196,0,.65);
  color: var(--gtek-y);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.s-dot-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gtek-y);
  flex-shrink: 0;
  animation: sdotpls 2s ease infinite;
}
@keyframes sdotpls {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.5); }
}

/* h1 usa .slide-anim ma l'animazione è sui .s-w interni — l'h1 resta sempre visibile */
.slide-content h1.slide-anim {
  opacity: 1 !important;
  transform: none !important;
}

/* Headline — word-by-word lines */
.slide-content h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 2px 28px rgba(0,0,0,.55);
}
.s-ln { display: block; overflow: hidden; line-height: 1.12; }
.s-accent-y { color: var(--gtek-y) !important; }
.s-accent-g { color: #6ADFA8 !important; }

.slide-content p {
  color: rgba(255,255,255,.88) !important;
  font-weight: 300;
}

/* Animazioni — da sinistra (come originale HTML) */
.slide-anim {
  opacity: 0;
  transform: translateX(-60px);
}
/* Pill label */
.slide.active .slide-anim.delay-1 {
  animation: sldIn .55s cubic-bezier(.16,1,.3,1) .08s forwards;
}
/* Word spans within h1 */
.s-w {
  display: inline-block;
  transform: translateX(-90px);
  opacity: 0;
  transition: transform .65s cubic-bezier(.16,1,.3,1), opacity .5s ease;
}
.slide.active .s-w { transform: translateX(0); opacity: 1; }
/* stagger per linee */
.slide.active h1 .s-ln:nth-child(1) .s-w { transition-delay: .28s; }
.slide.active h1 .s-ln:nth-child(2) .s-w { transition-delay: .38s; }
.slide.active h1 .s-ln:nth-child(3) .s-w { transition-delay: .48s; }
/* exit */
.slide.leaving .s-w {
  transform: translateX(90px) !important;
  opacity: 0 !important;
  transition: transform .38s ease, opacity .3s ease;
  transition-delay: 0s !important;
}
/* paragrafo */
.slide-content .hero-sub.slide-anim {
  transform: translateX(-46px);
  transition: opacity .65s ease .72s, transform .65s cubic-bezier(.16,1,.3,1) .72s;
}
.slide.active .hero-sub.slide-anim { opacity: 1; transform: translateX(0); }
.slide.leaving .hero-sub.slide-anim { opacity: 0; transform: translateX(56px); transition: opacity .26s, transform .3s; transition-delay: 0s; }
/* bottoni */
.slide-content .hero-btns.slide-anim {
  transform: translateX(-34px);
  transition: opacity .6s ease .92s, transform .6s cubic-bezier(.16,1,.3,1) .92s;
}
.slide.active .hero-btns.slide-anim { opacity: 1; transform: translateX(0); }
.slide.leaving .hero-btns.slide-anim { opacity: 0; transform: translateX(44px); transition: opacity .22s, transform .28s; transition-delay: 0s; }

@keyframes sldIn {
  from { opacity:0; transform:translateX(-56px); }
  to   { opacity:1; transform:translateX(0); }
}

/* ── Angolari fotocamera (camera corners) */
.s-corner {
  position: absolute;
  width: 26px; height: 26px;
  z-index: 8;
  pointer-events: none;
}
.s-corner::before, .s-corner::after {
  content: '';
  position: absolute;
  background: rgba(245,196,0,.65);
}
.s-corner::before { width: 100%; height: 2px; top: 0; }
.s-corner::after  { width: 2px; height: 100%; top: 0; left: 0; }
.s-corner.tl { top: 22px; left: 36px; }
.s-corner.tr { top: 22px; right: 36px; transform: rotate(90deg); }
.s-corner.bl { bottom: 18px; left: 36px; transform: rotate(-90deg); }
.s-corner.br { bottom: 18px; right: 36px; transform: rotate(180deg); }

/* ── Contatore slide */
.s-counter {
  position: absolute;
  bottom: 30px; right: 56px;
  z-index: 20;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.42);
  font-family: 'Exo 2', sans-serif;
}
.s-counter strong {
  color: var(--gtek-y);
  font-size: 1.1rem;
  font-weight: 800;
}

/* ── Barra di progresso */
.s-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  height: 4px;
  background: rgba(255,255,255,.14);
}
.s-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gtek-y), var(--gtek-bl));
  width: 0%;
  transition: width linear;
}

/* ── Freccia Scroll Down */
.s-scroll-down {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  text-decoration: none;
}
.sda-label {
  font-family: 'Exo 2', sans-serif;
  font-size: .62rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.sda-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.38);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(4px);
  color: #fff;
  animation: sdaBnc 2.4s cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes sdaBnc {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(6px); }
}

/* ── Frecce prev/next */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 20;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
}
.slider-prev { left: 28px; }
.slider-next { right: 28px; }
.slider-prev:hover, .slider-next:hover {
  background: rgba(245,196,0,.28);
  border-color: var(--gtek-y);
  transform: translateY(-50%) scale(1.08);
}

/* ── Dots */
.slider-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  align-items: center;
  z-index: 20;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  border: none; cursor: pointer;
  padding: 0;
  transition: background .3s, width .3s, border-radius .3s;
}
.dot.active {
  background: var(--gtek-y);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(245,196,0,.5);
}

/* ── Btn verde per slide 3 */
.btn-green {
  background: #6ADFA8;
  color: #004d2c;
  font-weight: 800;
}
.btn-green:hover {
  background: #4ecf96;
  transform: translateY(-2px);
}

/* ─── HERO (home) — compatibilità vecchia ───────────────────────────────── */
.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(8,28,72,.92) 0%,
    rgba(10,61,143,.75) 50%,
    rgba(5,20,55,.60) 100%);
}
.ph-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}
.s-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gtek-y);
  margin-bottom: 20px;
}
.s-label::before {
  content: '';
  width: 18px; height: 3px;
  background: var(--gtek-y);
  border-radius: 2px;
}
.ph-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── GLOBO SOLARE ──────────────────────────────────────────────────────── */
.sun-globe {
  position: absolute;
  right: max(60px, calc((100% - 1280px) / 2 + 80px));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 380px);
  height: clamp(200px, 28vw, 380px);
  border-radius: 50%;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%,
    #ffffff 0%, #fffce0 4%, #ffe566 10%,
    #ffcc00 20%, #ff9500 38%, #ff5500 58%,
    #cc2200 78%, #6b0000 92%, #1a0000 100%);
  box-shadow:
    0 0 50px  24px rgba(255,190,40,.85),
    0 0 110px 55px rgba(255,130,10,.60),
    0 0 200px 95px rgba(255,80,0,.32),
    0 0 350px 160px rgba(200,40,0,.16),
    0 0 550px 240px rgba(140,20,0,.08);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse {
  0%,100% {
    box-shadow:
      0 0 50px 24px rgba(255,190,40,.85),
      0 0 110px 55px rgba(255,130,10,.60),
      0 0 200px 95px rgba(255,80,0,.32),
      0 0 350px 160px rgba(200,40,0,.16),
      0 0 550px 240px rgba(140,20,0,.08);
  }
  50% {
    box-shadow:
      0 0 70px 35px rgba(255,215,60,.95),
      0 0 140px 70px rgba(255,155,20,.65),
      0 0 260px 115px rgba(255,90,0,.38),
      0 0 440px 190px rgba(215,52,0,.20),
      0 0 660px 280px rgba(160,25,0,.11);
  }
}
.sun-globe::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(ellipse 14% 10% at 28% 25%, rgba(255,255,200,.45) 0%, transparent 100%),
    radial-gradient(ellipse  9%  6% at 72% 28%, rgba(255,240,150,.28) 0%, transparent 100%),
    radial-gradient(ellipse 18% 12% at 48% 68%, rgba(170,45,0,.32)    0%, transparent 100%),
    radial-gradient(ellipse  7%  5% at 80% 75%, rgba(110,10,0,.38)    0%, transparent 100%);
}
.sun-globe::after {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at center,
    transparent 52%, rgba(50,0,0,.22) 72%, rgba(0,0,0,.58) 100%);
}
@media (max-width: 960px) { .sun-globe { display: none; } }

/* ─── BOTTONI ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Exo 2', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-blue {
  background: var(--gtek-blue);
  color: #fff;
  box-shadow: 0 5px 18px rgba(10,61,143,.25);
}
.btn-blue:hover { background: var(--gtek-bm); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10,61,143,.32); }
.btn-yellow {
  background: var(--gtek-y);
  color: var(--gtek-blue);
  box-shadow: 0 5px 18px rgba(245,196,0,.35);
}
.btn-yellow:hover { background: var(--gtek-yd); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-outline {
  background: transparent;
  color: var(--gtek-blue);
  border: 2px solid var(--gtek-blue);
}
.btn-outline:hover { background: var(--gtek-bxl); }

/* ─── SEZIONI GENERALI ──────────────────────────────────────────────────── */
.sec {
  padding: 80px 24px;
}
.sec-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.s-sep {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--gtek-y), var(--gtek-bl));
  border-radius: 2px;
  margin: 18px 0 28px;
}
.sec h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gtek-tx);
  line-height: 1.2;
}
.sec > .s-label, .sec > h2, .sec > .s-sep { text-align: center; margin-left: auto; margin-right: auto; }
.sec > .s-label { display: flex; justify-content: center; }
.sec > .s-sep { margin-left: auto; margin-right: auto; }

/* ─── SEZIONE INTRO (home) ──────────────────────────────────────────────── */
.s-intro { background: #fff; }
.intro-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-text p { color: var(--gtek-mu); line-height: 1.8; margin-bottom: 16px; }
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-item {
  background: var(--gtek-bxl);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1.5px solid var(--gtek-bd);
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gtek-blue);
  letter-spacing: -2px;
}
.stat-lbl {
  font-size: .78rem;
  color: var(--gtek-mu);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ─── CARDS SERVIZI ─────────────────────────────────────────────────────── */
.s-services { background: var(--gtek-g); }
.cards-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card-serv {
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 18px;
  padding: 32px 28px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card-serv:hover {
  box-shadow: var(--gtek-shadow-lg);
  transform: translateY(-5px);
  border-color: var(--gtek-bl);
}
.card-icon { font-size: 2.4rem; margin-bottom: 16px; }
.card-serv h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.card-serv p { font-size: .85rem; color: var(--gtek-mu); line-height: 1.7; margin-bottom: 18px; }
.card-serv a.link-more {
  font-size: .83rem;
  font-weight: 700;
  color: var(--gtek-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.card-serv a.link-more:hover { gap: 10px; color: var(--gtek-bm); }

/* ─── CTA VERDE ─────────────────────────────────────────────────────────── */
.s-cta {
  background: linear-gradient(135deg, #005B35, #00A86B);
  padding: 72px 24px;
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  max-width: 540px;
  line-height: 1.3;
}
.cta-inner h2 span { color: #A4EBCA; }
.cta-inner p { color: rgba(255,255,255,.66); font-size: .87rem; margin-top: 10px; }

/* ─── HERO PAGINE INTERNE ───────────────────────────────────────────────── */
.s-page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background: var(--gtek-blue);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.3) saturate(.7);
}
.s-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gtek-y), var(--gtek-bl));
}
.page-hero-content {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px 60px;
  width: 100%;
}
.page-hero-content .breadcrumb {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gtek-y);
  margin-bottom: 14px;
}
.page-hero-content .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero-content .breadcrumb a:hover { color: var(--gtek-y); }
.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  max-width: 700px;
}
.page-hero-content .hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── SEZIONE PRODOTTO (fotovoltaico, solare ecc.) ──────────────────────── */
.s-product {
  padding: 80px 24px;
  background: #fff;
}
.product-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-wrap.rev { direction: rtl; }
.product-wrap.rev > * { direction: ltr; }
.product-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--gtek-shadow-md);
  aspect-ratio: 4/3;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-text p { color: var(--gtek-mu); line-height: 1.8; margin-bottom: 16px; }
.feat-list { list-style: none; padding: 0; margin: 24px 0; }
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .88rem;
  color: var(--gtek-tx);
  border-bottom: 1px solid var(--gtek-bd);
}
.feat-list li:last-child { border-bottom: none; }
.feat-list li::before {
  content: '✓';
  color: var(--gtek-gr);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── SCHEDE TECNICHE / SPECIFICHE ─────────────────────────────────────── */
.s-specs { background: var(--gtek-g); padding: 72px 24px; }
.specs-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.spec-card {
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
}
.spec-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gtek-blue);
  letter-spacing: -1px;
}
.spec-unit { font-size: .78rem; color: var(--gtek-mu); font-weight: 600; margin-top: 4px; }
.spec-lbl { font-size: .75rem; color: var(--gtek-mu); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }

/* ─── NEWS / BLOG ───────────────────────────────────────────────────────── */
.s-news { background: var(--gtek-off); padding: 80px 24px; }
.news-grid {
  max-width: 1280px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gtek-bd);
  transition: box-shadow .3s, transform .3s;
}
.news-card:hover { box-shadow: var(--gtek-shadow-md); transform: translateY(-4px); }
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 24px; }
.news-meta {
  font-size: .72rem;
  color: var(--gtek-mu);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.news-card-body h3 { font-size: .97rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; }
.news-card-body p { font-size: .82rem; color: var(--gtek-mu); line-height: 1.7; margin-bottom: 14px; }

/* ─── CONTATTI ──────────────────────────────────────────────────────────── */
.s-contact { background: #fff; padding: 80px 24px; }
.contact-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-top: 48px;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gtek-off);
  border-radius: 12px;
  border: 1.5px solid var(--gtek-bd);
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 2px; }
.contact-detail span { font-size: .82rem; color: var(--gtek-mu); }
.contact-form-wrap {
  background: var(--gtek-off);
  border-radius: 20px;
  padding: 40px;
  border: 1.5px solid var(--gtek-bd);
}
.gtek-form-group { margin-bottom: 20px; }
.gtek-form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gtek-tx);
  margin-bottom: 6px;
}
.gtek-form-group input,
.gtek-form-group textarea,
.gtek-form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 9px;
  background: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: .88rem;
  color: var(--gtek-tx);
  transition: border-color .2s, box-shadow .2s;
}
.gtek-form-group input:focus,
.gtek-form-group textarea:focus {
  outline: none;
  border-color: var(--gtek-bl);
  box-shadow: 0 0 0 3px rgba(59,125,232,.10);
}
.gtek-form-group textarea { min-height: 140px; resize: vertical; }

/* ─── CHI SIAMO ─────────────────────────────────────────────────────────── */
.s-team { background: var(--gtek-off); padding: 80px 24px; }
.team-grid {
  max-width: 1280px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gtek-bd);
  text-align: center;
  padding-bottom: 24px;
}
.team-img { height: 220px; overflow: hidden; background: var(--gtek-g); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: .97rem; font-weight: 800; margin: 16px 16px 4px; }
.team-card span { font-size: .78rem; color: var(--gtek-mu); }

/* ─── SOLUZIONI OVERVIEW ────────────────────────────────────────────────── */
.s-solutions-grid { background: var(--gtek-off); padding: 80px 24px; }
.solutions-grid {
  max-width: 1280px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.sol-card:hover { box-shadow: var(--gtek-shadow-lg); transform: translateY(-5px); }
.sol-card-img { height: 180px; background: var(--gtek-g); overflow: hidden; }
.sol-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sol-card-body { padding: 24px; }
.sol-card-body .card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.sol-card-body h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.sol-card-body p { font-size: .82rem; color: var(--gtek-mu); line-height: 1.7; }

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
#gtek-footer {
  background: var(--gtek-tx);
  color: rgba(255,255,255,.6);
  font-size: .84rem;
}
.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-col h4 {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.32);
  margin-bottom: 20px;
}
.footer-col p { color: rgba(255,255,255,.55); line-height: 1.7; font-size: .82rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.55);
  font-size: .84rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gtek-y); }
.footer-logo { color: #fff; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.5px; }
.footer-logo span { color: var(--gtek-y); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 1rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--gtek-y); color: var(--gtek-blue); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .76rem;
  color: rgba(255,255,255,.3);
}
.footer-bar a { color: rgba(255,255,255,.3); }
.footer-bar a:hover { color: var(--gtek-y); }

/* ─── PRODOTTI: CATALOGO ────────────────────────────────────────────────── */
.cat-sep {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 28px;
}
.cat-sep h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gtek-tx);
  white-space: nowrap;
  margin: 0;
}
.cat-sep::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gtek-bd), transparent);
}
.cat-tag {
  background: var(--gtek-blue);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.prod-card {
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.prod-card:hover {
  border-color: var(--gtek-bl);
  box-shadow: var(--gtek-shadow-lg);
  transform: translateY(-5px);
}
.prod-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--gtek-g);
}
.prod-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
  filter: brightness(1.05) saturate(1.1);
}
.prod-card:hover .prod-img img { transform: scale(1.06); }
/* Corner giallo */
.prod-img::after {
  content: '';
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent var(--gtek-y) transparent transparent;
}
.prod-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  background: rgba(10,61,143,.85);
  color: #fff;
  font-size: .62rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 5px;
  border-left: 2px solid var(--gtek-y);
}
.prod-body { padding: 22px 22px 18px; }
.prod-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--gtek-tx); margin-bottom: 8px; }
.prod-body p { font-size: .82rem; color: var(--gtek-mu); line-height: 1.65; font-weight: 300; margin-bottom: 16px; }
.prod-specs {
  list-style: none;
  margin: 0 0 18px; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.prod-specs li {
  font-size: .78rem; color: var(--gtek-mu);
  display: flex; align-items: center; gap: 7px;
}
.prod-specs li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gtek-y);
  flex-shrink: 0;
}
.prod-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gtek-bd);
}
.prod-link {
  font-size: .8rem; font-weight: 700; color: var(--gtek-blue);
  text-decoration: none;
  display: flex; align-items: center; gap: 5px;
  transition: gap .2s;
}
.prod-link:hover { gap: 9px; }
.prod-badge-avail {
  font-size: .66rem; font-weight: 600; color: var(--gtek-gr);
  display: flex; align-items: center; gap: 4px;
}
/* CTA strip */
.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.btn-ghost-blue {
  background: transparent;
  color: var(--gtek-blue);
  border: 2px solid var(--gtek-blue);
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-ghost-blue:hover { background: var(--gtek-blue); color: #fff; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .prod-grid { grid-template-columns: 1fr; } }

/* ─── WAVE / ARCATE DIVISORI ────────────────────────────────────────────── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin: -1px 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 72px;
}

/* ─── HOME: STRIP BLU ───────────────────────────────────────────────────── */
.h-strip { background: var(--gtek-blue); }
.h-strip-in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.08);
  max-width: 1280px; margin: 0 auto;
}
.si {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 14px;
  transition: background .2s;
}
.si:hover { background: rgba(255,255,255,.07); }
.si-ic {
  width: 40px; height: 40px;
  background: rgba(245,196,0,.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.si-ic svg { width: 20px; height: 20px; color: var(--gtek-y); }
.si h4 { font-size: .87rem; font-weight: 700; color: #fff; margin: 0; }
.si p { font-size: .72rem; color: rgba(255,255,255,.46); margin: 2px 0 0; }

/* ─── HOME: ABOUT ───────────────────────────────────────────────────────── */
.h-about { background: var(--gtek-off); }
.ab-gr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.h-ttl {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.1;
  color: var(--gtek-tx);
  margin: 10px 0 0;
}
.h-ttl span { color: var(--gtek-blue); }
.ab-features { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.ab-row {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 11px;
  border: 1px solid var(--gtek-bd);
  transition: border-color .2s, box-shadow .2s;
}
.ab-row:hover { border-color: var(--gtek-bl); box-shadow: var(--gtek-shadow-sm); }
.ab-ico {
  width: 37px; height: 37px; flex-shrink: 0;
  background: var(--gtek-bxl); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.ab-ico svg { color: var(--gtek-blue); }
.ab-row h4 { font-size: .88rem; font-weight: 700; color: var(--gtek-tx); margin: 0; }
.ab-row p { font-size: .78rem; color: var(--gtek-mu); line-height: 1.5; margin: 2px 0 0; }
.ab-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #E6F8F1; color: var(--gtek-gr);
  border: 1.5px solid #A8E6CE;
  font-size: .72rem; font-weight: 700;
  padding: 5px 11px; border-radius: 100px;
}
/* Photo mosaic */
.ab-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 170px;
  gap: 10px;
}
.ab-photo {
  border-radius: 13px;
  overflow: hidden;
  position: relative;
}
.ab-photo-wide { grid-column: 1 / 3; }
.ab-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s;
}
.ab-photo:hover img { transform: scale(1.04); }
.ab-photo::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0; border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--gtek-y) transparent transparent;
  z-index: 2;
}
.ab-label {
  position: absolute; bottom: 10px; left: 10px; z-index: 3;
  background: rgba(10,61,143,.82); color: #fff;
  font-size: .61rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 5px;
  border-left: 3px solid var(--gtek-y);
}

/* ─── HOME: PRODOTTI GRID ───────────────────────────────────────────────── */
.h-prods { max-width: none; }
.h-prods-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.h-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px; margin: 0 auto;
}
.h-pc {
  background: #fff;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 17px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: pointer;
}
.h-pc:hover { border-color: var(--gtek-bl); box-shadow: var(--gtek-shadow-lg); transform: translateY(-5px); }
.h-pi { height: 198px; overflow: hidden; position: relative; background: var(--gtek-g); }
.h-pi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; filter: brightness(1.05) saturate(1.1); }
.h-pc:hover .h-pi img { transform: scale(1.06); }
.h-pi::before { content:''; position:absolute; inset:0; z-index:2; background:repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(10,61,143,.02) 3px,rgba(10,61,143,.02) 4px); pointer-events:none; }
.h-pi::after { content:''; position:absolute; top:0; right:0; z-index:3; width:0; height:0; border-style:solid; border-width:0 30px 30px 0; border-color:transparent var(--gtek-y) transparent transparent; }
.h-pb { position:absolute; top:11px; left:11px; z-index:4; background:rgba(10,61,143,.85); color:#fff; font-size:.61rem; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; padding:4px 8px; border-radius:5px; border-left:2px solid var(--gtek-y); }
.h-pd { padding: 19px 19px 17px; }
.h-pd h3 { font-size: .97rem; font-weight: 800; color: var(--gtek-tx); margin-bottom: 6px; }
.h-pd p { font-size: .8rem; color: var(--gtek-mu); line-height: 1.6; margin-bottom: 15px; font-weight: 300; }
.h-pf { display:flex; align-items:center; justify-content:space-between; padding-top:11px; border-top:1px solid var(--gtek-bd); }

/* ─── HOME: NUMERI ──────────────────────────────────────────────────────── */
.h-nums {
  background: var(--gtek-blue);
  position: relative;
  overflow: hidden;
}
.h-nums::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size: 50px 50px;
}
.h-num-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  max-width: 1280px; margin: 0 auto;
}
.h-nums .s-label { color: rgba(245,196,0,.85) !important; }
.h-nums .s-label::before { background: var(--gtek-y) !important; }
.h-ngr {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.h-nc {
  background: rgba(255,255,255,.07);
  padding: 30px 24px;
  border: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
}
.h-nc:hover { background: rgba(255,255,255,.12); }
.h-nci { margin-bottom: 11px; opacity: .38; color: var(--gtek-y); }
.h-nc h2 { font-size: 2.7rem; font-weight: 800; letter-spacing: -2px; color: var(--gtek-y); line-height: 1; margin: 0; }
.h-nc h2 sup { font-size: 1.2rem; color: rgba(255,255,255,.48); }
.h-nc p { font-size: .73rem; font-weight: 500; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ─── HOME: PHOTO BAND ──────────────────────────────────────────────────── */
.h-pbd {
  position: relative; height: 300px; overflow: hidden;
}
.h-pbd img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  display: block; filter: brightness(.56) saturate(.85);
}
.h-pb-ov {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,61,143,.80) 0%, rgba(10,61,143,.26) 55%, rgba(10,61,143,.72) 100%);
}
.h-pb-sc {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(255,255,255,.013) 3px,rgba(255,255,255,.013) 4px);
}
.h-pb-ct {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 10px;
}
.h-pb-tag { font-size: .67rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(245,196,0,.78); }
.h-pb-ct h2 { font-size: clamp(1.8rem,3.5vw,3rem); font-weight: 800; color: #fff; letter-spacing: -.5px; text-shadow: 0 2px 20px rgba(10,61,143,.5); margin: 0; }
.h-pb-ct h2 span { color: var(--gtek-y); }
.h-pb-line { width: 54px; height: 3px; background: linear-gradient(90deg,var(--gtek-y),var(--gtek-bl)); border-radius: 2px; }

/* ─── HOME: USE CASES ───────────────────────────────────────────────────── */
.h-uc { background: var(--gtek-off); }
.h-uc-h { text-align: center; margin-bottom: 40px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.h-uc-h .s-label, .h-uc-h h2 { display: block; }
.h-uc-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1280px; margin: 0 auto;
}
.h-uc-c {
  background: #fff; border-radius: 15px;
  overflow: hidden; border: 1.5px solid var(--gtek-bd);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: block;
}
.h-uc-c:hover { transform: translateY(-4px); box-shadow: var(--gtek-shadow-md); border-color: var(--gtek-y); }
.h-uc-i { height: 188px; overflow: hidden; }
.h-uc-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.h-uc-c:hover .h-uc-i img { transform: scale(1.05); }
.h-uc-t { display: inline-block; background: var(--gtek-yl); color: var(--gtek-blue); font-size: .62rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; margin-bottom: 6px; }
.h-uc-b { padding: 17px 17px 19px; }
.h-uc-b h4 { font-size: .92rem; font-weight: 800; color: var(--gtek-tx); margin: 4px 0 0; }
.h-uc-b p { font-size: .78rem; color: var(--gtek-mu); line-height: 1.55; margin-top: 5px; font-weight: 300; }

/* ─── HOME: GREEN BANNER ────────────────────────────────────────────────── */
.h-gbn {
  background: linear-gradient(135deg, #005B35, #00A86B);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
}
.h-gbn h3 { font-size: clamp(1.4rem,2.3vw,1.9rem); font-weight: 800; color: #fff; max-width: 520px; margin: 0; }
.h-gbn h3 span { color: #A4EBCA; }
.h-gbn p { color: rgba(255,255,255,.66); font-size: .87rem; margin-top: 6px; font-weight: 300; }

/* ─── HOME: NEWS ────────────────────────────────────────────────────────── */
.h-news .sec-inner { max-width: 1280px; margin: 0 auto; }
.h-nwh {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px;
  max-width: 1280px; margin-left: auto; margin-right: auto;
}
.h-nwg {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 18px;
  max-width: 1280px; margin: 0 auto;
}
.h-nwc {
  border-radius: 15px; overflow: hidden;
  border: 1.5px solid var(--gtek-bd); background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.h-nwc:hover { border-color: var(--gtek-bl); box-shadow: var(--gtek-shadow-md); transform: translateY(-3px); }
.h-nwi { overflow: hidden; height: 198px; position: relative; }
.h-nwc:first-child .h-nwi { height: 258px; }
.h-nwi img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s; }
.h-nwc:hover .h-nwi img { transform: scale(1.04); }
.h-nwt { position:absolute; top:11px; left:11px; z-index:2; background:var(--gtek-blue); color:#fff; font-size:.6rem; font-weight:800; letter-spacing:1.5px; text-transform:uppercase; padding:4px 8px; border-radius:5px; }
.h-nwb { padding: 17px 19px 19px; }
.h-nwm { font-size: .69rem; color: var(--gtek-mu); font-weight: 500; margin-bottom: 6px; }
.h-nwb h3 { font-size: .96rem; font-weight: 800; color: var(--gtek-tx); line-height: 1.3; margin: 0; }
.h-nwc:first-child .h-nwb h3 { font-size: 1.08rem; }
.h-nwr { display:inline-flex; align-items:center; gap:5px; margin-top:12px; font-size:.78rem; font-weight:700; color:var(--gtek-blue); text-decoration:none; transition:gap .2s; }
.h-nwr:hover { gap: 9px; }

/* ─── HOME: CTA FORM ────────────────────────────────────────────────────── */
.h-cta-sec { background: var(--gtek-g); }
.h-cta-in {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--gtek-bd);
  padding: 64px 68px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 54px; align-items: center;
  box-shadow: var(--gtek-shadow-md);
  position: relative; overflow: hidden;
  max-width: 1100px; margin: 0 auto;
}
.h-cta-in::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--gtek-y), var(--gtek-bl));
}
.h-cpp {
  display: flex; align-items: center; gap: 9px;
  margin-top: 18px; font-size: .81rem; color: var(--gtek-mu);
}
.h-cpp svg { color: var(--gtek-yd); flex-shrink: 0; }
.h-cf-inner { display: flex; flex-direction: column; gap: 11px; }
.h-cf-inner input {
  padding: 12px 15px;
  border: 1.5px solid var(--gtek-bd);
  border-radius: 9px;
  font-family: 'Exo 2', sans-serif;
  font-size: .87rem; color: var(--gtek-tx);
  outline: none; background: var(--gtek-off);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.h-cf-inner input:focus { border-color: var(--gtek-bl); box-shadow: 0 0 0 3px rgba(59,125,232,.1); background: #fff; }
.h-cf-inner input::placeholder { color: var(--gtek-mu); }

/* ─── RESPONSIVE HOME ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ab-gr, .h-num-in, .h-cta-in { grid-template-columns: 1fr; gap: 38px; }
  .h-strip-in, .h-uc-g { grid-template-columns: 1fr 1fr; }
  .h-nwg, .h-prod-grid { grid-template-columns: 1fr 1fr; }
  .h-cta-in { padding: 44px 32px; }
  .slide-content { padding: 0 32px; }
}
@media (max-width: 640px) {
  .h-prod-grid, .h-uc-g, .h-nwg, .h-ngr { grid-template-columns: 1fr; }
  .h-strip-in { grid-template-columns: 1fr; }
  .h-gbn { padding: 40px 24px; }
}

/* ─── MEGA MENU CON IMMAGINI ────────────────────────────────────────────── */
.mega-col a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--gtek-tx);
  font-weight: 500;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.mega-thumb {
  width: 64px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: .88;
  transition: opacity .2s, transform .2s;
}
.mega-col a:hover .mega-thumb { opacity: 1; transform: scale(1.05); }

/* ─── UTILITY ───────────────────────────────────────────────────────────── */
.gtek-fu { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.gtek-fu.on { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* ─── AVADA OVERRIDES (stili Avada per pagine non-custom) ───────────────── */
.fusion-main-menu > ul > li > a {
  font-family: 'Exo 2', sans-serif !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  color: var(--gtek-mu) !important;
}
.fusion-main-menu > ul > li > a:hover { color: var(--gtek-blue) !important; }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .intro-wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-wrap.rev { direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--gtek-bd); padding: 16px; gap: 4px; }
  #mainNav.open .nav-menu { display: flex; }
  .nav-burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .s-hero { min-height: 80vh; }
  .ph-content { padding: 100px 24px 60px; }
}
@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVADA FUSION BUILDER COMPATIBILITY — v3.5
   Stili per il layout Avada: hero nel builder, strip icons, sezioni home.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Reset padding/margin che Avada aggiunge ai container wraps */
.fusion-builder-column .fusion-column-wrapper { padding: 0 !important; }
.gtek-hero-wrap .fusion-builder-column-outer,
.gtek-hero-wrap .fusion-builder-column,
.gtek-hero-wrap .fusion-column-wrapper,
.gtek-hero-wrap .fusion-builder-row,
.gtek-hero-wrap .fusion-layout-column { padding: 0 !important; margin: 0 !important; }

/* Hero slider: piena larghezza e altezza nel builder */
.gtek-hero-wrap { padding: 0 !important; margin: 0 !important; }
.gtek-hero-wrap .fusion-fullwidth { padding: 0 !important; }
.s-slider { margin-top: 0; }

/* Strip icons Avada (fusion_fontawesome dentro strip) */
.gtek-strip .fusion-builder-column { border: none !important; }
.gtek-strip .si-ic .fusion-fontawesome,
.gtek-strip .awb-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: rgba(255,255,255,.08); border-radius: 12px; margin-bottom: 12px; }
.gtek-strip .si-h4 .fusion-title-text { color: #fff !important; font-size: 1rem !important; font-weight: 700 !important; margin: 0 0 4px !important; }
.gtek-strip .si-p p { color: rgba(255,255,255,.62) !important; font-size: .82rem !important; margin: 0 !important; }
.gtek-strip .fusion-sep-spacer { display: none; }

/* About section: 7/12 column — Avada fallback column type */
.gtek-about-sec .fusion-builder-column { vertical-align: top; }

/* Prodotti home cards dentro fusion_text */
.h-pc { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(10,30,80,.07); transition: transform .28s, box-shadow .28s; text-decoration: none; color: inherit; display: block; }
.h-pc:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(10,30,80,.13); }
.h-pi { position: relative; overflow: hidden; }
.h-pb { position: absolute; top: 12px; left: 12px; background: rgba(10,61,143,.82); color: #F5C400; font-size: .65rem; font-weight: 800; letter-spacing: 2px; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; }
.h-pd { padding: 18px 20px 16px; }
.h-pd h3 { font-size: 1rem; font-weight: 700; color: var(--gtek-tx); margin: 0 0 8px; }
.h-pd p { font-size: .83rem; color: var(--gtek-mu); line-height: 1.65; margin: 0 0 14px; }
.h-pf { display: flex; align-items: center; justify-content: space-between; }
.prod-link { font-size: .82rem; font-weight: 700; color: var(--gtek-blue); text-decoration: none; }
.prod-link:hover { color: var(--gtek-y); }
.prod-badge-avail { font-size: .72rem; color: #00A86B; font-weight: 700; }

/* Numeri section: counter boxes */
.gtek-nums-sec .fusion-counters-box { background: transparent !important; }
.gtek-nums-sec .counter-box-wrapper { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.08) !important; border-radius: 12px !important; padding: 24px !important; }
.gtek-nums-sec .counter-box-border .counter-box { border: none !important; }
.gtek-nums-sec .counter-box span,
.gtek-nums-sec .counter-box .counter { color: #fff !important; font-size: 2.4rem !important; font-weight: 800 !important; }
.gtek-nums-sec .counter-box .counter-box-description { color: rgba(255,255,255,.52) !important; font-size: .82rem !important; }

/* Use case cards link */
.h-uc-c { display: block; background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .28s, box-shadow .28s; box-shadow: 0 2px 12px rgba(10,30,80,.06); }
.h-uc-c:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(10,30,80,.12); }
.h-uc-i img { width: 100%; display: block; object-fit: cover; }
.h-uc-b { padding: 18px 20px; }
.h-uc-t { font-size: .68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gtek-blue); }
.h-uc-b h4 { font-size: .98rem; font-weight: 700; color: var(--gtek-tx); margin: 6px 0 8px; }
.h-uc-b p { font-size: .82rem; color: var(--gtek-mu); line-height: 1.65; margin: 0; }

/* Photo band inside fusion_code */
.h-pbd { position: relative; height: 420px; overflow: hidden; }
.h-pbd img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-pb-ov { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,30,80,.72) 0%, rgba(10,30,80,.28) 50%, transparent 72%); }
.h-pb-sc { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.025) 3px, rgba(255,255,255,.025) 4px); pointer-events: none; }
.h-pb-ct { position: absolute; left: 6%; bottom: 14%; color: #fff; }
.h-pb-tag { font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gtek-y); opacity: .8; display: block; margin-bottom: 12px; }
.h-pb-ct h2 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; margin: 0; }
.h-pb-ct h2 span { color: var(--gtek-y); }
.h-pb-line { width: 56px; height: 3px; background: var(--gtek-y); border-radius: 3px; margin-top: 16px; }

/* Green banner Avada */
.gtek-greenbanner .fusion-builder-column { vertical-align: middle !important; }
.gtek-greenbanner .fusion-title-text { color: #fff !important; }

/* News page fusion_recent_posts override */
.gtek-news-sec .fusion-recent-posts .fusion-post-title a,
.gtek-news-page .fusion-recent-posts .fusion-post-title a { color: var(--gtek-tx) !important; font-weight: 700; }
.gtek-news-sec .fusion-recent-posts .fusion-post-title a:hover,
.gtek-news-page .fusion-recent-posts .fusion-post-title a:hover { color: var(--gtek-blue) !important; }

/* Avada page title bar — nascosto via pyre meta ma aggiunto come fallback */
.gtek-page .fusion-page-title-bar { display: none !important; }

/* Avada injects .post-content margin — reset for hero full bleed */
.gtek-home .post-content { margin: 0 !important; padding: 0 !important; }

/* h-ttl in sezioni builder */
.gtek-strip .h-ttl,
.gtek-about-sec .h-ttl,
.gtek-prods-sec .h-ttl,
.gtek-nums-sec .h-ttl,
.gtek-uc-sec .h-ttl,
.gtek-news-sec .h-ttl,
.gtek-cta-sec .h-ttl { font-size: clamp(1.6rem, 3.5vw, 2.8rem) !important; font-weight: 900 !important; line-height: 1.2 !important; }
.h-ttl span { color: var(--gtek-blue); }

/* s-label inside fusion_text */
.s-label { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gtek-blue); background: rgba(10,61,143,.06); padding: 5px 14px; border-radius: 100px; border: 1px solid rgba(10,61,143,.15); margin-bottom: 14px; }
.gtek-nums-sec .s-label { background: rgba(245,196,0,.1); border-color: rgba(245,196,0,.3); }
