/* =========================================================================
   Tania KA — Accademia Holistica · premium light liquid-glass landing
   iOS 26 / Apple-inspired · light luxury holistic aesthetic
   ========================================================================= */

:root {
  /* palette */
  --bg-cream: #F8F1EA;
  --bg-pearl: #FFFDF9;
  --bg-blush: #F3D8D2;
  --bg-champagne: #E8D6C3;
  --text-main: #3F3431;
  --text-muted: #7A6861;
  --rose: #C98286;
  --rose-deep: #B66F76;
  --rose-soft: #EAC2C4;
  --gold: #C9A46A;
  --glass-white: rgba(255, 255, 255, 0.46);
  --glass-border: rgba(255, 255, 255, 0.72);
  --shadow-soft: rgba(115, 75, 68, 0.14);

  /* design tokens (Tania KA - Home) */
  --headline: #473936;
  --t-mut: #685650;
  --t-soft: #8A746C;

  /* type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1480px;
  --nav-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(38% 46% at 16% 18%, rgba(255,255,255,0.9), transparent 70%),
    radial-gradient(46% 52% at 80% 44%, rgba(243,216,210,0.5), transparent 72%),
    radial-gradient(40% 44% at 92% 86%, rgba(225,210,236,0.4), transparent 72%),
    radial-gradient(44% 40% at 56% 100%, rgba(201,164,106,0.16), transparent 70%),
    linear-gradient(135deg, #FFFDF9 0%, #FFF8F2 42%, #F6EBE1 72%, #F2E1D6 100%);
  background-attachment: fixed;
  min-height: 100svh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- decorative auras / blobs ------------------------------------------ */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 999px; filter: blur(60px); opacity: 0.4;
  will-change: transform;
  animation: floatBlob 16s ease-in-out infinite alternate;
}
.blob--1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -12%; left: -10%;
  background: radial-gradient(circle, rgba(234, 194, 196, 0.85), transparent 70%); }
.blob--2 { width: 42vw; height: 42vw; max-width: 560px; max-height: 560px; bottom: -14%; right: -8%;
  background: radial-gradient(circle, rgba(232, 214, 195, 0.8), transparent 70%); animation-duration: 20s; animation-delay: -4s; }
.blob--3 { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; top: 38%; left: 52%;
  background: radial-gradient(circle, rgba(220, 208, 236, 0.55), transparent 70%); animation-duration: 24s; animation-delay: -8s; opacity: 0.3; }

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -34px) scale(1.08); }
}

/* ---- typography -------------------------------------------------------- */
.display { font-family: var(--font-display); font-weight: 600; }
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(60px, 8.4vw, 132px); line-height: 0.96; letter-spacing: -0.018em;
}
h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(46px, 6.2vw, 96px); line-height: 1.0; letter-spacing: -0.012em;
}
h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
.accent { color: var(--rose-deep); }
.spark { color: var(--gold); font-size: 0.62em; vertical-align: middle; }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--text-muted); line-height: 1.55; }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-deep); font-weight: 600; }

/* ---- icons ------------------------------------------------------------- */
.icon { width: 22px; height: 22px; stroke: var(--rose-deep); stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; overflow: visible; }
.icon--gold { stroke: var(--gold); }

/* PNG badge icons (reference set) */
.ic { width: 62px; height: 62px; object-fit: contain; flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(185,111,120,0.18)); }
.ic--sm { width: 22px; height: 22px; filter: none; }
.icon-badge {
  width: 64px; height: 64px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), rgba(255,255,255,.35));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 28px rgba(120,80,70,.12);
  flex: 0 0 auto;
}
.icon-badge .icon { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .icon-badge { animation: badgeGlow 4.5s ease-in-out infinite; }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 28px rgba(120,80,70,.12); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 34px rgba(201,130,134,.26); }
}

/* ---- glass panel ------------------------------------------------------- */
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.26));
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 24px 80px rgba(115, 75, 68, 0.12), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(255,255,255,0.24);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.65;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.55), transparent 38%),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.65), transparent 34%);
}
.glass-panel::after {
  content: ""; position: absolute; inset: 1px; border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.25); pointer-events: none;
}
.glass-panel > * { position: relative; z-index: 1; }

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass-panel { background: rgba(255, 253, 249, 0.92); }
}

/* ---- buttons ----------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; padding: 15px 26px; font-family: var(--font-body); font-size: 16px;
  font-weight: 600; letter-spacing: 0.01em; cursor: pointer; text-decoration: none; border: none;
  position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 18px; height: 18px; }
/* primary — translucent rose glass with multi-corner inner shadows for volume (no animation) */
.btn-primary { color: #fff; text-shadow: 0 1px 2px rgba(120,50,60,0.4);
  background: linear-gradient(135deg, rgba(217,154,158,0.82), rgba(185,111,120,0.74));
  -webkit-backdrop-filter: blur(3px) saturate(140%); backdrop-filter: saturate(130%) url("#liquid-glass");
  box-shadow:
    inset 0 2px 1px -1px rgba(255,255,255,0.65),      /* top sheen */
    inset 2px 2px 1px -2px rgba(255,255,255,0.75),    /* top-left edge light */
    inset 1px 1px 1px -0.5px rgba(255,255,255,0.5),   /* soft top-left fill */
    inset -2px -2px 2px -2px rgba(110,45,55,0.55),    /* bottom-right edge shade */
    inset -1px -1px 1px -0.5px rgba(110,45,55,0.42),  /* bottom-right line */
    inset 0 -7px 13px -9px rgba(110,45,55,0.55),      /* lower inner depth */
    inset 0 0 7px 3px rgba(255,255,255,0.07),         /* inner body glow */
    0 2px 6px rgba(120,60,65,0.18),                   /* contact shadow */
    0 16px 36px -10px rgba(185,111,120,0.42); }       /* ambient lift */
.btn-primary .icon { stroke: #fff; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-primary:active { transform: translateY(0); filter: brightness(0.97); }

/* secondary — liquid glass: layered inset highlights + corner shadows = depth (no animation) */
.btn-secondary { color: var(--text-main);
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,251,247,0.1));  /* translucent glass */
  -webkit-backdrop-filter: blur(3px) saturate(140%); backdrop-filter: saturate(130%) url("#liquid-glass");  /* refract backdrop (NO blur → stays see-through) */
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 3px 0 1.5px -1.5px rgba(255,255,255,0.98),  /* LEFT bright edge (light source) */
    inset 8px 0 11px -8px rgba(255,255,255,0.6),       /* LEFT inner sheen spreading right */
    inset 2px 2px 1px -1.5px rgba(255,255,255,0.95),   /* top-left corner light */
    inset 0 2px 1px -1px rgba(255,255,255,0.8),         /* top sheen line */
    inset 1px 1px 2px -0.5px rgba(255,255,255,0.6),     /* soft fill */
    inset -2px -2px 1px -2px rgba(150,100,100,0.5),     /* bottom-right shade */
    inset -3px -3px 0.5px -3px rgba(150,100,100,0.4),   /* tight bottom-right rim */
    inset -1px -1px 2px -0.5px rgba(150,100,100,0.32),  /* soft bottom-right */
    inset 0 0 8px 5px rgba(255,255,255,0.16),           /* frosted inner ring */
    inset 0 0 3px 1px rgba(255,255,255,0.28),           /* inner core glow */
    0 1px 2px rgba(80,50,50,0.05),                      /* contact line */
    0 8px 20px -8px rgba(140,95,90,0.26),               /* ambient depth */
    0 0 10px rgba(255,255,255,0.12); }                  /* outer halo */
.btn-secondary .icon { stroke: var(--rose-deep); }
.btn-secondary:hover { transform: translateY(-2px); background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,251,247,0.2)); }
.btn-secondary:active { transform: translateY(0); }

/* inner refracted light beam + caustic glints (light passing through the glass) */
.btn-primary::before, .btn-secondary::before {
  content: ""; position: absolute; inset: -12%; z-index: -1; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(122deg, transparent 26%, rgba(255,255,255,0.55) 43%, rgba(255,255,255,0.12) 50%, transparent 60%),  /* diagonal light beam */
    radial-gradient(42% 64% at 20% 28%, rgba(255,255,255,0.55), transparent 60%),   /* upper-left glint */
    radial-gradient(34% 54% at 74% 78%, rgba(255,255,255,0.3), transparent 66%);    /* lower-right glint */
  filter: url("#liquid-glass");      /* distorts the beam → refraction */
  mix-blend-mode: screen;            /* light adds through the surface */
  opacity: 0.5;
}


/* image button (pre-rendered glass pill) — outer shadow + press animation */
.btn-img { display: inline-flex; align-items: center; padding: 0; border: none; background: none;
  cursor: pointer; line-height: 0; border-radius: 999px; -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 14px 24px rgba(150,80,90,0.30)) drop-shadow(0 3px 7px rgba(150,80,90,0.20));
  transition: transform .16s cubic-bezier(.2,.8,.2,1), filter .16s ease; }
.btn-img img { display: block; height: 64px; width: auto; pointer-events: none; }
.btn-img:hover { transform: translateY(-2px);
  filter: drop-shadow(0 20px 32px rgba(150,80,90,0.36)) drop-shadow(0 5px 10px rgba(150,80,90,0.22)); }
.btn-img:active { transform: translateY(1px) scale(0.96);
  filter: drop-shadow(0 5px 10px rgba(150,80,90,0.28)); transition-duration: .08s; }
/* nav variant — smaller, lighter shadow */
.nav-cta-img img { height: 55px; }
.nav-cta-img { filter: drop-shadow(0 8px 16px rgba(150,80,90,0.26)) drop-shadow(0 2px 5px rgba(150,80,90,0.18)); }
.nav-cta-img:hover { filter: drop-shadow(0 12px 22px rgba(150,80,90,0.32)) drop-shadow(0 3px 7px rgba(150,80,90,0.2)); }

/* focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(185,111,120,.45); outline-offset: 4px;
}

/* ---- nav --------------------------------------------------------------- */
.nav-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90%; max-width: none; z-index: 50; }   /* near full width: 5% gutters each side */
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px 0 24px; border-radius: 26px;
  /* warm sides + light center; left ~2 tones lighter than right */
  background: linear-gradient(90deg, rgba(245,226,214,0.95) 0%, rgba(252,244,237,0.93) 50%, rgba(237,212,197,0.95) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(115%); backdrop-filter: blur(22px) saturate(115%);   /* less warm bleed from bg image */
  box-shadow:
    0 16px 36px -14px rgba(150,105,95,0.42), 0 5px 14px -7px rgba(150,105,95,0.24),   /* outer: separate from bg */
    inset 0 2px 1px 0 rgba(255,255,255,0.9),         /* inner volume — same technique as the bottom dock */
    inset 0 8px 9px -4px rgba(255,255,255,0.5),
    inset 5px 0 7px -3px rgba(255,255,255,0.45),
    inset -5px 0 7px -3px rgba(255,255,255,0.38),
    inset 0 -7px 8px -3px rgba(255,255,255,0.48),
    inset 0 0 22px 2px rgba(255,255,255,0.14); }
.nav::before { background: radial-gradient(ellipse 50% 130% at 50% 0%, rgba(255,255,255,0.5), transparent 60%); opacity: 0.7; }   /* light sheen centered */
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; gap: 46px; align-items: center; margin: 0 auto; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 8px 2px; border-radius: 999px; transition: color .2s ease; }
.nav-links a:hover { color: var(--rose-deep); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-menu-btn { display: none; width: 46px; height: 46px; border-radius: 999px; align-items: center; justify-content: center;
  background: var(--glass-white); border: 1px solid var(--glass-border); cursor: pointer; }

/* ---- layout / sections ------------------------------------------------- */
main { position: relative; z-index: 1; }
.section { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 24px) 32px 32px;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.section + .section { padding-top: 20px; }

/* ---- per-section full-bleed backgrounds, edges feathered → seamless ----- */
#quiz::before, #consulenze::before, #chi-sono::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; max-width: 2200px; z-index: -1; pointer-events: none;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
#quiz::before      { background-image: url("expert/bg-percorso.webp");
  background-size: cover; background-repeat: no-repeat; background-position: center; }
#consulenze::before{ background-image: url("expert/bg-consulenze.webp"); }
#chi-sono::before  { background-image: url("expert/bg-contatto.webp"); }
.section-head { max-width: 760px; margin-bottom: 38px; }
#quiz .section-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
#quiz .section-head h2 { white-space: nowrap; margin: 0; transform: translateY(-10%); }
#quiz .section-head .lead { flex: 0 1 440px; max-width: 440px; margin: 0 0 6px; }
.section-head .lead { margin-top: 16px; }

@media (min-width: 980px) and (hover: hover) {
  html { scroll-snap-type: y proximity; }
  .section { scroll-snap-align: start; }
}

/* ---- reveal ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ===== HERO (design: Tania KA - Home) ================================== */
.hero { position: relative; width: 90%; max-width: none; margin: 0 auto; min-height: 100vh; min-height: 100svh; min-height: 100dvh;
  padding: calc(var(--nav-h) + 30px) 24px 46px; display: flex; flex-direction: column; justify-content: center; }  /* 90% width aligns with nav */

.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; pointer-events: none; z-index: 0; overflow: hidden;
  background: url("expert/bg-home.webp") center / cover no-repeat;
  aspect-ratio: 16 / 9; min-height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.hero .orb-left { position: absolute; left: -14%; top: -22%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(255,255,255,.5), rgba(255,252,248,.06) 55%, transparent 72%);
  border: 1px solid rgba(255,255,255,.3); }
.hero .flare { position: absolute; right: -3%; top: 22%; width: 360px; height: 360px; border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(255,210,180,0), rgba(255,200,210,.18), rgba(210,200,255,.16), rgba(255,225,190,0));
  filter: blur(36px); opacity: .6; }
.hero .bokeh { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; mix-blend-mode: screen; }
.hero .b1 { width:46px; height:46px; right:16%; top:34%; background:radial-gradient(circle,rgba(196,224,255,.55),transparent 65%); }
.hero .b2 { width:70px; height:70px; right:8%;  top:56%; background:radial-gradient(circle,rgba(255,205,210,.5),transparent 65%); }
.hero .b3 { width:30px; height:30px; right:24%; top:64%; background:radial-gradient(circle,rgba(214,200,255,.55),transparent 65%); }
.hero .b4 { width:120px;height:120px;right:3%;  top:70%; background:radial-gradient(circle,rgba(255,224,196,.45),transparent 65%); filter:blur(8px); }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }

.hero-left { position: relative; z-index: 3; }
.hero-left h1 { color: var(--headline); font-weight: 700; letter-spacing: -0.01em; line-height: .92; transform: translateY(-15%); }   /* bold Cormorant, raised 15% */
.hero-left h1 .l1 { display: block; font-size: clamp(58px, 9.2vw, 150px); }
.hero-left h1 .l2 { display: block; font-size: clamp(46px, 7.4vw, 122px); margin-top: -4px; }
.hero-accent { font-family: var(--font-display); color: var(--rose); font-weight: 400; line-height: 1; margin-top: 16px;
  display: flex; align-items: center; gap: 16px; letter-spacing: -.5px; font-size: clamp(30px, 4.4vw, 72px); }
.hero-accent .spark { width: clamp(20px,2.4vw,30px); height: clamp(20px,2.4vw,30px); color: var(--rose); flex: 0 0 auto; }
.goldline { position: relative; width: 320px; max-width: 62%; height: 1.5px; margin: 28px 0 0 6px;
  background: linear-gradient(90deg, rgba(201,164,106,.6), rgba(201,164,106,0)); }
.goldline .spark { position: absolute; right: -2px; top: -7px; width: 15px; height: 15px; color: rgba(201,164,106,.75); }
.hero-sub { margin-top: 30px; max-width: 560px; font-size: clamp(16px,1.4vw,21px); line-height: 1.55; color: var(--t-mut); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.hero-actions .ic-sm { flex: 0 0 auto; }

/* portrait + orb */
.hero-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.hero-visual .orb-main { position: absolute; width: 110%; max-width: 680px; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 36% 30%, rgba(255,255,255,.65), rgba(255,250,247,.18) 42%, rgba(243,222,224,.12) 66%, rgba(231,219,240,.07) 100%);
  box-shadow: inset 0 0 90px rgba(255,255,255,.5), inset 14px 18px 60px rgba(255,255,255,.55), inset -30px -30px 80px rgba(196,150,150,.10), 0 40px 120px -40px rgba(170,120,120,.18);
  border: 1px solid rgba(255,255,255,.45); }
.hero-visual .orb-glow { position: absolute; width: 118%; max-width: 740px; aspect-ratio: 1; border-radius: 50%; z-index: 0; filter: blur(6px);
  background: radial-gradient(circle at 50% 45%, rgba(255,253,250,.96) 0%, rgba(255,250,246,.85) 34%, rgba(255,247,242,.45) 56%, rgba(250,236,232,.15) 74%, transparent 86%); }
.hero-portrait { position: relative; z-index: 2; width: 79%; max-width: 534px; display: block;
  transform: translate(-33%, 3%);
  filter: drop-shadow(0 30px 50px rgba(150,100,95,.22));
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 100%); }

/* bubble primitive (glass orb with line icon) */
.bubble { position: relative; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(125% 125% at 32% 24%, rgba(255,255,255,.96), rgba(255,247,241,.55) 52%, rgba(244,231,221,.4) 100%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.95), inset 0 -5px 9px rgba(190,130,120,.14), 0 9px 18px -7px rgba(160,100,90,.28); }
.bubble::before { content:''; position:absolute; left:18%; top:13%; width:38%; height:26%; border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), transparent 72%); }
.bubble svg { display: block; }

/* floating image cards — spread down the right (ref look), arc tucks ends toward portrait */
.fc1 { top: 4%;  right: -1%; }
.fc2 { top: 29.3%; right: -9%; }
.fc3 { top: 54.6%; right: -9%; }
.fc4 { top: 79.9%; right: -1%; }

/* image-based card (pre-rendered glass PNG) — outer shadow separates it from the bg */
.fcard-img { position: absolute; z-index: 4; width: 276px; height: auto; pointer-events: none; user-select: none;
  filter: drop-shadow(0 14px 22px rgba(120,80,75,0.26)) drop-shadow(0 3px 6px rgba(120,80,75,0.15)); }

@media (prefers-reduced-motion: no-preference) {
  .fcard-img { animation: floatCard 6s ease-in-out infinite alternate; }
  .fc2 { animation-delay: -1.5s; } .fc3 { animation-delay: -3s; } .fc4 { animation-delay: -4.5s; }
}
@keyframes floatCard { 0% { transform: translateY(0); } 100% { transform: translateY(-12px); } }

/* bottom dock */
.hero-dock { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; height: 80px; border-radius: 32px;   /* same width as nav (90% viewport) */
  display: flex; align-items: center; gap: 14px; padding: 0 16px; overflow: hidden;
  background: transparent;   /* no glass-panel fill → .dock-base controls transparency */
  -webkit-backdrop-filter: blur(1px) saturate(150%); backdrop-filter: blur(1px) saturate(140%) url("#liquid-glass");
  border: 1px solid rgba(255,255,255,0.16);   /* thin faint base hairline */
  box-shadow: 0 20px 44px -12px rgba(120,72,68,0.40), 0 7px 18px -6px rgba(120,72,68,0.30); }  /* outer: lift off the bg */
.hero-dock > .bubble, .hero-dock > .dock-text { position: relative; z-index: 1; }
.hero-dock .dbub { width: 56px; height: 56px; }
.dock-text { margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px;
  font-size: clamp(13px,1.2vw,18px); font-weight: 500; color: var(--t-brown); }
.dock-text .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .7; }

/* dock — clean translucent glass (~30% transparent) with volume from inner shadows */
.dock-fx { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: clip; pointer-events: none; }
.dock-base { position: absolute; inset: 0;   /* warm translucent tint → frosted bg shows through */
  background: linear-gradient(115deg, rgba(247,224,217,0.46) 0%, rgba(239,219,203,0.44) 50%, rgba(245,220,213,0.46) 100%); }
/* inner shadows — WHITE, rough, uneven per side → glassy volume + variable edge */
.dock-fx::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow:
    inset 0 2px 1px 0 rgba(255,255,255,0.95),          /* crisp top edge line (rough) */
    inset 0 8px 9px -4px rgba(255,255,255,0.6),         /* soft top white glow */
    inset 5px 0 7px -3px rgba(255,255,255,0.55),        /* left white */
    inset -5px 0 7px -3px rgba(255,255,255,0.42),       /* right white (softer → edge varies) */
    inset 0 -7px 8px -3px rgba(255,255,255,0.55),       /* bottom white */
    inset 0 0 22px 2px rgba(255,255,255,0.16); }        /* inner white glow → volume */

/* narrower desktops: no side gutter, keep cards inside the frame */
@media (max-width: 1560px) {
  .fc1 { right: 4%; } .fc2 { right: -3%; } .fc3 { right: -3%; } .fc4 { right: 4%; }
}
@media (max-width: 1200px) { .fcard-img { display: none; } }
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-accent { justify-content: center; }
  .goldline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 380px; }
  .hero-portrait { transform: none; }
  .hero-dock { position: static; margin: 30px auto 0; max-width: 760px; }
}
@media (max-width: 720px) {
  .hero { padding: calc(var(--nav-h) + 22px) 18px 28px; min-height: auto; }
  .hero-portrait { max-width: 320px; width: 88%; }
  .hero-dock { height: auto; padding: 14px 16px; }
  .hero-dock .dbub { display: none; }
}

/* short viewports (laptops): compress hero so the bottom dock stays visible without scroll */
@media (min-width: 1081px) and (max-height: 940px) {
  .hero { padding: calc(var(--nav-h) + 20px) 24px 56px; }
  .hero-left h1 .l1 { font-size: clamp(46px, 6.6vw, 104px); }
  .hero-left h1 .l2 { font-size: clamp(38px, 5.4vw, 86px); }
  .hero-sub { margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-visual { min-height: 320px; }
  .hero-portrait { max-width: 396px; }
  .hero-dock { bottom: 16px; height: 66px; }
  .hero-dock .dbub { width: 48px; height: 48px; }
}
@media (min-width: 1081px) and (max-height: 800px) {
  .hero { padding: calc(var(--nav-h) + 12px) 24px 44px; }
  .hero-left h1 .l1 { font-size: clamp(40px, 5vw, 74px); }
  .hero-left h1 .l2 { font-size: clamp(32px, 4.2vw, 60px); }
  .hero-sub { margin-top: 10px; font-size: 14px; }
  .hero-actions { margin-top: 14px; }
  .hero-visual { min-height: 236px; }
  .hero-portrait { max-width: 313px; }
  .hero-dock { height: 60px; bottom: 12px; }
}

/* ===== grids of cards =================================================== */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
/* quiz row: 2 cards, centred; courses row: 3 cards */
.cards-quiz { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 16px; justify-content: center; }
.cards-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 16px; justify-content: center; }
@media (max-width: 900px) { .cards-courses, .cards-quiz { grid-template-columns: 1fr; } }

/* --- compact Percorso so the whole section + footer fits one screen --- */
#quiz.section { min-height: auto; padding-top: calc(var(--nav-h) + 18px); padding-bottom: 22px; }
#quiz .section-head { margin-bottom: 24px; }
#quiz .sub-head { margin: 30px 0 18px; }
#quiz .card { padding: 18px 20px; gap: 9px; }
#quiz .course-card { padding: 18px 20px; }
footer.site-footer { margin-top: 26px; padding: 22px 32px 28px; }

.card { padding: 30px 24px; border-radius: 30px; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 13px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 90px rgba(115,75,68,.18); border-color: rgba(255,255,255,0.9); }
.card h3 { font-size: 20px; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 15px; flex: 1 1 auto; }
.card-cta { display: inline-flex; align-items: center; gap: 7px; color: var(--rose-deep); font-weight: 600;
  font-size: 15px; text-decoration: none; align-self: center; }
.card-cta .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.card:hover .card-cta .icon { transform: translateX(4px); }

/* gratuito badge on quiz cards */
.badge-free {
  position: absolute; top: 12px; right: 14px; z-index: 2; pointer-events: none;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, rgba(201,130,134,0.90), rgba(182,111,118,0.84));
  padding: 4px 11px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 3px 8px rgba(185,111,120,0.28);
}

/* sub heading inside a section */
.sub-head { display: flex; align-items: center; gap: 14px; margin: 56px 0 24px; flex-wrap: nowrap; }
.sub-head h3 { font-size: clamp(28px, 3.2vw, 44px); white-space: nowrap; }
.sub-rule { flex: 1 1 auto; min-width: 60px; display: flex; align-items: center; }
.sub-rule::before, .sub-rule::after { content: ""; flex: 1; height: 1px; background: rgba(201,164,106,.3); }
.sub-rule .spark { margin: 0 16px; }

/* course mini cards (horizontal: icon left, text right — like reference) */
.course-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 5px;
  align-items: center; text-align: left; padding: 22px 22px; }
.course-card .ic { width: 54px; height: 54px; grid-row: 1 / span 3; align-self: center; }
.course-card h3 { font-size: 18px; grid-column: 2; }
.course-card p { font-size: 14px; grid-column: 2; }
.course-card .card-cta { grid-column: 2; align-self: start; }

/* ===== liquid-glass cards (Percorso) — from the Tailwind example ===========
   backdrop-blur + translucent tint + border-white/50 + inset top highlight,
   plus two diagonal white sheens (::before / ::after). Adapted to a LIGHT bg:
   the example used bg-black/20 + white text; here we keep a light tint and the
   existing dark text. Sheen direction rotates per card so they're not identical. */
#quiz .card.glass-panel {
  --g1: to bottom right;          /* static sheen direction (per card)  */
  --shineAng: 115deg;             /* moving glint angle (per card)       */
  --shineDur: 7s;                 /* glint speed (per card)              */
  --shineDelay: 0s;               /* glint offset so cards never sync     */
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: 22px;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);            /* strong frost — blurs the bg through the glass */
  box-shadow:
    inset 2px 2px 4px rgba(255,255,255,0.45),            /* neumorphic light (top-left)  */
    inset -2px -2px 5px rgba(120,82,74,0.10),            /* neumorphic dark (bottom-right, warm) */
    inset 0 2px 1px rgba(255,255,255,0.85),              /* bright top rim */
    0 22px 46px -14px rgba(120,82,74,0.22),              /* soft float shadow */
    0 6px 14px -8px rgba(120,82,74,0.16);                /* contact shadow */
}
/* static directional sheen — different angle per card */
#quiz .card.glass-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  opacity: 0.70;
  background: linear-gradient(var(--g1), rgba(255,255,255,0.55), transparent 46%);
}
/* moving glint (adapted from the Uiverse metallic shine) — staggered per card */
#quiz .card.glass-panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(var(--shineAng), transparent 38%, rgba(255,255,255,0.45) 50%, transparent 62%);
  background-size: 230% 230%;
  animation: glassShine var(--shineDur) var(--shineDelay) ease-in-out infinite;
}
@keyframes glassShine {
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
@media (prefers-reduced-motion: reduce) { #quiz .card.glass-panel::after { animation: none; } }
#quiz .card.glass-panel:hover {
  transform: translateY(-6px);
  box-shadow:
    inset 2px 2px 4px rgba(255,255,255,0.50),
    inset -2px -2px 5px rgba(120,82,74,0.10),
    inset 0 2px 1px rgba(255,255,255,0.90),
    0 30px 58px -14px rgba(120,82,74,0.26),
    0 8px 16px -8px rgba(120,82,74,0.18);
}
/* each card a different light direction + glint timing → lively, never blends */
#quiz-cards .card:nth-child(1), #course-cards .card:nth-child(1) { --g1: to bottom right; --shineAng:110deg; --shineDur:7s;   --shineDelay:0s;    }
#quiz-cards .card:nth-child(2), #course-cards .card:nth-child(2) { --g1: to bottom left;  --shineAng:250deg; --shineDur:8.5s; --shineDelay:-3s;   }
#quiz-cards .card:nth-child(3), #course-cards .card:nth-child(3) { --g1: to top right;    --shineAng: 70deg; --shineDur:6.2s; --shineDelay:-1.6s; }
#quiz-cards .card:nth-child(4), #course-cards .card:nth-child(4) { --g1: to top left;     --shineAng:200deg; --shineDur:9.3s; --shineDelay:-4.4s; }

/* CTA = glass button; light direction inherits the card's --g1 → each differs */
#quiz .card .card-cta {
  margin-top: 4px; padding: 9px 18px; border-radius: 12px;
  background: linear-gradient(var(--g1, 120deg), rgba(255,255,255,0.34), rgba(255,255,255,0.14) 58%);
  border: 1px solid rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(12px) saturate(150%); backdrop-filter: blur(12px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.70), 0 4px 10px -6px rgba(120,82,74,0.25);
  transition: filter .3s ease, transform .25s ease, box-shadow .3s ease;
}
#quiz .card .card-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.80), 0 6px 14px -8px rgba(120,82,74,0.30);
}
/* whole card is clickable (wired in landing.js); show pointer over the card */
#quiz .card { cursor: pointer; }
.consult-card .ic { width: 64px; height: 64px; }

.section-foot { margin-top: 34px; display: flex; justify-content: center; }

/* ===== consultations / method ========================================== */
.consult-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: start; }
.consult-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consult-card .meta { font-size: 13px; color: var(--rose-deep); font-weight: 600; letter-spacing: 0.04em; }
.consult-card .price { font-family: var(--font-display); font-size: 26px; color: var(--text-main); }

.method-panel { margin-top: 26px; padding: 36px 32px; border-radius: 34px; }
.method-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.method-head .ic { width: 56px; height: 56px; }
.method-panel h3 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 10px; }
.method-head h3 { margin-bottom: 0; }
.method-panel > p { color: var(--text-muted); max-width: 640px; font-size: 16px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px;
  background: var(--glass-white); border: 1px solid var(--glass-border); font-size: 14px; color: var(--text-main);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.pill .icon { width: 16px; height: 16px; }

.process { margin-top: 26px; }
.process h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 20px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px 20px; border-radius: 26px; text-align: center; }
.step .num { font-family: var(--font-display); font-size: 34px; color: var(--rose-soft); line-height: 1; }
.step p { margin-top: 10px; color: var(--text-main); font-size: 15px; font-weight: 500; }

/* ===== chi è tania ===================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 26px; align-items: start; }
.about-story p { color: var(--text-muted); font-size: 16px; margin-top: 16px; }
.info-chips { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.info-chip { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 20px; }
.info-chip .ic { width: 50px; height: 50px; }
.info-chip b { font-family: var(--font-body); color: var(--rose-deep); font-size: 16px; display: block; }
.info-chip span { font-size: 13px; color: var(--text-muted); }
.about-portrait { padding: 14px; border-radius: 34px; }
.about-portrait .portrait-frame { aspect-ratio: 3 / 3.7; }
.mission { padding: 30px 26px; border-radius: 30px; }
.mission h3 { font-size: 26px; margin-bottom: 16px; }
.mission ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mission li { display: flex; align-items: center; gap: 11px; color: var(--text-main); font-size: 16px; }
.mission li .icon { stroke: var(--gold); }

/* testimonials */
.testi-wrap { margin-top: 56px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.testi { padding: 28px 26px; border-radius: 28px; }
.testi .qmark { font-family: var(--font-display); font-size: 56px; line-height: 0.35; color: var(--rose-soft); height: 26px; }
.testi .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.testi blockquote { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.4;
  color: var(--text-main); margin: 12px 0 16px; }
.testi cite { font-style: normal; font-weight: 600; color: var(--rose-deep); font-size: 15px; }

/* final cta */
.final-cta { margin-top: 56px; padding: 56px 36px; border-radius: 40px; text-align: center; }
.final-cta h2 { font-size: clamp(36px, 5vw, 72px); }
.final-cta .lead { max-width: 540px; margin: 16px auto 28px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

footer.site-footer { max-width: var(--maxw); margin: 40px auto 0; padding: 28px 32px 40px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--rose-deep); }
.footer-fine { margin-top: 16px; font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ===== responsive ====================================================== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-chips { display: none; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .consult-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-portrait { grid-column: span 2; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-logo-img { height: 32px; }
  .nav-cta-img img { height: 42px; }
  .nav-links.is-open { display: flex; position: absolute; top: calc(var(--nav-h) + 10px); left: 0; right: 0;
    flex-direction: column; padding: 14px; gap: 4px; border-radius: 26px;
    background: rgba(255,253,249,0.92); -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
    border: 1px solid var(--glass-border); box-shadow: 0 24px 60px rgba(115,75,68,0.18); }
  .nav-links.is-open a { padding: 13px 16px; }
  .nav-menu-btn { display: flex; }
  .section { padding: calc(var(--nav-h) + 30px) 20px 48px; min-height: auto; }
  .cards-4, .cards-3, .cards-2, .consult-cards, .steps, .testi-grid, .about-grid { grid-template-columns: 1fr; }
  .about-portrait { grid-column: auto; }
  .card { padding: 24px 22px; }
  #quiz .section-head h2 { white-space: normal; }
  .sub-head { flex-wrap: wrap; }
  .sub-head h3 { white-space: normal; }
  .final-cta { padding: 40px 24px; }
  .trust-strip { gap: 8px 16px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}