/*
Theme Name: Hydrika Child
Template: kadence
Description: Hydrika srl — child theme su Kadence
Version: 2.48.0
Author: StepDesign
*/

/* ============================================================
   DESIGN TOKENS — HYDRIKA BRAND
   ============================================================ */
:root {
  --hyk-blue:       #0066CC;
  --hyk-sky:        #1ABCFE;
  --hyk-dark:       #0A1F3C;
  --hyk-light:      #EEF7FF;
  --hyk-white:      #FFFFFF;
  --hyk-blue-h:     #0052A3;
  --hyk-sky-h:      #0099D8;
  --hyk-border:     #C0DEFF;
  --hyk-text:       #1C3652;
  --hyk-muted:      #4A6A8A;
  --hyk-glow:       rgba(26,188,254,0.28);
  --hyk-glow-blue:  rgba(0,102,204,0.22);

  --hyk-font:       'Plus Jakarta Sans', system-ui, sans-serif;
  --hyk-r-sm:       8px;
  --hyk-r-md:       14px;
  --hyk-r-lg:       22px;

  --hyk-shadow-sm:  0 2px 12px rgba(0,102,204,0.10);
  --hyk-shadow-md:  0 8px 40px rgba(0,102,204,0.16);
  --hyk-shadow-lg:  0 24px 80px rgba(0,102,204,0.22);
  --hyk-shadow-glow: 0 0 0 3px rgba(26,188,254,0.25), 0 12px 40px rgba(26,188,254,0.20);

  --hyk-transition: 0.30s cubic-bezier(0.16,1,0.3,1);

  --hyk-header-h:   64px;
  --hyk-topbar-h:   90px;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#hyk-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--hyk-blue) 0%, var(--hyk-sky) 60%, #40DDFF 100%);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 99999;
  transition: transform 0.1s linear;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float-slow  { 0%,100%{transform:translateY(0) scale(1)}    50%{transform:translateY(-22px) scale(1.04)} }
@keyframes float-med   { 0%,100%{transform:translateY(0) scale(1)}    50%{transform:translateY(-14px) scale(1.02)} }
@keyframes float-fast  { 0%,100%{transform:translateY(0) scale(1)}    50%{transform:translateY(-30px) scale(1.06)} }
@keyframes shimmer     { 0%{background-position:200% center} 100%{background-position:-200% center} }
@keyframes blob-drift  { 0%,100%{border-radius:60% 40% 70% 30%/40% 60% 30% 70%} 33%{border-radius:40% 60% 30% 70%/60% 40% 70% 30%} 66%{border-radius:70% 30% 60% 40%/30% 70% 40% 60%} }
@keyframes pulse-glow  { 0%,100%{box-shadow:0 0 0 0 var(--hyk-glow)} 50%{box-shadow:0 0 0 12px transparent} }
@keyframes gradient-x  { 0%,100%{background-position:0% 50%}  50%{background-position:100% 50%} }
@keyframes spin-slow   { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes rise        { from{opacity:0;transform:translateY(60px)} to{opacity:1;transform:none} }

/* ============================================================
   DECORATIVE BLOBS (hero)
   ============================================================ */
.hyk-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
  animation: blob-drift 8s ease-in-out infinite, float-slow 7s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
}
.hyk-blob--1 { width:420px; height:420px; top:-120px; right:-60px;
  background: radial-gradient(circle, rgba(26,188,254,0.18) 0%, transparent 70%);
  animation-duration: 9s, 8s; }
.hyk-blob--2 { width:300px; height:300px; bottom:60px; left:-80px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  animation-duration: 11s, 10s; animation-delay: -3s; }
.hyk-blob--3 { width:200px; height:200px; top:30%; right:25%;
  background: radial-gradient(circle, rgba(64,220,255,0.12) 0%, transparent 70%);
  animation-duration: 7s, 6s; animation-delay: -5s; }

/* ============================================================
   KADENCE NATIVE OVERRIDES
   ============================================================ */
/* Nasconde il footer nativo di Kadence — usiamo .hyk-footer custom */
footer.site-footer { display: none !important; }

/* ============================================================
   BASE RESET / OVERRIDES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--hyk-font);
  color: var(--hyk-text);
  background: var(--hyk-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--hyk-sky); text-decoration: none; transition: color var(--hyk-transition); }
a:hover { color: var(--hyk-blue); }

h1,h2,h3,h4,h5 {
  color: var(--hyk-dark);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ============================================================
   HEADER — trasparente sull'hero, frosted white dopo scroll
   ============================================================ */

/* Fixed overlay — trasparente di default */
.site-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  transition: background 0.50s ease, box-shadow 0.50s ease;
}

/* Inner pages — header scuro in alto per leggibilità logo bianco */
body:not(.home) .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg,
    rgba(0,30,75,0.82) 0%,
    rgba(0,50,110,0.55) 45%,
    rgba(10,80,160,0.18) 80%,
    rgba(180,215,255,0.04) 100%) !important;
  box-shadow: 0 1px 0 rgba(0,80,200,0.06) !important;
}
/* Inner pages — logo più compatto, senza il salto verticale da homepage */
body:not(.home) .site-header:not(.is-scrolled) .site-branding .brand {
  width: 340px;
  height: 125px;
  transform: translateY(0);
}
body:not(.home) .site-header:not(.is-scrolled) .site-title-wrap .site-title {
  width: 340px;
  height: 125px;
}

/* Scrolled: navy solido full-width */
.site-header.is-scrolled {
  background: rgb(0,18,55) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07),
              0 8px 32px rgba(0,20,80,0.08) !important;
}
.site-header.is-scrolled .site-branding {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Nav links bianchi su header scrolled */
.site-header.is-scrolled .main-navigation a,
.site-header.is-scrolled .header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}
.site-header.is-scrolled .main-navigation a:hover,
.site-header.is-scrolled .main-navigation .current-menu-item > a {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}

/* Phone CTA scrolled: sfondo bianco, bordo blu, testo blu */
.site-header.is-scrolled .hyk-nav-phone-item a.hyk-nav-phone-cta {
  background: #fff !important;
  color: var(--hyk-blue) !important;
  border: 2px solid var(--hyk-blue) !important;
}
.site-header.is-scrolled .hyk-nav-phone-item a.hyk-nav-phone-cta:hover {
  background: var(--hyk-light) !important;
  color: var(--hyk-blue-h) !important;
  border-color: var(--hyk-blue-h) !important;
}

/* ── Logo: mostra branding Kadence + cerchio bianco ── */
.site-header,
.site-header .header-wrap,
.site-header .header-inner-wrap,
.site-header .site-container,
.site-header .site-branding { overflow: visible !important; }

.site-header .site-branding { display: flex !important; align-items: center; }
.site-header .site-title-wrap { display: block !important; overflow: visible !important; }
.site-header .custom-logo-link { display: flex !important; align-items: center; justify-content: center; }

/* Logo libero — senza sfondo ovale */
.site-branding .brand {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 460px;
  height: 168px;
  transition: width  0.55s cubic-bezier(.16,1,.3,1),
              height 0.55s cubic-bezier(.16,1,.3,1),
              transform 0.55s cubic-bezier(.16,1,.3,1);
  transform: translateY(18px);
}
/* Scrolled: compatto */
.site-header.is-scrolled .site-branding .brand {
  width: 250px;
  height: 74px;
  transform: translateY(0);
}

/* Logo versione chiara (testo bianco + wave cyan) su header scuro */
.site-title-wrap { overflow: visible !important; }
.site-title-wrap .site-title {
  font-size: 0 !important;
  line-height: 0;
  display: block;
  width: 460px;
  height: 168px;
  background: url('/wp-content/themes/hydrika-child/assets/img/hydrika-logo.png?v=logo7') no-repeat center center;
  background-size: contain;
  transition: width  0.55s cubic-bezier(.16,1,.3,1),
              height 0.55s cubic-bezier(.16,1,.3,1);
}
.site-header.is-scrolled .site-title-wrap .site-title {
  width: 200px;
  height: 62px;
}

/* ── Nav: pill frosted-glass scuro sull'hero ── */
.site-header:not(.is-scrolled) .main-navigation,
.site-header:not(.is-scrolled) .header-navigation {
  background: rgba(0,8,24,0.52);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.13);
  padding: 4px 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.28);
  transition: background 0.4s ease, border-color 0.4s ease;
}
/* ── Nav links: bianchi sull'hero scuro ── */
.site-header:not(.is-scrolled) .main-navigation a,
.site-header:not(.is-scrolled) .header-navigation a {
  color: rgba(255,255,255,0.88) !important;
}
.site-header:not(.is-scrolled) .main-navigation a:hover,
.site-header:not(.is-scrolled) .main-navigation .current-menu-item > a {
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
}
.site-header:not(.is-scrolled) .hyk-nav-cta {
  background: var(--hyk-sky) !important;
  border: 1.5px solid var(--hyk-sky) !important;
  color: #fff !important;
}
.site-header:not(.is-scrolled) .hyk-nav-cta:hover {
  background: var(--hyk-sky-h) !important;
}

/* Nav links scrolled (dark) */
.main-navigation a {
  color: var(--hyk-dark) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 5px 10px !important;
  border-radius: var(--hyk-r-sm);
  transition: background var(--hyk-transition), color var(--hyk-transition);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  background: var(--hyk-light);
  color: var(--hyk-blue) !important;
}

/* CTA button in nav */
.hyk-nav-cta {
  background: var(--hyk-sky) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--hyk-r-sm) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}
.hyk-nav-cta:hover { background: var(--hyk-sky-h) !important; }

/* ── NAV DROPDOWN — Prodotti ──────────────────────────────── */

/* Override Kadence display:none → usa opacity+visibility per CSS transition */
.header-navigation .menu-item-has-children > .sub-menu {
  display:      block !important;
  visibility:   hidden;
  opacity:      0;
  pointer-events: none;
  position:     absolute;
  top:          calc(100% + 6px);
  left:         50%;
  transform:    translateX(-50%) translateY(8px);
  min-width:    248px;
  background:   #FFFFFF !important;
  border-radius: 16px;
  padding:      8px;
  box-shadow:   0 20px 60px rgba(0,102,204,.18), 0 4px 16px rgba(0,50,140,.10), 0 0 0 1px var(--hyk-border);
  list-style:   none;
  margin:       0 !important;
  z-index:      9999;
  transition:   opacity .22s cubic-bezier(.16,1,.3,1),
                transform .22s cubic-bezier(.16,1,.3,1),
                visibility .22s .08s;  /* tiny delay evita chiusura flash */
}

/* Ponte trasparente sopra il gap → mantiene hover durante il movimento */
.header-navigation .menu-item-has-children > .sub-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0; right: 0;
  height: 10px;
  background: transparent;
}

/* Fade-in su hover */
.header-navigation .menu-item-has-children:hover > .sub-menu,
.header-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity:        1;
  visibility:     visible;
  pointer-events: auto;
  transform:      translateX(-50%) translateY(0);
}

/* Sub-item link */
.header-navigation .sub-menu .menu-item > a {
  display:     flex !important;
  align-items: flex-start;
  gap:         10px;
  padding:     10px 14px !important;
  border-radius: 10px;
  font-size:   14px !important;
  font-weight: 600 !important;
  color:       var(--hyk-dark) !important;
  text-decoration: none;
  white-space: normal;       /* voci lunghe (Depurazione/Invarianza) vanno a capo */
  line-height: 1.35;
  background:  transparent !important;
  transition:  background .15s, color .15s;
}
.header-navigation .sub-menu .menu-item > a::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 6px;           /* allinea il pallino alla prima riga di testo */
  border-radius: 50%;
  background: var(--hyk-border);
  flex-shrink: 0;
  transition: background .15s;
}
.header-navigation .sub-menu .menu-item > a:hover {
  background: var(--hyk-light) !important;
  color:      var(--hyk-blue)  !important;
}
.header-navigation .sub-menu .menu-item > a:hover::before {
  background: var(--hyk-sky);
}
/* Rimuovi eventuale bordo/ombra Kadence su sub-items */
.header-navigation .sub-menu .menu-item { border: none !important; background: none !important; }

/* Freccia su voce parent — ruota su hover */
.header-navigation .menu-item-has-children .dropdown-nav-toggle {
  display: inline-flex;
  transition: transform .22s cubic-bezier(.16,1,.3,1);
}
.header-navigation .menu-item-has-children:hover .dropdown-nav-toggle {
  transform: rotate(180deg);
}

/* ============================================================
   UTILS
   ============================================================ */
.hyk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hyk-section { padding: 80px 0; }
.hyk-section--sm { padding: 50px 0; }
.hyk-section--lg { padding: 100px 0; }
.hyk-section--dark { background: var(--hyk-dark); color: rgba(255,255,255,0.90); }
.hyk-section--blue { background: var(--hyk-blue); color: #fff; }
.hyk-section--sky  { background: var(--hyk-sky); color: #fff; }
.hyk-section--light { background: var(--hyk-light); }
.hyk-section--grad { background: linear-gradient(135deg, #EEF7FF 0%, #DCEEFF 50%, #C5E4FF 100%); color: var(--hyk-dark); }

.hyk-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hyk-sky);
  margin-bottom: 14px;
}
.hyk-section--dark .hyk-eyebrow,
.hyk-section--blue .hyk-eyebrow { color: rgba(255,255,255,0.70); }
.hyk-section--grad .hyk-eyebrow { color: var(--hyk-sky); }

.hyk-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}
.hyk-title--white { color: #fff; }
.hyk-subtitle {
  font-size: 17px;
  color: var(--hyk-muted);
  max-width: 620px;
  line-height: 1.7;
  margin: 0 0 40px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease 0.28s,
              transform 0.78s cubic-bezier(0.16,1,0.3,1) 0.28s;
}
.hyk-subtitle.is-in {
  opacity: 1;
  transform: none;
}
.hyk-subtitle--white { color: rgba(255,255,255,0.80); }

.hyk-divider {
  width: 48px; height: 4px;
  background: var(--hyk-sky);
  border-radius: 2px;
  margin: 0 0 24px;
}
.hyk-divider--center { margin: 0 auto 24px; }

/* Text alignment helpers */
.hyk-text-center { text-align: center; }
.hyk-text-left   { text-align: left; }

/* ============================================================
   BUTTONS
   ============================================================ */
.hyk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--hyk-r-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--hyk-transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.hyk-btn--primary {
  background: var(--hyk-sky);
  color: #fff;
  border-color: var(--hyk-sky);
}
.hyk-btn--primary:hover {
  background: var(--hyk-sky-h);
  border-color: var(--hyk-sky-h);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(39,174,228,0.35);
}
.hyk-btn--outline {
  background: transparent;
  color: #003A80;
  border-color: rgba(0,60,180,0.45);
}
.hyk-btn--outline:hover {
  background: rgba(0,80,180,0.10);
  border-color: rgba(0,80,180,0.70);
  color: #003A80;
}
.hyk-btn--dark {
  background: var(--hyk-sky);
  color: #fff;
  border-color: var(--hyk-sky);
}
.hyk-btn--dark:hover {
  background: var(--hyk-sky-h);
  border-color: var(--hyk-sky-h);
  color: #fff;
  transform: translateY(-1px);
}
.hyk-btn--ghost {
  background: transparent;
  color: var(--hyk-blue);
  border-color: var(--hyk-border);
  font-weight: 600;
}
.hyk-btn--ghost:hover {
  background: var(--hyk-light);
  border-color: var(--hyk-sky);
  color: var(--hyk-sky);
}
.hyk-btn svg { flex-shrink: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hyk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #001040; /* fallback while video loads */
}
/* ── Hero video background ── */
.hyk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.65;       /* overridden to 0 by water-sim.js when WebGL active */
  pointer-events: none;
}
/* WebGL water simulation canvas — inserted before overlay by water-sim.js */
.hyk-water-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
/* Animated radial light layer */
.hyk-hero::before {
  content:'';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 40%, rgba(0,80,180,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 85% 65%, rgba(0,140,255,0.09) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle mesh/dot texture */
.hyk-hero__bg {
  position: absolute; inset: 0;
  opacity: 0;   /* photo is now the .hyk-hero background itself — overlay not needed */
}
.hyk-hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(0,5,20,0.22) 0%,
    rgba(0,15,50,0.14) 50%,
    rgba(0,30,80,0.06) 100%
  );
  pointer-events: none;
}

/* decorative wave bottom */
.hyk-hero::after {
  content:'';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: #C0DCFF;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hyk-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 260px 24px 0;   /* spinge il testo sotto l'ovale logo (183px + 26px translateY + gap) */
  width: 100%;
  align-self: flex-start;
}
.hyk-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.90);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hyk-hero__tag span { width:6px; height:6px; background:var(--hyk-sky); border-radius:50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hyk-hero__h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 24px;
  max-width: 780px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.60), 0 1px 4px rgba(0,0,0,0.40);
}
.hyk-hero__h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #7EC8FF, #B8E4FF, #60B8FF, #7EC8FF);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
.hyk-hero__sub {
  font-size: 19px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  max-width: 560px;
  line-height: 1.65;
  margin: 0 0 40px;
  font-weight: 400;
}
.hyk-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
/* Bottoni ghost/outline su sfondi scuri → testo e bordo bianchi */
.hyk-hero__actions .hyk-btn--outline,
.hyk-hero__actions .hyk-btn--ghost,
.hyk-section--dark .hyk-btn--outline,
.hyk-section--dark .hyk-btn--ghost {
  color: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.45);
}
.hyk-hero__actions .hyk-btn--outline:hover,
.hyk-hero__actions .hyk-btn--ghost:hover,
.hyk-section--dark .hyk-btn--outline:hover,
.hyk-section--dark .hyk-btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.80);
  color: #fff;
}
.hyk-hero__scroll {
  position: absolute;
  bottom: 96px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hyk-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.38), transparent);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   KPI STRIP
   ============================================================ */
.hyk-kpi {
  background: linear-gradient(135deg, #C8E6FF 0%, #B5DBFF 50%, #A2D0FF 100%);
  background-size: 200% 200%;
  animation: gradient-x 8s ease infinite;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.hyk-kpi::before {
  content:'';
  position: absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0,80,180,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hyk-kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hyk-kpi__item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
}
.hyk-kpi__item + .hyk-kpi__item::before {
  content:'';
  position: absolute; left:0; top:20%; bottom:20%;
  width:1px;
  background: rgba(0,60,140,0.15);
}
.hyk-kpi__num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #003A80;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hyk-kpi__num sup { font-size: 0.55em; vertical-align: super; }
.hyk-kpi__label {
  font-size: 13px;
  color: rgba(0,40,120,0.70);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ============================================================
   BUYER PERSONA
   ============================================================ */
.hyk-persona__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hyk-persona__card {
  background: var(--hyk-white);
  border: 1px solid var(--hyk-border);
  border-radius: var(--hyk-r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--hyk-transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.hyk-persona__card:hover {
  border-color: var(--hyk-sky);
  box-shadow: 0 20px 60px rgba(0,102,204,0.18), 0 0 0 1px rgba(26,188,254,0.30);
  color: inherit;
  background: linear-gradient(145deg, #FFFFFF 0%, #F0F9FF 100%);
}
.hyk-persona__icon {
  width: 56px; height: 56px;
  border-radius: var(--hyk-r-md);
  background: var(--hyk-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--hyk-transition);
}
.hyk-persona__card:hover .hyk-persona__icon { background: rgba(39,174,228,0.12); }
.hyk-persona__icon svg { width:28px; height:28px; color: var(--hyk-blue); }
.hyk-persona__title { font-size: 20px; font-weight: 800; color: var(--hyk-dark); margin:0; }
.hyk-persona__desc { font-size: 14.5px; color: var(--hyk-muted); line-height: 1.6; margin:0; flex:1; }
.hyk-persona__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--hyk-sky);
  border: 1.5px solid var(--hyk-sky);
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: auto;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.hyk-persona__card:hover .hyk-persona__link {
  background: var(--hyk-sky-h);
  border-color: var(--hyk-sky-h);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   PRODOTTI GRID (7 categorie)
   ============================================================ */
.hyk-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hyk-cat__card {
  position: relative;
  border-radius: var(--hyk-r-lg);
  overflow: hidden;
  background: var(--hyk-dark);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: all var(--hyk-transition);
}
.hyk-cat__card:hover { transform: translateY(-4px); box-shadow: var(--hyk-shadow-lg); }

/* Span wide for first and last card */
.hyk-cat__card:first-child,
.hyk-cat__card:last-child  { grid-column: span 2; min-height: 260px; }

.hyk-cat__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity var(--hyk-transition), transform 0.6s ease;
}
.hyk-cat__card:hover .hyk-cat__bg { opacity: 0.70; transform: scale(1.04); }

.hyk-cat__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,30,60,0.90) 0%, rgba(0,30,60,0.30) 60%, transparent 100%);
}
.hyk-cat__body {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
}
.hyk-cat__icon {
  width: 40px; height: 40px;
  background: rgba(39,174,228,0.20);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(39,174,228,0.40);
  transition: background var(--hyk-transition);
}
.hyk-cat__card:hover .hyk-cat__icon { background: rgba(39,174,228,0.40); }
.hyk-cat__icon svg { width:20px; height:20px; color:#7dd3f8; }

/* Badge categoria (stile copertina): cerchio bianco + simbolo colorato, niente chip cyan */
.hyk-cat__icon { background: transparent !important; width: 48px !important; height: 48px !important; border-radius: 0 !important; }
.hyk-cat__card:hover .hyk-cat__icon { background: transparent !important; transform: scale(1.06); transition: transform .25s ease; }
.hyk-cat__icon .hyk-cat-badge { width: 48px !important; height: 48px !important; color: inherit; filter: drop-shadow(0 3px 8px rgba(0,0,0,.32)); }
.hyk-cat-badge { filter: drop-shadow(0 2px 6px rgba(0,40,90,.16)); }
.hyk-cat__name { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.hyk-cat__card:first-child .hyk-cat__name,
.hyk-cat__card:last-child  .hyk-cat__name { font-size: 22px; }
.hyk-cat__sub { font-size: 13px; color: rgba(255,255,255,0.68); margin:0; }
.hyk-cat__arrow {
  position: absolute;
  right: 16px;
  bottom: 20px;
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--hyk-transition);
}
.hyk-cat__card:hover .hyk-cat__arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   SERVIZI
   ============================================================ */
.hyk-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hyk-service__card {
  padding: 32px 28px;
  border-radius: var(--hyk-r-lg);
  background: var(--hyk-white);
  border: 1px solid var(--hyk-border);
  transition: all var(--hyk-transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hyk-service__card:hover {
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(0,102,204,0.20), 0 0 0 2px rgba(26,188,254,0.25);
  background: linear-gradient(145deg, #FFFFFF 0%, #EEF9FF 100%);
  color: inherit;
}
.hyk-service__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hyk-sky);
  text-transform: uppercase;
}
.hyk-service__icon {
  width: 52px; height: 52px;
  border-radius: var(--hyk-r-md);
  background: linear-gradient(135deg, var(--hyk-blue), var(--hyk-sky));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hyk-service__icon svg { width: 26px; height: 26px; color: #fff; }
.hyk-service__title { font-size: 17px; font-weight: 700; color: var(--hyk-dark); margin: 0; }
.hyk-service__desc { font-size: 14.5px; color: var(--hyk-muted); line-height: 1.65; margin: 0; flex:1; }
.hyk-service__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700;
  color: #fff;
  background: var(--hyk-sky);
  border: 1.5px solid var(--hyk-sky);
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: auto;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.hyk-service__card:hover .hyk-service__link {
  background: var(--hyk-sky-h);
  border-color: var(--hyk-sky-h);
  transform: translateY(-1px);
}

/* ============================================================
   CHI SIAMO STRIP (50/50)
   ============================================================ */
.hyk-about {
  background: linear-gradient(170deg, #FFFFFF 0%, #EEF7FF 100%);
}
.hyk-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hyk-about__img-wrap {
  position: relative;
  border-radius: var(--hyk-r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--hyk-border);
}
.hyk-about__img-wrap img { width:100%; height:100%; object-fit:cover; }
.hyk-about__img-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--hyk-blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--hyk-r-md);
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: var(--hyk-shadow-md);
}
.hyk-about__img-badge strong { font-size: 28px; display:block; line-height:1; }

.hyk-about__values { display: flex; flex-direction: column; gap: 20px; margin: 32px 0; }
.hyk-about__val {
  display: flex; gap: 16px; align-items: flex-start;
}
.hyk-about__val-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(39,174,228,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hyk-about__val-icon svg { width:20px; height:20px; color: var(--hyk-blue); }
.hyk-about__val-title { font-size: 15px; font-weight: 700; color: var(--hyk-dark); margin:0 0 3px; }
.hyk-about__val-text { font-size: 14px; color: var(--hyk-muted); margin:0; }

/* ============================================================
   DOWNLOAD CENTER
   ============================================================ */
.hyk-catalogo-showcase {
  display: flex;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding: 0 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.hyk-catalogo-showcase__img {
  flex-shrink: 0;
  width: 220px;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5));
  transition: filter 0.35s ease;
}
.hyk-catalogo-showcase__img img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center bottom;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
  cursor: zoom-in;
}
@media (hover: hover) {
  /* transform gestito da JS (centra nel viewport) */
  .hyk-catalogo-showcase__img:hover { filter: drop-shadow(0 40px 60px rgba(0,0,0,0.80)); }
}
.hyk-catalogo-showcase__body { flex: 1; }
@media (max-width: 680px) {
  .hyk-catalogo-showcase { flex-direction: column; padding: 28px 20px; gap: 24px; }
  .hyk-catalogo-showcase__img { width: 160px; margin: 0 auto; }
}

.hyk-download__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hyk-dl__card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--hyk-r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--hyk-transition);
  text-decoration: none;
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hyk-dl__card:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}
.hyk-dl__icon { width:44px; height:44px; background: rgba(255,255,255,0.15); border-radius:10px; display:flex; align-items:center; justify-content:center; }
.hyk-dl__icon svg { width:22px; height:22px; color:#7EC8FF; }
.hyk-dl__title { font-size: 15px; font-weight: 700; margin:0; color:#FFFFFF; }
.hyk-dl__desc { font-size: 13px; color: rgba(255,255,255,0.72); margin:0; flex:1; }
.hyk-dl__cta { font-size: 13px; font-weight: 700; color: #7EC8FF; display:flex; align-items:center; gap:5px; margin-top: auto; }

/* ============================================================
   CTA FINALE
   ============================================================ */
.hyk-cta-final {
  background: linear-gradient(135deg, #D4EEFF 0%, #C0E2FF 55%, #ACD6FF 100%);
  position: relative;
  overflow: hidden;
}
.hyk-cta-final::before {
  content:'';
  position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230062CC' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hyk-cta-final__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hyk-cta-final__h2 { font-size: clamp(28px, 4vw, 46px); color:#003A80; margin:0 0 16px; }
.hyk-cta-final__sub { font-size: 18px; color: rgba(0,40,120,0.80); margin:0 0 36px; }
.hyk-cta-final__actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   CONTATTI PAGE
   ============================================================ */
/* ── Contatti — sezione sfondo azzurrino ── */
.hyk-section--contact-light {
  background: linear-gradient(170deg, #EEF7FF 0%, #DCEEFF 100%);
}

/* ── 4 info card orizzontali ── */
.hyk-cinfo-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.hyk-cinfo-card {
  background: #FFFFFF;
  border: 1px solid var(--hyk-border);
  border-radius: var(--hyk-r-md);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--hyk-shadow-sm);
  transition: box-shadow var(--hyk-transition), transform var(--hyk-transition);
}
.hyk-cinfo-card:hover {
  box-shadow: var(--hyk-shadow-md);
  transform: translateY(-3px);
}
.hyk-cinfo-card__icon {
  width: 48px; height: 48px;
  background: var(--hyk-light);
  border-radius: var(--hyk-r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.hyk-cinfo-card__icon svg { width:24px; height:24px; color: var(--hyk-blue); }
.hyk-cinfo-card__label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--hyk-muted); margin: 0;
}
.hyk-cinfo-card__val {
  font-size: 15px; font-weight: 600;
  color: var(--hyk-dark); margin: 0; line-height: 1.5;
}
.hyk-cinfo-card__val a { color: var(--hyk-blue); text-decoration: none; }
.hyk-cinfo-card__val a:hover { color: var(--hyk-sky); }

/* ── Portami qui ── */
.hyk-directions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(130deg, #d6f5e3 0%, #baefd4 100%);
  border: 1px solid #8ee0b4;
  border-radius: var(--hyk-r-lg);
  padding: 20px 24px;
  margin-top: 48px;
  box-shadow: 0 4px 20px rgba(0,160,80,.10);
}
.hyk-directions-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hyk-directions-icon {
  width: 58px; height: 58px;
  background: var(--hyk-blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,102,204,.30);
}
.hyk-directions-divider {
  width: 1px; height: 48px;
  background: rgba(0,140,70,.22);
  flex-shrink: 0;
}
.hyk-directions-title {
  font-size: 18px; font-weight: 800;
  color: var(--hyk-dark); margin: 0 0 4px;
}
.hyk-directions-sub {
  font-size: 13.5px; color: var(--hyk-muted);
  margin: 0; line-height: 1.4;
}
.hyk-btn--directions {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #0052A3 0%, #0070CC 50%, #0088D4 100%);
  color: #fff !important;
  border: none;
  border-radius: 99px;
  padding: 10px 20px 10px 10px;
  font-family: var(--hyk-font);
  font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,102,204,.32);
  transition: transform var(--hyk-transition), box-shadow var(--hyk-transition);
  flex-shrink: 0;
}
.hyk-btn__icon-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hyk-btn__chevron { opacity: .75; }
.hyk-btn--directions:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,102,204,.40);
}
.hyk-btn--directions:disabled { opacity: .7; cursor: wait; }
@media (max-width: 640px) {
  .hyk-directions-bar { flex-direction: column; align-items: flex-start; }
  .hyk-directions-divider { width: 100%; height: 1px; }
  .hyk-btn--directions { width: 100%; justify-content: center; }
}

/* ── Mappa grande ── */
.hyk-map-full {
  border-radius: var(--hyk-r-lg);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--hyk-border);
  box-shadow: var(--hyk-shadow-md);
  border: 1px solid var(--hyk-border);
}
.hyk-map-full iframe { width:100%; height:100%; border:0; display:block; }

/* keep old map-wrap for any other pages */
.hyk-map-wrap {
  border-radius: var(--hyk-r-lg);
  overflow: hidden;
  margin-top: 24px;
  aspect-ratio: 16/7;
  background: var(--hyk-border);
}
.hyk-map-wrap iframe { width:100%; height:100%; border:0; }

/* ============================================================
   FOOTER
   ============================================================ */
.hyk-footer {
  background: var(--hyk-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.hyk-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.hyk-footer__logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.hyk-footer__desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.55); max-width: 280px; }
.hyk-footer__social { display:flex; gap:10px; margin-top: 20px; }
.hyk-footer__social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--hyk-transition);
}
.hyk-footer__social a:hover { background: var(--hyk-sky); color: #fff; }
.hyk-footer__social svg { width:18px; height:18px; }
.hyk-footer__col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin: 0 0 16px; }
.hyk-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hyk-footer__links a { font-size: 14px; color: rgba(255,255,255,0.55); }
.hyk-footer__links a:hover { color: var(--hyk-sky); }
.hyk-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.40);
  flex-wrap: wrap;
  gap: 12px;
}
.hyk-footer__bottom a { color: rgba(255,255,255,0.40); }
.hyk-footer__bottom a:hover { color: var(--hyk-sky); }
.hyk-footer__legal-links { display: flex; gap: 20px; }
.hyk-footer__credit { font-size: 12.5px; color: rgba(255,255,255,0.40); }
.hyk-footer__credit a { color: rgba(255,255,255,0.70); font-weight: 600; text-decoration: none !important; }
.hyk-footer__credit a:hover { color: rgba(255,255,255,0.95) !important; text-decoration: none !important; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.hyk-page-hero {
  background: linear-gradient(135deg, #EEF7FF 0%, #D4ECFF 100%);
  padding: 210px 0 64px;
  position: relative;
  overflow: hidden;
}
.hyk-page-hero::after {
  content:'';
  position:absolute; bottom:-1px; left:0; right:0;
  height:56px;
  background: var(--hyk-white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hyk-page-hero__breadcrumb {
  font-size: 13px;
  color: rgba(0,40,120,0.60);
  margin-bottom: 16px;
}
.hyk-page-hero__breadcrumb a { color: rgba(0,40,120,0.60); }
.hyk-page-hero__breadcrumb a:hover { color: #003A80; }
.hyk-page-hero__breadcrumb span { margin: 0 6px; }
.hyk-page-hero__h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #003A80; margin: 0 0 14px; }
.hyk-page-hero__sub { font-size: 17px; color: rgba(0,40,120,0.78); max-width: 580px; margin: 0; }

/* ============================================================
   SERVIZI PAGE
   ============================================================ */
.hyk-service-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 24px;
  padding: 36px 32px;
  border-radius: var(--hyk-r-lg);
  border: 1px solid var(--hyk-border);
  margin-bottom: 16px;
  background: #fff;
  transition: all var(--hyk-transition);
  align-items: start;
}
.hyk-service-detail:hover { border-color: var(--hyk-sky); box-shadow: var(--hyk-shadow-sm); }
.hyk-service-detail__icon {
  grid-row: span 3;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--hyk-blue), var(--hyk-sky));
  border-radius: var(--hyk-r-md);
  display: flex; align-items: center; justify-content: center;
}
.hyk-service-detail__icon svg { width:28px; height:28px; color:#fff; }
.hyk-service-detail__title { font-size: 19px; font-weight: 700; margin: 0 0 10px; color: var(--hyk-dark); }
.hyk-service-detail__text { font-size: 15px; color: var(--hyk-muted); line-height: 1.70; margin: 0; }

/* ============================================================
   PRODOTTI PAGE — Categorie Cards
   ============================================================ */
.hyk-prodotti-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hyk-prodotto-cat {
  border-radius: var(--hyk-r-lg);
  overflow: hidden;
  border: 1px solid var(--hyk-border);
  background: #fff;
  transition: all var(--hyk-transition);
  text-decoration: none;
  color: inherit;
}
.hyk-prodotto-cat:hover { border-color: var(--hyk-sky); box-shadow: var(--hyk-shadow-md); transform: translateY(-4px); color: inherit; }
.hyk-prodotto-cat__thumb {
  aspect-ratio: 16/8;
  background: var(--hyk-light);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  position:relative;
}
.hyk-prodotto-cat__thumb svg { width:64px; height:64px; color: var(--hyk-border); }
.hyk-prodotto-cat__thumb img { width:100%; height:100%; object-fit:cover; }
.hyk-prodotto-cat__badge {
  position: absolute; top:12px; left:12px;
  background: var(--hyk-blue); color:#fff;
  font-size:11px; font-weight:700;
  padding: 3px 10px; border-radius: 100px;
}
.hyk-prodotto-cat__body { padding: 22px 24px; }
.hyk-prodotto-cat__title { font-size: 18px; font-weight: 700; color: var(--hyk-dark); margin: 0 0 8px; }
.hyk-prodotto-cat__desc { font-size: 13.5px; color: var(--hyk-muted); line-height: 1.6; margin: 0 0 16px; }
.hyk-prodotto-cat__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700;
  color: #fff;
  background: var(--hyk-sky);
  border: 1.5px solid var(--hyk-sky);
  border-radius: 8px;
  padding: 8px 16px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.hyk-prodotto-cat__card:hover .hyk-prodotto-cat__link,
.hyk-prodotto-cat__link:hover {
  background: var(--hyk-sky-h);
  border-color: var(--hyk-sky-h);
  transform: translateY(-1px);
}

/* ============================================================
   SCROLL ANIMATIONS  v3 — cinematic
   ============================================================ */

/* ── Base reveal — fadeUp + blur ── */
[data-hyk-reveal],
[data-hyk-child] {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition: opacity 0.18s cubic-bezier(0.16,1,0.3,1),
              transform 0.18s cubic-bezier(0.16,1,0.3,1),
              filter 0.12s ease;
  will-change: opacity, transform;
}
/* Direction variants */
[data-hyk-reveal="left"]  { transform: translateX(-20px); filter: blur(2px); }
[data-hyk-reveal="right"] { transform: translateX(20px);  filter: blur(2px); }
[data-hyk-reveal="scale"] { transform: scale(0.93);       filter: blur(2px); }
[data-hyk-reveal="fade"]  { transform: none;              filter: blur(2px); }
[data-hyk-reveal="up"]    { transform: translateY(20px);  filter: blur(2px); }

/* Visible */
[data-hyk-reveal].is-visible,
[data-hyk-child].is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Delay steps */
/* JS setTimeout handles stagger delay via data-hyk-delay * 35ms */

/* ── Title line-split ── */
.hyk-line-wrap {
  display: block;
  overflow: hidden;
  /* line-height tight so no extra gap */
  padding-bottom: 0.05em;
}
.hyk-line {
  display: block;
  transform: translateY(110%) skewY(2deg);
  opacity: 0;
  transition: transform 1.05s cubic-bezier(0.16,1,0.3,1),
              opacity    0.55s ease;
}
.hyk-line.is-in {
  transform: none;
  opacity: 1;
}

/* ── Word-split reveal — parole che emergono dal basso ── */
.hyk-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hyk-word {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
  transition:
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--wi, 0) * 48ms),
    opacity   0.42s ease                           calc(var(--wi, 0) * 48ms);
}
.hyk-word.is-in {
  transform: none;
  opacity: 1;
}

/* ── Eyebrow clip-path wipe-in ── */
.hyk-eyebrow {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16,1,0.3,1);
}
.hyk-eyebrow--in { clip-path: inset(0 0% 0 0); }

/* ── Divider draw from left ── */
.hyk-divider {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.16,1,0.3,1) 0.12s;
}
.hyk-divider--center { transform-origin: center center; }
.hyk-divider.is-drawn { transform: scaleX(1); }

/* ── KPI entrance glow ── */
@keyframes kpi-glow-in {
  0%   { transform: scale(0.65); opacity: 0;
         text-shadow: 0 0 0 transparent; }
  45%  { transform: scale(1.12);
         text-shadow: 0 0 28px rgba(26,188,254,.75), 0 0 55px rgba(26,188,254,.35); }
  100% { transform: scale(1); opacity: 1;
         text-shadow: none; }
}
.hyk-kpi__item.kpi-glow .hyk-kpi__num {
  animation: kpi-glow-in 1.3s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Button ripple ── */
.hyk-btn--primary,
.hyk-btn--dark,
.hyk-btn--sky {
  position: relative;
  overflow: hidden;
}
.hyk-ripple {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  transform: translate(-50%,-50%) scale(0);
  pointer-events: none;
  animation: hyk-ripple 0.72s ease-out forwards;
}
@keyframes hyk-ripple {
  to { transform: translate(-50%,-50%) scale(70); opacity: 0; }
}

/* Water Ripple Cursor CSS rings rimossi — WebGL water-sim.js */

/* ── Water Drop Cursor — SVG liquid blob ── */
html, body, * { cursor: none !important; }
#hyk-drop-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  overflow: visible;
}
/* Touch / smartphone: niente goccia-cursore + cursore di sistema normale */
@media (hover: none), (pointer: coarse) {
  #hyk-drop-cursor { display: none !important; }
  html, body, * { cursor: auto !important; }
}

/* ============================================================
   BRAND STRIP — marchi distribuiti
   ============================================================ */
.hyk-brands {
  background: #fff;
  border-top: 1px solid rgba(0,60,140,0.08);
  border-bottom: 1px solid rgba(0,60,140,0.08);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.hyk-brands__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,40,120,0.38);
  margin-bottom: 18px;
}
.hyk-brands__track-wrap {
  /* Maschere sfumatura ai lati */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  overflow: hidden;
}
.hyk-brands__track {
  display: flex;
  align-items: center;
  gap: 160px;
  width: max-content;
  animation: hyk-brands-scroll 42s linear infinite;
}
.hyk-brands__track:hover { animation-play-state: paused; }
@keyframes hyk-brands-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
.hyk-brand__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 130px;
}
.hyk-brand__item img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: opacity(0.75);
  mix-blend-mode: multiply;
  transition: filter 0.35s ease, transform 0.35s ease;
}
.hyk-brand__item img[src*="rabbiplast" i] {
  height: 56px;
  filter: invert(1) opacity(0.75);
}
.hyk-brand__item:hover img {
  filter: opacity(1);
  transform: scale(1.18);
}
/* Rabbiplast ha sfondo scuro — mostra su pillola chiara */
.hyk-brand__item[data-dark] img {
  background: #1a1a1a;
  border-radius: 6px;
  padding: 6px 10px;
}
/* Fox logo — scala ingrandita (piccolo per design con whitespace) */
.hyk-fornitore-card img[src*="fox" i],
.hyk-brand__item    img[src*="fox" i] {
  transform: scale(1.55);
}
.hyk-fornitore-card:hover img[src*="fox" i],
.hyk-brand__item:hover    img[src*="fox" i] {
  transform: scale(1.82);
}

/* Section title gradient text */
.hyk-section-gradient-title {
  background: linear-gradient(135deg, var(--hyk-blue) 0%, var(--hyk-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   CONTACT FORM 7 — BRAND OVERRIDES
   ============================================================ */
.wpcf7 p { margin: 0 0 16px; }
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--hyk-border);
  border-radius: 8px;
  font-family: var(--hyk-font);
  font-size: 14px;
  color: var(--hyk-dark);
  background: #fff;
  outline: none;
  transition: border var(--hyk-transition);
  box-sizing: border-box;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--hyk-sky); }
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7 .wpcf7-acceptance { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--hyk-muted); line-height: 1.55; }
.wpcf7 .wpcf7-acceptance input[type=checkbox] { margin-top: 2px; flex-shrink: 0; }
.hyk-cf7-submit,
.wpcf7 input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 28px;
  background: var(--hyk-dark);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--hyk-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--hyk-transition);
  margin-top: 8px;
}
.hyk-cf7-submit:hover,
.wpcf7 input[type=submit]:hover { background: var(--hyk-blue); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 12px; color: #dc2626; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; border: none !important; }
.wpcf7 .wpcf7-mail-sent-ok { background: #d1fae5; color: #065f46; }
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted { background: #fee2e2; color: #991b1b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hyk-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .hyk-cat__card:first-child { grid-column: span 2; }
  .hyk-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hyk-about__inner { gap: 48px; }
}

@media (max-width: 768px) {
  .hyk-section { padding: 56px 0; }
  .hyk-section--lg { padding: 72px 0; }
  .hyk-hero { min-height: 100svh; }
  .hyk-kpi__grid { grid-template-columns: repeat(2, 1fr); }
  .hyk-persona__grid { grid-template-columns: 1fr; }
  .hyk-services__grid { grid-template-columns: 1fr; }
  .hyk-cats__grid { grid-template-columns: 1fr 1fr; }
  .hyk-cat__card:first-child { grid-column: span 2; }
  .hyk-about__inner { grid-template-columns: 1fr; gap: 36px; }
  .hyk-download__grid { grid-template-columns: 1fr; }
  .hyk-contact-grid { grid-template-columns: 1fr; }
  .hyk-cinfo-bar { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hyk-map-full { aspect-ratio: 1/1; }
  .hyk-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hyk-prodotti-grid { grid-template-columns: 1fr 1fr; }
  .hyk-topbar { display: none; }
  .hyk-hero__scroll { display: none; }
}

@media (max-width: 480px) {
  .hyk-cats__grid { grid-template-columns: 1fr; }
  .hyk-cat__card:first-child, .hyk-cat__card:last-child { grid-column: span 1; }
  .hyk-prodotti-grid { grid-template-columns: 1fr; }
  .hyk-kpi__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   v2.32.0 — Phone CTA · Logo fix · Preventivo ·
            Chi Siamo placeholder · WhatsApp · FAQ · Patterns
   ============================================================ */

/* ── Nav phone CTA ────────────────────────────────────────────── */
.hyk-nav-phone-item a.hyk-nav-phone-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  background: var(--hyk-blue);
  color: #fff !important;
  border-radius: 6px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--hyk-transition);
  white-space: nowrap;
  text-decoration: none !important;
}
.hyk-nav-phone-cta:hover { background: var(--hyk-blue-h) !important; color: #fff !important; }
.hyk-nav-phone-cta svg { flex-shrink: 0; }

/* ── Header logo size ─────────────────────────────────────────── */
.custom-logo-link img,
.custom-logo {
  max-height: 56px !important;
  height: auto !important;
  width: auto !important;
}
.site-header.scrolled .custom-logo-link img,
.site-header.scrolled .custom-logo { max-height: 38px !important; }

/* ── Category card dot pattern (CSS-only) ─────────────────────── */
.hyk-cat__card::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hyk-cat__card:hover::before { opacity: 0.55; }

/* ── Chi Siamo placeholder ────────────────────────────────────── */
.hyk-about__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #EEF7FF 0%, #DCEEFF 100%);
  border-radius: var(--hyk-r-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.hyk-about__placeholder-inner {
  padding: 36px 32px;
  width: 100%;
  display: flex; flex-direction: column; gap: 22px;
  position: relative; z-index: 1;
}
.hyk-about__placeholder-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,102,204,.10) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none; z-index: 0;
}
.hyk-about__placeholder-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,102,204,.10);
  border: 1px solid rgba(0,102,204,.20);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600; color: #003A80;
  width: fit-content;
}
.hyk-about__placeholder-badge svg { width: 16px; height: 16px; color: var(--hyk-blue); }
.hyk-about__placeholder-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hyk-about__placeholder-stat {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,102,204,.14);
  border-radius: var(--hyk-r-md);
  padding: 18px 14px;
  text-align: center;
}
.hyk-about__placeholder-stat strong {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--hyk-blue); line-height: 1;
  margin-bottom: 6px;
}
.hyk-about__placeholder-stat span {
  font-size: 11.5px; color: var(--hyk-muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.hyk-about__placeholder-tagline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(0,58,128,.75);
}
.hyk-about__placeholder-tagline svg { width: 16px; height: 16px; color: var(--hyk-blue); }

/* ── Preventivo form section ──────────────────────────────────── */
.hyk-preventivo-section {
  background: linear-gradient(170deg, #F6FBFF 0%, #EDF4FF 100%);
}
.hyk-preventivo__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.hyk-preventivo__contacts {
  display: flex; flex-direction: column; gap: 10px;
}
.hyk-preventivo__contact-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-radius: var(--hyk-r-md);
  border: 1px solid var(--hyk-border);
  background: #fff;
  text-decoration: none; color: inherit;
  transition: all var(--hyk-transition);
}
.hyk-preventivo__contact-item:hover {
  border-color: var(--hyk-sky);
  box-shadow: var(--hyk-shadow-sm);
  color: inherit;
}
.hyk-preventivo__contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--hyk-light);
  border-radius: var(--hyk-r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--hyk-blue);
}
.hyk-preventivo__contact-icon--wa { background: rgba(37,211,102,.12); color: #128c5a; }
.hyk-preventivo__contact-item > div { display: flex; flex-direction: column; gap: 1px; }
.hyk-preventivo__contact-item strong { font-size: 13.5px; font-weight: 700; color: var(--hyk-dark); }
.hyk-preventivo__contact-item span { font-size: 13px; color: var(--hyk-muted); }
.hyk-preventivo__form-card {
  background: #fff;
  border: 1px solid var(--hyk-border);
  border-radius: var(--hyk-r-lg);
  padding: 40px 36px;
  box-shadow: var(--hyk-shadow-sm);
}
.hyk-form__row { margin-bottom: 0; }
.hyk-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.hyk-form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.hyk-form__row--2 .hyk-form__group { margin-bottom: 0; }
.hyk-form__group label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--hyk-dark);
}
.hyk-form__group input,
.hyk-form__group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--hyk-border);
  border-radius: 8px;
  font-family: var(--hyk-font);
  font-size: 14.5px; color: var(--hyk-dark);
  background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%; box-sizing: border-box;
}
.hyk-form__group input::placeholder,
.hyk-form__group textarea::placeholder { color: rgba(0,0,0,.32); }
.hyk-form__group input:focus,
.hyk-form__group textarea:focus {
  border-color: var(--hyk-sky);
  box-shadow: 0 0 0 3px rgba(26,188,254,.15);
}
.hyk-form__group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hyk-form__footer { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.hyk-form__privacy { font-size: 12px; color: var(--hyk-muted); line-height: 1.55; margin: 0; }
.hyk-form__privacy a { color: var(--hyk-sky); }
.hyk-form__submit { width: 100%; justify-content: center; font-size: 16px; padding: 15px 28px; }
.hyk-form__submit-loading[hidden]     { display: none !important; }
.hyk-form__submit-loading:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; }
.hyk-form__spin { animation: hyk-spin .9s linear infinite; }
@keyframes hyk-spin { to { transform: rotate(360deg); } }
.hyk-form__result {
  margin-top: 14px; padding: 14px 18px;
  border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.5;
}
.hyk-form__result--ok { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.hyk-form__result--err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── WhatsApp float button ────────────────────────────────────── */
.hyk-wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9990;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.42), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  text-decoration: none;
}
.hyk-wa-float:hover {
  transform: scale(1.10);
  box-shadow: 0 12px 36px rgba(37,211,102,.58), 0 2px 10px rgba(0,0,0,.18);
  color: #fff;
}
.hyk-wa-float svg { flex-shrink: 0; }
.hyk-wa-float__tooltip {
  position: absolute;
  right: 68px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--hyk-dark); color: #fff;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: var(--hyk-font);
}
.hyk-wa-float__tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-width: 0;
  border-left-color: var(--hyk-dark);
}
.hyk-wa-float:hover .hyk-wa-float__tooltip {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* ── FAQ page ─────────────────────────────────────────────────── */
.hyk-faq__list {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 820px; margin: 0 auto;
}
.hyk-faq__item {
  border-radius: var(--hyk-r-md);
  border: 1px solid var(--hyk-border);
  background: #fff; overflow: hidden;
  transition: border-color var(--hyk-transition), box-shadow var(--hyk-transition);
}
.hyk-faq__item.is-open {
  border-color: rgba(0,102,204,.25);
  box-shadow: var(--hyk-shadow-sm);
}
.hyk-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--hyk-dark);
  user-select: none;
  background: none; border: none; width: 100%;
  text-align: left; font-family: var(--hyk-font);
  line-height: 1.4;
}
.hyk-faq__q:hover { color: var(--hyk-blue); }
.hyk-faq__chevron {
  flex-shrink: 0; color: var(--hyk-blue);
  transition: transform 0.3s ease;
  display: flex; align-items: center;
}
.hyk-faq__item.is-open .hyk-faq__chevron { transform: rotate(180deg); }
.hyk-faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .42s cubic-bezier(0.16,1,0.3,1);
}
.hyk-faq__a-inner {
  padding: 0 24px 22px;
  font-size: 15px; color: var(--hyk-muted); line-height: 1.78;
}
.hyk-faq__a-inner p { margin: 0 0 12px; }
.hyk-faq__a-inner p:last-child { margin: 0; }
.hyk-faq__a-inner a { color: var(--hyk-sky); }
.hyk-faq__a-inner strong { color: var(--hyk-dark); font-weight: 700; }

/* ====================================================
   MOBILE DRAWER (hamburger menu) v2.46.0
   Sostituisce sfondo nero Kadence con gradiente navy
   ==================================================== */

/* Overlay scuro traslucido */
#mobile-drawer .drawer-overlay {
  background: rgba(0, 8, 30, 0.72) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* Permettiamo al .drawer-inner di sporgere col border-radius */
#mobile-drawer { overflow: visible !important; }
#mobile-drawer .popup-drawer { overflow: visible !important; }

/* Pannello bubble — distaccato dagli edge, angoli grandi */
#mobile-drawer .drawer-inner {
  background: linear-gradient(160deg,
    #001428 0%,
    #002050 45%,
    #003878 100%
  ) !important;
  position: relative !important;
  border-radius: 28px !important;
  margin: 14px 14px 14px 0 !important;
  height: calc(100% - 28px) !important;
  overflow: hidden !important;
  box-shadow:
    -10px 0 60px rgba(0, 15, 60, 0.65),
    -2px  0 0   rgba(39,174,228, 0.25),
    0 20px 60px rgba(0, 10, 40, 0.40) !important;
}

/* Dot pattern decorativo */
#mobile-drawer .drawer-inner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

/* Accent arc in cima — segue il border-radius */
#mobile-drawer .drawer-inner::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #27aee4, #0052A3 80%);
  border-radius: 28px 28px 0 0;
  z-index: 2;
}

/* Tutto il contenuto sopra il pattern */
#mobile-drawer .drawer-header,
#mobile-drawer .drawer-content {
  position: relative;
  z-index: 1;
}

/* Pulsante chiudi */
#mobile-drawer .drawer-header .drawer-toggle {
  color: rgba(255,255,255,.80) !important;
}
#mobile-drawer .drawer-header .drawer-toggle:hover {
  color: #27aee4 !important;
}

/* Link di navigazione */
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li.menu-item-has-children > .drawer-nav-drop-wrap {
  color: rgba(255,255,255,.88) !important;
  font-family: var(--hyk-font) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}
#mobile-drawer .mobile-navigation ul li > a:hover,
#mobile-drawer .mobile-navigation ul li:hover > .drawer-nav-drop-wrap {
  color: #27aee4 !important;
}
#mobile-drawer .mobile-navigation ul li.current-menu-item > a,
#mobile-drawer .mobile-navigation ul li.current-menu-item > .drawer-nav-drop-wrap {
  color: #27aee4 !important;
}

/* Separatori */
#mobile-drawer .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap,
#mobile-drawer .mobile-navigation ul li:not(.menu-item-has-children) a {
  border-bottom: 1px solid rgba(255,255,255,.09) !important;
}
#mobile-drawer .mobile-navigation ul li.menu-item-has-children .drawer-nav-drop-wrap button {
  border-left: 1px solid rgba(255,255,255,.09) !important;
  color: rgba(255,255,255,.70) !important;
}

/* Sub-menu items */
#mobile-drawer .mobile-navigation ul ul li > a {
  color: rgba(255,255,255,.72) !important;
  background: transparent !important;
}
#mobile-drawer .mobile-navigation ul ul li > a:hover {
  color: #27aee4 !important;
}

/* ── Responsive v2.32.0 ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hyk-preventivo__inner { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}
@media (max-width: 768px) {
  .hyk-preventivo__inner { grid-template-columns: 1fr; gap: 36px; }
  .hyk-preventivo__form-card { padding: 28px 20px; }
  .hyk-form__row--2 { grid-template-columns: 1fr; gap: 0; }
  .hyk-wa-float { bottom: 18px; right: 14px; width: 52px; height: 52px; }
  .hyk-wa-float__tooltip { display: none; }
  .hyk-nav-phone-item { display: none; }
  /* Nasconde badge "2025 Anno fondazione" su mobile — duplica la stat card sottostante */
  .hyk-about__img-badge { display: none; }
}

/* ====================================================
   FORNITORI CAROUSEL (infinite marquee)
   ==================================================== */
.hyk-carousel-track-wrap {
  overflow: hidden;
  width: 100%;
  padding: 32px 0 12px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hyk-carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: hyk-marquee 28s linear infinite;
}
.hyk-carousel-track-wrap:hover .hyk-carousel-track {
  animation-play-state: paused;
}
@keyframes hyk-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hyk-fornitore-card {
  flex: 0 0 160px;
  height: 72px;
  background: #fff;
  border: 1.5px solid var(--hyk-line, #e8edf2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.hyk-fornitore-card:hover {
  box-shadow: 0 4px 18px rgba(0,85,150,.12);
  border-color: var(--hyk-primary, #005596);
  transform: translateY(-3px);
}
.hyk-fornitore-card img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
/* nrabioplast: sfondo bianco → multiply rimuove bg, scala leggermente più grande */
.hyk-fornitore-card img[src*="nrabioplast" i] {
  max-height: 72px;
}
.hyk-fornitore-card img[src*="rabbiplast" i] {
  max-height: 72px;
}
/* systemgroup: testo bianco su sfondo bianco → invert rende testo nero */
.hyk-fornitore-card img[src*="systemgroup" i] {
  filter: invert(1) brightness(0.85);
  mix-blend-mode: normal;
}
/* plastitalia: logo su sfondo NERO (non rimovibile) → niente multiply + angoli smussati */
.hyk-fornitore-card img[src*="plastitalia" i] {
  mix-blend-mode: normal;
  border-radius: 9px;
  max-height: 56px;
}
@media (max-width: 600px) {
  .hyk-fornitore-card { flex: 0 0 130px; height: 60px; padding: 10px 14px; }
  .hyk-fornitore-card img { max-height: 38px; }
  .hyk-carousel-track { gap: 14px; animation-duration: 20s; }
}

/* ====================================================
   LEGAL PAGES v2.44.0
   ==================================================== */
.hyk-legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.hyk-legal-draft-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff8e1;
  border: 1.5px solid #f9a825;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 36px;
  font-size: 14px;
  color: #7a5c00;
  line-height: 1.5;
}
.hyk-legal-draft-notice svg {
  flex-shrink: 0;
  color: #f9a825;
}
.hyk-legal-header {
  margin-bottom: 40px;
}
.hyk-legal-header .hyk-title {
  margin-top: 10px;
  margin-bottom: 0;
}
.hyk-legal-meta {
  font-size: 13px;
  color: var(--hyk-muted);
  margin-top: 8px;
}
.hyk-legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--hyk-dark);
  margin: 36px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--hyk-line, #e8edf2);
}
.hyk-legal-body h2:first-child { border-top: none; margin-top: 0; }
.hyk-legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--hyk-dark);
  margin: 22px 0 8px;
}
.hyk-legal-body p {
  font-size: 15px;
  color: var(--hyk-muted);
  line-height: 1.78;
  margin: 0 0 14px;
}
.hyk-legal-body ul {
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.hyk-legal-body li {
  font-size: 15px;
  color: var(--hyk-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.hyk-legal-body a {
  color: var(--hyk-primary, #005596);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hyk-legal-body a:hover { opacity: .75; }
.hyk-legal-body em { font-style: italic; color: var(--hyk-muted); }
.hyk-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 20px;
}
.hyk-cookie-table th,
.hyk-cookie-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--hyk-line, #e8edf2);
  color: var(--hyk-muted);
  line-height: 1.5;
}
.hyk-cookie-table thead th {
  background: var(--hyk-bg-alt, #f4f7fa);
  font-weight: 700;
  color: var(--hyk-dark);
}
.hyk-cookie-table tbody tr:nth-child(even) td {
  background: #fafbfd;
}
.hyk-cookie-table code {
  font-family: monospace;
  font-size: 12px;
  background: rgba(0,85,150,.07);
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--hyk-primary, #005596);
}
@media (max-width: 640px) {
  .hyk-legal-wrap { padding: 36px 16px 60px; }
  .hyk-cookie-table { font-size: 12px; }
  .hyk-cookie-table th, .hyk-cookie-table td { padding: 8px 10px; }
}

/* ====================================================
   MOBILE FIX v2.45.0
   Root cause: logo oval 516px > viewport → overflow → scroll blocked
   ====================================================*/

/* Prevent horizontal bleed — body only (setting on html breaks iOS scroll) */
body { overflow-x: hidden; }

/* Cat cards: always use photo as cover, gradient kept for color tint on load */
.hyk-cat__bg {
  background-size: cover !important;
  background-position: center center !important;
  opacity: 0.72;   /* slightly higher than 0.55 so photos read well */
}
.hyk-cat__card:hover .hyk-cat__bg { opacity: 0.88; }

/* ─── Tablet / large phone ≤ 768px ─── */
@media (max-width: 768px) {
  /* Shrink logo to fit viewport (logo libero, niente box/anello) */
  .site-branding .brand {
    width: 320px !important;
    height: 112px !important;
    transform: translateY(10px) !important;
    box-shadow: none !important;
  }
  .site-title-wrap .site-title {
    width: 300px !important;
    height: 104px !important;
  }
  /* Reduce hero top padding to match smaller logo (was 260px) */
  .hyk-hero__content { padding-top: 140px !important; }

  /* Scrolled logo on mobile */
  .site-header.is-scrolled .site-branding .brand {
    width: 200px !important;
    height: 64px !important;
    transform: translateY(0) !important;
  }
  .site-header.is-scrolled .site-title-wrap .site-title {
    width: 176px !important;
    height: 56px !important;
  }

  /* Nav pill: full-width on mobile when hamburger not used */
  .site-header:not(.is-scrolled) .main-navigation,
  .site-header:not(.is-scrolled) .header-navigation {
    max-width: calc(100vw - 320px); /* leave room for logo */
  }

  /* Prevent hero bottom wave from overflowing width */
  .hyk-hero::after { left: -5%; right: -5%; width: 110%; }

  /* KPI grid spacing */
  .hyk-kpi__grid { gap: 10px; }
  .hyk-kpi__item { padding: 18px 14px; }

  /* Preventivo 2-col → 1-col */
  .hyk-preventivo__inner { grid-template-columns: 1fr !important; gap: 28px; }

  /* Directions bar on mobile */
  .hyk-directions-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hyk-directions-divider { width: 100%; height: 1px; }
  .hyk-btn--directions { width: 100%; justify-content: center; }
}

/* ─── Small phones ≤ 480px ─── */
@media (max-width: 480px) {
  .site-branding .brand {
    width: 220px !important;
    height: 72px !important;
    transform: translateY(8px) !important;
  }
  .site-title-wrap .site-title {
    width: 190px !important;
    height: 56px !important;
  }
  .hyk-hero__content { padding-top: 110px !important; }

  /* Cat cards: 1 column only */
  .hyk-cats__grid { grid-template-columns: 1fr !important; }
  .hyk-cat__card:first-child, .hyk-cat__card:last-child { grid-column: span 1 !important; }
  .hyk-cat__card { min-height: 180px; }

  /* KPI: 2 columns */
  .hyk-kpi__grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero text sizing */
  .hyk-hero__h1 { font-size: clamp(26px, 7vw, 40px); }

  /* Section headings */
  .hyk-title { font-size: clamp(22px, 6vw, 36px); }

  /* Footer: single column */
  .hyk-footer__grid { grid-template-columns: 1fr; gap: 24px; }

  /* Contatti bar */
  .hyk-cinfo-bar { grid-template-columns: 1fr; }
  .hyk-map-full { aspect-ratio: 4/3; }
}

/* ====================================================
   CHI SIAMO PAGE — grids responsive v2.49.0
   ==================================================== */
.hyk-chi-storia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hyk-chi-storia__img-wrap {
  border-radius: 20px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.hyk-chi-storia__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hyk-chi-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.hyk-chi-val {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .hyk-chi-storia { grid-template-columns: 1fr; gap: 40px; }
  .hyk-chi-storia__img-wrap { aspect-ratio: 16/9; }
  .hyk-chi-mv { grid-template-columns: 1fr; gap: 36px; }
  .hyk-chi-val { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .hyk-chi-storia__img-wrap { display: none; }
  .hyk-chi-val { grid-template-columns: 1fr; }
}

/* ====================================================
   BUTTON OVERFLOW FIX v2.51.0
   Previene tasti che eccedono il bordo destro su mobile
   ==================================================== */
@media (max-width: 600px) {
  /* Safety cap: nessun btn supera la larghezza del viewport */
  .hyk-btn {
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
  }

  /* Hero: impila verticalmente, tasti full-width */
  .hyk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hyk-hero__actions .hyk-btn { justify-content: center; }

  /* CTA finale: stessa cosa */
  .hyk-cta-final__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hyk-cta-final__actions .hyk-btn { justify-content: center; }
}

/* ====================================================
   DRAWER ANIMATION v2.50.0
   Fix: popup-drawer bg transparent → solo bubble visibile
   + slide-in spring + backdrop fade + submenu accordion
   ==================================================== */

/* Popup container: sfondo trasparente — il bubble è drawer-inner */
#mobile-drawer .popup-drawer {
  background: transparent !important;
  overflow: visible !important;
  /* Override Kadence 0.2s → spring 0.45s */
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Backdrop: fade-in invece di apparire istantaneo */
#mobile-drawer .drawer-overlay {
  opacity: 0 !important;
  transition: opacity 0.38s ease !important;
}
#mobile-drawer.active .drawer-overlay,
#mobile-drawer .popup-drawer.active .drawer-overlay {
  opacity: 1 !important;
}

/* ── Submenu accordion slide-down ─────────────────── */
/* Override Kadence display:none con max-height animata */
#mobile-drawer .mobile-navigation li.menu-item-has-children > ul {
  display: block !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.30s ease !important;
}

/* Aperto — classe Kadence (v3 / v4) */
#mobile-drawer .mobile-navigation li.menu-item-has-children.nav-drop-down-open > ul,
#mobile-drawer .mobile-navigation .drawer-nav-drop-wrap.nav-drop-down-open + ul,
#mobile-drawer .mobile-navigation .drawer-nav-drop-wrap.nav-drop-down-open ~ ul {
  max-height: 600px !important;
  opacity: 1 !important;
}

/* Aperto — aria-expanded (Chrome 105+, Safari 15.4+, FF 121+) */
#mobile-drawer .mobile-navigation .drawer-nav-drop-wrap:has([aria-expanded="true"]) + ul,
#mobile-drawer .mobile-navigation .drawer-nav-drop-wrap:has([aria-expanded="true"]) ~ ul,
#mobile-drawer .mobile-navigation li.menu-item-has-children:has([aria-expanded="true"]) > ul {
  max-height: 600px !important;
  opacity: 1 !important;
}

/* Freccia chevron: ruota 180° all'apertura */
#mobile-drawer .drawer-nav-drop-btn svg {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  display: block;
}
#mobile-drawer .drawer-nav-drop-wrap.nav-drop-down-open .drawer-nav-drop-btn svg,
#mobile-drawer .drawer-nav-drop-btn[aria-expanded="true"] svg {
  transform: rotate(180deg) !important;
}

/* ============================================================
   CATALOGO PRODOTTI
   ============================================================ */

/* Search bar */
.hyk-cat-search { position: relative; max-width: 560px; }
#hyk-cat-search {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px 14px 48px;
  font-family: var(--hyk-font);
  font-size: 16px;
  line-height: 1.2;
  color: var(--hyk-dark) !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E") no-repeat 16px center !important;
  background-size: 20px 20px !important;
  border: 2px solid var(--hyk-border) !important;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,102,204,0.08);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
#hyk-cat-search::placeholder { color: rgba(0,40,80,0.45); }
#hyk-cat-search:focus {
  border-color: var(--hyk-sky) !important;
  box-shadow: 0 0 0 4px rgba(39,174,228,.18) !important;
  outline: none !important;
}

/* Category pills */
.hyk-cat-pill {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,85,150,.25);
  background: #fff;
  color: var(--hyk-dark);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 1px 4px rgba(0,40,100,.07);
}
.hyk-cat-pill:hover { background: rgba(39,174,228,.10); border-color: var(--hyk-accent); color: var(--hyk-dark); }
.hyk-cat-pill--active { background: var(--hyk-accent); color: #fff; border-color: var(--hyk-accent); }

/* Category section head */
.hyk-cat-section { margin-bottom: 56px; }
.hyk-cat-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(39,174,228,.25);
}
.hyk-cat-section__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(39,174,228,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--hyk-accent);
  flex-shrink: 0;
}
.hyk-cat-section__title { font-size: 22px; font-weight: 700; color: var(--hyk-dark); margin: 0; }
.hyk-cat-section__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--hyk-muted);
  background: rgba(0,80,150,.07);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Master-detail catalog layout ─────────────────────────────────────── */
.hyk-cat-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 16px;
}

/* Sidebar — sticky product list */
.hyk-cat-sidebar {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(0,60,120,.10);
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(39,174,228,.3) transparent;
}
.hyk-cat-sidebar::-webkit-scrollbar { width: 4px; }
.hyk-cat-sidebar::-webkit-scrollbar-thumb { background: rgba(39,174,228,.35); border-radius: 4px; }

.hyk-cat-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--hyk-dark);
  transition: background 0.15s;
}
.hyk-cat-item:hover { background: rgba(39,174,228,.09); }
.hyk-cat-item--active {
  background: rgba(39,174,228,.14);
  color: #005596;
  font-weight: 600;
}

/* Dot = has photo (legacy, hidden when thumb shown) */
.hyk-item-dot {
  flex-shrink: 0;
  margin-top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hyk-accent);
  display: inline-block;
}

/* Sidebar thumbnail */
.hyk-item-thumb {
  flex-shrink: 0;
  width: 44px;
  height: 36px;
  object-fit: contain;
  border-radius: 5px;
  background: #f0f7ff;
  padding: 3px;
  border: 1px solid rgba(0,60,120,.07);
}
.hyk-item-no-img {
  flex-shrink: 0;
  width: 44px;
  height: 36px;
  background: rgba(0,60,120,.04);
  border-radius: 5px;
  border: 1px solid rgba(0,60,120,.06);
}

/* Detail panel */
.hyk-cat-detail {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid rgba(0,60,120,.10);
  overflow: hidden;
  min-height: 240px;
}

.hyk-detail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  font-size: 13px;
  color: var(--hyk-muted);
}

/* Image area — seamless white, no gap with body */
.hyk-detail-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 28px 24px 16px;
}
.hyk-detail-img img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Detail body — directly below image with no visual break */
.hyk-detail-body {
  padding: 0 24px 24px;
}
.hyk-detail-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hyk-dark);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 1.3;
  margin-bottom: 8px;
  padding-top: 16px;
  border-top: 1.5px solid rgba(0,60,120,.08);
}
.hyk-detail-desc {
  font-size: 12.5px;
  color: var(--hyk-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.hyk-detail-nodata {
  font-size: 12.5px;
  color: var(--hyk-muted);
  font-style: italic;
  margin: 8px 0 0;
}

/* Detail table — scrollable, no truncation */
.hyk-detail-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  border: 1px solid rgba(0,60,120,.09);
}
.hyk-detail-table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 12.5px;
}
.hyk-detail-table thead tr { background: rgba(39,174,228,.09); }
.hyk-detail-table th {
  padding: 8px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hyk-dark);
  border-bottom: 2px solid rgba(39,174,228,.2);
  white-space: nowrap;
}
.hyk-detail-table td {
  padding: 6px 12px;
  color: var(--hyk-muted);
  border-bottom: 1px solid rgba(0,60,120,.07);
  white-space: nowrap;
}
.hyk-th-sort { cursor: pointer; user-select: none; white-space: nowrap; }
.hyk-th-sort:hover { background: rgba(39,174,228,.12); }
.hyk-sort-ind { font-size: 10px; margin-left: 3px; opacity: 0.6; }
.hyk-sub-header-row td { background: rgba(0,60,120,.05); font-weight: 600; color: #005596; font-size: 11px; }
/* Banda divisore di sezione (es. GATEWAY, SENSORI PER TEMPUS AIR) — full-width */
.hyk-section-row td {
  background: linear-gradient(90deg, rgba(0,85,150,.12), rgba(0,85,150,.04));
  color: #003a66;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 9px 12px !important;
  border-bottom: 1px solid rgba(0,60,120,.12);
  border-top: 1px solid rgba(0,60,120,.10);
  white-space: normal;
}
.hyk-detail-table .hyk-section-row:hover td { background: linear-gradient(90deg, rgba(0,85,150,.12), rgba(0,85,150,.04)); }
.hyk-detail-table td:first-child { font-weight: 600; color: var(--hyk-dark); }
.hyk-detail-table td:nth-child(2) { font-family: monospace; font-size: 12px; color: #005596; }
.hyk-detail-table tbody tr:last-child td { border-bottom: none; }
.hyk-detail-table tbody tr:hover { background: rgba(39,174,228,.04); }

/* Catalog page: expand containers to full available width */
.page-template-page-catalogo .hyk-container {
  max-width: none;
  padding: 0 32px;
}

@media (max-width: 860px) {
  .hyk-cat-layout { grid-template-columns: 1fr; }
  .hyk-cat-sidebar {
    position: static;
    max-height: 180px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
  }
  .hyk-cat-item {
    flex: 0 0 auto;
    width: auto;
    padding: 6px 10px;
    border: 1px solid rgba(0,60,120,.10);
    border-radius: 20px;
    font-size: 11.5px;
  }
  .hyk-cat-section__title { font-size: 18px; }
}

/* ── Admin edit bar ───────────────────────────────────────────────────── */
.hyk-admin-bar {
  position: sticky;
  top: 0;
  z-index: 8999;
  background: #0a1f4e;
  padding: 8px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hyk-edit-btn, .hyk-save-btn, .hyk-cancel-btn {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.hyk-edit-btn   { background: rgba(255,255,255,.12); color: #fff; }
.hyk-edit-btn:hover { background: rgba(255,255,255,.2); }
body.hyk-editing .hyk-edit-btn { background: rgba(39,174,228,.35); }
.hyk-save-btn   { background: #27aee4; color: #fff; }
.hyk-save-btn:hover:not(:disabled) { opacity: .85; }
.hyk-save-btn:disabled { opacity: .5; cursor: not-allowed; }
.hyk-cancel-btn { background: transparent; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.2); }
.hyk-cancel-btn:hover { background: rgba(255,0,0,.15); color: #fff; }
.hyk-edit-status { font-size: 12px; color: rgba(255,255,255,.65); }

/* ── Edit mode — contenteditable fields ───────────────────────────────── */
.hyk-edit-lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--hyk-muted);
  margin: 14px 0 4px;
}
.hyk-edit-field {
  border: 1.5px solid rgba(39,174,228,.3);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--hyk-dark);
  outline: none;
  background: #fafcff;
  min-height: 28px;
  cursor: text;
  transition: border-color .15s, box-shadow .15s;
}
.hyk-edit-field:focus {
  border-color: #27aee4;
  box-shadow: 0 0 0 3px rgba(39,174,228,.18);
  background: #fff;
}
.hyk-edit-name { font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.hyk-edit-desc-f { color: var(--hyk-muted); min-height: 40px; }

/* Edit table: cells have their own edit-field div */
.hyk-edit-table td,
.hyk-edit-table th { padding: 2px 3px; vertical-align: top; }
.hyk-edit-table .hyk-edit-field {
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 12px;
  min-width: 54px;
  min-height: 24px;
}
.hyk-td-del, .hyk-th-del { width: 28px; text-align: center; }
.hyk-del-row {
  background: none; border: none; cursor: pointer;
  color: #c0392b; font-size: 16px; line-height: 1;
  padding: 2px 4px; border-radius: 4px;
  opacity: .6; transition: opacity .15s;
}
.hyk-del-row:hover { opacity: 1; background: rgba(192,57,43,.1); }
.hyk-add-row {
  background: none; border: 1.5px dashed rgba(39,174,228,.4);
  color: var(--hyk-accent); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 6px; cursor: pointer; width: 100%;
  transition: background .15s;
}
.hyk-add-row:hover { background: rgba(39,174,228,.08); }
.hyk-edit-table-wrap { margin-top: 4px; }

/* ============================================================
   CATALOGO — freccia blu stile goccia (no blob animato)
   ============================================================ */
body.page-template-page-catalogo #hyk-drop-cursor { display: none !important; }

body.page-template-page-catalogo,
body.page-template-page-catalogo * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18'%3E%3Cpath d='M1 0L1 13L4.5 9.5L7 15.5L9 14.5L6.5 8.5L12 8.5Z' fill='%231464e6' fill-opacity='0.82' stroke='white' stroke-opacity='0.92' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 1 0, default !important;
}
body.page-template-page-catalogo a,
body.page-template-page-catalogo button,
body.page-template-page-catalogo [role="button"],
body.page-template-page-catalogo .hyk-cat-item,
body.page-template-page-catalogo .hyk-th-sort,
body.page-template-page-catalogo select {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='18' viewBox='0 0 16 18'%3E%3Cpath d='M1 0L1 13L4.5 9.5L7 15.5L9 14.5L6.5 8.5L12 8.5Z' fill='%230052cc' fill-opacity='0.95' stroke='white' stroke-opacity='0.96' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 1 0, pointer !important;
}
body.page-template-page-catalogo .hyk-edit-field,
body.page-template-page-catalogo input,
body.page-template-page-catalogo textarea { cursor: text !important; }

/* Toast notification */
.hyk-toast {
  position: fixed; bottom: 24px; right: 24px;
  background: #0d2e6e; color: #fff;
  padding: 12px 20px; border-radius: 8px;
  z-index: 99999; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: opacity .5s;
  pointer-events: none;
}
.hyk-toast--err { background: #a93226; }

/* ============================================================
   CATALOGO — funzioni: preventivo, copia codice, filtro, highlight
   ============================================================ */
/* Header pannello: nome prodotto + CTA preventivo */
.hyk-detail-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.hyk-detail-head .hyk-detail-name { margin:0; }
.hyk-quote-add {
  flex-shrink:0; display:inline-flex; align-items:center; gap:6px;
  background:var(--hyk-sky); color:#fff; border:2px solid var(--hyk-sky);
  font-family:var(--hyk-font); font-size:13px; font-weight:700; cursor:pointer;
  padding:8px 16px; border-radius:8px; transition:all .2s ease; white-space:nowrap;
}
.hyk-quote-add:hover { background:var(--hyk-sky-h); border-color:var(--hyk-sky-h); transform:translateY(-1px); }
.hyk-quote-add.is-in { background:#e8f7ee; color:#1a8c4a; border-color:#1a8c4a; }
.hyk-quote-add.is-in:hover { background:#d7f0e0; }

/* Evidenziazione termine cercato */
mark.hyk-hl { background:#fff3a8; color:inherit; padding:0 1px; border-radius:2px; }

/* Cella codice cliccabile (copia) */
.hyk-code { cursor:pointer; border-bottom:1px dashed rgba(0,85,150,.45); padding:1px 3px; border-radius:3px; transition:background .15s,color .15s; }
.hyk-code:hover { background:rgba(39,174,228,.14); color:#005596; }
.hyk-code.copied { background:#1a8c4a; color:#fff; border-bottom-color:transparent; }

/* Filtro righe per tabella */
.hyk-row-filter {
  width:100%; max-width:360px; box-sizing:border-box; margin:0 0 12px;
  padding:9px 14px; font-family:var(--hyk-font); font-size:14px; color:var(--hyk-dark);
  background:#fff; border:1.5px solid var(--hyk-border); border-radius:9px; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.hyk-row-filter:focus { border-color:var(--hyk-sky); box-shadow:0 0 0 3px rgba(39,174,228,.16); }

/* Contatore risultati ricerca */
.hyk-search-count { margin-top:8px; font-size:13.5px; color:var(--hyk-muted); min-height:18px; }
.hyk-search-count--empty { color:#b3402e; font-weight:600; }
.hyk-search-count--empty a { color:var(--hyk-blue); text-decoration:underline; }

/* FAB preventivo — in basso a sinistra (opposto a WhatsApp) */
#hyk-quote-fab {
  position:fixed; left:20px; bottom:24px; z-index:9500;
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#0066CC,#1ABCFE); color:#fff;
  border:none; border-radius:100px; padding:13px 20px;
  font-family:var(--hyk-font); font-size:15px; font-weight:700; cursor:pointer;
  box-shadow:0 8px 28px rgba(0,80,180,.40); transition:transform .2s, box-shadow .2s;
}
#hyk-quote-fab:hover { transform:translateY(-2px); box-shadow:0 12px 34px rgba(0,80,180,.50); }
#hyk-quote-fab .hyk-quote-count {
  background:#fff; color:#0066CC; font-size:13px; font-weight:800;
  min-width:22px; height:22px; padding:0 6px; border-radius:100px;
  display:inline-flex; align-items:center; justify-content:center;
}

/* Pannello preventivo (drawer destro) */
#hyk-quote-panel { position:fixed; inset:0; z-index:9600; display:none; }
#hyk-quote-panel.open { display:block; }
#hyk-quote-backdrop { position:absolute; inset:0; background:rgba(0,20,55,.55); -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px); }
.hyk-quote-card {
  position:absolute; right:0; top:0; height:100%; width:min(440px,100%);
  background:#fff; box-shadow:-12px 0 40px rgba(0,20,80,.25);
  display:flex; flex-direction:column; padding:24px; box-sizing:border-box;
  animation:hyk-quote-in .28s cubic-bezier(.16,1,.3,1);
}
@keyframes hyk-quote-in { from{transform:translateX(40px);opacity:0} to{transform:none;opacity:1} }
.hyk-quote-cardhead { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.hyk-quote-cardhead h3 { margin:0; font-size:19px; color:var(--hyk-dark); }
#hyk-quote-close { background:none; border:none; font-size:20px; cursor:pointer; color:var(--hyk-muted); line-height:1; padding:4px; }
#hyk-quote-close:hover { color:var(--hyk-dark); }
.hyk-quote-list { flex:1; overflow-y:auto; margin:0 -4px 12px; }
.hyk-quote-empty { color:var(--hyk-muted); font-size:14px; line-height:1.6; padding:20px 4px; }
.hyk-quote-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 4px; border-bottom:1px solid rgba(0,60,120,.08); }
.hyk-quote-info strong { display:block; font-size:14px; color:var(--hyk-dark); font-weight:700; }
.hyk-quote-code { font-size:12px; font-family:monospace; color:#005596; }
.hyk-quote-rem { background:none; border:none; color:#c0392b; font-size:15px; cursor:pointer; padding:4px 8px; border-radius:6px; opacity:.7; }
.hyk-quote-rem:hover { opacity:1; background:rgba(192,57,43,.1); }
.hyk-quote-notelbl { font-size:12px; font-weight:700; color:var(--hyk-muted); text-transform:uppercase; letter-spacing:.04em; margin-bottom:6px; display:block; }
#hyk-quote-note { width:100%; box-sizing:border-box; border:1.5px solid var(--hyk-border); border-radius:9px; padding:10px 12px; font-family:var(--hyk-font); font-size:14px; resize:vertical; outline:none; }
#hyk-quote-note:focus { border-color:var(--hyk-sky); box-shadow:0 0 0 3px rgba(39,174,228,.16); }
.hyk-quote-contact { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.hyk-q-field { box-sizing:border-box; width:100%; border:1.5px solid var(--hyk-border); border-radius:9px; padding:9px 12px; font-family:var(--hyk-font); font-size:14px; color:var(--hyk-dark); outline:none; transition:border-color .2s, box-shadow .2s; }
.hyk-q-field:focus { border-color:var(--hyk-sky); box-shadow:0 0 0 3px rgba(39,174,228,.16); }
@media (max-width:480px){ .hyk-quote-contact { grid-template-columns:1fr; } }
.hyk-quote-actions { display:flex; gap:10px; margin-top:14px; }
.hyk-quote-btn-primary { flex:1; background:var(--hyk-blue); color:#fff; border:none; border-radius:10px; padding:13px; font-family:var(--hyk-font); font-size:15px; font-weight:700; cursor:pointer; transition:background .2s; }
.hyk-quote-btn-primary:hover { background:var(--hyk-blue-h); }
.hyk-quote-btn-ghost { background:none; border:1.5px solid var(--hyk-border); color:var(--hyk-muted); border-radius:10px; padding:13px 18px; font-family:var(--hyk-font); font-size:14px; font-weight:600; cursor:pointer; }
.hyk-quote-btn-ghost:hover { border-color:#c0392b; color:#c0392b; }
.hyk-quote-hint { font-size:12px; color:var(--hyk-muted); margin:12px 0 0; line-height:1.5; }
.hyk-quote-actions { flex-wrap:wrap; }
.hyk-quote-preview {
  margin:12px 0 0; max-height:260px; overflow:auto;
  background:#0e1f3a; color:#dce8ff; border-radius:10px; padding:12px 14px;
  font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; line-height:1.55;
  white-space:pre-wrap; word-break:break-word; border:1px solid rgba(255,255,255,.08);
}

/* Nascondi voce "Catalogo" nel menu HEADER (resta nel footer e dal bottone hero) */
.header-navigation li.menu-item-27,
.main-navigation li.menu-item-27,
.header-navigation li.menu-item:has(> a[href*="/catalogo"]),
.main-navigation li.menu-item:has(> a[href*="/catalogo"]) { display: none !important; }

/* Dropdown "Prodotti": testo SEMPRE scuro (la regola hero rende bianchi i link nav,
   ma il sotto-menu ha sfondo bianco → forziamo scuro con specificità più alta) */
.site-header .header-navigation .sub-menu .menu-item > a,
.site-header:not(.is-scrolled) .header-navigation .sub-menu .menu-item > a {
  color: var(--hyk-dark) !important;
}
.site-header .header-navigation .sub-menu .menu-item > a:hover,
.site-header:not(.is-scrolled) .header-navigation .sub-menu .menu-item > a:hover {
  color: var(--hyk-blue) !important;
}

/* ============================================================
   HEADER: barra BIANCA quando scrolli + su pagine interne
   (in home l'hero resta trasparente sul video). 2026-06-15
   ============================================================ */
.site-header.is-scrolled,
body:not(.home) .site-header,
body:not(.home) .site-header:not(.is-scrolled) {
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 6px 24px rgba(0,40,120,.07) !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Voci menu scure quando la barra è bianca */
.site-header.is-scrolled .main-navigation a,
.site-header.is-scrolled .header-navigation a,
body:not(.home) .site-header .main-navigation a,
body:not(.home) .site-header .header-navigation a {
  color: var(--hyk-dark) !important;
}
.site-header.is-scrolled .main-navigation a:hover,
.site-header.is-scrolled .main-navigation .current-menu-item > a,
body:not(.home) .site-header .main-navigation a:hover {
  background: var(--hyk-light) !important;
  color: var(--hyk-blue) !important;
}
/* Voce corrente (es. "Prodotti" sulla pagina Prodotti) su barra bianca:
   NIENTE riquadro azzurro — solo testo scuro, visibile (prima era bianco-su-bianco). */
.site-header.is-scrolled .main-navigation .current-menu-item > a,
.site-header.is-scrolled .header-navigation .current-menu-item > a,
body:not(.home) .site-header .main-navigation .current-menu-item > a,
body:not(.home) .site-header .header-navigation .current-menu-item > a {
  background: transparent !important;
  color: var(--hyk-dark) !important;
}
.site-header.is-scrolled .header-navigation .current-menu-item > a span,
body:not(.home) .site-header .header-navigation .current-menu-item > a span,
.site-header.is-scrolled .main-navigation .current-menu-item > a span,
body:not(.home) .site-header .main-navigation .current-menu-item > a span {
  color: var(--hyk-dark) !important;
  background: transparent !important;
}
/* Niente sfondo azzurro nemmeno al focus/click o quando il dropdown è aperto */
.site-header .header-navigation .current-menu-item > a:focus,
.site-header .header-navigation .menu-item-has-children.current-menu-item:focus-within > a,
.site-header .header-navigation .menu-item-has-children.current-menu-item:hover > a {
  background: transparent !important;
  color: var(--hyk-dark) !important;
}
/* Su barra bianca togli la pill scura dalla nav */
.site-header.is-scrolled .main-navigation,
.site-header.is-scrolled .header-navigation,
body:not(.home) .site-header:not(.is-scrolled) .main-navigation,
body:not(.home) .site-header:not(.is-scrolled) .header-navigation {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* Phone CTA blu pieno quando barra bianca */
.site-header.is-scrolled .hyk-nav-phone-item a.hyk-nav-phone-cta,
body:not(.home) .site-header .hyk-nav-phone-item a.hyk-nav-phone-cta {
  background: var(--hyk-blue) !important;
  color: #fff !important;
  border: none !important;
}
.site-header.is-scrolled .hyk-nav-phone-item a.hyk-nav-phone-cta:hover,
body:not(.home) .site-header .hyk-nav-phone-item a.hyk-nav-phone-cta:hover {
  background: var(--hyk-blue-h) !important;
}
/* Hamburger mobile scuro quando barra bianca */
.site-header.is-scrolled .menu-toggle,
.site-header.is-scrolled .menu-toggle *,
body:not(.home) .site-header .menu-toggle,
body:not(.home) .site-header .menu-toggle * {
  color: var(--hyk-dark) !important;
}
body.hyk-quote-lock { overflow:hidden; }
@media (max-width:600px){ #hyk-quote-fab{ left:14px; bottom:18px; padding:11px 16px; font-size:14px; } }

/* Colonna "Cod. alternativo" — SOLO in edit mode WP (mai nel sito pubblico) */
.hyk-th-alt { font-size:10.5px; font-weight:700; color:var(--hyk-muted); text-transform:uppercase; letter-spacing:.03em; white-space:nowrap; padding:4px 8px; }
.hyk-td-alt { font-family:monospace; font-size:11px; color:#8a6d00; background:#fffbe6; white-space:nowrap; padding:4px 8px; border-left:1px dashed rgba(138,109,0,.3); }

/* Selezione righe → preventivo (checkbox per codice + barra) */
.hyk-chk-col { width:36px; text-align:center; padding:0 4px !important; }
.hyk-rowchk, .hyk-chk-all { width:17px; height:17px; cursor:pointer; accent-color:var(--hyk-blue); vertical-align:middle; }
.hyk-detail-table tr.in-quote { background:#eafaf0 !important; }
.hyk-detail-table tr.in-quote td { color:#1a8c4a; }
.hyk-rowsel-bar {
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-top:14px; padding:12px 16px; background:linear-gradient(90deg,#eef7ff,#f6fbff);
  border:1px solid var(--hyk-border); border-radius:12px;
}
.hyk-rowsel-info { font-size:13px; color:var(--hyk-muted); }
.hyk-rowsel-add {
  flex-shrink:0; background:var(--hyk-blue); color:#fff; border:none; border-radius:9px;
  padding:11px 22px; font-family:var(--hyk-font); font-size:14px; font-weight:700; cursor:pointer;
  transition:background .2s, opacity .2s, transform .15s;
}
.hyk-rowsel-add:hover:not(:disabled) { background:var(--hyk-blue-h); transform:translateY(-1px); }
.hyk-rowsel-add:disabled { opacity:.45; cursor:not-allowed; }
/* Voce lista preventivo (codice in evidenza) */
.hyk-quote-info strong { font-family:monospace; font-size:14px; color:#005596; }
.hyk-quote-fam { display:block; font-size:12px; color:var(--hyk-dark); font-weight:600; margin-top:2px; }
.hyk-quote-lbl { display:block; font-size:11.5px; color:var(--hyk-muted); margin-top:1px; }
