/* =========================================================
   SCROLLEAT — stylesheet
   Design tokens
   ========================================================= */
:root{
  --white:        #FFFFFF;
  --grey-100:     #F6F5F2;
  --grey-200:     #ECEAE5;
  --grey-300:     #D8D5CE;
  --ink:          #1B1A18;
  --ink-soft:     #4A4844;
  --charcoal:     #141311;
  --charcoal-2:   #1E1C19;
  --orange:       #FF5A1F;
  --orange-2:     #FF7A3D;
  --orange-soft:  #FFB08A;
  --orange-wash:  #FFF1EA;

  --radius-l:     28px;
  --radius-m:     18px;
  --radius-s:     12px;

  --shadow-soft:  0 20px 45px -25px rgba(27,26,24,0.35);
  --shadow-tight: 0 8px 20px -12px rgba(27,26,24,0.28);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'Space Mono', 'Courier New', monospace;

  --maxw: 1180px;
  --gutter: 24px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }
input, textarea, select{ font-family:inherit; font-size:1rem; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  border-radius:50%;
  background: var(--orange);
  display:inline-block;
}

h1, h2, h3{ font-family: var(--font-display); font-weight:700; letter-spacing:-0.01em; }

h2{
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.1;
  margin-top:12px;
}

.section{
  padding: 88px 0;
  position: relative;
}
.section--light{ background: var(--white); }
.section--tint{ background: var(--grey-100); }
.section--dark{
  background: var(--charcoal);
  color: var(--grey-100);
}
.section--dark .eyebrow{ color: var(--orange-2); }

.section-head{
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head p{
  margin-top: 16px;
  font-size: 1.05rem;
  line-height:1.6;
  color: var(--ink-soft);
}
.section--dark .section-head p{ color:#B9B6AF; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* subtle grid texture on light sections */
.section--light::before,
.section--tint::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--grey-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:0.35;
  pointer-events:none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
}
.section > .container{ position:relative; z-index:1; }

/* reveal-on-scroll */
.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight:600;
  font-size:0.98rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(255,90,31,0.55);
}
.btn-primary:hover{ box-shadow: 0 18px 36px -12px rgba(255,90,31,0.65); }
.btn-secondary{
  background: transparent;
  color: var(--ink);
  border-color: var(--grey-300);
}
.btn-secondary:hover{ border-color: var(--ink); background: var(--grey-100); }
.section--dark .btn-secondary{ color: var(--grey-100); border-color:#38352f; }
.section--dark .btn-secondary:hover{ background: var(--charcoal-2); border-color:#57524a; }
.btn-ghost-light{
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,0.2); }
.btn-block{ display:flex; width:100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled{ box-shadow: var(--shadow-tight); }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px var(--gutter);
  max-width: var(--maxw); margin:0 auto;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-weight:800;
  font-size:1.4rem; letter-spacing:-0.02em;
}
.logo .dot{ color: var(--orange); }
.logo-mark{
  width:30px; height:30px; border-radius:9px;
  background: linear-gradient(135deg,var(--orange),var(--orange-2));
  display:inline-block;
}

.nav-desktop{ display:none; }
.nav-desktop ul{ display:flex; gap:32px; font-size:0.96rem; font-weight:500; }
.nav-desktop a{ position:relative; padding:4px 0; }
.nav-desktop a::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px;
  background: var(--orange); transform:scaleX(0); transform-origin:left;
  transition: transform 0.25s ease;
}
.nav-desktop a:hover::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-actions .btn-primary{ display:none; padding:11px 22px; font-size:0.9rem; }

.hamburger{
  width:44px; height:44px; border:1px solid var(--grey-300); border-radius:12px;
  background:var(--white); display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
}
.hamburger span{ width:20px; height:2px; background:var(--ink); transition: all 0.3s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; top:73px; background: var(--white); z-index:55;
  transform: translateX(100%); transition: transform 0.35s ease;
  padding: 32px var(--gutter); overflow-y:auto;
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-menu ul{ display:flex; flex-direction:column; gap:6px; }
.mobile-menu a{
  display:block; padding:16px 4px; font-size:1.25rem; font-family: var(--font-display); font-weight:700;
  border-bottom:1px solid var(--grey-200);
}
.mobile-menu .btn{ margin-top:28px; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  padding: 56px 0 90px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(700px 420px at 85% -10%, var(--orange-wash) 0%, transparent 60%),
    var(--white);
}
.hero .container{
  display:grid;
  gap:56px;
  align-items:center;
}
.hero-copy h1{
  font-size: clamp(2.1rem, 6.5vw, 3.5rem);
  line-height: 1.06;
  margin-top:18px;
}
.hero-copy p{
  margin-top:20px;
  font-size:1.1rem;
  line-height:1.65;
  color: var(--ink-soft);
  max-width: 480px;
}
.hero-cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero-micro{
  margin-top:16px; font-family: var(--font-mono); font-size:0.8rem;
  color: var(--ink-soft); letter-spacing:0.02em;
}
.hero-micro::before{ content:"✓ "; color: var(--orange); font-weight:700; }

/* phone mockup */
.hero-visual{ position:relative; display:flex; justify-content:center; }
.phone-orbit{
  position:relative;
  width:min(300px, 78vw);
}
.phone{
  position:relative;
  width:100%;
  aspect-ratio: 9/19;
  background: var(--charcoal);
  border-radius: 44px;
  padding:12px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0,0,0,0.06);
  animation: floaty 6s ease-in-out infinite;
}
.phone-screen{
  position:relative;
  width:100%; height:100%;
  border-radius:32px;
  overflow:hidden;
  background: linear-gradient(200deg, #2A1710 0%, #1B1A18 55%, #100F0E 100%);
}
.phone-notch{
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:80px; height:20px; background:var(--charcoal); border-radius:14px; z-index:5;
}
.dish-media{
  position:absolute; inset:0;
  background: linear-gradient(160deg, #FF8A4C 0%, #FF5A1F 45%, #7A2E10 100%);
  display:flex; align-items:center; justify-content:center;
}
.dish-media span{
  font-family: var(--font-mono); color:rgba(255,255,255,0.75); font-size:0.75rem; letter-spacing:0.08em;
}
.phone-ui{
  position:absolute; left:0; right:0; bottom:0;
  padding:16px 14px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 10%, rgba(0,0,0,0) 100%);
  color:#fff;
}
.phone-ui h4{ font-family: var(--font-display); font-size:1.05rem; }
.phone-ui p{ font-size:0.74rem; opacity:0.85; margin-top:4px; line-height:1.4; }
.phone-ui-row{ display:flex; align-items:center; justify-content:space-between; margin-top:12px; }
.phone-price{ font-family: var(--font-mono); font-weight:700; font-size:0.95rem; }
.phone-add{
  background: var(--orange); color:#fff; border-radius:999px;
  padding:7px 16px; font-size:0.75rem; font-weight:700;
}
.phone-cart{
  position:absolute; top:22px; right:14px; z-index:5;
  width:32px; height:32px; border-radius:50%;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; color:#fff;
}
.phone-dots{
  position:absolute; top:60px; right:12px; z-index:5;
  display:flex; flex-direction:column; gap:6px;
}
.phone-dots span{ width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.35); }
.phone-dots span.active{ background:#fff; height:16px; border-radius:3px; }

.float-card{
  position:absolute;
  background: var(--white);
  border-radius: var(--radius-s);
  padding: 10px 14px;
  box-shadow: var(--shadow-tight);
  font-size:0.78rem; font-weight:600;
  display:flex; align-items:center; gap:8px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card .tick{ color: var(--orange); }
.float-card--1{ top:16%; left:-8%; animation-delay:0.2s; }
.float-card--2{ top:32%; right:-14%; animation-delay:1.1s; }
.float-card--3{ bottom:27%; left:-14%; animation-delay:0.6s; }
.float-card--4{ bottom:-2%; right:-6%; animation-delay:1.6s; }

@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@media (min-width: 900px){
  .hero .container{ grid-template-columns: 1fr 0.9fr; }
}

/* =========================================================
   Valorizza i tuoi piatti (sezione dopo la hero)
   ========================================================= */
.highlight-grid{
  display:grid;
  gap: 44px;
  align-items:center;
}
.highlight-media{
  display:flex;
  width:100%;
}
.highlight-video{
  width:100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius-l);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, #FF8A4C 0%, #FF5A1F 45%, #7A2E10 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  object-fit: cover;
  object-position: center;
}

.highlight-video span{
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.75);
  font-size:0.75rem;
  letter-spacing:0.08em;
}
.highlight-text p{
  margin-top:18px;
  color: var(--ink-soft);
  font-size:1.05rem;
  line-height:1.7;
}

@media (min-width: 900px){
  .highlight-grid{ grid-template-columns: 1fr 1fr; gap:64px; }
}

.compare{
  display:grid; gap:20px; margin-top:12px;
}
.compare-card{
  border-radius: var(--radius-l);
  padding: 28px;
  border: 1px solid var(--grey-200);
}
.compare-card--old{ background: var(--white); }
.compare-card--new{
  background: var(--charcoal); color:#fff; border-color: transparent;
  box-shadow: var(--shadow-soft);
}
.compare-card h3{ font-size:1.05rem; }
.compare-tag{
  font-family: var(--font-mono); font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase;
  color: var(--ink-soft);
}
.compare-card--new .compare-tag{ color: var(--orange-2); }
.compare-list{ margin-top:18px; display:flex; flex-direction:column; gap:12px; }
.compare-list li{ display:flex; gap:10px; font-size:0.92rem; line-height:1.5; }
.compare-list .x{ color:#C4413A; }
.compare-list .ok{ color: var(--orange-2); }
.compare-card--old .compare-list .ok{ color:#3A8A5A; }

@media (min-width:760px){
  .compare{ grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Come funziona (steps)
   ========================================================= */
.steps{
  position:relative;
  display:grid; gap:24px;
  counter-reset: step;
}
.steps::before{
  content:"";
  position:absolute; top:34px; left:0; right:0; height:1px;
  background: repeating-linear-gradient(90deg, var(--grey-300) 0 8px, transparent 8px 16px);
  display:none;
}
.step-card{
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  position:relative;
}
.step-num{
  font-family: var(--font-mono);
  font-size:0.8rem; font-weight:700;
  width:44px; height:44px; border-radius:50%;
  background: var(--orange-wash); color: var(--orange);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.step-card h3{ font-size:1.15rem; }
.step-card p{ margin-top:10px; color: var(--ink-soft); font-size:0.95rem; line-height:1.55; }

@media (min-width:860px){
  .steps{ grid-template-columns: repeat(3,1fr); }
  .steps::before{ display:block; }
}

/* =========================================================
   App demo screens
   ========================================================= */
.screens-row{
  display:flex; gap:18px; overflow-x:auto; padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screens-row::-webkit-scrollbar{ height:6px; }
.screens-row::-webkit-scrollbar-thumb{ background: var(--grey-300); border-radius:6px; }
.screen-item{
  flex: 0 0 auto; scroll-snap-align:start;
  width:190px;
}
.screen-frame{
  width:100%; aspect-ratio: 9/18.5;
  border-radius:26px; background: var(--charcoal);
  padding:8px;
  box-shadow: var(--shadow-tight);
}
.screen-frame-inner{
  width:100%; height:100%; border-radius:20px; overflow:hidden;
  background: linear-gradient(165deg,#2A231C,#141311 70%);
  display:flex; align-items:flex-end; padding:12px;
}
.screen-frame-inner span{ color:#fff; font-family:var(--font-mono); font-size:0.65rem; opacity:0.7; }
.screen-item p{
  text-align:center; margin-top:12px; font-size:0.85rem; font-weight:600;
}

/* =========================================================
   Vantaggi grid
   ========================================================= */
.grid-6{
  display:grid; gap:20px;
}
.adv-card{
  background: var(--white);
  border:1px solid var(--grey-200);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.adv-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color:transparent; }
.adv-icon{
  width:46px; height:46px; border-radius:14px;
  background: linear-gradient(135deg, var(--orange-wash), #fff);
  display:flex; align-items:center; justify-content:center;
  color: var(--orange); font-size:1.2rem; margin-bottom:18px;
}
.adv-card h3{ font-size:1.05rem; }
.adv-card p{ margin-top:10px; font-size:0.92rem; color: var(--ink-soft); line-height:1.55; }

@media (min-width:640px){ .grid-6{ grid-template-columns: repeat(2,1fr); } }
@media (min-width:980px){ .grid-6{ grid-template-columns: repeat(3,1fr); } }

/* =========================================================
   Funzionalità (alternating rows)
   ========================================================= */
.feature-row{
  display:grid; gap:32px; align-items:center;
  padding: 40px 0;
  border-bottom: 1px solid var(--grey-200);
}
.feature-row:last-child{ border-bottom:none; }
.feature-text .eyebrow{ margin-bottom:10px; }
.feature-text h3{ font-family: var(--font-display); font-size:1.4rem; }
.feature-text p{ margin-top:12px; color: var(--ink-soft); line-height:1.6; }
.feature-visual{
  border-radius: var(--radius-l);
  background: var(--grey-100);
  border:1px solid var(--grey-200);
  aspect-ratio: 16/10;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:0.75rem; color:var(--ink-soft); text-align:center; padding:20px;
}
@media (min-width: 860px){
  .feature-row{ grid-template-columns: 1fr 1fr; }
  .feature-row.reverse .feature-text{ order:2; }
}

/* =========================================================
   Target tags
   ========================================================= */
.target-grid{
  display:grid; grid-template-columns: repeat(2,1fr); gap:14px;
}
.target-card{
  border:1px solid var(--grey-200); border-radius: var(--radius-m);
  padding: 22px 16px; text-align:center;
  background: var(--white);
  font-family: var(--font-display); font-weight:700; font-size:1rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.target-card:hover{ border-color: var(--orange); background: var(--orange-wash); transform: translateY(-3px); }
@media (min-width:640px){ .target-grid{ grid-template-columns: repeat(4,1fr); } }

/* =========================================================
   Servizio video (dark section)
   ========================================================= */
.video-service{
  display:grid; gap:40px; align-items:center;
}
.video-service-visual{
  border-radius: var(--radius-l);
  overflow:hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(150deg,#2A231C,#141311);
  border:1px solid #2E2B26;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); color:#8A867D; font-size:0.8rem; text-align:center; padding:24px;
}
/* <!-- HTML NOTE: sostituire .video-service-visual con <img src="/img/videomaker-cucina.jpg" alt="Videomaker riprende la preparazione di un piatto in cucina"> --> */
@media (min-width:900px){ .video-service{ grid-template-columns: 1fr 1fr; } }

/* =========================================================
   Progetto pilota (CTA banner)
   ========================================================= */
.pilot-banner{
  border-radius: var(--radius-l);
  background: linear-gradient(135deg, var(--orange) 0%, #FF7A3D 55%, #FFB08A 100%);
  padding: 56px 32px;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}
.pilot-banner::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.35) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity:0.25;
}
.pilot-banner > *{ position:relative; z-index:1; }
.pilot-banner h2{ color:#fff; max-width:640px; margin-left:auto; margin-right:auto; }
.pilot-banner p{ margin-top:16px; max-width:520px; margin-left:auto; margin-right:auto; opacity:0.95; line-height:1.6; }
.pilot-banner .btn{ margin-top:28px; }
.pilot-banner .btn-primary{
  background:#fff; color: var(--orange);
  box-shadow:0 14px 30px -12px rgba(0,0,0,0.3);
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--grey-200); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding:22px 4px; background:none; border:none;
  text-align:left; font-family: var(--font-display); font-weight:700; font-size:1.02rem; color: var(--ink);
}
.faq-q .plus{
  flex:0 0 auto; width:28px; height:28px; border-radius:50%;
  border:1px solid var(--grey-300); display:flex; align-items:center; justify-content:center;
  position:relative; transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background: var(--ink); transition: transform 0.3s ease;
}
.faq-q .plus::before{ width:10px; height:1.5px; }
.faq-q .plus::after{ width:1.5px; height:10px; }
.faq-item[data-open="true"] .plus{ background: var(--orange); border-color: var(--orange); }
.faq-item[data-open="true"] .plus::before, .faq-item[data-open="true"] .plus::after{ background:#fff; }
.faq-item[data-open="true"] .plus::after{ transform: scaleY(0); }
.faq-a{
  max-height:0; overflow:hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  font-size:0.95rem; color: var(--ink-soft); line-height:1.6; padding:0 4px;
}
.faq-item[data-open="true"] .faq-a{ padding-bottom:22px; }

/* =========================================================
   Form
   ========================================================= */
.form-wrap{
  max-width:760px; margin:0 auto;
  background: var(--white);
  border:1px solid var(--grey-200);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  box-shadow: var(--shadow-tight);
}
@media (min-width:640px){ .form-wrap{ padding:44px; } }
.form-grid{ display:grid; gap:18px; margin-top:8px; }
@media (min-width:640px){ .form-grid.cols-2{ grid-template-columns:1fr 1fr; } }
.field label{
  display:block; font-size:0.82rem; font-weight:600; margin-bottom:7px;
}
.field input, .field textarea{
  width:100%; padding:12px 14px; border-radius: var(--radius-s);
  border:1px solid var(--grey-300); background: var(--grey-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--orange); background:#fff; outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.field.has-error input, .field.has-error textarea{ border-color:#C4413A; }
.field-error{ display:none; color:#C4413A; font-size:0.78rem; margin-top:6px; }
.field.has-error .field-error{ display:block; }

.field-hint{ font-size:0.78rem; color:var(--ink-soft); margin-top:6px; }

.checkbox-grid{ display:grid; gap:10px; margin-top:10px; }
@media (min-width:640px){ .checkbox-grid{ grid-template-columns:1fr 1fr; } }
.checkbox-item{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--grey-200); border-radius: var(--radius-s);
  padding:11px 14px; font-size:0.88rem; cursor:pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.checkbox-item:hover{ border-color: var(--orange); background: var(--orange-wash); }
.checkbox-item input{ accent-color: var(--orange); width:16px; height:16px; }

.privacy-row{
  display:flex; align-items:flex-start; gap:14px;
  margin-top:24px;
  padding: 16px 18px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-s);
  background: var(--grey-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.privacy-row:hover{ border-color: var(--orange); background: var(--orange-wash); }
.privacy-row:has(input:focus-visible){ border-color: var(--orange); }
.privacy-row input{
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
}
.privacy-row label{
  font-size:0.9rem;
  line-height:1.55;
  color: var(--ink-soft);
  cursor: pointer;
}
.privacy-row label a{ color: var(--ink); font-weight:600; text-decoration: underline; text-underline-offset: 2px; }
.privacy-row.has-error{ border-color:#C4413A; background:#FCEAE8; }
#privacyError{ margin-top:8px; }

.honeypot{ position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden; }

.form-submit{ margin-top:26px; }
.form-status{
  margin-top:16px; padding:14px 16px; border-radius: var(--radius-s);
  font-size:0.9rem; display:none;
}
.form-status.show{ display:block; }
.form-status.ok{ background:#E9F5EC; color:#2B6A3F; }
.form-status.err{ background:#FCEAE8; color:#A5352C; }

/* =========================================================
   CTA finale
   ========================================================= */
.cta-final{ text-align:center; }
.cta-final h2{ max-width:680px; margin-left:auto; margin-right:auto; }
.cta-final p{ margin-top:16px; color: var(--ink-soft); max-width:520px; margin-left:auto; margin-right:auto; }
.cta-final .btn{ margin-top:28px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background: var(--charcoal); color:#B9B6AF; padding: 64px 0 32px; }
.footer-top{ display:grid; gap:40px; padding-bottom:40px; border-bottom:1px solid #2E2B26; }
.footer-brand .logo{ color:#fff; }
.footer-brand p{ margin-top:14px; font-size:0.9rem; line-height:1.6; max-width:280px; }
.footer-payoff{ font-family: var(--font-mono); color: var(--orange-2); font-size:0.85rem; margin-top:10px; letter-spacing:0.04em; }
.footer-cols{ display:grid; grid-template-columns: repeat(2,1fr); gap:28px; }
.footer-col h4{ font-family:var(--font-display); font-size:0.85rem; color:#fff; margin-bottom:14px; letter-spacing:0.02em; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:0.88rem; transition:color 0.2s ease; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex; flex-direction:column; gap:10px; padding-top:26px; font-size:0.8rem;
}
@media (min-width:760px){
  .footer-top{ grid-template-columns: 1.2fr 1fr; }
  .footer-bottom{ flex-direction:row; align-items:center; justify-content:space-between; }
}

/* =========================================================
   Prezzi
   ========================================================= */
.pricing-grid{
  display:grid;
  gap: 40px;
  align-items:start;
}
.pricing-text .eyebrow{ margin-bottom:10px; }
.pricing-text p{
  margin-top:16px;
  color: var(--ink-soft);
  line-height:1.7;
  font-size:1.02rem;
}
.pricing-text p:first-of-type{ margin-top:18px; }

.pricing-card{
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-l);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow:hidden;
}
.pricing-card::before{
  content:"";
  position:absolute; top:-60px; right:-60px;
  width:180px; height:180px; border-radius:50%;
  background: radial-gradient(circle, var(--orange-wash) 0%, transparent 70%);
}
.pricing-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--orange);
  background: var(--orange-wash);
  padding:6px 14px;
  border-radius:999px;
  position:relative; z-index:1;
}
.pricing-price{
  position:relative; z-index:1;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  font-weight:800;
  margin-top:16px;
  line-height:1;
}
.pricing-price span{
  font-family: var(--font-body);
  font-size:1rem;
  font-weight:500;
  color: var(--ink-soft);
  margin-left:6px;
}
.pricing-list{
  position:relative; z-index:1;
  margin-top:26px;
  display:flex; flex-direction:column; gap:14px;
}
.pricing-list li{
  display:flex; align-items:flex-start; gap:10px;
  font-size:0.96rem;
  line-height:1.5;
}
.pricing-list .check{
  flex:0 0 auto;
  width:20px; height:20px; border-radius:50%;
  background: var(--orange-wash); color: var(--orange);
  display:flex; align-items:center; justify-content:center;
  font-size:0.7rem; font-weight:700;
  margin-top:1px;
}
.pricing-divider{
  border:none; border-top:1px solid var(--grey-200);
  margin: 26px 0;
  position:relative; z-index:1;
}
.pricing-commission{
  position:relative; z-index:1;
  font-family: var(--font-display);
  font-weight:700;
  font-size:1.05rem;
}
.pricing-commission .highlight{ color: var(--orange); }
.pricing-card .pricing-nofixed{
  position:relative; z-index:1;
  margin-top:6px;
  font-size:0.9rem;
  color: var(--ink-soft);
}
.pricing-note{
  position:relative; z-index:1;
  margin-top:20px;
  padding-top:20px;
  border-top:1px dashed var(--grey-300);
  font-size:0.86rem;
  line-height:1.6;
  color: var(--ink-soft);
}

@media (min-width: 900px){
  .pricing-grid{ grid-template-columns: 1fr 0.92fr; gap:56px; }
}

.legal-hero{
  padding: 64px 0 40px;
  background:
    radial-gradient(700px 420px at 85% -10%, var(--orange-wash) 0%, transparent 60%),
    var(--white);
}
.legal-hero .eyebrow{ margin-bottom:14px; }
.legal-hero h1{
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height:1.1;
}
.legal-hero .updated{
  margin-top:14px;
  font-family: var(--font-mono);
  font-size:0.82rem;
  color: var(--ink-soft);
}

.legal-body{ padding: 8px 0 96px; }
.legal-layout{
  display:grid;
  gap: 40px;
  max-width: 820px;
  margin: 0 auto;
}
.legal-toc{
  border:1px solid var(--grey-200);
  border-radius: var(--radius-l);
  padding: 22px 24px;
  background: var(--grey-100);
}
.legal-toc h2{
  font-size:0.95rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-top:0;
}
.legal-toc ol{
  margin-top:14px;
  display:flex; flex-direction:column; gap:9px;
  counter-reset: toc;
}
.legal-toc a{
  font-size:0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.legal-toc a:hover{ color: var(--orange); }

.legal-content section{
  padding: 30px 0;
  border-bottom: 1px solid var(--grey-200);
}
.legal-content section:last-child{ border-bottom:none; }
.legal-content h2{
  font-size:1.35rem;
  scroll-margin-top: 100px;
}
.legal-content h2 .num{
  font-family: var(--font-mono);
  color: var(--orange);
  margin-right:10px;
  font-size:1rem;
}
.legal-content p{
  margin-top:14px;
  color: var(--ink-soft);
  line-height:1.7;
  font-size:1rem;
}
.legal-content ul{
  margin-top:14px;
  display:flex; flex-direction:column; gap:10px;
}
.legal-content li{
  color: var(--ink-soft);
  line-height:1.6;
  font-size:0.98rem;
  padding-left:20px;
  position:relative;
}
.legal-content li::before{
  content:"";
  position:absolute; left:0; top:9px;
  width:6px; height:6px; border-radius:50%;
  background: var(--orange);
}
.legal-content a{ color: var(--orange); text-decoration:underline; }
.legal-placeholder{
  margin-top:14px;
  border: 1px dashed var(--grey-300);
  border-radius: var(--radius-s);
  padding: 16px 18px;
  background: var(--grey-100);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height:1.6;
}

@media (min-width: 860px){
  .legal-layout{ grid-template-columns: 220px 1fr; align-items:start; }
  .legal-toc{ position: sticky; top: 96px; }
}

@media (min-width: 900px){
  .nav-desktop{ display:block; }
  .header-actions .btn-primary{ display:inline-flex; }
  .hamburger{ display:none; }
}
@media (min-width: 900px){
  .mobile-menu{ display:none; }
}
