/* ============================================================
   Λογιστικό Γραφείο Γκάντζος — styles
   Palette pulled from the business card: matte black + lime + white
   ============================================================ */

:root {
  --black: #0e0f0d;
  --ink: #16170f;
  --ink-2: #1d1f17;
  --paper: #f5f6f0;
  --paper-2: #eceee4;
  --white: #ffffff;

  --lime: #a4c63a;
  --lime-deep: #8aad26;
  --lime-soft: #d9e8a8;
  --lime-glow: rgba(164, 198, 58, 0.55);

  --text: #1b1c17;
  --text-soft: #54564c;
  --text-mute: #84867a;
  --line: rgba(20, 21, 15, 0.10);
  --line-strong: rgba(20, 21, 15, 0.16);

  --on-dark: #f3f4ee;
  --on-dark-soft: #b9bcae;
  --on-dark-line: rgba(255, 255, 255, 0.12);

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(14, 15, 13, 0.06);
  --shadow-md: 0 18px 50px -18px rgba(14, 15, 13, 0.30);
  --shadow-lg: 0 40px 90px -30px rgba(14, 15, 13, 0.45);

  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Manrope", "Inter", system-ui, sans-serif;
}

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

/* Lock the palette: render the SAME brand colours on every device, including
   Windows High-Contrast / forced-colors themes. This opts every element out of
   the OS colour override so the site looks identical everywhere. */
:root { color-scheme: light; }
html, body, *, *::before, *::after { forced-color-adjust: none; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg.i { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  z-index: 200; transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 0.96rem;
  letter-spacing: -0.01em; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn--solid { background: var(--lime); color: #15180a; box-shadow: 0 10px 24px -10px var(--lime-glow); }
.btn--solid:hover { background: var(--lime-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--lime-glow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.section--dark .btn--ghost { color: var(--on-dark); border-color: var(--on-dark-line); }
.section--dark .btn--ghost:hover { border-color: var(--on-dark); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(245, 246, 240, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { position: relative; width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.brand__pill {
  position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  box-shadow: 0 6px 16px -6px var(--lime-glow);
}
.brand__initial { position: relative; font-family: var(--display); font-weight: 800; color: #15180a; font-size: 1.25rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; font-size: 1.02rem; }
.brand__sub { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); margin-top: 3px; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text-soft); position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--lime-deep); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 4px; }
.lang__btn {
  background: none; border: none; cursor: pointer; font-family: var(--display);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--text-mute);
  padding: 4px 5px; transition: color 0.2s;
}
.lang__btn.is-active { color: var(--text); }
.lang__btn:hover { color: var(--lime-deep); }
.lang__sep { color: var(--line-strong); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 24px; position: relative; }
.nav__burger span {
  position: absolute; left: 0; height: 2.5px; width: 100%; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__burger span:nth-child(1) { top: 2px; }
.nav__burger span:nth-child(2) { top: 11px; }
.nav__burger span:nth-child(3) { top: 20px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.blob--1 { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--lime-glow), transparent 70%); }
.blob--2 { width: 420px; height: 420px; bottom: -160px; left: -120px;
  background: radial-gradient(circle at 50% 50%, rgba(164,198,58,0.30), transparent 70%); }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 65%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 65%);
  opacity: 0.7;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.04em; color: var(--text-soft); text-transform: uppercase; }
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }

.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.05rem); margin: 22px 0 20px; }
.hero__title .hl { color: var(--lime-deep); }
.hero__lead { font-size: 1.12rem; color: var(--text-soft); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__meta li { display: flex; align-items: center; gap: 9px; color: var(--text-soft); font-weight: 500; font-size: 0.96rem; }
.hero__meta svg { color: var(--lime-deep); }

/* ---------- 3D card ---------- */
.hero__card { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.card-stage { perspective: 1400px; width: 320px; height: 560px; }
.card3d {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  will-change: transform; cursor: pointer;
  transform: translateY(0) rotateX(0) rotateY(0);
}
.card-face {
  position: absolute; inset: 0; border-radius: 24px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.card-face--front {
  background:
    radial-gradient(120% 80% at 80% 0%, #25271d 0%, transparent 55%),
    linear-gradient(160deg, #1a1c14 0%, #0c0d0a 100%);
  color: var(--on-dark);
}
/* Green name band: flush to the RIGHT edge, rounded on the LEFT, centred at 62% height. */
.cf__pill {
  position: absolute; top: 62%; right: 0; left: 18%; transform: translateY(-50%);
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  border-radius: 999px 0 0 999px; padding: 13px 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -14px var(--lime-glow);
}
.cf__pill span { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: #14160a; letter-spacing: -0.01em; white-space: nowrap; }
/* Role: centred under the band. */
.cf__role { position: absolute; top: 71%; left: 0; right: 0; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.cf__role span { font-family: var(--display); font-weight: 600; font-size: 1.32rem; color: #e9ebe0; }
.cf__role span:last-child { color: var(--on-dark-soft); }

.card-face--back {
  background: var(--white); color: var(--text); transform: rotateY(180deg);
}
/* Contact lines grouped near the TOP of the card. */
.cb__list { position: absolute; top: 12%; left: 15%; right: 9%; list-style: none; display: flex; flex-direction: column; gap: 15px; }
.cb__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; line-height: 1.32; }
.cb__list strong { font-weight: 700; }
.cb__list small { font-size: 0.8rem; color: var(--text-soft); white-space: nowrap; }
.cb__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin-top: 1px; }
.cb__ico svg { width: 17px; height: 17px; fill: #15180a; }
/* Green stub: flush to the LEFT edge, rounded on the right, at the SAME 62% height as the
   front band — so when the card flips, the green reads as one line wrapping the edge. */
.cb__corner { position: absolute; left: 0; top: 62%; transform: translateY(-50%); width: 22%; height: 46px; border-radius: 0 999px 999px 0; background: var(--lime); }

.card-hint { font-size: 0.82rem; color: var(--text-mute); letter-spacing: 0.02em; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--ink); color: var(--on-dark); padding: 40px 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust__item { text-align: center; padding: 8px; }
.trust__num { display: block; font-family: var(--display); font-weight: 800; font-size: 2.6rem;
  line-height: 1; color: var(--lime); letter-spacing: -0.02em; }
.trust__num--badge { font-size: 2rem; letter-spacing: 0.02em; }
.trust__label { display: block; margin-top: 8px; font-size: 0.9rem; color: var(--on-dark-soft); }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section--soft { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .section__sub { color: var(--on-dark-soft); }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime-deep);
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 18px; }
.kicker--light { color: var(--lime); border-color: var(--on-dark-line); }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section__sub { margin-top: 16px; font-size: 1.08rem; color: var(--text-soft); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--lime-soft); margin-bottom: 20px; transition: background 0.35s;
}
.card__ico svg { width: 28px; height: 28px; fill: var(--lime-deep); transition: fill 0.35s; }
.card:hover .card__ico { background: var(--lime); }
.card:hover .card__ico svg { fill: #15180a; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Tax calendar ---------- */
.cal__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cal__card {
  background: var(--ink-2); border: 1px solid var(--on-dark-line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.cal__card:hover { transform: translateY(-5px); border-color: var(--lime); }
.cal__card.is-urgent { border-color: var(--lime); }
.cal__tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime);
  font-weight: 700; font-family: var(--display); }
.cal__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.18rem; margin: 12px 0 18px; color: var(--on-dark); }
.cal__count { display: flex; align-items: baseline; gap: 8px; }
.cal__days { font-family: var(--display); font-weight: 800; font-size: 2.7rem; line-height: 1; color: var(--lime); }
.cal__days-label { font-size: 0.9rem; color: var(--on-dark-soft); }
.cal__date { margin-top: 14px; font-size: 0.9rem; color: var(--on-dark-soft); display: flex; align-items: center; gap: 7px; }
.cal__date svg { width: 15px; height: 15px; fill: var(--lime); }
.cal__bar { margin-top: 16px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.10); overflow: hidden; }
.cal__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); }
.cal__note { display: flex; align-items: flex-start; gap: 10px; max-width: 760px; margin: 36px auto 0;
  text-align: left; font-size: 0.9rem; color: var(--on-dark-soft); }
.cal__note svg { width: 18px; height: 18px; fill: var(--lime); flex: none; margin-top: 2px; }

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 940px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.calc__form { padding: 40px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--text-soft); }
.field input, .field select, .cform textarea {
  font-family: var(--font); font-size: 1.05rem; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 13px 16px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .cform textarea:focus, .cform input:focus {
  outline: none; border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-soft);
}
.calc__go { margin-top: 4px; }
.calc__out {
  background: linear-gradient(165deg, #1a1c14, #0c0d0a); color: var(--on-dark);
  padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px;
}
.calc__result-label { font-size: 0.9rem; color: var(--on-dark-soft); display: block; margin-bottom: 6px; }
.calc__result-num { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--lime); }
.calc__split { display: flex; gap: 26px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); }
.calc__mini-label { display: block; font-size: 0.82rem; color: var(--on-dark-soft); margin-bottom: 4px; }
.calc__mini-num { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.calc__disclaimer { font-size: 0.78rem; color: var(--on-dark-soft); line-height: 1.5; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about__media {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; gap: 16px; height: 480px;
}
.ph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(164,198,58,0.18), transparent 60%),
    linear-gradient(150deg, var(--ink-2), var(--black));
  border: 1px solid var(--on-dark-line);
  display: grid; place-items: center; background-size: cover; background-position: center;
}
.ph--lg { grid-row: 1 / span 2; }
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.6; pointer-events: none;
}
.ph.has-img::after { display: none; }
.ph__label {
  position: relative; z-index: 1; font-size: 0.82rem; color: var(--on-dark-soft); text-align: center;
  padding: 10px 14px; border: 1px dashed var(--on-dark-line); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.ph__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.ph.has-img .ph__label { display: none; }

.about__copy .section__title { margin-bottom: 18px; }
.about__copy p { color: var(--text-soft); margin-bottom: 16px; }
.values { list-style: none; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.values li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.values__dot { flex: none; margin-top: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--white); position: relative; transition: transform 0.35s var(--ease), box-shadow 0.35s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--lime-soft);
  display: block; margin-bottom: 12px; -webkit-text-stroke: 1px var(--lime-deep); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact__list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; }
.contact__list a:hover { color: var(--lime); }
.contact__ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--ink-2);
  border: 1px solid var(--on-dark-line); display: grid; place-items: center; }
.contact__ico svg { width: 20px; height: 20px; fill: var(--lime); }

.contact__panel { background: var(--ink-2); border: 1px solid var(--on-dark-line); border-radius: var(--radius-lg); overflow: hidden; }
.cform { padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.cform .field label { color: var(--on-dark-soft); }
.cform input, .cform textarea { background: rgba(255,255,255,0.04); border-color: var(--on-dark-line); color: var(--on-dark); }
.cform textarea { resize: vertical; }
.cform__hint { font-size: 0.8rem; color: var(--on-dark-soft); text-align: center; }
.map { position: relative; height: 260px; border-top: 1px solid var(--on-dark-line); background: var(--black); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); z-index: 1; }
.map__addr { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--on-dark-soft); font-size: 0.92rem; font-weight: 500; text-align: center; padding: 0 20px; }
.map__addr svg { width: 18px; height: 18px; fill: var(--lime); flex: none; }
.map__open { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: var(--lime); color: #15180a;
  font-family: var(--display); font-weight: 700; font-size: 0.82rem; padding: 9px 15px; border-radius: 999px;
  box-shadow: var(--shadow-md); transition: background 0.2s, transform 0.2s var(--ease); }
.map__open:hover { background: var(--lime-deep); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--on-dark-soft); padding: 50px 0; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 30px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__name { display: block; font-family: var(--display); font-weight: 800; color: var(--on-dark); font-size: 1.05rem; }
.footer__tag { display: block; font-size: 0.85rem; margin-top: 3px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { font-size: 0.92rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--lime); }
.footer__copy { font-size: 0.82rem; text-align: right; }

/* ---------- to-top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px;
  border-radius: 50%; background: var(--lime); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.to-top.is-show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top svg { width: 26px; height: 26px; fill: #15180a; }
.to-top:hover { background: var(--lime-deep); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal.in:nth-child(2), .steps .reveal.in:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal.in:nth-child(3), .steps .reveal.in:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal.in:nth-child(4) { transition-delay: 0.08s; }
.cards .reveal.in:nth-child(5) { transition-delay: 0.16s; }
.cards .reveal.in:nth-child(6) { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: rgba(245,246,240,0.97); backdrop-filter: blur(14px); padding: 18px 24px 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); gap: 6px;
  }
  .nav.is-open .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__card { order: -1; }
  .about__grid, .contact__grid, .calc { grid-template-columns: 1fr; }
  .cards, .cal__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .calc { max-width: 540px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding: 122px 0 70px; }
  .section { padding: 72px 0; }
  .cards, .cal__grid, .trust__grid { grid-template-columns: 1fr; }
  .trust__grid { gap: 30px; }
  .about__media { height: 380px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__links { justify-content: center; }
  .footer__copy { text-align: center; }
  .card-stage { width: 280px; height: 490px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .card3d { animation: none; }
}

