/* =============================================
   TALENVIAX DIGITAL — CUSTOM CSS
   Organic Shapes Design System
   ============================================= */


:root {
  --color-bg: #f7f4ef;
  --color-surface: #f7f4ef;
  --color-surface-alt: #eef0e8;
  --color-surface-raised: #ffffff;
  --color-primary: #2d5a27;
  --color-primary-light: #3d7a35;
  --color-primary-dark: #1e3d1b;
  --color-secondary: #8b6914;
  --color-accent-warm: #d4845a;
  --color-accent-green: #5a8a4a;
  --color-accent-blue: #4a6e8a;
  --color-text: #1c2419;
  --color-text-muted: #5a6355;
  --color-text-light: #8a9485;
  --color-border: #d8d4cc;

  --accent-warm: #d4845a;
  --accent-green: #5a8a4a;
  --accent-blue: #4a6e8a;
  --surface-alt: var(--color-surface-alt);
  --surface-raised: var(--color-surface-raised);

  --shadow-sm: 0 1px 3px rgba(44,70,38,0.08), 0 1px 2px rgba(44,70,38,0.06);
  --shadow-md: 0 4px 12px rgba(44,70,38,0.10), 0 2px 4px rgba(44,70,38,0.07);
  --shadow-lg: 0 8px 30px rgba(44,70,38,0.12), 0 4px 10px rgba(44,70,38,0.08), 0 1px 3px rgba(44,70,38,0.05);
  --shadow-xl: 0 20px 60px rgba(44,70,38,0.15), 0 8px 20px rgba(44,70,38,0.10), 0 2px 6px rgba(44,70,38,0.06);
  --shadow-hover: 0 16px 48px rgba(44,70,38,0.18), 0 6px 16px rgba(44,70,38,0.12), 0 2px 5px rgba(44,70,38,0.07);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-blob: 60% 40% 55% 45% / 45% 55% 45% 55%;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.5rem);
  --space-xl: clamp(2rem, 5vw, 4rem);
  --space-2xl: clamp(3rem, 8vw, 7rem);

  --header-h: 72px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Urbanist', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }


.text-display {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.text-body {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.text-caption {
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  line-height: 1.5;
  color: var(--color-text-light);
}


.surface { background-color: var(--color-surface); }
.surface-alt { background-color: var(--color-surface-alt); }
.surface-raised { background-color: var(--color-surface-raised); }
.surface-inset { background-color: rgba(44,70,38,0.04); }


.space-section { padding: var(--space-2xl) 0; }
.space-card { padding: var(--space-lg); }


.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}


.action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  white-space: nowrap;
}

.action-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: #fff;
}

.action-primary:active { transform: translateY(0); }

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  background: transparent;
  color: var(--color-primary);
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.action-ghost:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 55ch;
  line-height: 1.7;
}

.section-header {
  margin-bottom: var(--space-xl);
}

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,70,38,0.08);
  height: var(--header-h);
  transition: transform var(--transition), opacity var(--transition);
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 36px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 100px;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.08);
}

.header-cta {
  margin-left: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.88rem;
}


.mini-nav {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateY(-8px);
}

.mini-nav.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mini-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.mini-nav-btn:hover {
  background: var(--color-primary-light);
  transform: scale(1.04);
}

.mini-nav-logo { font-size: 0.85rem; }


.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 36, 25, 0.45);
  z-index: 950;
  opacity: 0;
  transition: opacity var(--transition);
  backdrop-filter: blur(2px);
}

.mobile-overlay.active { opacity: 1; }

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: var(--color-surface-raised);
  z-index: 960;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.mobile-panel.active { transform: translateX(0); }

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-close:hover { background: var(--color-surface-alt); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  opacity: 0;
  transform: translateX(-16px);
}

.mobile-panel.active .mobile-nav-link {
  animation: slideInLeft 0.35s forwards;
  animation-delay: calc(var(--i) * 0.06s + 0.1s);
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.mobile-nav-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-primary);
}

.mobile-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: var(--radius-blob);
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-blob--1 {
  width: clamp(300px, 45vw, 600px);
  height: clamp(300px, 45vw, 600px);
  background: radial-gradient(ellipse, rgba(90, 138, 74, 0.5), transparent 70%);
  top: -10%;
  left: -10%;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob--2 {
  width: clamp(250px, 40vw, 500px);
  height: clamp(250px, 40vw, 500px);
  background: radial-gradient(ellipse, rgba(212, 132, 90, 0.4), transparent 70%);
  top: 30%;
  right: -8%;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

.hero-blob--3 {
  width: clamp(200px, 30vw, 400px);
  height: clamp(200px, 30vw, 400px);
  background: radial-gradient(ellipse, rgba(74, 110, 138, 0.35), transparent 70%);
  bottom: 10%;
  left: 25%;
  animation: blobFloat 18s ease-in-out infinite 3s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-10px, 20px) scale(0.97); }
}

.hero-badge {
  position: absolute;
  background: var(--color-surface-raised);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
  white-space: nowrap;
}

.hero-badge i { color: var(--color-accent-warm); font-size: 0.75rem; }

.hero-badge--tl { top: clamp(90px, 14vw, 140px); left: clamp(1rem, 5vw, 8rem); }
.hero-badge--tr { top: clamp(90px, 14vw, 140px); right: clamp(1rem, 5vw, 8rem); }
.hero-badge--bl { bottom: clamp(5rem, 10vw, 9rem); left: clamp(1rem, 5vw, 8rem); }
.hero-badge--br { bottom: clamp(5rem, 10vw, 9rem); right: clamp(1rem, 5vw, 8rem); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  margin-bottom: 1.2rem;
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-subtitle {
  max-width: 58ch;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  margin-top: var(--space-xl);
  width: min(100%, 860px);
}

.hero-image-blob {
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img {
  width: 100%;
  height: clamp(280px, 40vw, 480px);
  object-fit: cover;
  display: block;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: auto; display: block; }

/* =============================================
   INTRO STRIP
   ============================================= */
.intro-strip { padding: var(--space-lg) 0; }

.intro-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.intro-strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.intro-strip-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.intro-strip-divider {
  width: 1px;
  height: 24px;
  background: var(--color-border);
}

/* =============================================
   BLOB ACCENTS
   ============================================= */
.blob-accent {
  position: absolute;
  border-radius: 70% 30% 60% 40% / 40% 60% 40% 60%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.blob-accent--left {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: 10%;
  left: -120px;
  filter: blur(80px);
}

.blob-accent--right {
  width: 350px;
  height: 350px;
  background: var(--color-accent-warm);
  top: 20%;
  right: -100px;
  filter: blur(80px);
}

.blob-accent--center {
  width: 500px;
  height: 300px;
  background: var(--color-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  opacity: 0.1;
}

/* =============================================
   PROCESS SECTION
   ============================================= */
.come-funziona { position: relative; overflow: hidden; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.process-card {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-warm));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.process-icon {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.process-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.process-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =============================================
   HORIZONTAL SCROLL SECTION
   ============================================= */
.valutazione-section { position: relative; overflow: hidden; }

.h-scroll-track-wrap {
  position: relative;
  margin-top: var(--space-lg);
}

.h-scroll-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-sm) clamp(1rem, 4vw, 2.5rem) var(--space-lg);
  scrollbar-width: none;
  cursor: grab;
}

.h-scroll-track:active { cursor: grabbing; }
.h-scroll-track::-webkit-scrollbar { display: none; }

.h-scroll-card {
  flex: 0 0 clamp(280px, 36vw, 360px);
  scroll-snap-align: start;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.h-scroll-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.h-scroll-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-color) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--card-color, var(--color-primary));
  margin-bottom: var(--space-md);
}

.h-scroll-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: var(--color-text);
}

.h-scroll-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.h-scroll-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.h-scroll-points li {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.h-scroll-points li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.h-scroll-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.h-scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.h-scroll-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}

/* =============================================
   REPORT SECTION
   ============================================= */
.report-section { position: relative; overflow: hidden; }

.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.report-text .section-title { margin-bottom: 1rem; }

.report-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
}

.report-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.report-feature i {
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.report-visual { position: relative; }

.report-mockup {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--space-md);
}

.report-mockup-header {
  background: var(--color-primary);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.report-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.report-mockup-header span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-left: 0.5rem;
}

.report-mockup-body { padding: 1.5rem; }

.score-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
}

.score-row > span:first-child { font-weight: 500; color: var(--color-text); }

.score-bar {
  height: 8px;
  background: var(--color-surface-alt);
  border-radius: 100px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  width: var(--score);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-val {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.85rem;
  text-align: right;
}

.report-mockup-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.8rem;
}

.report-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* =============================================
   PER CHI E' SECTION
   ============================================= */
.perchi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.perchi-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.perchi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.perchi-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.perchi-card:hover .perchi-img { transform: scale(1.04); }

.perchi-body {
  padding: var(--space-md);
}

.perchi-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.perchi-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blog-section { position: relative; overflow: hidden; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.blog-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-img-wrap { overflow: hidden; }

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img { transform: scale(1.04); }

.blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-warm);
  background: rgba(212, 132, 90, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.7rem;
}

.blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.blog-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.blog-read-more {
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.blog-cta-row {
  text-align: center;
  margin-top: var(--space-lg);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent-green) 100%);
  padding: var(--space-2xl) 0;
}

.cta-blob {
  position: absolute;
  border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  pointer-events: none;
  opacity: 0.15;
}

.cta-blob--1 {
  width: 500px;
  height: 400px;
  background: rgba(255,255,255,0.3);
  top: -100px;
  left: -100px;
  filter: blur(60px);
}

.cta-blob--2 {
  width: 400px;
  height: 300px;
  background: rgba(255,255,255,0.2);
  bottom: -80px;
  right: -80px;
  filter: blur(60px);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255,255,255,0.8);
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.cta-btn {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-btn:hover {
  background: rgba(255,255,255,0.92);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 36, 25, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal-panel {
  position: relative;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--color-surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.modal-close:hover { background: var(--color-border); }

.modal-panel h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin: 0.8rem 0 1rem;
  line-height: 1.2;
  color: var(--color-text);
}

.modal-panel p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  position: relative;
  margin-top: auto;
}

.footer-wave {
  line-height: 0;
  margin-bottom: -2px;
}

.footer-wave svg { width: 100%; height: auto; display: block; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl) clamp(1rem, 4vw, 2.5rem);
}

.footer-card {
  background: rgba(44,70,38,0.04);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.footer-logo { margin-bottom: 0.8rem; }

.footer-desc {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

.footer-card nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
  padding: 0.2rem 0;
}

.footer-link:hover { color: var(--color-primary); }

.footer-contact-item {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--color-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-contact-item a:hover { color: var(--color-primary); }

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.footer-bottom {
  padding: 1.2rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero-title {
  margin-bottom: 1rem;
}

.page-hero-sub {
  max-width: 58ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

/* =============================================
   DA DOVE VENIAMO PAGE
   ============================================= */
.story-section { overflow: hidden; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.story-text .section-title { margin-bottom: 1rem; }
.story-text .text-body { margin-bottom: 1rem; }

.story-img-wrap { position: relative; }

.story-img-blob {
  border-radius: 50% 40% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-img-blob img {
  width: 100%;
  height: clamp(300px, 40vw, 480px);
  object-fit: cover;
}

.values-section { position: relative; overflow: hidden; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 52px;
  height: 52px;
  background: rgba(45, 90, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.approach-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: clamp(300px, 40vw, 460px);
  object-fit: cover;
}

.approach-text .text-body { margin-bottom: 1rem; }
.approach-text .action-primary { margin-top: 0.5rem; }

/* =============================================
   LIVELLI PAGE
   ============================================= */
.livelli-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.livello-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.livello-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
}

.livello-badge {
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 0.3rem;
}

.livello-base { background: rgba(90, 138, 74, 0.15); color: var(--color-accent-green); }
.livello-medio { background: rgba(212, 132, 90, 0.15); color: var(--color-accent-warm); }
.livello-avanzato { background: rgba(74, 110, 138, 0.15); color: var(--color-accent-blue); }
.livello-multiplo { background: rgba(45, 90, 39, 0.15); color: var(--color-primary); }

.livello-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.livello-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.livello-covers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.livello-covers span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  background: var(--color-surface-alt);
  border-radius: 100px;
  color: var(--color-text-muted);
}

.griglia-section { position: relative; overflow: hidden; }

.griglia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.griglia-item {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-raised);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.griglia-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.griglia-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.griglia-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.griglia-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =============================================
   RISORSE PAGE
   ============================================= */
.risorse-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.risorse-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-md);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}

.risorse-card:hover { box-shadow: var(--shadow-hover); }

.risorse-img-wrap { overflow: hidden; }

.risorse-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.risorse-card:hover .risorse-img { transform: scale(1.04); }

.risorse-body {
  padding: var(--space-lg);
}

.risorse-body h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0.6rem 0 0.8rem;
  color: var(--color-text);
}

.risorse-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info .section-title { margin-bottom: 1.5rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(45, 90, 39, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-detail a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-detail a:hover { color: var(--color-primary); }

.contact-form-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-card .section-title { margin-bottom: 0.5rem; }
.contact-form-card .text-body { margin-bottom: 1.5rem; }

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

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-label span { color: var(--color-accent-warm); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  min-height: 44px;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

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

.form-privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  cursor: pointer;
  flex: 1;
  min-width: 200px;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-privacy-label a { color: var(--color-primary); }

.form-note {
  margin-top: 0.8rem;
  font-size: 0.78rem;
}

.booking-section { position: relative; overflow: hidden; }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.booking-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.booking-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.booking-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--color-text);
}

.booking-step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.booking-img-blob {
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.booking-img-blob img {
  width: 100%;
  height: clamp(280px, 38vw, 440px);
  object-fit: cover;
}

/* =============================================
   THANKS PAGE
   ============================================= */
.thanks-body { background: var(--color-surface); }

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 80px);
  padding: 2rem;
}

.thanks-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.thanks-dot {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: dotGrow 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: scale(0);
}

@keyframes dotGrow {
  0% { opacity: 0; transform: scale(0); }
  60% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

.thanks-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.9s;
}

.thanks-link {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards 1.5s;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

.thanks-link:hover { border-color: var(--color-primary); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.legal-nav {
  background: var(--color-surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.legal-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  margin-bottom: 0.8rem;
}

.legal-nav-link {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 0.1rem;
  line-height: 1.4;
}

.legal-nav-link:hover {
  color: var(--color-primary);
  background: rgba(45, 90, 39, 0.07);
}

.legal-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--color-border);
}

.legal-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.legal-header p:last-child {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-section {
  margin-bottom: var(--space-xl);
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.legal-section h2, .legal-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal-section p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.legal-section a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =============================================
   COOKIE CONSENT
   ============================================= */
#tvx-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(480px, calc(100vw - 2rem));
  background: var(--color-surface-raised);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.4rem 1.6rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-border);
}

#tvx-cookie-banner.expanded {
  width: min(560px, calc(100vw - 2rem));
  padding: 1.8rem;
}

.tvx-cookie-compact { display: flex; flex-direction: column; gap: 1rem; }

.tvx-cookie-compact p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.tvx-cookie-compact p a { color: var(--color-primary); }

.tvx-cookie-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tvx-btn-accept {
  padding: 0.6rem 1.3rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tvx-btn-accept:hover { background: var(--color-primary-light); }

.tvx-btn-settings {
  padding: 0.6rem 1.3rem;
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tvx-btn-settings:hover { border-color: var(--color-primary); color: var(--color-primary); }

.tvx-cookie-settings { display: none; flex-direction: column; gap: 1rem; }
.tvx-cookie-settings.open { display: flex; }

.tvx-settings-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.tvx-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
}

.tvx-category-info { flex: 1; }

.tvx-category-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.tvx-category-desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.tvx-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.tvx-toggle input { opacity: 0; width: 0; height: 0; }

.tvx-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}

.tvx-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}

.tvx-toggle input:checked + .tvx-toggle-slider { background: var(--color-primary); }
.tvx-toggle input:checked + .tvx-toggle-slider::before { transform: translateX(18px); }
.tvx-toggle input:disabled + .tvx-toggle-slider { opacity: 0.6; cursor: not-allowed; }

.tvx-settings-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.tvx-btn-save {
  padding: 0.6rem 1.3rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tvx-btn-save:hover { background: var(--color-primary-light); }

.tvx-btn-reject {
  padding: 0.6rem 1.3rem;
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  border-radius: 100px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tvx-btn-reject:hover { border-color: var(--color-accent-warm); color: var(--color-accent-warm); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .report-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-page-wrap { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
  .hero-badge--tl, .hero-badge--tr { display: none; }
  .hero-badge--bl, .hero-badge--br { display: none; }
  .risorse-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-overlay { display: block; }

  .process-grid { grid-template-columns: 1fr; }
  .perchi-grid { grid-template-columns: 1fr; }
  .blog-grid { grid
-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .griglia-grid { grid-template-columns: 1fr 1fr; }
  .intro-strip-divider { display: none; }
  .intro-strip-inner { gap: var(--space-sm); }
  .form-row-inline { grid-template-columns: 1fr; }
  .livello-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; }
  .story-img-blob img { height: 260px; }
  .booking-img-blob img { height: 260px; }
}

@media (max-width: 540px) {
  .griglia-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-privacy-row { flex-direction: column; align-items: flex-start; }
  .form-submit { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .action-primary,
  .hero-actions .action-ghost { width: 100%; max-width: 280px; justify-content: center; }
  .h-scroll-card { flex: 0 0 calc(100vw - 3rem); }
  .legal-page-wrap { padding-top: calc(var(--header-h) + var(--space-lg)); }
  .score-row { grid-template-columns: 1fr auto; }
  .score-bar { display: none; }
}

@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}