/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TEMPO EVENT · TEAM BUILDING LP · STYLE
   Brand: Forest Green #1E723B + Cream #FAF7F0 + Terracotta #E2725B + Gold #D4A24C
   Tipografia: Fraunces (display) + Inter (body)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━ TOKENS ━━━━━━━━━━━━━━━━ */
:root {
  /* Forest Green scale */
  --forest-50: #F0F7F2;
  --forest-100: #D9EADD;
  --forest-200: #B3D6BC;
  --forest-300: #7EB892;
  --forest-400: #4D9968;
  --forest-500: #2D7B4A;
  --forest-600: #1E723B;
  --forest-700: #175C2F;
  --forest-800: #0F4623;
  --forest-900: #082F18;
  --forest-950: #04190C;

  /* Cream */
  --cream-50: #FDFCF7;
  --cream-100: #FAF7F0;
  --cream-200: #F4EFE2;
  --cream-300: #E9DFC8;

  /* Stone */
  --stone-50: #F7F5F2;
  --stone-100: #EDE9E2;
  --stone-200: #D6D0C5;
  --stone-300: #B5AD9F;
  --stone-400: #8E8678;
  --stone-500: #6B6557;
  --stone-600: #4D4940;
  --stone-700: #363229;
  --stone-800: #252220;
  --stone-900: #161412;

  /* Gold */
  --gold-100: #FCF5DD;
  --gold-300: #F0D67A;
  --gold-500: #D4A24C;
  --gold-700: #A37528;

  /* Terra */
  --terra-100: #FBE7DE;
  --terra-300: #EDA98C;
  --terra-500: #E2725B;
  --terra-600: #C85A3F;
  --terra-700: #9C4530;

  /* Semantic */
  --success: #3B8A4F;
  --error: #C44848;
  --warning: #D4A24C;
  --info: #3A7E9E;

  /* Type */
  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, sans-serif;

  /* Type scale */
  --t-xs:    clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --t-sm:    clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
  --t-base:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-lg:    clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --t-xl:    clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --t-2xl:   clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --t-3xl:   clamp(2.25rem, 1.7rem + 2vw, 3.25rem);
  --t-4xl:   clamp(2.75rem, 2rem + 3vw, 4.5rem);
  --t-display: clamp(3.25rem, 2.5rem + 4vw, 6rem);

  /* Spacing 4-base */
  --s-1: 0.25rem;  --s-2: 0.5rem;
  --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;
  --s-8: 2rem;     --s-10: 2.5rem;
  --s-12: 3rem;    --s-16: 4rem;
  --s-20: 5rem;    --s-24: 6rem;
  --s-32: 8rem;    --s-40: 10rem;

  /* Container */
  --container-narrow: 720px;
  --container-base: 1200px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  /* Section padding */
  --section-py: clamp(4rem, 8vw, 8rem);

  /* Radii */
  --r-xs: 0.25rem;  --r-sm: 0.5rem;
  --r-md: 0.75rem;  --r-lg: 1rem;
  --r-xl: 1.5rem;   --r-2xl: 2rem;
  --r-3xl: 3rem;    --r-full: 9999px;

  /* Shadow tinted */
  --shadow-xs: 0 1px 2px rgba(15,70,35,0.06);
  --shadow-sm: 0 2px 8px rgba(15,70,35,0.08);
  --shadow-md: 0 8px 24px rgba(15,70,35,0.10);
  --shadow-lg: 0 16px 48px rgba(15,70,35,0.14);
  --shadow-xl: 0 24px 80px rgba(15,70,35,0.18);

  /* Glow */
  --glow-forest: 0 0 0 4px rgba(30, 114, 59, 0.18);
  --glow-terra: 0 0 0 4px rgba(226, 114, 91, 0.20);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header */
  --header-h: 72px;
}

/* ━━━━━━━━━━━━━━━━ RESET ━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--stone-700);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
fieldset { border: none; }

/* ━━━━━━━━━━━━━━━━ A11Y ━━━━━━━━━━━━━━━━ */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--s-4);
  padding: var(--s-2) var(--s-4);
  background: var(--forest-700);
  color: var(--cream-50);
  z-index: 9999;
  border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--s-4); }

:focus-visible {
  outline: none;
  box-shadow: var(--glow-forest);
  border-radius: var(--r-xs);
}

/* ━━━━━━━━━━━━━━━━ TYPOGRAPHY ━━━━━━━━━━━━━━━━ */
.h-hero {
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--cream-50);
  max-width: 18ch;
}
.h-hero__line-1, .h-hero__line-2 { display: block; }
.h-hero__line-2 {
  font-style: italic;
  color: var(--gold-300);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.h-section {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
  color: var(--stone-800);
  max-width: 22ch;
}
.h-section em {
  font-style: italic;
  font-variation-settings: "opsz" 96, "SOFT" 100;
  color: var(--forest-600);
}
.h-section--xl { font-size: var(--t-4xl); }
.h-section--light { color: var(--cream-50); }
.h-section--light em { color: var(--gold-300); }

.lead {
  font-family: var(--font-body);
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--stone-500);
  max-width: 56ch;
  margin-top: var(--s-6);
}
.lead--light { color: rgba(253, 252, 247, 0.78); }

/* ━━━━━━━━━━━━━━━━ EYEBROW ━━━━━━━━━━━━━━━━ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 7px 14px;
  border-radius: var(--r-full);
  background: var(--forest-50);
  color: var(--forest-700);
  font-family: var(--font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--forest-600);
}
.eyebrow--light {
  background: rgba(253, 252, 247, 0.10);
  color: var(--cream-50);
  border: 1px solid rgba(253, 252, 247, 0.16);
}
.eyebrow--light::before { background: var(--gold-300); }

/* ━━━━━━━━━━━━━━━━ BUTTONS ━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--t-base);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
/* Ripristina il comportamento dell'attributo hidden HTML
   (necessario perché .btn imposta display: inline-flex che sovrascrive hidden) */
.btn[hidden],
[hidden] {
  display: none !important;
}
.btn--lg {
  padding: 18px 36px;
  font-size: var(--t-lg);
}
.btn--sm {
  padding: 9px 18px;
  font-size: var(--t-sm);
}

.btn--primary {
  background: var(--forest-600);
  color: var(--cream-50);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--forest-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--primary:active { transform: translateY(0); }
.btn--primary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-md), var(--glow-forest);
}

.btn--secondary {
  background: transparent;
  color: var(--forest-700);
  border-color: var(--forest-600);
}
.btn--secondary:hover {
  background: var(--forest-50);
}

.btn--ghost {
  background: transparent;
  color: var(--forest-700);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--forest-300);
}
.btn--ghost:hover {
  text-decoration-color: var(--forest-600);
}
.btn--ghost-light {
  color: var(--cream-50);
  text-decoration-color: rgba(253,252,247,0.4);
}
.btn--ghost-light:hover { text-decoration-color: var(--cream-50); }

.btn--cream {
  background: var(--cream-50);
  color: var(--forest-800);
  box-shadow: var(--shadow-md);
}
.btn--cream:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ━━━━━━━━━━━━━━━━ CONTAINER ━━━━━━━━━━━━━━━━ */
.container {
  max-width: var(--container-base);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section { padding-block: var(--section-py); }

/* ━━━━━━━━━━━━━━━━ SECTION HEADER ━━━━━━━━━━━━━━━━ */
.section-header {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--s-16);
  max-width: 720px;
}
.section-header .h-section { margin: var(--s-4) auto 0; }
.section-header .lead { margin: var(--s-5) auto 0; text-align: center; }

/* ━━━━━━━━━━━━━━━━ SCROLL PROGRESS BAR ━━━━━━━━━━━━━━━━ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--forest-600), var(--terra-500));
  z-index: 9998;
  transition: width 100ms linear;
}

/* ━━━━━━━━━━━━━━━━ STICKY HEADER ━━━━━━━━━━━━━━━━ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(250, 247, 240, 0);
  backdrop-filter: blur(0);
  transition: background 300ms var(--ease-out), backdrop-filter 300ms;
  transform: translateY(-100%);
  opacity: 0;
}
.site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--stone-100);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo img { width: 140px; height: auto; }

/* ━━━━━━━━━━━━━━━━ HERO ━━━━━━━━━━━━━━━━ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream-50);
  overflow: hidden;
  padding: 120px 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.85);
  transform: scale(1.05);
  animation: kenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8,47,24,0.35) 0%,
      rgba(8,47,24,0.55) 50%,
      rgba(8,47,24,0.92) 100%);
}
.hero__grain {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero__content { position: relative; z-index: 1; }
.hero__lead {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: rgba(253,252,247,0.85);
  max-width: 52ch;
  margin-top: var(--s-8);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-10);
}
.hero__trust {
  margin-top: var(--s-12);
  font-size: var(--t-sm);
  color: rgba(253,252,247,0.7);
}
.hero__trust .dot { color: var(--gold-300); margin-inline: var(--s-2); }
.hero__scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253,252,247,0.6);
  transition: color 200ms;
}
.hero__scroll:hover { color: var(--cream-50); }
.hero__scroll-dot {
  animation: scrollDot 2s var(--ease-in-out) infinite;
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

/* H1 staggered entry */
.h-hero__line-1 {
  opacity: 0;
  animation: heroLine 800ms 200ms var(--ease-out) forwards;
}
.h-hero__line-2 {
  opacity: 0;
  animation: heroLine 800ms 1200ms var(--ease-out) forwards;
}
.hero__lead {
  opacity: 0;
  animation: heroLine 600ms 1700ms var(--ease-out) forwards;
}
.hero__cta {
  opacity: 0;
  animation: heroLine 600ms 2000ms var(--ease-out) forwards;
}
.hero__trust {
  opacity: 0;
  animation: heroLine 600ms 2300ms var(--ease-out) forwards;
}

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

/* ━━━━━━━━━━━━━━━━ LOGO WALL MARQUEE ━━━━━━━━━━━━━━━━ */
.logo-wall {
  background: var(--cream-50);
  padding: var(--s-12) 0;
  border-block: 1px solid var(--stone-100);
}
.logo-wall__caption {
  text-align: center;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: var(--s-8);
}
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--s-16);
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 300ms var(--ease-out);
}
.marquee__track img:hover {
  filter: grayscale(0%) opacity(1);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ━━━━━━━━━━━━━━━━ NUMBERS ━━━━━━━━━━━━━━━━ */
.numbers {
  background: var(--cream-100);
  position: relative;
}
.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(30,114,59,0.04), transparent 50%);
  pointer-events: none;
}
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-8);
  position: relative;
}
.number-card {
  text-align: center;
}
.number-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--s-3);
  position: relative;
}
.number-card__value::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--forest-600), var(--terra-500));
  margin: var(--s-3) auto 0;
  transition: width 1000ms 800ms var(--ease-out);
}
.number-card.is-visible .number-card__value::after {
  width: 64px;
}
.number-card__label {
  font-size: var(--t-sm);
  color: var(--stone-500);
  font-weight: 500;
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━ GALLERY ━━━━━━━━━━━━━━━━ */
.gallery {
  background: var(--forest-900);
  color: var(--cream-50);
}
.gallery .section-header { color: var(--cream-50); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 320px 320px;
  gap: var(--s-4);
}
.gallery__item {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--forest-800);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-6);
  background: linear-gradient(180deg, transparent, rgba(8,47,24,0.95));
  font-size: var(--t-sm);
  color: var(--cream-100);
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms var(--ease-out);
}
.gallery__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}
.gallery__item--large {
  grid-column: span 1;
  grid-row: span 2;
}
.gallery__item--vertical {
  grid-column: span 1;
  grid-row: span 2;
}
.gallery__item--wide {
  grid-column: span 3;
  grid-row: 3;
  height: 280px;
}

/* ━━━━━━━━━━━━━━━━ PAIN POINTS ━━━━━━━━━━━━━━━━ */
.pain {
  background: var(--cream-100);
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.pain-card {
  padding: var(--s-10) var(--s-8);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pain-card--terra { background: var(--terra-100); color: var(--terra-700); }
.pain-card--gold { background: var(--gold-100); color: var(--gold-700); }
.pain-card--stone { background: var(--stone-100); color: var(--stone-700); }
.pain-card__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--s-6);
}
.pain-card__icon svg {
  width: 100%; height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.pain-card p {
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--stone-700);
}

/* ━━━━━━━━━━━━━━━━ SOLUTION SPLIT ━━━━━━━━━━━━━━━━ */
.solution {
  background: var(--forest-900);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(30,114,59,0.4), transparent 50%);
  pointer-events: none;
}
.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
  position: relative;
}
.solution__media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-xl);
}
.solution__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.solution__badge {
  position: absolute;
  top: var(--s-6);
  right: var(--s-6);
  padding: var(--s-3) var(--s-5);
  background: var(--gold-500);
  color: var(--forest-900);
  border-radius: var(--r-full);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.solution__content { color: var(--cream-50); }
.solution__content .lead { color: rgba(253,252,247,0.78); margin-top: var(--s-6); }

.feature-list {
  margin: var(--s-10) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.feature-list li {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  background: rgba(253,252,247,0.04);
  border: 1px solid rgba(253,252,247,0.08);
  border-radius: var(--r-md);
  transition: background 200ms;
}
.feature-list li:hover {
  background: rgba(253,252,247,0.08);
}
.feature-list__icon {
  font-size: 24px;
  flex-shrink: 0;
}
.feature-list strong {
  display: block;
  color: var(--cream-50);
  font-weight: 600;
  margin-bottom: var(--s-1);
}
.feature-list div {
  color: rgba(253,252,247,0.7);
  font-size: var(--t-base);
  line-height: 1.55;
}

/* ━━━━━━━━━━━━━━━━ CONFIGURATOR ━━━━━━━━━━━━━━━━ */
.configurator-section {
  background: var(--cream-100);
  position: relative;
  overflow: hidden;
}
.configurator-section__bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.configurator-section__bg-blob--1 {
  width: 400px; height: 400px;
  background: var(--forest-200);
  top: -100px; left: -100px;
  animation: blobFloat1 12s ease-in-out infinite;
}
.configurator-section__bg-blob--2 {
  display: none; /* rimosso il glow terracotta destro su richiesta */
}
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(0.95); }
}

.configurator {
  max-width: 880px;
  margin: 0 auto;
  background: var(--cream-50);
  border-radius: var(--r-3xl);
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--stone-100);
  position: relative;
  z-index: 1;
}

.configurator__progress {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.configurator__progress-step {
  flex: 1;
  height: 4px;
  background: var(--stone-100);
  border-radius: var(--r-full);
  overflow: hidden;
  position: relative;
  transition: background 400ms var(--ease-out);
}
.configurator__progress-step.is-active {
  background: var(--forest-600);
}

.configurator__step-meta {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-700);
  margin-bottom: var(--s-8);
}
.configurator__step-name {
  color: var(--stone-400);
  margin-left: var(--s-2);
}

.configurator__step {
  display: none;
  animation: stepIn 400ms var(--ease-out);
}
.configurator__step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.configurator__title {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--stone-800);
  margin-bottom: var(--s-3);
}
.configurator__sub {
  color: var(--stone-500);
  font-size: var(--t-base);
  margin-bottom: var(--s-8);
}

/* Cat tile */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--cream-100);
  border: 2px solid var(--stone-100);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  position: relative;
  text-align: left;
}
.cat-tile:hover {
  border-color: var(--forest-300);
  background: var(--forest-50);
  transform: translateY(-2px);
}
.cat-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cat-tile:has(input:checked) {
  border-color: var(--forest-600);
  background: var(--forest-50);
  box-shadow: var(--shadow-md);
}
.cat-tile:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  width: 24px; height: 24px;
  background: var(--forest-600);
  color: var(--cream-50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.cat-tile__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: var(--forest-100);
  color: var(--forest-700);
  border-radius: var(--r-md);
}
.cat-tile__icon svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }
.cat-tile__title {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--stone-800);
}
.cat-tile__sub {
  font-size: var(--t-sm);
  color: var(--stone-500);
}
.cat-tile--full {
  flex-direction: row;
  align-items: center;
  gap: var(--s-4);
}
.cat-tile--full .cat-tile__title { display: inline; }

/* Size tile */
.size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
}
.size-tile {
  padding: var(--s-6) var(--s-4);
  text-align: center;
  background: var(--cream-100);
  border: 2px solid var(--stone-100);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  position: relative;
}
.size-tile:hover {
  border-color: var(--forest-300);
  transform: translateY(-2px);
}
.size-tile input { position: absolute; opacity: 0; pointer-events: none; }
.size-tile:has(input:checked) {
  background: var(--forest-50);
  border-color: var(--forest-600);
  box-shadow: var(--shadow-md);
}
.size-tile__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  color: var(--forest-700);
  margin-bottom: var(--s-1);
}
.size-tile__label {
  display: block;
  font-size: var(--t-xs);
  color: var(--stone-500);
}

/* Timing tile */
.timing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.timing-tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-6);
  background: var(--cream-100);
  border: 2px solid var(--stone-100);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  position: relative;
}
.timing-tile:hover {
  border-color: var(--forest-300);
  transform: translateY(-2px);
}
.timing-tile input { position: absolute; opacity: 0; pointer-events: none; }
.timing-tile:has(input:checked) {
  background: var(--forest-50);
  border-color: var(--forest-600);
  box-shadow: var(--shadow-md);
}
.timing-tile__icon { font-size: 22px; }
.timing-tile strong {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--stone-800);
}
.timing-tile span:last-child {
  font-size: var(--t-sm);
  color: var(--stone-500);
}

/* Estimate */
.estimate {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-6);
  background: linear-gradient(135deg, var(--forest-50), var(--gold-100));
  border-radius: var(--r-lg);
  border: 1px solid var(--forest-200);
  margin-bottom: var(--s-8);
}
.estimate__icon { font-size: 28px; flex-shrink: 0; }
.estimate__body { display: flex; flex-direction: column; gap: var(--s-2); }
.estimate__label {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-700);
}
.estimate__value {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  color: var(--forest-800);
  line-height: 1.1;
}
.estimate__note {
  font-size: var(--t-xs);
  color: var(--stone-500);
  line-height: 1.5;
}

/* Form */
.form-group { margin-bottom: var(--s-8); }
.form-group__legend {
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--stone-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-4);
}
.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.budget-tile {
  padding: var(--s-4) var(--s-5);
  background: var(--cream-100);
  border: 2px solid var(--stone-100);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 200ms;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.budget-tile:hover { border-color: var(--forest-300); }
.budget-tile input { position: absolute; opacity: 0; pointer-events: none; }
.budget-tile:has(input:checked) {
  background: var(--forest-50);
  border-color: var(--forest-600);
}
.budget-tile span:first-of-type {
  font-weight: 600;
  color: var(--stone-800);
}
.budget-tile small {
  font-size: var(--t-xs);
  color: var(--stone-500);
}
.budget-tile--full { grid-column: span 2; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: span 2; }
.field__label {
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-600);
}
.field__label sup { color: var(--terra-500); }
.field__label small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--stone-400); }

.input {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-50);
  border: 1.5px solid var(--stone-200);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--stone-800);
  transition: all 150ms;
}
.input:hover { border-color: var(--stone-300); }
.input:focus {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: var(--glow-forest);
}
.input::placeholder { color: var(--stone-400); }
textarea.input { resize: vertical; min-height: 90px; }

.checkboxes {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.checkbox {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  cursor: pointer;
  font-size: var(--t-sm);
  color: var(--stone-600);
  line-height: 1.5;
}
.checkbox input {
  width: 20px; height: 20px;
  margin-top: 1px;
  accent-color: var(--forest-600);
  flex-shrink: 0;
}
.checkbox a { color: var(--forest-700); text-decoration: underline; }

.configurator__nav {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--stone-100);
  justify-content: space-between;
}
.configurator__nav .btn--ghost { padding-left: var(--s-2); padding-right: var(--s-2); }
.configurator__nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.configurator__time-meta {
  margin-top: var(--s-4);
  font-size: var(--t-xs);
  color: var(--stone-400);
  text-align: center;
}

/* ━━━━━━━━━━━━━━━━ COME FUNZIONA ━━━━━━━━━━━━━━━━ */
.howto {
  background: var(--cream-100);
}
.howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-12);
  position: relative;
}
.howto__grid::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--forest-300), var(--terra-300));
  z-index: 0;
  opacity: 0.4;
}
.step-card {
  position: relative;
  z-index: 1;
}
.step-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(135deg, var(--forest-300), var(--forest-100));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--s-6);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  color: var(--stone-800);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.step-card p {
  color: var(--stone-600);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━ TIPOLOGIE ━━━━━━━━━━━━━━━━ */
.types {
  background: var(--stone-50);
}
.types__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.type-card {
  background: var(--cream-50);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-100);
  transition: all 300ms var(--ease-out);
}
.type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.type-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.type-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.type-card:hover .type-card__media img {
  transform: scale(1.06);
}

/* Illustrated cards (no real photo, gradient + SVG icon) */
.type-card__media--illustrated {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.type-card--art .type-card__media--illustrated {
  background: linear-gradient(135deg, var(--forest-700) 0%, var(--forest-500) 100%);
  color: rgba(253,252,247,0.92);
}
.type-card--gaming .type-card__media--illustrated {
  background: linear-gradient(135deg, var(--forest-800) 0%, var(--terra-600) 130%);
  color: rgba(253,252,247,0.92);
}
.type-card--wellness .type-card__media--illustrated {
  background: linear-gradient(135deg, var(--forest-600) 0%, var(--gold-700) 130%);
  color: rgba(253,252,247,0.92);
}
.type-card__bg-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  transition: transform 800ms var(--ease-out), opacity 400ms;
}
.type-card__icon-large {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  background: rgba(253,252,247,0.12);
  border: 1.5px solid rgba(253,252,247,0.25);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 400ms var(--ease-spring), background 300ms;
}
.type-card__icon-large svg {
  width: 42px; height: 42px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.type-card--illustrated:hover .type-card__bg-icon {
  transform: rotate(20deg) scale(1.15);
  opacity: 0.28;
}
.type-card--illustrated:hover .type-card__icon-large {
  transform: scale(1.1) translateY(-4px);
  background: rgba(253,252,247,0.20);
}
.type-card__body { padding: var(--s-6); }
.type-card__range {
  display: inline-block;
  padding: 4px 12px;
  background: var(--forest-50);
  color: var(--forest-700);
  border-radius: var(--r-full);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--s-3);
}
.type-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
  color: var(--stone-800);
}
.type-card p {
  color: var(--stone-600);
  font-size: var(--t-base);
  line-height: 1.6;
}
.types__cta {
  text-align: center;
  margin-top: var(--s-12);
}
.types__cta p {
  color: var(--stone-500);
  margin-bottom: var(--s-3);
}

/* ━━━━━━━━━━━━━━━━ CASE STUDY ━━━━━━━━━━━━━━━━ */
.cases {
  background: var(--forest-900);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(30,114,59,0.4), transparent 50%);
  pointer-events: none;
}
.cases__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-6);
  position: relative;
}
.case-card {
  background: rgba(253,252,247,0.04);
  border: 1px solid rgba(253,252,247,0.10);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 300ms var(--ease-out);
}
.case-card:hover {
  background: rgba(253,252,247,0.06);
  transform: translateY(-4px);
}
.case-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-card__body { padding: var(--s-6); }
.case-card__client {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-500);
  color: var(--forest-900);
  border-radius: var(--r-full);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.case-card h3 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.case-card__meta {
  font-size: var(--t-sm);
  color: rgba(253,252,247,0.55);
  margin-bottom: var(--s-4);
}
.case-card__meta strong { color: var(--gold-300); }
.case-card p { color: rgba(253,252,247,0.78); line-height: 1.6; }
.case-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-lg);
  line-height: 1.45;
  color: var(--cream-50);
  border-left: 2px solid var(--gold-500);
  padding-left: var(--s-4);
  margin: var(--s-4) 0;
}
.case-card__author {
  display: block;
  font-style: normal;
  font-size: var(--t-sm);
  color: rgba(253,252,247,0.6);
}
.case-card--large {
  grid-row: span 2;
}
.case-card--large .case-card__media { aspect-ratio: 4 / 3; }

/* ━━━━━━━━━━━━━━━━ TEAM ━━━━━━━━━━━━━━━━ */
.team {
  background: var(--cream-100);
}
.team__hero {
  margin-block: var(--s-12);
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.team__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
  max-width: 720px;
  margin: 0 auto;
}
.team-avatar {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest-100);
  border: 3px solid var(--cream-50);
  box-shadow: var(--shadow-sm);
  transition: transform 250ms var(--ease-out);
}
.team-avatar:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team__cta {
  text-align: center;
  margin-top: var(--s-12);
}

/* ━━━━━━━━━━━━━━━━ TESTIMONIAL ━━━━━━━━━━━━━━━━ */
.testimonials {
  background: var(--cream-50);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.testimonial {
  padding: var(--s-8);
  background: var(--cream-100);
  border-radius: var(--r-xl);
  border: 1px solid var(--stone-100);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transition: all 300ms var(--ease-out);
}
.testimonial:hover {
  background: var(--cream-50);
  border-color: var(--forest-200);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  display: flex;
  gap: 2px;
  color: var(--gold-500);
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--stone-800);
  flex: 1;
}
.testimonial footer {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}
.testimonial footer img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial footer strong {
  display: block;
  color: var(--stone-800);
  font-weight: 600;
}
.testimonial footer span {
  display: block;
  font-size: var(--t-sm);
  color: var(--stone-500);
}

/* ━━━━━━━━━━━━━━━━ FAQ ━━━━━━━━━━━━━━━━ */
.faq {
  background: var(--cream-100);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  background: var(--cream-50);
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  transition: all 200ms;
}
.faq-item[open] {
  border-color: var(--forest-300);
  background: var(--cream-50);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--stone-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--forest-50);
  color: var(--forest-700);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out), background 200ms;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--forest-600);
  color: var(--cream-50);
}
.faq-item summary:hover { color: var(--forest-700); }
.faq-item p {
  padding: 0 var(--s-6) var(--s-6);
  color: var(--stone-600);
  line-height: 1.65;
}
.faq__cta {
  margin-top: var(--s-12);
  text-align: center;
  padding: var(--s-8);
  background: var(--cream-50);
  border-radius: var(--r-xl);
}
.faq__cta p { color: var(--stone-500); margin-bottom: var(--s-5); }
.faq__cta-actions { display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap; }

/* ━━━━━━━━━━━━━━━━ CTA FINALE ━━━━━━━━━━━━━━━━ */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #082F18 0%, #1E723B 60%, #E2725B 130%);
  color: var(--cream-50);
  padding-block: clamp(6rem, 10vw, 10rem);
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-final__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background: rgba(253,252,247,0.15);
}
.cta-final__blob--1 {
  width: 300px; height: 300px;
  top: 10%; left: 5%;
  animation: blobFloat1 14s ease-in-out infinite;
}
.cta-final__blob--2 {
  width: 250px; height: 250px;
  top: 60%; right: 10%;
  background: rgba(212,162,76,0.2);
  animation: blobFloat2 16s ease-in-out infinite;
}
.cta-final__blob--3 {
  width: 200px; height: 200px;
  bottom: 10%; left: 30%;
  animation: blobFloat1 18s ease-in-out infinite;
}
.cta-final__inner { position: relative; z-index: 1; }
.cta-final .h-section { margin: var(--s-6) auto var(--s-6); }
.cta-final .lead { margin: 0 auto var(--s-10); }
.cta-final__trust {
  margin-top: var(--s-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  justify-content: center;
  font-size: var(--t-sm);
  color: rgba(253,252,247,0.78);
}

/* ━━━━━━━━━━━━━━━━ FOOTER ━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--forest-950);
  color: var(--cream-200);
  padding-block: var(--s-12) var(--s-6);
  position: relative;
}
.footer__top-line {
  height: 2px;
  background: linear-gradient(90deg, var(--forest-600), var(--gold-500));
  opacity: 0.6;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-12);
  padding-block: var(--s-12) var(--s-10);
  align-items: start;
}

.footer__brand { max-width: 380px; }
.footer__logo { width: 200px; height: auto; margin-bottom: var(--s-4); }
.footer__tagline {
  font-size: var(--t-base);
  color: rgba(244,239,226,0.65);
  margin-bottom: var(--s-6);
  line-height: 1.5;
}

.footer__social { display: flex; gap: var(--s-3); }
.footer__social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(253,252,247,0.06);
  border: 1px solid rgba(253,252,247,0.10);
  border-radius: 50%;
  color: var(--cream-200);
  transition: all 250ms var(--ease-out);
}
.footer__social a:hover {
  background: var(--forest-600);
  border-color: var(--forest-500);
  color: var(--cream-50);
  transform: translateY(-2px);
}

.footer__contact h4 {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--cream-50);
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.footer__contact address {
  font-style: normal;
  font-size: var(--t-base);
  line-height: 1.7;
  color: rgba(244,239,226,0.78);
  margin-bottom: var(--s-5);
}
.footer__contact address strong {
  color: var(--cream-50);
  font-weight: 600;
}
.footer__contact-line {
  font-size: var(--t-base);
  line-height: 1.8;
}
.footer__contact-line a {
  color: rgba(244,239,226,0.78);
  transition: color 200ms;
}
.footer__contact-line a:hover { color: var(--gold-300); }

.footer__legal {
  padding: var(--s-5) 0;
  font-size: var(--t-xs);
  line-height: 1.6;
  color: rgba(244,239,226,0.45);
  border-top: 1px solid rgba(253,252,247,0.08);
}
.footer__legal p { max-width: 920px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(253,252,247,0.08);
  font-size: var(--t-xs);
  color: rgba(244,239,226,0.55);
}
.footer__bottom a {
  color: rgba(244,239,226,0.7);
  transition: color 200ms;
}
.footer__bottom a:hover { color: var(--cream-50); }
.footer__sep { margin-inline: var(--s-3); color: rgba(244,239,226,0.3); }
.footer__credit { font-style: italic; }
.footer__credit a { font-style: normal; color: var(--gold-300); }
.footer__credit a:hover { color: var(--cream-50); }

/* ━━━━━━━━━━━━━━━━ STICKY CTA MOBILE ━━━━━━━━━━━━━━━━ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-3) var(--s-4);
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--stone-100);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 300ms var(--ease-out);
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }

/* ━━━━━━━━━━━━━━━━ REVEAL ANIMATIONS ━━━━━━━━━━━━━━━━ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━ RESPONSIVE ━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 280px 280px 280px 280px;
  }
  .gallery__item--large { grid-column: span 2; grid-row: span 1; }
  .gallery__item--vertical { grid-column: span 1; grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; grid-row: 4; }

  .pain__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .solution__inner { grid-template-columns: 1fr; gap: var(--s-10); }

  .types__grid { grid-template-columns: repeat(2, 1fr); }

  .cases__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .case-card--large { grid-row: auto; }

  .testimonials__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: 88vh; padding: 100px 0 80px; }
  .h-hero { font-size: clamp(2.5rem, 9vw, 4rem); max-width: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__trust { font-size: var(--t-xs); }

  .numbers__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-10); }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 240px);
  }
  .gallery__item--large, .gallery__item--vertical, .gallery__item--wide {
    grid-column: span 1; grid-row: span 1;
  }

  .howto__grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .howto__grid::before { display: none; }

  .types__grid { grid-template-columns: 1fr; }

  .cat-grid { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .timing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: span 1; }
  .budget-grid { grid-template-columns: 1fr; }
  .budget-tile--full { grid-column: span 1; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--s-10); }

  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .site-header { display: none; }

  .testimonial__stars { gap: 1px; }
  .configurator { padding: var(--s-6); }

  .team__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .pain-card { padding: var(--s-6); }
  .pain-card h3 { font-size: var(--t-lg); }

  .footer__bottom { flex-direction: column; }
  .cta-final__trust { flex-direction: column; gap: var(--s-3); }

  .case-card__quote { font-size: var(--t-base); }
}

/* ━━━━━━━━━━━━━━━━ REDUCED MOTION ━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg img { animation: none; transform: scale(1); }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .h-hero__line-1, .h-hero__line-2, .hero__lead, .hero__cta, .hero__trust {
    opacity: 1 !important;
    animation: none !important;
  }
}
