/* BiznaERP — site styles */
:root {
  --navy: #0b1530;
  --navy-2: #12204a;
  --ink: #142037;
  --text: #3d4a63;
  --muted: #64708a;
  --line: #e2e7f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --brand: #1f5cff;
  --brand-dark: #1747c7;
  --brand-soft: #e9efff;
  --sky: #6ea8ff;
  --accent: #d4a017;
  --accent-soft: #fff6dc;
  --wa: #25d366;
  --wa-ink: #05361b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 760; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .9rem; }
.icon { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 14px; font-size: .9375rem; }
.btn--lg { padding: 14px 24px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #1fbd5a; color: var(--wa-ink); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .75em; }
.eyebrow--light { color: var(--sky); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark svg { width: 34px; height: 34px; }
.logo__text { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.logo__text b { color: var(--brand); }
.logo--light { color: #fff; }
.logo--light .logo__text b { color: var(--sky); }
.nav-toggle { display: inline-flex; padding: 8px; border: 1px solid var(--line); background: #fff; border-radius: 10px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav { display: none; }
.nav__list { list-style: none; }
.nav__item > a { display: block; padding: 10px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav__item > a[aria-current] { color: var(--brand); }
.menu { list-style: none; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--text); text-decoration: none; border-radius: 8px; font-size: .9375rem; }
.menu a:hover { background: var(--brand-soft); color: var(--brand); }
.menu .icon { color: var(--brand); width: 18px; height: 18px; }
.nav__cta { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1079px) {
  .site-header.is-open .nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; padding: 8px 16px 20px; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .has-menu .menu { display: none; }
  .nav__cta { padding-top: 16px; }
  .nav__cta .btn { flex: 1; }
}
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 24px; }
  .nav__list { display: flex; gap: 4px; }
  .nav__item { position: relative; }
  .nav__item > a { padding: 10px 12px; border-radius: 8px; font-size: .9688rem; }
  .nav__item > a:hover { color: var(--brand); }
  .has-menu > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
  .menu { position: absolute; top: 100%; left: -8px; min-width: 290px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
  .has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bdcc; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% 0%, rgba(110, 168, 255, .28), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(212, 160, 23, .14), transparent 60%), var(--navy); color: #c9d4ea; padding: 56px 0 72px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .hl { background: linear-gradient(90deg, var(--sky), #a9c8ff 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.1875rem; max-width: 36em; margin-bottom: 28px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: .9375rem; }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust .icon { color: var(--wa); width: 18px; height: 18px; }
@media (min-width: 960px) { .hero { padding: 88px 0 100px; } .hero__grid { grid-template-columns: 1.1fr .9fr; } }

.dash { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.dash__bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.dash__bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dash__bar span:nth-child(2) { background: #febc2e; }
.dash__bar span:nth-child(3) { background: #28c840; }
.dash__bar em { margin-left: 10px; font-style: normal; font-size: .8125rem; color: #9fb0d4; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px; }
.dash__kpis small { display: block; font-size: .75rem; color: #9fb0d4; }
.dash__kpis strong { display: block; color: #fff; font-size: 1.05rem; }
.dash__kpis i { font-style: normal; font-size: .72rem; color: #9fb0d4; }
.dash__kpis i.up { color: #4ade80; }
.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin: 14px 0; padding: 14px; background: rgba(255, 255, 255, .05); border-radius: 12px; }
.dash__chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--brand)); }
.dash__chart span:nth-child(1) { height: 42%; } .dash__chart span:nth-child(2) { height: 58%; }
.dash__chart span:nth-child(3) { height: 50%; } .dash__chart span:nth-child(4) { height: 71%; }
.dash__chart span:nth-child(5) { height: 64%; } .dash__chart span:nth-child(6) { height: 83%; }
.dash__chart span:nth-child(7) { height: 77%; } .dash__chart span:nth-child(8) { height: 95%; background: linear-gradient(180deg, #f5d060, var(--accent)); }
.dash__mods { display: flex; flex-wrap: wrap; gap: 8px; }
.dash__mods span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(110, 168, 255, .14); color: #dbe6ff; font-size: .8125rem; }
.dash__mods .icon { width: 15px; height: 15px; }
@media (max-width: 520px) { .dash__kpis strong { font-size: .9rem; } .dash { transform: none; } }

/* Stats */
.stats { background: var(--navy-2); color: #c9d4ea; padding: 28px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stats span { font-size: .9375rem; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 64px; }
.section--alt { background: var(--bg-alt); }
@media (min-width: 960px) { .section { padding: 88px 0; } }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--center { align-items: center; } }

/* Cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin-bottom: 0; }
.card--link { text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--link:hover { border-color: #b8c9f5; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; flex: none; }
.card__icon .icon { width: 24px; height: 24px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 650; color: var(--brand); font-size: .9375rem; }
.card__more .icon { width: 16px; height: 16px; }
.card--industry { border-top: 3px solid var(--accent); }

.feature { display: flex; gap: 16px; }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: #9a7208; flex: none; }
.feature h3 { margin-bottom: .3em; }
.feature p { margin: 0; font-size: .9688rem; }

/* Compare */
.compare { display: grid; gap: 16px; }
@media (min-width: 560px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { border-radius: var(--radius); padding: 24px; }
.compare__col ul { list-style: none; display: grid; gap: 10px; font-size: .9688rem; }
.compare__col li { position: relative; padding-left: 26px; }
.compare__col li::before { position: absolute; left: 0; font-weight: 800; }
.compare__col--before { background: #fdf1f1; }
.compare__col--before li::before { content: "✕"; color: #c0392b; }
.compare__col--after { background: var(--brand-soft); }
.compare__col--after li::before { content: "✓"; color: var(--brand); }

.ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--brand); margin-top: 3px; }

/* App mock */
.app-mock { display: flex; justify-content: center; }
.app-mock__screen { width: 280px; padding: 26px 18px; border-radius: 36px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); border: 8px solid #1d2a4f; color: #c9d4ea; box-shadow: var(--shadow); }
.app-mock__hi { margin: 0; font-size: .875rem; }
.app-mock__title { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 16px; }
.app-mock__row { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: .9rem; color: #fff; }
.app-mock__row small { color: #9fb0d4; }
.app-mock__btn { margin-top: 14px; text-align: center; padding: 11px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step p { margin: 0; }

/* Price */
.price-band { display: grid; gap: 28px; align-items: center; padding: 36px; border-radius: 20px; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); }
@media (min-width: 860px) { .price-band { grid-template-columns: 1.4fr 1fr; padding: 48px 56px; } }
.price-band p:last-child { margin-bottom: 0; }
.price-band__price { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.price-band__price small, .price-band__price span { display: block; color: var(--muted); }
.price-band__price strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.15; }
.price-band__price .btn { margin-top: 12px; }
.price-band__price span + .btn { margin-top: 18px; }

.price-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .price-split { grid-template-columns: 400px 1fr; gap: 64px; } }
.price-card { border: 2px solid var(--brand); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.price-card__from { margin: 0; color: var(--muted); }
.price-card__price { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: .3em; }
.price-card__price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .btn + .btn { margin-top: 10px; }
.pay-note { margin-top: 28px; padding: 16px 20px; border-radius: 12px; background: var(--bg-alt); }

/* Stories */
.stories { display: grid; gap: 20px; }
@media (min-width: 760px) { .stories { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .stories { grid-template-columns: repeat(3, 1fr); } }
.story { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.story blockquote { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.story figcaption { display: flex; flex-direction: column; font-size: .875rem; color: var(--muted); }
.story__stat { font-weight: 800; color: var(--brand); font-size: 1.05rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; cursor: pointer; font-weight: 650; color: var(--ink); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--brand); transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 20px 18px; margin: 0; }

/* CTA band */
.cta-band { background: radial-gradient(800px 400px at 100% 0%, rgba(110, 168, 255, .25), transparent 60%), var(--navy); color: #c9d4ea; padding: 64px 0; }
.cta-band__inner { display: grid; gap: 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; }
.cta-band strong { color: #fff; }
.cta-band__call { font-size: .9375rem; }
.cta-band__call a { color: var(--sky); }

/* Page hero */
.page-hero { background: linear-gradient(180deg, var(--bg-alt), #fff); padding: 40px 0 56px; }
.page-hero--compact { padding-bottom: 24px; }
.page-hero__lead { font-size: 1.1875rem; max-width: 46em; margin-bottom: 28px; }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.outcomes { list-style: none; display: grid; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.outcomes li { display: flex; gap: 10px; font-weight: 600; color: var(--ink); }
.outcomes .icon { color: var(--wa); margin-top: 3px; }

.module-list { display: grid; gap: 16px; }
.module-row { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.module-row h2 { font-size: 1.3rem; margin-bottom: .3em; }
.module-row h2 a { color: var(--ink); text-decoration: none; }
.module-row h2 a:hover { color: var(--brand); }
.module-row .btn { grid-column: 2; justify-self: start; margin-top: 16px; }
@media (min-width: 760px) { .module-row { grid-template-columns: auto 1fr auto; align-items: center; } .module-row .btn { grid-column: auto; margin: 0; } .module-row .card__icon { margin: 0; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .8125rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); }

.pains { list-style: none; display: grid; gap: 12px; }
.pains li { padding: 14px 18px 14px 44px; position: relative; background: #fdf1f1; border-radius: 10px; color: var(--ink); font-weight: 550; }
.pains li::before { content: "!"; position: absolute; left: 16px; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: #c0392b; color: #fff; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.lead { font-size: 1.125rem; color: var(--ink); }

.link-list { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; }
.link-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink); }
.link-list a:hover { border-color: var(--brand); color: var(--brand); }
.link-list .icon { width: 16px; height: 16px; color: var(--brand); }
.grid--1 { margin-top: 24px; }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill-list a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; font-size: .9375rem; }
.pill-list a:hover { border-color: var(--brand); color: var(--brand); }

/* Article / prose */
.prose { padding-bottom: 64px; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 8px; }
.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 20px 24px; margin: 8px 0 24px; }
.toc p { font-weight: 700; color: var(--ink); margin-bottom: .5em; }
.toc ol { gap: 4px; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9688rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-alt); color: var(--ink); }
tbody th { color: var(--ink); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* Quote form */
.quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1fr 340px; } .quote-aside { position: sticky; top: 92px; } }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .quote-form { padding: 36px; } }
.quote-form__title { font-size: 1.5rem; margin-bottom: .2em; }
.quote-form__lead { color: var(--muted); }
.form-grid { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 11px 13px; border: 1.5px solid #cfd6e4; border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 92, 255, .15); }
.field .is-invalid, .field input:user-invalid { border-color: #c0392b; }
.checks { display: grid; gap: 8px; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid #e1e6ef; border-radius: 10px; cursor: pointer; font-size: .9375rem; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--muted); }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 14px 16px; border-radius: 10px; background: #e7f8ee; color: #0f5a2c; }
.form-status.is-error { padding: 14px 16px; border-radius: 10px; background: #fdecec; color: #8f1d1d; }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.aside-card h2 { font-size: 1.15rem; }
.aside-card .btn { margin-bottom: 10px; white-space: normal; }
.aside-card--price { text-align: center; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); border: 0; }
.aside-card--price small, .aside-card--price span { display: block; color: var(--muted); }
.aside-card--price strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); }
.mini-steps { padding-left: 1.2em; display: grid; gap: 8px; font-size: .9688rem; }

.contact-card h2 { font-size: 1.15rem; margin-bottom: .3em; }
.contact-card strong { margin-top: auto; padding-top: 12px; color: var(--brand); word-break: break-word; }
.hours { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 12px; background: var(--bg-alt); }
.hours p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #070e22; color: #9fb0d4; padding: 64px 0 96px; font-size: .9375rem; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__brand p { margin-top: 16px; }
.footer__price strong { color: #fff; }
.site-footer a { color: #c9d4ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer__contact li, .footer__contact a { display: flex; align-items: flex-start; gap: 10px; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--sky); }
.footer__contact--dark { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; }
.footer__contact--dark .icon { color: var(--brand); }
.footer__contact--dark a { color: var(--ink); text-decoration: none; }
.footer__links { margin-top: 20px; padding-top: 16px; border-top: 1px solid #1d2a4f; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1d2a4f; font-size: .875rem; }
.footer__bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(5, 54, 27, .3); transition: transform .15s; }
.wa-float:hover { transform: scale(1.05); color: var(--wa-ink); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } .dash { transform: none; } }
@media print { .site-header, .wa-float, .cta-band, .site-footer { display: none; } }

/* Chat assistant */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.has-chat .wa-float { bottom: 84px; padding: 13px; }
.has-chat .wa-float span { display: none; }
.chat__launcher { position: fixed; right: 16px; bottom: 16px; z-index: 61; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px 13px 16px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(31, 92, 255, .35); transition: transform .15s, background .15s; }
.chat__launcher:hover { background: var(--brand-dark); transform: scale(1.04); }
.chat__launcher svg { width: 24px; height: 24px; }
.chat.is-open .chat__launcher { display: none; }
.chat__panel { position: fixed; right: 16px; bottom: 16px; z-index: 70; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 32px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 21, 48, .25); overflow: hidden; }
.chat__panel[hidden] { display: none; }
@media (max-width: 639px) { .chat__panel { inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; } .chat__launcher span { display: none; } .chat__launcher { padding: 14px; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #c9d4ea; }
.chat__avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; flex: none; }
.chat__avatar svg { width: 20px; height: 20px; }
.chat__title { margin: 0; color: #fff; font-weight: 700; line-height: 1.3; }
.chat__sub { margin: 0; font-size: .8125rem; }
.chat__close { margin-left: auto; display: inline-flex; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.chat__close:hover { background: rgba(255, 255, 255, .12); }
.chat__close svg { width: 22px; height: 22px; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); overscroll-behavior: contain; }
.chat__msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.chat__msg p { margin: 0 0 .5em; }
.chat__msg p:last-child, .chat__msg ul:last-child { margin-bottom: 0; }
.chat__msg ul { list-style: disc; padding-left: 1.2em; margin: 0 0 .5em; display: grid; gap: 3px; }
.chat__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 4px; }
.chat__msg--bot strong { color: var(--ink); }
.chat__msg--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg.typing { color: var(--muted); letter-spacing: .2em; }
.chat__suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg-alt); }
.chat__suggest:empty { display: none; }
.chat__suggest button { padding: 6px 12px; border: 1px solid #c9d6f7; border-radius: 999px; background: #fff; color: var(--brand); font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; }
.chat__suggest button:hover { background: var(--brand-soft); }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat__form input { flex: 1; min-width: 0; padding: 11px 14px; border: 1.5px solid #cfd6e4; border-radius: 999px; font: inherit; font-size: 1rem; color: var(--ink); }
.chat__form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 92, 255, .15); }
.chat__form button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; }
.chat__form button svg { width: 20px; height: 20px; }
.chat__foot { margin: 0; padding: 0 12px 10px; font-size: .8125rem; text-align: center; color: var(--muted); background: #fff; }
@media print { .chat { display: none; } }
.field__hint { font-weight: 500; color: var(--muted); font-size: .8125rem; }

/* Captcha */
.captcha > label { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: 6px; }
.captcha__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.captcha__img { width: 210px; height: 70px; border-radius: 10px; border: 1.5px solid #cfd6e4; background: #f0f4fc; }
.captcha__refresh { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--brand); font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.captcha__refresh:hover { border-color: var(--brand); }
.captcha input { max-width: 260px; text-transform: uppercase; letter-spacing: .15em; font-weight: 700; }
.captcha input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.captcha__help { display: block; margin-top: 6px; color: var(--muted); font-size: .8125rem; }
.captcha[hidden] { display: none; }
.steps--list { list-style: decimal; padding-left: 1.3em; display: grid; gap: 12px; counter-reset: none; grid-template-columns: 1fr; }
.steps--list li { padding-left: 4px; }

/* Quote form after a successful send */
.quote-form.is-sent > :not(.form-done) { display: none; }
.form-done { text-align: center; padding: 24px 8px; outline: none; }
.form-done__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #e7f8ee; color: #0f7a3d; font-size: 2rem; font-weight: 800; }
.form-done h2 { font-size: 1.6rem; }
.form-done p { max-width: 34em; margin-left: auto; margin-right: auto; }
