/* The public website of СТМ „БУЛНОРМ-1“. Plain CSS, served from the app
   (CSP 'self'). Redesign of 2026-10-23 (ADR 0015): Onest, a grotesk drawn for
   Cyrillic; the brand green with one accent (amber), red only for deadlines;
   left-set section heads, an asymmetric services grid, editorial lists in
   place of rows of boxes, tinted shadows and a faint grain. Text colours
   meet WCAG AA on their backgrounds (e2e/tests/a11y.spec.mjs). */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/site/fonts/onest-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/site/fonts/onest-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #0c7f54; --brand-2: #0a6b46; --deep: #064e3b; --deep-2: #04382b;
  --mint: #ecf8f2; --mint-2: #d3eee1; --mint-3: #b7e0cb;
  --accent: #f59e0b; --accent-ink: #78350f; --red-ink: #9f1239;
  --ink: #142028; --ink-2: #2e3c46; --muted: #536170; --line: #dbe5e0; --page: #f5f8f6; --white: #fff;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 9px;
  --shadow: 0 1px 2px rgb(6 78 59 / .05), 0 12px 30px -16px rgb(6 78 59 / .28);
  --shadow-lg: 0 2px 6px rgb(6 78 59 / .06), 0 30px 60px -28px rgb(6 78 59 / .5);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --z-header: 50; --z-skip: 60;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--page); line-height: 1.65; font-size: 1.03rem; font-feature-settings: "ss01"; }
/* A faint grain so the large light surfaces are not flat. */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.02 0 0 0 0 0.3 0 0 0 0 0.22 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; }
img, svg { max-width: 100%; }
a { color: var(--brand-2); text-underline-offset: 3px; transition: color .2s ease; }
a:hover { color: var(--deep); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .55em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.5rem); font-weight: 750; letter-spacing: -.03em; }
h3, .h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.012em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid rgb(245 158 11 / .85); outline-offset: 3px; border-radius: 6px; }
.i { flex-shrink: 0; vertical-align: -.2em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: var(--z-skip); background: var(--white); padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { left: 12px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.3rem; border-radius: 13px; font-weight: 650; font-size: .97rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background-color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 56px; padding: .9rem 1.65rem; font-size: 1.04rem; }
.btn-primary { background: linear-gradient(135deg, #0e8a5c, var(--brand-2)); color: var(--white); box-shadow: 0 12px 24px -14px rgb(12 127 84 / .9), inset 0 1px 0 rgb(255 255 255 / .15); }
.btn-primary:hover { color: var(--white); background: linear-gradient(135deg, var(--brand), var(--deep)); }
.btn-accent { background: linear-gradient(135deg, #fbbf24, var(--accent)); color: #3b1d03; box-shadow: 0 12px 24px -14px rgb(217 119 6 / .95), inset 0 1px 0 rgb(255 255 255 / .35); }
.btn-accent:hover { color: #3b1d03; background: linear-gradient(135deg, #fcd34d, #fbbf24); }
.btn-secondary { background: var(--mint); color: var(--deep); border-color: #9ccbb4; }
.btn-secondary:hover { color: var(--deep); background: var(--mint-2); }
.btn-ghost-light { background: rgb(255 255 255 / .08); color: var(--white); border-color: rgb(255 255 255 / .38); }
.btn-ghost-light:hover { color: var(--white); background: rgb(255 255 255 / .16); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 1.8rem; }
.cta-center { justify-content: center; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--brand-2); text-decoration: none; }
.link-more .i { transition: transform .2s var(--ease); }
.link-more:hover .i { transform: translateX(3px); }
.text-link-light { display: inline-flex; align-items: center; gap: .35rem; color: #ecfdf5; font-weight: 600; text-decoration: none; }
.text-link-light:hover { color: var(--white); text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgb(245 248 246 / .86); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid rgb(219 229 224 / .8); }
.topbar { background: var(--deep-2); color: #c7eedb; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: .42rem; padding-bottom: .42rem; }
.topbar a { color: #ecfdf5; text-decoration: none; margin-left: 1.3rem; font-variant-numeric: tabular-nums; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-r { display: flex; flex-wrap: wrap; }
.nav-in { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { border-radius: 12px; box-shadow: 0 6px 14px -8px rgb(6 78 59 / .7); }
.brand strong { display: block; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--deep); line-height: 1.1; }
.brand small { display: block; font-size: .78rem; color: var(--muted); }
.brand-light strong { color: var(--white); }
.brand-light small { color: #a7f3d0; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .8rem; border-radius: 10px; font-weight: 550; font-size: .96rem; color: var(--ink-2); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.nav-link:hover, .nav-drop:focus-within > .nav-link { background: var(--mint); color: var(--deep); }
.nav-link.is-active, .nav-drop.is-active > .nav-link { color: var(--deep); }
.nav-link.is-active::after, .nav-drop.is-active > .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-drop { position: relative; }
.drop { position: absolute; top: 100%; left: -12px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s var(--ease), visibility .2s; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop ul { display: grid; gap: .1rem; width: 340px; background: var(--white); border-radius: var(--r-lg); padding: .5rem; box-shadow: var(--shadow-lg), 0 0 0 1px rgb(6 78 59 / .06); }
.drop a { display: flex; gap: .8rem; align-items: flex-start; padding: .65rem .7rem; border-radius: var(--r-md); text-decoration: none; color: var(--ink); transition: background-color .15s ease; }
.drop a:hover, .drop a[aria-current] { background: var(--mint); }
.drop strong { display: block; font-size: .95rem; font-weight: 650; }
.drop small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.drop-ic { display: inline-flex; width: 36px; height: 36px; border-radius: var(--r-sm); align-items: center; justify-content: center; background: var(--mint-2); color: var(--brand-2); flex-shrink: 0; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 13px; border: 1px solid #9ccbb4; background: var(--mint); color: var(--deep); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(88vw, 340px); max-height: 75vh; overflow-y: auto; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px rgb(6 78 59 / .06); padding: .6rem; }
.mnav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mnav-panel a:not(.btn) { display: block; padding: .6rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 650; }
.mnav-panel li.grp { padding: .8rem .8rem .2rem; font-size: .8rem; font-weight: 650; color: var(--brand-2); }
.mnav-panel li.sub a { font-weight: 550; padding-left: 1.3rem; color: var(--ink-2); }
.mnav-panel a:not(.btn):hover { background: var(--mint); }
.mnav-panel .btn { width: 100%; margin-top: .5rem; }

/* Labels: a short amber rule and plain text, not a pill. */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9rem; letter-spacing: .01em; color: #fde68a; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--accent); }
.eyebrow .i { display: none; }
.panel .eyebrow, .sec .eyebrow:not(.eyebrow-light) { color: var(--accent-ink); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(900px 520px at 88% 0%, rgb(52 211 153 / .26), transparent 62%), radial-gradient(700px 520px at -5% 105%, rgb(245 158 11 / .2), transparent 60%), linear-gradient(140deg, var(--deep-2), var(--deep) 48%, #0a744d); }
.hero::after, .banner::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(105deg, transparent 20%, black 75%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 88px; padding-bottom: 118px; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hl { color: #fcd34d; }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: #d1fae5; max-width: 36em; }
.lead-dark { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-left: auto; margin-right: auto; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; color: #ecfdf5; font-weight: 550; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .i { color: #6ee7b7; }
.hero-art { position: relative; }
.hero-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 34px 44px rgb(0 0 0 / .28)); }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; background: rgb(255 255 255 / .96); color: var(--ink); padding: .75rem 1rem; border-radius: var(--r-md); box-shadow: var(--shadow-lg); font-size: .86rem; animation: bob 7s ease-in-out infinite; }
.float-card .i { color: var(--brand); }
.float-card strong { display: block; font-size: .97rem; font-variant-numeric: tabular-nums; }
.float-card small { color: var(--muted); }
.fc-1 { left: -8%; bottom: 12%; }
.fc-2 { right: -3%; top: 4%; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats: overlap the hero for depth. */
.stats { position: relative; z-index: 2; margin-top: -58px; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.stat { padding: 1.6rem 1.5rem 1.7rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--deep); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--muted); font-size: .9rem; margin-top: .5rem; line-height: 1.4; }

/* Sections: heads sit left, with the intro beside them; bottom padding a little larger than top. */
.sec { padding: 92px 0 104px; }
.sec-tint { background: linear-gradient(180deg, #edf6f1, var(--page)); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.8rem; }
.sec-head h2 { margin: 0; max-width: 16em; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.07rem; max-width: 34em; }
.sec-head:not(:has(p)) { grid-template-columns: 1fr; }
.sec-foot { margin: 2rem 0 0; }
.sec-cta { padding-top: 40px; }

/* Cards: elevation without a border. */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card > .more, .card > .link-more { margin-top: auto; }
.card-link { text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s ease; }
.card-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link h3 { color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; color: var(--brand-2); font-size: .94rem; }
.more .i { transition: transform .2s var(--ease); }
.card-link:hover .more .i, .bento-feature:hover .more .i { transform: translateX(4px); }
.card-ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: var(--r-md); margin-bottom: 1.1rem; color: var(--tone); background: var(--tone-bg); flex-shrink: 0; }
.card-ic-light { color: #fde68a; background: rgb(255 255 255 / .12); }
.big-ic { width: 64px; height: 64px; }
/* One accent: the brand green, amber for time, red for what is overdue. Older tone names map onto these. */
.tone-green, .tone-teal, .tone-sky, .tone-violet { --tone: #0c7f54; --tone-bg: #dcf3e8; }
.tone-amber { --tone: #a35208; --tone-bg: #fdefd6; }
.tone-rose { --tone: #a3243d; --tone-bg: #fbe4e8; }

/* The services: one tall feature tile and a grid of compact cells. */
.bento { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); gap: 1.2rem; }
.bento-feature { grid-row: span 2; display: flex; flex-direction: column; padding: 2.2rem; border-radius: var(--r-xl); color: #d1fae5; text-decoration: none; background: radial-gradient(420px 260px at 100% 0%, rgb(245 158 11 / .26), transparent 60%), linear-gradient(150deg, var(--deep), var(--brand-2)); box-shadow: var(--shadow-lg); transition: transform .25s var(--ease); }
.bento-feature:hover { color: #d1fae5; transform: translateY(-4px); }
.bento-feature h3 { color: var(--white); font-size: 1.6rem; letter-spacing: -.025em; }
.bento-feature p { color: #d1fae5; }
.bento-points { list-style: none; padding: 0; margin: .3rem 0 1.5rem; display: grid; gap: .55rem; }
.bento-points li { display: flex; gap: .55rem; align-items: flex-start; color: #ecfdf5; }
.bento-points .i { color: #6ee7b7; margin-top: .2rem; }
.more-light { color: #fde68a; margin-top: auto; }
.bento-cell { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1.5rem; border-radius: var(--r-lg); background: var(--white); color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s ease; }
.bento-cell:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
/* Five cells beside the feature leave one on its own row: it takes the full width instead of a hole. */
.bento > .bento-cell:nth-child(6):last-child { grid-column: 1 / -1; }
.bento-cell .card-ic { margin: 0; }
.bento-cell h3 { margin-bottom: .3rem; }
.bento-cell p { margin: 0; color: var(--muted); font-size: .95rem; }
.bento-cell > .i { color: var(--mint-3); margin-top: .2rem; transition: transform .2s var(--ease), color .2s ease; }
.bento-cell:hover > .i { color: var(--brand); transform: translateX(3px); }

/* Editorial rows: a list, not a row of boxes. */
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
.rows li { border-top: 1px solid var(--line); }
.rows a, .rows li > div { display: grid; grid-template-columns: auto 1fr auto; gap: 1.1rem; align-items: center; padding: 1.25rem .2rem; color: inherit; text-decoration: none; }
.rows .card-ic { margin: 0; width: 46px; height: 46px; }
.rows strong { display: block; font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.rows .row-txt span { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.rows a > .i { color: var(--mint-3); transition: transform .2s var(--ease), color .2s ease; }
.rows a:hover > .i { color: var(--brand); transform: translateX(4px); }
.rows a:hover strong { color: var(--deep); }

.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks .i { color: var(--brand); margin-top: .2rem; }
.checks-warn .i { color: #c26b06; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.split-center { align-items: center; }
.panel { background: var(--white); border-radius: var(--r-xl); padding: 2.2rem; box-shadow: var(--shadow); }
.panel p { color: var(--muted); }
.panel-quote blockquote { margin: 0; font-size: 1.45rem; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; color: var(--deep); border-left: 3px solid var(--accent); padding-left: 1.1rem; text-wrap: balance; }

/* Steps: a numbered line, not four boxes. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--mint-3), var(--accent) 60%, var(--mint-3)); }
.steps li { position: relative; }
.steps p { color: var(--muted); margin: 0; }
.step-n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--deep); color: var(--white); font-weight: 750; font-size: 1.05rem; margin-bottom: 1.1rem; box-shadow: 0 0 0 6px var(--page); font-variant-numeric: tabular-nums; }

/* The contained dark panel (never a full-width band in a light page). */
.dark-panel { position: relative; overflow: hidden; color: #d1fae5; border-radius: var(--r-xl); padding: clamp(2rem, 1.2rem + 3vw, 3.5rem); background: radial-gradient(600px 360px at 100% 0%, rgb(52 211 153 / .22), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgb(245 158 11 / .16), transparent 60%), linear-gradient(140deg, var(--deep-2), var(--deep)); box-shadow: var(--shadow-lg); }
.dark-panel h2, .dark-panel h3, .dark-panel strong { color: var(--white); }
.dark-panel .eyebrow { color: #fde68a; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); border-radius: var(--r-lg); padding: 1.15rem; }
.feature-list .i { color: #fbbf24; margin-top: .1rem; }
.feature-list strong { display: block; }
.feature-list span { font-size: .93rem; color: #d1fae5; }

.chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { background: var(--white); border-radius: var(--r-sm); padding: .55rem 1rem; font-weight: 550; font-size: .95rem; color: var(--deep); box-shadow: 0 1px 2px rgb(6 78 59 / .06), 0 6px 14px -10px rgb(6 78 59 / .4); }
.chips-sm li { font-size: .82rem; padding: .25rem .7rem; background: var(--mint); box-shadow: none; }

/* FAQ: questions and answers side by side, all visible. */
.faq { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
.faq-item { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.faq dt { display: flex; gap: .8rem; font-weight: 650; font-size: 1.07rem; line-height: 1.4; letter-spacing: -.01em; margin-bottom: .55rem; color: var(--ink); }
.faq-n { flex-shrink: 0; color: var(--accent-ink); font-size: .85rem; font-weight: 700; padding-top: .18rem; font-variant-numeric: tabular-nums; }
.faq dd { margin: 0 0 0 2.15rem; color: var(--muted); }

.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding: clamp(2rem, 1.4rem + 2.4vw, 3rem); border-radius: var(--r-xl); color: #d1fae5; background: radial-gradient(520px 280px at 100% 0%, rgb(245 158 11 / .32), transparent 60%), linear-gradient(135deg, var(--deep), var(--brand-2)); box-shadow: var(--shadow-lg); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.cta-band p { margin: 0; max-width: 34em; }
.cta-band .cta-row { margin: 0; }

/* Inner pages */
.banner { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(800px 380px at 90% 0%, rgb(52 211 153 / .22), transparent 60%), radial-gradient(600px 300px at 0% 110%, rgb(245 158 11 / .18), transparent 60%), linear-gradient(140deg, var(--deep-2), var(--deep) 55%, #0a744d); }
.banner-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-top: 60px; padding-bottom: 72px; }
.banner h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); max-width: 18em; }
.banner-mark { display: inline-flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 36px; color: #fde68a; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); transform: rotate(-6deg); }
.crumbs { padding-top: 14px; padding-bottom: 14px; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: #9aa7b2; }
.crumbs a { color: var(--brand-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.55rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); }

.offer { display: grid; gap: 1.2rem; }
.offer-block { background: var(--white); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow); }
.offer-block .checks { max-width: 70ch; }
.offer-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.offer-head .card-ic { margin: 0; }
.offer-head h2, .offer-head h3 { margin: 0; font-size: 1.35rem; }
.price-note { display: flex; gap: 1rem; align-items: center; padding: 1.5rem 1.7rem; border-radius: var(--r-lg); background: #fffaeb; box-shadow: inset 0 0 0 1px #fde68a; color: var(--accent-ink); }
.price-note p { margin: .2rem 0 0; }
.partner p { margin-bottom: .8rem; }
.partner-who { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: .3rem; font-weight: 650; color: var(--deep); }
.partner-who a { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.partner-who a:hover { text-decoration: underline; }

.seg { display: inline-flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.seg a { padding: .55rem 1rem; border-radius: 10px; font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink-2); transition: background-color .15s ease; }
.seg a:hover { background: var(--mint); }
.seg a.is-on { background: var(--deep); color: var(--white); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0 0 1.8rem; font-size: .9rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.tag { display: inline-flex; align-items: center; padding: .14rem .55rem; border-radius: 6px; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.tag-mandatory { background: #dcf3e8; color: #065f46; }
.tag-deadline { background: #fbe4e8; color: var(--red-ink); }
.tag-recommended { background: #e8f1ed; color: #2f4a3f; }
.tag-reminder { background: #fdefd6; color: #92400e; }
.months { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 1.2rem; }
.month { break-inside: avoid; margin-bottom: 1.2rem; background: var(--white); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.month h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; letter-spacing: -.015em; }
.month h2::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--accent); }
.month ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.month li p { margin: .35rem 0 0; font-size: .95rem; color: var(--ink-2); }
.month-empty { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.note-box { margin-top: 1.4rem; padding: 1.6rem; border-radius: var(--r-lg); background: var(--mint); }
.note-box p { margin: 0; color: #24433a; max-width: 75ch; }
.note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.6rem; padding: 1rem 1.15rem; border-radius: var(--r-md); background: #fffaeb; box-shadow: inset 0 0 0 1px #fde68a; color: var(--accent-ink); font-size: .93rem; max-width: 80ch; }
.date-card { text-align: left; }
.date-big { display: block; font-size: 2.6rem; font-weight: 800; color: var(--deep); letter-spacing: -.045em; line-height: 1; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.doc-set { margin-bottom: 2.8rem; scroll-margin-top: 110px; }
.doc-set .grid { columns: 2 340px; display: block; column-gap: 1.2rem; }
.doc-group { break-inside: avoid; margin-bottom: 1.2rem; }
.doc-group h3 { color: var(--deep); }
.doc-group .checks { font-size: .95rem; }
.topics { columns: 2; column-gap: 3rem; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.topics li { break-inside: avoid; display: flex; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--line); font-weight: 550; color: #24433a; counter-increment: t; }
.topics li::before { content: counter(t, decimal-leading-zero); color: var(--accent-ink); font-weight: 700; font-size: .85rem; padding-top: .15rem; font-variant-numeric: tabular-nums; }
.law-group { background: var(--white); border-radius: var(--r-lg); margin-bottom: 1rem; box-shadow: var(--shadow); }
.law-group summary { list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: center; padding: 1.15rem 1.35rem; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.law-group summary::-webkit-details-marker { display: none; }
.law-group summary span { flex: 1; }
.law-group summary small { background: var(--mint); color: var(--deep); border-radius: 7px; padding: .1rem .55rem; font-size: .8rem; font-variant-numeric: tabular-nums; }
.law-group summary .i { color: var(--brand); transition: transform .25s var(--ease); }
.law-group[open] summary .i { transform: rotate(180deg); }
.law-group h3 { padding: 0 1.35rem; margin: 1rem 0 .4rem; color: var(--brand-2); font-size: 1rem; }
.laws { margin: 0; padding: 0 1.35rem 1.15rem 2.9rem; }
.laws li { padding: .55rem 0; border-bottom: 1px solid #edf2ef; font-size: .95rem; }
.laws li:last-child { border-bottom: 0; }
.law-links { display: inline-flex; gap: .8rem; margin-left: .6rem; }
.law-links a { display: inline-flex; align-items: center; gap: .2rem; font-weight: 650; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.law-links a:hover { text-decoration: underline; }
.link-card h3 { display: flex; justify-content: space-between; gap: .5rem; }
.link-card h3 .i { color: var(--brand); }
.award { display: flex; gap: 1.6rem; align-items: center; padding: 2.2rem; border-radius: var(--r-xl); background: linear-gradient(135deg, #fffaeb, #fef3c7); box-shadow: inset 0 0 0 1px #fde68a; }
.award-ic { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 26px; background: linear-gradient(135deg, #fbbf24, #d97706); color: var(--white); flex-shrink: 0; box-shadow: 0 16px 30px -16px rgb(217 119 6 / .95); transform: rotate(-5deg); }
.award p { color: var(--accent-ink); }
.office p { margin: .25rem 0; }
.office .person { margin: .8rem 0; }
.office a { text-decoration: none; }
.contact-lines { list-style: none; margin: .8rem 0 1rem; padding: 0; display: grid; gap: .5rem; }
.contact-lines a { display: flex; gap: .65rem; align-items: center; padding: .6rem .75rem; border-radius: var(--r-md); background: var(--mint); color: var(--deep); font-weight: 650; font-variant-numeric: tabular-nums; transition: background-color .15s ease; }
.contact-lines a:hover { background: var(--mint-2); }
.contact-lines small { display: block; font-weight: 550; font-size: .76rem; color: var(--muted); }
.client h2 { margin-bottom: .6rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.nf { padding: 120px 0; }
.nf-code { display: block; font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 850; line-height: 1; letter-spacing: -.06em; color: var(--deep); font-variant-numeric: tabular-nums; }

/* Footer: the brand and the main paths, the three offices, the legal links. */
.site-footer { color: #c6e9d8; background: linear-gradient(180deg, var(--deep), var(--deep-2)); }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-brand p { margin: 1rem 0 1.2rem; font-size: .93rem; max-width: 34em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; }
.footer-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-office h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.footer-office p { margin: .25rem 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.site-footer a { color: #ecfdf5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; padding-bottom: 2rem; border-top: 1px solid rgb(255 255 255 / .12); font-size: .86rem; }
.footer-bottom a { margin-left: 1.3rem; }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .nav-cta { display: none; }
  .mnav { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-feature { grid-row: auto; grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-in, .split, .sec-head { grid-template-columns: 1fr; }
  .hero-in { padding-top: 56px; padding-bottom: 96px; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .rows, .faq { grid-template-columns: 1fr; }
  .banner-mark { display: none; }
  .banner-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .topbar-in > span:first-child { display: none; }
  .topbar a { margin: 0 1rem 0 0; }
  .sec { padding: 64px 0 76px; }
  .grid-2, .grid-3, .steps, .feature-list, .bento, .footer-offices { grid-template-columns: 1fr; }
  .bento-feature { grid-column: auto; }
  .topics { columns: 1; }
  .float-card { display: none; }
  .award { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 1rem 0 0; }
  .btn { white-space: normal; text-align: center; }
  .law-links { display: flex; margin: .3rem 0 0; }
  .faq dd { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
