/* ========================================
   ECOBA Luxury Minimal Design System
   ======================================== */

:root {
  --white:        #FFFFFF;
  --cream:        #F7F5F1;
  --green-dark:   #0D2818;
  --green-mid:    #1B4D2E;
  --green-accent: #2D7A4A;
  --green-light:  #E8F2EC;
  --silver:       #8FA39A;  /* muted sage sostituisce oro */
  --gray-100:     #F4F4F2;
  --gray-200:     #E5E5E3;
  --gray-400:     #9CA3AF;
  --gray-600:     #6B7280;
  --accent:         var(--green-accent);
  --primary:        var(--green-dark);
  --text-primary:   var(--green-dark);
  --text-muted:     var(--silver);
  --bg:             var(--white);
  --bg-alt:         var(--cream);
  --bg-secondary:   var(--cream);
  --bg-tertiary:    var(--green-light);
  --bg-dark:        var(--green-dark);
  --border:         var(--gray-200);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Fluid type */
  --t-xs:   clamp(0.70rem, 0.9vw, 0.78rem);
  --t-sm:   clamp(0.82rem, 1.0vw, 0.90rem);
  --t-base: clamp(0.94rem, 1.1vw, 1.00rem);
  --t-lg:   clamp(1.05rem, 1.4vw, 1.20rem);
  --t-xl: clamp(1.6rem, 3vw, 2.5rem);
  --t-2xl:  clamp(1.50rem, 3.0vw, 2.25rem);
  --t-3xl:  clamp(2.00rem, 4.5vw, 3.50rem);
  --t-hero: clamp(2.80rem, 6.0vw, 6.00rem);

  /* Spacing */
  --s1:4px;
  --s2:8px;
  --s3:16px;
  --s4:24px;
  --s5:32px;
  --s6:48px;
  --s8:64px;
  --s10:80px;
  --s12:96px;
  --s16:128px;
  --container: 1320px;
  --pad:       clamp(16px, 5vw, 80px);
  --section:   clamp(72px, 9vw, 140px);
  --radius:    4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --ease: 400ms cubic-bezier(0.25, 0, 0.1, 1);
  --ease-slow: 700ms cubic-bezier(0.25, 0, 0.1, 1);
  --z-nav:    100;
  --z-cursor: 9999;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body, .btn, .service-card { cursor: auto; } }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--green-dark); color: var(--white); }
:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 3px; }

/* ---- Typography ---- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 700;
}
h1 { font-size: var(--t-hero);  font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--t-3xl);  letter-spacing: -0.02em; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.70; }

.mono { font-family: var(--font-mono); font-size: 0.72em; letter-spacing: 0.14em; text-transform: uppercase; }
.label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-accent); }
.accent { color: var(--green-accent); }
.gold   { color: var(--silver); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
section { padding: var(--section) 0; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--green-accent);
  flex-shrink: 0;
}

/* ---- Cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--green-dark);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, border-color .2s;
  mix-blend-mode: multiply;
}
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green-dark);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
}
.cursor.hover { width: 48px; height: 48px; background: rgba(13,40,24,.06); }
.cursor.click { width: 24px; height: 24px; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---- Buttons ---- */

.btn-vendi-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--grigio-mid);
    overflow: hidden;
    flex-shrink: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: none; cursor: none;
  transition: var(--ease);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn--dark {
  background: var(--green-dark); color: var(--white);
}
.btn--dark:hover { background: var(--green-mid); }
.btn--outline {
  background: transparent; color: var(--green-dark);
  border: 1px solid var(--green-dark);
}
.btn--outline:hover { background: var(--green-dark); color: var(--white); }
.btn--white {
  background: var(--white); color: var(--green-dark);
}
.btn--white:hover { background: var(--cream); }
.btn-arrow { font-size: 1.1em; transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---- Nav ---- */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: calc(var(--z-nav) + 2);
  padding: calc(24px + env(safe-area-inset-top)) 0 24px;
  transition: padding .4s, background .4s, border-bottom .4s, box-shadow .4s;
}
#main-nav.scrolled {
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.nav__logo-desktop { height: 48px; width: 48px; display: block; object-fit: contain; }
.nav__logo-mobile  { height: 48px; width: 48px; display: none; object-fit: contain; }
@media (max-width: 600px) {
  .nav__logo-desktop { display: none; }
  .nav__logo-mobile  { display: block; }
}
.nav__links { display: flex; align-items: center; gap: var(--s5); }
.nav__link {
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 500;
  color: var(--text-secondary); position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s;
}
.nav__link i {color: var(--text-secondary);transition: color .25s;}
.nav__link:hover i, .nav__link.active i { color: var(--green-dark); }
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--green-dark);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav__link:hover, .nav__link.active {color: var(--green-mid);}
.nav__link:hover::after, .nav__link.active::after {transform: scaleX(1);background: var(--green-mid);}
.nav__cta {
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
  padding: 9px 22px;
  background: var(--green-dark); color: var(--white);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .25s;
}
.nav__cta i { color: rgba(255,255,255,.65); font-size: 0.85em; }
.nav__cta:hover { background: var(--green-mid); }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
  position: relative; z-index: calc(var(--z-nav) + 10);
  -webkit-appearance: none; touch-action: manipulation;
}
.nav__hamburger span {
  position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--green-dark);
  transition: transform .35s cubic-bezier(0.25,0,0.1,1), opacity .3s, background .3s;
  transform-origin: center; border-radius: 1px;
}
.nav__hamburger span:nth-child(1) { top: 13px; }
.nav__hamburger span:nth-child(2) { top: 21px; }
.nav__hamburger span:nth-child(3) { top: 29px; }
.nav__hamburger.open span {background: var(--green-dark);}
.nav__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: calc(var(--z-nav) + 1);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(max(80px, env(safe-area-inset-top)) + 16px) var(--pad) calc(clamp(32px,6vw,56px) + env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none;
  transform: translateX(6%);
  transition: opacity .4s cubic-bezier(0.25,0,0.1,1), transform .4s cubic-bezier(0.25,0,0.1,1);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: auto;
  overflow-y: auto;
}
.nav__mobile.open { opacity: 1; pointer-events: auto; transform: translateX(0); }

.nav__mobile ul { display: flex; flex-direction: column; }
.nav__mobile ul li {
  border-bottom: 1px solid var(--border);
}
.nav__mobile .nav__link {
  display: flex; align-items: center; gap: var(--s4);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-weight: 700; color: var(--green-dark);
  padding: clamp(14px,3vw,22px) 0;
  letter-spacing: -0.02em;
  transition: color .25s;
}
.nav__mobile .nav__link i {
  font-size: 0.45em;
  color: var(--green-accent);
  flex-shrink: 0;
}
.nav__mobile .nav__link:hover { color: var(--green-accent); }
.nav__mobile .nav__link:hover i { color: var(--green-dark); }

.nav__mobile-footer {
  display: flex; flex-direction: column; gap: var(--s2);
  padding-top: var(--s6);
}
.nav__mobile-footer a {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); transition: color .25s;
}
.nav__mobile-footer a:hover { color: var(--text-primary); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: block; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative;
  background: var(--white);
  padding: 120px var(--pad) 80px;
  overflow: hidden;
}

/* Subtle green corner accent */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  background: radial-gradient(circle at 100% 100%, var(--gray-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s6);
  position: relative;
  z-index: 1;
  max-width: -webkit-fill-available;
}

.hero__logo {
  width: clamp(220px, 40vw, 520px);
  height: auto;
  display: block;
}

.hero__divider {
  width: 40px; height: 1px;
  background: var(--green-accent);
  margin: 0 auto;
  opacity: 0.5;
}

/* Restructura Design card brand partner style */
.service-card--partner .service-card__overlay {
  background: linear-gradient(to top, rgba(27,77,46,.9) 0%, rgba(27,77,46,.35) 55%, transparent 100%);
}
.service-card--partner:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(27,77,46,.96) 0%, rgba(27,77,46,.6) 60%, rgba(27,77,46,.15) 100%);
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.60rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px;
  margin-bottom: var(--s2);
  width: fit-content;
}
.partner-badge::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-accent);
  flex-shrink: 0;
}

.tagline-gradient {
  background: linear-gradient(105deg, var(--green-accent) 0%, var(--silver) 55%, #C8D8D0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.4;
  max-width: 54ch;
}

.hero__sub {
  font-size: var(--t-xl);
  color: var(--text-secondary);
  max-width: -webkit-fill-available;
  line-height: 1.5;
}

.hero__sub .phrase {
  display: inline;
  background: linear-gradient(
    90deg,
    var(--text-secondary) 0%,
    var(--text-secondary) 25%,
    var(--green-accent)      40%,
    var(--green-accent)   50%,
    var(--green-mid)      60%,
    var(--text-secondary) 75%,
    var(--text-secondary) 100%
  );
  background-size: 400% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: phrase-wave 5s ease-in-out infinite;
  animation-fill-mode: backwards;
}
.hero__sub .phrase:nth-of-type(1) { animation-delay: 0s; }
.hero__sub .phrase:nth-of-type(2) { animation-delay: 2.5s; }

@media (max-width: 768px) {
  .hero__sub .phrase { display: block; }
}

@keyframes phrase-wave {
  0%, 38%  { background-position: 100% center; }
  50%      { background-position:  50% center; }
  62%, 100%{ background-position:   0% center; }
}

.hero__cta {
  display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center;
  margin-top: var(--s2);
}

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); z-index: 1;
}
.hero__scroll .mono { font-size: 0.62rem; letter-spacing: 0.22em; }
.scroll-bar {
  width: 1px; height: 40px; background: var(--gray-200); position: relative; overflow: hidden;
}
.scroll-bar::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--green-dark);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { to { top: 200%; } }

/* ---- INTRO STRIP ---- */
.intro-section {
  background: var(--gray-100);
  padding: var(--s16) 0;
}
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
@media (max-width: 768px) {
  
  .intro-section .container { grid-template-columns: 1fr; }
  .hero__inner{
    gap: var(--s5);
  }
}
.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.intro__statement em {
  font-style: normal;
  color: var(--green-accent);
}
.intro__right { display: flex; flex-direction: column; gap: var(--s5); }
.intro__body { color: var(--text-secondary); font-size: var(--t-lg); font-weight: 300; line-height: 1.7; }
.intro__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid rgba(13,40,24,0.10);
}
.intro__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--green-dark);
  line-height: 1;
  display: block; margin-bottom: 6px;
}
.intro__stat-label { font-size: var(--t-xs); color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- SERVICES ---- */
.services-section { background: #F5F7F5; }
.services-section h2 { margin-bottom: clamp(40px, 6vw, 72px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: block;
  background: var(--white);
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: none;
  text-decoration: none;
}
.service-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.25,0,0.1,1);
}
.service-card:hover .service-card__img { transform: scale(1.04); }

/* Gradient overlay always visible */
.service-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,40,24,.85) 0%, rgba(13,40,24,.2) 55%, transparent 100%);
  transition: background .5s;
}
.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(13,40,24,.92) 0%, rgba(13,40,24,.5) 60%, rgba(13,40,24,.1) 100%);
}

.service-card__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 3vw, 36px);
  color: var(--white);
}
.service-card__num {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.18em; color: rgba(255,255,255,0.40);
  margin-bottom: var(--s2);
}
.service-card__title {
  font-family: var(--font-display); font-size: var(--t-2xl);
  font-weight: 700; color: var(--white);
  margin-bottom: var(--s2);
  line-height: 1.15;
}
.service-card__desc {
  color: rgba(255,255,255,.7); font-size: var(--t-sm); line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(0.25,0,0.1,1), opacity .4s;
  opacity: 0;
}
.service-card:hover .service-card__desc { max-height: 120px; opacity: 1; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
  color: rgba(255,255,255,0.90);
  margin-top: var(--s3);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s .05s, opacity .4s .1s;
}
.service-card:hover .service-card__link { max-height: 40px; opacity: 1; }

/* ---- TERRITORIO ---- */
.territory-section { background: var(--white); }
.territory__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px); align-items: center;
}
@media (max-width: 768px) { .territory__grid { grid-template-columns: 1fr; } }

.territory__text h2 { margin-bottom: var(--s4); }
.territory__text p  { font-size: var(--t-lg); font-weight: 300; margin-bottom: var(--s6); }
.territory__regions { display: flex; flex-direction: column; gap: var(--s2); }
.region-item {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  background: var(--white);
  transition: border-color .25s, border-left-color .25s, background .25s;
  cursor: default;
}
.region-item:hover, .region-item.active {
  border-color: var(--border);
  border-left-color: var(--green-accent);
  background: var(--green-light);
}
.region-item__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-accent); flex-shrink: 0;
}
.region-item__content { flex: 1; }
.region-item__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--t-base); }
.region-item__meta {
  display: block; font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--text-muted); margin-top: 3px;
}
.region-item__arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--green-accent);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.region-item:hover .region-item__arrow,
.region-item.active .region-item__arrow { opacity: 1; transform: translateX(0); }

.coverage__map svg { width: 100%; height: auto; filter: drop-shadow(0 8px 32px rgba(0,0,0,.08)); }
.map-inactive { fill: #D1D5DB; transition: fill .25s; }
.map-active   {
  fill: var(--green-mid);
  stroke: rgba(255,255,255,0.15); stroke-width: 1.5;
  transition: fill .25s, stroke .25s;
}
.map-active:hover, .map-active.highlighted {
  fill: var(--green-accent);
  stroke: rgba(255,255,255,0.4);
  cursor: default;
}
.map-tooltip {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  padding: 8px 14px; font-size: var(--t-xs); font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.1); pointer-events: none;
  opacity: 0; transition: opacity .2s; white-space: nowrap; z-index: 10;
}

/* ---- SOSTENIBILITÃƒÆ’Ã†€™Ãƒ¢Ã¢‚¬Å¡Ã‚¬ ---- */
.sustainability-section { background: var(--white); }
.sustain__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px); align-items: start;
}
@media (max-width: 768px) { .sustain__grid { grid-template-columns: 1fr; } }

.sustain__metrics { display: flex; flex-direction: column; gap: var(--s4); }
.metric-row {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--white); border: 1px solid var(--border);
}
.metric-row__num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--green-dark); line-height: 1;
  min-width: 90px;
}
.metric-row__unit { font-size: var(--t-sm); color: var(--silver); font-family: var(--font-mono); }
.metric-row__label { font-size: var(--t-sm); color: var(--text-secondary); }

.sustain__quote {
  padding: var(--s6);
  border-left: 3px solid var(--silver);
  background: var(--white);
}
.sustain__quote p {
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: var(--s3);
}
.sustain__quote cite {
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--silver); letter-spacing: 0.14em; text-transform: uppercase; font-style: normal;
}

/* ---- CONTACT CTA ---- */
.contact-section {
  background: var(--gray-100);
  text-align: center;
  padding: clamp(80px, 10vw, 160px) 0;
}
.contact-section h2 { color: var(--green-dark); margin-bottom: var(--s4); }
.contact-section p  { color: var(--text-secondary); font-size: var(--t-lg); font-weight: 300; max-width: 48ch; margin: 0 auto var(--s8); }
.contact__actions   { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }
.contact__info {
  display: flex; gap: var(--s8); justify-content: center; flex-wrap: wrap;
  margin-top: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(13,40,24,.10);
}
.contact__info-item { text-align: center; }
.contact__info-item .mono { color: var(--green-accent); margin-bottom: 6px; }
.contact__info-item a { color: var(--text-primary); font-size: var(--t-base); transition: color .25s; }
.contact__info-item a:hover { color: var(--green-accent); }
.contact__info-item span { color: var(--text-secondary); font-size: var(--t-base); }

/* ---- FOOTER ---- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }
.footer__main {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 8vw, 100px);
  padding: var(--s12) 0 var(--s10);
}
@media (max-width: 768px) { .footer__main { grid-template-columns: 1fr; } }

.footer__brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer__logo  { height: 28px; width: auto; max-width: 180px; object-fit: contain; }
.footer__tagline { color: var(--text-muted); font-size: var(--t-sm); }
.footer__social { display: flex; gap: var(--s2); }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: border-color .25s, color .25s;
}
.footer__social a:hover { border-color: var(--green-dark); color: var(--green-dark); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

.footer__links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6);
}
@media (max-width: 480px) { .footer__links { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--s4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer__col a { font-size: var(--t-sm); color: var(--text-secondary); transition: color .25s; }
.footer__col a:hover { color: var(--green-dark); }

.footer__legal {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  padding: var(--s4) 0 var(--s6);
  border-top: 1px solid var(--border);
}
.footer__legal p, .footer__legal a {
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--text-muted); letter-spacing: 0.06em;
}
.footer__legal a:hover { color: var(--text-primary); }
.footer__legal-links { display: flex; gap: var(--s4); }

/* ÃƒÆ’Ã‚¢Ãƒ¢Ã¢€š¬Ã‚Ãƒ¢Ã¢‚¬Å¡Ã‚¬ÃƒÆ’Ã‚¢Ãƒ¢Ã¢€š¬Ã‚Ãƒ¢Ã¢‚¬Å¡Ã‚¬ PROCESSO DI CONSEGNA ÃƒÆ’Ã‚¢Ãƒ¢Ã¢€š¬Ã‚Ãƒ¢Ã¢‚¬Å¡Ã‚¬ÃƒÆ’Ã‚¢Ãƒ¢Ã¢€š¬Ã‚Ãƒ¢Ã¢‚¬Å¡Ã‚¬ */
.process-section  { background: var(--gray-100); }
.tracking-section { background: var(--white); }

.process__intro {
  max-width: 560px;
  margin-top: var(--s4);
}

.process__track-wrap {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
}

/* Horizontal connector gray base */
.process__line {
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  pointer-events: none;
  z-index: 0;
}

/* Animated green fill */
.process__line-fill {
  position: absolute;
  inset: 0;
  background: var(--green-accent);
  transform-origin: left center;
}

/* Steps row */
.process__steps {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  position: relative;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

/* Circle node */
.process__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--green-dark);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process__text {
  margin-top: var(--s4);
  padding: 0 var(--s1);
}

.process__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: var(--s2);
}

.process__title {
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: calc(var(--s2) + 2px);
  line-height: 1.2;
}

.process__desc {
  font-size: var(--t-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.process__note {
  margin-top: var(--s6);
  padding: var(--s3) var(--s4);
  border-left: 2px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Mobile: vertical stacked layout */
@media (max-width: 768px) {
  .process__line { display: none; }

  .process__steps {
    flex-direction: column;
    gap: 0;
  }

  .process__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--s4);
    padding-bottom: var(--s5);
    position: relative;
  }
  .process__step:last-child { padding-bottom: 0; }

  /* Vertical connector: from bottom of circle to center of next circle */
  .process__step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 35px;
    width: 2px;
    height: calc(100% - 36px);
    background: var(--gray-200);
    pointer-events: none;
    z-index: 0;
  }

  .process__text {
    margin-top: 0;
    padding: 8px 0 0;
  }

  .process__circle { flex-shrink: 0; }
}

/* ---- Accessibility ---- */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
/* ========================================
   ECOBA Ãƒ¢Ã¢€š¬Ã¢‚¬ Luxury Minimal Design System
   ======================================== */

:root {
  --white:        #FFFFFF;
  --cream:        #F7F5F1;
  --green-dark:   #0D2818;
  --green-mid:    #1B4D2E;
  --green-accent: #2D7A4A;
  --green-light:  #E8F2EC;
  --silver:       #8FA39A;  /* muted sage Ãƒ¢Ã¢€š¬Ã¢‚¬ sostituisce oro */
  --gray-100:     #F4F4F2;
  --gray-200:     #E5E5E3;
  --gray-400:     #9CA3AF;
  --gray-600:     #6B7280;
  --text-primary:   var(--green-dark);
  --text-secondary: var(--gray-600);
  --text-muted:     var(--gray-400);
  --bg:             var(--white);
  --bg-alt:         var(--cream);
  --border:         var(--gray-200);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Fluid type */
  --t-xs:   clamp(0.70rem, 0.9vw, 0.78rem);
  --t-sm:   clamp(0.82rem, 1.0vw, 0.90rem);
  --t-base: clamp(0.94rem, 1.1vw, 1.00rem);
  --t-lg:   clamp(1.05rem, 1.4vw, 1.20rem);
  --t-xl: clamp(1.6rem, 3vw, 2.5rem);
  --t-2xl:  clamp(1.50rem, 3.0vw, 2.25rem);
  --t-3xl:  clamp(2.00rem, 4.5vw, 3.50rem);
  --t-hero: clamp(2.80rem, 6.0vw, 6.00rem);

  /* Spacing */
  --s1:4px;
  --s2:8px;
  --s3:16px;
  --s4:24px;
  --s5:32px;
  --s6:48px;
  --s8:64px;
  --s10:80px;
  --s12:96px;
  --s16:128px;
  --container: 1320px;
  --pad:       clamp(16px, 5vw, 80px);
  --section:   clamp(72px, 9vw, 140px);
  --radius:    4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --ease: 400ms cubic-bezier(0.25, 0, 0.1, 1);
  --ease-slow: 700ms cubic-bezier(0.25, 0, 0.1, 1);
  --z-nav:    100;
  --z-cursor: 9999;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body, .btn, .service-card { cursor: auto; } }
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--green-dark); color: var(--white); }
:focus-visible { outline: 2px solid var(--green-accent); outline-offset: 3px; }

/* ---- Typography ---- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--text-primary);
  font-weight: 700;
}
h1 { font-size: var(--t-hero);  font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--t-3xl);  letter-spacing: -0.02em; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.70; }

.mono { font-family: var(--font-mono); font-size: 0.72em; letter-spacing: 0.14em; text-transform: uppercase; }
.label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-accent); }
.accent { color: var(--green-accent); }
.gold   { color: var(--silver); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
section { padding: var(--section) 0; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--green-accent);
  flex-shrink: 0;
}

/* ---- Cursor ---- */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--green-dark);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, border-color .2s;
  mix-blend-mode: multiply;
}
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green-dark);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
}
.cursor.hover { width: 48px; height: 48px; background: rgba(13,40,24,.06); }
.cursor.click { width: 24px; height: 24px; }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: none; cursor: none;
  transition: var(--ease);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn--dark {
  background: var(--green-dark); color: var(--white);
}
.btn--dark:hover { background: var(--green-mid); }
.btn--outline {
  background: transparent; color: var(--green-dark);
  border: 1px solid var(--green-dark);
}
.btn--outline:hover { background: var(--green-dark); color: var(--white); }
.btn--white {
  background: var(--white); color: var(--green-dark);
}
.btn--white:hover { background: var(--cream); }
.btn-arrow { font-size: 1.1em; transition: transform .3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---- Nav ---- */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: calc(var(--z-nav) + 2);
  padding: calc(24px + env(safe-area-inset-top)) 0 24px;
  transition: padding .4s, background .4s, border-bottom .4s, box-shadow .4s;
}
#main-nav.scrolled {
  padding: calc(14px + env(safe-area-inset-top)) 0 14px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.nav__logo-desktop { height: 48px; width: 48px; display: block; object-fit: contain; }
.nav__logo-mobile  { height: 48px; width: 48px; display: none; object-fit: contain; }
@media (max-width: 600px) {
  .nav__logo-desktop { display: none; }
  .nav__logo-mobile  { display: block; }
}
.nav__links { display: flex; align-items: center; gap: var(--s5); }
.nav__link {
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 500;
  color: var(--text-secondary); position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .25s;
}
.nav__link i {color: var(--text-secondary);transition: color .25s;}
.nav__link:hover i, .nav__link.active i { color: var(--green-dark); }
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--green-dark);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav__link:hover, .nav__link.active {color: var(--green-mid);}
.nav__link:hover::after, .nav__link.active::after {transform: scaleX(1);background: var(--green-mid);}
.nav__cta {
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
  padding: 9px 22px;
  background: var(--green-dark); color: var(--white);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .25s;
}
.nav__cta i { color: rgba(255,255,255,.65); font-size: 0.85em; }
.nav__cta:hover { background: var(--green-mid); }

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
  position: relative; z-index: calc(var(--z-nav) + 10);
  -webkit-appearance: none; touch-action: manipulation;
}
.nav__hamburger span {
  position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--green-dark);
  transition: transform .35s cubic-bezier(0.25,0,0.1,1), opacity .3s, background .3s;
  transform-origin: center; border-radius: 1px;
}
.nav__hamburger span:nth-child(1) { top: 13px; }
.nav__hamburger span:nth-child(2) { top: 21px; }
.nav__hamburger span:nth-child(3) { top: 29px; }
.nav__hamburger.open span {background: var(--green-dark);}
.nav__hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: calc(var(--z-nav) + 1);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(max(80px, env(safe-area-inset-top)) + 16px) var(--pad) calc(clamp(32px,6vw,56px) + env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none;
  transform: translateX(6%);
  transition: opacity .4s cubic-bezier(0.25,0,0.1,1), transform .4s cubic-bezier(0.25,0,0.1,1);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: auto;
  overflow-y: auto;
}
.nav__mobile.open { opacity: 1; pointer-events: auto; transform: translateX(0); }

.nav__mobile ul { display: flex; flex-direction: column; }
.nav__mobile ul li {
  border-bottom: 1px solid var(--border);
}
.nav__mobile .nav__link {
  display: flex; align-items: center; gap: var(--s4);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-weight: 700; color: var(--green-dark);
  padding: clamp(14px,3vw,22px) 0;
  letter-spacing: -0.02em;
  transition: color .25s;
}
.nav__mobile .nav__link i {
  font-size: 0.45em;
  color: var(--green-accent);
  flex-shrink: 0;
}
.nav__mobile .nav__link:hover { color: var(--green-accent); }
.nav__mobile .nav__link:hover i { color: var(--green-dark); }

.nav__mobile-footer {
  display: flex; flex-direction: column; gap: var(--s2);
  padding-top: var(--s6);
}
.nav__mobile-footer a {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); transition: color .25s;
}
.nav__mobile-footer a:hover { color: var(--text-primary); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: block; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative;
  background: var(--white);
  padding: 120px var(--pad) 80px;
  overflow: hidden;
}

/* Subtle green corner accent */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(200px, 35vw, 500px);
  height: clamp(200px, 35vw, 500px);
  background: radial-gradient(circle at 100% 100%, var(--gray-100) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  max-width: -webkit-fill-available;
}

.hero__logo {
  width: clamp(220px, 33vw, 436px);
  height: auto;
  display: block;
}

.hero__divider {
  width: 40px; height: 1px;
  background: var(--green-accent);
  margin: 0 auto;
  opacity: 0.5;
}

/* Restructura Design card Ãƒ¢Ã¢€š¬Ã¢‚¬ brand partner style */
.service-card--partner .service-card__overlay {
  background: linear-gradient(to top, rgba(27,77,46,.9) 0%, rgba(27,77,46,.35) 55%, transparent 100%);
}
.service-card--partner:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(27,77,46,.96) 0%, rgba(27,77,46,.6) 60%, rgba(27,77,46,.15) 100%);
}
.partner-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.60rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.2);
  padding: 4px 10px;
  margin-bottom: var(--s2);
  width: fit-content;
}
.partner-badge::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-accent);
  flex-shrink: 0;
}

.tagline-gradient {
  background: linear-gradient(105deg, var(--green-accent) 0%, var(--silver) 55%, #C8D8D0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  line-height: 1.4;
  max-width: 54ch;
}

.hero__sub {
  font-size: var(--t-xl);
  color: var(--text-secondary);
  max-width: -webkit-fill-available;
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 40px;
}

.hero__sub .phrase {
  display: inline;
  background: linear-gradient(
    90deg,
    var(--text-secondary) 0%,
    var(--text-secondary) 25%,
    var(--green-accent)      40%,
    var(--green-accent)   50%,
    var(--green-mid)      60%,
    var(--text-secondary) 75%,
    var(--text-secondary) 100%
  );
  background-size: 400% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: phrase-wave 5s ease-in-out infinite;
  animation-fill-mode: backwards;
}
.hero__sub .phrase:nth-of-type(1) { animation-delay: 0s; }
.hero__sub .phrase:nth-of-type(2) { animation-delay: 2.5s; }

@media (max-width: 768px) {
  .hero__sub .phrase { display: block; }
}

@keyframes phrase-wave {
  0%, 38%  { background-position: 100% center; }
  50%      { background-position:  50% center; }
  62%, 100%{ background-position:   0% center; }
}

.hero__cta {
  display: flex; gap: var(--s3); flex-wrap: wrap; justify-content: center;
  margin-top: var(--s2);
}

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); z-index: 1;
}
.hero__scroll .mono { font-size: 0.62rem; letter-spacing: 0.22em; }
.scroll-bar {
  width: 1px; height: 40px; background: var(--gray-200); position: relative; overflow: hidden;
}
.scroll-bar::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--green-dark);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { to { top: 200%; } }

/* ---- INTRO STRIP ---- */
.intro-section {
  background: var(--gray-100);
  padding: var(--s16) 0;
}
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
@media (max-width: 768px) {
  
  .intro-section .container { grid-template-columns: 1fr; }
  .hero__inner{
    gap: var(--s5);
  }
}
.intro__statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.intro__statement em {
  font-style: normal;
  color: var(--green-accent);
}
.intro__right { display: flex; flex-direction: column; gap: var(--s5); }
.intro__body { color: var(--text-secondary); font-size: var(--t-lg); font-weight: 300; line-height: 1.7; }
.intro__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid rgba(13,40,24,0.10);
}
.intro__stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--green-dark);
  line-height: 1;
  display: block; margin-bottom: 6px;
}
.intro__stat-label { font-size: var(--t-xs); color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---- SERVICES ---- */
.services-section { background: #F5F7F5; }
.services-section h2 { margin-bottom: clamp(40px, 6vw, 72px); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 2px solid var(--border);
}
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: block;
  background: var(--white);
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: none;
  text-decoration: none;
}
.service-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.25,0,0.1,1);
}
.service-card:hover .service-card__img { transform: scale(1.04); }

/* Gradient overlay always visible */
.service-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,40,24,.85) 0%, rgba(13,40,24,.2) 55%, transparent 100%);
  transition: background .5s;
}
.service-card:hover .service-card__overlay {
  background: linear-gradient(to top, rgba(13,40,24,.92) 0%, rgba(13,40,24,.5) 60%, rgba(13,40,24,.1) 100%);
}

.service-card__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 3vw, 36px);
  color: var(--white);
}
.service-card__num {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.18em; color: rgba(255,255,255,0.40);
  margin-bottom: var(--s2);
}
.service-card__title {
  font-family: var(--font-display); font-size: var(--t-2xl);
  font-weight: 700; color: var(--white);
  margin-bottom: var(--s2);
  line-height: 1.15;
}
.service-card__desc {
  color: rgba(255,255,255,.7); font-size: var(--t-sm); line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(0.25,0,0.1,1), opacity .4s;
  opacity: 0;
}
.service-card:hover .service-card__desc { max-height: 120px; opacity: 1; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
  color: rgba(255,255,255,0.90);
  margin-top: var(--s3);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .5s .05s, opacity .4s .1s;
}
.service-card:hover .service-card__link { max-height: 40px; opacity: 1; }

/* ---- TERRITORIO ---- */
.territory-section { background: var(--white); }
.territory__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px); align-items: center;
}
@media (max-width: 768px) { .territory__grid { grid-template-columns: 1fr; } }

.territory__text h2 { margin-bottom: var(--s4); }
.territory__text p  { font-size: var(--t-lg); font-weight: 300; margin-bottom: var(--s6); }
.territory__regions { display: flex; flex-direction: column; gap: var(--s2); }
.region-item {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  background: var(--white);
  transition: border-color .25s, border-left-color .25s, background .25s;
  cursor: default;
}
.region-item:hover, .region-item.active {
  border-color: var(--border);
  border-left-color: var(--green-accent);
  background: var(--green-light);
}
.region-item__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-accent); flex-shrink: 0;
}
.region-item__content { flex: 1; }
.region-item__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--t-base); }
.region-item__meta {
  display: block; font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--text-muted); margin-top: 3px;
}
.region-item__arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--green-accent);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
}
.region-item:hover .region-item__arrow,
.region-item.active .region-item__arrow { opacity: 1; transform: translateX(0); }

.coverage__map svg { width: 100%; height: auto; filter: drop-shadow(0 8px 32px rgba(0,0,0,.08)); }
.map-inactive { fill: #D1D5DB; transition: fill .25s; }
.map-active   {
  fill: var(--green-mid);
  stroke: rgba(255,255,255,0.15); stroke-width: 1.5;
  transition: fill .25s, stroke .25s;
}
.map-active:hover, .map-active.highlighted {
  fill: var(--green-accent);
  stroke: rgba(255,255,255,0.4);
  cursor: default;
}
.map-tooltip {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  padding: 8px 14px; font-size: var(--t-xs); font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.1); pointer-events: none;
  opacity: 0; transition: opacity .2s; white-space: nowrap; z-index: 10;
}

/* ---- SOSTENIBILITÃƒÆ’Ã¢€š¬ ---- */
.sustainability-section { background: var(--white); }
.sustain__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px); align-items: start;
}
@media (max-width: 768px) { .sustain__grid { grid-template-columns: 1fr; } }

.sustain__metrics { display: flex; flex-direction: column; gap: var(--s4); }
.metric-row {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s4) var(--s5);
  background: var(--white); border: 1px solid var(--border);
}
.metric-row__num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--green-dark); line-height: 1;
  min-width: 90px;
}
.metric-row__unit { font-size: var(--t-sm); color: var(--silver); font-family: var(--font-mono); }
.metric-row__label { font-size: var(--t-sm); color: var(--text-secondary); }

.sustain__quote {
  padding: var(--s6);
  border-left: 3px solid var(--silver);
  background: var(--white);
}
.sustain__quote p {
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: var(--s3);
}
.sustain__quote cite {
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--silver); letter-spacing: 0.14em; text-transform: uppercase; font-style: normal;
}

/* ---- CONTACT CTA ---- */
.contact-section {
  background: var(--gray-100);
  text-align: center;
  padding: clamp(80px, 10vw, 160px) 0;
}
.contact-section h2 { color: var(--green-dark); margin-bottom: var(--s4); }
.contact-section p  { color: var(--text-secondary); font-size: var(--t-lg); font-weight: 300; max-width: 48ch; margin: 0 auto var(--s8); }
.contact__actions   { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }
.contact__info {
  display: flex; gap: var(--s8); justify-content: center; flex-wrap: wrap;
  margin-top: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(13,40,24,.10);
}
.contact__info-item { text-align: center; }
.contact__info-item .mono { color: var(--green-accent); margin-bottom: 6px; }
.contact__info-item a { color: var(--text-primary); font-size: var(--t-base); transition: color .25s; }
.contact__info-item a:hover { color: var(--green-accent); }
.contact__info-item span { color: var(--text-secondary); font-size: var(--t-base); }

/* ---- FOOTER ---- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }
.footer__main {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 8vw, 100px);
  padding: var(--s12) 0 var(--s10);
}
@media (max-width: 768px) { .footer__main { grid-template-columns: 1fr; } }

.footer__brand { display: flex; flex-direction: column; gap: var(--s4); }
.footer__logo  { height: 28px; width: auto; max-width: 180px; object-fit: contain; }
.footer__tagline { color: var(--text-muted); font-size: var(--t-sm); }
.footer__social { display: flex; gap: var(--s2); }
.footer__social a {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: border-color .25s, color .25s;
}
.footer__social a:hover { border-color: var(--green-dark); color: var(--green-dark); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

.footer__links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6);
}
@media (max-width: 480px) { .footer__links { grid-template-columns: 1fr 1fr; } }
.footer__col h4 {
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--s4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer__col a { font-size: var(--t-sm); color: var(--text-secondary); transition: color .25s; }
.footer__col a:hover { color: var(--green-dark); }

.footer__legal {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4);
  padding: var(--s4) 0 var(--s6);
  border-top: 1px solid var(--border);
}
.footer__legal p, .footer__legal a {
  font-family: var(--font-mono); font-size: var(--t-xs);
  color: var(--text-muted); letter-spacing: 0.06em;
}
.footer__legal a:hover { color: var(--text-primary); }
.footer__legal-links { display: flex; gap: var(--s4); }

/* Ãƒ¢Ã¢‚¬Ã¢€š¬Ãƒ¢Ã¢‚¬Ã¢€š¬ PROCESSO DI CONSEGNA Ãƒ¢Ã¢‚¬Ã¢€š¬Ãƒ¢Ã¢‚¬Ã¢€š¬ */
.process-section  { background: var(--gray-100); }
.tracking-section { background: var(--white); }

.process__intro {
  max-width: 560px;
  margin-top: var(--s4);
}

.process__track-wrap {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
}

/* Horizontal connector Ãƒ¢Ã¢€š¬Ã¢‚¬ gray base */
.process__line {
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  pointer-events: none;
  z-index: 0;
}

/* Animated green fill */
.process__line-fill {
  position: absolute;
  inset: 0;
  background: var(--green-accent);
  transform-origin: left center;
}

/* Steps row */
.process__steps {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  position: relative;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

/* Circle node */
.process__circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--green-dark);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process__text {
  margin-top: var(--s4);
  padding: 0 var(--s1);
}

.process__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: var(--s2);
}

.process__title {
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: calc(var(--s2) + 2px);
  line-height: 1.2;
}

.process__desc {
  font-size: var(--t-sm);
  color: var(--text-secondary);
  line-height: 1.55;
}

.process__note {
  margin-top: var(--s6);
  padding: var(--s3) var(--s4);
  border-left: 2px solid var(--border);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* Mobile: vertical stacked layout */
@media (max-width: 768px) {
  .process__line { display: none; }

  .process__steps {
    flex-direction: column;
    gap: 0;
  }

  .process__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--s4);
    padding-bottom: var(--s5);
    position: relative;
  }
  .process__step:last-child { padding-bottom: 0; }

  /* Vertical connector: from bottom of circle to center of next circle */
  .process__step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 35px;
    width: 2px;
    height: calc(100% - 36px);
    background: var(--gray-200);
    pointer-events: none;
    z-index: 0;
  }

  .process__text {
    margin-top: 0;
    padding: 8px 0 0;
  }

  .process__circle { flex-shrink: 0; }
}

/* ---- Accessibility ---- */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

/* ---- McFrancis brand ---- */
:root { --mc-accent-dim: rgba(45, 122, 74, 0.22); }

.legal-branding {
  display: flex; align-items: center; gap: 0; justify-content: center;
  text-decoration: none; font-family: 'Whisper', cursive;
  font-size: 20px; font-weight: 400; color: var(--green-dark);
  -webkit-text-stroke-width: 0.5px; -webkit-text-stroke-color: var(--green-accent);
  paint-order: stroke fill;
}
.legal-branding:hover { color: var(--green-accent); }
.legal-branding .brand { display: flex; align-items: center; font-size: inherit; font-weight: inherit; margin: 0; }
.legal-branding span {color: var(--green-accent);transform: translate(0, 4px);font-family: 'Whisper';font-size: 20px;font-style: normal;font-weight: 400;-webkit-text-stroke-width: 0.5px;-webkit-text-stroke-color: var(--accent);paint-order: stroke fill;}

mc-ico {
  display: block; float: left; width: auto;
  transform: scale(0.6) translate(0px, 10px);
  transition: all ease 0.33s; position: relative;
  margin: 0 auto; opacity: 1; padding: 5px 5px; will-change: transform;
}
mc-ico:after {
  content: ''; position: absolute; padding: 0 16px;
  border: solid 0px transparent; margin-left: -47px; margin-top: -13px;
  transition: all ease 0.33s; transform: rotate(38deg) translate(0,0);
  height: 5px; background-color: var(--mc-accent-dim);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border-top: none; border-bottom: none;
}
mc-ico:before {
  content: ' '; padding: 0; width: 10px; height: 10px;
  margin-top: 0px; float: left; border-radius: 100%;
  background-color: var(--green-accent); margin-right: -4px;
  transition: all ease 0.33s;
}
mc-ico-parallel:after {
  content: ''; position: absolute; padding: 0 10px;
  border: solid 1px transparent; margin-left: -13px; margin-top: -8px;
  transition: all ease 0.33s; transform: rotate(150deg); height: 3px;
  background-color: var(--mc-accent-dim);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; border-bottom: none;
}
mc-ico-parallel:before {
  content: ''; border-color: transparent; margin-top: 1px;
  margin-left: 14px; margin-right: 3px; padding: 0;
  background-color: var(--green-accent); width: 6px; height: 6px;
  float: left; border-radius: 100%; transition: all ease 0.4s;
}

/* ---- Cookie banner ---- */
.gdpr-popup {
  position: fixed;
  bottom: 0;
  right: 10px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  box-shadow: 0 4px 60px rgba(0,0,0,0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-width: 480px;
  max-height: 450px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gdpr-popup.show { transform: translateY(0); bottom: 10px; }
.gdpr-popup-content {
  padding: 20px 20px 0; flex: 1; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.gdpr-popup-content::-webkit-scrollbar { width: 6px; }
.gdpr-popup-content::-webkit-scrollbar-track { background: var(--bg-alt); border-radius: 3px; }
.gdpr-popup-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gdpr-popup h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.gdpr-popup p { font-size: 11px; line-height: 1.5; color: var(--text-primary); margin-bottom: 16px; }
.cookie-preferences { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cookie-option { padding: 12px; border: 1px solid var(--border); }
.cookie-option label {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: 0.02em; cursor: pointer;
}
.cookie-option input[type="checkbox"] { margin-right: 8px; width: 16px; height: 16px; accent-color: var(--green-accent); }
.cookie-option input[type="checkbox"]:disabled { opacity: 0.6; }
.cookie-description { font-size: 11px; color: var(--text-muted); margin: 4px 0 0; }
.gdpr-popup-buttons {
  position: sticky; bottom: 0; background: var(--cream);
  padding: 12px 20px; display: flex; flex-wrap: wrap; gap: 8px;
}
.gdpr-popup-buttons .btn {
  padding: 8px 16px; font-family: var(--font-display); font-size: 11px;
  font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border); cursor: pointer; transition: background .2s, color .2s;
}
.gdpr-popup-buttons .btn.primary { background: var(--green-accent); color: var(--white); border-color: var(--green-accent); }
.gdpr-popup-buttons .btn.primary:hover { background: var(--cream); border-color: var(--green-dark); color: var(--green-dark); }
.gdpr-popup-buttons .btn:not(.primary):not(.secondary) { background: var(--cream); color: var(--text-primary); border-color: var(--border); }
.gdpr-popup-buttons .btn:not(.primary):not(.secondary):hover { background: var(--green-light); }
.gdpr-popup-buttons .btn.secondary { background: transparent; color: var(--text-muted); border-color: var(--border); }
.gdpr-popup-buttons .btn.secondary:hover { background: var(--green-light); color: var(--green-accent); }
.gdpr-popup-footer { text-align: center; padding: 10px 20px 15px; border-top: 1px solid var(--border); }
.gdpr-popup-footer a { color: var(--green-accent); text-decoration: none; font-size: 11px; margin: 0 8px; }
.gdpr-popup-footer a:hover { text-decoration: underline; }
@media (max-width: 1024px) {
  .gdpr-popup { right: 10px; left: 10px; max-width: none; }
  .gdpr-popup-content { padding: 15px; max-height: 50vh; padding-bottom: 0; }
  .gdpr-popup-buttons { flex-direction: column; align-items: stretch; }
  .gdpr-popup-buttons .btn { text-align: center; }
}

/* ---- Legal page (sidebar layout) ---- */
.ecoba-legal-wrap { padding: clamp(100px,12vw,140px) 0 clamp(64px,8vw,96px); }
.legal-container {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start;
}
.legal-sidebar {
  position: sticky; top: 100px; height: fit-content;
  max-height: calc(100vh - 240px); overflow-y: auto;
  background: var(--green-light); border-radius: 4px;
  padding: 24px; border: 1px solid var(--border);
}
.legal-nav-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--green-accent); margin-bottom: 16px; font-weight: 600;
  font-family: var(--font-mono);
}
.legal-nav ul { list-style: none; padding: 0; margin: 0; }
.legal-nav li { margin-bottom: 4px; }
.legal-nav a {
  display: block; padding: 8px 12px; color: var(--text-primary);
  text-decoration: none; border-radius: 4px; font-size: 13px;
  transition: background 0.2s, color 0.2s;
}
.legal-nav a:hover { background: rgba(45,122,74,0.10); color: var(--green-accent); }
.legal-nav a.active { color: var(--green-accent); font-weight: 600; background: rgba(45,122,74,0.08); }
.legal-content-wrapper {
  min-height: 600px; max-height: calc(100vh - 215px); overflow-y: auto;
}
.legal-header { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.legal-header h1 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; color: var(--green-dark); margin-bottom: 8px; margin-top: 0; }
.legal-header .subtitle { color: var(--text-muted); font-size: 15px; }
.legal-header .last-updated { color: var(--text-muted); font-size: 13px; margin-top: 8px; font-style: italic; }
.legal-chapter {
    padding: 20px;
}
.legal-chapter h2 { font-size: 18px; font-weight: 600; color: var(--green-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-chapter .chapter-content { color: var(--text-primary); line-height: 1.75; font-size: 14px; }
.legal-chapter .chapter-content p { margin-bottom: 12px; }
.legal-chapter .chapter-content ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.legal-chapter .chapter-content li { margin-bottom: 6px; }
.legal-chapter .chapter-content a { color: var(--green-accent); }
.legal-chapter .chapter-content table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; }
.legal-chapter .chapter-content th,
.legal-chapter .chapter-content td { padding: 8px 12px; border: 1px solid var(--border); text-align: left; }
.legal-chapter .chapter-content th { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.chapter-actions { margin-top: 16px; }
.btn-text.confirm {
  background: none; border: 1px solid var(--green-accent); color: var(--green-accent);
  padding: 8px 18px; border-radius: 4px; cursor: pointer; font-size: 13px;
  transition: background 0.2s, color 0.2s;
}
.btn-text.confirm:hover { background: var(--green-accent); color: #fff; }
@media (max-width: 900px) {
  .legal-container { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; max-height: none; margin-bottom: 24px; }
  .legal-content-wrapper { max-height: none; }
}
