/* =============================================
   TALIVQENX - Main Stylesheet
   Color-mix palette generation
   camelCase BEM naming convention
   ============================================= */

/* === CUSTOM PROPERTIES === */
:root {
  --primary: #1a4a2e;
  --secondary: #c8a84b;
  --accent: #e8f5e0;
  --bg: #f7f5f0;
  --text: #1c1c1a;
  --text-muted: color-mix(in oklch, var(--text), white 40%);
  --text-light: color-mix(in oklch, var(--text), white 60%);

  --primary-dark: color-mix(in oklch, var(--primary), black 25%);
  --primary-mid: color-mix(in oklch, var(--primary), white 15%);
  --primary-light: color-mix(in oklch, var(--primary), white 60%);
  --primary-pale: color-mix(in oklch, var(--primary), white 88%);

  --secondary-dark: color-mix(in oklch, var(--secondary), black 20%);
  --secondary-light: color-mix(in oklch, var(--secondary), white 40%);
  --secondary-pale: color-mix(in oklch, var(--secondary), white 80%);

  --surface: color-mix(in oklch, var(--bg), white 60%);
  --surface-raised: #ffffff;
  --border: color-mix(in oklch, var(--primary), white 82%);
  --border-strong: color-mix(in oklch, var(--primary), white 65%);

  --shadow-sm: 0 1px 3px color-mix(in oklch, var(--primary), transparent 88%),
               0 1px 2px color-mix(in oklch, var(--primary), transparent 94%);
  --shadow-md: 0 4px 6px color-mix(in oklch, var(--primary), transparent 85%),
               0 2px 4px color-mix(in oklch, var(--primary), transparent 90%);
  --shadow-lg: 0 10px 25px color-mix(in oklch, var(--primary), transparent 82%),
               0 4px 10px color-mix(in oklch, var(--primary), transparent 88%);
  --shadow-xl: 0 20px 40px color-mix(in oklch, var(--primary), transparent 78%),
               0 8px 16px color-mix(in oklch, var(--primary), transparent 85%);
  --shadow-glow: 0 0 30px color-mix(in oklch, var(--secondary), transparent 60%);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --gap: 1.25rem;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1280px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

/* === CONTAINER === */
.container,
.siteNav_inner,
.mainHero_content,
.bentoSection,
.featuresSection_inner,
.processSection_header,
.processGrid,
.aboutPreview_inner,
.benefitsSection_header,
.benefitsGrid,
.tabSection_header,
.tabInterface,
.gallerySection_header,
.galleryGrid,
.faqSection_inner,
.contactCardsSection_header,
.contactCardsGrid,
.ctaSection_inner,
.pageFooter_inner,
.pageFooter_bottom,
.pageHero_inner,
.legalSection_inner,
.contactSection_inner,
.mapSection_inner,
.ambitoDetail_inner,
.promessaIntro_inner,
.valoriSection_header,
.valoriBento,
.metodologiaSection_inner,
.esempioIntro_inner,
.esempiGrid,
.approccioSection_inner,
.pageFooter_bottomInner {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Unbounded', sans-serif;
  line-height: 1.15;
  color: var(--text);
}
.sectionTitle {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.sectionTag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-pale);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border: 1px solid color-mix(in oklch, var(--secondary), transparent 70%);
}
.sectionTag--light {
  color: color-mix(in oklch, var(--secondary), white 20%);
  background: color-mix(in oklch, var(--secondary), transparent 85%);
  border-color: color-mix(in oklch, var(--secondary), transparent 50%);
}
.bodyText {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md), 0 0 0 0 color-mix(in oklch, var(--primary), transparent 80%);
}
.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px color-mix(in oklch, var(--primary), transparent 70%);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.btn-ghost {
  background: color-mix(in oklch, white, transparent 85%);
  color: #ffffff;
  border: 1px solid color-mix(in oklch, white, transparent 60%);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: color-mix(in oklch, white, transparent 70%);
  border-color: color-mix(in oklch, white, transparent 30%);
}
.btn-ghost-light {
  background: color-mix(in oklch, white, transparent 88%);
  color: #ffffff;
  border: 1px solid color-mix(in oklch, white, transparent 65%);
}
.btn-ghost-light:hover {
  background: color-mix(in oklch, white, transparent 75%);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === NAVIGATION === */
.siteNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: color-mix(in oklch, var(--primary-dark), transparent 5%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid color-mix(in oklch, white, transparent 85%);
}
.siteNav.is-visible { transform: translateY(0); }
.siteNav_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 2rem;
}
.siteNav_logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.siteNav_logoImg { width: 36px; height: 36px; }
.siteNav_logoText {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.siteNav_links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.siteNav_link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: color-mix(in oklch, white, transparent 20%);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}
.siteNav_link:hover, .siteNav_link.is-active {
  color: #ffffff;
  background: color-mix(in oklch, white, transparent 88%);
}
.siteNav_link.is-active { color: var(--secondary); }
.siteNav_hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  min-width: 44px; min-height: 44px;
  justify-content: center;
  align-items: center;
}
.siteNav_hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* === MOBILE MENU === */
.mobileMenu_overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in oklch, var(--primary-dark), transparent 30%);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.mobileMenu_overlay.is-active {
  opacity: 1;
  pointer-events: all;
}
.mobileMenu_panel {
  position: fixed;
  top: 0; right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--primary-dark);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobileMenu_panel.is-open { transform: translateX(0); }
.mobileMenu_close {
  align-self: flex-end;
  color: #ffffff;
  font-size: 1.25rem;
  padding: 0.5rem;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  margin-bottom: 2rem;
}
.mobileMenu_close:hover { background: color-mix(in oklch, white, transparent 85%); }
.mobileMenu_nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.mobileMenu_link {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: color-mix(in oklch, white, transparent 15%);
  padding: 1rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border-bottom: 1px solid color-mix(in oklch, white, transparent 90%);
}
.mobileMenu_link:hover {
  color: var(--secondary);
  background: color-mix(in oklch, white, transparent 92%);
  padding-left: 1.25rem;
}
.mobileMenu_footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in oklch, white, transparent 85%);
  color: color-mix(in oklch, white, transparent 40%);
  font-size: 0.85rem;
}

/* === HERO === */
.mainHero {
  min-height: 100vh;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: 100%;
}
.mainHero_bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, color-mix(in oklch, var(--secondary), transparent 85%) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, color-mix(in oklch, var(--primary), transparent 60%) 0%, transparent 60%);
  pointer-events: none;
}
.mainHero_content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 6rem 0 4rem;
}
.mainHero_tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  background: color-mix(in oklch, var(--secondary), transparent 85%);
  border: 1px solid color-mix(in oklch, var(--secondary), transparent 65%);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.mainHero_title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 50%, color-mix(in oklch, var(--secondary), white 40%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.mainHero_sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: color-mix(in oklch, white, transparent 30%);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.mainHero_actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.mainHero_visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}
.mainHero_img {
  width: 100%;
  max-width: 560px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 60px color-mix(in oklch, var(--secondary), transparent 75%);
  border: 1px solid color-mix(in oklch, white, transparent 85%);
}
.mainHero_sentinel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

/* === BENTO SECTION === */
.bentoSection {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.bentoSection_header {
  text-align: center;
  margin-bottom: 3rem;
}
.bentoGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--gap);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.bentoCell {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
}
.bentoCell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bentoCell--2x2 { grid-column: span 2; grid-row: span 2; min-height: 400px; }
.bentoCell--2x1 { grid-column: span 2; }
.bentoCell--1x2 { grid-row: span 2; min-height: 400px; }
.bentoCell--dark {
  background: var(--primary-dark);
  border-color: color-mix(in oklch, var(--primary), white 20%);
  color: #ffffff;
}
.bentoCell--dark .bentoCell_title { color: #ffffff; }
.bentoCell--dark .bentoCell_text { color: color-mix(in oklch, white, transparent 25%); }
.bentoCell--accent {
  background: var(--accent);
  border-color: color-mix(in oklch, var(--primary), white 70%);
}
.bentoCell--secondary {
  background: var(--secondary-pale);
  border-color: color-mix(in oklch, var(--secondary), transparent 70%);
}
.bentoCell--light {
  background: var(--primary-pale);
  border-color: var(--border);
}
.bentoCell--minimal {
  background: var(--surface-raised);
  border-color: var(--border);
  justify-content: flex-end;
}
.bentoCell--image {
  padding: 0;
  overflow: hidden;
}
.bentoCell_icon {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.bentoCell--dark .bentoCell_icon { color: var(--secondary); }
.bentoCell_title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
.bentoCell_text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}
.bentoCell_link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  transition: gap 0.2s ease;
  margin-top: auto;
}
.bentoCell_link:hover { gap: 0.7rem; }
.bentoCell--dark .bentoCell_link { color: var(--secondary-light); }
.bentoCell_number {
  font-family: 'Unbounded', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.bentoCell_bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
}
.bentoCell_bgPhoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bentoCell_fullImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  transition: transform 0.5s ease;
}
.bentoCell--image:hover .bentoCell_fullImg { transform: scale(1.04); }
.bentoCell_imageCaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, color-mix(in oklch, var(--primary-dark), transparent 10%));
  color: #ffffff;
  padding: 2rem 1.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* === FEATURES SECTION === */
.featuresSection {
  padding: var(--section-pad) 0;
  background: color-mix(in oklch, var(--primary), white 94%);
}
.featuresSection_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.featuresSection_left { padding-top: 1rem; }
.featuresSection_right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.featureCard {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.featureCard:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--primary-light);
}
.featureCard_icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.featureCard_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.featureCard_text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === PROCESS SECTION === */
.processSection {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.processSection_header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.processSection_sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.processGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.processStep {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.processStep::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.processStep:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.processStep:hover::before { opacity: 1; }
.processStep_num {
  font-family: 'Unbounded', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border-strong);
  line-height: 1;
  margin-bottom: 1rem;
}
.processStep_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.processStep_text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === ABOUT PREVIEW === */
.aboutPreview {
  padding: var(--section-pad) 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.aboutPreview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, color-mix(in oklch, var(--secondary), transparent 88%) 0%, transparent 70%);
  pointer-events: none;
}
.aboutPreview_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.aboutPreview_imgWrap {
  position: relative;
}
.aboutPreview_img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.aboutPreview_badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
}
.aboutPreview_badge i { font-size: 1.25rem; }
.aboutPreview_content .sectionTitle { color: #ffffff; }
.aboutPreview_content .bodyText { color: color-mix(in oklch, white, transparent 30%); }

/* === BENEFITS SECTION === */
.benefitsSection {
  padding: var(--section-pad) 0;
  background: color-mix(in oklch, var(--bg), var(--accent) 40%);
}
.benefitsSection_header { text-align: center; margin-bottom: 3rem; }
.benefitsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.benefitCard {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.benefitCard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 20px color-mix(in oklch, var(--primary), transparent 88%);
  border-color: var(--primary-light);
}
.benefitCard_icon {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px color-mix(in oklch, var(--primary), transparent 70%);
}
.benefitCard_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.benefitCard_text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === TAB SECTION === */
.tabSection {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.tabSection_header { text-align: center; margin-bottom: 2.5rem; }
.tabInterface {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tabInterface_tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--primary-pale);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabInterface_tabs::-webkit-scrollbar { display: none; }
.tabBtn {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 1.1rem 1.5rem;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 44px;
}
.tabBtn:hover { color: var(--primary); }
.tabBtn.is-active {
  color: var(--primary);
  border-bottom-color: var(--secondary);
  background: var(--surface-raised);
}
.tabPanel { display: none; }
.tabPanel.is-active { display: block; }
.tabPanel_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.tabPanel_content {
  padding: 2.5rem;
}
.tabPanel_content h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}
.tabPanel_content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.tabPanel_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tabPanel_list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.tabPanel_list li::before {
  content: '';
  width: 6px; height: 6px;
  min-width: 6px;
  background: var(--secondary);
  border-radius: 50%;
  margin-top: 0.45rem;
}
.tabPanel_img {
  overflow: hidden;
}
.tabPanel_img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tabPanel_img:hover img { transform: scale(1.03); }

/* === GALLERY SECTION === */
.gallerySection {
  padding: var(--section-pad) 0;
  background: color-mix(in oklch, var(--primary), white 92%);
}
.gallerySection_header { text-align: center; margin-bottom: 2.5rem; }
.galleryGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap);
}
.galleryItem {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.galleryItem img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galleryItem--wide img { height: 400px; }
.galleryItem:hover img { transform: scale(1.05); }
.galleryItem_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, color-mix(in oklch, var(--primary-dark), transparent 15%));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galleryItem:hover .galleryItem_overlay { opacity: 1; }
.galleryItem_overlay span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* === FAQ SECTION === */
.faqSection {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.faqSection_inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.faqItem {
  border-bottom: 1px solid var(--border);
}
.faqItem_question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.2s ease;
  min-height: 44px;
}
.faqItem_question:hover { color: var(--primary); }
.faqItem_question i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  min-width: 16px;
}
.faqItem_question[aria-expanded="true"] i { transform: rotate(180deg); }
.faqItem_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faqItem_answer.is-open { max-height: 300px; }
.faqItem_answer p {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === CONTACT CARDS === */
.contactCardsSection {
  padding: var(--section-pad) 0;
  background: color-mix(in oklch, var(--primary), white 94%);
}
.contactCardsSection_header { text-align: center; margin-bottom: 2.5rem; }
.contactCardsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.contactCard {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.contactCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px color-mix(in oklch, var(--secondary), transparent 80%);
  border-color: var(--secondary-light);
}
.contactCard_icon {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px color-mix(in oklch, var(--primary), transparent 65%);
  transition: box-shadow 0.3s ease;
}
.contactCard:hover .contactCard_icon { box-shadow: 0 6px 20px color-mix(in oklch, var(--primary), transparent 55%); }
.contactCard_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.contactCard_detail {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.contactCard_detail a {
  color: var(--primary);
  transition: color 0.2s ease;
}
.contactCard_detail a:hover { color: var(--secondary-dark); }
.contactCard_note {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === CTA SECTION === */
.ctaSection {
  padding: var(--section-pad) 0;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.ctaSection_inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ctaSection_title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.ctaSection_sub {
  font-size: 1rem;
  color: color-mix(in oklch, white, transparent 35%);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.ctaSection_actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ctaSection_decoration {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 400px;
  pointer-events: none;
}
.ctaDeco_circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--secondary), transparent 75%);
}
.ctaDeco_circle--1 { width: 300px; height: 300px; right: -100px; top: 50%; transform: translateY(-50%); }
.ctaDeco_circle--2 { width: 200px; height: 200px; right: -50px; top: 50%; transform: translateY(-50%); }
.ctaDeco_circle--3 { width: 100px; height: 100px; right: 50px; top: 50%; transform: translateY(-50%); background: color-mix(in oklch, var(--secondary), transparent 92%); }

/* === FOOTER === */
.pageFooter {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}
.pageFooter_illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.footerIllo_grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in oklch, var(--secondary), transparent 93%) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--secondary), transparent 93%) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
.pageFooter_inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.pageFooter_logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.pageFooter_logoImg { width: 32px; height: 32px; }
.pageFooter_logo span {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}
.pageFooter_tagline {
  font-size: 0.875rem;
  color: color-mix(in oklch, white, transparent 45%);
  line-height: 1.65;
  max-width: 280px;
}
.pageFooter_navTitle {
  font-family: 'Unbounded', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.pageFooter_links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pageFooter_links a {
  font-size: 0.9rem;
  color: color-mix(in oklch, white, transparent 40%);
  transition: color 0.2s ease;
  text-decoration: none;
}
.pageFooter_links a:hover { color: #ffffff; }
.pageFooter_address p {
  font-size: 0.875rem;
  color: color-mix(in oklch, white, transparent 40%);
  margin-bottom: 0.35rem;
}
.pageFooter_address a {
  color: color-mix(in oklch, white, transparent 40%);
  transition: color 0.2s ease;
}
.pageFooter_address a:hover { color: #ffffff; }
.pageFooter_bottom {
  border-top: 1px solid color-mix(in oklch, white, transparent 88%);
  position: relative;
  z-index: 1;
}
.pageFooter_bottomInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pageFooter_copy {
  font-size: 0.8rem;
  color: color-mix(in oklch, white, transparent 55%);
}
.pageFooter_legal-note {
  font-size: 0.8rem;
  color: color-mix(in oklch, white, transparent 60%);
}

/* === PAGE HERO (inner pages) === */
.pageHero {
  min-height: 55vh;
  background: var(--primary-dark);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.pageHero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 30%, color-mix(in oklch, var(--secondary), transparent 85%) 0%, transparent 70%);
  pointer-events: none;
}
.pageHero_inner {
  padding-bottom: 3.5rem;
  padding-top: 8rem;
  position: relative;
  z-index: 1;
}
.pageHero_title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(135deg, #ffffff 0%, var(--secondary) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.pageHero_sub {
  font-size: 1.1rem;
  color: color-mix(in oklch, white, transparent 35%);
  max-width: 560px;
  line-height: 1.65;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: color-mix(in oklch, white, transparent 50%);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: color-mix(in oklch, white, transparent 40%);
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: color-mix(in oklch, white, transparent 65%); }

/* === LEGAL PAGES === */
.legalSection { padding: var(--section-pad) 0; }
.legalSection_inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
}
.legalCard {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.legalCard:hover { box-shadow: var(--shadow-md); }
.legalCard--intro {
  border-left: 4px solid var(--primary);
  background: var(--primary-pale);
}
.legalCard--highlight {
  border-left: 4px solid var(--secondary);
  background: var(--secondary-pale);
}
.legalCard_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}
.legalCard h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legalCard p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legalCard ul {
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.legalCard ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.legalCard a { color: var(--primary); text-decoration: underline; }
.legalCard a:hover { color: var(--secondary-dark); }
.legalCard--terms .legalCard { border-left: 4px solid var(--secondary-dark); }
.cookieTable_wrap { overflow-x: auto; margin-top: 1rem; }
.cookieTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cookieTable th, .cookieTable td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cookieTable th {
  font-weight: 600;
  color: var(--text);
  background: var(--primary-pale);
  font-size: 0.85rem;
}
.cookieTable td { color: var(--text-muted); }
.cookieTable code {
  background: var(--primary-pale);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: monospace;
}

/* === CONTACT PAGE === */
.contactSection {
  padding: var(--section-pad) 0;
  background: var(--bg);
}
.contactSection_inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contactSection_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.contactSection_sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}
.contactForm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contactForm_row { display: flex; gap: 1rem; }
.contactForm_row--top { align-items: flex-end; }
.contactForm_row--bottom {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.contactForm_field { display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.contactForm_field--name { flex: 1; }
.contactForm_field--email { flex: 1.2; }
.contactForm_label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--secondary-dark); }
.contactForm_input,
.contactForm_textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-raised);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}
.contactForm_textarea { resize: vertical; min-height: 100px; }
.contactForm_input:focus,
.contactForm_textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary), transparent 88%);
}
.contactForm_checkLabel {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.contactForm_checkLabel input[type="checkbox"] {
  width: 18px; height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 2px;
}
.contactForm_checkText {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.contactForm_checkText a { color: var(--primary); text-decoration: underline; }
.contactInfo_card {
  background: var(--primary-dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-xl);
}
.contactInfo_item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contactInfo_icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: color-mix(in oklch, var(--secondary), transparent 80%);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
}
.contactInfo_label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in oklch, white, transparent 50%);
  margin-bottom: 0.25rem;
}
.contactInfo_value {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}
.contactInfo_value a { color: #ffffff; transition: color 0.2s ease; }
.contactInfo_value a:hover { color: var(--secondary); }
.mapSection { padding: 0 0 var(--section-pad); background: var(--bg); }
.mapSection_header { margin-bottom: 1.5rem; }
.mapSection_map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* === THANKS PAGE === */
.thanksBody { background: var(--primary-dark); }
.thanksMain {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem;
}
.thanksContent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.thanksDot {
  width: 24px; height: 24px;
  background: var(--secondary);
  border-radius: 50%;
  animation: dotPulse 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 0 30px color-mix(in oklch, var(--secondary), transparent 50%);
}
@keyframes dotPulse {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.thanksTitle {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #ffffff;
  font-weight: 600;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.thanksLink {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 500;
  text-decoration: underline;
  animation: fadeInUp 0.7s 0.9s ease both;
  transition: color 0.2s ease;
}
.thanksLink:hover { color: var(--secondary-light); }
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === PROMESSA PAGE === */
.promessaIntro { padding: var(--section-pad) 0; background: var(--bg); }
.promessaIntro_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.promessaIntro_card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}
.promessaIntro_icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}
.promessaIntro_card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.promessaList {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.promessaList li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: color-mix(in oklch, white, transparent 20%);
  line-height: 1.6;
}
.promessaList li::before {
  content: '';
  width: 8px; height: 8px;
  min-width: 8px;
  background: var(--secondary);
  border-radius: 50%;
  margin-top: 0.45rem;
}
.valoriSection { padding: var(--section-pad) 0; background: color-mix(in oklch, var(--bg), var(--accent) 30%); }
.valoriSection_header { text-align: center; margin-bottom: 2.5rem; }
.valoriBento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap);
}
.valoreCell {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.valoreCell:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.valoreCell--large { grid-row: span 2; }
.valoreCell--accent { background: var(--primary); border-color: var(--primary); }
.valoreCell--accent .valoreCell_title { color: #ffffff; }
.valoreCell--accent .valoreCell_text { color: color-mix(in oklch, white, transparent 30%); }
.valoreCell--accent .valoreCell_num { color: color-mix(in oklch, white, transparent 60%); }
.valoreCell_num {
  font-family: 'Unbounded', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--border-strong);
  margin-bottom: 0.75rem;
}
.valoreCell_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.valoreCell_text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.metodologiaSection { padding: var(--section-pad) 0; background: var(--bg); }
.metodologiaSection_header { margin-bottom: 3rem; }
.metodologiaSteps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}
.metodologiaStep {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}
.metodologiaStep:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--primary-light), var(--border));
}
.metodologiaStep_marker {
  width: 24px; height: 24px;
  min-width: 24px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 2px var(--primary);
  position: relative;
  z-index: 1;
  margin-top: 3px;
}
.metodologiaStep_body h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.metodologiaStep_body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* === AMBITI PAGE === */
.ambitoDetail { padding: var(--section-pad) 0; background: var(--bg); }
.ambitoDetail--alt { background: color-mix(in oklch, var(--bg), var(--accent) 30%); }
.ambitoDetail_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.ambitoDetail_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-strong);
}
.ambitoDetail_title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.ambitoDetail_list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.ambitoDetail_item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.ambitoDetail_item i { color: var(--primary); font-size: 0.85rem; margin-top: 3px; }
.ambitoDetail_visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* === ESEMPI CONCRETI PAGE === */
.esempioIntro { padding: 3rem 0 1rem; background: var(--bg); }
.esempioIntro_inner { max-width: 800px; }
.esempioIntro_lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 3px solid var(--secondary);
  padding-left: 1.5rem;
}
.esempiGrid {
  padding: 2rem 0 var(--section-pad);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.esempioCard {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.esempioCard:hover { box-shadow: var(--shadow-lg); }
.esempioCard--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.esempioCard--featured .esempioCard_content { padding: 2.5rem; }
.esempioCard--featured .esempioCard_img { overflow: hidden; }
.esempioCard--featured .esempioCard_img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.esempioCard--featured:hover .esempioCard_img img { transform: scale(1.04); }
.esempioCard_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  background: var(--secondary-pale);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.esempioCard_title {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.esempioCard_text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.esempioCard_tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  border: 1px solid var(--border-strong);
}
.esempioRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.esempioRow--reverse { }
.approccioSection { padding: var(--section-pad) 0; background: color-mix(in oklch, var(--bg), var(--accent) 40%); }
.approccioSection_inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.approccioGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 2.5rem;
}
.approccioItem {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.approccioItem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.approccioItem_icon {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.approccioItem h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.65rem;
}
.approccioItem p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* === OVERLAP ZONE === */
.bentoSection { position: relative; z-index: 2; }
.featuresSection {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  padding-top: calc(var(--section-pad) + 2rem);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .bentoGrid { grid-template-columns: repeat(2, 1fr); }
  .bentoCell--2x2 { grid-column: span 2; }
  .bentoCell--1x2 { grid-row: span 1; min-height: 260px; }
  .processGrid { grid-template-columns: repeat(2, 1fr); }
  .benefitsGrid { grid-template-columns: repeat(2, 1fr); }
  .pageFooter_inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .valoriBento { grid-template-columns: 1fr 1fr; }
  .valoreCell--large { grid-row: span 1; }
}

@media (max-width: 900px) {
  .siteNav_links { display: none; }
  .siteNav_hamburger { display: flex; }
  .mainHero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5rem;
  }
  .mainHero_content { padding: 4rem 0 2rem; max-width: 100%; }
  .mainHero_actions { justify-content: center; }
  .mainHero_sub { margin-left: auto; margin-right: auto; }
  .mainHero_visual { display: none; }
  .featuresSection_inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .aboutPreview_inner { grid-template-columns: 1fr; gap: 3rem; }
  .aboutPreview_badge { right: 1rem; bottom: -1rem; }
  .tabPanel_inner { grid-template-columns: 1fr; }
  .tabPanel_img { display: none; }
  .galleryGrid { grid-template-columns: 1fr 1fr; }
  .galleryItem--wide { grid-column: span 2; }
  .faqSection_inner { grid-template-columns: 1fr; gap: 2rem; }
  .contactCardsGrid { grid-template-columns: 1fr; max-width: 480px; }
  .ctaSection_inner { grid-template-columns: 1fr; }
  .ctaSection_decoration { display: none; }
  .ambitoDetail_inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ambitoDetail--alt .ambitoDetail_visual { order: -1; }
  .promessaIntro_inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .valoriBento { grid-template-columns: 1fr; }
  .contactSection_inner { grid-template-columns: 1fr; }
  .esempioCard--featured { grid-template-columns: 1fr; }
  .esempioCard--featured .esempioCard_img { display: none; }
  .esempioRow { grid-template-columns: 1fr; }
  .approccioGrid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bentoGrid { grid-template-columns: 1fr; }
  .bentoCell--2x2, .bentoCell--2x1 { grid-column: span 1; }
  .processGrid { grid-template-columns: 1fr; }
  .benefitsGrid { grid-template-columns: 1fr; }
  .galleryGrid { grid-template-columns: 1fr; }
  .galleryItem--wide { grid-column: span 1; }
  .pageFooter_inner { grid-template-columns: 1fr; gap: 2rem; }
  .pageFooter_bottomInner { flex-direction: column; text-align: center; }
  .contactForm_row--top { flex-direction: column; }
  .contactForm_row--bottom { flex-direction: column; align-items: stretch; }
  .mainHero_actions { flex-direction: column; align-items: center; }
  .ctaSection_actions { flex-direction: column; }
  .tabInterface_tabs { gap: 0; }
  .tabBtn { padding: 0.85rem 1rem; font-size: 0.8rem; }
}