/* =========================================================
   Giulia Siti Web — styles
   Palette "Panna & Bordeaux" · avorio caldo + beige + tocchi bordeaux
   Tipografia: Poppins (grande e pulito) + Sacramento (corsivo elegante)
   ========================================================= */

:root {
  /* Colori */
  --bg:         #f4efe4;   /* sfondo avorio / panna */
  --cream:      #faf6ee;   /* superfici / card chiare */
  --cream-2:    #fdfbf5;
  --sand:       #eae1d2;   /* sezioni sabbia / beige */
  --sand-deep:  #ddd0bd;
  --ink:        #2b2420;   /* testo caldo scuro */
  --ink-soft:   #6f6459;   /* testo secondario */
  --line:       #e4dac9;   /* bordi */

  --accent:      #7c2b39;  /* bordeaux (pulsanti, accenti) */
  --accent-hover:#5f2029;
  --sage:        #b7a58f;  /* beige/tortora (dettagli soft) */
  --sage-soft:   #efe6da;  /* tinta beige (sfondi tenui) */
  --bordeaux-soft:#f2e7e5; /* tinta bordeaux chiarissima */

  --gold:  #c8a45c;        /* stelle / oro caldo */

  --dark:  #2d2621;        /* sezione scura (espresso caldo) */
  --dark-2:#3a322b;

  /* Tipografia */
  --serif: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script:"Sacramento", "Segoe Script", cursive;
  --sans:  "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Misure */
  --wrap: 1180px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(60, 48, 30, .06);
  --shadow:    0 18px 44px -22px rgba(60, 48, 30, .35);
  --shadow-lg: 0 40px 80px -30px rgba(52, 42, 24, .45);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.02em; }

::selection { background: var(--bordeaux-soft); color: var(--accent); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.container.narrow { max-width: 820px; }

.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; scroll-margin-top: 74px; }
section[id] { scroll-margin-top: 74px; }

.section-sand { background: var(--sand); }
.section-dark { background: var(--dark); color: #efe9dd; }

/* ---------- Kicker / headings ---------- */
.sec-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.kicker {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  margin: 0 0 6px;
  display: inline-block;
}
.kicker-light { color: #e4b9c0; }

.sec-title { font-size: clamp(29px, 4.6vw, 48px); font-weight: 700; }

.lead {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}
.lead-light { color: #d9d2c4; }
.lead strong { color: var(--ink); font-weight: 600; }

.accent-word { font-family: var(--script); font-weight: 400; color: var(--accent); font-style: normal; letter-spacing: .01em; }
.accent-word-light { font-family: var(--script); color: #e8c39a; font-style: normal; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
  line-height: 1;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent { background: var(--accent); color: #faf3ec; box-shadow: 0 14px 28px -12px rgba(124, 43, 57, .5); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 18px 36px -14px rgba(124, 43, 57, .6); }

/* Pulsante chiaro su fondo espresso (CTA finale) */
.btn-wa { background: var(--cream); color: var(--accent-hover); box-shadow: 0 14px 30px -12px rgba(30, 24, 20, .35); }
.btn-wa:hover { background: #fbfaf5; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--sage); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(124,43,57,.05); }

.btn-outline { background: var(--cream); color: var(--accent); border-color: var(--sage); }
.btn-outline:hover { background: var(--accent); color: #f4f1ea; border-color: var(--accent); }

.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: 14.5px; }
.btn-sm svg { width: 17px; height: 17px; }
.btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 16.5px; }
.btn-xl { --pad-y: 20px; --pad-x: 38px; font-size: 18px; }
.btn-xl svg { width: 24px; height: 24px; }
.btn-block { display: flex; width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(233, 233, 221, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(60, 48, 30, .5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #efe9dd;
  display: grid; place-items: center;
  font-family: var(--script); font-weight: 400; font-size: 26px;
  box-shadow: inset 0 0 0 1.2px rgba(240,230,218,.35);
}
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--script); font-weight: 400; font-size: 27px; color: var(--ink); letter-spacing: .01em; line-height: 1; margin: 0 0 6px; }
.logo-sub  { font-family: var(--sans); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: .26em; color: var(--sage); margin-top: 0; }

/* Nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .22s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .28s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-cta { flex: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: rgba(233,233,221,.6); border-radius: 12px; cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  background: rgba(233, 233, 221, .97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 26px 22px;
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.mobile-nav a { padding: 13px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border: none; margin-top: 14px; }
.mobile-nav .btn { justify-content: center; }
.site-header.menu-open .mobile-nav { display: flex; }

/* =========================================================
   1 · HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(55% 50% at 84% 14%, rgba(124,43,57,.10), transparent 62%),
    radial-gradient(50% 50% at 6% 92%, rgba(200,164,92,.12), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--bg));
}
.hero-bg::after {
  /* grana sottile */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(80,64,40,.05) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); background: var(--bordeaux-soft);
  padding: 8px 15px; border-radius: 999px; margin: 0 0 26px;
  border: 1px solid rgba(124,43,57,.2);
}
.hero-title { font-size: clamp(38px, 6.2vw, 66px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 22px; line-height: 1.05; }
.hero-title .accent-word { display: inline-block; font-size: 1.32em; line-height: .82; margin-top: .12em; letter-spacing: 0; }
.hero-sub { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); max-width: 520px; margin: 0 0 34px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(121,111,102,.16); }

/* Hero visual – mockup dispositivi (laptop + telefono) */
.hero-visual { position: relative; }
.hero-stack { position: relative; transition: transform .35s var(--ease); }
.hero-devices { position: relative; max-width: 560px; margin: 0 0 30px auto; }
.hero-float { animation: float 7.5s ease-in-out infinite; }
.blob { position: absolute; z-index: 0; inset: -10% -7%; border-radius: 50%;
  background: radial-gradient(closest-side at 70% 22%, var(--bordeaux-soft), transparent 72%),
              radial-gradient(closest-side at 22% 82%, rgba(200,164,92,.22), transparent 70%);
  filter: blur(4px); pointer-events: none; }
.laptop { position: relative; z-index: 1; }
.laptop-top { background: #2a2724; border-radius: 16px; padding: 11px; box-shadow: 0 34px 60px -30px rgba(45,38,33,.55), inset 0 0 0 1px rgba(255,255,255,.05); }
.laptop-cam { width: 5px; height: 5px; border-radius: 50%; background: #4a453f; margin: 0 auto 7px; }
.laptop-scr { border-radius: 5px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.laptop-scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.laptop-base { position: relative; height: 13px; width: calc(100% + 56px); left: -28px; background: linear-gradient(180deg, #d8d0c2, #b2a794); border-radius: 0 0 13px 13px; box-shadow: 0 18px 26px -16px rgba(45,38,33,.45); }
.laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 6px; background: rgba(0,0,0,.13); border-radius: 0 0 7px 7px; }
.phone-m { position: absolute; z-index: 2; right: -8px; bottom: -30px; width: 26%; min-width: 128px; background: #211f1c; border-radius: 24px; padding: 5px; box-shadow: 0 26px 46px -20px rgba(45,38,33,.5); }
.phone-m::before { content: ""; position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 40px; height: 5px; background: #211f1c; border-radius: 4px; z-index: 3; }
.phone-m-scr { border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 19.3; background: #fff; }
.phone-m-scr img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* --- Mockup ricerca Google dentro i dispositivi --- */
.laptop-scr, .phone-m-scr { container-type: inline-size; }
.g-page { width: 100%; height: 100%; background: #fff; color: #3c4043;
  font-family: Arial, "Helvetica Neue", sans-serif; display: flex; flex-direction: column;
  align-items: center; justify-content: center; box-sizing: border-box; padding: 0 5%; }
.g-logo { font-weight: 500; letter-spacing: -0.06em; line-height: 1; margin-bottom: 6cqw; font-size: 13cqw; }
.g-logo .gb { color: #4285f4; } .g-logo .gr { color: #ea4335; } .g-logo .gy { color: #fbbc05; } .g-logo .gg { color: #34a853; }
.g-searchwrap { width: 88%; background: #fff; border: 1px solid #dfe1e5; border-radius: 4.4cqw;
  box-shadow: 0 1px 6px rgba(32,33,36,.18); overflow: hidden; }
.g-bar { display: flex; align-items: center; gap: 2.6cqw; padding: 2.7cqw 3.6cqw; }
.g-mag { flex: none; fill: #9aa0a6; width: 4cqw; height: 4cqw; }
.g-mic { flex: none; width: 4cqw; height: 4cqw; }
.g-q { flex: 1; font-size: 3.5cqw; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; }
.g-cursor { display: inline-block; width: 0.4cqw; height: 4cqw; background: #4285f4; margin-left: 1.5px; animation: gblink 1.1s steps(1) infinite; }
@keyframes gblink { 50% { opacity: 0; } }
.g-sugg { border-top: 1px solid #ececec; }
.g-sugg-row { display: flex; align-items: center; gap: 2.8cqw; padding: 2.2cqw 3.6cqw; font-size: 3.15cqw; color: #3c4043; white-space: nowrap; overflow: hidden; }
.g-sugg-row .g-mag { width: 3.4cqw; height: 3.4cqw; }
.g-sugg-row span { overflow: hidden; text-overflow: ellipsis; }
.g-sugg-row b { font-weight: 700; color: #202124; }
/* telefono: testi più grandi (schermo stretto) */
.phone-m-scr .g-logo { font-size: 22cqw; margin-bottom: 7cqw; }
.phone-m-scr .g-searchwrap { width: 92%; border-radius: 7cqw; }
.phone-m-scr .g-bar { gap: 3.5cqw; padding: 4cqw 4.5cqw; }
.phone-m-scr .g-q { font-size: 5.4cqw; }
.phone-m-scr .g-cursor { height: 6cqw; }
.phone-m-scr .g-bar .g-mag, .phone-m-scr .g-bar .g-mic { width: 6cqw; height: 6cqw; }
.phone-m-scr .g-sugg-row { font-size: 4.8cqw; gap: 3.5cqw; padding: 3.4cqw 4.5cqw; }
.phone-m-scr .g-sugg-row .g-mag { width: 5cqw; height: 5cqw; }
.phone-m-scr .g-sugg-row:nth-child(3) { display: none; }
/* legacy stack (non usato) */
.mock {
  position: absolute; margin: 0;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.06);
}
.mock-bar {
  height: 30px; background: #f1ece3; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  border-bottom: 1px solid #e7e0d4; position: relative;
}
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d8cfbf; }
.mock-bar span:nth-child(1){ background: #d8cfbf; }
.mock-bar span:nth-child(2){ background: #cbbfa9; }
.mock-bar span:nth-child(3){ background: #b8ab9c; }
.mock-bar em {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 10.5px; color: #a99f8c; font-weight: 500;
  background: #f4f2ea; padding: 3px 14px; border-radius: 20px; max-width: 60%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-shot { overflow: hidden; }
.mock-shot img { width: 100%; height: auto; display: block; }

.mock-1 { width: 74%; top: 8%; right: 0; z-index: 3; }
.mock-2 { width: 62%; top: 40%; left: 0; z-index: 4; }
.mock-3 { width: 52%; bottom: -2%; right: 8%; z-index: 2; opacity: .96; }

.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600;
}
.scroll-cue svg { width: 20px; height: 20px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(5px); opacity: 1; } }

/* =========================================================
   2 · COSA FACCIO
   ========================================================= */
.cosa-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; }
.cosa-grid .lead { text-align: left; margin: 0; }
.pull {
  margin: 0; font-family: var(--serif); font-size: clamp(24px, 3.2vw, 33px); line-height: 1.28;
  color: var(--ink); padding-left: 26px; border-left: 3px solid var(--sage); font-weight: 500;
}

/* =========================================================
   3 · STORIA
   ========================================================= */
.story-card {
  position: relative;
  background: linear-gradient(180deg, var(--cream-2), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow);
}
.story-card .quote-glyph {
  position: absolute; top: 6px; left: 26px;
  font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--sage-soft); z-index: 0;
  pointer-events: none;
}
.story-card p { position: relative; z-index: 1; font-size: clamp(17px, 2vw, 20px); color: #443d34; margin: 0 0 20px; line-height: 1.72; }
.story-card p strong { color: var(--ink); }
.story-card .signature {
  font-family: var(--script); font-style: normal; font-size: 34px; color: var(--accent); margin: 6px 0 0; line-height: 1;
}

/* =========================================================
   4 · PERCHÉ ME
   ========================================================= */
.feat-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feat-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(121,111,102,.4); }
.feat-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--accent); margin-bottom: 20px;
}
.feat-ico svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 21px; margin-bottom: 9px; }
.feat-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
/* le ultime due celle centrate su riga da 3 */
.feat-card:nth-child(4) { grid-column: 1 / 2; }

/* =========================================================
   5 · SOCIAL vs SITO
   ========================================================= */
.section-dark .sec-title { color: #f4efe4; }
.vs-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch;
  max-width: 900px; margin: clamp(38px, 5vw, 54px) auto 0;
}
.vs-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
  padding: 30px 28px;
}
.vs-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
  background: rgba(255,255,255,.08); color: #cfc8b9;
}
.vs-tag-accent { background: rgba(184,171,156,.22); color: #d8cdbd; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.vs-card li { position: relative; padding-left: 27px; color: #d7d0c2; font-size: 15.5px; line-height: 1.5; }
.vs-social li::before {
  content: "✕"; position: absolute; left: 0; top: 0; color: #b98c78; font-weight: 700; font-size: 14px;
}
.vs-site li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #b8ab9c; font-weight: 700; font-size: 15px;
}
.vs-site { border-color: rgba(184,171,156,.4); box-shadow: 0 0 0 1px rgba(184,171,156,.15), 0 30px 60px -30px rgba(0,0,0,.6); }
.vs-versus {
  align-self: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: #9c9384;
}
.vs-punch {
  text-align: center; font-family: var(--serif); font-size: clamp(24px, 3.6vw, 38px); line-height: 1.25;
  color: #f4efe4; margin: clamp(40px, 5vw, 58px) auto 0; max-width: 760px; font-weight: 500;
}
.vs-punch em { font-style: italic; color: #cb9c88; }

/* =========================================================
   6 · LAVORI
   ========================================================= */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work { }
.work-frame {
  display: block; position: relative;
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.work-frame .mock-bar { height: 34px; }
.work-shot { overflow: hidden; aspect-ratio: 1440 / 900; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.work-frame:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-frame:hover .work-shot img { transform: scale(1.05); }
.work-open {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 12px);
  background: rgba(44,40,34,.9); color: #fbf7ef; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
  backdrop-filter: blur(4px); white-space: nowrap;
}
.work-frame:hover .work-open, .work-frame:focus-visible .work-open { opacity: 1; transform: translate(-50%, 0); }
.work-meta { padding: 18px 4px 0; }
.work-meta h3 { font-size: 21px; margin-bottom: 3px; }
.work-meta p { margin: 0; color: var(--sage); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.works-note {
  max-width: 640px; margin: clamp(40px, 5vw, 56px) auto 0; text-align: center;
  color: var(--ink-soft); font-size: 15px; font-style: italic; line-height: 1.6;
}

/* =========================================================
   7 · WHATSAPP — gallery di screenshot reali
   ========================================================= */
.chat-intro { text-align: center; max-width: 600px; margin: 0 auto clamp(34px, 5vw, 52px); }
.chat-intro p { font-size: clamp(19px, 2.3vw, 24px); font-family: var(--serif); color: var(--ink); line-height: 1.4; margin: 0 0 12px; }
.chat-intro .chat-note { font-family: var(--sans); font-size: 14px; font-style: italic; color: var(--ink-soft); }

.chat-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 46px) clamp(20px, 4vw, 56px);
  max-width: 760px; margin: 0 auto;
  justify-items: center; align-items: start;
}

/* uno screenshot ritagliato */
.wa-shot {
  --tilt: -2deg;
  width: 100%; max-width: 320px; margin: 0;
  background: #ece5dd; border-radius: 26px; overflow: hidden;
  box-shadow: 0 24px 52px -20px rgba(40, 36, 30, .45), 0 4px 12px rgba(40, 36, 30, .12);
  border: 1px solid rgba(0, 0, 0, .06);
  transform: rotate(var(--tilt));
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  will-change: transform;
}
.wa-shot:nth-child(1) { --tilt: -3deg; }
.wa-shot:nth-child(2) { --tilt: 2deg; margin-top: 30px; }
.wa-shot:nth-child(3) { --tilt: 2.5deg; }
.wa-shot:nth-child(4) { --tilt: -1.5deg; margin-top: 30px; }
/* reveal che preserva l'inclinazione (sovrascrive la .reveal generica) */
.wa-shot.reveal { opacity: 0; transform: translateY(24px) rotate(var(--tilt)); }
.wa-shot.reveal.is-visible { opacity: 1; transform: rotate(var(--tilt)); }
.wa-shot:hover,
.wa-shot.reveal.is-visible:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 34px 66px -22px rgba(40, 36, 30, .55); z-index: 3; position: relative; }

/* status bar */
.wa-sb {
  background: #075e54; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 15px 3px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.wa-sb-ic { display: inline-flex; align-items: center; }
.wa-sb-ic svg { display: block; }

/* header chat */
.wa-hd {
  background: #075e54; color: #fff;
  display: flex; align-items: center; gap: 8px; padding: 3px 11px 9px;
}
.wa-chevron { font-size: 21px; line-height: 1; margin: 0 -1px 0 -2px; opacity: .95; }
.wa-av {
  width: 33px; height: 33px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; color: #f4efe6; font-weight: 600; font-size: 15px; font-family: var(--sans);
  background: #b7a58f;
}
.wa-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-ct { display: flex; flex-direction: column; line-height: 1.18; margin-right: auto; min-width: 0; }
.wa-ct b { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-ct span { font-size: 10.5px; opacity: .85; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-hd-ic { display: inline-flex; gap: 15px; align-items: center; flex: none; }
.wa-hd-ic svg { width: 17px; height: 17px; display: block; opacity: .95; }

/* thread + wallpaper */
.wa-th {
  background-color: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%236f6459' stroke-opacity='0.05' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M38 40c-4-7-15-5-15 3 0 7 15 15 15 15s15-8 15-15c0-8-11-10-15-3z'/%3E%3Ccircle cx='140' cy='36' r='10'/%3E%3Cpath d='M135 40c3 3 7 3 10 0'/%3E%3Crect x='210' y='26' width='24' height='18' rx='4'/%3E%3Ccircle cx='222' cy='35' r='4.5'/%3E%3Crect x='30' y='126' width='30' height='22' rx='7'/%3E%3Cpath d='M40 148l0 8 8-8'/%3E%3Cpath d='M140 156V131l15-3v22'/%3E%3Ccircle cx='135' cy='156' r='4.5'/%3E%3Ccircle cx='150' cy='150' r='4.5'/%3E%3Cpath d='M222 128l3.2 6.6 7.3.9-5.3 5 1.3 7.2-6.5-3.6-6.5 3.6 1.3-7.2-5.3-5 7.3-.9z'/%3E%3Cpath d='M40 234c-6-5-8-16 2-19 6-2 11 2 9 8'/%3E%3Ccircle cx='140' cy='226' r='9'/%3E%3Cpath d='M136 224v4M144 224v4'/%3E%3Crect x='210' y='220' width='22' height='17' rx='3'/%3E%3Cpath d='M210 224l11 8 11-8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 250px;
  padding: 13px 9px 15px;
  display: flex; flex-direction: column; gap: 8px;
}
.wa-date {
  align-self: center; background: #d9e5df; color: #5a6b62;
  font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 7px;
  margin: 2px 0 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); letter-spacing: .03em;
}
.wa-msg {
  max-width: 88%; padding: 6px 9px 17px;
  font-size: 13px; line-height: 1.4; position: relative; color: #111b21;
  box-shadow: 0 1px .5px rgba(0, 0, 0, .13);
}
.wa-in  { align-self: flex-start; background: #fff;    border-radius: 2px 9px 9px 9px; }
.wa-out { align-self: flex-end;   background: #dcf8c6;  border-radius: 9px 9px 2px 9px; }
.wa-in::before {
  content: ""; position: absolute; left: -6px; top: 0;
  border-width: 0 8px 8px 0; border-style: solid; border-color: transparent #fff transparent transparent;
}
.wa-out::before {
  content: ""; position: absolute; right: -6px; top: 0;
  border-width: 0 0 8px 8px; border-style: solid; border-color: transparent transparent transparent #dcf8c6;
}
.wa-mt {
  position: absolute; right: 8px; bottom: 4px;
  font-size: 9.5px; color: #667781; display: inline-flex; align-items: center; gap: 3px;
}
.wa-out .wa-mt { color: #5b7261; }
.wa-mt .tick { width: 15px; height: 10px; }
.wa-mt .tick.read { color: #53bdeb; }
.wa-mt .tick.sent { width: 11px; color: #8696a0; }
.chat-cap {
  text-align: center; margin: clamp(34px, 5vw, 48px) auto 0;
  color: var(--ink-soft); font-size: 14px; font-style: italic; max-width: 520px; line-height: 1.6;
}

/* =========================================================
   8 · RECENSIONI SCHEDE
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 940px; margin: 0 auto; }
.review-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--sage-soft); color: var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 20px;
}
.review-head h3 { font-size: 18px; margin: 0 0 2px; }
.stars { margin: 0; color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.review-text { margin: 0; color: #4a4239; font-size: 15.5px; line-height: 1.62; }

.reviews-cta { text-align: center; margin-top: clamp(36px, 5vw, 48px); }
.ico-star { width: 19px; height: 19px; }

/* =========================================================
   9 · PREZZO
   ========================================================= */
.price-card {
  position: relative;
  background: linear-gradient(180deg, #fff, var(--cream-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 52px) clamp(28px, 4.5vw, 54px);
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--sand-deep), var(--accent), var(--gold));
}
.price-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--sage-soft); color: var(--accent); padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(121,111,102,.3); margin-bottom: 22px;
}
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin-bottom: 10px; }
.price-old { font-family: var(--serif); font-size: 30px; color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(201,139,124,.9); }
.price-new { font-family: var(--serif); font-weight: 600; font-size: clamp(58px, 9vw, 84px); color: var(--ink); line-height: .9; letter-spacing: -.02em; }
.price-new .cur { font-size: .5em; margin-left: 4px; color: var(--accent); }
.price-desc { color: var(--ink-soft); max-width: 440px; margin: 0 auto 26px; font-size: 16px; }
.price-list { list-style: none; margin: 0 auto 30px; padding: 0; max-width: 440px; text-align: left; display: grid; gap: 13px; }
.price-list li { position: relative; padding-left: 34px; font-size: 16px; color: #453e35; line-height: 1.45; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bordeaux-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c2b39' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.price-foot { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); font-style: italic; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 0 24px; overflow: hidden; transition: border-color .3s, box-shadow .3s, background .3s;
}
.faq-item[open] { border-color: rgba(121,111,102,.45); box-shadow: var(--shadow-sm); background: #fff; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-size: clamp(18px, 2.2vw, 21px); font-weight: 500; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.faq-plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-plus::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 0 22px; }
.faq-body p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.68; max-width: 640px; }
.faq-body strong { color: var(--ink); }

/* =========================================================
   10 · CTA FINALE
   ========================================================= */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #5f2029, var(--accent) 52%, #97404e);
  color: #f6ece9; text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  scroll-margin-top: 74px;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(45% 60% at 15% 20%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(50% 60% at 85% 90%, rgba(200,164,92,.18), transparent 60%);
}
.final-inner { position: relative; z-index: 1; }
.final-title { font-size: clamp(30px, 5vw, 52px); margin: 4px 0 34px; color: #fff; line-height: 1.14; }
.final-sub { max-width: 500px; margin: 28px auto 0; color: #ded7c9; font-size: 16px; line-height: 1.6; }
.final-cta .kicker-light { color: #e0d6c7; }
.final-cta .kicker-light::before, .final-cta .kicker-light::after { background: #e0d6c7; opacity: .55; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--dark); color: #cec7b8; padding: 54px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.logo-footer .logo-name { color: #f4efe4; }
.logo-footer .logo-mark { background: var(--accent); }
.footer-tag { margin: 0; font-family: var(--serif); font-size: 19px; color: #e9e3d6; }
.footer-contact { margin: 0; font-size: 15px; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer-contact a { color: #e9e3d6; font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact span { color: #8f887a; }
.footer-copy { margin: 0; font-size: 13.5px; color: #8f887a; }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-hover)); display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(95, 87, 79, .55), 0 4px 10px rgba(0,0,0,.15);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .4s, visibility .4s;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
}
.wa-fab.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px -8px rgba(95,87,79,.65); }
.wa-fab svg { width: 32px; height: 32px; position: relative; z-index: 2; }
.wa-fab-pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--accent); z-index: 1;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70%,100% { transform: scale(1.8); opacity: 0; } }
.wa-fab-label {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--ink); color: #efe9dd; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 9px 15px; border-radius: 10px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; box-shadow: var(--shadow);
}
.wa-fab-label::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--ink); }
.wa-fab:hover .wa-fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

/* =========================================================
   STICKER decorativi (ago & filo, blocco note, cuore, sparkle)
   ========================================================= */
.sticker { pointer-events: none; }
.sticker svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 4px 7px rgba(45,38,33,.14)); }
.sticker-needle { display: inline-block; width: clamp(32px, 4.6vw, 48px); height: clamp(32px, 4.6vw, 48px); vertical-align: middle; margin: 0 0 .18em 12px; transform: rotate(5deg); }
.sec-head { position: relative; }
.sticker-abs { position: absolute; z-index: 3; }
.sticker-note  { top: -6px;  right: -4%; width: 56px; height: 62px; transform: rotate(9deg); }
.sticker-heart { top: 0;     left: -2%;  width: 50px; height: 48px; transform: rotate(-11deg); }
.sticker-star  { top: -10px; right: 0;   width: 46px; height: 46px; transform: rotate(7deg); }
.sticker-float { animation: stickerFloat 5s ease-in-out infinite; }
@keyframes stickerFloat { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-6px) rotate(var(--rot,0deg)); } }
/* nuove posizioni sticker */
.sticker-cursor  { top: 0;    left: -3%;  width: 44px; height: 44px; transform: rotate(-8deg); }
.sticker-chart   { top: -12px; right: -2%; width: 54px; height: 54px; transform: rotate(7deg); }
.sticker-quest   { top: -12px; right: -3%; width: 50px; height: 54px; transform: rotate(8deg); }
.sticker-sparkle { position: absolute; top: 12%; right: 8%; width: 72px; height: 64px; z-index: 2; }

/* =========================================================
   BUTTON sheen
   ========================================================= */
.btn { position: relative; overflow: hidden; }
.btn-accent::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-18deg); transition: left .65s var(--ease); pointer-events: none;
}
.btn-accent:hover::after { left: 150%; }

/* =========================================================
   COOKIE
   ========================================================= */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: 340px; max-width: calc(100vw - 40px);
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 16px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
.cookie.show { opacity: 1; visibility: visible; transform: none; }
.cookie p { margin: 0 0 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.55; }
.cookie p strong { color: var(--ink); }
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 9px; justify-content: flex-end; }
.cookie .btn-sm { padding: 8px 18px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; max-width: 640px; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-stack { height: 360px; }

  .cosa-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .cosa-grid .lead { text-align: center; }
  .pull { border-left: none; padding-left: 0; border-top: 3px solid var(--sage); padding-top: 24px; text-align: center; }

  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card:nth-child(4) { grid-column: auto; }

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

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 66px 0; }

  .hero { padding: 108px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 11vw, 50px); }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .sticker-abs { display: none; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }

  .vs-grid { grid-template-columns: 1fr; }
  .vs-versus { padding: 4px 0; }

  .feat-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  .chat-gallery { grid-template-columns: 1fr; gap: 26px; max-width: 340px; }
  .wa-shot { max-width: 320px; }
  .wa-shot:nth-child(2), .wa-shot:nth-child(4) { margin-top: 0; }

  .wa-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .wa-fab svg { width: 30px; height: 30px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
