/* ============================================================
   FISCOHIVE — Design System
   Identità: fintech professionale, arancio #d74d00
   Distinta da Mirco Kit (che usava DM Sans/Serif, viola)
   Display: Space Grotesk · Body: Inter · Numeri: tabulari
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --orange:        #d74d00;
  --orange-dark:   #b03f00;
  --orange-light:  #ff6d1f;
  --orange-bg:     #fff4ec;
  --orange-bg2:    #ffe8d8;

  --ink:           #1a1410;   /* near-black warm */
  --ink-2:         #4a423c;
  --ink-3:         #8a8078;
  --paper:         #fdfbf7;   /* warm off-white */
  --paper-2:       #f6f1e9;
  --white:         #ffffff;
  --border:        #e8e0d5;
  --border-2:      #d8cdbe;

  --green:         #15803d;
  --green-bg:      #dcfce7;
  --red:           #dc2626;
  --red-bg:        #fef2f2;
  --amber:         #b45309;
  --amber-bg:      #fef3c7;

  --shadow-sm:     0 1px 3px rgba(26,20,16,.06);
  --shadow:        0 4px 16px rgba(26,20,16,.08);
  --shadow-lg:     0 12px 40px rgba(26,20,16,.14);
  --shadow-orange: 0 6px 24px rgba(215,77,0,.28);

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;
  --max:           1140px;

  --font:          'Inter', -apple-system, system-ui, sans-serif;
  --font-display:  'Space Grotesk', 'Inter', sans-serif;
  --t:             .18s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, select, textarea { font-family: var(--font); }

/* tabular figures for all numbers — the signature */
.tnum, .result-value, .stat-num, .calc-out, input[type="number"] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--paper2 { background: var(--paper-2); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,247,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.nav__logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.nav__logo span { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { padding: 8px 13px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: var(--t); }
.nav__links a:hover { background: var(--orange-bg); color: var(--orange); }
.nav__cta { padding: 9px 18px !important; background: var(--orange) !important; color: var(--white) !important; font-weight: 600 !important; box-shadow: var(--shadow-sm); }
.nav__cta:hover { background: var(--orange-dark) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t); }
.nav__mobile { display: none; flex-direction: column; padding: 10px 24px 18px; gap: 2px; background: var(--white); border-bottom: 1px solid var(--border); }
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 11px 13px; border-radius: var(--radius-sm); font-weight: 500; color: var(--ink-2); }
.nav__mobile a:hover { background: var(--orange-bg); color: var(--orange); }

/* ---------- HERO ---------- */
.hero { padding: 88px 0 76px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 540px; height: 540px; pointer-events: none;
  background: radial-gradient(circle, rgba(215,77,0,.08) 0%, transparent 68%);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange-bg); color: var(--orange);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
  border: 1px solid var(--orange-bg2);
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 5.5vw, 3.7rem); line-height: 1.08;
  letter-spacing: -.03em; max-width: 800px; margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--ink-2); max-width: 580px; margin-bottom: 34px; line-height: 1.65; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__note { font-size: .85rem; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; transition: var(--t); white-space: nowrap; }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--border-2); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn__arrow { transition: var(--t); }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

/* ---------- SECTION HEAD ---------- */
.shead { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.shead__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.shead__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.14; letter-spacing: -.02em; margin-bottom: 14px; }
.shead__sub { color: var(--ink-2); font-size: 1rem; line-height: 1.65; }
.shead--left { text-align: left; margin-left: 0; }

/* ---------- TOOLS GRID (home) ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tool {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--t); position: relative;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange-bg2); }
.tool__num { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--orange); letter-spacing: .04em; }
.tool__icon { width: 50px; height: 50px; border-radius: var(--radius); background: var(--orange-bg); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; }
.tool__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.tool__desc { font-size: .92rem; color: var(--ink-2); line-height: 1.6; flex-grow: 1; }
.tool__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--orange); margin-top: 4px; }
.tool__link .btn__arrow { transition: var(--t); }
.tool:hover .tool__link .btn__arrow { transform: translateX(3px); }

/* ---------- TOOL PAGE ---------- */
.toolpage { padding: 40px 0 80px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-3); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--orange); }
.toolpage__head { margin-bottom: 32px; }
.toolpage__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.02em; margin-bottom: 12px; }
.toolpage__lead { font-size: 1.05rem; color: var(--ink-2); max-width: 640px; line-height: 1.6; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }

/* ---------- PANEL / FORM ---------- */
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.panel__hint { font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; line-height: 1.5; }

.field { margin-bottom: 20px; }
.field__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .9rem; font-weight: 600; margin-bottom: 7px; }
.field__help { font-size: .82rem; color: var(--ink-3); line-height: 1.5; margin-bottom: 9px; }
.field__help a { color: var(--orange); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm); font-size: 1rem; color: var(--ink);
  background: var(--paper); transition: var(--t); outline: none;
}
.field input:focus, .field select:focus { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px var(--orange-bg); }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.input-euro { position: relative; }
.input-euro::before { content: '€'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.input-euro input { padding-left: 30px; }

/* toggle switch row */
.switch-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--border); margin-bottom: 14px; }
.switch { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch__slider { position: absolute; inset: 0; background: var(--border-2); border-radius: 100px; transition: var(--t); }
.switch__slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: var(--t); }
.switch input:checked + .switch__slider { background: var(--orange); }
.switch input:checked + .switch__slider::before { transform: translateX(18px); }
.switch-row__text { flex: 1; }
.switch-row__title { font-size: .9rem; font-weight: 600; }
.switch-row__desc { font-size: .82rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- RESULT ---------- */
.result { background: linear-gradient(160deg, var(--ink) 0%, #2a221c 100%); color: var(--white); border-radius: var(--radius-lg); padding: 30px; }
.result__label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.result__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.2rem); letter-spacing: -.02em; line-height: 1; color: var(--orange-light); }
.result__sub { font-size: .9rem; color: rgba(255,255,255,.65); margin-top: 8px; }
.result__bd { margin-top: 24px; display: flex; flex-direction: column; gap: 1px; border-radius: var(--radius); overflow: hidden; }
.result__row { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: rgba(255,255,255,.05); font-size: .92rem; }
.result__row-label { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; }
.result__row-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.result__row-val--neg { color: #ff9b7a; }
.result__row--total { background: rgba(215,77,0,.22); }
.result__row--total .result__row-label { color: var(--white); font-weight: 600; }
.result__row--total .result__row-val { color: var(--orange-light); font-size: 1.05rem; }
.result__hint { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 16px; line-height: 1.5; }

/* monthly chips */
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.chip { background: var(--orange-bg); border: 1px solid var(--orange-bg2); border-radius: var(--radius); padding: 16px; }
.chip__label { font-size: .78rem; font-weight: 600; color: var(--orange-dark); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 5px; }
.chip__value { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }

/* gauge bar (limite 85k) */
.gauge { margin-top: 8px; }
.gauge__track { height: 18px; background: var(--paper-2); border-radius: 100px; overflow: hidden; border: 1px solid var(--border); }
.gauge__fill { height: 100%; background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%); border-radius: 100px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.gauge__fill--warn { background: linear-gradient(90deg, var(--amber) 0%, #f59e0b 100%); }
.gauge__fill--danger { background: linear-gradient(90deg, var(--red) 0%, #ef4444 100%); }
.gauge__labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: .82rem; color: var(--ink-3); }

/* status box */
.statusbox { padding: 16px 18px; border-radius: var(--radius); font-size: .92rem; line-height: 1.55; margin-top: 18px; }
.statusbox--ok { background: var(--green-bg); color: var(--green); }
.statusbox--attenzione { background: var(--amber-bg); color: var(--amber); }
.statusbox--superato, .statusbox--critico { background: var(--red-bg); color: var(--red); }

/* disclaimer */
.disclaimer { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--amber-bg); border-radius: var(--radius-sm); font-size: .84rem; color: var(--amber); line-height: 1.5; margin-top: 20px; }
.disclaimer strong { font-weight: 600; }

/* scenarios table */
.scenarios { width: 100%; border-collapse: collapse; font-size: .92rem; }
.scenarios th { text-align: left; padding: 11px 12px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); border-bottom: 2px solid var(--border); }
.scenarios td { padding: 12px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.scenarios tr:last-child td { border-bottom: none; }
.scenarios .num { text-align: right; font-weight: 600; }
.scenarios .highlight { color: var(--orange); }

/* scadenze timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-date { flex-shrink: 0; width: 110px; }
.tl-date__day { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.tl-date__tag { font-size: .74rem; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .03em; }
.tl-body { flex: 1; }
.tl-body__title { font-weight: 600; font-size: .96rem; margin-bottom: 3px; }
.tl-body__amount { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--orange); font-variant-numeric: tabular-nums; }
.tl-body__note { font-size: .84rem; color: var(--ink-3); margin-top: 2px; }

/* ---------- PAYWALL ---------- */
.locked { position: relative; }
.locked__blur { filter: blur(7px); pointer-events: none; user-select: none; opacity: .55; }
.paywall { background: var(--white); border: 2px solid var(--orange); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-lg); }
.paywall__badge { display: inline-block; background: var(--orange-bg); color: var(--orange); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 13px; border-radius: 100px; margin-bottom: 14px; }
.paywall__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-bottom: 8px; }
.paywall__sub { font-size: .95rem; color: var(--ink-2); margin-bottom: 18px; line-height: 1.55; }
.paywall__price { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--orange); line-height: 1; margin-bottom: 4px; }
.paywall__price s { font-size: 1.2rem; color: var(--ink-3); font-weight: 400; margin-left: 8px; }
.paywall__access { font-size: .84rem; color: var(--ink-3); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.paywall__access::before { content: '✓'; color: var(--green); font-weight: 700; }
.paywall__features { text-align: left; max-width: 320px; margin: 0 auto 22px; display: flex; flex-direction: column; gap: 9px; }
.paywall__feat { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: var(--ink-2); }
.paywall__feat::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; }
.paywall__secure { font-size: .8rem; color: var(--ink-3); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; }

.unlocked-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--green-bg); color: var(--green); font-size: .85rem; font-weight: 600; padding: 7px 15px; border-radius: 100px; }

/* ---------- GUIDE PAGES ---------- */
.guide { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.guide h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 12px; line-height: 1.1; }
.guide__lead { font-size: 1.1rem; color: var(--ink-2); margin-bottom: 18px; line-height: 1.6; }
.guide__meta { font-size: .85rem; color: var(--ink-3); padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.guide h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 38px 0 14px; letter-spacing: -.01em; }
.guide h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 26px 0 10px; }
.guide p { font-size: 1rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 16px; }
.guide ul, .guide ol { margin: 0 0 18px 22px; }
.guide li { font-size: 1rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 8px; list-style: disc; }
.guide ol li { list-style: decimal; }
.guide strong { color: var(--ink); font-weight: 600; }
.guide a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.guide__callout { background: var(--orange-bg); border-left: 3px solid var(--orange); border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }
.guide__callout p { margin: 0; color: var(--ink); }
.guide__example { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin: 22px 0; }
.guide__example-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--orange); margin-bottom: 12px; }
.guide__example .calc-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: .94rem; font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--border); }
.guide__example .calc-line:last-child { border-bottom: none; font-weight: 700; }

.guide-nav { background: var(--paper-2); border-radius: var(--radius-lg); padding: 24px; margin: 40px 0; }
.guide-nav__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.guide-nav__links { display: grid; gap: 8px; }
.guide-nav__links a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; transition: var(--t); }
.guide-nav__links a:hover { border-color: var(--orange); color: var(--orange); transform: translateX(3px); }

/* glossary cards on home/guide index */
.gloss-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gloss-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: var(--t); }
.gloss-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.gloss-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 7px; }
.gloss-card__desc { font-size: .88rem; color: var(--ink-2); line-height: 1.55; margin-bottom: 12px; }
.gloss-card__link { font-size: .86rem; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- PRICING ---------- */
.price-card { max-width: 460px; margin: 0 auto; background: var(--white); border: 2px solid var(--orange); border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-lg); }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 6px; }
.price-card__sub { color: var(--ink-2); font-size: .95rem; margin-bottom: 24px; }
.price-card__price { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; color: var(--orange); line-height: 1; }
.price-card__price s { font-size: 1.4rem; color: var(--ink-3); font-weight: 400; margin-left: 10px; }
.price-card__period { color: var(--ink-3); font-size: .9rem; margin: 8px 0 28px; }
.price-card__features { text-align: left; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.price-card__feat { display: flex; align-items: flex-start; gap: 11px; font-size: .96rem; }
.price-card__feat::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 600; font-size: 1rem; color: var(--ink); transition: var(--t); }
.faq-q:hover { color: var(--orange); }
.faq-q__icon { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: var(--orange-bg); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--t); }
.faq-q[aria-expanded="true"] .faq-q__icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; font-size: .96rem; color: var(--ink-2); line-height: 1.7; }
.faq-a.open { display: block; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.footer__brand span { color: var(--orange-light); }
.footer__tag { font-size: .9rem; line-height: 1.65; max-width: 260px; }
.footer__col-title { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .9rem; transition: var(--t); }
.footer__links a:hover { color: var(--orange-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.footer__bottom a:hover { color: var(--orange-light); }
.footer__hive { display: inline-flex; align-items: center; gap: 6px; }
.footer__hive-mark { width: 16px; height: 16px; }

/* ---------- TOAST ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--green); color: white; padding: 15px 26px; border-radius: var(--radius); font-weight: 600; font-size: .96rem; box-shadow: var(--shadow-lg); z-index: 9999; display: flex; align-items: center; gap: 10px; opacity: 0; transition: var(--t); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- UTIL ---------- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .field__row { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .result__value { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}
