/* =========================================================
   Italia Premia — a three-in-one Italian rewards wallet
   Palette: flag green, warm cream, Italian red and gold
   ========================================================= */

:root {
  --ink: #17251E;
  --ink-2: #3B4A40;
  --muted: #6D786E;
  --paper: #F8F3E7;
  --paper-2: #F1EAD9;
  --sand: #E7DCC6;
  --sand-2: #D6C7AC;
  --line: #D6C8AF;
  --line-soft: #E8DDC9;

  --red: #CD212A;
  --red-2: #E23A41;
  --red-deep: #8A1420;
  --red-ink: #2A090D;
  --red-soft: #F5E1DF;
  --gold: #C9A227;
  --gold-soft: #EBD79A;
  --green: #008C45;
  --green-2: #0E9E55;
  --green-deep: #0B3B2E;
  --green-ink: #071E17;
  --green-soft: #DDECE4;

  --eni: #FFD100;
  --ip: #F04E23;
  --q8: #003A70;
  --esso: #E4002B;
  --tamoil: #003A70;
  --conad: #E30613;
  --coop: #E30613;
  --esselunga: #17365D;
  --eurospin: #00539F;
  --lidl: #0050AA;
  --md: #E30613;
  --tim: #0B4EA2;
  --vodafone: #E60000;
  --windtre: #FF4B00;
  --iliad: #E4002B;

  --shadow-sm: 0 2px 8px rgba(23, 37, 30, .06);
  --shadow: 0 18px 40px -24px rgba(23, 37, 30, .35);
  --shadow-lg: 0 42px 80px -42px rgba(23, 37, 30, .48);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --wrap: 1180px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(40px, 4.6vw, 62px); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 20px; line-height: 1.18; }
h4 { font-family: var(--font-body); font-size: 13px; font-weight: 700; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13px;
}
.skip:focus { top: 12px; }
.icon {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 17px; height: 17px; }
.btn-green {
  background: linear-gradient(180deg, #14523F, var(--green-deep)); color: #FFF8EA;
  box-shadow: 0 12px 24px -12px rgba(7, 30, 23, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-green:hover { box-shadow: 0 16px 30px -12px rgba(7, 30, 23, .8); }
.btn-red {
  background: linear-gradient(180deg, var(--red-2), #B00D26); color: #fff;
  box-shadow: 0 14px 28px -14px rgba(205, 33, 42, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-red:hover { box-shadow: 0 18px 34px -14px rgba(205, 33, 42, .9); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #FFFDF8; box-shadow: inset 0 0 0 1px var(--sand-2), var(--shadow-sm); }
.btn-cream { background: var(--paper); color: var(--ink); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn-sm .icon { width: 15px; height: 15px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-light { color: rgba(255, 255, 255, .64); }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-red { background: var(--red); box-shadow: 0 0 0 3px rgba(205, 33, 42, .12); }
.dot-gold { background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, .16); }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(0, 140, 69, .14); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 80; padding-top: 3px;
  background: rgba(248, 243, 231, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, #FFFFFF 33.33% 66.66%, var(--red) 66.66% 100%);
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(23, 37, 30, .5); }
.head-in { display: flex; align-items: center; gap: 26px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: .005em; color: var(--ink); white-space: nowrap;
}
.brand-text small { margin-top: 5px; font-size: 7px; font-weight: 700; letter-spacing: .18em; color: var(--muted); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .15s ease; }
.nav a:hover { color: var(--green); }
.head-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 2px; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: 0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); padding: 6px 10px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.lang-btn.is-active { background: #FFFDF8; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 54px 0 84px; overflow: hidden;
  background:
    radial-gradient(52% 60% at 92% 2%, rgba(201, 162, 39, .14), transparent 64%),
    radial-gradient(46% 52% at 0% 100%, rgba(0, 140, 69, .09), transparent 64%),
    var(--paper);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero-copy h1 { margin-top: 18px; }
.hero-copy h1 .hl { color: var(--green); }
.lede { margin-top: 22px; max-width: 560px; font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.hero-ctas { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.hero-trust .icon { width: 14px; height: 14px; color: var(--green); stroke-width: 2.4; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 5 / 4; box-shadow: 0 0 0 1px rgba(0, 140, 69, .14), var(--shadow-lg);
  background: #C9B08C;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 44% center; }
.hero-photo-scrim { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(8, 25, 18, .02) 40%, rgba(8, 25, 18, .4) 100%); }

.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px;
  background: #FFFDF8; border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 9px 12px; box-shadow: 0 16px 34px -18px rgba(23, 37, 30, .45);
}
.float-chip strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.float-chip small { display: block; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.chip-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.chip-red { background: var(--green); box-shadow: 0 0 0 4px rgba(0, 140, 69, .12); }
.chip-a { top: 22px; inset-inline-start: -18px; }

/* ---------- phone ---------- */
.phone {
  position: absolute; z-index: 4; inset-inline-end: 12px; bottom: -30px;
  width: 238px; height: 492px; background: #171F1A; border: 9px solid #171F1A; border-radius: 42px;
  box-shadow: 0 44px 80px -34px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .08);
  direction: ltr;
}
.phone-notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 20px; background: #171F1A; border-radius: 999px; z-index: 2;
}
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #FBF7EE; border-radius: 33px; padding: 12px 11px 10px; }
.p-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 5px 0; font-size: 7.5px; font-weight: 700; }
.p-status-icons { display: inline-flex; align-items: center; gap: 3px; }
.p-status-icons i { width: 9px; height: 6px; border: 1px solid var(--ink); border-radius: 1px; display: block; }
.p-status-icons i + i { width: 7px; height: 6px; border-radius: 50% 50% 0 0; border-width: 1px 1px 0; }
.p-status-icons b { width: 11px; height: 6px; border: 1px solid var(--ink); border-radius: 2px; display: block; position: relative; }
.p-status-icons b::after { content: ""; position: absolute; inset: 1px; background: var(--ink); border-radius: 1px; }
.p-greet { margin-top: 13px; padding: 0 3px; }
.p-greet small { display: block; font-size: 8.5px; color: var(--muted); }
.p-greet strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-top: 2px; letter-spacing: -.01em; }
.p-balance {
  position: relative; margin-top: 11px; padding: 13px 14px 12px; border-radius: 16px;
  color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0F7A50, var(--green-deep) 72%);
  box-shadow: 0 12px 24px -14px rgba(7, 30, 23, .7);
}
.p-balance::after {
  content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  inset-inline-end: -40px; bottom: -52px; background: rgba(255, 255, 255, .08);
}
.p-balance-label { display: block; font-size: 7.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.p-balance-amount { font-family: var(--font-display); font-size: 27px; font-weight: 600; letter-spacing: -.02em; margin-top: 3px; line-height: 1.1; }
.p-balance-sub { display: block; font-size: 7.5px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.p-star { position: absolute; top: 12px; inset-inline-end: 12px; width: 16px; height: 16px; color: var(--gold-soft); opacity: .9; }
.p-rows { margin-top: 11px; display: grid; gap: 7px; }
.p-row { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 7px; }
.p-ico {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
}
.p-ico img { width: 22px; height: 22px; }
.p-ico-eni { background: var(--eni); color: #16130A; font-size: 9px; font-weight: 900; letter-spacing: -.03em; }
.p-ico-conad { background: var(--conad); font-size: 13px; }
.p-ico-tim { background: var(--tim); font-size: 7.5px; font-style: italic; }
.p-row b { display: block; font-size: 8.5px; font-weight: 700; line-height: 1.2; }
.p-row small { display: block; font-size: 7px; color: var(--muted); margin-top: 1px; }
.p-val { margin-inline-start: auto; font-size: 9px; font-weight: 800; color: var(--green); white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.p-val-coupon { color: var(--conad); }
.p-nav {
  position: absolute; left: 11px; right: 11px; bottom: 9px; display: flex; align-items: center; justify-content: space-around;
  border-top: 1px solid var(--line-soft); padding-top: 7px;
}
.p-nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); font-size: 6.5px; }
.p-nav span.is-on { color: var(--green); }
.p-nav .icon { width: 13px; height: 13px; stroke-width: 2; }

/* ---------- tricolore trims ---------- */
.hero-weave {
  position: absolute; left: 0; right: 0; bottom: 0; height: 8px; z-index: 2;
  background: repeating-linear-gradient(90deg,
    var(--green) 0 28px, #FFFFFF 28px 56px, var(--red) 56px 84px, var(--gold) 84px 90px);
}
.weave-top, .weave-bottom {
  position: absolute; left: 0; right: 0; height: 10px; z-index: 3;
  background: repeating-linear-gradient(90deg,
    var(--green) 0 28px, #FFFFFF 28px 56px, var(--red) 56px 84px, var(--gold) 84px 90px);
}
.weave-top { top: 0; }
.weave-bottom { bottom: 0; }

/* ---------- partner strip ---------- */
.strip { border-block: 1px solid var(--line); background: #FFFDF8; }
.strip-in { padding: 18px 0 20px; }
.strip-label { display: block; margin-bottom: 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.strip-marks { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pmark {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 35px; padding: 0 10px;
  border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; line-height: 1;
  direction: ltr;
}
.pm-eni { background: var(--eni); color: #16130A; font-weight: 900; font-size: 14px; letter-spacing: -.04em; }
.pm-ip { background: #fff; border: 1px solid var(--line); color: var(--ip); font-weight: 900; font-style: italic; font-size: 14px; letter-spacing: -.04em; }
.pm-q8 { background: #fff; border: 1px solid var(--line); color: var(--q8); font-weight: 900; font-size: 13px; letter-spacing: -.02em; }
.pm-esso { background: var(--esso); color: #fff; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; font-size: 14px; }
.pm-tamoil { background: var(--tamoil); color: #fff; font-weight: 800; font-size: 12px; }
.tamoil-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--eni); margin-inline-start: 2px; }
.pm-conad { background: var(--conad); color: #fff; font-weight: 900; font-size: 12.5px; }
.pm-coop { background: var(--coop); color: #fff; font-weight: 900; font-size: 13px; }
.pm-esselunga { background: #FFFDF8; border: 1px solid var(--line); color: var(--esselunga); font-weight: 800; font-size: 11.5px; }
.esselunga-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-inline-start: 2px; }
.pm-eurospin { background: var(--eurospin); color: var(--eni); font-weight: 900; font-style: italic; font-size: 11.5px; }
.pm-lidl { background: var(--lidl); color: var(--eni); font-weight: 900; font-style: italic; padding: 0 7px; }
.pm-lidl b { width: 23px; height: 23px; border-radius: 50%; background: var(--eni); color: var(--esso); display: grid; place-items: center; font-size: 8.5px; font-weight: 900; font-style: italic; }
.pm-md { background: var(--md); color: #fff; font-weight: 900; font-size: 12.5px; }
.pm-tim { background: var(--tim); color: #fff; font-weight: 900; font-style: italic; font-size: 13px; }
.pm-vodafone { background: var(--vodafone); color: #fff; font-weight: 700; font-size: 11.5px; }
.pm-windtre { background: var(--windtre); color: #fff; font-weight: 900; font-size: 10.5px; letter-spacing: -.02em; }
.pm-iliad { background: #FFFDF8; border: 1px solid var(--line); color: var(--iliad); font-weight: 900; font-size: 13px; letter-spacing: -.03em; }
.pm-rete { background: var(--green-deep); color: var(--paper); font-size: 7.5px; font-weight: 800; letter-spacing: .1em; padding: 0 8px; }
.pmark-lg { height: 50px; padding: 0 17px; font-size: 16px; border-radius: 11px; }
.pmark-lg.pm-eni, .pmark-lg.pm-ip { font-size: 20px; }
.pmark-lg.pm-esso { font-size: 18px; }
.pmark-lg.pm-q8 { font-size: 17px; }
.pmark-lg.pm-tamoil { font-size: 16px; }
.pmark-lg.pm-conad, .pmark-lg.pm-coop { font-size: 17px; }
.pmark-lg.pm-esselunga { font-size: 14px; }
.pmark-lg.pm-eurospin { font-size: 14px; }
.pmark-lg.pm-lidl b { width: 33px; height: 33px; font-size: 11px; }
.pmark-lg.pm-md { font-size: 16px; }
.pmark-lg.pm-tim { font-size: 18px; }
.pmark-lg.pm-vodafone { font-size: 15px; }
.pmark-lg.pm-windtre { font-size: 13.5px; }
.pmark-lg.pm-iliad { font-size: 18px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; scroll-margin-top: 88px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.sec-head h2 { margin-top: 12px; max-width: 660px; }
.sec-sub { max-width: 360px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- category cards ---------- */
.cats { padding-top: 84px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; align-items: flex-end; min-height: 450px;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: #1E2A22;
}
.cat-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cat-card:hover > img { transform: scale(1.045); }
.cat-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 25, 18, .02) 28%, rgba(8, 25, 18, .48) 56%, rgba(8, 25, 18, .94) 100%); }
.cat-body { position: relative; z-index: 2; padding: 24px; width: 100%; color: #fff; }
.cat-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.cat-body h3 { margin-top: 11px; font-size: 25px; line-height: 1.12; letter-spacing: -.02em; }
.cat-body p { margin-top: 8px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cat-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.cat-link .icon { width: 13px; height: 13px; }
.cat-card .pmarks { display: flex; gap: 4px; flex-wrap: wrap; max-width: 250px; }
.cat-card .pmark { height: 25px; padding: 0 6px; font-size: 8px; border-radius: 6px; gap: 3px; }
.cat-card .pm-eni, .cat-card .pm-ip, .cat-card .pm-esso { font-size: 9.5px; }
.cat-card .pm-q8, .cat-card .pm-conad, .cat-card .pm-coop, .cat-card .pm-md { font-size: 9px; }
.cat-card .pm-esselunga, .cat-card .pm-eurospin, .cat-card .pm-windtre { font-size: 7.5px; }
.cat-card .pm-tamoil, .cat-card .pm-vodafone { font-size: 8px; }
.cat-card .pm-lidl b { width: 17px; height: 17px; font-size: 6.5px; }
.cat-card .pm-iliad { font-size: 9px; }
.cat-card .pm-tim { font-size: 9px; }
.cat-card .tamoil-dot, .cat-card .esselunga-dot { width: 4px; height: 4px; }

/* ---------- offers ---------- */
.offers { background: var(--paper-2); }
.offers-head { margin-bottom: 26px; }
.filters { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.filter {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter:hover { background: #FFFDF8; }
.filter.is-active { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.offer {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 21px; min-height: 300px;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer.is-hidden { display: none; }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer-top .pmark { height: 29px; padding: 0 8px; font-size: 10.5px; }
.offer-top .pm-eni, .offer-top .pm-ip { font-size: 11.5px; }
.offer-top .pm-esselunga { font-size: 9.5px; }
.offer-top .pm-eurospin { font-size: 9px; }
.offer-top .pm-windtre { font-size: 8.5px; }
.offer-top .pm-lidl b { width: 19px; height: 19px; font-size: 7px; }
.offer-top .pm-rete { font-size: 7px; }
.offer-cat { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.offer-reward {
  margin-top: 20px; font-family: var(--font-display); font-weight: 600;
  font-size: 42px; line-height: 1; letter-spacing: -.03em; color: var(--red); direction: ltr;
}
.offer-reward small { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.offer h3 { margin-top: 11px; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.offer p { margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.offer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 10px; color: var(--muted);
}
.offer-foot a { font-size: 10.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--sand-2); }

/* ---------- how ---------- */
.how {
  position: relative; overflow: hidden; padding-top: 98px; padding-bottom: 98px;
  background: linear-gradient(155deg, var(--green-deep), var(--green-ink) 72%); color: #fff;
}
.how .wrap { position: relative; z-index: 1; }
.how .sec-head h2 { color: #fff; }
.how .sec-sub { color: rgba(255, 255, 255, .64); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 24px 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: rgba(255, 255, 255, .045); }
.step-num { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--gold-soft); }
.step-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .08); color: var(--gold-soft); margin: 20px 0 16px; }
.step-ico .icon { width: 22px; height: 22px; }
.step h3 { color: #fff; font-size: 19px; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .66); }

/* ---------- calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.calc-copy h2 { margin-top: 12px; max-width: 540px; }
.calc-copy .sec-sub { margin-top: 14px; }
.calc-inputs { margin-top: 34px; display: grid; gap: 22px; max-width: 520px; }
.calc-field { display: block; }
.calc-label { display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.calc-label output { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green); direction: ltr; }
.calc-field input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; margin: 12px 0 0;
  height: 22px; background: transparent; cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 var(--pct, 0%), #E4D8C5 var(--pct, 0%) 100%);
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%;
  background: var(--green); border: 3px solid #FFFDF8; box-shadow: 0 2px 6px rgba(23, 37, 30, .25);
}
.calc-field input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: #E4D8C5; }
.calc-field input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--green); }
.calc-field input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid #FFFDF8; border-radius: 50%; background: var(--green); }
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 999px; }
.calc-scale { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.calc-scale span:nth-child(2) { letter-spacing: .06em; text-transform: uppercase; font-size: 8.5px; }
.receipt {
  position: relative; background: #FFFDF8; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 22px; box-shadow: var(--shadow-lg);
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper); border: 0; top: 50%; transform: translateY(-50%);
}
.receipt::before { inset-inline-start: -10px; }
.receipt::after { inset-inline-end: -10px; }
.receipt-top { display: flex; align-items: center; justify-content: space-between; }
.receipt-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.receipt-star { width: 18px; height: 18px; color: var(--gold); }
.receipt-rows { margin-top: 20px; display: grid; gap: 11px; }
.r-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.r-row b { font-family: var(--font-display); font-size: 14px; font-weight: 600; direction: ltr; }
.r-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.r-total b { font-family: var(--font-display); font-size: 31px; font-weight: 600; letter-spacing: -.03em; color: var(--green); direction: ltr; text-transform: none; }
.r-year { margin-top: 3px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
.r-note { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 9.5px; line-height: 1.65; color: var(--muted); }

/* ---------- why ---------- */
.why { padding-top: 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 24px; background: #FBF5E7; border: 1px solid var(--line-soft); border-radius: var(--r); }
.why-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.why-ico .icon { width: 20px; height: 20px; }
.why-item h3 { margin-top: 15px; font-size: 18px; }
.why-item p { margin-top: 6px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }

/* ---------- partners ---------- */
.partners { background: var(--paper-2); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.partner-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.partner-card h3 { margin-top: 16px; font-size: 19px; }
.partner-cat { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.partner-card p { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq-intro h2 { margin-top: 12px; }
.faq-intro .sec-sub { margin-top: 14px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--green);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.faq-list details[open] summary::after { content: "–"; background: var(--green); border-color: var(--green); color: #fff; }
.faq-list details p { padding: 0 0 19px; font-size: 13.5px; line-height: 1.75; color: var(--muted); max-width: 640px; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: 92px 0; background: linear-gradient(150deg, #0E4D3B, var(--green-ink) 70%); color: #fff; }
.cta-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.cta-copy h2 { margin-top: 12px; max-width: 660px; color: #fff; }
.cta-copy > p { margin-top: 14px; max-width: 520px; color: rgba(255, 255, 255, .68); font-size: 14.5px; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.store-row { display: flex; align-items: center; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 11px; color: #fff; }
.store .icon { width: 20px; height: 20px; }
.store .icon.apple { fill: #fff; stroke: none; }
.store small { display: block; font-size: 7.5px; color: rgba(255, 255, 255, .62); line-height: 1.2; }
.store strong { display: block; font-size: 11px; font-weight: 700; line-height: 1.3; }
.cta-visual { position: relative; height: 300px; }
.cta-star { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 118px; height: 118px; color: var(--gold); opacity: .9; }
.cta-ring { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 220px; height: 220px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; }
.cta-ring-2 { width: 300px; height: 300px; border-color: rgba(255, 255, 255, .08); }

/* ---------- footer ---------- */
.footer { background: #0B1F18; color: rgba(255, 255, 255, .66); padding: 62px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.45fr .85fr 1.35fr .95fr; gap: 38px; }
.brand-foot .brand-text strong { color: #fff; }
.brand-foot .brand-text small { color: rgba(255, 255, 255, .5); }
.foot-brand p { margin-top: 15px; max-width: 280px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .55); }
.lang-foot { margin-top: 18px; background: rgba(255, 255, 255, .08); }
.lang-foot .lang-btn { color: rgba(255, 255, 255, .55); }
.lang-foot .lang-btn.is-active { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
.foot-col h4 { margin-bottom: 12px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot-col a, .foot-col span { display: block; padding: 4px 0; font-size: 12.5px; color: rgba(255, 255, 255, .58); }
.foot-col a:hover { color: #fff; }
.foot-partners { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.foot-partners span { padding: 3px 0; }
.foot-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-bottom p { max-width: 800px; font-size: 10.5px; line-height: 1.7; color: rgba(255, 255, 255, .46); }
.foot-year { font-size: 10px; color: rgba(255, 255, 255, .42); white-space: nowrap; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 90; inset-inline: 0; bottom: 0;
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(248, 243, 231, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(23, 37, 30, .12);
  transform: translateY(120%); transition: transform .32s ease; backdrop-filter: blur(10px);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-copy { display: flex; flex-direction: column; line-height: 1.1; flex: 1; min-width: 0; }
.sticky-copy strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--green); }
.sticky-copy small { margin-top: 2px; font-size: 8.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; border-radius: 999px; padding: 10px 14px; font-size: 10.5px; font-weight: 700; flex: none; }
.sticky-btn .icon { width: 12px; height: 12px; }

/* keep anchor targets clear of the sticky header */
section[id] { scroll-margin-top: 92px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 1200px) {
  .offer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1120px) {
  .hero-grid { gap: 38px; }
  .phone { width: 218px; height: 452px; }
  .calc-grid { gap: 40px; grid-template-columns: 1fr 400px; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 660px; width: 100%; margin-inline: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-sub { max-width: 560px; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .head-actions { margin-inline-start: auto; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 660px; width: 100%; margin-inline: auto; }
  .phone { width: 220px; height: 456px; bottom: -26px; }
  .calc-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc-inputs { max-width: 100%; }
  .receipt { max-width: 480px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .cta-in { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:last-child { grid-column: span 2; min-height: 360px; }
  .offer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .foot-col:nth-child(2) { grid-column: 1; grid-row: 2; }
  .foot-col:last-child { grid-column: 2; grid-row: 2; }
  .foot-col-partners { grid-column: span 2; grid-row: 3; }
}

@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  section[id] { scroll-margin-top: 80px; }
  .how { padding-top: 80px; padding-bottom: 80px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .sec-sub { max-width: 100%; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card, .cat-card:last-child { grid-column: auto; min-height: 380px; }
  .steps { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer { min-height: 280px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 10px; }
  .sticky-cta { display: flex; }
  .hero { padding-bottom: 64px; }
  .phone { width: 204px; height: 422px; }
  .chip-a { inset-inline-start: 8px; top: 12px; }

  .strip-in { padding: 15px 0 17px; }
  .strip-marks {
    width: 100%; overflow-x: auto; flex-wrap: nowrap; margin-inline-start: 0;
    gap: 6px; padding-bottom: 4px; scrollbar-width: none;
  }
  .strip-marks::-webkit-scrollbar { display: none; }
  .strip-marks .pmark { flex: none; }
}

@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .head-in { height: 68px; gap: 12px; }
  .brand img { width: 34px; height: 34px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 6px; letter-spacing: .15em; }
  .btn-sm { height: 38px; padding: 0 13px; font-size: 12px; }
  .btn-sm .icon { display: none; }
  .head-actions { gap: 8px; }
  .lang-btn { padding: 5px 8px; font-size: 10px; }

  .hero-copy h1 { font-size: clamp(32px, 9.7vw, 38px); }
  .lede { font-size: 15.5px; }
  .hero-ctas { gap: 8px; flex-wrap: nowrap; }
  .hero-ctas .btn { height: 48px; padding: 0 13px; font-size: 12.5px; }
  .hero-ctas .btn .icon { width: 15px; height: 15px; }
  .hero-trust { gap: 12px; }
  .hero-trust li { font-size: 11.5px; }
  .filters { gap: 6px; margin-bottom: 20px; }
  .filter { height: 36px; padding: 0 12px; font-size: 11.5px; }

  .hero-visual { display: flex; flex-direction: column; align-items: center; }
  .hero-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 26px; }
  .hero-photo img { object-position: 38% center; }
  .phone { position: relative; inset: auto; margin-top: -54px; width: 214px; height: 442px; }
  .chip-a { top: 10px; inset-inline-start: 10px; }
  .float-chip { padding: 7px 10px; border-radius: 12px; }
  .float-chip strong { font-size: 14px; }
  .float-chip small { font-size: 8.5px; }

  .strip-label { font-size: 9.5px; }
  .pmark { height: 32px; padding: 0 8px; font-size: 10.5px; border-radius: 7px; }
  .pmark-lg { height: 44px; font-size: 14px; padding: 0 13px; }
  .pm-eni { font-size: 12px; }
  .pm-ip { font-size: 12px; }
  .pm-esso { font-size: 12px; }
  .pm-esselunga { font-size: 10px; }
  .pm-eurospin { font-size: 10px; }
  .pm-windtre { font-size: 9px; }
  .pm-lidl b { width: 21px; height: 21px; font-size: 7.5px; }

  .cat-card, .cat-card:last-child { min-height: 350px; }
  .cat-body { padding: 20px; }
  .cat-body h3 { font-size: 22px; }
  .cat-body p { font-size: 12px; }
  .cat-card .pmarks { max-width: 230px; }

  .offer-grid { grid-template-columns: 1fr; }
  .offer { min-height: 0; }
  .offer-reward { font-size: 38px; }

  .why-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-card { padding: 16px; }
  .partner-card h3 { margin-top: 12px; font-size: 16px; }
  .partner-card p { font-size: 11.5px; }
  .partner-card .pmark-lg { height: 40px; padding: 0 12px; font-size: 13px; }
  .partner-grid > .partner-card:last-child:nth-child(odd) { grid-column: span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .foot-brand { grid-column: span 2; }
  .foot-col-partners { grid-column: span 2; }

  .calc-grid { gap: 28px; }
  .receipt { padding: 22px 20px 18px; }
  .r-total b { font-size: 27px; }

  .faq-list summary { font-size: 15px; padding: 16px 0; }
  .cta-band { padding: 68px 0; }
  .cta-actions .btn { height: 48px; font-size: 13.5px; }
  .store { padding: 7px 11px; }

  .foot-col a, .foot-col span { font-size: 12px; }
}

@media (max-width: 400px) {
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
  .filter { padding: 0 10px; }
}

@media (max-width: 380px) {
  .hero-ctas { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 0 14px; }
  .hero .eyebrow { font-size: 9.5px; letter-spacing: .12em; gap: 6px; }
  .site-head .brand-text { display: none; }
  .phone { width: 200px; height: 414px; }
  .lang-btn { padding: 5px 7px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filter { width: 100%; padding: 0 10px; }
  .p-star { display: none; }
  .p-balance-label { letter-spacing: .08em; }
  .receipt::before, .receipt::after { display: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-grid > .partner-card:last-child:nth-child(odd) { grid-column: auto; }
  .partner-card { padding: 20px; }
  .partner-card h3 { font-size: 18px; }
  .partner-card p { font-size: 12px; }
}

@media (max-width: 340px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

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