/* Divina Cartomanzia · sito pubblico. Impostazione a portale: schede con cornice, colonna con offerte e numeri.
   Stati delle cartomanti: verde = Libera, rosso = In consulto, blu = Prenotata, rosso scuro = Non in linea. */
:root {
  --bg: #f7f1e6;
  --surface: #fffdf8;
  --soft: #f0e7d6;
  --line: #e4d7bf;
  --fg: #1d2b28;
  --muted: #5e6a66;
  --ink: #0f4c45;       /* smeraldo del logo */
  --ink-2: #1a6a60;
  --dark: #0a2f2b;
  --gold: #b8893b;
  --gold-2: #d9b26a;
  --gold-soft: #f3e6c8;
  --on-gold: #2b1d05;
  --free: #1d8048;
  --busy: #b3362c;
  --booked: #b26e12;
  --pause: #7d6a4a;
  --off: #858c89;
  --wa: #1f7a4d;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 47, 43, 0.06), 0 8px 24px -14px rgba(10, 47, 43, 0.25);
  --shadow-lg: 0 18px 40px -18px rgba(10, 47, 43, 0.4);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-caps: "Cinzel", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* nomi usati anche da fx.css */
  --primary: var(--ink);
  --primary-2: var(--ink-2);
  --sun: var(--gold-2);
  --sun-2: var(--gold);
  --font-serif: var(--font-display);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--font-body);
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visually-hidden:focus { position: fixed !important; width: auto; height: auto; clip: auto; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); }
h3 { font-size: 1.05rem; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }
.eyebrow { display: inline-block; font: 600 0.74rem var(--font-caps); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* ---------- pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font: 800 0.88rem/1.15 var(--font-body); letter-spacing: 0.03em; text-align: center;
  transition: filter .15s, background-color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-call { background: linear-gradient(180deg, #e2bf78, var(--gold)); color: var(--on-gold); box-shadow: 0 2px 0 #8d6627; }
.btn-call:hover { filter: brightness(1.05); }
.btn-book { background: var(--ink); color: #fff; box-shadow: 0 2px 0 var(--dark); }
.btn-book:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-small { min-height: 36px; padding: 7px 12px; font-size: 0.8rem; }
.btn-xl { min-height: 52px; padding: 12px 22px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--muted); box-shadow: none; cursor: default; filter: none; }
.btn-number { display: grid; text-align: left; }
.btn-number small, .btn-line small { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.btn-line { justify-content: flex-start; text-align: left; }
.btn-line span { display: grid; }

/* ---------- striscia in alto */
.topbar { background: linear-gradient(90deg, var(--dark), var(--ink) 50%, var(--dark)); color: #e9e2d2; font-size: 0.78rem; box-shadow: inset 0 -2px 0 var(--gold); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; padding-block: 8px; text-align: center; }
.topbar b { color: var(--gold-2); letter-spacing: 0.06em; font-weight: 800; }
.topbar .star { color: var(--gold-2); }
.topbar .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
@media (max-width: 640px) { .topbar .sep, .topbar .sep + span { display: none; } }

/* ---------- intestazione: chiama ora a sinistra, menu a destra, logo al centro sotto */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px 4px; }
.head-call { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--fg); flex: none; }
.head-call .ic { width: 30px; height: 30px; color: var(--ink); display: grid; place-items: center; }
.head-call .ic svg { width: 28px; height: 28px; fill: var(--ink); stroke: none; }
.head-call strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--fg); }
.head-call small { display: block; font-size: 0.92rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.main-menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.main-menu a { color: #4b4b4b; text-decoration: none; font-size: 0.92rem; padding: 9px 12px; border-radius: 4px; }
.main-menu a:hover { color: var(--ink); background: var(--soft); }
.main-menu a[aria-current="page"] { background: #efefef; color: var(--ink); }
.main-menu .menu-cta { background: var(--busy); color: #fff; font-weight: 700; padding: 9px 16px; border-radius: 0; margin-left: 6px; }
.main-menu .menu-cta:hover, .main-menu .menu-cta[aria-current="page"] { background: #9a2b22; color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.head-brand { display: grid; justify-items: center; gap: 4px; padding-bottom: 12px; }
.brand img { height: 62px; width: auto; }
.tagline { color: var(--ink); font-size: 1rem; }
@media (max-width: 1100px) {
  .menu-toggle { display: flex; }
  .main-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.3); flex-direction: column; align-items: stretch; padding: 8px 16px 14px; }
  .main-menu.is-open { display: flex; }
  .main-menu a { padding: 12px; border-bottom: 1px solid #f0ece4; }
  .main-menu .menu-cta { margin: 8px 0 0; text-align: center; }
  .head-row { padding-bottom: 0; }
  .brand img { height: 50px; }
  .tagline { font-size: 0.9rem; }
}

/* ---------- home a due colonne */
.home { position: relative; background: #ecebe7; overflow: hidden; }
.home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(50% 40% at 80% 18%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(60% 50% at 70% 70%, rgba(15, 76, 69, 0.08), transparent 70%),
    linear-gradient(180deg, #f1efea, #e7e5df);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.35; filter: grayscale(0.4); }
.home > * { position: relative; z-index: 1; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 12px 16px 0; }
.pills span { font-size: 0.72rem; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid #d9dde3; border-radius: 999px; padding: 3px 12px; }
.portal { display: grid; gap: 28px; padding-block: 18px 36px; }
@media (min-width: 1000px) { .portal { grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: start; } }
.left, .right { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (max-width: 999px) {
  .left, .right { display: contents; }
  .intro { order: 1; } .offer-call { order: 2; } #persone { order: 3; } .giorno-wrap { order: 4; } .ways { order: 5; }
  .staff { order: 6; } .perks-box { order: 7; } .promise { order: 8; } .glass { order: 9; }
}

.intro { text-align: center; display: grid; gap: 8px; }
.intro h1 { font: 800 clamp(2rem, 6vw, 2.6rem)/1.05 var(--font-body); color: #6b5440; }
.kicker { font: 800 0.8rem var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--free); }
.intro-big { font: 800 clamp(1.5rem, 4.5vw, 1.9rem)/1.15 var(--font-body); color: #5b4532; }
.intro-big em { font-style: normal; color: var(--ink); border-bottom: 3px solid var(--gold-2); }
.intro-sub { color: #4f4f4f; }

/* riquadro "Preferisci chiamare?" */
.pill { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: #6b4c12; }
.pill-blue { background: #e3e6f6; color: #3b4486; }
.offer-call { background: linear-gradient(180deg, #fff, #f6f6fb); border: 1px solid #dcdcef; border-radius: 16px; padding: 18px 16px; text-align: center; display: grid; gap: 10px; justify-items: center; box-shadow: var(--shadow); }
.oc-top { display: flex; align-items: center; gap: 18px; justify-content: center; }
.oc-ic { width: 70px; height: 70px; border-radius: 50%; background: #e6e8f6; color: #2f3a86; display: grid; place-items: center; flex: none; }
.oc-ic svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.oc-deal { font: 700 clamp(1.9rem, 5vw, 2.3rem)/1 var(--font-display); color: #26307a; }
.oc-min { color: #555; margin-top: 4px; }
.oc-cond { color: #4f4f4f; font-size: 0.92rem; }
.oc-num { display: grid; width: 100%; border: 3px solid #26307a; border-radius: 40px; padding: 10px 12px; text-decoration: none; color: #26307a; background: #fff; }
.oc-num small { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #222; }
.oc-num strong { font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 900; letter-spacing: 0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.oc-num strong.soon { font-size: 1.4rem; }
.oc-hours { color: #4f4f4f; font-size: 0.92rem; }

/* vantaggi */
.perks-box { border-top: 1px solid #c9b48a; border-bottom: 1px solid #c9b48a; padding: 16px 6px; }
.perks-box h2 { font: 800 1.35rem var(--font-body); color: #3f3f3f; text-align: center; margin-bottom: 10px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; }
.perks li { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 9px 0; border-bottom: 1px solid #ddd6c6; color: #3f3f3f; }
.perks li:last-child { border-bottom: 0; }
.perks b { color: #4b3a12; }

/* cartomante del giorno */
.giorno-wrap { text-align: center; display: grid; gap: 6px; }
.giorno-wrap h2 { font: 800 clamp(1.6rem, 4.5vw, 1.95rem) var(--font-body); color: #5b4532; }
.giorno-wrap .ul { color: #26307a; border-bottom: 3px solid var(--gold-2); }
.giorno { margin-top: 8px; background: linear-gradient(180deg, #fff, #f6f6fb); border: 1px solid #dcdcef; border-radius: 16px; padding: 16px; display: grid; gap: 12px; text-align: left; box-shadow: var(--shadow); }
.g-top { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; }
.g-ph { width: 150px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 2px solid var(--gold-2); padding: 0; cursor: pointer; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #1a6a60, #0a2f2b); }
.g-ph img { width: 100%; height: 100%; object-fit: cover; }
.g-ph svg { width: 82%; height: auto; }
.g-txt { display: grid; gap: 6px; justify-items: start; }
.g-txt h3 { font: 700 2rem/1 var(--font-display); color: #26307a; }
.g-code { color: #555; font-size: 0.9rem; }
.g-spec { color: var(--free); font-weight: 700; font-size: 0.9rem; }
.g-bio { color: #444; font-size: 0.94rem; text-align: center; }
.btn-gold { background: linear-gradient(180deg, #a87b2c, #7d5715); color: #fff; border-radius: 40px; min-height: 50px; font-size: 1.05rem; box-shadow: 0 6px 14px -8px rgba(80, 50, 0, 0.7); }
.btn-gold:hover { filter: brightness(1.08); }
.link-more { background: none; border: 0; color: #7d5715; font: 800 0.92rem var(--font-body); text-decoration: underline; cursor: pointer; }
@media (max-width: 420px) { .g-top { grid-template-columns: 110px 1fr; } .g-ph { width: 110px; } }

/* scegli come chiamare e ricaricare */
.ways { border-top: 1px solid #c9b48a; padding-top: 18px; text-align: center; }
.ways h2 { font: 800 1.35rem var(--font-body); letter-spacing: 0.04em; color: #3f3f3f; }
.ways-sub { color: #555; font-size: 0.88rem; margin: 4px 0 14px; letter-spacing: 0.02em; }
.ways-list { display: grid; gap: 10px; padding: 0 16px; }
.way { background: #fffbef; border: 1px solid #ecd9a6; border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; justify-items: center; box-shadow: 0 2px 6px -4px rgba(0, 0, 0, 0.3); }
.way-t { font-weight: 800; color: #3f3f3f; letter-spacing: 0.04em; }
.way-n { font-size: 1.35rem; font-weight: 800; color: #3c4b8c; text-decoration: none; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.way-n:hover { text-decoration: underline; }
.way-r { background: #3c4b8c; color: #fff; font-weight: 800; font-size: 0.85rem; padding: 5px 14px; border-radius: 999px; text-decoration: none; }
.way-d { color: #4f4f4f; font-size: 0.84rem; letter-spacing: 0.02em; }
.way-d b { color: #8a6416; }

/* colonna destra */
.promise { text-align: center; font: 400 clamp(1.5rem, 3.6vw, 2.4rem)/1.35 var(--font-body); color: #6b5440; letter-spacing: 0.02em; padding: 10px 0 6px; }
.promise span { display: block; text-transform: uppercase; }
.call-title { text-align: center; font: 400 clamp(1.8rem, 4.6vw, 2.6rem)/1.2 var(--font-body); color: #6b5440; }
.call-title b { display: block; color: var(--ink); font-weight: 800; letter-spacing: 0.02em; }
.avail { text-align: center; color: var(--free); font: 400 1.15rem var(--font-body); letter-spacing: 0.06em; margin-top: 8px; }
.avail b { font-weight: 800; }
.live-count { display: block; font-size: 0.85rem; color: #555; letter-spacing: 0; margin-top: 2px; }
.finder { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 16px 0 8px; color: #555; letter-spacing: 0.04em; }
.finder input { border: 1px solid #cfcfcf; border-radius: 3px; padding: 8px 12px; font: 400 0.95rem var(--font-body); width: 150px; background: #fff; }
.finder .btn { border-radius: 3px; min-height: 38px; background: #4f5f9a; box-shadow: none; }
.hint { text-align: center; color: #555; font-size: 0.92rem; letter-spacing: 0.03em; margin-bottom: 14px; }
.hint b { color: var(--free); }
.updated { font-size: 0.78rem; color: #666; margin-top: 10px; text-align: center; }
.updated:empty { display: none; }
.notice { border: 1px solid #e3c789; background: #fbf1df; border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; margin-bottom: 12px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 26px 16px; border: 1px dashed #bbb; border-radius: 12px; display: grid; gap: 12px; justify-items: center; background: rgba(255, 255, 255, 0.6); }

/* schede delle cartomanti: cornice con bordo colorato secondo lo stato */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 560px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc {
  --c: var(--busy);
  position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 4px;
  background: linear-gradient(180deg, #fafafa, #c9c9c9 60%, #a9a9a9);
  box-shadow: 0 0 0 2px #8f8f8f, 0 10px 18px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 #fff;
}
.tc.is-disponibile { --c: var(--free); }
.tc.is-prenotata { --c: #4b55a3; }
.tc.is-in_pausa { --c: #8a6a2c; }
.tc.is-non_in_linea, .tc.is-unknown { --c: #9a2e2e; }
.tc-in { background: #fff; border-radius: 16px 16px 4px 4px; padding: 7px 8px 4px; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.tc-head { font-size: 0.88rem; color: #2b2b2b; line-height: 1.2; }
.tc-head b { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.tc-head small { font-size: 0.72rem; color: #666; }
.tc-st { font-size: 0.72rem; color: var(--c); font-weight: 700; margin-top: 1px; }
.tc-ph { width: 100%; aspect-ratio: 16 / 10; margin: 6px 0 4px; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, #f6f2e8, #ece4d2); border-top: 1px solid #e3d9c4; border-bottom: 1px solid #e3d9c4; }
.tc-ph img { width: 100%; height: 100%; object-fit: cover; }
.tc-ph img.mono { width: 48%; height: auto; object-fit: contain; }
.tc-more { background: none; border: 0; padding: 0; font: 400 0.72rem var(--font-body); color: #3c4b8c; text-decoration: underline; cursor: pointer; }
.tc-spec { font-size: 0.68rem; color: #777; min-height: 1.3em; line-height: 1.3; margin-top: 2px; }
.tc-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px; margin: 3px -4px -4px; padding: 6px 4px 8px;
  border-radius: 0 0 20px 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 75%, #000));
  color: #fff; text-decoration: none; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tc-btn svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.tc-btn:hover { filter: brightness(1.1); }
.tc { border: 0; }
.tc::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c) 85%, transparent); }
.tc-new { position: absolute; top: -9px; right: 10px; z-index: 2; background: #2c8a2a; color: #fff; font-size: 0.64rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
@media (hover: hover) { .tc { transition: transform .2s; } .tc:hover { transform: translateY(-3px); } }

/* centraliniste */
.staff { text-align: center; }
.staff-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.sc { --c: var(--busy); position: relative; width: 170px; border-radius: 28px; padding: 14px 10px 0; display: grid; justify-items: center;
  background: radial-gradient(circle at 50% 45%, #fff 45%, #e6e6e6 70%), #fff; border: 7px solid var(--c); box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.6); overflow: hidden; }
.sc.is-disponibile { --c: #3aa935; }
.sc-st { margin-top: -14px; background: var(--c); color: #fff; font-size: 0.64rem; font-weight: 800; text-transform: uppercase; padding: 1px 12px 2px; border-radius: 0 0 8px 8px; white-space: nowrap; }
.sc-in { padding: 8px 0 14px; display: grid; gap: 2px; }
.sc-in b { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #333; }
.sc-in small { font-weight: 700; color: #555; letter-spacing: 0.06em; }
.sc-btn { width: calc(100% + 20px); display: flex; justify-content: center; gap: 4px; align-items: center; background: #fff; color: var(--c); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; text-decoration: none; padding: 4px; }
.sc-btn svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }

/* riquadro di testo traslucido */
.glass { background: linear-gradient(160deg, rgba(15, 76, 69, 0.82), rgba(10, 47, 43, 0.78)); color: #f2f2ee; border-radius: 18px; padding: 26px 24px; text-align: center; display: grid; gap: 12px; line-height: 1.75; letter-spacing: 0.03em; box-shadow: var(--shadow-lg); }
.glass b { color: var(--gold-2); }
.glass-head { letter-spacing: 0.06em; }
.glass hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.35); margin: 6px 0; width: 100%; }
.glass .small { color: #cfe0db; }

/* riquadri grandi con i numeri */
.tiles-wrap { padding-bottom: 40px; }
.tiles { display: grid; gap: 18px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { display: grid; justify-items: center; gap: 6px; padding: 18px 12px; text-align: center; text-decoration: none; background: rgba(255, 255, 255, 0.55); border: 3px solid #d3c5b3; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.4); }
.tile:hover { background: rgba(255, 255, 255, 0.8); }
.tile strong { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 800; color: #4f5f9a; letter-spacing: 0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-ic { width: 56px; height: 56px; color: #555; }
.tile-ic svg { width: 100%; height: 100%; }
.tile b { font-size: 1.05rem; color: #4f5f9a; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.tile small { font-size: 0.8rem; color: #555; letter-spacing: 0.08em; text-transform: uppercase; }

/* sotto: testi e domande */
.below { display: grid; gap: 22px; padding-bottom: 44px; }
@media (min-width: 900px) { .below { grid-template-columns: 1fr 1fr; align-items: start; } }
.info { background: #fff; border: 1px solid #e2ddd2; border-radius: 14px; padding: 20px; display: grid; gap: 10px; }
.info h2 { font: 800 1.4rem var(--font-body); color: #5b4532; }
.info h3 { font-size: 1.05rem; color: var(--ink); margin-top: 6px; }
.info p { color: #444; }

/* stati (scheda completa e cartomante del giorno) */
.st {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 9px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3;
  color: #9a2e2e; background: rgba(154, 46, 46, 0.1);
}
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st-disponibile { color: var(--free); background: color-mix(in srgb, var(--free) 14%, transparent); }
.st-in_consulto { color: var(--busy); background: color-mix(in srgb, var(--busy) 12%, transparent); }
.st-prenotata { color: #4b55a3; background: rgba(75, 85, 163, 0.12); }
.st-in_pausa { color: #8a6a2c; background: rgba(138, 106, 44, 0.12); }

/* scheda completa (Conoscimi) */
dialog { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); background: var(--surface); color: var(--fg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
dialog::backdrop { background: rgba(10, 30, 27, 0.6); }
.dialog-body { padding: 20px; display: grid; gap: 12px; }
.dialog-body h3 { font: 700 1.5rem var(--font-display); color: var(--ink); }
.pd-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.pd-top { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding-right: 36px; }
.pd-ph { width: 96px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold-2); display: grid; place-items: center; background: var(--soft); }
.pd-ph img, .pd-ph svg { width: 100%; height: 100%; object-fit: cover; }
.pd-top h3 { font: 600 1.4rem var(--font-caps); letter-spacing: 0.06em; }
.pd-top .small { margin: 2px 0 6px; }
.pd-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 0.9rem; background: var(--bg); border-radius: 10px; padding: 12px; }
.pd-dl dt { color: var(--muted); }
.pd-dl dd { margin: 0; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 0.76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--ink); }
.card-actions { display: grid; gap: 8px; }
.call-note { font-size: 0.84rem; color: var(--muted); }
.call-line { display: grid; gap: 6px; }
.pay-grid { display: grid; gap: 8px; }
.pay-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); }

/* ---------- offerte e tariffe */
.offers { display: grid; gap: 14px; }
@media (min-width: 700px) { .offers:not(.single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .offers.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offers-more { margin-top: 10px; text-align: center; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.tcard h3 { font: 700 1.4rem var(--font-display); color: var(--ink); }
.badge { align-self: flex-start; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--gold); color: #fff; }
.badge-soft { background: var(--gold-soft); color: var(--ink); }
.tcard-featured { border: 2px solid var(--gold-2); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { font: 700 2.2rem/1 var(--font-display); color: var(--ink); }
.price-tbd { font-size: 1.2rem; color: var(--muted); }
.duration { color: var(--muted); font-weight: 700; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 0.88rem; }
.facts li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.facts svg { width: 17px; height: 17px; color: var(--gold); margin-top: 2px; }
.tcard .card-actions { margin-top: auto; }
.side .tcard { box-shadow: none; padding: 0; border: 0; }

/* ---------- come funziona, domande */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--font-caps); color: var(--gold); border: 1px solid var(--gold-2); background: var(--bg); }
.step h3 { color: var(--ink); margin-bottom: 4px; }
.step p { font-size: 0.88rem; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 0.92rem; padding-top: 8px; }

/* ---------- pagamento online ed esito */
.summary-table { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.summary-table dt { color: var(--muted); }
.summary-table dd { margin: 0; font-weight: 800; }
.pay-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.form-error { color: var(--busy); font-weight: 700; }
.form-error:empty { display: none; }
.code-box { display: grid; gap: 4px; padding: 16px 24px; border-radius: 14px; background: var(--ink); color: #fff; text-align: center; }
.code-box small { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); }
.code-box strong { font-size: 2.4rem; letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.esito-actions { width: 100%; max-width: 360px; }

/* ---------- pagine di testo e promozioni */
.legal { max-width: 760px; padding-block: 32px 56px; }
.legal h1 { margin: 6px 0 16px; }
.legal h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--fg); margin-bottom: 10px; }
.fill { background: var(--gold-soft); color: var(--on-gold); padding: 0 4px; border-radius: 4px; }
.contact-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.contact-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.contact-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
main > section > .wrap > .section-head, main > .wrap > .section-head { padding-top: 32px; margin-bottom: 18px; display: grid; gap: 6px; }
.section-head p { color: var(--muted); }
main > .wrap:last-child { padding-bottom: 48px; }

/* ---------- piè di pagina */
.site-footer { background: var(--dark); color: #cfdcd8; margin-top: 8px; border-top: 3px solid var(--gold); }
.site-footer .wrap { padding-block: 32px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.site-footer .brand img { height: 64px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-links a { color: #fff; font-weight: 700; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold-2); }
.site-footer .muted { color: #a8bcb6; max-width: 46rem; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.social:hover { color: var(--gold-2); border-color: var(--gold-2); }
.social svg { width: 20px; height: 20px; }

/* ---------- barra in basso sul telefono */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -14px rgba(0, 0, 0, 0.35);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.callbar .btn { flex: 1; }
@media (min-width: 900px) { .callbar { display: none !important; } }

/* ---------- fascia del titolo per 404 ed esito */
.hero { background: radial-gradient(60% 120% at 50% -20%, color-mix(in srgb, var(--gold-2) 30%, transparent), transparent 70%), linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.hero-lead { font-size: 1.1rem; max-width: 40rem; }

/* ---------- pagine interne (chi siamo, turni, oroscopo, recensioni, articoli, lavora con noi) */
.page { background: linear-gradient(180deg, #f1efea, #e9e7e1); min-height: 50vh; }
.page-head { text-align: center; padding: 30px 0 22px; }
.page-head .wrap { display: grid; gap: 8px; justify-items: center; }
.page-head h1 { font: 800 clamp(1.9rem, 5vw, 2.6rem)/1.1 var(--font-body); color: #6b5440; }
.page-head p { color: #4f4f4f; max-width: 44rem; }
.page-body { padding-bottom: 48px; display: grid; gap: 20px; }
.center { text-align: center; }
.cols-2 { display: grid; gap: 22px; align-items: start; }
@media (min-width: 900px) { .cols-2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.card-box { background: #fff; border: 1px solid #e2ddd2; border-radius: 16px; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.card-box h2 { font: 800 1.35rem var(--font-body); color: #5b4532; }
.card-box.text p { color: #3f3f3f; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; color: #3f3f3f; }
.ticks li::before { content: "✦"; color: var(--gold); position: absolute; left: 2px; top: 0; }
.ticks b { color: var(--ink); }

/* turni */
.page .finder { margin: 0; }
.shifts { display: grid; gap: 10px; }
.shift { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "ph who btn" "ph hours btn"; gap: 4px 14px; align-items: center; background: #fff; border: 1px solid #e2ddd2; border-left: 5px solid #9a2e2e; border-radius: 12px; padding: 12px 14px; }
.shift.is-disponibile { border-left-color: var(--free); }
.shift.is-in_consulto { border-left-color: var(--busy); }
.shift.is-prenotata { border-left-color: #4b55a3; }
.shift-ph { grid-area: ph; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold-2); padding: 0; cursor: pointer; background: var(--soft); }
.shift-ph img, .shift-ph svg { width: 100%; height: 100%; object-fit: cover; }
.shift-who { grid-area: who; }
.shift-who b { font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.shift-who small { color: #666; }
.shift-who .role { color: var(--ink); font-weight: 700; }
.shift-who .st { margin-top: 4px; }
.shift-hours { grid-area: hours; color: #3f3f3f; font-size: 0.92rem; }
.shift-hours small { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.shift > .btn { grid-area: btn; }
.shift .btn svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
@media (max-width: 600px) {
  .shift { grid-template-columns: 54px minmax(0, 1fr); grid-template-areas: "ph who" "hours hours" "btn btn"; }
  .shift-ph { width: 54px; height: 54px; }
}

/* oroscopo */
.zodiac { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sign { background: #fff; border: 1px solid #e2ddd2; border-radius: 16px; padding: 18px; display: grid; gap: 4px; justify-items: center; text-align: center; box-shadow: var(--shadow); }
.sign-sym { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--gold-2); background: radial-gradient(circle at 40% 35%, var(--ink-2), var(--dark)); border: 2px solid var(--gold-2); }
.sign h2 { font: 700 1.6rem var(--font-display); color: var(--ink); margin-top: 6px; }
.sign small { color: #777; font-size: 0.78rem; letter-spacing: 0.06em; }
.sign p { color: #3f3f3f; margin-top: 6px; font-size: 0.94rem; }

/* recensioni */
.stars { color: #e0a82e; letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #d6d0c4; }
.rev-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2ddd2; border-radius: 14px; padding: 14px 18px; color: #555; margin-bottom: 12px; }
.rev-avg { font: 800 2rem var(--font-body); color: var(--ink); }
.rev-summary .stars { font-size: 1.3rem; }
.rev-list { display: grid; gap: 10px; }
.rev { background: #fff; border: 1px solid #e2ddd2; border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.rev-top { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.rev-top b { color: #333; }
.rev-for { font-size: 0.82rem; color: var(--ink); background: var(--gold-soft); padding: 1px 8px; border-radius: 999px; }
.rev p { color: #3f3f3f; white-space: pre-line; }
.rev small { color: #888; }
.tc-rate { font-size: 0.7rem; color: #444; font-weight: 700; }
.tc-rate span { color: #777; font-weight: 400; }

/* moduli pubblici */
.pub-form { display: grid; gap: 12px; }
.pub-form label { display: grid; gap: 4px; font-weight: 700; font-size: 0.9rem; color: #3f3f3f; }
.pub-form input:not([type=checkbox]):not([type=radio]), .pub-form select, .pub-form textarea {
  font: 400 1rem var(--font-body); padding: 10px 12px; border: 1px solid #cfc8b8; border-radius: 8px; background: #fff; color: var(--fg); width: 100%; }
.pub-form input:focus, .pub-form select:focus, .pub-form textarea:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
.pub-form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.pub-form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.pub-form .two { display: grid; gap: 12px; }
@media (min-width: 520px) { .pub-form .two { grid-template-columns: 1fr 1fr; } }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stars-in { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-in legend { font-weight: 700; font-size: 0.9rem; color: #3f3f3f; margin-bottom: 4px; width: 100%; }
.stars-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-in label { font-size: 2rem; line-height: 1; color: #d6d0c4; cursor: pointer; display: inline; }
.stars-in input:checked ~ label, .stars-in label:hover, .stars-in label:hover ~ label { color: #e0a82e; }
.stars-in input:focus-visible + label { outline: 2px solid var(--gold); border-radius: 4px; }
.sent { text-align: center; padding: 18px 8px; display: grid; gap: 6px; }
.sent strong { font: 700 1.8rem var(--font-display); color: var(--ink); }

/* articoli */
.art-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.art { background: #fff; border: 1px solid #e2ddd2; border-radius: 16px; padding: 20px; display: grid; gap: 8px; text-decoration: none; color: var(--fg); box-shadow: var(--shadow); transition: transform .2s; }
.art:hover { transform: translateY(-3px); }
.art small, .article small { color: var(--gold); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.art h2 { font: 800 1.25rem var(--font-body); color: #5b4532; }
.art p { color: #4f4f4f; font-size: 0.94rem; }
.art .more { color: var(--ink); font-weight: 800; font-size: 0.9rem; }
.article { max-width: 760px; margin: 0 auto; width: 100%; }
.article h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.article p { line-height: 1.75; }
.back { color: var(--ink); font-weight: 700; text-decoration: none; }
