:root {
  --brand: #0d5c4a;
  --brand-600: #0b4f40;
  --brand-800: #073329;
  --brand-900: #052620;
  --brand-50: #eaf4f0;
  --accent: #2fbf8f;
  --gold: #c9a45c;
  --ink: #0f1d19;
  --muted: #5a6a65;
  --line: #e3e9e6;
  --bg: #ffffff;
  --soft: #f4f7f5;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(7, 51, 41, .06);
  --shadow: 0 18px 40px -18px rgba(7, 51, 41, .28);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: .96rem; border: 1.5px solid transparent; cursor: pointer; transition: .22s; font-family: inherit; white-space: nowrap; }
.btn-sm { padding: .55em 1.1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-800); }
.btn-light:hover { background: var(--brand-50); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Top bar */
.topbar { background: var(--brand-900); color: #a9c7bd; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 40px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-item svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang button { border: 0; background: transparent; color: #a9c7bd; font: 700 .76rem var(--sans); letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; cursor: pointer; }
.lang button:hover { color: #fff; }
.lang button.active { background: rgba(255,255,255,.12); color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: .25s; }
.nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; height: 76px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 1.02rem; letter-spacing: .08em; font-weight: 500; }
.brand-text b { font-weight: 800; color: var(--brand); }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(140deg, var(--brand), var(--brand-800)); color: #fff; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-mark.sm { width: 26px; height: 26px; border-radius: 7px; }
.brand-mark.sm svg { width: 17px; height: 17px; }
.nav-links { display: flex; white-space: nowrap; gap: 26px; font-weight: 600; font-size: .93rem; color: #3b4a45; margin-left: 12px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transition: .2s; transform-origin: left; }
.nav-links a:hover::after { transform: scaleX(1); }
.mobile-only { display: none; }
.nav-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 9px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 96px 0 120px;
  background: radial-gradient(900px 520px at 85% 15%, rgba(47,191,143,.22), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(201,164,92,.12), transparent 60%), linear-gradient(160deg, var(--brand-600), var(--brand-900) 75%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .84rem; font-weight: 600; color: #cfe6dd; margin-bottom: 26px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(47,191,143,.25); }
.hero h1 em { font-style: italic; color: #8fe3c3; }
.lead { font-size: 1.14rem; color: #c3dbd2; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.hero-trust { list-style: none; margin: 0; padding: 26px 0 0; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); max-width: 560px; }
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1.1; }
.hero-trust span { font-size: .84rem; color: #a9c7bd; }

.hero-visual { position: relative; }
.mock { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.5); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: #f1f4f3; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dbd8; }
.mock-bar span { margin-left: 12px; font-size: .74rem; color: var(--muted); background: #fff; padding: 3px 12px; border-radius: 6px; }
.mock-body { padding: 22px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mock-head small { color: var(--muted); font-size: .76rem; }
.mock-title { font-weight: 800; font-size: 1.05rem; }
.mock-chip { font-size: .74rem; font-weight: 700; background: var(--brand-50); color: var(--brand); padding: 4px 10px; border-radius: 999px; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.mock-kpis div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.mock-kpis small { display: block; color: var(--muted); font-size: .74rem; }
.mock-kpis b { font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.mock-kpis em { display: block; font-style: normal; font-size: .74rem; font-weight: 700; color: #b0563f; }
.mock-kpis em.up { color: #12936a; }
.mock-chart { height: 96px; margin: 4px 0 10px; }
.mock-chart svg { width: 100%; height: 100%; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: .86rem; }
.mock-row em { margin-left: auto; font-style: normal; font-weight: 700; font-size: .76rem; color: var(--brand); background: var(--brand-50); padding: 2px 9px; border-radius: 6px; }
.mock-row em.muted { color: var(--muted); background: var(--soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #c9d3cf; }
.dot.ok { background: var(--accent); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 14px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.4); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: .9rem; }
.float small { color: var(--muted); font-size: .76rem; }
.f-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 800; }
.f-ico.lock { background: #fbf3e2; }
.f-ico svg { width: 18px; height: 18px; fill: none; stroke: #a37a2c; stroke-width: 2; stroke-linecap: round; }
.f1 { left: -34px; bottom: 64px; }
.f2 { right: -18px; top: -22px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Strip */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip-inner { display: flex; align-items: center; gap: 32px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.strip-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 34px; flex: 1; justify-content: space-between; }
.strip li { font-weight: 700; color: #6d7d78; font-size: .98rem; }

/* Sections */
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--brand-900); color: #dbe9e4; }
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: #a9c7bd; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-dark .eyebrow, .eyebrow.light { color: #8fe3c3; }
.section-head { margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.section-head.split h2 { margin: 0; }
.section-head.split p { margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { position: relative; padding: 40px 34px 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: .3s; }
.svc:hover { background: var(--brand-800); color: #fff; }
.svc:hover p { color: #b8d3c9; }
.svc:hover .ico { background: rgba(255,255,255,.1); }
.svc:hover .ico svg { stroke: #8fe3c3; }
.svc:hover .num { color: rgba(255,255,255,.25); }
.svc p { color: var(--muted); margin: 0; transition: .3s; }
.num { position: absolute; top: 30px; right: 30px; font-family: var(--serif); font-size: 1.5rem; color: #d5ded9; transition: .3s; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); display: grid; place-items: center; margin-bottom: 24px; transition: .3s; }
.ico svg { width: 25px; height: 25px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: .3s; }

/* Portal */
.portal { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.lead-dark { color: var(--muted); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.checks li { position: relative; padding-left: 44px; display: flex; flex-direction: column; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.checks span { color: var(--muted); font-size: .95rem; }
.portal-visual { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.portal-visual::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(47,191,143,.25), transparent 65%); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone { position: relative; width: 270px; border-radius: 40px; background: #0f1d19; padding: 12px; box-shadow: 0 40px 70px -25px rgba(7,51,41,.55); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 12px; background: #0f1d19; z-index: 2; }
.phone-screen { background: #fff; border-radius: 30px; padding: 52px 18px 22px; min-height: 470px; }
.ph-head { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; letter-spacing: .08em; color: var(--brand); }
.ph-card { background: linear-gradient(140deg, var(--brand), var(--brand-800)); color: #fff; border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.ph-card small { color: #a9d9c7; font-size: .74rem; }
.ph-card b { display: block; font-size: 1.3rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ph-list { display: grid; gap: 8px; }
.ph-list div { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: .88rem; font-weight: 600; }
.ph-list em { font-style: normal; color: var(--brand); font-weight: 800; }
.code-card { position: absolute; right: 0; bottom: 46px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.code-card small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.code { display: flex; gap: 5px; margin-top: 8px; }
.code span { width: 26px; height: 32px; border-radius: 7px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 800; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.steps li:hover .step-n { background: var(--brand); color: #fff; }
.steps p { color: var(--muted); font-size: .95rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.plan h3 { color: #fff; font-size: 1.3rem; }
.plan-for { color: #a9c7bd; margin-bottom: 18px; font-size: .95rem; }
.price { font-family: var(--serif); font-size: 1.8rem; color: #fff; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; display: grid; gap: 12px; align-content: start; }
.plan li { position: relative; padding-left: 28px; font-size: .96rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.plan .btn-outline:hover { border-color: #fff; color: #fff; }
.plan-pop { background: #fff; color: var(--ink); border: 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transform: translateY(-12px); }
.plan-pop h3, .plan-pop .price { color: var(--ink); }
.plan-pop .plan-for { color: var(--muted); }
.plan-pop .price { border-color: var(--line); color: var(--brand); }
.badge { position: absolute; top: -13px; right: 28px; background: var(--gold); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .04em; padding: 5px 13px; border-radius: 999px; }
.note { text-align: center; color: #8fb0a5; font-size: .88rem; margin-top: 34px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about p { color: var(--muted); font-size: 1.04rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.value { background: var(--soft); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; transition: .25s; }
.value:hover { background: #fff; box-shadow: var(--shadow); }
.value p { margin: 0; color: var(--muted); font-size: .94rem; }
.value h3 { margin-bottom: 4px; }
.v-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; }
.v-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-wrap > div:first-child p { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(13,92,74,.25); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; transition: .2s; }
.faq details[open] summary::after { content: "−"; background: var(--brand); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA / contact */
.cta-section { padding-top: 90px; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; border-radius: 28px; padding: 64px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(47,191,143,.25), transparent 60%), linear-gradient(150deg, var(--brand), var(--brand-900)); }
.cta-card h2 { color: #fff; }
.cta-card p { color: #c3dbd2; font-size: 1.06rem; margin-bottom: 28px; }
.cta-info { display: grid; gap: 12px; }
.ci { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; }
.ci b { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8fe3c3; }
.ci span { font-weight: 600; }
.ci-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.ci-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.footer { background: var(--brand-900); color: #a9c7bd; padding: 80px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer-inner > div:not(.f-brand) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: .94rem; }
.footer-inner a:not(.btn):hover { color: #fff; }
.f-brand p { margin-top: 18px; max-width: 320px; font-size: .94rem; }
.brand-light { color: #fff; }
.brand-light .brand-text b { color: #8fe3c3; }
.brand-light .brand-mark { background: #fff; color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .84rem; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .code-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1240px) {
  .nav-links { gap: 20px; margin-left: 0; }
}
@media (max-width: 980px) {
  .hero-inner, .portal, .about, .faq-wrap, .cta-card, .section-head.split { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 96px; }
  .hero-visual { max-width: 540px; margin: 0 auto; width: 100%; }
  .mock { transform: none; }
  .f1 { left: -10px; }
  .f2 { right: -6px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .portal { gap: 48px; }
  .portal-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-pop { transform: none; }
  .about, .faq-wrap { gap: 44px; }
  .cta-card { padding: 48px 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1060px) {
  .burger { display: block; }
  .nav-right .btn { display: none; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 24px 18px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .mobile-only { display: block; color: var(--brand); font-weight: 800; border-bottom: 0 !important; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .hide-sm { display: none !important; }
  .hero { padding: 52px 0 72px; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 24px; }
  .hero-trust b { font-size: 1.4rem; }
  .float { display: none; }
  .mock-body { padding: 16px; }
  .services, .values, .footer-inner { grid-template-columns: 1fr; }
  .svc { padding: 32px 24px; }
  .steps { grid-template-columns: 1fr; }
  .strip ul { justify-content: flex-start; gap: 8px 22px; }
  .cta-card { padding: 36px 22px; border-radius: 22px; }
  .brand { font-size: .9rem; }
  .phone { width: 240px; }
  .code-card { right: -4px; }
}

.ci-tel { font-weight: 700; font-size: 1.05rem; color: #fff; }
.ci-tel:hover { text-decoration: underline; }
.topbar a.tb-item:hover { color: #fff; }

/* Brand logo (as on the office's Facebook page): orange box "wise", "consulting" below */
:root { --logo-orange: #e8822a; --logo-dark: #2a2a2a; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; gap: 4px; }
.logo-box { background: var(--logo-orange); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 1.22rem; letter-spacing: .2em; padding: 6px 8px 7px 14px; border-radius: 4px; text-transform: lowercase; }
.logo-sub { color: var(--logo-orange); font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: lowercase; padding-left: .32em; }
.brand-light .logo-sub { color: #f0a25e; }
@media (max-width: 600px) { .logo-box { font-size: 1.05rem; } }
.logo-box.sm { font-size: .8rem; padding: 4px 6px 5px 10px; }

/* News from institutions */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.news-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; background: #fff; display: flex; flex-direction: column; }
.news-card h3 { font-size: 1.02rem; color: var(--brand); padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid var(--brand-50); }
.news-card ul { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.news-card li { padding: 10px 0; border-bottom: 1px dashed var(--line); display: grid; gap: 2px; }
.news-card li:last-child { border-bottom: 0; }
.news-card time { font-size: .78rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.news-card li a { font-size: .93rem; font-weight: 600; line-height: 1.4; }
.news-card li a:hover { color: var(--brand); text-decoration: underline; }
.news-all { font-weight: 700; font-size: .88rem; color: var(--brand); }
.news-updated { margin-top: 22px; color: var(--muted); font-size: .86rem; }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

/* Tools: salary calculator + useful links */
.tools { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.calc, .links { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); }
.calc-mode { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.calc-mode button { border: 0; background: transparent; font: 700 .88rem var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.calc-mode button.active { background: var(--brand); color: #fff; }
.calc-in { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; margin-bottom: 18px; }
.calc-in input { font: 700 1.4rem var(--sans); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; width: 100%; }
.calc-in input:focus { outline: 2px solid rgba(13,92,74,.3); border-color: var(--brand); }
.calc-out { width: 100%; border-collapse: collapse; font-size: .95rem; }
.calc-out td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.calc-out td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.calc-total td { border-bottom: 0; font-size: 1.15rem; font-weight: 800; color: var(--brand); padding-top: 14px; }
.calc-note { color: var(--muted); font-size: .8rem; margin: 14px 0 0; }
.links h3 { margin-bottom: 14px; }
.links a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; transition: .2s; }
.links a:hover { border-color: var(--brand); background: var(--brand-50); }
.links b { font-size: .95rem; }
.links span { color: var(--muted); font-size: .84rem; }
/* Offer request form */
.offer-wrap { margin-top: 24px; }
.offer { background: var(--brand-900); color: #fff; border-radius: 24px; padding: 40px; display: grid; gap: 14px; }
.offer h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 6px; }
.offer label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: #b9d0c8; }
.offer input, .offer select, .offer textarea { font: 400 1rem var(--sans); padding: 11px 13px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; width: 100%; }
.offer select option { color: #000; }
.offer input:focus, .offer select:focus, .offer textarea:focus { outline: 2px solid rgba(143,227,195,.5); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.offer button { justify-self: start; }
.offer-note { margin: 0; color: #8fb0a5; font-size: .82rem; }
@media (max-width: 980px) { .tools { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } .offer { padding: 26px 20px; } .calc, .links { padding: 22px; } }

/* Hero slides */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; }
.hero .h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.18; margin: 0 0 .5em; }
.hero .h1 em { font-style: italic; color: #8fe3c3; }
.slide-dots { display: flex; gap: 8px; margin: 4px 0 0; }
.slide-dots button { width: 28px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; padding: 0; transition: .3s; }
.slide-dots button.active { width: 46px; background: #8fe3c3; }
.hero { transition: background-position 1s; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s;
  background: radial-gradient(700px 420px at 15% 20%, rgba(232,130,42,.16), transparent 60%); }
.hero[data-slide="1"]::after { opacity: 1; }
.hero[data-slide="2"]::after { opacity: 1; background: radial-gradient(800px 460px at 60% 90%, rgba(143,227,195,.18), transparent 60%); }
.hero-inner { z-index: 1; }

/* News feed */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.news-filter button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 .85rem var(--sans); cursor: pointer; color: var(--muted); }
.news-filter button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.news-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-item { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; min-height: 170px; }
.news-item:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.news-item.featured { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--brand), var(--brand-900)); color: #fff; border: 0; justify-content: flex-end; padding: 34px; }
.news-item.featured .news-title { font-family: var(--serif); font-size: 1.7rem; line-height: 1.25; }
.news-item.featured time, .news-item.featured .news-read { color: #9fe3c9; }
.news-item.featured .news-src { background: rgba(255,255,255,.14); color: #fff; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-src { font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--brand-50); color: var(--brand); }
.news-src.src-nbrm { background: #fbf1e3; color: #9a5a12; }
.news-src.src-finance { background: #e9eef8; color: #2f4f8f; }
.news-src.src-economy { background: #f1ebf7; color: #6a3f8f; }
.news-src.src-avrm { background: #fdecea; color: #a23b2c; }
.news-item time { font-size: .8rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.news-title { font-weight: 700; font-size: 1rem; line-height: 1.4; flex: 1; }
.news-read { font-size: .85rem; font-weight: 700; color: var(--brand); }
.news-more { text-align: center; margin-top: 24px; }
@media (max-width: 980px) { .news-feed { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .news-feed { grid-template-columns: 1fr; } .news-item.featured { grid-column: auto; grid-row: auto; padding: 26px; } .news-item.featured .news-title { font-size: 1.35rem; } }

/* WISE assistant (FAQ bot, no AI) */
.bot { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--sans); }
.bot-fab { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--logo-orange, #e8822a); color: #fff; font: 700 .95rem var(--sans); padding: 14px 20px 14px 16px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: .2s; }
.bot-fab:hover { transform: translateY(-2px); }
.bot-fab svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot.open .bot-fab { display: none; }
.bot-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.45); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--brand-900); color: #fff; }
.bot-head b { display: block; font-size: .98rem; }
.bot-head small { color: #a9c7bd; font-size: .78rem; }
.bot-close { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1; }
.bot-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.bot-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bot-msg ul { margin: 6px 0; padding-left: 18px; }
.bot-msg a { color: var(--brand); font-weight: 700; }
.bot-msg.from-me { align-self: flex-end; background: var(--brand); color: #fff; border-color: var(--brand); }
.bot-msg.from-small { background: transparent; border: 0; padding: 2px 4px; color: var(--muted); font-size: .8rem; }
.bot-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bot-chips button { border: 1px solid rgba(13,92,74,.35); background: #fff; color: var(--brand); border-radius: 999px; padding: 6px 12px; font: 600 .8rem var(--sans); cursor: pointer; }
.bot-chips button:hover { background: var(--brand); color: #fff; }
.bot-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.bot-form input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font: 400 .92rem var(--sans); }
.bot-form input:focus { outline: 2px solid rgba(13,92,74,.3); border-color: var(--brand); }
.bot-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); cursor: pointer; display: grid; place-items: center; }
.bot-form button svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 600px) { .bot { right: 12px; bottom: 12px; } .bot-fab-label { display: none; } .bot-fab { padding: 14px; } }

/* Hero v3: centred text, Skopje skyline (Vodno + cross, Kale, Stone Bridge) */
.hero { padding: 110px 0 230px; text-align: center; }
.hero-inner { grid-template-columns: 1fr; justify-items: center; }
.hero-text { max-width: 860px; display: flex; flex-direction: column; align-items: center; }
.hero .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.slides { width: 100%; }
.slide-dots { justify-content: center; }
.hero-cta { justify-content: center; }
.hero-trust { justify-content: center; max-width: 760px; width: 100%; gap: 24px 56px; }
.hero-trust li { align-items: center; }
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 230px; pointer-events: none; }
.sk-far { fill: rgba(143,227,195,.07); }
.sk-mid { fill: rgba(143,227,195,.11); }
.sk-near { fill: rgba(143,227,195,.17); }
.sk-line { fill: none; stroke: rgba(143,227,195,.45); stroke-width: 2.5; stroke-linecap: round; }
.sk-water { stroke: rgba(232,130,42,.55); stroke-width: 3; }
.hero-grid { -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 70%); }
@media (max-width: 600px) { .hero { padding: 60px 0 150px; } .skyline { height: 140px; } .hero-trust { gap: 18px 28px; } }

/* Forms */
.forms { border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.forms-tabs { display: flex; gap: 4px; padding: 10px; background: var(--soft); border-bottom: 1px solid var(--line); overflow-x: auto; }
.forms-tabs button { flex: none; border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font: 700 .9rem var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; }
.forms-tabs button small { font-weight: 600; opacity: .7; margin-left: 4px; }
.forms-tabs button.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.forms-panel { padding: 10px 24px 22px; }
.forms-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.forms-panel li a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px dashed var(--line); }
.forms-panel li a:hover .f-title { color: var(--brand); text-decoration: underline; }
.f-code { font-weight: 800; font-size: .8rem; color: var(--brand); background: var(--brand-50); padding: 4px 8px; border-radius: 6px; min-width: 64px; text-align: center; }
.f-title { font-size: .9rem; line-height: 1.4; }
.f-kind { font-size: .68rem; font-weight: 800; color: #9a5a12; background: #fbf1e3; padding: 3px 6px; border-radius: 4px; }
.forms-all { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--brand); font-size: .9rem; }
@media (max-width: 800px) { .forms-panel ul { grid-template-columns: 1fr; } .forms-panel { padding: 6px 14px 18px; } }

/* Hero counters */
.hero-stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 900px; }
.hero-stats li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px 18px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); transition: transform .25s, background .25s, border-color .25s; cursor: default; }
.hero-stats li:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); border-color: rgba(143,227,195,.55); }
.hero-stats b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats li > span:last-child { font-size: .84rem; color: #b9d0c8; }
.st-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,130,42,.18); margin-bottom: 6px; transition: .25s; }
.hero-stats li:hover .st-ico { background: var(--logo-orange, #e8822a); }
.st-ico svg { width: 20px; height: 20px; fill: none; stroke: #f3b27a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-stats li:hover .st-ico svg { stroke: #fff; }
@media (max-width: 700px) { .hero-stats { grid-template-columns: 1fr 1fr; } .hero-stats b { font-size: 2rem; } }

/* Animated portal dashboard (in the portal section) */
.dash { max-width: 540px; width: 100%; margin: 0 auto; }
.dash .mock { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.dash .f1 { left: -24px; bottom: 40px; }
.dash .ch-line { stroke-dasharray: 100; stroke-dashoffset: 0; }
.dash.dash-play .ch-line { animation: drawLine 1.8s ease forwards; }
.dash.dash-play .ch-fill { animation: fadeIn 1.2s ease .9s both; }
.dash.dash-play .mock-row { animation: rowIn .5s ease both; }
.dash.dash-play .mock-row:nth-of-type(1) { animation-delay: 1.1s; }
.dash.dash-play .mock-row:nth-of-type(2) { animation-delay: 1.35s; }
.dash.dash-play .mock-row:nth-of-type(3) { animation-delay: 1.6s; }
.dash.dash-play .mock-row:nth-of-type(4) { animation-delay: 1.85s; }
.dash.dash-play .mock-row em { animation: popIn .4s ease both; animation-delay: inherit; }
.dash.dash-play .dash-toast { animation: toastIn .6s cubic-bezier(.2,1.4,.4,1) 2.4s both, bob 6s ease-in-out 3s infinite; }
.dash .mock-row .dot.ok { box-shadow: 0 0 0 0 rgba(47,191,143,.6); }
.dash.dash-play .mock-row .dot.ok { animation: pulse 2s ease 2.2s 2; }
@keyframes drawLine { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,143,.6); } 100% { box-shadow: 0 0 0 10px rgba(47,191,143,0); } }
@media (max-width: 980px) { .dash .mock { transform: none; } }
@media (max-width: 600px) { .dash .f1 { display: flex; left: 8px; bottom: -18px; } }
@media (prefers-reduced-motion: reduce) { .dash.dash-play * { animation: none !important; } }

/* Hero v4: visual banner (big number + dashboard), quick-action tiles below */
.hero { text-align: left; padding: 80px 0 200px; }
.hero-inner.banner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; justify-items: stretch; }
.banner-text { color: #fff; }
.banner-years { font-family: var(--serif); font-weight: 700; font-size: clamp(5rem, 11vw, 9rem); line-height: .9; color: #fff; display: flex; align-items: flex-start; }
.banner-years .plus { color: var(--logo-orange, #e8822a); font-size: .6em; margin-left: 6px; }
.banner-years-lbl { font-size: 1.35rem; font-weight: 700; color: #cfe6dd; margin: 10px 0 26px; letter-spacing: .02em; }
.banner-line { display: inline-block; font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fe3c3; border-top: 2px solid rgba(143,227,195,.4); padding-top: 14px; }
.hero-dash { max-width: 620px; justify-self: end; }
.hero-dash .mock { transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); }
.hero-dash .f1 { left: -34px; bottom: 50px; }
.quick { position: relative; z-index: 2; margin-top: -70px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 30px 60px -25px rgba(7,51,41,.45); overflow: hidden; }
.q-tile { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; border-right: 1px solid var(--line); transition: background .2s; }
.q-tile:last-child { border-right: 0; }
.q-tile:hover { background: var(--brand-50); }
.q-tile b { font-size: 1.02rem; text-transform: uppercase; letter-spacing: .04em; }
.q-tile small { color: var(--muted); font-size: .85rem; }
.q-ico { width: 44px; height: 44px; border-radius: 12px; background: #fdf1e6; display: grid; place-items: center; margin-bottom: 10px; transition: .2s; }
.q-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--logo-orange, #e8822a); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.q-tile:hover .q-ico { background: var(--logo-orange, #e8822a); }
.q-tile:hover .q-ico svg { stroke: #fff; }
.about-stats { margin-top: 28px; grid-template-columns: 1fr 1fr; }
.about-stats li { background: var(--soft); border-color: var(--line); backdrop-filter: none; }
.about-stats li:hover { background: #fff; border-color: var(--brand); }
.about-stats b { color: var(--brand); }
.about-stats li > span:last-child { color: var(--muted); }
@media (max-width: 980px) {
  .hero-inner.banner { grid-template-columns: 1fr; gap: 40px; }
  .hero-dash { justify-self: center; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .q-tile { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hero { padding: 48px 0 150px; text-align: center; }
  .banner-years { justify-content: center; }
  .quick { margin-top: -50px; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .q-tile { padding: 20px 16px; }
  .hero-dash .f1 { display: none; }
}

/* Next tax deadlines card (hero) */
.dl-card { margin-top: 30px; max-width: 430px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 18px 20px 14px; backdrop-filter: blur(6px); text-align: left; }
.dl-head { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 10px; font-size: .95rem; }
.dl-live { width: 9px; height: 9px; border-radius: 50%; background: #2fbf8f; box-shadow: 0 0 0 0 rgba(47,191,143,.7); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(47,191,143,.7); } 100% { box-shadow: 0 0 0 10px rgba(47,191,143,0); } }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-list li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); transition: background .2s, transform .2s; }
.dl-list li:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.dl-date b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; text-align: center; }
.dl-main { display: grid; gap: 6px; min-width: 0; }
.dl-name { color: #dbe9e4; font-size: .86rem; font-weight: 600; }
.dl-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.dl-bar i { display: block; height: 100%; background: #8fe3c3; border-radius: 4px; animation: barIn 1.2s ease both; }
@keyframes barIn { from { width: 0 !important; } }
.dl-left { font-size: .78rem; font-weight: 800; color: #8fe3c3; white-space: nowrap; }
.dl-list li.urgent .dl-left { color: #f3b27a; }
.dl-list li.urgent .dl-bar i { background: var(--logo-orange, #e8822a); }
.dl-note { display: block; margin-top: 10px; color: #8fb0a5; font-size: .72rem; line-height: 1.4; }
@media (max-width: 600px) { .dl-card { margin: 24px auto 0; } }

/* Hero v5: animated flow (documents → WISE → institutions) + deadlines row */
.hero { text-align: center; padding: 64px 0 190px; }
.hero-inner.flow-hero { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.flow-hero .banner-line { margin: 0; border-top: 0; padding: 0; }
.flow { position: relative; width: 100%; max-width: 1000px; aspect-ratio: 1100 / 440; }
.fl-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl-lines path { fill: none; stroke: rgba(143,227,195,.35); stroke-width: 2; stroke-dasharray: 6 7; vector-effect: non-scaling-stroke; animation: flDash 1.2s linear infinite; }
@keyframes flDash { to { stroke-dashoffset: -26; } }
.fl-dot { fill: #8fe3c3; filter: drop-shadow(0 0 6px rgba(143,227,195,.9)); }
.fl-dot.out { fill: var(--logo-orange, #e8822a); filter: drop-shadow(0 0 6px rgba(232,130,42,.9)); }
.fl-lines.fm { display: none; }
.fl-node, .fl-core { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); }
.fl-node { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); color: #fff; text-align: left; transition: transform .25s, background .25s; }
.fl-node:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); }
.fl-node b { font-size: 1.05rem; }
.fl-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; background: rgba(143,227,195,.15); display: grid; place-items: center; }
.fl-ico svg { width: 21px; height: 21px; fill: none; stroke: #8fe3c3; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-ab { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; min-width: 70px; }
.fl-dst { gap: 10px; padding: 0 12px 0 16px; }
.fl-dst small { color: #b9d0c8; font-size: .85rem; flex: 1; }
.fl-ok { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 800; color: #fff; background: rgba(255,255,255,.12); animation: flOk 4.4s ease var(--d, 2s) infinite; }
@keyframes flOk { 0%, 8% { background: rgba(255,255,255,.12); transform: scale(1); } 14% { background: #2fbf8f; transform: scale(1.3); } 22%, 70% { background: #2fbf8f; transform: scale(1); } 80%, 100% { background: rgba(255,255,255,.12); } }
.fl-core { display: grid; place-items: center; }
.fl-core .logo-box { position: relative; z-index: 1; font-size: 1.7rem; padding: 12px 18px; border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(232,130,42,.7); }
.fl-core::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(143,227,195,.22), rgba(143,227,195,0) 70%); }
.fl-core .ring { position: absolute; inset: 8%; border-radius: 50%; border: 2px solid rgba(143,227,195,.5); animation: flRing 2.8s ease-out infinite; }
.fl-core .ring.r2 { animation-delay: 1.4s; }
@keyframes flRing { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.dl-card.dl-row { margin: 0; max-width: 1000px; width: 100%; }
.dl-row .dl-list { grid-template-columns: repeat(3, 1fr); }
.dl-row .dl-note { text-align: center; }
@media (max-width: 980px) { .dl-row .dl-list { grid-template-columns: 1fr; } .dl-card.dl-row { max-width: 520px; } }
@media (max-width: 700px) {
  .hero { padding: 40px 0 150px; }
  .flow { max-width: 380px; aspect-ratio: 360 / 640; }
  .fl-lines.fd { display: none; }
  .fl-lines.fm { display: block; }
  .fl-node, .fl-core { left: var(--ml); top: var(--mt); width: var(--mw); height: var(--mh); }
  .fl-node { flex-direction: column; justify-content: center; gap: 4px; padding: 6px; text-align: center; border-radius: 14px; }
  .fl-node b { font-size: .8rem; }
  .fl-ico { width: 30px; height: 30px; }
  .fl-ab { min-width: 0; font-size: .82rem; }
  .fl-dst small { flex: none; font-size: .62rem; }
  .fl-ok { width: 20px; height: 20px; font-size: .65rem; }
  .fl-core .logo-box { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .fl-lines path, .fl-ok, .fl-core .ring { animation: none; } .fl-dot { display: none; } }
@media (min-width: 981px) { .dl-row .dl-list li { grid-template-columns: 58px 1fr; row-gap: 4px; } .dl-row .dl-left { grid-column: 2; } }
.fl-src b { white-space: nowrap; } @media (max-width: 700px) { .fl-src b { white-space: normal; line-height: 1.2; } }

.f-privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.f-privacy:hover { opacity: 1; }
.offer-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Real photo of the Clock tower (Саат-кула) in the hero's right edge, fading into the green */
.hero-photo { position: absolute; right: 0; top: 0; bottom: 120px; width: 300px; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 100%), linear-gradient(to top, transparent 0, #000 30%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 35%, transparent 100%), linear-gradient(to top, transparent 0, #000 30%); mask-composite: intersect; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; opacity: .55; filter: saturate(.85); }
.fl-lines { z-index: 1; }
.fl-node, .fl-core { z-index: 2; }
@media (max-width: 1320px) {
  .hero-photo { width: 40%; max-width: 360px; }
  .hero-photo img { opacity: .4; }
}
@media (max-width: 700px) {
  /* phone: the tower becomes a soft background behind the top of the hero */
  .hero-photo { left: 0; right: 0; width: auto; max-width: none; bottom: auto; height: 560px;
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 35%, transparent 100%); }
  .hero-photo img { opacity: .32; object-position: center 15%; }
}
.f-credit { display: block; width: 100%; font-size: .72rem; opacity: .6; }
.f-credit a { color: inherit; text-decoration: underline; }

/* Owner / CV section */
.owner { display: grid; grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
.owner-photo { position: relative; }
.owner-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 28px; background: var(--brand); opacity: .12; }
.owner-photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(7,51,41,.55); background: #fff; }
.owner-h { margin: 8px 0 6px; }
.owner-role { color: var(--logo-orange, #e8822a); font-weight: 800; margin-bottom: 18px; }
.owner-list { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.owner-list li { position: relative; padding-left: 26px; font-weight: 600; }
.owner-list li::before { content: "✓"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.owner blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--logo-orange, #e8822a); background: #fff; border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 1.12rem; color: var(--ink, #14241f); }
@media (max-width: 980px) { .owner { grid-template-columns: 1fr; gap: 40px; } .owner-photo { max-width: 360px; margin: 0 auto; width: 100%; } }
@media (max-width: 600px) { .owner-list { grid-template-columns: 1fr; } }
