/* ════════════════════════════════════════════
   eleva v2 — shared stylesheet
   Brand identity v3 strict.
     · Coral = ACTION ONLY (CTAs, accents, active states)
     · Ink = dominant text + dark surfaces
     · Cream = canvas
     · Sky / Blush = patient-facing soft surfaces
     · Voice: direct, factual, no fluff, no emoji.
════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* core */
  --ink:        #12211E;
  --ink-mid:    #3D5854;
  --ink-soft:   rgba(18,33,30,0.6);
  --coral:      #E07B5A;
  --coral-deep: #C9633D;
  --cream:      #FAF8F4;
  --white:      #FFFFFF;
  --bg:         #F0F2F5;     /* azzurrino-bg, default page background */
  --border:     rgba(18,33,30,0.08);
  --border-soft: rgba(18,33,30,0.05);
  --sky:        #E8F0F5;
  --sky-mid:    #D0E2EC;
  --blush:      #F2E4DC;

  /* dark */
  --dark-bg:    #0E1916;
  --dark-surf:  #182620;
  --dark-surf2: #1F3028;
  --dark-border: #2C3E38;

  /* shadows */
  --shadow-sm: 0 2px 8px rgba(18,33,30,0.04);
  --shadow-md: 0 8px 24px rgba(18,33,30,0.06);
  --shadow-lg: 0 20px 60px rgba(18,33,30,0.08);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  min-height: 100vh;
}
/* Background mesh — subtle gradient layer fixed across the whole page */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 45% at 15% 10%, var(--sky) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 15%, var(--cream) 0%, transparent 55%),
    radial-gradient(ellipse 65% 38% at 50% 95%, var(--blush) 0%, transparent 50%);
  opacity: 0.55;
  pointer-events: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Global em — no italic anywhere, default coral accent (overridable per context) */
em { font-style: normal; color: var(--coral); font-weight: inherit; }
.h1 em, .h1 .accent { font-style: normal; color: var(--coral); font-weight: 600; }

/* ─── ANIMATED ORBS — global background canvas ─── */
.bg-canvas {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0;
  animation: orbFloat 20s ease-in-out infinite, orbFadeIn 2s ease forwards;
}
.bg-orb:nth-child(1) {
  width: 600px; height: 600px; top: -8%; left: -5%;
  background: radial-gradient(circle, rgba(208,226,236,0.42), transparent 70%);
}
.bg-orb:nth-child(2) {
  width: 600px; height: 600px; bottom: -10%; right: -8%;
  background: radial-gradient(circle, rgba(224,123,90,0.18), transparent 70%);
  animation-delay: -7s;
}
.bg-orb:nth-child(3) {
  width: 440px; height: 440px; top: 45%; left: 38%;
  background: radial-gradient(circle, rgba(242,228,220,0.40), transparent 70%);
  animation-delay: -14s;
}
.bg-orb:nth-child(4) {
  width: 520px; height: 520px; top: 18%; right: 8%;
  background: radial-gradient(circle, rgba(224,123,90,0.12), transparent 70%);
  animation-delay: -3s;
}
.bg-orb:nth-child(5) {
  width: 480px; height: 480px; top: 65%; left: -8%;
  background: radial-gradient(circle, rgba(208,226,236,0.32), transparent 70%);
  animation-delay: -11s;
}
@keyframes orbFloat { 0%,100%{transform:translate(0,0) scale(1);} 33%{transform:translate(30px,-40px) scale(1.05);} 66%{transform:translate(-20px,30px) scale(0.95);} }
@keyframes orbFadeIn { to { opacity: 1; } }

/* ─── LIQUID GLASS CARD ─── */
.glass {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
}
.glass-strong {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(22px) saturate(1.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
}
.glass-dark {
  background: rgba(18,33,30,0.55);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
}

/* ─── CORAL GLOW — atmospheric accent for sections ─── */
.glow-coral {
  position: relative;
}
.glow-coral::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(224,123,90,0.24), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 80%, rgba(224,123,90,0.16), transparent 60%);
}
.glow-coral > * { position: relative; z-index: 1; }

.glow-coral-strong {
  position: relative;
}
.glow-coral-strong::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 65% at 18% 25%, rgba(224,123,90,0.32), transparent 55%),
    radial-gradient(ellipse 70% 55% at 82% 75%, rgba(224,123,90,0.20), transparent 60%),
    radial-gradient(ellipse 45% 38% at 50% 50%, rgba(224,123,90,0.10), transparent 70%);
}
.glow-coral-strong > * { position: relative; z-index: 1; }

.glow-sky {
  position: relative;
}
.glow-sky::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(208,226,236,0.42), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(232,240,245,0.30), transparent 65%);
}
.glow-sky > * { position: relative; z-index: 1; }

/* Mix sky + coral — for sections that want both warm and cool atmosphere */
.glow-mix {
  position: relative;
}
.glow-mix::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 22%, rgba(208,226,236,0.36), transparent 60%),
    radial-gradient(ellipse 55% 45% at 82% 78%, rgba(224,123,90,0.16), transparent 60%);
}
.glow-mix > * { position: relative; z-index: 1; }

/* I glow atmosferici sono ritagliati dentro la sezione (overflow:hidden). Se hanno
   opacità sul bordo, al confine tra due sezioni di tinta diversa si vede una riga netta.
   Sfumiamo l'overlay a zero sui bordi alto/basso: al confine il glow non pesa più. */
.glow-coral::before,
.glow-coral-strong::before,
.glow-sky::before,
.glow-mix::before {
  -webkit-mask: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
          mask: linear-gradient(to bottom, transparent 0, #000 90px, #000 calc(100% - 90px), transparent 100%);
}

/* Section warm — subtle cream → blush */
.section-warm {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(242,228,220,0.45) 100%);
  position: relative;
}

/* ─── LAYOUT ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-tight { max-width: 920px; margin: 0 auto; padding: 0 32px; }

/* ─── TYPOGRAPHY (per brand book) ─── */
.display {
  font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 200;
  color: var(--ink); line-height: 0.95;
  letter-spacing: -0.045em;
}
.display strong { font-weight: 700; }

.h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 700;
  color: var(--ink); line-height: 1.0;
  letter-spacing: -0.045em;
}
.h1 .accent { color: var(--coral); }
.h1 .light { font-weight: 200; color: var(--ink-mid); }

.h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 600;
  color: var(--ink); line-height: 1.05;
  letter-spacing: -0.03em;
}
.h2 strong { font-weight: 700; }
.h2 em, .h2 .accent { font-style: normal; color: var(--coral); }
.h2 .light { font-weight: 300; color: var(--ink-mid); }

.h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 700;
  color: var(--ink); line-height: 1.2;
  letter-spacing: -0.018em;
}

.lead {
  font-size: 1.08rem; font-weight: 400; color: var(--ink-mid);
  line-height: 1.7;
}

.label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex; align-items: center;
  gap: 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--coral);
  margin-bottom: 32px;
}
.eyebrow-n {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--coral);
}
.eyebrow-t {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mid);
}
.eyebrow.light { border-color: rgba(255,255,255,0.35); }
.eyebrow.light .eyebrow-n { color: rgba(255,255,255,0.65); }
.eyebrow.light .eyebrow-t { color: rgba(255,255,255,0.55); }

/* ─── BUTTONS (per brand UI) ─── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-weight: 700; font-size: 0.86rem;
  border-radius: 8px; padding: 13px 22px;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s, color 0.18s, border-color 0.18s;
  letter-spacing: -0.005em; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-coral {
  background: var(--coral); color: #fff;
}
.btn-coral:hover {
  background: var(--coral-deep);
  box-shadow: 0 8px 24px -8px rgba(224,123,90,0.5);
}
.btn-ink {
  background: var(--ink); color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(18,33,30,0.18), 0 14px 32px -14px rgba(18,33,30,0.5);
}
.btn-ink:hover {
  background: var(--ink-mid);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(18,33,30,0.2), 0 22px 42px -16px rgba(224,123,90,0.4);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-coral {
  background: transparent; color: var(--coral);
  border: 1.5px solid var(--coral);
}
.btn-ghost-coral:hover { background: var(--coral); color: #fff; }
.btn-ghost-light {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ─── PATIENT BUTTON (B2C entry point in B2B nav) ─── */
.btn-patient {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  background: transparent; color: var(--coral);
  border: 1.5px solid rgba(224,123,90,0.45);
  border-radius: 999px;
  font-size: 0.84rem; font-weight: 600;
  font-family: inherit;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.18s, color 0.18s;
}
.btn-patient:hover {
  background: rgba(224,123,90,0.08);
  border-color: var(--coral);
  color: var(--coral-deep);
  transform: translateY(-1px);
}
.btn-patient:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
.btn-patient svg { color: var(--coral); flex-shrink: 0; }
.btn-patient .bp-short { display: none; }

/* Mobile: hide "Accedi", compress patient + demo buttons */
@media (max-width: 640px) {
  .nav-cta-row .nav-link { display: none; }
  .btn-patient { padding: 7px 11px; font-size: 0.8rem; }
  .btn-patient .bp-long { display: none; }
  .btn-patient .bp-short { display: inline; }
  .nav-cta-row .btn-coral { padding: 7px 14px; font-size: 0.82rem; }
}
@media (max-width: 380px) {
  .nav-cta-row { gap: 8px; }
  .btn-patient { padding: 7px 9px; }
  .btn-patient .bp-short { display: none; }
}
.btn-lg { font-size: 0.95rem; padding: 15px 28px; border-radius: 9px; }

/* ─── PILL ─── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral);
  background: rgba(224,123,90,0.10); border: 1px solid rgba(224,123,90,0.28);
  border-radius: 999px; padding: 5px 12px;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral);
  background: rgba(224,123,90,0.12); padding: 4px 9px;
  border-radius: 4px;
}
.badge-dark {
  color: rgba(255,255,255,0.95);
  background: rgba(224,123,90,0.85);
}

/* ─── NAV (liquid glass) ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(240,242,245,0.65);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  height: 68px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

/* Variante per pagine con hero scuro in cima (es. piattaforma.html): parte scuro/
   trasparente sull'hero, poi passa al vetro chiaro standard una volta scrollato oltre
   (classe .is-scrolled aggiunta via JS in base alla scroll position, vedi script a fondo pagina). */
.nav.nav-hero-dark {
  background: rgba(14,25,22,0.45);
  border-bottom-color: rgba(255,255,255,0.1);
}
.nav.nav-hero-dark .nav-mark svg path { fill: #fff; }
.nav.nav-hero-dark .nav-wordmark { color: #fff; }
.nav.nav-hero-dark .nav-link,
.nav.nav-hero-dark .nav-trigger { color: rgba(255,255,255,0.75); }
.nav.nav-hero-dark .nav-link:hover, .nav.nav-hero-dark .nav-link.active,
.nav.nav-hero-dark .nav-trigger:hover, .nav.nav-hero-dark .nav-trigger.active,
.nav.nav-hero-dark .has-mega:hover .nav-trigger { color: #fff; }
.nav.nav-hero-dark .nav-burger { border-color: rgba(255,255,255,0.25); }
.nav.nav-hero-dark .nav-burger:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.nav.nav-hero-dark .nav-burger-icon span { background: #fff; }

.nav.nav-hero-dark.is-scrolled {
  background: rgba(240,242,245,0.65);
  border-bottom-color: rgba(255,255,255,0.4);
}
.nav.nav-hero-dark.is-scrolled .nav-mark svg path { fill: #12211E; }
.nav.nav-hero-dark.is-scrolled .nav-wordmark { color: var(--ink); }
.nav.nav-hero-dark.is-scrolled .nav-link,
.nav.nav-hero-dark.is-scrolled .nav-trigger { color: var(--ink-mid); }
.nav.nav-hero-dark.is-scrolled .nav-link:hover, .nav.nav-hero-dark.is-scrolled .nav-link.active,
.nav.nav-hero-dark.is-scrolled .nav-trigger:hover, .nav.nav-hero-dark.is-scrolled .nav-trigger.active,
.nav.nav-hero-dark.is-scrolled .has-mega:hover .nav-trigger { color: var(--ink); }
.nav.nav-hero-dark.is-scrolled .nav-burger { border-color: rgba(18,33,30,0.12); }
.nav.nav-hero-dark.is-scrolled .nav-burger:hover { background: rgba(18,33,30,0.04); border-color: rgba(18,33,30,0.2); }
.nav.nav-hero-dark.is-scrolled .nav-burger-icon span { background: var(--ink); }

@media (max-width: 768px) {
  .nav { background: rgba(240,242,245,0.94); }
  .nav.nav-hero-dark { background: rgba(14,25,22,0.85); }
  .nav.nav-hero-dark.is-scrolled { background: rgba(240,242,245,0.94); }
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-mark { display: flex; align-items: center; }
.nav-wordmark {
  font-size: 1.18rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.86rem; font-weight: 500; color: var(--ink-mid);
  transition: color 0.15s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { font-weight: 600; }
.nav-cta-row { display: flex; align-items: center; gap: 14px; }

/* ─── MEGAMENU ─── */
.has-mega { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink-mid);
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}
.nav-trigger:hover, .nav-trigger.active, .has-mega:hover .nav-trigger { color: var(--ink); }
.nav-trigger svg { transition: transform 0.2s; }
.has-mega:hover .nav-trigger svg { transform: rotate(180deg); }

.megamenu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #FFFFFF;
  border: 1px solid rgba(18,33,30,0.08);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(18,33,30,0.06),
    0 22px 44px -16px rgba(18,33,30,0.22),
    0 60px 100px -40px rgba(18,33,30,0.20);
  padding: 22px;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(.16,1,.3,1), visibility 0.2s;
  z-index: 110;
}
.megamenu::before {
  content: ''; position: absolute; top: -16px; left: -12px; right: -12px; height: 20px;
}
.has-mega:hover .megamenu,
.has-mega:focus-within .megamenu,
.has-mega.is-open .megamenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Touch-friendly: chevron rotation when explicit-open class set */
.has-mega.is-open .nav-trigger svg { transform: rotate(180deg); }
.megamenu-piattaforma { width: 720px; }
.megamenu-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
.megamenu-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  color: var(--ink); transition: background 0.15s;
}
.megamenu-item:hover { background: rgba(224,123,90,0.06); }
.megamenu-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  background: rgba(224,123,90,0.1);
  border: 1px solid rgba(224,123,90,0.22);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral);
}
.megamenu-text { display: flex; flex-direction: column; gap: 2px; }
.megamenu-name {
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.megamenu-desc {
  font-size: 0.76rem; color: var(--ink-mid); line-height: 1.45;
}
.megamenu-foot {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(18,33,30,0.07);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.megamenu-foot a {
  font-size: 0.82rem; font-weight: 600; color: var(--coral);
  display: inline-flex; align-items: center; gap: 6px;
}
.megamenu-foot a:hover { color: var(--coral-deep); }

.megamenu-risorse { width: 360px; padding: 14px; }
.megamenu-perchi { width: 400px; padding: 12px; }
.megamenu-list { display: flex; flex-direction: column; gap: 2px; }
.megamenu-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink); transition: background 0.15s;
}
.megamenu-list a:hover { background: rgba(224,123,90,0.06); }
.megamenu-list .megamenu-icon { width: 30px; height: 30px; }
.megamenu-list .megamenu-name { font-size: 0.86rem; }
.megamenu-list .megamenu-desc { font-size: 0.74rem; }

/* ─── MEGAMENU PIANI ─── */
.megamenu-piani { width: 400px; padding: 12px; }
.megamenu-plans-list { display: flex; flex-direction: column; gap: 2px; }
.megamenu-plan-item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  transition: background 0.18s ease;
}
.megamenu-plan-item:hover { background: rgba(224,123,90,0.06); }
.megamenu-plan-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
}
.megamenu-plan-name {
  font-size: 0.96rem; font-weight: 700;
  color: var(--ink); letter-spacing: -0.012em;
  display: inline-flex; align-items: center;
}
.megamenu-plan-badge {
  display: inline-flex; align-items: center;
  margin-left: 8px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral);
  padding: 2px 8px;
  background: rgba(224,123,90,0.1);
  border: 1px solid rgba(224,123,90,0.24);
  border-radius: 999px;
}
.megamenu-plan-price {
  font-size: 0.96rem; font-weight: 700;
  color: var(--coral);
  letter-spacing: -0.018em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.megamenu-plan-price > span {
  font-size: 0.72rem; font-weight: 500; color: var(--ink-soft);
  margin-left: 1px;
}
.megamenu-plan-desc {
  font-size: 0.78rem; color: var(--ink-mid);
  line-height: 1.45;
}
.megamenu-plan-addon {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  margin-top: 6px;
  background: var(--cream);
  border: 1px solid rgba(18,33,30,0.06);
  border-radius: 11px;
  gap: 12px;
}
.megamenu-plan-addon-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.megamenu-plan-addon-text strong {
  font-size: 0.84rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.005em;
}
.megamenu-plan-addon-text span {
  font-size: 0.72rem; color: var(--ink-soft);
  line-height: 1.35;
}
.megamenu-plan-addon-price {
  font-size: 0.92rem; font-weight: 700;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.megamenu-plan-addon-price > span {
  font-size: 0.7rem; font-weight: 500; color: var(--ink-soft);
}

@media (max-width: 1024px) {
  .megamenu { display: none; }
}

/* ─── BROWSER FRAME (mockup) ─── */
.browser-frame {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(18,33,30,0.06);
  box-shadow:
    0 1px 2px rgba(18,33,30,0.04),
    0 14px 30px -10px rgba(18,33,30,0.12),
    0 50px 80px -32px rgba(18,33,30,0.18);
}
.browser-frame.dark { background: var(--dark-surf); border-color: var(--dark-border); }
.browser-frame-chrome {
  height: 30px;
  background: linear-gradient(180deg, #f6f3ee 0%, #ebe7df 100%);
  border-bottom: 1px solid rgba(18,33,30,0.06);
  display: flex; align-items: center; padding: 0 12px;
}
.browser-frame.dark .browser-frame-chrome {
  background: #0C1A17;
  border-bottom-color: var(--dark-border);
}
.browser-frame-dots { display: flex; gap: 6px; }
.browser-frame-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-frame-dot.red    { background: #ff5f57; }
.browser-frame-dot.yellow { background: #febc2e; }
.browser-frame-dot.green  { background: #28c840; }
.browser-frame-body { background: #fff; }
.browser-frame-body img { display: block; width: 100%; height: auto; }

.shot-tilted {
  transform: perspective(1600px) rotateY(-6deg) rotateX(3deg);
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.shot-tilted:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
}

/* ─── SECTION HELPERS ─── */
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-cream { background: var(--cream); position: relative; }
.section-white { background: var(--white); position: relative; }
.section-sky { background: linear-gradient(155deg, var(--sky) 0%, var(--sky-mid) 45%, var(--blush) 100%); position: relative; }
.section-clear { background: transparent; position: relative; }
.section-ink {
  background: var(--ink);
  color: #fff;
  position: relative; overflow: hidden;
}
.section-ink::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(224,123,90,0.16), transparent 50%),
    radial-gradient(ellipse at 82% 78%, rgba(224,123,90,0.08), transparent 55%);
  pointer-events: none;
}
.section-ink > * { position: relative; z-index: 1; }
.section-ink .h1, .section-ink .h2, .section-ink .h3 { color: #fff; }
.section-ink .lead { color: rgba(255,255,255,0.65); }
.section-ink .label { color: rgba(255,255,255,0.4); }

/* ─── FOOTER (shared) ─── */
.footer {
  background: var(--ink); color: #fff;
  padding: 80px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 320px; }
.footer-brand-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-wordmark { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.footer-tag { font-size: 0.86rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 22px; }
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  color: #fff; padding: 10px 14px;
  font-size: 0.84rem; font-family: inherit;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter input:focus { outline: none; border-color: var(--coral); }
.footer-newsletter button {
  background: var(--coral); color: #fff;
  border-radius: 7px; padding: 10px 16px;
  font-size: 0.84rem; font-weight: 700;
}
.footer-newsletter button:hover { background: var(--coral-deep); }
.footer-col-label {
  font-size: 0.62rem; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  font-size: 0.84rem; font-weight: 400;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s, transform 0.15s;
}
.footer-social a:hover { color: var(--coral); transform: translateY(-1px); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.footer-coral-stripe {
  height: 3px; background: var(--coral);
  margin-bottom: 4px;
}

/* ─── RISE-IN ─── */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: riseIn 0.7s cubic-bezier(.16,1,.3,1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.18s; }
.rise-3 { animation-delay: 0.32s; }
.rise-4 { animation-delay: 0.5s; }

/* ════════════════════════════════════════════
   RESPONSIVE — strict mobile-first overrides
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* Il burger compare da 1024px in giù (vedi .nav-burger sotto): il nav-links pieno
     deve sparire alla stessa soglia, altrimenti tra 641-1024px restano visibili
     entrambi insieme e si accavallano nell'header (bug tablet). */
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .container, .container-tight { padding: 0 22px; }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── HAMBURGER + MOBILE DRAWER (auto-built from nav-links) ─── */
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1.5px solid rgba(18,33,30,0.12);
  border-radius: 11px;
  align-items: center; justify-content: center;
  cursor: pointer; font-family: inherit;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(18,33,30,0.04); border-color: rgba(18,33,30,0.2); }
.nav-burger-icon {
  position: relative;
  width: 18px; height: 12px;
}
.nav-burger-icon span {
  position: absolute; left: 0; right: 0;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s, top 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}
.nav-burger-icon span:nth-child(1) { top: 0; }
.nav-burger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger-icon span:nth-child(3) { top: 100%; transform: translateY(-100%); }
.nav-burger.is-open .nav-burger-icon span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-burger.is-open .nav-burger-icon span:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger-icon span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-burger { display: inline-flex; }
}


/* Su touch il browser puo' attendere un eventuale secondo tap prima di
   reagire al primo: con manipulation il tocco e' immediato. */
.nav-burger, .nav-drawer-close, .nav-drawer-acc, .nav-drawer-link,
.nav-drawer-direct, .nav-drawer-cta-primary, .nav-drawer-cta-secondary,
.btn, .nav-link, .nav-trigger { touch-action: manipulation; }

/* Mobile drawer: full-screen slide-in panel */
.nav-drawer {
  position: fixed; inset: 0;
  z-index: 150;
  pointer-events: none;
  visibility: hidden;
}
.nav-drawer.is-open { pointer-events: auto; visibility: visible; }
/* Mentre il drawer e' aperto nascondi la nav sottostante: il drawer ha la propria
   intestazione (brand + chiudi), cosi' non resta un logo sbiadito dietro il backdrop. */
.nav.is-drawer-open { opacity: 0; pointer-events: none; }
.nav-drawer-bg {
  position: absolute; inset: 0;
  background: rgba(18,33,30,0.5);
  opacity: 0;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-drawer.is-open .nav-drawer-bg { opacity: 1; }
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 88%);
  background: #FFFFFF;
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: -16px 0 40px -12px rgba(18,33,30,0.22);
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(18,33,30,0.06);
  flex-shrink: 0;
}
.nav-drawer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-drawer-close {
  width: 36px; height: 36px;
  background: var(--cream);
  border: 1px solid rgba(18,33,30,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-family: inherit;
  color: var(--ink);
  transition: background 0.18s, transform 0.18s;
}
.nav-drawer-close:hover { background: var(--ink); color: var(--white); transform: rotate(90deg); }

.nav-drawer-body {
  flex: 1; min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 18px 22px 24px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.nav-drawer-section {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 12px 6px;
}
.nav-drawer-section:first-child { padding-top: 4px; }
.nav-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 0.96rem; font-weight: 500;
  color: var(--ink);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.nav-drawer-link:hover { background: var(--cream); transform: translateX(2px); }
.nav-drawer-link.is-strong { font-weight: 600; }
.nav-drawer-link svg { color: var(--coral); }

.nav-drawer-foot {
  padding: 18px 22px calc(env(safe-area-inset-bottom, 0) + 18px);
  border-top: 1px solid rgba(18,33,30,0.06);
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.nav-drawer-cta-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px;
  background: var(--ink); color: var(--white);
  border-radius: 12px;
  font-size: 0.94rem; font-weight: 600;
  box-shadow: 0 1px 2px rgba(18,33,30,0.18), 0 14px 32px -14px rgba(18,33,30,0.5);
  transition: background 0.22s;
}
.nav-drawer-cta-primary:hover { background: #1a322e; }
.nav-drawer-cta-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px;
  background: transparent;
  border: 1.5px solid rgba(224,123,90,0.45);
  color: var(--coral);
  border-radius: 11px;
  font-size: 0.92rem; font-weight: 600;
  transition: background 0.18s, border-color 0.18s;
}
.nav-drawer-cta-secondary:hover { background: rgba(224,123,90,0.08); border-color: var(--coral); }

@media (prefers-reduced-motion: reduce) {
  .nav-drawer-bg, .nav-drawer-panel, .nav-burger-icon span { transition: none; }
}

/* ─── PRICING (shared) ─── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
}
.price-card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(18,33,30,0.08);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex; flex-direction: column;
}
.price-card.popular {
  background: rgba(255,255,255,0.92);
  border: 2px solid var(--coral);
  box-shadow: 0 18px 40px -16px rgba(224,123,90,0.22);
  position: relative;
}
.price-card.popular::before {
  content: 'Più scelto';
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  letter-spacing: 0.06em;
}
.price-tier {
  font-size: 0.78rem; font-weight: 700; color: var(--coral);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.price-amount {
  font-size: 2.6rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-amount-sub {
  font-size: 0.94rem; color: var(--ink-soft); font-weight: 500;
  margin-left: 6px;
}
.price-desc {
  font-size: 0.92rem; color: var(--ink-mid);
  margin-top: 14px; margin-bottom: 24px; line-height: 1.55;
  min-height: 56px;
}
.price-features {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 26px; flex: 1;
}
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--ink-mid); line-height: 1.45;
}
.price-features li::before {
  content: ''; flex-shrink: 0; margin-top: 4px;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%23E07B5A' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.price-cta { display: block; text-align: center; }

.pricing-addon {
  max-width: 720px; margin: 36px auto 0;
  background: linear-gradient(135deg, var(--ink), #1a322e);
  color: #fff;
  border-radius: 16px;
  padding: 22px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.pricing-addon::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 20% 50%, rgba(224,123,90,0.18), transparent 60%);
}
.pricing-addon > * { position: relative; }
.pricing-addon-text { display: flex; flex-direction: column; gap: 4px; }
.pricing-addon-name { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.pricing-addon-desc { font-size: 0.84rem; color: rgba(255,255,255,0.65); }
.pricing-addon-price { font-size: 1.4rem; font-weight: 700; color: var(--coral); letter-spacing: -0.03em; }

.pricing-launch {
  max-width: 800px; margin: 28px auto 0; text-align: center;
  padding: 18px 28px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(224,123,90,0.28);
  border-radius: 12px;
  color: var(--coral-deep);
  font-weight: 600; font-size: 0.94rem;
}
.pricing-launch strong { color: var(--coral-deep); }

/* perchi-no-price: nasconde i prezzi nel megamenu "Per chi" */
.megamenu-perchi .megamenu-plan-price,
.megamenu-perchi .megamenu-plan-addon-price { display: none; }
.megamenu-perchi .megamenu-plan-row { margin-bottom: 4px; }

/* prezzi-page-bg */
.pr-pricing {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(224,123,90,0.10), transparent 55%),
    radial-gradient(ellipse at 0% 60%, rgba(140,180,210,0.18), transparent 55%),
    var(--cream);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS (audit)
   ═══════════════════════════════════════════════════════════ */

/* iOS safe-area-inset for notch */
.nav { padding-top: env(safe-area-inset-top, 0); }

/* Prevent iOS Safari auto-zoom on input focus (needs font-size ≥ 16px) */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  input[type="search"],
  input[type="date"],
  input[type="time"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Auth demo banner: graceful wrap on tiny screens */
.auth-demo { flex-wrap: wrap; }
.auth-demo code {
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (max-width: 380px) {
  .auth-demo { font-size: 0.78rem; padding: 10px 12px; }
  .auth-demo code { font-size: 0.76rem; padding: 1px 5px; }
}

/* Horizontal-scroll affordance: subtle gradient fade on right edge
   to hint that content extends. Used for compare tables, sidebar tabs */
.pr-compare-table,
.area-tabs {
  position: relative;
}
@media (max-width: 880px) {
  .pr-compare-table::after,
  .area-tabs::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 24px;
    pointer-events: none;
    background: linear-gradient(to left, var(--white), transparent);
    border-radius: 0 16px 16px 0;
  }
  .pr-compare-table { -webkit-overflow-scrolling: touch; }
}

/* Smaller, denser hero padding on mobile (avoid huge dead space under fixed nav) */
@media (max-width: 540px) {
  .pr-hero,
  .pl-hero,
  .cl-hero { padding-top: 110px; padding-bottom: 36px; }
  .auth-main { padding-top: 96px !important; }
}

/* Buttons must be ≥44px tall (Apple HIG / Material) on mobile */
@media (max-width: 768px) {
  .btn-coral, .btn-ghost, .btn-patient,
  .nav-drawer-cta-primary, .nav-drawer-cta-secondary,
  .auth-submit, .auth-passkey, .auth-oauth-btn,
  .area-btn { min-height: 44px; }
}

/* Mobile horizontal padding standardization (avoid edge crowding) */
@media (max-width: 540px) {
  .container, .pl-section, .pr-pricing, .pr-compare,
  .area-shell { padding-left: 16px; padding-right: 16px; }
}

/* Footer columns stack cleanly */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr !important; }
}

/* Drawer body: better tap-target + readable */
.nav-drawer-link { min-height: 44px; align-items: center; }

/* Avoid horizontal page scroll caused by sub-pixel overflow.
   Use overflow-x:clip on body only — preserves position:sticky behavior. */
body { overflow-x: clip; }


/* ─── Mobile drawer · accordion pattern ─── */
.nav-drawer-acc {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  background: none; border: 0;
  padding: 16px 20px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(18,33,30,0.06);
  letter-spacing: -0.005em;
  transition: background 0.18s;
}
.nav-drawer-acc:hover { background: var(--cream); }
.nav-drawer-acc-label { flex: 1; }
.nav-drawer-acc-arr {
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: transform 0.22s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
}
.nav-drawer-acc.is-open { background: var(--cream); }
.nav-drawer-acc.is-open .nav-drawer-acc-arr {
  transform: rotate(180deg);
  color: var(--coral);
}
.nav-drawer-acc-body {
  max-height: 0;
  overflow: hidden;
  background: var(--cream);
  transition: max-height 0.3s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
}
.nav-drawer-acc-body.is-open {
  /* era 600px: un numero magico che taglia la lista appena si aggiunge una voce */
  max-height: 1200px;
  border-bottom: 1px solid rgba(18,33,30,0.06);
}
.nav-drawer-acc-body .nav-drawer-link {
  padding: 12px 32px;
  font-size: 0.94rem;
  border-bottom: 0;
}

/* Direct links (no accordion) */
.nav-drawer-direct {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  font-size: 1rem; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(18,33,30,0.06);
  letter-spacing: -0.005em;
  transition: background 0.18s;
}
.nav-drawer-direct:hover { background: var(--cream); }


/* ─── COOKIE BANNER ─── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 14px; background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,0.30); font-size: 0.86rem; line-height: 1.45; }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--coral); font-weight: 600; }
.cookie-intro { margin: 0; }
.cookie-panel { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 2px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 12px; }
.cookie-panel[hidden] { display: none; }
.cookie-cat { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.cookie-cat input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--coral); flex-shrink: 0; cursor: pointer; }
.cookie-cat input:disabled { cursor: default; opacity: 0.6; }
.cookie-cat-txt { display: flex; flex-direction: column; gap: 1px; }
.cookie-cat-title { font-weight: 700; font-size: 0.85rem; }
.cookie-cat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.72); line-height: 1.35; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie-btn { flex: 0 0 auto; border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 0.84rem; cursor: pointer; font-family: inherit; transition: background 0.18s, border-color 0.18s; }
.cookie-btn--accept { background: var(--coral); color: #fff; border: 0; margin-left: auto; }
.cookie-btn--accept:hover { background: var(--coral-deep); }
.cookie-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.cookie-btn--ghost:hover { border-color: #fff; }
.cookie-btn[hidden] { display: none; }
@media (max-width: 540px) { .cookie-actions { flex-direction: column; align-items: stretch; } .cookie-btn { width: 100%; text-align: center; } .cookie-btn--accept { margin-left: 0; } }
