/* ==========================================================================
   Cartomanzia Basso Costo — foglio di stile del sito
   Font ospitati sul sito (nessuna chiamata a Google Fonts).
   ========================================================================== */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2-variations"), url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
}

:root {
  --night-950: #0c0620;
  --night-900: #140a2b;
  --night-800: #1d0f3d;
  --night-700: #2a1757;
  --violet-800: #3d1d8f;
  --violet-700: #4a22ad;
  --violet-600: #5b2bcc;
  --violet-500: #7a4ae8;
  --violet-200: #d9cbff;
  --violet-100: #eee6ff;
  --violet-50: #f7f3ff;
  --gold-300: #ffe08a;
  --gold-400: #f6c859;
  --gold-500: #e9a93a;
  --gold-100: #fff3d1;
  --rose-600: #c0266b;
  --rose-50: #fff0f6;
  --green-700: #0d7a3c;
  --green-800: #0a6331;
  --green-50: #e6f6ec;
  --ink: #1d1530;
  --ink-2: #4b4462;
  --line: #e6dff3;
  --white: #ffffff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(29, 21, 48, .06), 0 10px 28px -14px rgba(45, 20, 100, .22);
  --shadow-2: 0 2px 6px rgba(29, 21, 48, .08), 0 24px 48px -18px rgba(45, 20, 100, .38);
  --font-sans: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display Variable", "Playfair Display", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --header-h: 72px;
  --callbar-h: 0px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--callbar-h);
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--violet-700); text-underline-offset: .18em; }
a:hover { color: var(--violet-600); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; color: inherit; }
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.01em; }
h3 { font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 700; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.i { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: currentColor; vertical-align: -.15em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold-400); color: var(--night-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }

/* --------------------------------------------------------------- pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 750; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--call { background: var(--green-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(13, 122, 60, .9); }
.btn--call:hover { background: var(--green-800); color: #fff; }
.btn--violet { background: var(--violet-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(91, 43, 204, .9); }
.btn--violet:hover { background: var(--violet-700); color: #fff; }
.btn--gold { background: var(--gold-400); color: var(--night-900); }
.btn--gold:hover { background: var(--gold-300); color: var(--night-900); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--violet-700); border-color: var(--violet-200); }
.btn--ghost-dark:hover { background: var(--violet-50); color: var(--violet-800); }
.btn--sm { min-height: 40px; padding: .55em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; text-underline-offset: .18em; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 10, 43, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__mark svg { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.02; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.32rem; letter-spacing: .01em; }
.brand__claim { font-size: .74rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 8px 12px; color: #e8e0ff; text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 999px; }
.site-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav a[aria-current="page"] { color: var(--night-900); background: var(--gold-400); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ------------------------------------------------------------ hero (home) */
.night {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(122, 74, 232, .55), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(192, 38, 107, .28), transparent 60%),
    linear-gradient(180deg, var(--night-900) 0%, var(--night-800) 100%);
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(circle at 12px 18px, rgba(255, 255, 255, .9) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70px 40px, rgba(255, 224, 138, .8) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 40px 90px, rgba(255, 255, 255, .55) 0 .9px, transparent 1.4px),
    radial-gradient(circle at 120px 130px, rgba(255, 255, 255, .7) 0 1px, transparent 1.6px);
  background-size: 140px 140px, 190px 190px, 110px 110px, 230px 230px;
}
.night > * { position: relative; }
.hero { padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: var(--gold-300); font-size: .86rem; font-weight: 700; letter-spacing: .02em; }
.eyebrow .i { color: var(--gold-400); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.02; margin-bottom: .32em; }
.hero h1 .gold, .gold-text {
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-400) 45%, #f0a63a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.hero__lead { font-size: clamp(1.06rem, 2.1vw, 1.24rem); color: #e6defc; max-width: 36em; margin-bottom: 26px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #ddd4f7; font-size: .95rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: .5em; }
.trust .i { color: var(--gold-400); width: 1.15em; height: 1.15em; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__art { position: absolute; width: 112%; max-width: 520px; top: -40px; left: 50%; transform: translateX(-50%); opacity: .95; pointer-events: none; }
.hero__visual .num-card { position: relative; z-index: 2; margin-top: 168px; width: 100%; max-width: 440px; }

/* --------------------------------------------------------- hero pagine */
.page-hero { padding: 46px 0 54px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: .25em; }
.page-hero p.lead { color: #e6defc; font-size: 1.12rem; max-width: 44em; margin-bottom: 0; }
.breadcrumbs { font-size: .88rem; margin: 0 0 14px; color: #cbbff0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #9d8fd1; }
.breadcrumbs a { color: #e9e2ff; }

/* ---------------------------------------------------------------- promo */
.promo-strip { background: linear-gradient(90deg, var(--gold-400), #ffd36b 50%, var(--gold-400)); color: var(--night-900); }
.promo-strip a { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; color: inherit; text-decoration: none; font-weight: 750; text-align: center; }
.promo-strip a:hover { color: inherit; }
.promo-strip .tag { background: var(--night-900); color: var(--gold-300); border-radius: 999px; padding: 3px 11px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.promo-strip .go { display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: .2em; }

/* -------------------------------------------------------------- sezioni */
.section { padding: 76px 0; }
.section--tint { background: var(--violet-50); }
.section--rose { background: linear-gradient(180deg, #fff 0%, var(--rose-50) 100%); }
.section__head { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: .45em; font-size: .84rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-600); margin: 0 0 10px; }
.kicker .i { color: var(--gold-500); }
.section h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); }
.section__head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.night .kicker { color: var(--gold-300); }
.night .section__head p { color: #ddd4f7; }

/* ----------------------------------------------------- schede dei numeri */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.num-card {
  --accent: var(--violet-600);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 24px; box-shadow: var(--shadow-1);
  overflow: hidden;
}
.num-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); }
.num-card--top { --accent: linear-gradient(90deg, var(--gold-400), #f0a63a); }
.num-card--carta { --accent: var(--violet-600); }
.num-card--899 { --accent: var(--rose-600); }
.num-card--paypal { --accent: #1f6fd1; }
.num-card--estero { --accent: #d52b1e; }
.num-card--promo { --accent: linear-gradient(90deg, var(--gold-400), var(--rose-600)); }
.num-card__badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start; margin: 0; padding: 4px 11px; border-radius: 999px;
  background: var(--violet-100); color: var(--violet-800);
  font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.num-card--top .num-card__badge, .num-card--promo .num-card__badge { background: var(--gold-100); color: #7a4b00; }
.num-card--899 .num-card__badge { background: var(--rose-50); color: var(--rose-600); }
.num-card--estero .num-card__badge { background: #fdecea; color: #a3150b; }
.num-card--paypal .num-card__badge { background: #e8f1fd; color: #14529f; }
.num-card__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.32rem; margin: 2px 0 0; }
.num-card__number {
  display: inline-flex; align-items: center; gap: .4em; align-self: flex-start;
  font-size: clamp(1.85rem, 6.2vw, 2.1rem); font-weight: 850; letter-spacing: -.02em; line-height: 1.05;
  font-variant-numeric: tabular-nums; color: var(--violet-800); text-decoration: none; white-space: nowrap;
}
.num-card__number .i { width: .72em; height: .72em; padding: .16em; box-sizing: content-box; border-radius: 50%; background: var(--violet-100); color: var(--violet-600); }
.num-card__number:hover { color: var(--violet-600); }
.num-card__price { align-self: flex-start; margin: 0; padding: 6px 13px; border-radius: 10px; background: var(--green-50); color: var(--green-700); font-weight: 800; font-size: 1.02rem; }
.num-card__details { list-style: none; padding: 0; margin: 2px 0 10px; color: var(--ink-2); font-size: .97rem; }
.num-card__details li { position: relative; padding-left: 18px; margin: 3px 0; }
.num-card__details li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); }
.num-card__note { margin: 0; font-size: .92rem; font-weight: 650; color: var(--violet-700); }
.num-card__cta { margin-top: auto; align-self: stretch; }
.num-card__details + .num-card__cta, .num-card__note + .num-card__cta, .num-card__price + .num-card__cta { margin-top: auto; }

.num-card--hero { padding: 30px 28px 26px; border: 0; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .65), 0 0 0 1px rgba(246, 200, 89, .35); }
.num-card--hero .num-card__number { font-size: clamp(2rem, 7.4vw, 2.6rem); }
.num-card--hero .num-card__price { font-size: 1.12rem; }

/* scheda larga (PayPal, promo) */
.wide-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-1); margin-bottom: 22px; }
.wide-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--violet-600); }
.wide-card--promo::before { background: linear-gradient(90deg, var(--gold-400), var(--rose-600)); }
.wide-card--paypal::before { background: #1f6fd1; }
.wide-card--promo .num-card__badge { background: var(--gold-100); color: #7a4b00; }
.wide-card--paypal .num-card__badge { background: #e8f1fd; color: #14529f; }
.wide-card__main { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.wide-card__title { font-family: var(--font-serif); font-size: 1.6rem; margin: 2px 0 0; }
.wide-card__label { margin: 4px 0 -6px; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.wide-card__intro { margin: 0; color: var(--ink-2); }
.duo .wide-card { margin-bottom: 0; }
.tagli { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tagli li { background: var(--violet-50); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 700; color: var(--violet-800); text-align: center; }
.tagli li strong { display: block; font-size: 1.3rem; color: var(--ink); }

/* carte accettate */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 750; font-size: .88rem; color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.chips .i { color: var(--violet-600); }

/* ----------------------------------------------------- Svizzera + PayPal */
.duo { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; align-items: stretch; }
.flag { display: inline-block; width: 30px; height: 30px; vertical-align: middle; }

/* --------------------------------------------------------- banner esterni */
.network { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow-1); }
.network__banner { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); transition: transform .2s ease; max-width: 300px; }
.network__banner:hover { transform: translateY(-2px) rotate(-.4deg); }
.network__links { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.network__links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ----------------------------------------------------------- come funziona */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { position: relative; background: #21124a; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 28px 24px 24px; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-400); color: var(--night-900); font-family: var(--font-sans); font-weight: 800; font-size: 1.25rem; }
.steps h3 { font-size: 1.18rem; margin-bottom: .35em; color: #fff; }
.steps p { margin: 0; color: #ddd4f7; }

/* ----------------------------------------------------------------- temi */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-1); }
.topic__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; margin-bottom: 14px; background: var(--violet-100); color: var(--violet-600); }
.topic__icon .i { width: 26px; height: 26px; }
.topic:nth-child(1) .topic__icon { background: var(--rose-50); color: var(--rose-600); }
.topic:nth-child(3) .topic__icon { background: var(--green-50); color: var(--green-700); }
.topic:nth-child(4) .topic__icon { background: var(--gold-100); color: #9a6200; }
.topic h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: .35em; }
.topic p { margin: 0; color: var(--ink-2); font-size: .98rem; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 0; }
.why li { display: flex; gap: 12px; align-items: flex-start; }
.why .i { width: 26px; height: 26px; color: var(--violet-600); margin-top: 2px; }
.why strong { display: block; }
.why span { color: var(--ink-2); font-size: .96rem; }

/* ------------------------------------------------------------------- FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 750; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .2s ease; color: var(--violet-600); width: 22px; height: 22px; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq .faq__a { padding: 0 22px 18px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ nota costi */
.costs { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px dashed var(--violet-200); border-radius: var(--radius-lg); padding: 26px 28px; font-size: .95rem; color: var(--ink-2); }
.costs h2 { font-family: var(--font-sans); font-size: 1.12rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.costs h2 .i { color: var(--violet-600); }
.costs p { margin-bottom: .8em; }

/* ------------------------------------------------------- pagine interne */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.aside-stack { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 18px); }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-1); }
.box h2, .box h3 { font-family: var(--font-serif); }
.box--tint { background: var(--violet-50); box-shadow: none; }
.box--alert { background: #fff8e6; border-color: #f3dc9a; box-shadow: none; }
.box--ok { background: var(--green-50); border-color: #bfe5cc; box-shadow: none; }
.box--error { background: #fdecea; border-color: #f4c3c0; box-shadow: none; }
.big-number { display: inline-flex; align-items: center; gap: .35em; font-size: clamp(2.3rem, 8vw, 3.4rem); font-weight: 850; letter-spacing: -.02em; color: var(--violet-800); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.05; }
.big-number .i { width: .66em; height: .66em; color: var(--green-700); }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 30px; margin: 8px 0; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230d7a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.list-steps { padding-left: 1.3em; }
.list-steps li { margin: 6px 0; padding-left: 4px; }
.list-steps li::marker { font-weight: 800; color: var(--violet-600); }

/* modulo ricarica / contatti */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-2); }
.form-card__number { text-align: center; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-size: .88rem; color: var(--ink-2); margin-top: 5px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #cfc4e6; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%235b2bcc' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-600); box-shadow: 0 0 0 4px rgba(91, 43, 204, .18); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; font-size: .96rem; }
.check input { width: 22px; height: 22px; flex: 0 0 22px; margin: 2px 0 0; accent-color: var(--violet-600); }
.check a { font-weight: 700; }
.form-error { display: none; margin: -6px 0 16px; color: #a3150b; font-weight: 700; font-size: .95rem; }
.form-error.show { display: block; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.payment-logos { display: block; margin: 18px auto 0; max-width: 360px; width: 100%; height: auto; }
.form-note { font-size: .88rem; color: var(--ink-2); margin: 14px 0 0; text-align: center; }
.tc-status { font-size: .9rem; color: var(--ink-2); }
.tc-status.err { color: #a3150b; font-weight: 700; }

/* elenco cartomanti online (contenuto da cartomanti.net) */
.online-box h2 { font-family: var(--font-serif); }
.online { min-height: 60px; }
.online table { width: 100%; border-collapse: collapse; }
.online td, .online th { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.online img { max-width: 100%; height: auto; display: inline-block; border-radius: 10px; }
.online a { font-weight: 700; }
.online .cartomanti { background: #fff3c4; color: #000; padding: 2px 8px; border-radius: 6px; }
.online .cartomanti2 { background: #d9f7cf; color: #000; padding: 2px 8px; border-radius: 6px; }
.online .cartomanti3 { background: #d4f6f4; color: #000; padding: 2px 8px; border-radius: 6px; }
.online .rosso { background: #d93025; color: #fff; padding: 2px 8px; border-radius: 6px; }
.online .clear-float { clear: both; }
.online-empty { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* documenti legali */
.legal { font-size: 1.02rem; }
.legal h2 { font-family: var(--font-serif); font-size: 1.55rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal .meta { color: var(--ink-2); font-size: .95rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: .93rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--violet-50); }
.legal .table-wrap { overflow-x: auto; }
.legal .box { margin: 18px 0; }
.toc { background: var(--violet-50); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 26px; }
.toc ol { margin: 0; columns: 2; column-gap: 30px; }
.toc li { margin: 3px 0; break-inside: avoid; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--night-950); color: #cfc6ea; padding: 60px 0 calc(28px + var(--callbar-h)); font-size: .95rem; }
.site-footer a { color: #f0eaff; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer__logo { font-size: 1.3rem; margin-bottom: 10px; color: #fff; display: flex; flex-direction: column; line-height: 1.05; }
.site-footer__company { line-height: 1.7; }
.site-footer__title { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer .link-button { color: #f0eaff; font-size: inherit; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .86rem; color: #a99fcb; }
.site-footer__bottom p { margin: 0; }

/* ----------------------------------------------------- barra chiamata mobile */
.callbar { display: none; }

/* -------------------------------------------------------------- 404 */
.notfound { text-align: center; padding: 90px 0; }
.notfound .code { font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: var(--gold-400); margin: 0; }

/* ==========================================================================
   Banner cookie — nero, testo bianco, pulsanti blu
   ========================================================================== */
.cbc-banner, .cbc-modal, .cbc-recall { font-family: var(--font-sans); }
.cbc-banner[hidden], .cbc-modal[hidden], .cbc-recall[hidden] { display: none !important; }
.cbc-banner {
  position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px;
  max-width: 1040px; margin: 0 auto;
  background: #000000; color: #ffffff;
  border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  font-size: 15px; line-height: 1.55;
}
.cbc-banner:focus { outline: none; }
.cbc-banner__inner { position: relative; padding: 22px 26px 22px; }
.cbc-banner__title { font-weight: 800; font-size: 17px; margin: 0 40px 6px 0; color: #ffffff; }
.cbc-banner__text { margin: 0 0 16px; color: #ffffff; padding-right: 30px; }
.cbc-banner a, .cbc-modal a { color: #ffffff; text-decoration: underline; text-underline-offset: .18em; }
.cbc-banner a:hover, .cbc-modal a:hover { color: #cfe0ff; }
.cbc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cbc-btn {
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  min-height: 46px; min-width: 150px; padding: 12px 22px; border-radius: 10px;
  background: #1665d8; color: #ffffff; font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background-color .15s ease;
}
.cbc-btn:hover { background: #0f52b3; }
.cbc-btn:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 2px; }
.cbc-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: #ffffff;
}
.cbc-x:hover { background: rgba(255, 255, 255, .12); }
.cbc-x:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 0; }
.cbc-x--static { position: static; }

.cbc-modal { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px; }
.cbc-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.cbc-modal__panel {
  position: relative; width: 100%; max-width: 660px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #000000; color: #ffffff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  font-size: 15px; line-height: 1.55;
}
.cbc-modal__panel:focus { outline: none; }
.cbc-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px 6px 24px; position: sticky; top: 0; background: #000; z-index: 1; }
.cbc-modal__title { margin: 0; font-weight: 800; font-size: 19px; }
.cbc-modal__body { padding: 4px 24px 8px; }
.cbc-modal__body > p { color: #ffffff; }
.cbc-cat { border-top: 1px solid rgba(255, 255, 255, .18); padding: 14px 0 12px; }
.cbc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cbc-cat__name { margin: 0; font-weight: 800; font-size: 16px; }
.cbc-cat__always { font-size: 13px; font-weight: 700; color: #9cc0ff; white-space: nowrap; }
.cbc-cat__desc { margin: 6px 0 6px; color: #ffffff; font-size: 14px; }
.cbc-cat__details summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #ffffff; text-decoration: underline; text-underline-offset: .18em; }
.cbc-cat__details ul { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; color: #ffffff; }
.cbc-cat__details li { margin: 6px 0; }
.cbc-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.cbc-switch input { position: absolute; opacity: 0; width: 52px; height: 30px; margin: 0; cursor: pointer; }
.cbc-switch__track { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #5f5f66; transition: background-color .15s ease; flex: 0 0 auto; }
.cbc-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #ffffff; transition: transform .15s ease; }
.cbc-switch input:checked + .cbc-switch__track { background: #1665d8; }
.cbc-switch input:checked + .cbc-switch__track::after { transform: translateX(22px); }
.cbc-switch input:focus-visible + .cbc-switch__track { outline: 3px solid #8ab4ff; outline-offset: 2px; }
.cbc-switch__label { font-size: 13px; font-weight: 700; min-width: 54px; }
.cbc-switch__label::after { content: attr(data-off); }
.cbc-switch input:checked ~ .cbc-switch__label::after { content: attr(data-on); }
.cbc-actions--modal { padding: 14px 24px 8px; border-top: 1px solid rgba(255, 255, 255, .18); position: sticky; bottom: 0; background: #000; }
.cbc-modal__meta { margin: 0; padding: 4px 24px 18px; font-size: 12.5px; color: #d6d6d6; overflow-wrap: anywhere; }
.cbc-modal__meta .cbc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.cbc-recall {
  position: fixed; z-index: 2147482999; right: 18px; bottom: calc(18px + var(--callbar-h));
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid #1665d8; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: #000000; color: #ffffff; box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  transition: transform .15s ease, background-color .15s ease;
}
.cbc-recall:hover { transform: scale(1.06); background: #111; }
.cbc-recall:focus-visible { outline: 3px solid #8ab4ff; outline-offset: 3px; }
html.cbc-modal-open { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .topics, .why { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .site-header__inner { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; padding: 0 0 14px; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto;
    padding: 12px 20px 20px; background: var(--night-900); border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  }
  .js .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; border-radius: 12px; }
  .site-nav__call { align-self: stretch; }
  .hero { padding: 34px 0 54px; }
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__visual .num-card { margin-top: 0; max-width: none; }
  .hero__art { display: none; }
  .wide-card { grid-template-columns: 1fr; padding: 26px; }
  .cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .network { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --callbar-h: 68px; }
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 28px; }
  .brand__name { font-size: 1.16rem; }
  .brand__claim { font-size: .66rem; letter-spacing: .22em; }
  .brand__mark svg { width: 36px; height: 36px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .num-card { padding: 22px 18px 20px; }
  .cards { grid-template-columns: 1fr; }
  .topics, .why { grid-template-columns: 1fr; }
  .tagli { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px 18px; }
  .toc ol { columns: 1; }
  .callbar {
    display: block; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 6, 32, .96); border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border-radius: 14px; background: var(--green-700); color: #fff; text-decoration: none; padding: 6px 14px; }
  .callbar__btn:hover { color: #fff; background: var(--green-800); }
  .callbar__btn .i { width: 22px; height: 22px; }
  .callbar__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
  .callbar__text strong { font-size: 1.08rem; }
  .callbar__text small { font-size: .82rem; opacity: .92; font-weight: 600; }
  .cbc-banner { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; max-height: 88vh; overflow-y: auto; }
  .cbc-banner__inner { padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .cbc-banner__title { font-size: 16px; }
  .cbc-banner__text { font-size: 14px; line-height: 1.5; margin-bottom: 14px; padding-right: 0; }
  .cbc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cbc-btn { min-width: 0; padding: 11px 6px; font-size: 14px; }
  .cbc-modal { padding: 0; place-items: end center; }
  .cbc-modal__panel { max-height: 92vh; border-radius: 16px 16px 0 0; }
  .cbc-modal__body, .cbc-actions--modal { padding-left: 18px; padding-right: 18px; }
  .cbc-modal__meta { padding-left: 18px; padding-right: 18px; }
  .cbc-recall { right: 14px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .callbar, .cbc-banner, .cbc-modal, .cbc-recall, .promo-strip { display: none !important; }
  .night { background: #fff !important; color: #000 !important; }
  .night::before { display: none; }
}

/* aggiunte */
.section__foot { margin: 22px 0 0; }
.network h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.legal .nowrap { white-space: nowrap; }
.num-card__badge .flag { width: 16px; height: 16px; border-radius: 3px; }
.form-card + .online-box { margin-top: 22px; }
.h3 { font-size: 1.22rem; }
.box h2.h3 { font-family: var(--font-serif); }
.form-card__number .num-card__badge { margin-bottom: 10px; }
.promo-headline { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--rose-600); margin: 8px 0 0; }
.chips--left { justify-content: flex-start; margin: 0 0 8px; }
.chips--left li { font-size: .84rem; padding: 5px 10px; }
.form-card .tagli { margin-bottom: 18px; }
.mt { margin-top: 14px; }
.box--gap { margin-bottom: 18px; }
.big-number--sm { font-size: clamp(1.8rem, 5vw, 2.2rem); }
.hero__ctas--center { justify-content: center; }
.notfound .lead { color: #e6defc; }
.box h2.h3, .section h2.h3, .form-card h2.h3 { font-size: 1.3rem; margin-bottom: .6em; }
.form-card__number .num-card__badge { display: flex; width: max-content; margin: 0 auto 10px; }
.online-box h2 { font-size: 1.45rem; margin-bottom: .3em; }
h1, h2, h3, .promo-headline, .num-card__title, .wide-card__title, .brand__name { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.box .num-card__price { display: inline-block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
