/* ============================================================
   Cartomanzia Telefonica – foglio di stile
   Palette: viola profondo + oro, sfondo chiaro, cuori di stato
   ============================================================ */
:root {
  --violet-900: #1d1340;
  --violet-800: #2a1b5e;
  --violet-700: #3b2a7a;
  --violet-600: #5a3fb3;
  --violet-100: #ece7fb;
  --gold-500: #e8a317;
  --gold-400: #f6d365;
  --rose-500: #e0457b;
  --ink: #1f1b2e;
  --ink-soft: #5b566d;
  --paper: #faf8ff;
  --card: #ffffff;
  --line: #e4e0f1;
  --free: #1f9d55;
  --busy: #d93b3b;
  --pause: #e8921a;
  --blue: #1a73e8;
  --blue-dark: #1558b8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(42, 27, 94, .10);
  --container: 1160px;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--violet-600); }
a:hover { color: var(--violet-800); }
h1,h2,h3,h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--violet-900); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-400); padding: 8px 12px; z-index: 1000; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.center { text-align: center; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.3em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-size: 1rem; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-call { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--violet-900); box-shadow: 0 6px 18px rgba(232,163,23,.35); }
.btn-call:hover { color: var(--violet-900); }
.btn-primary { background: var(--violet-700); color: #fff; }
.btn-primary:hover { background: var(--violet-800); color: #fff; }
.btn-outline { background: transparent; color: var(--violet-700); border: 2px solid var(--violet-700); }
.btn-lg { font-size: 1.25rem; padding: .85em 1.6em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); color: var(--ink); box-shadow: 0 2px 14px rgba(42,27,94,.12); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo-img { height: 64px; width: auto; display: block; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 8px 10px; color: var(--violet-800); text-decoration: none; font-weight: 600; border-radius: 8px; font-size: .92rem; white-space: nowrap; }
.logo-text, .header-call { white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--violet-100); color: var(--violet-900); }
.header-call { padding: .55em 1.1em; flex: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--violet-800); width: 24px; margin: 0 auto; transition: .2s; }
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none; padding: 8px 16px 16px; border-top: 1px solid var(--line); box-shadow: 0 10px 20px rgba(42,27,94,.12); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px; font-size: 1.05rem; }
  .header-call span { display: none; }
  .header-call { padding: .6em; }
}
@media (max-width: 480px) { .logo-img { height: 48px; } .header-inner { min-height: 64px; } }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #5a3fb3 0%, transparent 60%), linear-gradient(160deg, var(--violet-900), var(--violet-700)); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M60 10l2 5 5 2-5 2-2 5-2-5-5-2 5-2zM20 80l1.5 3.5 3.5 1.5-3.5 1.5L20 90l-1.5-3.5L15 85l3.5-1.5zM100 60l1 2.5 2.5 1-2.5 1-1 2.5-1-2.5-2.5-1 2.5-1z' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E"); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lead { font-size: 1.15rem; color: #e9e4ff; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.hero-cost { color: #e9e4ff; font-size: .95rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: .95rem; color: #e9e4ff; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .ico { color: var(--gold-400); }
.hero-card { background: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.28); color: var(--ink, #1f1b2e); }
.hero-card h2 { color: var(--violet-900, #2a1b5e); font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.6);} 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0);} 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0);} }
.hero-card .feed-summary { font-size: 2rem; font-weight: 700; color: var(--gold-400); font-family: "Playfair Display", serif; }
.hero-card .feed-summary small { font-size: .95rem; color: #e9e4ff; font-family: Inter, sans-serif; font-weight: 500; display: block; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 44px 0 40px; } }

/* ---------- Sezioni ---------- */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 70ch; margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--violet-100); display: grid; place-items: center; margin-bottom: 14px; color: var(--violet-700); }
.card-icon .ico { width: 24px; height: 24px; }
.card-promo { border: 2px dashed var(--gold-500); background: linear-gradient(180deg, #fffaf0, #fff); }
.tag { display: inline-block; background: var(--rose-500); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.tag-gold { background: var(--gold-500); color: var(--violet-900); }

/* ---------- Lista cartomanti ---------- */
.feed-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.feed-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--violet-800); color: #fff; }
.feed-head h2, .feed-head h3 { color: #fff; margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.feed-meta { font-size: .85rem; color: #d9d2ff; }
.feed-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 22px; background: var(--violet-100); font-size: .85rem; color: var(--ink-soft); }
.feed-legend span { display: inline-flex; align-items: center; gap: 6px; }
.op-list { list-style: none; margin: 0; padding: 14px 22px 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 14px; }
.op { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #f7f5fd; border: 1px solid transparent; }
.op-name { font-weight: 600; }
.op-code { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .9rem; }
.op-status { margin-left: auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; }
.op-heart, .legend-heart { width: 16px; height: 16px; flex: none; display: inline-block; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.4 3 5 6.4 5c2 0 3.4 1.2 4.1 2.3.7-1.1 2.1-2.3 4.1-2.3 3.4 0 5.5 3.4 4 6.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.4 3 5 6.4 5c2 0 3.4 1.2 4.1 2.3.7-1.1 2.1-2.3 4.1-2.3 3.4 0 5.5 3.4 4 6.7C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat; }
.is-free .op-heart { color: var(--free); } .is-free .op-status { background: #e3f6ea; color: #157a40; } .is-free { border-color: #cdeedb; }
.is-busy .op-heart { color: var(--busy); } .is-busy .op-status { background: #fde6e6; color: #a32b2b; }
.is-pause .op-heart { color: var(--pause); } .is-pause .op-status { background: #fff0db; color: #9a5a00; }
.is-off .op-heart { color: #aaa; } .is-off .op-status { background: #eee; color: #666; }
.legend-heart.free { color: var(--free);} .legend-heart.busy { color: var(--busy);} .legend-heart.pause { color: var(--pause);}
.feed-empty { padding: 22px; margin: 0; color: var(--ink-soft); }
.feed-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.feed-updating .op-list { opacity: .6; transition: opacity .2s; }
.hero-card .op-list { padding: 10px 0 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hero-card .op { min-width: 0; }
.hero-card .op-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: .86rem; letter-spacing: -.01em; }
.hero-card .op-code { margin-left: auto; white-space: nowrap; font-size: .8rem; }
.hero-card .op-heart { width: 13px; height: 13px; }
@media (max-width: 420px) { .hero-card .op-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-card .op { background: #f4f1fc; color: var(--ink, #1f1b2e); border: 1px solid #e6e1f5; padding: 7px 8px; gap: 5px; }
.hero-card .op.is-free { background: #eefaf2; border-color: #cdeedb; }
.hero-card .op-code { color: #6a6384; }
.hero-card .op-status { display: none; }

/* ---------- Numeri e costi ---------- */
.num-card { display: grid; gap: 8px; }
.num-card .number { font-size: 1.6rem; font-weight: 700; color: var(--violet-800); font-family: "Playfair Display", serif; }
.num-card .cost { font-weight: 600; color: var(--rose-500); }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: var(--violet-100); color: var(--violet-900); }
.table-wrap { overflow-x: auto; }

/* ---------- Steps / FAQ ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-400); color: var(--violet-900); font-weight: 700; margin-bottom: 12px; font-family: "Playfair Display", serif; }
.steps h3 { font-size: 1.05rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--violet-900); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--violet-600); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }

/* ---------- Pagine interne ---------- */
.page-head { background: linear-gradient(160deg, var(--violet-900), var(--violet-700)); color: #fff; padding: 44px 0; }
.page-head h1 { color: #fff; }
.page-head p { color: #e9e4ff; max-width: 70ch; margin: 0; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: #d9d2ff; margin-bottom: 10px; }
.breadcrumb a { color: #fff; }
.prose { max-width: 76ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.legal { max-width: 80ch; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; }
.legal table { font-size: .92rem; }
.layout-side { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr; } }
.sidebar .card { position: sticky; top: 90px; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .post-meta { color: var(--ink-soft); font-size: .85rem; }
.post-card h3 a { color: var(--violet-900); text-decoration: none; }
.post-card h3 a:hover { color: var(--violet-600); }
.post-card .more { margin-top: auto; font-weight: 600; }

/* ---------- Form ---------- */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; display: block; margin-bottom: 4px; }
.form input, .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid #cfc9e3; border-radius: 10px; font: inherit; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--violet-600); border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form .check input { width: auto; margin-top: 4px; }
.notice { background: #fff6e0; border: 1px solid #f1d58e; border-radius: 12px; padding: 14px 16px; }
.notice-ok { background: #e3f6ea; border-color: #b9e4c8; }
.notice-err { background: #fde6e6; border-color: #f0b9b9; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: linear-gradient(135deg, var(--violet-800), var(--violet-600)); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { color: #e9e4ff; margin: 0; }
.cta-numbers { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.cta-cost { font-size: .85rem; color: #e9e4ff; }
.site-footer { background: var(--violet-900); color: #cfc8ea; padding: 48px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #e9e4ff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .82rem; }
.legal-note { color: #b9b1dc; }

/* ---------- Cookie banner: nero, testo bianco, pulsanti blu ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; background: #111; color: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.45); padding: 18px 20px; max-width: 1100px; margin-inline: auto; }
.cookie-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.cookie-text { flex: 1 1 480px; }
.cookie-text h2 { color: #fff; font-family: Inter, sans-serif; font-size: 1.05rem; margin: 0 0 6px; }
.cookie-text p { margin: 0; font-size: .92rem; color: #e6e6e6; }
.cookie-text a, .cookie-modal a { color: #8ab4ff; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cbtn { background: var(--blue); color: #fff; border: 2px solid var(--blue); padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s; }
.cbtn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.cbtn-outline { background: transparent; color: #fff; border-color: var(--blue); }
.cbtn-outline:hover { background: rgba(26,115,232,.2); }
.cookie-modal { position: fixed; inset: 0; z-index: 950; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 16px; }
.cookie-modal-box { background: #111; color: #fff; border-radius: 16px; padding: 24px; width: min(100%, 560px); max-height: 90vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.cookie-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cookie-modal-box h2 { color: #fff; font-family: Inter, sans-serif; font-size: 1.2rem; margin: 0; }
.cookie-modal-box p { color: #e6e6e6; font-size: .92rem; }
.cookie-close { background: transparent; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cookie-cat { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #2c2c2c; }
.cookie-cat small { display: block; color: #bdbdbd; font-size: .85rem; margin-top: 2px; }
.cookie-cat strong { color: #fff; }
.cookie-modal-box .cookie-actions { margin-top: 18px; justify-content: flex-end; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #444; border-radius: 26px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::before { transform: translateX(20px); }
.switch input:disabled + span { opacity: .6; cursor: not-allowed; }
.cookie-fab { position: fixed; right: 16px; bottom: 16px; z-index: 890; width: 50px; height: 50px; border-radius: 50%; background: #111; color: #fff; border: 2px solid var(--blue); cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.cookie-fab:hover { transform: scale(1.06); }
.cookie-fab svg { width: 24px; height: 24px; fill: #fff; }
[hidden] { display: none !important; }
@media (max-width: 600px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; } .cookie-actions { width: 100%; } .cbtn { flex: 1 1 auto; text-align: center; } }

/* ---------- Accessibilità / utilità ---------- */
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- Chiamata online / area clienti (integrazione app) ---------- */
.btn-online { background: var(--blue); color: #fff; }
.btn-online:hover { background: var(--blue-dark); color: #fff; }
.header-online { padding: .55em 1.1em; }
@media (max-width: 1120px) { .header-online span { display: none; } .header-online { padding: .6em; } }

.hero-online { margin-top: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
.pack-card { display: grid; gap: 6px; text-align: center; justify-items: center; border-top: 4px solid var(--gold-500); }
.pack-min { font-family: "Playfair Display", serif; font-size: 2.2rem; font-weight: 700; color: var(--violet-800); line-height: 1; }
.pack-min small { font-size: 1rem; font-family: Inter, sans-serif; font-weight: 500; color: var(--ink-soft); }
.pack-price { font-size: 1.5rem; font-weight: 700; color: var(--rose-500); }
.pack-card .btn { margin-top: 8px; }
.pack-steps { margin-top: 28px; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } }
.how-strip { padding-top: 48px; }
.num-card-online { grid-column: 1 / -1; border: 2px solid var(--blue); background: linear-gradient(180deg, #f3f7ff, #fff); }
.num-card-online .number { font-size: 1.35rem; }
.num-card-online .cost { font-size: .95rem; color: var(--violet-800); }
.feed-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* link secondario sotto il pulsante principale della hero */
.hero-alt { display:block; width:100%; margin-top:6px; color:#d9d2ff; font-size:.95rem; text-decoration:underline; }
.hero-alt:hover { color:#fff; }

/* banner in cima alla home */
.top-banner { background: #fff; padding: 14px 0 18px; }
.top-banner a { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(42,27,94,.16); line-height: 0; }
.top-banner img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .top-banner { padding-top: 8px; } .top-banner a { border-radius: 8px; } }

/* pulsante secondario sulla hero scura */
.hero .hero-btn-outline { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); }
.hero .hero-btn-outline:hover { background: #fff; color: var(--violet-700); }

.hero-card .small { color: #5b566d !important; }
