/*
Theme Name: GH Careers
Template: generatepress
Description: Child theme per GH Group Careers — brand identity Gardahaus
Version: 1.2.0
*/

/* ===== FONT SELF-HOSTED — Banana Grotesk, font ufficiale con licenza (8 pesi) ===== */
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-extralight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Banana-Grotesk';
  src: url('assets/fonts/banana-grotesk-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ===== ROOT / BRAND GARDAHAUS ===== */
:root {
  --color-teal:       #3EC8BE;
  --color-teal-dark:  #2AADA3;
  --color-teal-light: #6EDCD5;
  /* Accento su SFONDO CHIARO (testo/link/bordi/pulsanti/CTA come "Candidati ora").
     Ex teal-green (#237D76): sostituito col BLU DEL BRAND (#0E6F8C, dal logo GH Estate)
     su richiesta cliente — WCAG AA su bianco (~5.6:1). Il nome variabile resta per
     compatibilità con i 36+ punti che lo usano; il valore ora è il blu brand.
     NB: --color-teal (#3EC8BE) resta il turchese usato SOLO su sfondi scuri/foto. */
  --color-teal-text:      #0E6F8C;
  --color-teal-text-dark: #0A5670;
  --color-blue:       #0E6F8C; /* blu brand GardaHaus (dal logo reale), calibrato per leggibilità su foto scure */
  --color-blue-light: #5BB8D6; /* variante più chiara, per titoli in sfumatura su foto: più leggibile del blu pieno */
  --color-dark:       #1A1F24;
  --color-mid:        #3D4550;
  --color-text:       #2C3038;
  --color-text-light: #6A727F; /* scurito da #7A8290: sotto 4.5:1 su bianco/bg-soft, ora ~4.5-4.9:1 */
  --color-bg:         #FFFFFF;
  --color-bg-soft:    #F5F7F8;
  --color-border:     #E4E8EC;
  --font-heading:      Optima, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-body:         'Banana-Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --font-accent:       'Banana-Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  --max-width:        1200px;
  --section-padding:  100px 0;
  --radius-pill:      100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-dark);
}

/* h1/h2: stile "maschera" — maiuscolo, bold, non corsivo (variante con foto: vedi .gh-mask-title) */
h1, h2 {
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}


a { color: var(--color-teal-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-teal-text-dark); }

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

/* ===== HEADER (trasparente su hero, solido dopo lo scroll) ===== */
.site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header.gh-header-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.gh-logo-img.gh-logo-solid { display: none; }
.gh-logo-img.gh-logo-transparent { display: block; }
.site-header.gh-header-scrolled .gh-logo-img.gh-logo-solid { display: block; }
.site-header.gh-header-scrolled .gh-logo-img.gh-logo-transparent { display: none; }

.site-header .gh-nav a { color: #fff; }
.site-header .gh-logo-sub { color: rgba(255,255,255,.7); }
.site-header.gh-header-scrolled .gh-nav a { color: var(--color-text); }
.site-header.gh-header-scrolled .gh-logo-sub { color: var(--color-text-light); }
.site-header .gh-nav a:hover { color: var(--color-teal-light); }
.site-header.gh-header-scrolled .gh-nav a:hover { color: var(--color-teal-text); }

/* body non ha bisogno di offset: l'header fisso è pensato per sovrapporsi alla hero */

.gh-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.gh-logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.gh-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.gh-logo-sub {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.gh-footer-logo-img {
  height: 34px;
  width: auto;
  margin-bottom: 14px;
}

.gh-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.gh-nav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-transform: none;
  white-space: nowrap;
}

/* Sotto i ~1400px il logo (largo, formato lockup orizzontale) + le 6 voci di menu
   + CTA + selettore lingua non stanno più comodamente su una riga: si nasconde
   il sottotitolo "Careers" del logo per recuperare spazio, prima che le voci
   vadano a capo e si sovrappongano. */
@media (max-width: 1400px) {
  .gh-logo-sub { display: none; }
}
.gh-nav a:hover { color: var(--color-teal); }

.gh-nav .gh-nav-cta {
  padding: 11px 26px;
  font-size: 14px;
  border: 1.5px solid var(--color-teal-text);
  border-radius: var(--radius-pill);
  color: var(--color-teal-text);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all .25s;
}
.gh-nav .gh-nav-cta:hover {
  background: var(--color-teal-text);
  color: #fff;
}

.gh-lang-switch {
  display: flex;
  gap: 6px;
  align-items: center;
}
/* Polylang genera <li class="lang-item"> senza wrapper <ul>: azzero i marker di lista */
.gh-lang-switch li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.gh-lang-switch li::marker { content: none; }
.gh-lang-switch a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding: 4px 8px;
  border-radius: 4px;
  transition: all .2s;
}
.gh-lang-switch a:hover,
.gh-lang-switch a.active { color: var(--color-teal-text); }

/* ===== HERO OUTSTANDING (v2 — parallax + entrance animations) ===== */
.gh-hero-v2 {
  position: relative;
  width: 100%;
  height: calc(700px + 100vh);
}

.gh-hero-v2-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--color-dark);
}

.gh-hero-v2-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  transform: translateY(0) scale(1);
}

.gh-hero-v2-overlay-b {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.55) 0%, rgba(17,17,17,.35) 45%, rgba(17,17,17,.65) 100%);
}
.gh-hero-v2-overlay-t {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.75) 0%, transparent 45%);
}
.gh-hero-v2-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 100%, rgba(62,200,190,0.10), transparent 60%);
  pointer-events: none;
}

.gh-hero-v2-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  will-change: transform, opacity;
}

.gh-hero-v2-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  border: 1px solid rgba(62,200,190,0.35);
  background: rgba(62,200,190,0.08);
  backdrop-filter: blur(6px);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.gh-hero-v2-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6.8vw, 92px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-teal-light);
  line-height: 0.98;
  max-width: 900px;
  margin-bottom: 26px;
}
.gh-hero-v2-title em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.gh-hero-v2-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 48px;
}

.gh-hero-v2-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
}

.gh-hero-v2-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  transition: all .3s;
}
.gh-hero-v2-outline-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.gh-hero-v2-outline-btn .gh-arrow-icon { transition: transform .3s; }
.gh-hero-v2-outline-btn:hover .gh-arrow-icon { transform: translateX(4px); }

/* Interactive hover button (reveal-on-hover effect) */
.gh-hover-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(62,200,190,0.4);
  background: rgba(62,200,190,0.16);
  backdrop-filter: blur(6px);
  padding: 16px 32px;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s;
}
.gh-hover-btn:hover { background: rgba(62,200,190,0.26); color: #fff; }

.gh-hover-btn-label {
  display: inline-block;
  transform: translateX(4px);
  transition: transform .3s, opacity .3s;
}
.gh-hover-btn:hover .gh-hover-btn-label {
  transform: translateX(48px);
  opacity: 0;
}

.gh-hover-btn-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(48px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.gh-hover-btn:hover .gh-hover-btn-reveal {
  transform: translateX(0);
  opacity: 1;
}

.gh-hover-btn-dot {
  position: absolute;
  left: 20%;
  top: 40%;
  height: 8px;
  width: 8px;
  border-radius: 8px;
  background: var(--color-teal);
  transform: scale(1);
  transition: all .3s;
}
.gh-hover-btn:hover .gh-hover-btn-dot {
  left: 0; top: 0;
  height: 100%; width: 100%;
  border-radius: var(--radius-pill);
  transform: scale(1.8);
}

/* Scroll indicator */
.gh-hero-v2-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
}
.gh-hero-v2-scroll span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gh-hero-v2-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: gh-scroll-pulse 2s ease-in-out infinite;
}
@keyframes gh-scroll-pulse {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* Entrance reveal animation (staggered via --d) */
.gh-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: gh-reveal-in 1s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes gh-reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gh-reveal { animation: none; opacity: 1; transform: none; }
  .gh-hero-v2-scroll-line { animation: none; }
  .gh-hero-v2-bg { transition: none !important; }
}

/* ===== SCROLL REVEAL (universale, IntersectionObserver via gh-reveal-scroll.js) ===== */
.gh-reveal-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0s);
}
.gh-reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .gh-reveal-scroll { opacity: 1; transform: none; transition: none; }
}

/* ===== HOVER-LIFT (card interattive) ===== */
.gh-job-card {
  transition: transform .3s ease, box-shadow .3s ease;
}

/* ===== HOVER BUTTON — variante universale (light/dark) ===== */
.gh-hover-btn-solid {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-teal-text);
  background: var(--color-teal-text);
  padding: 16px 32px;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.gh-hover-btn-solid:hover {
  background: var(--color-teal-text-dark);
  border-color: var(--color-teal-text-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(62,200,190,0.32);
}
.gh-hover-btn-solid .gh-hover-btn-label {
  display: inline-block;
  transform: translateX(4px);
  transition: transform .3s, opacity .3s;
}
.gh-hover-btn-solid:hover .gh-hover-btn-label { transform: translateX(48px); opacity: 0; }
.gh-hover-btn-solid .gh-hover-btn-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(48px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.gh-hover-btn-solid:hover .gh-hover-btn-reveal { transform: translateX(0); opacity: 1; }
.gh-hover-btn-solid .gh-hover-btn-dot {
  position: absolute;
  left: 20%; top: 40%;
  height: 8px; width: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.35);
  transform: scale(1);
  transition: all .3s;
}
.gh-hover-btn-solid:hover .gh-hover-btn-dot {
  left: 0; top: 0;
  height: 100%; width: 100%;
  border-radius: var(--radius-pill);
  transform: scale(1.8);
}

/* Outline button — light background, dark text, arrow slides on hover */
.gh-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  justify-content: center;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.gh-outline-btn:hover {
  background: var(--color-dark);
  color: #fff;
}
.gh-outline-btn .gh-arrow-icon { transition: transform .3s; }
.gh-outline-btn:hover .gh-arrow-icon { transform: translateX(4px); }

/* ===== WAVE DIVIDER (elemento distintivo, transizione organica tra sezioni) ===== */
.gh-wave-divider {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  line-height: 0;
  pointer-events: none;
  z-index: 3;
}
.gh-wave-divider-top { top: -1px; }
.gh-wave-divider-bottom { bottom: -1px; }
.gh-wave-divider svg { width: 100%; height: 100%; display: block; }
.gh-wave-divider-top path { fill: var(--color-bg); }
.gh-wave-divider-bottom path { fill: var(--color-bg); }

/* ===== CTA TEXT REVEAL (scroll reveal + rotazione lingue) ===== */
.gh-cta-reveal {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 140px 24px;
}
.gh-cta-reveal-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
/* Grid-stack: tutti i blocchi lingua occupano la stessa cella, così l'altezza
   del box è quella del blocco più alto tra i tre e non cambia mai al crossfade. */
.gh-cta-stack {
  display: grid;
}
.gh-cta-lang-block {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s cubic-bezier(.45, 0, .2, 1);
}
.gh-cta-lang-block.is-active {
  opacity: 1;
  pointer-events: auto;
}
.gh-cta-reveal-text {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--color-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 0 0.35em;
}
.gh-cta-word {
  display: inline-block;
  /* opacità pilotata dallo scroll via JS, nessuna transition (deve seguire lo scroll in tempo reale) */
}
.gh-cta-word-inner {
  display: inline-block;
  transition: opacity .32s ease, transform .32s ease;
}
.gh-cta-brand .gh-cta-word-inner {
  color: var(--color-teal-text);
}

/* ===== VIDEO HOVER-PLAY (YouTube) ===== */
.gh-video-section {
  background: #fff;
  padding: 0 24px 140px;
}
.gh-hover-play-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14);
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
  cursor: pointer;
}
.gh-hover-play-card .gh-yt-player-target,
.gh-hover-play-card iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  pointer-events: none;
}
.gh-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(17,17,17,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, transform .25s;
  z-index: 2;
}
.gh-video-btn:hover {
  background: rgba(62,200,190,.5);
  transform: translate(-50%, -50%) scale(1.08);
}
.gh-hover-play-card.is-playing .gh-video-btn {
  opacity: 0;
  pointer-events: none;
}
.gh-hover-play-card.is-playing:hover .gh-video-btn {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .gh-cta-reveal { padding: 80px 20px; }
  .gh-video-section { padding: 0 20px 80px; }
  .gh-video-btn { width: 58px; height: 58px; }
}

/* ===== STATS ===== */
.gh-stats {
  background: var(--color-dark);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.gh-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
}

.gh-stats-inner > div {
  padding: 0 32px;
  position: relative;
}
.gh-stats-inner > div + div::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.gh-stat-number {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 600; color: var(--color-teal);
  display: block;
  line-height: 1;
}

.gh-stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 10px;
}

/* Fascia numeri a 6 voci (Perché GardaHaus) — griglia scura 3×2, colori brand.
   Numeri in teal brand (#3EC8BE) su fondo scuro: on-brand e ad alto contrasto. */
.gh-stats.gh-stats-6 { padding: 64px 48px; }
.gh-stats-6 .gh-stats-inner { row-gap: 48px; }
/* divisori verticali solo all'interno di ogni riga: niente prima del 1º e del 4º elemento */
.gh-stats-6 .gh-stats-inner > div:nth-child(3n+1)::before { display: none; }
@media (max-width: 900px) {
  .gh-stats-6 .gh-stats-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .gh-stats-6 .gh-stats-inner > div + div::before { display: none; }
}
@media (max-width: 480px) {
  .gh-stats-6 .gh-stats-inner { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ===== TESTIMONIANZE TEAM (Perché GardaHaus) ===== */
.gh-testimonials { background: var(--color-bg-soft); padding: 100px 48px; }
.gh-testi-head { max-width: 880px; margin: 0 auto 48px; text-align: center; }
.gh-testi-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.gh-testi-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 14px;
  padding: 28px; margin: 0;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gh-testi-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.gh-testi-quote {
  position: relative; flex: 1; margin: 0;
  font-size: 15px; line-height: 1.65; color: var(--color-text);
  padding-top: 14px;
}
.gh-testi-quote::before {
  content: '\201C'; position: absolute; top: -20px; left: -4px;
  font-family: var(--font-heading); font-size: 56px; line-height: 1;
  color: var(--color-teal); opacity: .3;
}
.gh-testi-person { display: flex; align-items: center; gap: 14px; }
.gh-testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; background: var(--color-border);
}
.gh-testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gh-testi-name {
  display: block; font-family: var(--font-heading); font-weight: 600;
  font-size: 15px; color: var(--color-dark);
}
.gh-testi-role { display: block; font-size: 12px; color: var(--color-text-light); margin-top: 2px; }
@media (max-width: 900px) { .gh-testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .gh-testi-grid { grid-template-columns: 1fr; }
  .gh-testimonials { padding: 64px 24px; }
}

/* ===== SEZIONE POSIZIONI ===== */
.gh-jobs-section {
  padding: var(--section-padding);
}

.gh-jobs-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.gh-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-teal-text);
  display: block;
  margin-bottom: 16px;
}

.gh-section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.05;
}

.gh-section-desc {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* Filtri */
.gh-jobs-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gh-filter-btn {
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  background: transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--color-text-light);
  transition: all .2s;
  letter-spacing: 0.02em;
}
.gh-filter-btn:hover { border-color: var(--color-teal-text); color: var(--color-teal-text); }
.gh-filter-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

/* Card posizioni — espandibili, con monogramma dipartimento */
.gh-jobs-list {
  border-top: 1px solid var(--color-border);
}

.gh-job-card {
  border-bottom: 1px solid var(--color-border);
  position: relative;
  transition: background .2s;
}
.gh-job-card:hover { background: var(--color-bg-soft); }
.gh-job-card.is-open { background: var(--color-bg-soft); }

.gh-job-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
}
.gh-job-card-toggle {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 16px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.gh-job-apply {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-teal-text);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gh-job-apply:hover {
  background: var(--color-teal-text-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14,111,140,.28);
}
.gh-job-apply svg { transition: transform .2s ease; }
.gh-job-apply:hover svg { transform: translateX(3px); }

.gh-job-monogram {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-dark);
  color: var(--color-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s;
}
.gh-job-card:hover .gh-job-monogram,
.gh-job-card.is-open .gh-job-monogram {
  background: var(--color-teal-text);
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}

.gh-job-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gh-job-card:hover .gh-job-title,
.gh-job-card.is-open .gh-job-title { color: var(--color-teal-text); }

.gh-job-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  transition: color .2s;
}

.gh-job-meta {
  display: flex;
  gap: 4px;
  font-size: 14px;
  color: var(--color-text-light);
  flex-wrap: wrap;
}

.gh-job-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gh-job-meta span + span::before {
  content: '·';
  color: var(--color-border);
  margin-right: 4px;
}

.gh-job-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.gh-job-tag {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-teal-text);
  color: var(--color-teal-text);
  white-space: nowrap;
}

.gh-job-chevron {
  width: 36px; height: 36px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: all .25s;
  flex-shrink: 0;
}
.gh-job-chevron svg { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.gh-job-card:hover .gh-job-chevron {
  background: var(--color-teal-text);
  border-color: var(--color-teal-text);
  color: #fff;
}
.gh-job-card.is-open .gh-job-chevron {
  background: var(--color-teal-text);
  border-color: var(--color-teal-text);
  color: #fff;
}
.gh-job-card.is-open .gh-job-chevron svg { transform: rotate(180deg); }

/* Pannello espandibile: animato via CSS grid-template-rows, nessun JS di misurazione */
.gh-job-card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.34,1.56,.64,1);
}
.gh-job-card.is-open .gh-job-card-body {
  grid-template-rows: 1fr;
}
.gh-job-card-body-inner {
  overflow: hidden;
  min-height: 0;
}
.gh-job-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  padding: 4px 16px 10px calc(16px + 48px + 24px);
  max-width: 660px;
}
.gh-job-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 16px 28px calc(16px + 48px + 24px);
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-teal-text);
  text-decoration: none;
  transition: gap .2s;
}
.gh-job-cta:hover { gap: 12px; }

@media (max-width: 720px) {
  /* Su mobile: toggle a tutta larghezza, pulsante "Candidati ora" sotto */
  .gh-job-card-head { flex-direction: column; align-items: stretch; gap: 0; padding-right: 0; }
  .gh-job-apply { justify-content: center; margin: 2px 16px 18px; }
  .gh-job-card-toggle { padding: 22px 16px 12px; }
}
@media (max-width: 640px) {
  .gh-job-excerpt, .gh-job-cta { padding-left: 16px; margin-left: 16px; }
  .gh-job-meta { font-size: 13px; }
  .gh-job-title { font-size: 21px; }
}

/* ===== ACADEMY — griglia aree formative ===== */
.gh-academy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gh-academy-card {
  padding: 28px 24px;
  background: var(--color-bg-soft);
  border-top: 2px solid var(--color-teal);
  border-radius: 6px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gh-academy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.gh-academy-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(62,200,190,.12);
  color: var(--color-teal-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.gh-academy-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.gh-academy-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.gh-academy-card-meta {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-teal-text-dark);
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
  .gh-academy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gh-academy-grid { grid-template-columns: 1fr; }
}

/* ===== TEAM SHOWCASE — griglia posizioni (posizioni-aperte) ===== */
.gh-team-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.gh-team-showcase-card.gh-job-card {
  border-bottom: 0;
  display: block;
  text-decoration: none;
  color: inherit;
}
.gh-team-showcase-card.gh-job-card:hover,
.gh-team-showcase-card.gh-job-card.is-open {
  background: none;
}

.gh-team-showcase-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-border);
  transition: border-radius .4s ease;
}
.gh-team-showcase-card:hover .gh-team-showcase-visual { border-radius: 24px; }

.gh-team-showcase-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%; /* favorisce la parte alta: nelle foto di team i volti non vengono tagliati */
  transition: transform .5s ease;
}
.gh-team-showcase-card:hover .gh-team-showcase-visual img {
  transform: scale(1.06);
}

.gh-team-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.6) 0%, rgba(17,17,17,.1) 45%, transparent 65%);
}

.gh-team-showcase-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
}

.gh-team-showcase-info { padding: 18px 2px 0; }
.gh-team-showcase-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.gh-team-showcase-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  transition: letter-spacing .3s ease, color .3s ease;
}
.gh-team-showcase-card:hover .gh-team-showcase-title {
  letter-spacing: 0.02em;
  color: var(--color-teal-text-dark);
}
.gh-team-showcase-index {
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.gh-team-showcase-reveal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  min-height: 42px;
}
.gh-team-showcase-role {
  font-size: 13px;
  color: var(--color-text-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.gh-team-showcase-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-teal-text);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .05s, transform .35s ease .05s;
}
.gh-team-showcase-card:hover .gh-team-showcase-role,
.gh-team-showcase-card:hover .gh-team-showcase-more {
  opacity: 1;
  transform: translateY(0);
}

/* Touch: niente hover, il contenuto resta sempre visibile */
@media (hover: none) {
  .gh-team-showcase-role, .gh-team-showcase-more { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .gh-team-showcase-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .gh-team-showcase-grid { grid-template-columns: 1fr; }
}

/* ===== VOLTI DEL TEAM (homepage) — foto "Volto GH Nome Cognome" ===== */
.gh-faces-section {
  padding: var(--section-padding);
  background: #fff;
}
.gh-faces-payoff {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  font-style: normal;
  color: var(--color-dark);
  max-width: 720px;
  margin: 8px 0 44px;
  line-height: 1.4;
}
.gh-faces-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.gh-faces-photo {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg-soft);
}
.gh-faces-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .5s ease, transform .5s ease;
}
.gh-faces-card:hover .gh-faces-photo img {
  filter: grayscale(0);
  transform: scale(1.06);
}
.gh-faces-name {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: letter-spacing .3s ease, color .3s ease;
}
.gh-faces-card:hover .gh-faces-name {
  letter-spacing: 0.09em;
  color: var(--color-teal-text-dark);
}

@media (max-width: 1024px) {
  .gh-faces-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .gh-faces-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gh-faces-name { font-size: 11px; margin-top: 8px; }
}
@media (max-width: 420px) {
  .gh-faces-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== GALLERIA A SCORRIMENTO CONTINUO (Academy — foto "Premiazioni") =====
   Sostituisce il precedente carosello 3D rotante: con foto reali in numero
   variabile il raggio della ruota cresceva senza limite (n * 55px), causando
   distorsioni e sovrapposizioni con il testo. Lo scorrimento a nastro resta
   leggibile e pulito indipendentemente da quante foto ci sono. */
.gh-marquee-gallery {
  position: relative;
  margin: 64px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.gh-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: gh-marquee-scroll 60s linear infinite;
}
.gh-marquee-gallery:hover .gh-marquee-track {
  animation-play-state: paused;
}
.gh-marquee-card {
  flex: 0 0 auto;
  width: 220px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
.gh-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes gh-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gh-marquee-track { animation: none; }
}
@media (max-width: 768px) {
  .gh-marquee-gallery { margin-top: 40px; }
  .gh-marquee-card { width: 160px; height: 210px; }
  .gh-marquee-track { gap: 14px; }
}

/* ===== PROCESSO ===== */
.gh-process {
  background: var(--color-dark);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}
.gh-wave-divider-soft path { fill: var(--color-bg-soft); }

.gh-process-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.gh-process .gh-section-title { color: #fff; }

/* ===== WHY JOIN ===== */
.gh-why { padding: var(--section-padding); background: var(--color-bg-soft); }

/* Galleria "spotlight" (homepage): due foto del team, mai tagliate — il
   frame usa lo stesso rapporto delle foto originali (3:2), niente crop forzato. */
.gh-why-gallery {
  max-width: var(--max-width);
  margin: 64px auto 0;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gh-spotlight-card {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  will-change: transform;
}
.gh-spotlight-card:hover {
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
}

.gh-spotlight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh-spotlight-blur {
  filter: blur(3px) saturate(0.95);
  transform: scale(1.03); /* nasconde i bordi sfocati */
}
.gh-spotlight-sharp {
  -webkit-mask-image: radial-gradient(circle at var(--gh-mx, 50%) var(--gh-my, 50%), #000 0, #000 90px, transparent 260px);
  mask-image: radial-gradient(circle at var(--gh-mx, 50%) var(--gh-my, 50%), #000 0, #000 90px, transparent 260px);
}
.gh-spotlight-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.22), transparent 40%);
  pointer-events: none;
}

/* Niente hover persistente (touch) o utente sensibile al movimento: foto sempre nitida, senza blur/maschera/tilt */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .gh-spotlight-blur { display: none; }
  .gh-spotlight-sharp {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .gh-spotlight-card { transform: none !important; }
}

@media (max-width: 900px) {
  .gh-why-gallery { grid-template-columns: 1fr; padding: 0 20px; margin-top: 40px; }
}

/* ===== SINGLE JOB ===== */
.gh-single-job {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 48px;
}

.gh-back-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 40px;
  transition: color .2s;
}
.gh-back-link:hover { color: var(--color-teal-text); }

.gh-job-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}
.gh-job-header h1 { font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0 20px;
}

.gh-job-body { font-size: 16px; line-height: 1.9; color: var(--color-text); }
.gh-job-body h3 {
  font-family: var(--font-heading); font-size: 22px;
  margin: 40px 0 14px;
  color: var(--color-dark);
}
.gh-job-body ul { padding-left: 20px; }
.gh-job-body li { margin-bottom: 8px; color: var(--color-text-light); }

.gh-apply-box {
  background: var(--color-dark);
  padding: 52px;
  margin-top: 64px;
  border-radius: 8px;
  text-align: center;
}
.gh-apply-box h3 {
  font-family: var(--font-heading); font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}
.gh-apply-box p { color: rgba(255,255,255,0.55); margin-bottom: 32px; font-size: 16px; }

/* ===== FORM ===== */
.gh-form {
  background: #fff;
  padding: 52px;
  border-radius: 8px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.gh-form h2 {
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 32px;
  margin-bottom: 6px;
}
.gh-form-subtitle { color: var(--color-text-light); font-size: 15px; margin-bottom: 40px; }

.gh-form-group { margin-bottom: 22px; }

.gh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gh-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 8px;
}

.gh-form input:not([type="checkbox"]):not([type="radio"]),
.gh-form textarea,
.gh-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-soft);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.gh-form input:focus:not([type="checkbox"]):not([type="radio"]),
.gh-form textarea:focus,
.gh-form select:focus {
  border-color: var(--color-teal-text);
  box-shadow: 0 0 0 3px rgba(62,200,190,0.12);
  background: #fff;
}
.gh-form textarea { min-height: 130px; resize: vertical; }

.gh-file-upload {
  border: 2px dashed var(--color-border);
  padding: 36px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  background: var(--color-bg-soft);
}
.gh-file-upload:hover { border-color: var(--color-teal-text); background: rgba(62,200,190,0.03); }
.gh-file-upload input { display: none; }
.gh-upload-icon { font-size: 28px; color: var(--color-teal-text); margin-bottom: 8px; }
.gh-file-upload strong { font-size: 14px; color: var(--color-dark); display: block; margin-bottom: 4px; }
.gh-file-upload p { font-size: 12px; color: var(--color-text-light); margin: 0; }

.gh-form .gh-form-privacy {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 28px;
  cursor: pointer;
}
.gh-form-privacy input[type="checkbox"] {
  appearance: auto;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: none;
  background: none;
  flex-shrink: 0;
  accent-color: var(--color-teal);
}
.gh-form-privacy a { color: var(--color-teal-text); }

.gh-form-success { display: none; text-align: center; padding: 48px 0; }
.gh-form-success h3 { color: var(--color-teal-text); font-size: 28px; margin-bottom: 12px; }

/* ===== NO JOBS ===== */
.gh-no-jobs {
  padding: 48px 0;
  color: var(--color-text-light); font-family: var(--font-heading);
  font-size: 20px;
}

/* ===== SEDI (griglia location) ===== */
.gh-offices-section {
  padding: var(--section-padding);
  background: var(--color-bg-soft);
}

.gh-offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 8 sedi = 2 righe piene, disposizione ordinata */
  gap: 24px;
  margin-top: 48px;
}

.gh-office-card {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform .35s ease, box-shadow .35s ease;
}
.gh-office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.12);
}

.gh-office-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* orizzontale su desktop/tablet */
  overflow: hidden;
  background: var(--color-border);
}
.gh-office-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gh-office-card:hover .gh-office-card-img img {
  transform: scale(1.06);
}

.gh-office-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.55) 0%, transparent 55%);
}

.gh-office-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-mid) 100%);
  color: rgba(62,200,190,0.6);
}

.gh-office-card-name {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading); font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .gh-offices-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .gh-offices-grid { grid-template-columns: 1fr; }
  .gh-office-card-img { aspect-ratio: 1 / 1; } /* quadrata su mobile */
}

/* ===== PAGINA "LE NOSTRE SEDI" (storytelling) ===== */
.gh-sedi-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-dark);
}
.gh-sedi-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.6;
}
.gh-sedi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.5) 0%, rgba(17,17,17,.35) 50%, rgba(17,17,17,.75) 100%);
}
.gh-sedi-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 48px;
  text-align: center;
  width: 100%;
}
.gh-sedi-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.2vw, 80px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-teal-light);
  line-height: 1.05;
  margin: 0 auto 24px;
  max-width: 820px;
}
.gh-sedi-hero-title em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}
.gh-sedi-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.gh-sedi-story-section {
  padding: 80px 0;
  background: #fff;
}

.gh-sedi-story-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
.gh-sedi-story-block:last-child { border-bottom: none; }
.gh-sedi-story-reverse { direction: rtl; }
.gh-sedi-story-reverse > * { direction: ltr; }
.gh-sedi-story-reverse .gh-sedi-story-media { order: 2; }
.gh-sedi-story-reverse .gh-sedi-story-text { order: 1; }

.gh-sedi-story-main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-border);
}
.gh-sedi-story-main-img img,
.gh-sedi-story-main-img svg { width: 100%; height: 100%; object-fit: cover; }

.gh-sedi-story-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.gh-sedi-story-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
}
.gh-sedi-story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gh-sedi-story-thumb:hover img { transform: scale(1.08); }

.gh-sedi-story-num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 32px;
  color: var(--color-teal-text);
  display: block;
  margin-bottom: 12px;
}
.gh-sedi-story-title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.gh-sedi-story-desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}

@media (max-width: 900px) {
  .gh-sedi-hero-content { padding: 70px 20px; }
  .gh-sedi-story-section { padding: 48px 0; }
  .gh-sedi-story-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 20px;
  }
  .gh-sedi-story-reverse { direction: ltr; }
  .gh-sedi-story-reverse .gh-sedi-story-media,
  .gh-sedi-story-reverse .gh-sedi-story-text { order: initial; }
  .gh-sedi-story-main-img { aspect-ratio: 1 / 1; }
}

/* ===== STORYTELLING A CAPITOLI (pagina Perché GardaHaus) ===== */

/* Indicatore di progresso capitoli (fisso a destra, solo desktop) */
.gh-story-progress {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.gh-story-progress a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.gh-story-progress span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  transition: all .3s;
  flex-shrink: 0;
}
.gh-story-progress label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  opacity: 0;
  transform: translateX(6px);
  transition: all .25s;
  white-space: nowrap;
}
.gh-story-progress a:hover label { opacity: 1; transform: translateX(0); }
.gh-story-progress a.active span {
  background: var(--color-teal);
  transform: scale(1.4);
}
.gh-story-progress a.active label { opacity: 1; transform: translateX(0); color: var(--color-dark); }

.gh-story-progress-compact { gap: 12px; }
.gh-story-progress-compact span { width: 6px; height: 6px; }

@media (max-width: 1250px) {
  .gh-story-progress { display: none; }
}

/* Intro hook — foto di sfondo in opacità + scrim (pattern di riferimento: .gh-sedi-hero) */
.gh-story-hook {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  text-align: center;
  padding: 100px 48px;
}
.gh-story-hook-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.6;
}
.gh-story-hook-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.5) 0%, rgba(17,17,17,.35) 50%, rgba(17,17,17,.75) 100%);
}
.gh-story-hook-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.gh-story-hook-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.6vw, 70px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gh-story-hook-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-teal);
}
.gh-hero-fixed-line { display: block; }

/* Parola finale in rotazione — carosello verticale (stile "animated hero") */
.gh-hero-word-stage {
  position: relative;
  display: block;
  width: 100%;
  height: 1.05em;
  overflow: hidden;
  line-height: 1.05;
}
.gh-hero-word {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--color-teal);
  opacity: 0;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
}
.gh-hero-word.is-active { opacity: 1; transform: translateY(0); }
.gh-hero-word.is-prev { opacity: 0; transform: translateY(-100%); }
.gh-hero-word.is-next { opacity: 0; transform: translateY(100%); }

@media (prefers-reduced-motion: reduce) {
  .gh-hero-word { transition: none; }
}
.gh-story-hook-desc {
  font-family: var(--font-body);
  font-size: 19px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Capitoli — molto whitespace, contenuto centrato */
.gh-chapter {
  padding: 140px 24px;
  background: #fff;
}
.gh-chapter-dark { background: var(--color-dark); }
.gh-chapter-soft { background: var(--color-bg-soft); }
.gh-chapter-inner { max-width: 880px; margin: 0 auto; }

.gh-chapter-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-text);
  margin-bottom: 24px;
}
.gh-chapter-dark .gh-chapter-label { color: var(--color-teal-light); }

.gh-chapter-statement {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.6vw, 54px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  color: var(--color-dark);
  margin-bottom: 28px;
  max-width: 780px;
}
.gh-chapter-dark .gh-chapter-statement { color: #fff; }

.gh-chapter-body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 620px;
}
.gh-chapter-dark .gh-chapter-body { color: rgba(255,255,255,.7); }

/* Climax CTA — chiusura d'impatto */
.gh-story-climax {
  background: var(--color-dark);
  padding: 140px 24px;
  text-align: center;
}
.gh-story-climax-inner { max-width: 700px; margin: 0 auto; }
.gh-story-climax-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 44px;
}
.gh-story-climax-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-teal);
}

/* ===== ORBITAL TIMELINE (valori aziendali, capitolo "Il percorso") ===== */
/* Sezione 02 "Il percorso" più compatta: padding verticale ridotto (solo qui)
   e diagramma orbitale più piccolo, per non occupare troppa altezza. */
#gh-chapter-2 { padding-top: 96px; padding-bottom: 96px; }
.gh-orbital {
  max-width: 460px;
  margin: 40px auto 0;
}
.gh-orbital-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.gh-orbital-ring {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.gh-orbital-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--color-teal-light), var(--color-teal) 55%, var(--color-teal-dark));
  box-shadow: 0 0 40px rgba(62,200,190,.55);
  animation: gh-orbital-pulse 3s ease-in-out infinite;
}
@keyframes gh-orbital-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.gh-orbital-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.gh-orbital-node-dot {
  position: absolute;
  left: -24px;
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .3s, border-color .3s, box-shadow .3s;
}
.gh-orbital-node-dot:hover {
  border-color: var(--color-teal);
}
.gh-orbital-node.is-open .gh-orbital-node-dot {
  background: var(--color-teal);
  border-color: var(--color-teal);
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(62,200,190,.2);
}

.gh-orbital-node-label {
  position: absolute;
  top: 32px;
  left: -70px;
  width: 140px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color .3s;
  pointer-events: none;
}
.gh-orbital-node.is-open .gh-orbital-node-label { color: #fff; }

.gh-orbital-node-card {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 240px;
  background: rgba(26,31,36,.95);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 18px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gh-orbital-node.is-open .gh-orbital-node-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.gh-orbital-node-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.gh-orbital-node-card p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}

/* Touch o riduzione movimento: ferma solo il pulsare del nucleo centrale */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .gh-orbital-core { animation: none; }
}

@media (max-width: 680px) {
  .gh-orbital { margin-top: 40px; }
  .gh-orbital-stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .gh-orbital-ring, .gh-orbital-core { display: none; }
  .gh-orbital-node {
    position: static;
    width: 100%;
    height: auto; /* la base ha height:0 (layout circolare): senza reset i nodi collassano e si sovrappongono */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gh-orbital-node-dot { position: static; }
  .gh-orbital-node-label { position: static; width: auto; margin-top: 10px; }
  .gh-orbital-node-card {
    position: static;
    width: 100%;
    max-width: 340px;
    margin-top: 12px;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .gh-story-hook { padding: 70px 20px; min-height: 70vh; }
  .gh-chapter { padding: 72px 20px; }
  .gh-story-climax { padding: 80px 20px; }
}

/* ===== GALLERY4 — galleria a scorrimento (capitolo "Il posto") ===== */
.gh-gallery4-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.gh-gallery4-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.gh-gallery4-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.gh-gallery4-btn:hover { border-color: var(--color-teal-text); color: var(--color-teal-text); }
.gh-gallery4-btn:disabled { opacity: .35; cursor: default; }
.gh-gallery4-btn:disabled:hover { border-color: var(--color-border); color: var(--color-dark); }

.gh-gallery4 {
  max-width: 880px;
  margin: 0 auto;
}
.gh-gallery4-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 48px 16px 0;
  scrollbar-width: none;
}
.gh-gallery4-track::-webkit-scrollbar { display: none; }

.gh-gallery4-card {
  position: relative;
  flex: 0 0 auto;
  width: min(360px, 78vw);
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  display: block;
  color: #fff;
  text-decoration: none;
}
.gh-gallery4-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gh-gallery4-card:hover img { transform: scale(1.06); }
.gh-gallery4-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,15,18,.92) 0%, rgba(10,15,18,.4) 45%, transparent 75%);
}
.gh-gallery4-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px;
}
.gh-gallery4-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 8px;
}
.gh-gallery4-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.gh-gallery4-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-teal-light);
}
.gh-gallery4-more svg { transition: transform .2s; }
.gh-gallery4-card:hover .gh-gallery4-more svg { transform: translateX(4px); }

.gh-gallery4-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.gh-gallery4-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--color-border);
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.gh-gallery4-dot.is-active {
  background: var(--color-teal);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .gh-gallery4-nav { display: none; }
  .gh-gallery4-track { padding: 4px 20px 16px; }
}

/* ===== HERO SEDE — foto singola + testo a maschera trasparente ===== */
.gh-page-hero-img.gh-office-hero-full {
  height: 100vh;
  min-height: 620px;
}
.gh-office-hero-full .gh-page-hero-img-bg {
  filter: brightness(0.42) saturate(0.9);
}

.gh-office-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.15) 0%, rgba(17,17,17,.5) 65%, rgba(17,17,17,.8) 100%);
}

.gh-office-hero-mask-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gh-office-hero-mask-text {
  width: 100%;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(52px, 14vw, 220px);
  line-height: 0.9;
  white-space: nowrap;
  background-size: cover;
  background-position: center 40%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.35) saturate(1.15) contrast(1.05);
}

.gh-office-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.6);
  font-size: 20px;
  animation: gh-scroll-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@media (max-width: 900px) {
  .gh-office-hero-mask-text { font-size: clamp(40px, 16vw, 90px); }
}

@media (prefers-reduced-motion: reduce) {
  .gh-office-scroll-cue { animation: none; }
}

@media (max-width: 700px) {
  .gh-3d-gallery-fallback { grid-template-columns: repeat(2, 1fr); }
}

/* ===== TEAM (griglia membri per sede) ===== */
.gh-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gh-team-card { text-align: center; }
.gh-team-card-photo {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--color-border);
}
.gh-team-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.gh-team-card-name {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 17px;
  color: var(--color-dark);
}
.gh-team-card-role {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .gh-team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FOCUS CARDS (galleria foto sede, hover-focus) ===== */
.gh-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gh-focus-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  transition: filter .3s ease-out, transform .3s ease-out;
}
.gh-focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gh-focus-grid.has-hover .gh-focus-card:not(.is-hovered) {
  filter: blur(4px);
  transform: scale(0.98);
}
.gh-focus-card.is-hovered {
  transform: scale(1.02);
}
.gh-focus-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.gh-focus-card.is-hovered .gh-focus-card-overlay {
  opacity: 1;
}

@media (max-width: 900px) {
  .gh-focus-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gh-focus-card { height: 200px; }
}
@media (max-width: 500px) {
  .gh-focus-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-focus-card, .gh-focus-grid.has-hover .gh-focus-card:not(.is-hovered) {
    transition: none;
    filter: none;
    transform: none;
  }
}

/* ===== FOOTER ===== */
.gh-footer {
  background: var(--color-dark);
  padding: 32px 48px 20px;
}

.gh-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}

.gh-footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  max-width: 260px;
  line-height: 1.5;
  margin: 0;
}

.gh-footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: flex-end;
  max-width: 620px;
}
.gh-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color .2s;
  white-space: nowrap;
}
.gh-footer-links a:hover { color: var(--color-teal); }

.gh-footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ===== PAGE HERO — immagine con parallax (pagine interne) ===== */
.gh-page-hero-img {
  position: relative;
  height: 64vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--color-dark);
}
.gh-page-hero-img.gh-page-hero-short {
  height: 42vh;
  min-height: 320px;
}
.gh-page-hero-img-bg {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
}
/* Foto al 50% di opacità per un fondo più scuro e uniforme dietro al titolo
   (le pagine sede restano escluse: usano già il proprio trattamento dedicato). */
.gh-page-hero-img:not(.gh-office-hero-full) .gh-page-hero-img-bg {
  opacity: 0.5;
}
.gh-page-hero-img-overlay-b {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.4) 0%, rgba(17,17,17,.3) 40%, rgba(17,17,17,.9) 100%);
}
.gh-page-hero-img-overlay-t {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent 60%, rgba(17,17,17,.15) 100%);
}
.gh-page-hero-img-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px 56px;
  width: 100%;
  text-align: center;
}
/* Titolo H1 uniformato — sfumatura brand teal → blu, sostituisce il teal solido.
   drop-shadow (non box-shadow: serve un filtro, il testo è trasparente con background-clip)
   per garantire leggibilità anche sopra le zone più chiare della foto di sfondo.
   Foto di sfondo portata al 50% (vedi .gh-page-hero-img-bg) + sfumatura più
   chiara (--color-blue-light anziché --color-blue): coppia pensata per restare
   leggibile su qualunque foto, senza dover ritoccare caso per caso. */
.gh-page-hero-img-content .gh-page-title {
  background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-blue-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.55));
  margin-bottom: 14px;
}
.gh-page-hero-img-content .gh-section-desc {
  color: rgba(255,255,255,.9);
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* Titolo a doppio colore (teal + bianco via <em>), stesso trattamento di
   .gh-sedi-hero-title — usato solo dove serve uniformare all'hero "Le nostre
   sedi" (Posizioni aperte, Academy, Processo, Candidati), senza toccare la
   regola gradiente condivisa con job singolo / privacy policy. */
.gh-page-hero-img-content .gh-page-title.gh-page-title-duo {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--color-teal-light);
  -webkit-text-fill-color: var(--color-teal-light);
}
.gh-page-title-duo em {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.gh-page-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 96px);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  line-height: 1.0;
}

/* ===== CTA BAND ===== */
.gh-cta-band {
  background: var(--color-bg-soft);
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.gh-cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
}
.gh-cta-band h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.gh-cta-band p {
  color: var(--color-text-light);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ===== TIMELINE (processo-selezione) ===== */
.gh-timeline-section {
  padding: var(--section-padding);
}

/* ===== ROLLING LIST — step processo con rollo testo + anteprima foto (hover) ===== */
.gh-rolling-item {
  position: relative;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.gh-rolling-item:first-child { padding-top: 0; }

.gh-rolling-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gh-rolling-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  transition: color .3s ease, letter-spacing .3s ease;
}
.gh-rolling-item:hover .gh-rolling-title {
  color: var(--color-teal-text);
  letter-spacing: 0.02em;
}

.gh-rolling-num {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: opacity .3s ease;
}
.gh-rolling-item:hover .gh-rolling-num { opacity: 0; }

.gh-rolling-desc {
  margin-top: 12px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

.gh-rolling-image-reveal {
  position: absolute;
  right: 0;
  top: 50%;
  width: 180px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(-50%) translateX(16px) scale(.95) rotate(3deg);
  transition: opacity .5s ease, transform .5s ease;
  z-index: 5;
}
.gh-rolling-item:hover .gh-rolling-image-reveal {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1) rotate(0deg);
}
.gh-rolling-image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .5s ease;
}
.gh-rolling-item:hover .gh-rolling-image-reveal img { filter: grayscale(0); }

@media (max-width: 900px) {
  .gh-rolling-image-reveal { display: none; }
}

/* ===== GeneratePress overrides ===== */
.site-content { padding: 0 !important; }
.inside-article { padding: 0 !important; }
.entry-header { display: none !important; }
.generate-columns-container { margin: 0 !important; }

/* ===== MENU MOBILE ===== */
.gh-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  padding: 0;
  -webkit-tap-highlight-color: transparent; /* niente box scuro al tap su mobile */
  -webkit-appearance: none;
  appearance: none;
}
.gh-mobile-toggle:focus,
.gh-mobile-toggle:active,
.gh-mobile-toggle:focus-visible {
  background: transparent;
  outline: none;
  box-shadow: none;
}
.gh-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
  margin: 0 auto;
}
.site-header.gh-header-scrolled .gh-mobile-toggle span { background: var(--color-dark); }
.gh-mobile-toggle.is-open span { background: var(--color-dark); }
.gh-mobile-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gh-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.gh-mobile-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.gh-mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 88px 24px 40px; /* spazio in alto per la X, evita sovrapposizioni */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.gh-mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Con il menu aperto (sfondo bianco) mostra il logo BLU e il sottotitolo scuro,
   così restano leggibili anche in cima alla pagina (header trasparente). */
body.gh-menu-open .gh-logo-img.gh-logo-solid { display: block; }
body.gh-menu-open .gh-logo-img.gh-logo-transparent { display: none; }
body.gh-menu-open .gh-logo-sub { color: var(--color-text-light); }
.gh-mobile-nav a {
  font-family: var(--font-heading); font-size: 26px;
  font-weight: 500;
  color: var(--color-dark);
}
.gh-mobile-nav-cta {
  margin-top: 12px;
  padding: 12px 32px;
  border: 1.5px solid var(--color-teal-text);
  border-radius: var(--radius-pill);
  color: var(--color-teal-text) !important;
  font-family: var(--font-body) !important;
  font-style: normal !important;
  font-size: 15px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .gh-nav { display: none; }
  .gh-mobile-toggle { display: flex; }

  /* Hero: abbassa il contenuto (badge incluso) così non finisce sotto il logo dell'header */
  .gh-hero-v2-content { padding-top: 96px; padding-bottom: 48px; justify-content: center; }
  .gh-hero-v2-badge { margin-bottom: 22px; }

  .gh-stats-inner { grid-template-columns: 1fr; gap: 36px; }
  .gh-stats-inner > div + div::before { display: none; }

  .gh-jobs-inner, .gh-process-inner { padding: 0 20px; }

  .gh-job-card-head { padding: 18px 8px; gap: 14px; }
  .gh-job-monogram { width: 40px; height: 40px; font-size: 13px; }
  .gh-job-title { font-size: 18px; }
  .gh-job-tag { display: none; }
  .gh-single-job { padding: 0 20px; margin: 40px auto; }
  .gh-apply-box { padding: 32px 20px; }
  .gh-form { padding: 28px 20px; }
  .gh-form-row { grid-template-columns: 1fr; }
  .gh-footer { padding: 24px 20px 16px; }
  .gh-footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gh-footer-links { justify-content: flex-start; }
  .gh-footer-copy { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 900px) {
  .gh-cta-band { padding: 56px 20px; }

  .gh-page-hero-img { height: 52vh; min-height: 360px; }
  .gh-page-hero-img.gh-page-hero-short { height: 36vh; min-height: 260px; }
  .gh-page-hero-img-content { padding: 0 20px 40px; }
  .gh-story-hook { padding: 60px 20px; }
  .gh-chapter { padding: 56px 20px; }
  .gh-story-climax { padding: 64px 20px; }
}
/* ═══════════════════════════════════════════════════════════════════════
   MODIFICATORE MASCHERA — SEMPRE ULTIMO NEL FILE.
   Applica il taglio-a-maschera a un titolo che ha una foto di sfondo abbinata
   (richiede lo stesso url() in style="background-image:..." sull'elemento).
   Va tenuto qui in fondo per vincere sempre sulla cascata rispetto alle
   classi specifiche dei singoli titoli (.gh-page-title, .gh-hero-v2-title, ecc.)
   ═══════════════════════════════════════════════════════════════════════ */
.gh-mask-title {
  font-style: normal !important;
  background-size: cover;
  background-position: center 40%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.3) saturate(1.15) contrast(1.05);
}
.gh-mask-title em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  background: inherit;
  background-clip: inherit;
  -webkit-background-clip: inherit;
  -webkit-text-fill-color: inherit;
}

/* ===== BANNER CONSENSO COOKIE ===== */
.gh-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9000;
  background: var(--color-dark);
  color: rgba(255,255,255,.9);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 22px 24px;
  max-width: 1100px;
  margin: 0 auto;
  animation: gh-cookie-in .4s ease;
}
@keyframes gh-cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gh-cookie-inner { display: flex; flex-direction: column; gap: 16px; }
.gh-cookie-text strong { font-family: var(--font-heading); font-size: 16px; color: #fff; display: block; margin-bottom: 6px; }
.gh-cookie-text p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0; }
.gh-cookie-text a { color: var(--color-teal-light); text-decoration: underline; }
.gh-cookie-prefs { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 4px 0 2px; }
.gh-cookie-prefs label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.85); }
.gh-cookie-prefs em { color: rgba(255,255,255,.45); font-style: normal; }
.gh-cookie-prefs input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-teal); }
.gh-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.gh-cookie-btn {
  font-family: var(--font-accent);
  font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 8px; cursor: pointer;
  border: 1px solid transparent; transition: all .2s;
}
.gh-cookie-btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85); }
.gh-cookie-btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.gh-cookie-btn-solid { background: var(--color-teal); border-color: var(--color-teal); color: var(--color-dark); }
.gh-cookie-btn-solid:hover { background: var(--color-teal-light); border-color: var(--color-teal-light); }
@media (min-width: 860px) {
  .gh-cookie-inner { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .gh-cookie-text { flex: 1; }
  .gh-cookie-prefs { flex-basis: 100%; order: 3; }
  .gh-cookie-actions { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .gh-cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px 16px; }
  .gh-cookie-btn { flex: 1; text-align: center; padding: 11px 12px; }
}
/* l'attributo hidden deve avere la precedenza sulle regole display dei componenti cookie */
.gh-cookie-banner[hidden], .gh-cookie-prefs[hidden], .gh-cookie-btn[hidden] { display: none !important; }

/* ===== Floating button preferenze cookie (tutto il sito) ===== */
.gh-cookie-fab {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 8000;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-teal-light);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gh-cookie-fab:hover { transform: translateY(-2px) scale(1.05); background: var(--color-teal); color: var(--color-dark); }
.gh-cookie-fab[hidden] { display: none !important; }
@media (max-width: 480px) { .gh-cookie-fab { left: 12px; bottom: 12px; width: 40px; height: 40px; } }

/* Fascia numeri homepage a 4 colonne (uniformata con Perché GardaHaus) */
.gh-stats-4 .gh-stats-inner { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gh-stats-4 .gh-stats-inner { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 480px) { .gh-stats-4 .gh-stats-inner { grid-template-columns: 1fr; } }

/* X di chiusura del banner cookie (= rifiuta non necessari, GDPR-safe) */
.gh-cookie-close {
  position: absolute;
  top: 8px; right: 10px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 50%;
  color: rgba(255,255,255,.5); cursor: pointer;
  transition: color .2s ease, background .2s ease;
  z-index: 2;
}
.gh-cookie-close:hover { color: #fff; background: rgba(255,255,255,.12); }
/* su desktop la riga (con i pulsanti a destra) scende un po' per lasciare libero l'angolo della X */
@media (min-width: 860px) { .gh-cookie-banner { padding-top: 30px; } }

/* Copertina video: visibile a video fermo, dissolve in riproduzione (.is-playing dal JS) */
.gh-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity .4s ease;
  pointer-events: none;
}
.gh-hover-play-card.is-playing .gh-video-poster { opacity: 0; }
.gh-video-btn { z-index: 2; }

/* ===== ORGANIGRAMMA SEDE (Responsabile / Team) ===== */
.gh-org-group { margin-bottom: 40px; }
.gh-org-label {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-text);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
/* Responsabile: card a larghezza fissa (di solito 1-2 persone), non stirata */
.gh-team-grid-lead { grid-template-columns: repeat(auto-fit, 200px); }
.gh-team-grid-lead .gh-team-card-name { font-size: 17px; }
@media (max-width: 560px) { .gh-team-grid-lead { grid-template-columns: 1fr; } }
