/* ============================================================
   EMPATIC ASSISTENZA — Tema + estensioni one-page
   Caricato DOPO styles.css (template DecaRoy/Sveahost).
   Brand: teal (cura/fiducia) + terracotta (calore/azione) su crema.
   ============================================================ */

:root {
  --bg: #F2EDE4;
  --bg-2: #E7E0D3;
  --bg-dark: #16201D;
  --ink: #181A18;
  --ink-2: #474C49;
  --muted: #767B76;
  --line: rgba(20, 22, 20, 0.14);
  --line-strong: rgba(20, 22, 20, 0.30);
  --accent: #2E7A6F;          /* teal — bottoni/azione cura */
  --accent-2: #C0613F;        /* terracotta — hover/calore */
  --accent-glow: #57A99D;     /* teal chiaro — aurora/footer */
  --accent-ink: #246B61;      /* teal scuro — parole in corsivo su chiaro */
  --on-accent: #F4EFE6;       /* crema su teal */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* offset ancore sotto la nav fissa */
section[id], [id].anchor { scroll-margin-top: 88px; }

/* Guardia anti-scroll orizzontale: elementi decorativi (aurora, parola gigante)
   non devono mai generare scroll laterale su schermi molto stretti.
   `clip` non rompe position:fixed/sticky come farebbe `hidden`. */
html, body { overflow-x: clip; max-width: 100%; }

/* ============ NAV BRAND (icona + wordmark) ============ */
.nav-brand { font-style: normal; gap: 11px; align-items: center; }
.nav-brand .brand-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.nav-brand .brand-txt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.34rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-brand .brand-txt .e { color: var(--accent-ink); }
.nav-brand .brand-txt .a { color: var(--accent-2); }
@media (max-width: 560px) { .nav-brand .brand-txt { font-size: 1.15rem; } }

/* ============ TRUST STRIP (sotto hero) ============ */
.trust-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.2rem;
  justify-content: center;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.trust-strip svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

/* ============ EDGE GRID (problemi + vantaggi, icon-led) ============ */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 900px) { .edge-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .edge-grid { grid-template-columns: 1fr; } }

.edge-card {
  background: color-mix(in srgb, var(--bg-2) 65%, var(--bg));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.edge-card .ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.edge-card .ic svg { width: 23px; height: 23px; }
.edge-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.22rem, 1.7vw, 1.42rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.edge-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.edge-card--pain .ic { background: color-mix(in srgb, var(--accent-2) 14%, transparent); color: var(--accent-2); }
.edge-card--win .ic  { background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-ink); }

.edge-tag {
  margin-top: auto;
  font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.edge-tag::before { content: ''; width: 16px; height: 1px; background: var(--accent-2); flex: 0 0 auto; }

/* ============ MISSION price note (dentro la promise card) ============ */
.mission-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}
.mission-price .cur { font-size: 1.4rem; color: color-mix(in srgb, var(--accent-ink), var(--on-accent) calc(var(--p,0) * 100%)); }
.mission-price .num { font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: color-mix(in srgb, var(--ink), var(--on-accent) calc(var(--p,0) * 100%)); }

/* ============ STEPS (service-item senza media) ============ */
.service-item--steps { grid-template-columns: 56px minmax(0, 1fr); }
@media (max-width: 900px) {
  .service-item--steps {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "num content";
  }
}

/* ============ GARANZIA (banda teal statica) ============ */
.guarantee {
  max-width: var(--container);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
  color: var(--on-accent);
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.guarantee::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none;
}
.guarantee-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 820px) { .guarantee-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.guarantee .eyebrow { color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.guarantee .eyebrow::before { background: rgba(255,255,255,0.9); }
.guarantee h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.02em; color: #fff;
}
.guarantee p { color: rgba(255,255,255,0.9); line-height: 1.6; margin-top: 1rem; }

.tick-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.45; color: #fff;
}
.tick-list .tk {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 1px;
}
.tick-list .tk svg { width: 15px; height: 15px; color: #fff; }

/* ============ FOUNDER signature (in feature) ============ */
.founder-sign { display: flex; align-items: center; gap: 14px; margin-top: 1.5rem; }
.founder-sign .av {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; flex: 0 0 auto;
}
.founder-sign .nm { font-weight: 600; font-size: 15px; color: var(--ink); }
.founder-sign .rl { font-size: 13px; color: var(--muted); }

/* ============ FAQ ============ */
.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-2) 50%, var(--bg));
  padding: 2px clamp(1.25rem, 2vw, 1.75rem);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 1.35rem 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem); letter-spacing: -0.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pl {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; line-height: 1;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.faq-item[open] .pl { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq-item .ans { padding: 0 0 1.4rem; }
.faq-item .ans p { font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }

/* ============ CONTACT — aside + form extras ============ */
.contact-aside-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.contact-aside-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.contact-aside-list .tk {
  width: 24px; height: 24px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 1px;
}
.contact-aside-list .tk svg { width: 13px; height: 13px; }

.wa-aside {
  margin-top: 1.75rem; display: flex; align-items: center; gap: 14px;
  padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg);
}
.wa-aside .av {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
}
.wa-aside .av svg { width: 24px; height: 24px; }
.wa-aside .lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.wa-aside .num { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.wa-aside a:hover .num { color: var(--accent-ink); }

/* select coerente con input del template */
.contact-form select {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background-color: var(--bg);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.9rem 2.6rem 0.9rem 1.1rem; width: 100%;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23181A18' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent), transparent 85%); }

.consent { display: flex; align-items: flex-start; gap: 11px; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; cursor: pointer; }
.consent label { font-size: 13px; line-height: 1.45; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.consent a { color: var(--accent-ink); text-decoration: underline; }
.req { color: var(--accent-2); }

.form-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 0.25rem; }
.form-note a { color: var(--accent-ink); font-weight: 500; }

/* stato di conferma */
.form-success { display: none; text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.form-success.is-on { display: block; }
.form-card.is-sent .contact-form { display: none; }
.form-success .bdg {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.form-success .bdg svg { width: 34px; height: 34px; }
.form-success h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-2); max-width: 34rem; margin: 0 auto 1.5rem; line-height: 1.6; }

/* ============ WHATSAPP FLOTTANTE ============ */
.wa-float {
  position: fixed; right: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px); z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 15px;
  background: #25D366; color: #fff; border-radius: 100px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 14px 34px rgba(37,211,102,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(37,211,102,0.5); }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .wa-float { padding: 14px; } .wa-float .t { display: none; } }

/* ============ utility ============ */
.section-tint { background: color-mix(in srgb, var(--bg-2) 45%, var(--bg)); }
.center-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(3rem, 6vw, 4.5rem); }

/* ============ CALL / WHATSAPP CTAs ============ */
.btn-wa {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 100px;
  background: #25D366; color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 20px -6px rgba(37,211,102,0.45);
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.btn-wa:hover { background: #1ea955; transform: translateY(-3px); box-shadow: 0 16px 32px -8px rgba(37,211,102,0.5); }
.btn-wa:active { transform: translateY(0); transition-duration: 0.08s; }
.btn-wa svg, .btn-primary svg.ph { width: 18px; height: 18px; }

/* CTA doppio (Chiama / WhatsApp) nel blocco contatti */
.contact-cta-row { display: flex; gap: 12px; margin-top: 1.75rem; flex-wrap: wrap; }
.contact-cta-row > a { flex: 1 1 auto; min-width: 160px; justify-content: center; }

/* Barra azioni sticky (mobile): Chiama + WhatsApp sempre a portata di pollice */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 201;
  display: none; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10,10,9,0.08);
}
.action-bar > a { flex: 1; justify-content: center; padding: 14px 16px; font-size: 15px; }
.action-bar .btn-primary svg, .action-bar .btn-wa svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .action-bar { display: flex; }
  .wa-float { display: none; }            /* sul mobile comanda la barra azioni */
  body { padding-bottom: 78px; }

  /* Form: bottone full-width su mobile */
  .form-submit { align-self: stretch; justify-content: center; width: 100%; }

  /* Contatti: i due CTA (Chiama / WA) in colonna su schermi stretti */
  .contact-cta-row { flex-direction: column; }
  .contact-cta-row > a { min-width: 0; }
}

/* Trust strip: testo più compatto su schermi < 420px */
@media (max-width: 420px) {
  .trust-strip { gap: 0.55rem 1rem; }
  .trust-strip span { font-size: 13px; }
}

/* Footer: 1 colonna su telefoni piccoli */
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============ COOKIE MODAL (GDPR) ============ */

/* Blocca lo scroll del body mentre il modal è visibile */
.consent-pending body { overflow: hidden; }

/* Backdrop */
.cookie-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9900;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(18, 27, 24, 0.55);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
}
.consent-pending .cookie-modal {
  display: flex;
  animation: cookie-backdrop-in 0.35s ease both;
}

/* Card */
.cookie-modal-card {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
    var(--bg);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 26px;
  padding: clamp(1.9rem, 4.5vw, 2.6rem) clamp(1.6rem, 4vw, 2.4rem) clamp(1.5rem, 3.5vw, 2rem);
  max-width: 400px;
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.85rem;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.6) inset,
    0 30px 80px -20px rgba(10,16,13,0.45),
    0 8px 24px -12px rgba(10,16,13,0.3);
  animation: cookie-card-in 0.5s cubic-bezier(0.22,1,0.36,1) both;
}

/* Badge brand (riquadro morbido con l'icona casa+cuore) */
.cookie-modal-badge {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 9%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 45%, transparent);
  margin-bottom: 0.15rem;
}
.cookie-modal-badge svg { width: 34px; height: 34px; }

/* Typography */
.cookie-modal-card h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); text-align: center; margin: 0;
}
.cookie-modal-card p {
  font-size: 14px; line-height: 1.6; color: var(--ink-2);
  text-align: center; margin: 0; max-width: 32ch;
}

/* Riga "scelta attuale" — appare solo quando si riapre il modal */
.cookie-modal-status {
  display: none;
  align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--accent-ink);
  padding: 6px 14px; border-radius: 100px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.cookie-modal-status.show { display: inline-flex; }
.cookie-modal-status .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--accent);
}
.cookie-modal-status[data-state="denied"] {
  color: var(--ink-2);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.cookie-modal-status[data-state="denied"] .dot { background: var(--muted); }

/* CTA — stacked, gerarchia chiara, entrambe ben visibili (GDPR) */
.cookie-modal-actions {
  display: flex; flex-direction: column; gap: 9px;
  width: 100%; margin-top: 0.65rem;
}
.cookie-btn {
  width: 100%;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  padding: 15px 18px; border-radius: 100px; cursor: pointer;
  text-align: center; line-height: 1; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s, box-shadow 0.25s;
}
.cookie-btn:active { transform: scale(0.98); }
.cookie-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cookie-btn--primary {
  background: var(--accent); color: var(--on-accent); border: none;
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent) 60%, transparent);
}
.cookie-btn--primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}
.cookie-btn--ghost {
  background: transparent; color: var(--ink-2);
  border: 1.5px solid var(--line-strong);
}
.cookie-btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }

/* Link privacy — defilato, in fondo */
.cookie-modal-link {
  font-size: 12.5px; font-weight: 500;
  color: var(--muted); text-align: center;
  text-decoration: underline; text-underline-offset: 3px;
  margin-top: 0.85rem;
  transition: color 0.2s;
}
.cookie-modal-link:hover { color: var(--accent-ink); }

/* Animazioni */
@keyframes cookie-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cookie-card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

/* Mobile: bottom sheet che sale da sotto */
@media (max-width: 480px) {
  .cookie-modal { align-items: flex-end; padding: 0; }
  .cookie-modal-card {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    padding: 1.75rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -20px 60px -20px rgba(10,16,13,0.5);
    animation: cookie-sheet-in 0.45s cubic-bezier(0.22,1,0.36,1) both;
  }
}
@keyframes cookie-sheet-in {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: none; }
}

/* Rispetta chi ha disattivato le animazioni */
@media (prefers-reduced-motion: reduce) {
  .consent-pending .cookie-modal,
  .cookie-modal-card { animation: none; }
}

/* ============ ICONA "PREFERENZE COOKIE" (riapre il modal) ============ */
.cookie-settings-btn {
  position: fixed; left: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px);
  z-index: 199;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--ink-2); cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(10,16,13,0.25);
  transition: transform 0.28s var(--ease-out), color 0.25s, border-color 0.25s, box-shadow 0.28s;
}
.cookie-settings-btn:hover {
  transform: translateY(-2px);
  color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 12px 26px -8px rgba(10,16,13,0.3);
}
.cookie-settings-btn:active { transform: translateY(0); }
.cookie-settings-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.cookie-settings-btn svg { width: 22px; height: 22px; }
.cookie-settings-btn[hidden] { display: none; }
.consent-pending .cookie-settings-btn { display: none; }  /* nascosta mentre il modal è aperto */

/* Sul mobile: sopra la barra azioni, più piccola */
@media (max-width: 600px) {
  .cookie-settings-btn {
    width: 42px; height: 42px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    left: 14px;
  }
  .cookie-settings-btn svg { width: 20px; height: 20px; }
}

/* Link "Preferenze cookie" nel footer */
#cookie-settings-link { cursor: pointer; }
