:root {
  --green-dark: #19393b;           /* verde brand richiesto da Rocco */
  --green-mid: #245456;             /* verde leggermente più chiaro per gradienti */
  --green-deeper: #0F2728;          /* per ombre profonde */
  --green-text: #19393b;
  --gold: #D4AC4A;                  /* oro lucido */
  --gold-light: #E8C875;
  --gold-deep: #B8923A;
  --cream: #FAF7F0;
  --cream-warm: #F3ECDB;
  --white: #FFFFFF;
  --text-muted: #5C6B65;
  --border-soft: rgba(25, 57, 59, 0.14);
  --gold-gradient: linear-gradient(135deg, #E8C875 0%, #D4AC4A 50%, #B8923A 100%);
  --green-gradient: linear-gradient(135deg, #245456 0%, #19393b 50%, #0F2728 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--green-text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5 {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.8rem); font-weight: 500; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 500; }

p { margin-bottom: 1rem; color: var(--green-text); }

a { color: var(--green-dark); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--gold); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gold-text { color: var(--gold); font-weight: 500; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(248, 244, 237, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-weight: 700;
  font-size: 1.95rem;
  color: var(--green-dark);
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.logo-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-mark {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.logo-mark-large {
  width: 96px; height: 96px;
}

.logo-text-small {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-text);
  letter-spacing: 0.02em;
  position: relative;
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after { width: 100%; }

.btn-nav {
  background: var(--green-dark);
  color: var(--cream) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
}
.btn-nav:hover { background: var(--gold); color: var(--white) !important; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--green-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { padding-left: 0; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  position: relative;
  line-height: 1.7;
}
.hero-eyebrow::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gold-gradient);
}
.hero-eyebrow-sub {
  font-size: 0.86em;
  letter-spacing: 0.16em;
  font-weight: 500;
  display: inline-block;
  margin-top: 0.15rem;
}

.hero h1 {
  margin-bottom: 1.8rem;
}
.hero h1 .accent {
  color: var(--gold);
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--green-gradient);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(27, 107, 79, 0.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover {
  background: var(--gold-gradient);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 172, 74, 0.4);
}
.btn-primary:hover::before { left: 100%; }

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid var(--green-dark);
}
.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--cream);
}

.btn-arrow { font-size: 1.2rem; line-height: 1; }

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  background: var(--green-gradient);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(14, 61, 45, 0.3), 0 0 0 1px rgba(212, 172, 74, 0.15);
}

.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  text-align: center;
  padding: 2rem;
}

.placeholder-initials {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 8rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.placeholder-note {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 500;
}

.hero-image-frame {
  position: absolute;
  top: 25px; right: -25px;
  bottom: -25px; left: 25px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* ============ SECTIONS COMMON ============ */
section { padding: 3.5rem 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.section-title .accent {
  color: var(--gold);
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  max-width: 720px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}

/* ============ ABOUT ============ */
.about {
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.5rem 0;
  border-top: 1px solid var(--gold);
}

.stat-number {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 2.8rem;
  font-weight: 500;
  background: var(--green-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.about-text p { margin-bottom: 1.4rem; font-size: 1.05rem; }

.about-quote {
  margin-top: 1.8rem;
  padding: 1.4rem 1.6rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.5;
}

/* ============ SERVIZI ============ */
.servizi { background: var(--cream); }

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.servizio-card {
  background: var(--white);
  padding: 2.8rem 2.5rem;
  border-radius: 3px;
  border: 1px solid var(--border-soft);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.servizio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.servizio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 48, 37, 0.1);
}
.servizio-card:hover::before { width: 100%; }

.servizio-num {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.servizio-card h3 {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.servizio-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.servizio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  font-size: 0.78rem;
  color: var(--green-dark);
  font-weight: 500;
}

/* ============ APPROCCIO ============ */
.approccio {
  background: var(--green-dark);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.approccio::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 153, 90, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.approccio .section-title { color: var(--cream); }
.approccio .section-eyebrow { color: var(--gold-light); }
.approccio .section-intro { color: rgba(248, 244, 237, 0.75); }

.passi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.passo {
  text-align: left;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(184, 153, 90, 0.4);
}

.passo-num {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  font-style: italic;
}

.passo h4 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.passo p {
  color: rgba(248, 244, 237, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ============ RECRUITING ============ */
.recruiting { background: var(--cream-warm); }

.recruiting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.recruiting-visual {
  background: var(--white);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  position: relative;
}

.recruiting-visual::before {
  content: '';
  position: absolute;
  top: 15px; right: -15px;
  bottom: -15px; left: 15px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.benefit:last-child { border-bottom: none; }

.benefit-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.benefit-text strong {
  display: block;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.benefit-text span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.recruiting-cta { margin-top: 2rem; }

/* ============ QUALIFICHE ============ */
.qualifiche { background: var(--white); }

.qualifiche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.qualifica-card {
  background: var(--cream);
  padding: 1.1rem 0.55rem;
  text-align: center;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  transition: all 0.35s ease;
}

.qualifica-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 107, 79, 0.12);
  border-color: var(--gold);
}

.qualifica-mark {
  width: 90px; height: 90px;
  margin: 0 auto 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qualifica-mark svg,
.qualifica-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.qualifica-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--green-dark);
  line-height: 1.3;
}

.qualifica-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ============ MEDIA & EVENTI ============ */
.media { background: var(--white); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.media-card {
  margin: 0;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.4s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(25, 57, 59, 0.15);
  border-color: var(--gold);
}

.media-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-gradient);
  position: relative;
}
.media-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.6s ease;
  display: block;
}
.media-card:hover .media-image img { transform: scale(1.04); }

.media-image.placeholder::after {
  content: 'Foto in arrivo';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.media-image.placeholder img { display: none; }

.media-card figcaption {
  padding: 1.4rem 1.6rem 1.6rem;
}
.media-card figcaption strong {
  display: block;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.media-card figcaption span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ============ FAQ ============ */
.faq { background: var(--cream-warm); }

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(25, 57, 59, 0.08);
}

.faq-item summary {
  padding: 1.4rem 1.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green-dark);
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-family: 'Gilroy', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.8rem 1.6rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.97rem;
}
.faq-answer p { margin: 0; }

@media (max-width: 540px) {
  .faq-item summary { font-size: 0.95rem; padding: 1.2rem 1.4rem; }
  .faq-answer { padding: 0 1.4rem 1.4rem; font-size: 0.92rem; }
}

/* ============ CONTATTI ============ */
.contatti { background: var(--cream); }

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contatti-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-text a, .contact-text span {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-text a:hover { color: var(--gold); }

.calendly-banner {
  margin-top: 2rem;
  padding: 1.8rem;
  background: var(--green-dark);
  color: var(--cream);
  border-radius: 4px;
  text-align: center;
}

.calendly-banner h4 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.calendly-banner p {
  color: rgba(248, 244, 237, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.calendly-banner .btn { background: var(--gold); color: var(--green-dark); }
.calendly-banner .btn:hover { background: var(--cream); }

/* form */
.form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 40px rgba(20, 48, 37, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 0.95rem;
  color: var(--green-text);
  background: var(--cream);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 153, 90, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 1.2rem 0 1.5rem;
}

.form-consent input { width: auto; margin-top: 0.2rem; }

#form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--green-dark);
  color: var(--cream);
  border-radius: 2px;
  font-size: 0.9rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--green-deeper);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(248, 244, 237, 0.7);
  font-size: 0.92rem;
  max-width: 360px;
  margin-top: 1rem;
}

.footer-col h5 {
  font-family: 'Gilroy', 'Manrope', 'Century Gothic', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(248, 244, 237, 0.75);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(184, 153, 90, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(248, 244, 237, 0.6);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer {
  margin-top: 1rem;
  color: rgba(248, 244, 237, 0.5);
  font-size: 0.78rem;
  line-height: 1.5;
  max-width: 800px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 7rem 0 4rem; }
  .hero-grid,
  .about-grid,
  .recruiting-grid,
  .contatti-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-image { max-width: 360px; margin: 0 auto; }
  .servizi-grid { grid-template-columns: 1fr; }
  .qualifiche-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr; }

  .passi { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 1rem 1.5rem; }

  .form-card { padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .passi { grid-template-columns: 1fr; }
  .qualifiche-grid { grid-template-columns: 1fr; }
  .placeholder-initials { font-size: 5.5rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .btn { padding: 0.85rem 1.5rem; font-size: 0.85rem; }
  .logo { font-size: 1.25rem; gap: 0.6rem; }
  .logo-mark { width: 48px; height: 48px; }
  .logo-text-small { font-size: 0.5rem; letter-spacing: 0.1em; }
}

/* fade in animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============ BACK TO TOP BUTTON ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 52px;
  height: 52px;
  background: var(--green-gradient);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(25, 57, 59, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 999;
  font-family: inherit;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-gradient);
  color: var(--green-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 540px) {
  .back-to-top {
    bottom: 1.2rem;
    left: 1.2rem;
    width: 46px;
    height: 46px;
  }
}

/* ============ PAGE HEADER (per pagine interne come FAQ) ============ */
.page-header {
  padding: 9rem 0 4rem;
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border-soft);
}

.page-header h1 {
  margin: 1rem 0 1.5rem;
  max-width: 780px;
}

.page-header .accent {
  color: var(--gold);
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--green-dark); }

.breadcrumb span:not(:last-child) {
  color: var(--text-muted);
  opacity: 0.5;
}

/* link FAQ "active" nel nav (quando si è sulla pagina FAQ) */
.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
}
.nav-links a.active::after {
  width: 100% !important;
}

/* ============ FAQ CTA finale ============ */
.faq-cta {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--green-gradient);
  color: var(--cream);
  border-radius: 4px;
  text-align: center;
}

.faq-cta h2 {
  color: var(--cream);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 0.8rem;
}

.faq-cta p {
  color: rgba(248, 244, 237, 0.85);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta .btn-secondary {
  border-color: var(--cream);
  color: var(--cream);
}
.faq-cta .btn-secondary:hover {
  background: var(--cream);
  color: var(--green-dark);
}

@media (max-width: 540px) {
  .page-header { padding: 7rem 0 3rem; }
  .faq-cta { padding: 2rem 1.5rem; }
  .faq-cta .btn-row { flex-direction: column; align-items: stretch; }
}

/* ============ BLOG INDEX & ARTICLES ============ */

/* Griglia articoli sulla pagina blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(25, 57, 59, 0.12);
  border-color: var(--gold);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--green-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.blog-card-image .topic-icon {
  font-family: 'Gilroy', 'Manrope', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  opacity: 0.65;
  letter-spacing: -0.04em;
}

.blog-card-image .topic-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(250, 247, 240, 0.95);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}

.blog-card-body {
  padding: 1.8rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--green-dark);
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-top: auto;
}
.blog-card-cta:hover { color: var(--green-dark); }

/* ============ ARTICLE PAGE ============ */
.article {
  padding: 7rem 0 6rem;
  background: var(--white);
}

.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.article-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}

.article-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-meta .topic-pill {
  background: var(--gold-gradient);
  color: var(--green-deeper);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.article h1 {
  margin-bottom: 1.2rem;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--green-dark);
  font-weight: 500;
  font-style: normal;
  border-left: 3px solid var(--gold);
  padding-left: 1.4rem;
  margin: 2rem 0;
}

.article-body h2 {
  margin: 3rem 0 1.2rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--green-dark);
}

.article-body h3 {
  margin: 2rem 0 1rem;
  font-size: 1.25rem;
  color: var(--green-dark);
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
  color: var(--green-text);
}

.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0.6rem;
  color: var(--green-text);
}

.article-body strong { color: var(--green-dark); }

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.55;
}

.article-author {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--cream-warm);
  border-radius: 4px;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.article-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-gradient);
  flex-shrink: 0;
  overflow: hidden;
}
.article-author-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.article-author-info h4 {
  margin: 0 0 0.3rem;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.article-author-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.article-cta {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--green-gradient);
  color: var(--cream);
  border-radius: 4px;
  text-align: center;
}

.article-cta h3 {
  color: var(--cream);
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}
.article-cta p {
  color: rgba(248, 244, 237, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* Articoli correlati */
.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-soft);
}

.related-articles h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.related-card {
  display: block;
  padding: 1.4rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.related-card:hover {
  border-color: var(--gold);
  background: var(--cream-warm);
}

.related-card .topic {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.related-card h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--green-dark);
  line-height: 1.4;
}

@media (max-width: 740px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-author { flex-direction: column; text-align: center; }
  .article-container { padding: 0 1.5rem; }
}

/* Immagine cover dentro blog-card-image (override del .topic-icon) */
.blog-card-image img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-image .topic-tag {
  z-index: 2;
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  background: #1ebe57;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ============ WHATSAPP POPUP WIDGET ============ */
.wa-popup {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 320px;
  max-width: calc(100vw - 3rem);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-popup.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-popup-header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #ffffff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wa-popup-header-title {
  font-weight: 600;
  font-size: 0.95rem;
}
.wa-popup-header-title small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 1px;
}
.wa-popup-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.wa-popup-close:hover { opacity: 1; }

.wa-popup-body {
  padding: 22px 18px 20px;
  background: #ECE5DD;
  background-image: linear-gradient(180deg, rgba(236,229,221,0.85) 0%, rgba(236,229,221,0.98) 100%);
  min-height: 190px;
}
.wa-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ffffff;
}
.wa-bubble {
  background: #ffffff;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 13px 8px;
  max-width: 220px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
}
.wa-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid #ffffff;
  border-left: 6px solid transparent;
}
.wa-name {
  font-weight: 600;
  color: #128C7E;
  font-size: 0.85rem;
  line-height: 1.2;
}
.wa-role {
  font-size: 0.7rem;
  color: #667781;
  margin-top: 1px;
}
.wa-text {
  color: #303030;
  font-size: 0.92rem;
  line-height: 1.4;
  margin: 6px 0 3px;
}
.wa-time {
  font-size: 0.68rem;
  color: #999;
  text-align: right;
  margin-top: 2px;
}
.wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.wa-cta:hover { background: #1ebe57; transform: translateY(-1px); }
.wa-cta svg { width: 18px; height: 18px; fill: #ffffff; }

@media (max-width: 540px) {
  .wa-popup {
    bottom: 5rem;
    right: 1rem;
    width: calc(100vw - 2rem);
  }
}

/* ============ SHARE BAR (Blog Articles) ============ */
.share-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 24px 30px;
  background: #faf7f0;
  border-radius: 12px;
  margin: 2rem 0;
  flex-wrap: wrap;
  border-left: 4px solid #B8995A;
}
.share-bar-label {
  font-size: 0.92rem;
  color: #19393b;
  font-weight: 600;
  letter-spacing: 0.2px;
  flex-shrink: 0;
}
.share-buttons {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  padding: 0;
}
.share-btn svg { width: 19px; height: 19px; fill: #ffffff; }
.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.share-linkedin { background: #0A66C2; }
.share-facebook { background: #1877F2; }
.share-whatsapp { background: #25D366; }
.share-twitter { background: #000000; }
.share-email { background: #B8995A; }
.share-copy { background: #19393b; }

.share-btn.copied::after {
  content: "Copiato ✓";
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: #19393b;
  color: #ffffff;
  padding: 5px 11px;
  border-radius: 5px;
  font-size: 0.72rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.3px;
  animation: fade-copied 0.25s ease;
}
@keyframes fade-copied {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 540px) {
  .share-bar { padding: 20px 22px; gap: 0.9rem; }
  .share-bar-label { font-size: 0.88rem; width: 100%; }
  .share-btn { width: 40px; height: 40px; }
}

@media (max-width: 540px) {
  .whatsapp-btn {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-btn svg { width: 24px; height: 24px; }
}

/* ============ FLOATING TEST BUTTON (Lead Magnet) — Top Right ============ */
.test-float-btn {
  position: fixed;
  top: 100px;
  right: 2rem;
  padding: 11px 22px 11px 18px;
  background: linear-gradient(135deg, #faf7f0 0%, #ffffff 100%);
  color: #19393b;
  border: 1.5px solid #B8995A;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(25, 57, 59, 0.15);
  z-index: 998;
  transition: all 0.28s ease;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-family: inherit;
}

.test-float-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #B8995A;
  stroke-width: 2;
  fill: none;
  transition: transform 0.28s ease;
}

.test-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 153, 90, 0.35);
  border-color: #19393b;
  background: linear-gradient(135deg, #ffffff 0%, #faf7f0 100%);
}

.test-float-btn:hover svg {
  transform: translateX(3px);
  stroke: #19393b;
}

.test-float-arrow {
  font-size: 1rem;
  color: #B8995A;
  transition: transform 0.28s ease;
}

.test-float-btn:hover .test-float-arrow {
  transform: translateX(3px);
  color: #19393b;
}

/* Tooltip domanda: sotto il pulsante, appare al hover */
.test-float-question {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #19393b;
  color: #faf7f0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.test-float-question::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #19393b;
}
.test-float-btn:hover .test-float-question {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .test-float-btn {
    top: 90px;
    right: 1rem;
    padding: 9px 18px 9px 15px;
    font-size: 0.82rem;
    gap: 7px;
  }
  .test-float-btn svg { width: 17px; height: 17px; }
  .test-float-question { font-size: 0.78rem; padding: 8px 13px; }
}

@media (max-width: 540px) {
  .test-float-btn {
    top: 82px;
    right: 0.8rem;
    padding: 8px 14px 8px 12px;
    font-size: 0.78rem;
  }
  .test-float-btn svg { width: 15px; height: 15px; }
  .test-float-question { display: none; }
}

/* ============ HOMEPAGE TEASER OPPORTUNITA ============ */
.opportunita-teaser {
  background: var(--cream-warm);
  padding: 4rem 0;
  text-align: center;
}

.opportunita-teaser .teaser-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(25, 57, 59, 0.08);
}

.opportunita-teaser h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
}

.opportunita-teaser p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}


/* ============ COOKIE BANNER GDPR ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green-dark);
  color: var(--cream);
  padding: 1.5rem 2rem;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 2px solid var(--gold);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text h4 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cookie-banner-text p {
  color: rgba(248, 244, 237, 0.85);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner-actions button {
  padding: 0.7rem 1.4rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border-radius: 2px;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--gold-gradient);
  color: var(--green-dark);
}
.cookie-btn-accept:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(212,172,74,0.4); }

.cookie-btn-necessary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream) !important;
}
.cookie-btn-necessary:hover { background: var(--cream); color: var(--green-dark); }

.cookie-btn-settings {
  background: transparent;
  color: rgba(248,244,237,0.7);
  text-decoration: underline;
  padding: 0.5rem 0.8rem !important;
  text-transform: none !important;
  font-weight: 400 !important;
}

@media (max-width: 740px) {
  .cookie-banner { padding: 1.2rem 1rem; }
  .cookie-banner-inner { gap: 1rem; }
  .cookie-banner-actions { width: 100%; justify-content: stretch; }
  .cookie-banner-actions button { flex: 1; min-width: 110px; }
  .cookie-btn-settings { flex-basis: 100% !important; text-align: center; }
}

/* ============ PAGINE LEGALI (privacy / cookie policy) ============ */
.legal-page {
  padding: 7rem 0 6rem;
  background: var(--white);
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}
.legal-page h1 {
  margin-bottom: 1rem;
}
.legal-page .legal-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.legal-page h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
  color: var(--green-dark);
}
.legal-page h3 {
  margin: 1.8rem 0 0.8rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}
.legal-page p, .legal-page li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--green-text);
  margin-bottom: 0.8rem;
}
.legal-page ul, .legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.legal-page table th, .legal-page table td {
  padding: 0.8rem;
  border: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: top;
}
.legal-page table th {
  background: var(--cream);
  color: var(--green-dark);
  font-weight: 600;
}
.legal-page strong { color: var(--green-dark); }
