/* georgematei.com · v14 (28/10/2026)
   Struttura e stile presi dai siti dei protocolli MG: due colori più il bianco,
   bottoni a pillola, card arrotondate, fasce curve, la persona in primo piano. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #08122a;
  --navy-900: #0b1733;
  --navy-800: #0f1e3a;
  --navy-700: #172b50;
  --navy-600: #22396a;
  --ink: #0f1e3a;
  --ink-soft: #44516a;
  --muted: #5d6980;
  --gold-text: #86651f;
  --line: #e2e7ef;
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --gold-200: #f6e7c1;
  --gold-400: #e2c27a;
  --gold-500: #c9a14a;
  --gold-600: #a07a2c;
  --grad-gold: linear-gradient(135deg, #f3dc98 0%, #d6b05b 48%, #b88a33 100%);
  --radius: 22px;
  --shadow: 0 30px 60px -28px rgba(15, 30, 58, 0.35);
  --shadow-sm: 0 14px 34px -16px rgba(15, 30, 58, 0.3);
  --wrap: 1160px;
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.7vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: 14px; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 820px; }
.center { text-align: center; }
.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; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 3px; border-radius: 6px; }
.loghi__box :focus-visible, .method :focus-visible, .book :focus-visible, .footer :focus-visible, .section--navy :focus-visible { outline-color: var(--gold-400); }

/* ---------- etichette e bottoni ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.eyebrow--light { color: var(--gold-400); }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--grad-gold); border-radius: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-gold);
  color: var(--navy-900);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(184, 138, 51, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 20px 36px -12px rgba(184, 138, 51, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 12px 4px; }
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cta-center { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ---------- menu ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(15, 30, 58, 0.5); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.wordmark__mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); font-size: 13px; font-weight: 800; letter-spacing: 0.02em; box-shadow: inset 0 0 0 2px rgba(226, 194, 122, 0.55); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 120px;
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(34, 57, 106, 0.1), transparent 70%),
    radial-gradient(700px 420px at 10% 0%, rgba(226, 194, 122, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; }
.hero__copy h1 { margin-top: 18px; }
.hero__copy h1 .accent { background: linear-gradient(120deg, #b88a33, #d6b05b 60%, #a07a2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 560px; }
.hero__cta { margin-top: 32px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); box-shadow: 0 6px 16px -12px rgba(15, 30, 58, 0.4); }
.hero__trust svg { width: 16px; height: 16px; color: var(--gold-600); flex: none; }

.hero__photo { position: relative; justify-self: center; width: min(100%, 480px); aspect-ratio: 4 / 5; }
.hero__disc {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--navy-600), var(--navy-800) 62%, var(--navy-950));
  box-shadow: 0 40px 80px -30px rgba(11, 23, 51, 0.6), inset 0 0 0 10px rgba(255, 255, 255, 0.04);
}
.hero__disc::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(201, 161, 74, 0.55); }
.hero__img { position: absolute; left: 50%; bottom: 0; width: 82%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }

.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); flex: none; }
.chip__ico svg { width: 18px; height: 18px; }
.chip--1 { top: 18%; left: -6%; }
.chip--2 { top: 46%; right: -8%; }
.chip--3 { bottom: 14%; left: -2%; }

/* ---------- fascia loghi ---------- */

.loghi { position: relative; z-index: 3; margin-top: -78px; }
.loghi__box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 38px 0 36px;
  background: radial-gradient(800px 300px at 50% 0%, var(--navy-600), var(--navy-800) 70%);
  box-shadow: var(--shadow);
  text-align: center;
  color: #fff;
}
.loghi__title { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.01em; color: #fff; padding: 0 24px; }
.loghi__note { margin-top: 6px; font-size: 13.5px; color: rgba(255, 255, 255, 0.62); padding: 0 24px; }
.marquee { position: relative; margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: scorri 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee__group li { flex: none; display: flex; align-items: center; height: 64px; }
.marquee__group img { height: 38px; width: auto; opacity: 0.9; }
.marquee__group .lg-tr { height: 17px; }
.marquee__group .lg-fcb { height: 62px; }
.marquee__group .lg-google { height: 32px; }
.marquee__group .lg-scrum { height: 54px; }
.marquee__group .lg-iulm { height: 46px; }
.marquee__group .lg-real { height: 30px; }
.marquee__group .lg-minital { height: 20px; }
.marquee__group .lg-mg { height: 42px; }
@keyframes scorri { to { transform: translateX(-50%); } }
.loghi__cta { margin-top: 30px; }

/* ---------- sezioni ---------- */

.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section__head h2 { margin-top: 14px; }
.section__head p:not(.eyebrow) { margin-top: 18px; font-size: 18.5px; color: var(--ink-soft); }

/* il problema */
.problem h2 { max-width: 900px; margin: 14px auto 0; }
.problem__card { max-width: 820px; margin: 44px auto 0; padding: 34px 38px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.problem__end { margin-top: 22px !important; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }

.checks { margin-top: 18px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 40px; color: var(--ink-soft); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1733' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--grad-gold);
  box-shadow: 0 6px 14px -8px rgba(184, 138, 51, 0.8);
}
.checks--x li::before {
  background: center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b778d' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"), #e4e8ef;
  box-shadow: none;
}

/* fascia curva */
.dome {
  position: relative;
  background: radial-gradient(1200px 400px at 50% 0%, var(--navy-600), var(--navy-800) 70%);
  color: #fff;
  border-radius: 50% 50% 0 0 / 120px 120px 0 0;
  padding: 120px 0 110px;
  text-align: center;
}
.dome__quote { max-width: 900px; margin: 0 auto; font-size: clamp(24px, 3.1vw, 36px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: #fff; }
.dome__quote strong { color: var(--gold-400); font-weight: 800; }

/* cosa faccio */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative;
  padding: 34px 32px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); box-shadow: inset 0 0 0 1px rgba(226, 194, 122, 0.4); }
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-top: 22px; }
.card p { margin-top: 12px; color: var(--ink-soft); }


/* metodo */
.method { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.method h2, .method h3 { color: #fff; }
.method__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.method__photo { position: sticky; top: calc(var(--nav-h) + 30px); }
.method__photo img { width: 100%; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(226, 194, 122, 0.35); }
.method__caption { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.method__promise { margin-top: 22px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(226, 194, 122, 0.35); color: #fff; font-size: 18px; }
.method__promise strong { color: var(--gold-400); }
.steps { margin-top: 36px; position: relative; display: grid; gap: 26px; }
.steps::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, rgba(226, 194, 122, 0.8), rgba(226, 194, 122, 0.08)); }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.step__num { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 2px solid var(--gold-500); color: var(--gold-400); font-weight: 800; font-size: 17px; }
.step h3 { font-size: 20px; padding-top: 4px; }
.step p { margin-top: 8px; }
.method .cta-row { margin-top: 40px; }
.method .eyebrow { color: var(--gold-400); }

/* cosa cambia */
.gains { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; max-width: 980px; margin: 0 auto; }
.gains li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 10px 26px -18px rgba(15, 30, 58, 0.45); font-weight: 600; color: var(--ink); line-height: 1.4; }
.gains li::before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1733' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"), var(--grad-gold); background-size: 14px, cover; background-position: center; background-repeat: no-repeat; box-shadow: 0 6px 14px -8px rgba(184, 138, 51, 0.8); }

.medals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.medal { text-align: center; }
.medal__disc {
  width: 138px;
  height: 138px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--navy-600), var(--navy-900));
  box-shadow: 0 0 0 3px rgba(11, 23, 51, 1), 0 0 0 6px rgba(201, 161, 74, 0.9), 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}
.medal__num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.medal__num--sm { font-size: 31px; }
.medal p { margin: 22px auto 0; max-width: 220px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }

/* per chi */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { padding: 34px 34px 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.fit__col--no { background: #f7f8fb; box-shadow: none; }
.fit__col h3 { font-size: 20px; }

/* chi sono */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about__photo { position: relative; aspect-ratio: 4 / 5; max-width: 470px; justify-self: center; width: 100%; }
.about__photo::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; top: 18%; border-radius: 240px 240px 28px 28px; background: radial-gradient(circle at 30% 20%, var(--navy-600), var(--navy-900)); box-shadow: inset 0 0 0 2px rgba(226, 194, 122, 0.45); }
.about__photo img { position: absolute; left: 50%; bottom: 0; width: 80%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.about__copy h2 { margin-top: 14px; }
.about__copy > p:not(.eyebrow) { color: var(--ink-soft); }
.about__copy h2 + p { margin-top: 22px; }
.creds { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.path { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.path li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.path b { font-weight: 700; color: var(--gold-600); font-size: 13.5px; letter-spacing: 0.02em; padding-top: 1px; }
.path strong { font-weight: 700; }

/* domande */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 10px 26px -20px rgba(15, 30, 58, 0.45); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 17.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--bg-soft) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1e3a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-200); }
.faq details > div { padding: 0 26px 24px; color: var(--ink-soft); }
.faq__more { margin-top: 30px; text-align: center; color: var(--ink-soft); }

/* prenota */
.book { background: radial-gradient(1200px 420px at 50% 0%, var(--navy-600), var(--navy-900) 72%); color: rgba(255, 255, 255, 0.82); border-radius: 50% 50% 0 0 / 120px 120px 0 0; padding: 130px 0 110px; overflow: hidden; }
.book h2 { color: #fff; margin-top: 14px; }
.book__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 48px; align-items: end; }
.book__photo { position: relative; align-self: end; }
.book__photo img { width: 100%; max-width: 360px; margin: 0 auto; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.book__copy p:not(.eyebrow) { margin-top: 18px; font-size: 18px; }
.book__copy .btn { margin-top: 30px; }
.book__widget { margin-top: 36px; border-radius: 22px; background: #fff; overflow: hidden; display: none; box-shadow: var(--shadow); }
.book__widget.is-open { display: block; }
.book__note { margin-top: 18px !important; font-size: 14px !important; color: rgba(255, 255, 255, 0.6); }
.book__note a, .book__partner a { color: var(--gold-400); text-underline-offset: 3px; }
.book__partner { margin-top: 26px !important; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px !important; color: rgba(255, 255, 255, 0.7); }

/* footer */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.66); padding: 46px 0 40px; font-size: 14.5px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.footer .wordmark { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer a:hover { color: var(--gold-400); }
.footer__legal { width: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* pagine interne: calendario, privacy */
.page-hero { padding: 70px 0 30px; background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 50px); margin-top: 14px; }
.page-hero p:not(.eyebrow) { margin-top: 16px; font-size: 18.5px; color: var(--ink-soft); max-width: 700px; }
.cal-page { padding: 10px 0 90px; background: var(--bg-soft); }
.cal-page__box { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.cal-page__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.cal-page__note a { color: var(--ink); text-underline-offset: 3px; }

.legal { max-width: 760px; }
.legal__updated { margin-top: 10px; font-size: 14px; color: var(--muted); }
.legal__intro { margin-top: 24px; font-size: 19px; color: var(--ink-soft); }
.legal h2 { font-size: clamp(23px, 2.6vw, 28px); margin: 52px 0 14px; }
.legal p:not(.eyebrow), .legal li { color: var(--ink-soft); font-size: 17px; }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal ul { margin: 14px 0 0; padding-left: 20px; list-style: disc; }
.legal li + li { margin-top: 10px; }
.legal a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- comparsa ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 0.9s; }
.js .chip { opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .hero.is-in .chip { opacity: 1; transform: none; }
.js .hero.is-in .chip--1 { transition-delay: 0.55s; }
.js .hero.is-in .chip--2 { transition-delay: 0.75s; }
.js .hero.is-in .chip--3 { transition-delay: 0.95s; }
.chip.is-floating { animation: galleggia 6s ease-in-out infinite; }
.chip--2.is-floating { animation-delay: -2s; }
.chip--3.is-floating { animation-delay: -4s; }
@keyframes galleggia { 50% { transform: translateY(-7px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .chip.is-floating { animation: none; }
  .marquee__track { animation-duration: 160s; }
  .btn, .card { transition: none; }
}

/* ---------- tablet e telefono ---------- */

@media (max-width: 980px) {
  .nav__links { display: none; }
  .hero { padding: 34px 0 110px; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__photo { width: min(88%, 420px); }
  .method__grid, .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .method__photo { position: relative; top: 0; max-width: 460px; }
  .medals { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .book__grid { grid-template-columns: 1fr; }
  .book__photo { display: none; }
}

@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .wordmark { font-size: 17px; }
  .wordmark__mark { width: 30px; height: 30px; font-size: 12px; }
  .nav .btn--small { padding: 9px 16px; font-size: 12px; min-height: 40px; }
  .hide-sm { display: none; }
  .hero__lead { font-size: 17.5px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .link-arrow { margin: 0 auto; }
  .hero__trust li { font-size: 12.5px; }
  .chip { font-size: 12.5px; padding: 8px 12px 8px 8px; border-radius: 13px; }
  .chip__ico { width: 28px; height: 28px; border-radius: 8px; }
  .chip--1 { left: -4%; top: 16%; }
  .chip--2 { right: -6%; }
  .chip--3 { left: 0; bottom: 12%; }
  .loghi { margin-top: -84px; }
  .loghi__box { border-radius: 22px; padding: 30px 0 28px; }
  .marquee__group { gap: 44px; padding-right: 44px; }
  .marquee__group img { height: 30px; }
  .marquee__group .lg-tr { height: 13px; }
  .marquee__group .lg-fcb { height: 50px; }
  .marquee__group .lg-google { height: 26px; }
  .marquee__group .lg-scrum { height: 44px; }
  .marquee__group .lg-iulm { height: 38px; }
  .marquee__group .lg-real { height: 24px; }
  .marquee__group .lg-minital { height: 15px; }
  .loghi__cta .btn { width: calc(100% - 44px); }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 34px; }
  .problem__card { padding: 26px 22px; }
    .dome, .book { border-radius: 50% 50% 0 0 / 46px 46px 0 0; }
  .dome { padding: 86px 0 80px; }
  .offer-grid, .gains, .fit { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .gains li { border-radius: 18px; }
  .medal__disc { width: 116px; height: 116px; }
  .medal__num { font-size: 33px; }
  .medal__num--sm { font-size: 26px; }
  .medal p { font-size: 14.5px; }
  .fit__col { padding: 28px 24px; }
  .path li { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { padding: 18px 58px 18px 20px; font-size: 16.5px; }
  .faq details > div { padding: 0 20px 20px; }
  .book { padding: 96px 0 80px; }
  .book__copy .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- v5: elementi aggiunti dopo il giro 1 ---------- */

.hero__sub { margin-top: 14px; font-size: clamp(20px, 2.3vw, 26px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--gold-600); }
.hero__copy h1 { max-width: 620px; }

.chip { align-items: center; padding: 10px 16px 10px 10px; white-space: normal; max-width: 250px; line-height: 1.3; font-weight: 500; font-size: 13px; color: var(--ink-soft); }
.chip b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.chip--1 { top: 14%; left: -10%; }
.chip--2 { top: 44%; right: -12%; }
.chip--3 { bottom: 12%; left: -6%; }

.loghi__note { margin-top: 20px; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.5); }

.hello { max-width: 820px; margin: 56px auto 0; display: flex; gap: 22px; align-items: center; }
.hello img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-500), var(--shadow-sm); }
.hello p { font-size: 18.5px; color: var(--ink-soft); }

.medals--light { margin-top: 56px; }
.medals--light .medal__disc { box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(201, 161, 74, 0.95), 0 24px 44px -22px rgba(11, 23, 51, 0.65); }
.medals--light .medal p { color: var(--ink-soft); font-weight: 500; }
.medal__disc { position: relative; flex-direction: column; }
.medal__pre { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }

.method__side { position: relative; }
.offer { margin-top: 40px; padding: 30px 30px 28px; border-radius: var(--radius); background: #fff; color: var(--ink-soft); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.offer__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); }
.method .offer h3 { margin-top: 6px; color: var(--ink); font-size: 22px; }
.offer .checks { margin-top: 16px; }
.offer__end { margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }

.offer-grid { grid-template-columns: 1fr 1fr; }
.offer-grid .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
.offer-grid .card:first-child .card__ico, .offer-grid .card:first-child h3, .offer-grid .card:first-child > p { grid-column: 1; }
.offer-grid .card:first-child .demo { grid-column: 2; grid-row: 1 / span 3; }
.offer-grid__end { margin-top: 30px; text-align: center; font-weight: 600; color: var(--ink); }

.demo { padding: 18px 18px 14px; border-radius: 18px; background: #e9eef5; display: grid; gap: 10px; }
.demo__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.demo__msg { position: relative; max-width: 88%; padding: 10px 14px 20px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; color: var(--ink); background: #fff; box-shadow: 0 4px 10px -8px rgba(15, 30, 58, 0.5); margin: 0 !important; }
.demo__msg .demo__time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: var(--muted); }
.demo__msg--out { justify-self: end; background: #d9f2df; }

.about__quote { margin: 26px 0 0; padding: 18px 0 0 22px; border-left: 3px solid var(--gold-500); }
.about__quote p { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.4; }
.about__quote footer { margin-top: 6px; font-size: 20px; font-style: italic; font-weight: 600; color: var(--gold-600); }
.about__copy .cta-row { margin-top: 32px; }
.cta-center .cta-note { margin-top: 0; }

@media (max-width: 980px) {
  .chip--1 { left: -6%; }
  .chip--2 { right: -6%; }
  .chip--3 { left: -2%; }
  .offer-grid .card:first-child { grid-template-columns: 1fr; }
  .offer-grid .card:first-child .demo { grid-column: 1; grid-row: auto; margin-top: 20px; }
}

@media (max-width: 700px) {
  .hero__sub { font-size: 19px; }
  .chip { max-width: 200px; padding: 8px 12px 8px 8px; font-size: 11.5px; }
  .chip b { font-size: 12px; }
  .chip--1 { left: -4%; top: 12%; }
  .chip--2 { right: -4%; top: 42%; }
  .chip--3 { left: -2%; bottom: 10%; }
  .hello { flex-direction: column; text-align: center; gap: 16px; margin-top: 44px; }
  .hello p { font-size: 17px; }
  .medals--light { margin-top: 44px; }
  .offer { padding: 24px 20px; }
  .offer-grid { grid-template-columns: 1fr; }
  .demo__msg { font-size: 13.5px; }
  .about__quote p { font-size: 19px; }
}

/* fascia curva in oro, come le fasce colorate dei protocolli */
.dome { background: linear-gradient(135deg, #f1d891 0%, #d9b465 50%, #c39a45 100%); color: var(--navy-900); }
.dome__quote { color: var(--navy-900); font-weight: 500; }
.dome__quote strong { color: var(--navy-900); font-weight: 800; }
.dome + .method { margin-top: 0; }
.chip--1 { top: 24%; left: -14%; }
.chip--2 { top: 50%; right: -12%; }
.chip--3 { bottom: 8%; left: -8%; }
@media (max-width: 980px) {
  .chip--1 { left: -8%; }
  .chip--2 { right: -8%; }
}
@media (max-width: 700px) {
  .chip--1 { top: 34%; left: -5%; }
  .chip--2 { top: 56%; right: -5%; }
  .chip--3 { bottom: 4%; left: -3%; }
}

/* ---------- v6: correzioni del giro 2 ---------- */

.eyebrow { color: var(--gold-text); }
.eyebrow--light, .method .eyebrow, .section--navy .eyebrow { color: var(--gold-400); }
.offer__kicker, .path b, .about__quote footer { color: var(--gold-text); }

/* volto nell'etichetta dell'hero */
.eyebrow--face { gap: 12px; letter-spacing: 0.1em; }
.eyebrow--face::before { display: none; }
.eyebrow--face img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold-500); }
.hero__cta .cta-note { margin-top: 12px; }

/* notifiche: posizioni definitive */
.chip--1 { top: 22%; left: -14%; }
.chip--2 { top: 50%; right: -12%; }
.chip--3 { bottom: 8%; left: -8%; }
.chip.is-floating { animation-iteration-count: 3; }
@media (max-width: 1240px) { .chip--1 { left: -4%; } .chip--2 { right: -2%; } .chip--3 { left: -2%; } }

/* problemi: pallino, non spunta */
.checks--dot li::before { background: var(--navy-800); box-shadow: inset 0 0 0 8px var(--navy-800), inset 0 0 0 13px #fff; width: 24px; height: 24px; top: 2px; }
.problem__end { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.problem__end p { font-weight: 600; color: var(--ink); max-width: 440px; margin: 0; }

/* metodo */
.method__lead { margin-top: 18px; font-size: 18.5px; color: rgba(255, 255, 255, 0.9); }
.method__alt { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--gold-500); color: rgba(255, 255, 255, 0.82); }

/* Cosa cambia su fascia blu con arco */
.section--navy { background: radial-gradient(1100px 420px at 50% 0%, var(--navy-600), var(--navy-900) 75%); color: rgba(255, 255, 255, 0.82); border-radius: 50% 50% 0 0 / 120px 120px 0 0; }
.section--navy h2 { color: #fff; }
.section--navy .gains li { border-color: transparent; }
.section--navy .cta-note { color: rgba(255, 255, 255, 0.72); }

/* chi sono: arco chiaro */
.about__photo::before { background: linear-gradient(180deg, #f6e7c1, #e7cf98); box-shadow: inset 0 0 0 2px rgba(160, 122, 44, 0.25); }
.about__copy .cta-row .cta-note { margin-top: 0; }

/* prenota */
.book__face { display: none; }
.book__note { margin-top: 22px !important; }
.book__copy .btn { margin-top: 18px; }

/* footer */
.footer__links a { padding: 10px 0; }
.footer__partner { width: 100%; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.footer__partner a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }

/* loghi: pulsante per fermarli */
.marquee__toggle { margin-left: 6px; padding: 6px 2px; background: none; border: 0; color: rgba(255, 255, 255, 0.82); font: inherit; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.loghi__note { font-size: 13px; color: rgba(255, 255, 255, 0.66); padding: 0 24px; }
.marquee__group .lg-scrum { height: 24px; }
.marquee__group .lg-iulm { height: 34px; }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 28px 44px; padding: 0 24px; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__toggle { display: none; }
}

@media (max-width: 980px) {
  .method__side { order: 2; }
  .method__photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
}

@media (max-width: 700px) {
  .nav .btn--small { min-height: 44px; }
  .eyebrow--face { font-size: 12px; }
  .eyebrow--face img { width: 40px; height: 40px; }
  .chip { max-width: 58%; font-size: 12px; }
  .chip--1 { top: 42%; left: -4%; }
  .chip--2 { top: 66%; right: -4%; }
  .chip--3 { display: none; }
  .problem__end { flex-direction: column; align-items: stretch; }
  .problem__end .btn { width: 100%; }
  .section--navy { border-radius: 50% 50% 0 0 / 46px 46px 0 0; }
  .about__photo { aspect-ratio: 2 / 3; max-width: 320px; }
  .book__face { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--gold-500); }
  .marquee__group .lg-scrum { height: 19px; }
  .marquee__group .lg-iulm { height: 28px; }
}

/* v6: tre medaglie centrate, anche sul telefono */
.medals--light { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
@media (max-width: 980px) { .medals--light { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .medals--light { gap: 10px; }
  .medals--light .medal__disc { width: 88px; height: 88px; }
  .medals--light .medal__num { font-size: 27px; }
  .medals--light .medal p { font-size: 13px; margin-top: 16px; }
}

/* v6: un elemento nascosto resta nascosto anche se è un bottone */
[hidden] { display: none !important; }
#calendario, .book__note { scroll-margin-top: calc(var(--nav-h) + 16px); }
.loghi__note { margin-top: 22px; max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.loghi__cta { margin-top: 24px; }
.cal-page__note { margin: 0 0 18px; max-width: 720px; }
.cal-page__open { margin-bottom: 24px; }
.cal-page__open svg { width: 18px; height: 18px; }

/* v6 · giro 3 (design): notifiche lontane dal volto, archi senza angoli bianchi, rifiniture */
@media (min-width: 701px) and (max-width: 1240px) { .chip { max-width: 210px; } .chip--1 { left: -14%; } }
@media (max-width: 700px) { .chip--1 { top: 48%; } .chip--2 { top: auto; bottom: -4%; } }
@media (max-width: 400px) { .chip { max-width: 64%; padding: 6px 10px 6px 6px; gap: 8px; } .chip__ico { width: 24px; height: 24px; } }
.book__note:focus { outline: none; }
#cosa, #domande { padding-bottom: 230px; }
.section--navy, .book { position: relative; margin-top: -120px; }
.steps { padding-left: 0; }
.method__copy h2 { margin-top: 14px; }
.cta-note { color: var(--ink-soft); }
.section--navy .cta-note { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 980px) {
  .book__face { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px var(--gold-500); }
}
@media (max-width: 700px) {
  #cosa, #domande { padding-bottom: 126px; }
  .section--navy, .book { margin-top: -46px; }
}

/* ---------- v7: «Tocca con mano», esempi interattivi ---------- */
.try { background: #f5f5f7; }
.try .section__head { margin-bottom: 34px; }
.try__tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 40px; width: max-content; max-width: 100%; border-radius: 999px; background: #e7e9ef; overflow-x: auto; scrollbar-width: none; }
.try__tabs::-webkit-scrollbar { display: none; }
.try__tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 12px 20px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-soft); cursor: pointer; transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.try__tabs [role="tab"] svg { width: 18px; height: 18px; }
.try__tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 18px -10px rgba(15, 30, 58, 0.5); }
.try__panel { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.try__panel[hidden] { display: none; }
.try__copy h3 { font-size: clamp(24px, 2.6vw, 32px); }
.try__copy > p { margin-top: 14px; color: var(--ink-soft); font-size: 17.5px; }
.try__hint { margin-top: 26px !important; font-weight: 700; color: var(--ink) !important; font-size: 15px !important; }
.try__chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chipbtn { padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--navy-800); background: #fff; color: var(--navy-800); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.chipbtn:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.chipbtn:disabled { opacity: 0.45; cursor: default; transform: none; background: #fff; color: var(--navy-800); }
.try__note { margin-top: 36px; text-align: center; font-size: 14px; color: var(--muted); }

/* telefono */
.phone { justify-self: center; width: min(100%, 380px); height: 620px; display: flex; flex-direction: column; border-radius: 44px; background: #0b0f17; padding: 12px; box-shadow: 0 50px 90px -40px rgba(11, 23, 51, 0.6), inset 0 0 0 2px #2b3446; }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 32px 32px 0 0; background: #075e54; color: #fff; }
.phone__bar b { display: block; font-size: 15.5px; }
.phone__bar small { font-size: 12.5px; opacity: 0.85; }
.phone__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e2c27a; color: #0b1733; font-weight: 800; font-size: 13px; }
.phone__chat { flex: 1; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; background: #ece5dd; scroll-behavior: smooth; }
.phone__empty { margin: auto; max-width: 220px; text-align: center; font-size: 14px; color: #5b6472; background: rgba(255, 255, 255, 0.7); padding: 10px 14px; border-radius: 12px; }
.phone__day { align-self: center; font-size: 12px; font-weight: 600; color: #5b6472; background: rgba(255, 255, 255, 0.8); padding: 4px 10px; border-radius: 8px; }
.bubble { position: relative; max-width: 84%; margin: 0 !important; padding: 8px 12px 20px; border-radius: 12px; font-size: 14.5px; line-height: 1.42; color: #111b21; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); animation: entra 0.35s ease both; }
.bubble--in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.bubble__time { position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; color: #667781; }
.bubble--typing { display: flex; gap: 4px; padding: 12px 14px; }
.bubble--typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: punto 1s infinite ease-in-out; }
.bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing i:nth-child(3) { animation-delay: 0.3s; }
.notice { align-self: stretch; margin-top: 4px; padding: 12px 14px; border-radius: 14px; background: #fff; border-left: 4px solid var(--gold-500); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.4); animation: entra 0.45s ease both; }
.notice b { display: block; font-size: 14px; color: var(--ink); }
.notice span { font-size: 13px; color: var(--ink-soft); }
.phone__replies { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 10px; min-height: 58px; background: #f0f2f5; border-radius: 0 0 32px 32px; }
.reply { padding: 9px 14px; border-radius: 999px; border: 0; background: #fff; color: #075e54; font: inherit; font-size: 14px; font-weight: 700; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.25); cursor: pointer; animation: entra 0.3s ease both; }
.reply:hover { background: #075e54; color: #fff; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes punto { 0%, 80%, 100% { transform: translateY(0); opacity: 0.5; } 40% { transform: translateY(-4px); opacity: 1; } }

/* preventivi */
.seg { margin-top: 24px; display: inline-flex; padding: 4px; border-radius: 999px; background: #e7e9ef; }
.seg button { padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -8px rgba(15, 30, 58, 0.6); }
.range { display: block; margin-top: 22px; font-weight: 700; font-size: 15px; color: var(--ink); }
.range output { color: var(--gold-text); }
.range input { display: block; width: 100%; margin-top: 12px; accent-color: var(--navy-800); height: 28px; }
.btn--ghost { margin-top: 16px; background: transparent; border: 1.5px solid var(--navy-800); color: var(--navy-800); box-shadow: none; }
.btn--ghost:hover { background: var(--navy-800); color: #fff; filter: none; }
.btn--ghost:disabled { opacity: 0.5; }
.board { padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); min-height: 440px; }
.quote { position: relative; padding: 18px 20px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); }
.quote__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quote__title { margin-top: 4px !important; font-weight: 700; font-size: 17px; }
.quote__badge { position: absolute; top: 16px; right: 16px; margin: 0 !important; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; display: none; }
.quote__badge--ok { background: #d9f7e3; color: #13663a; }
.quote__badge--ko { background: #fde2e1; color: #9b2320; }
.quote[data-state="ok"] .quote__badge--ok, .quote[data-state="ko"] .quote__badge--ko { display: block; animation: entra 0.4s ease both; }
.tl { list-style: none; margin: 22px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.tl li { position: relative; font-size: 15px; color: var(--ink-soft); opacity: 0.18; transition: opacity 0.4s ease, transform 0.4s ease; transform: translateX(-4px); }
.tl li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); transition: background 0.4s ease; }
.tl li.is-on { opacity: 1; transform: none; }
.tl li.is-on::before { background: var(--gold-500); }
.tl li[data-state="ok"].is-on { color: #13663a; font-weight: 700; }
.tl li[data-state="ko"].is-on { color: #9b2320; font-weight: 700; }
.tl li[data-state="ok"].is-on::before { background: #1f9d55; }
.tl li[data-state="ko"].is-on::before { background: #d64541; }
.tl b { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* report */
.report { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); min-height: 440px; align-content: start; }
.src { padding: 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; gap: 8px; transition: border-color 0.3s ease, background 0.3s ease, opacity 0.4s ease; }
.src__name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.src span { height: 8px; border-radius: 6px; background: #dfe4ec; }
.src span:nth-child(3) { width: 70%; }
.src span:nth-child(4) { width: 85%; }
.src.is-read { border-color: var(--gold-500); background: #fff8e8; }
.src.is-read span { background: linear-gradient(90deg, #e9d29a, #f5e7c2); }
.src.is-done { opacity: 0.45; }
.report__out { grid-column: 1 / -1; margin-top: 6px; padding: 20px; border-radius: 18px; background: var(--navy-800); color: rgba(255, 255, 255, 0.85); opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.report__out.is-in { opacity: 1; transform: none; }
.report__head { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-400); }
.report__tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.report__tiles p { margin: 0 !important; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); font-size: 13px; }
.report__tiles b { display: block; font-size: 26px; color: #fff; letter-spacing: -0.02em; }
.report__todo-t { margin-top: 16px !important; font-weight: 700; color: #fff; font-size: 14px; }
.report__todo { margin-top: 8px; display: grid; gap: 6px; font-size: 14px; }
.report__todo li { padding-left: 18px; position: relative; }
.report__todo li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); }

@media (prefers-reduced-motion: reduce) {
  .bubble, .notice, .reply { animation: none; }
  .bubble--typing i { animation: none; }
}
@media (max-width: 980px) {
  .try__panel { grid-template-columns: 1fr; gap: 32px; }
  .try__tabs { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .try__tabs { width: 100%; border-radius: 18px; }
  .try__tabs [role="tab"] { padding: 10px 14px; font-size: 13.5px; }
  .phone { height: 560px; border-radius: 38px; }
  .phone__bar { border-radius: 28px 28px 0 0; }
  .phone__replies { border-radius: 0 0 28px 28px; }
  .board, .report { padding: 18px; min-height: 0; }
  .report { grid-template-columns: 1fr 1fr; }
  .report .src:nth-child(3) { grid-column: 1 / -1; }
}

/* v7: fascia con soli loghi */
.loghi__box { padding: 26px 0; }
.loghi__box .marquee { margin-top: 0; }
.marquee__group .lg-herba { height: 34px; }
.marquee__group .lg-allin { height: 17px; }
.marquee__group .lg-aa { height: 50px; }
.marquee__group .lg-eroi { height: 28px; }
.marquee__group .lg-pea { height: 32px; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@media (max-width: 700px) {
  .loghi__box { padding: 20px 0; }
  .marquee__group .lg-herba { height: 28px; }
  .marquee__group .lg-allin { height: 14px; }
  .marquee__group .lg-aa { height: 42px; }
  .marquee__group .lg-eroi { height: 23px; }
  .marquee__group .lg-pea { height: 27px; }
}
.marquee__track { animation-duration: 80s; }
.report-go { margin-top: 22px; }
.tab-short { display: none; }
@media (max-width: 700px) {
  .try__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; }
  .try__tabs [role="tab"] { justify-content: center; padding: 11px 6px; gap: 6px; }
  .tab-long { display: none; }
  .tab-short { display: inline; }
}
.medals--4 { grid-template-columns: repeat(4, 1fr); max-width: 1040px; }
@media (max-width: 980px) { .medals--4 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 700px) { .medals--4 .medal__disc { width: 96px; height: 96px; } .medals--4 .medal__num { font-size: 30px; } .medals--4 .medal__num--sm { font-size: 24px; } }

/* v7: nuovo ordine (5 click di Borzacchiello) */
.numbers-light { padding: 90px 0 20px; background: #fff; }
#domande { padding-bottom: 110px; }
#prova, #cambia, #perchi { padding-bottom: 230px; }
.dome { margin-top: -120px; z-index: 1; }
.try__ask { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.hello a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .numbers-light { padding: 64px 0 10px; }
  #prova, #cambia, #perchi { padding-bottom: 126px; }
  .dome { margin-top: -46px; }
  #domande { padding-bottom: 80px; }
}
#perchi { background: #fff; }
.loghi__label { margin: 0 0 14px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.marquee__pause { position: absolute; right: 12px; bottom: 50%; transform: translateY(50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(8, 18, 42, 0.75); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.marquee__pause svg { width: 14px; height: 14px; }
.marquee { position: relative; }
.try__panel { align-items: start; }
.try__copy { padding-top: 24px; }
.try__after { margin-top: 22px !important; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink) !important; }
.try__after a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.report__time { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; font-weight: 600; color: var(--gold-400); }
a.chip { text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
/* chat: il visitatore è il cliente, come su WhatsApp i suoi messaggi a destra in verde */
.bubble--in { align-self: flex-end; background: #d9fdd3; border-top-left-radius: 12px; border-top-right-radius: 4px; }
.bubble--out { align-self: flex-start; background: #fff; border-top-right-radius: 12px; border-top-left-radius: 4px; }
.phone__replies { justify-content: flex-end; }
@media (max-width: 700px) { .marquee__pause { width: 30px; height: 30px; right: 8px; } .try__copy { padding-top: 0; } }
/* giro 4 design: pausa visibile, niente salti, stati disabilitati senza perdere il focus */
.loghi__box { position: relative; }
.marquee__pause { right: 16px; bottom: 16px; transform: none; top: auto; }
.chipbtn[aria-disabled="true"], .btn[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.chipbtn[aria-disabled="true"]:hover { background: #fff; color: var(--navy-800); transform: none; }
.try__after { opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.try__after.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 700px) { .marquee__pause { right: 10px; bottom: 10px; } }
.try__after:not(.is-on) { visibility: hidden; }
.phone__chat:focus { outline: none; }
/* il primo logo parte fuori dalla sfumatura, spazi tutti uguali, il giro parte quando la fascia compare */
@media (prefers-reduced-motion: no-preference) {
  .marquee { --m: 64px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--m), #000 calc(100% - var(--m)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--m), #000 calc(100% - var(--m)), transparent); }
  .marquee__group { padding: 0 0 0 var(--m); }
  .js .loghi__box:not(.is-in) .marquee__track { animation-play-state: paused; }
}
@media (max-width: 700px) { .marquee { --m: 44px; } }

/* Barça a colori con il nome sotto; IULM solo monogramma */
.marquee__group li.lg-cap { flex-direction: column; justify-content: center; gap: 4px; }
.marquee__group .lg-cap .lg-fcb { height: 44px; opacity: 1; }
.lg-cap span { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); line-height: 1; white-space: nowrap; }
.marquee__group .lg-iulm { height: 30px; }
@media (max-width: 700px) {
  .marquee__group .lg-cap .lg-fcb { height: 38px; }
  .lg-cap span { font-size: 10px; }
  .marquee__group .lg-iulm { height: 25px; }
}
.marquee__group img.lg-col { opacity: 1; }

/* ---------- v8 · 29/10: foto dal vivo al posto delle foto in studio ripetute ---------- */
/* chi sono: la foto vera dentro l'arco; su desktop segue il testo mentre scorri */
.about__photo { margin: 0; width: 100%; max-width: 470px; justify-self: center; aspect-ratio: auto; }
.about__photo::before { content: none; }
.about__photo img { position: static; transform: none; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 240px 240px 28px 28px; -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 7px #fff, 0 0 0 9px rgba(201, 161, 74, 0.55), var(--shadow); }
.about__photo figcaption { margin-top: 18px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (min-width: 981px) and (min-height: 760px) { .about__grid { align-items: start; } .about__photo { position: sticky; top: calc(var(--nav-h) + 40px); } }
@media (max-width: 700px) {
  .about__photo { max-width: 340px; }
  .about__photo img { aspect-ratio: 3 / 4; }
}
/* prenota: foto dello shooting in blu; un alone chiaro dietro stacca il completo dallo sfondo blu */
.book__photo::before { content: ""; position: absolute; left: 50%; top: 2%; width: min(100%, 400px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 178, 232, 0.24), rgba(150, 178, 232, 0.08) 60%, transparent); pointer-events: none; }
.book__photo img { position: relative; }
/* metodo: la frase in grassetto restava blu su blu (regola generale strong → --ink) */
.method__lead strong { color: #fff; }
/* calendario subito sotto l'apertura, già aperto con le date */
.cal-top { position: relative; padding: 8px 0 72px; }
.cal-top__box { max-width: 980px; margin: 0 auto; padding: 34px 34px 24px; border-radius: 28px; background: #fff; border: 1px solid rgba(201, 161, 74, 0.28); box-shadow: var(--shadow); }
.cal-top__head { text-align: center; }
.cal-top__head .eyebrow { justify-content: center; }
.cal-top__head h2 { margin-top: 12px; }
.cal-top__head h2:focus { outline: none; }
.cal-top__widget { margin-top: 18px; border-radius: 18px; overflow: hidden; }
.cal-top__note { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.cal-top__note a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 700px) {
  .cal-top { padding: 0 0 52px; }
  .cal-top__box { padding: 24px 10px 16px; border-radius: 22px; }
}
/* il riquadro del calendario sale sul fondo dell'apertura, come prima i loghi; i loghi vengono dopo */
.cal-top { z-index: 3; margin-top: -78px; padding-bottom: 56px; }
.cal-top + .loghi { margin-top: 0; }
.cal-top__widget { position: relative; min-height: 620px; }
.cal-top__widget iframe { position: relative; z-index: 1; display: block; }
.cal-top__wait { position: absolute; left: 0; right: 0; top: 110px; z-index: 0; margin: 0; text-align: center; font-size: 15px; color: var(--muted); pointer-events: none; transition: opacity 0.3s ease; }
.cal-top__widget.is-ready .cal-top__wait { opacity: 0; }
@media (max-width: 700px) { .cal-top { margin-top: -70px; padding-bottom: 40px; } }
/* sotto i 380 px il widget chiede 297 px di larghezza: il riquadro lascia più spazio al calendario */
@media (max-width: 380px) { .cal-top .wrap { padding: 0 8px; } .cal-top__box { padding-left: 0; padding-right: 0; } .cal-top__head, .cal-top__note { padding: 0 12px; } }
/* pagina del calendario: stesso spazio in più sotto i 380 px */
@media (max-width: 380px) { .cal-page .wrap { padding: 0 8px; } .cal-page__note { padding: 0 10px; } }
