:root {
  --brand: #0f6c7b;
  --brand-deep: #0a4f5b;
  --brand-soft: #e9f4f7;
  --cta: #ec8f2f;
  --text-main: #1a2b33;
  --text-soft: #58707b;
  --line-soft: #cfe0e7;
  --font-body: "Avenir Next", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Trebuchet MS", "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.landing,
body.legal-page {
  font-family: var(--font-body);
  color: var(--text-main);
}

body.landing {
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
.brand-text,
.section-kicker {
  font-family: var(--font-heading);
}

section[id],
main[id] {
  scroll-margin-top: 5.6rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 1000;
  background: var(--brand-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
}

.skip-link:focus {
  top: 1rem;
}

.brand-text {
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.landing footer .brand-text,
.legal-page footer .brand-text {
  color: #f8fbfd;
}

.navbar {
  --bs-navbar-padding-y: 0.65rem;
}

.landing header.sticky-top,
.legal-page header.sticky-top {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.92) !important;
}

.navbar .nav-link {
  font-weight: 600;
  color: #385865;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 3px;
  background: var(--brand);
  opacity: 0;
  transform: scaleX(0.65);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--brand-deep);
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar .nav-link.is-active {
  color: var(--brand-deep);
}

.navbar .nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: #b6ced7;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-deep);
  --bs-btn-hover-border-color: var(--brand-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-deep);
  --bs-btn-active-border-color: var(--brand-deep);
  --bs-btn-focus-shadow-rgb: 15, 108, 123;
  font-weight: 700;
  border-radius: 0.72rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--cta);
  --bs-btn-border-color: var(--cta);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d0781c;
  --bs-btn-hover-border-color: #d0781c;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #c66e14;
  --bs-btn-active-border-color: #c66e14;
  --bs-btn-focus-shadow-rgb: 236, 143, 47;
  font-weight: 700;
  border-radius: 0.72rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover,
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.55rem 1.2rem rgba(16, 73, 84, 0.17);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  font-size: 0.79rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--brand-deep);
}

main > section.py-5 {
  padding-top: clamp(2.3rem, 4.2vw, 3.25rem) !important;
  padding-bottom: clamp(2.3rem, 4.2vw, 3.25rem) !important;
}

.hero-section {
  background:
    radial-gradient(circle at 7% 0%, rgba(15, 108, 123, 0.11), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(236, 143, 47, 0.14), transparent 38%),
    #f6fafc;
  position: relative;
  overflow: clip;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 108, 123, 0.16), rgba(15, 108, 123, 0));
  pointer-events: none;
}

.hero-section h1 {
  max-width: 16ch;
  text-wrap: balance;
}

.hero-section .lead {
  max-width: 58ch;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #c7dce4;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.88);
  color: #254955;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-badge i {
  color: var(--brand-deep);
}

.hero-section .display-5 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.hero-card {
  background:
    radial-gradient(circle at 90% 10%, rgba(236, 143, 47, 0.2), transparent 34%),
    linear-gradient(165deg, #ffffff, #f2f9fc);
  border: 1px solid #c7dce4;
}

.metric-box {
  border: 1px solid #bfd7df;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.32rem;
  min-height: 92px;
  text-align: center;
  line-height: 1.1;
}

.metric-box strong {
  font-size: 1.07rem;
  color: var(--brand-deep);
}

.metric-box span {
  font-size: 0.72rem;
  color: #54666f;
}

.trust-strip {
  border: 1px solid #c8dce4;
  background:
    radial-gradient(circle at 16% 10%, rgba(15, 108, 123, 0.1), transparent 38%),
    linear-gradient(165deg, #ffffff, #f5fbfd);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #375764;
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-item i {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: #e3f2f6;
  color: var(--brand-deep);
  flex: 0 0 2rem;
}

.local-market-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(15, 108, 123, 0.12), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(236, 143, 47, 0.14), transparent 38%),
    #f4fafc;
}

.local-market-shell {
  border: 1px solid #cfe1e8;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(236, 143, 47, 0.16), transparent 28%),
    linear-gradient(165deg, #ffffff, #f7fcfe);
  box-shadow: 0 1rem 2rem rgba(10, 55, 64, 0.08);
}

.local-market-copy {
  display: grid;
  gap: 1rem;
}

.local-market-copy h2 {
  max-width: 15ch;
}

.local-market-copy .lead {
  max-width: 60ch;
  color: #4c6671;
}

.local-point-grid {
  display: grid;
  gap: 0.8rem;
}

.local-point {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border: 1px solid #d4e5eb;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
}

.local-point i {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.72rem;
  background: #e4f3f7;
  color: var(--brand-deep);
  flex: 0 0 2.15rem;
}

.local-point strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #1e4552;
}

.local-point span {
  color: #55707b;
  font-size: 0.92rem;
}

.local-market-card {
  border: 1px solid #d0e3ea;
  background: linear-gradient(165deg, #ffffff, #f8fcfe);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.local-market-card:hover {
  transform: translateY(-2px);
  border-color: #a8c8d3;
  box-shadow: 0 0.95rem 1.8rem rgba(10, 55, 64, 0.11) !important;
}

.local-market-card .local-market-badge {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: #edf8fb;
  color: #2a5966;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.local-market-card p:last-child {
  margin-bottom: 0;
}

.local-market-cta {
  border: 1px solid #d1e2e8;
  background:
    radial-gradient(circle at 88% 10%, rgba(15, 108, 123, 0.12), transparent 32%),
    linear-gradient(160deg, #ffffff, #f5fafc);
}

.segment-navbar {
  --bs-navbar-padding-y: 0.65rem;
}

.segment-navbar .navbar-collapse {
  align-items: center;
}

.segment-navbar .navbar-nav {
  row-gap: 0.2rem;
}

.segment-navbar .btn.btn-brand {
  white-space: nowrap;
}

.trust-pill {
  border-color: #c6dae2 !important;
  color: #31515d !important;
  font-weight: 700;
}

.fit-card {
  border: 1px solid #cde0e8;
  background: linear-gradient(165deg, #ffffff, #f8fcfd);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.85rem 1.8rem rgba(13, 62, 72, 0.12) !important;
}

#about .card,
#process .card {
  border: 1px solid #d6e5eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#about .card:hover,
#process .card:hover {
  transform: translateY(-2px);
  border-color: #aecad4;
  box-shadow: 0 0.85rem 1.7rem rgba(11, 55, 65, 0.1) !important;
}

.case-card {
  border: 1px solid #d4e4ea;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: #a8c6d1;
}

.case-badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: #edf8fb;
  color: #2d5e6d;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.segment-links .btn {
  border-color: #bdd5de;
  color: #2e5663;
  font-weight: 600;
}

.service-card {
  border: 1px solid #d5e4ea;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card .card-body {
  position: relative;
}

.service-card .card-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 3px;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(to bottom, #0f6c7b, #37a2b4);
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: #a7c8d3;
  box-shadow: 0 0.8rem 1.7rem rgba(13, 62, 72, 0.11) !important;
}

.scope-card {
  border: 1px solid #d1e3ea;
  background: linear-gradient(165deg, #ffffff, #f8fcfe);
}

.scope-list {
  padding-left: 1.2rem;
  color: #3d5d69;
}

.scope-list li + li {
  margin-top: 0.34rem;
}

.table-incident {
  --bs-table-bg: transparent;
}

.table-incident thead th {
  background: #f1f8fb;
  color: #2c5260;
  font-weight: 700;
  border-color: #d8e7ed;
}

.table-incident td,
.table-incident th {
  border-color: #dbe8ee;
  vertical-align: middle;
}

.priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.2rem 0.52rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.priority-pill.p1 {
  color: #8b1c1c;
  background: #ffe3e3;
}

.priority-pill.p2 {
  color: #865200;
  background: #fff0d3;
}

.priority-pill.p3 {
  color: #20596a;
  background: #e2f3f8;
}

.onboarding-card {
  border: 1px solid #d2e4eb;
  background: linear-gradient(170deg, #ffffff, #f7fcfe);
}

.onboarding-day {
  display: inline-flex;
  margin-bottom: 0.56rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #e8f5f9;
  color: #2a5966;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.proof-card,
.knowledge-card,
.extra-card {
  border: 1px solid #d4e4eb;
  background: linear-gradient(165deg, #ffffff, #f8fcfe);
}

.extra-card .h3 {
  color: var(--brand-deep);
}

.popularity-card {
  border: 1px solid #acd1dc;
  background: linear-gradient(170deg, #ffffff, #eff8fb);
}

.plan-card {
  border: 1px solid #d3e3ea;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: #a7c7d3;
  box-shadow: 0 1rem 1.95rem rgba(9, 53, 62, 0.12) !important;
}

.plan-card-popular {
  position: relative;
}

.plan-card-popular::after {
  content: "Лучший баланс";
  position: absolute;
  top: -0.72rem;
  right: 1rem;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #264a56;
  background: #ffe29f;
  border: 1px solid #f2ca68;
  border-radius: 999px;
  padding: 0.24rem 0.54rem;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.25rem;
}

.table-compare {
  --bs-table-bg: transparent;
}

.table-compare thead th {
  background: #f1f8fb;
  color: #2f515d;
  font-weight: 700;
  white-space: nowrap;
}

.table-compare tbody th {
  font-weight: 600;
  color: #2f515d;
  background: #fbfeff;
}

.table-compare td,
.table-compare th {
  border-color: #d9e7ed;
  vertical-align: middle;
}

.table-compare tbody tr:hover td,
.table-compare tbody tr:hover th {
  background: #f7fcfe;
}

#plans .table-responsive {
  border-radius: 0.95rem;
}

.monitor-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(15, 108, 123, 0.12), transparent 32%),
    radial-gradient(circle at 96% 85%, rgba(236, 143, 47, 0.12), transparent 35%),
    #f7fbfd;
}

.monitor-card {
  border: 1px solid #d0e2e9;
  background: linear-gradient(170deg, #ffffff, #f8fcfe);
}

.infra-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.infra-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  border: 1px solid #bfd9e3;
  border-radius: 0.72rem;
  background: #ffffff;
  padding: 0.45rem 0.62rem;
}

.infra-chip strong {
  font-size: 0.9rem;
  color: #224e5b;
}

.infra-chip em {
  font-style: normal;
  color: #506a76;
  font-size: 0.77rem;
}

.status-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-pill-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  border: 1px solid #c1dce6;
  border-radius: 999px;
  background: #eef8fb;
  color: #1f4c59;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
}

.comparison-mobile {
  display: grid;
  gap: 0.82rem;
}

.comparison-mobile-card {
  border: 1px solid #d3e4ea;
  border-radius: 0.95rem;
  background: linear-gradient(165deg, #ffffff, #f7fcfe);
  box-shadow: 0 0.55rem 1.15rem rgba(10, 54, 63, 0.08);
  padding: 0.9rem;
}

.comparison-mobile-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.comparison-mobile-price {
  color: #1f4f5d;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.comparison-mobile-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.72rem;
  border-top: 1px dashed #d6e6ed;
  padding: 0.42rem 0;
  font-size: 0.9rem;
}

.comparison-mobile-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.comparison-mobile-list li:last-child {
  padding-bottom: 0;
}

.comparison-mobile-list span {
  color: #48626f;
}

.comparison-mobile-list strong {
  color: #1e4855;
  text-align: right;
}

.calc-intro {
  background:
    radial-gradient(circle at 90% 12%, rgba(15, 108, 123, 0.14), transparent 38%),
    linear-gradient(160deg, #ffffff, #f4fafc);
}

#calculator .card,
#automation .card,
#contacts .card {
  border-radius: 1rem;
}

.calc-form-card {
  border: 1px solid #d1e2e9;
  background: linear-gradient(180deg, #ffffff, #fbfeff);
}

.calc-form-card fieldset {
  border-color: #c9dee7 !important;
  background: #fbfeff;
}

#calculatorForm .card-body {
  padding-bottom: 1.2rem;
}

.option-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #cfe0e7;
  border-radius: 0.85rem;
  background: #f8fcfd;
  padding: 0.6rem 0.66rem;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.option-card:hover {
  border-color: #98bcc8;
  transform: translateY(-1px);
}

.option-card span {
  display: grid;
  gap: 0.05rem;
}

.option-card strong {
  font-size: 0.89rem;
}

.option-card small {
  font-size: 0.72rem;
  color: #52656e;
}

.option-card em {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-deep);
  font-size: 0.84rem;
  text-align: right;
}

.option-card.is-selected,
.option-card:has(input:checked) {
  border-color: #23899a;
  background: #edf8fb;
}

.option-card.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  border-style: dashed;
}

.option-card.is-disabled:hover {
  transform: none;
  border-color: #cfe0e7;
}

.option-card.is-disabled em {
  color: #556c75;
}

.calc-result-card {
  color: #f3fbfd;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(165deg, #0f6c7b, #0b4e5a);
  box-shadow: 0 1.3rem 2rem rgba(7, 42, 49, 0.25) !important;
  position: sticky;
  top: 5.75rem;
  max-width: 430px;
  margin-left: auto;
  animation: popIn 0.34s ease both;
}

#calcResult[hidden] {
  display: none !important;
}

.result-plan,
.result-options,
.result-price {
  color: #ffffff;
}

.result-price {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-family: var(--font-heading);
  font-weight: 700;
}

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: rgba(240, 249, 251, 0.82);
}

.result-line strong {
  color: #ffffff;
}

.hint-box {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.85rem;
  background: rgba(7, 54, 64, 0.35);
  padding: 0.75rem 0.82rem;
}

.hint-box ul {
  color: #d7ecf1;
  font-size: 0.87rem;
}

.automation-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(236, 143, 47, 0.16), transparent 36%),
    radial-gradient(circle at 8% 92%, rgba(15, 108, 123, 0.14), transparent 42%),
    #f7fbfd;
}

.automation-card {
  border: 1px solid #cfe0e8;
  background: linear-gradient(165deg, #ffffff, #f8fcfe);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.automation-card .card-body {
  display: grid;
  gap: 0.7rem;
}

.automation-card h3 {
  margin: 0;
}

.automation-card p {
  font-size: 0.95rem;
}

.automation-card:hover {
  transform: translateY(-3px);
  border-color: #a8c6d1;
  box-shadow: 0 0.9rem 1.85rem rgba(10, 56, 65, 0.12) !important;
}

.automation-icon {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  background: linear-gradient(165deg, #e3f3f7, #f4fbfe);
  color: var(--brand-deep);
  font-size: 1.1rem;
}

.automation-cta {
  color: #f3fbfd;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 0% 100%, rgba(236, 143, 47, 0.3), transparent 45%),
    linear-gradient(155deg, #0a4f5b, #0f6c7b);
  border: 1px solid rgba(176, 217, 227, 0.4);
}

.automation-cta .text-light-emphasis {
  color: rgba(234, 246, 251, 0.9) !important;
}

.automation-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(230, 247, 252, 0.42);
  background: rgba(245, 252, 255, 0.08);
  padding: 0.3rem 0.64rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.automation-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
}

.automation-steps span {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(231, 246, 251, 0.15);
  border: 1px solid rgba(231, 246, 251, 0.38);
  padding: 0.36rem 0.66rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: #e9f7fb;
}

.form-label {
  font-weight: 700;
}

.lead-form-card {
  position: relative;
  border: 1px solid #d3e3ea;
  background: linear-gradient(180deg, #ffffff, #fbfeff);
}

.contact-info-card {
  border: 1px solid #d4e3ea;
  background: linear-gradient(170deg, #ffffff, #f6fbfd);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.form-control,
.form-select,
textarea.form-control {
  border-color: #c9dbe3;
  background: #fcfeff;
  min-height: 2.7rem;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #64a8b6;
  box-shadow: 0 0 0 0.24rem rgba(15, 108, 123, 0.12);
}

.message-helper {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.message-helper span:last-child {
  font-weight: 700;
  color: #3c5f6d;
  white-space: nowrap;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  border: 1px solid #d2e3e9;
  border-radius: 0.7rem;
  background: #f8fcfd;
  padding: 0.55rem 0.6rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
}

.consent.invalid {
  border-color: #c73838;
  background: #fff7f7;
}

.field-error {
  min-height: 1.2em;
  margin: 0.22rem 0 0;
  font-size: 0.84rem;
  color: #9d2121;
}

.form-control.is-invalid,
.form-select.is-invalid,
textarea.is-invalid {
  border-color: #c73838;
  background: #fff7f7;
}

.form-status {
  min-height: 1.3em;
  font-size: 0.93rem;
}

.form-status.error {
  color: #9d2121;
}

.form-status.success {
  color: #126733;
}

#faq .accordion-item {
  border: 1px solid #d5e4ea;
}

#faq .accordion-button {
  font-weight: 700;
  color: #244957;
}

#faq .accordion-button:not(.collapsed) {
  color: #173b47;
  background: #eff8fb;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.72rem 0.8rem calc(0.72rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.84));
  border-top: 1px solid #d6e6ed;
  backdrop-filter: blur(7px);
  box-shadow: 0 -0.25rem 1rem rgba(15, 59, 68, 0.12);
  animation: ctaRise 0.28s ease both;
}

footer ul li {
  margin-bottom: 0.35rem;
}

.legal-hero {
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 108, 123, 0.1), transparent 38%),
    #f4fafd;
}

.legal-card {
  border: 1px solid #d2e3e9;
  border-radius: 1rem;
  background: linear-gradient(170deg, #ffffff, #fcfeff);
  box-shadow: 0 0.85rem 1.7rem rgba(13, 62, 72, 0.08);
  position: relative;
  overflow: clip;
}

.legal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(to bottom, rgba(15, 108, 123, 0.95), rgba(236, 143, 47, 0.82));
}

.segment-hero-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(236, 143, 47, 0.16), transparent 30%),
    linear-gradient(170deg, #ffffff, #f7fcfe);
}

.case-catalog-hero h1 {
  max-width: 13ch;
}

.catalog-position-card {
  height: 100%;
  border: 1px solid #d4e5eb;
  border-radius: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(236, 143, 47, 0.14), transparent 34%),
    linear-gradient(165deg, #ffffff, #f6fbfd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.catalog-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.catalog-path-node {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #c7dde5;
  background: rgba(255, 255, 255, 0.96);
  color: #244753;
  font-size: 0.84rem;
  font-weight: 700;
}

.catalog-path-node.is-current {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.catalog-path-divider {
  color: #7a8f98;
  font-weight: 800;
}

.catalog-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.catalog-mini-grid div {
  border: 1px solid #d4e5eb;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.8rem;
}

.catalog-mini-grid strong {
  display: block;
  color: var(--brand-deep);
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.catalog-mini-grid span {
  display: block;
  font-size: 0.8rem;
  color: #58707b;
  line-height: 1.35;
}

.case-route {
  margin-bottom: 0.8rem;
  color: #67808b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-card-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: #edf8fb;
  color: #2a5966;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.page-section-nav {
  border: 1px solid #d2e3e9;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 108, 123, 0.08), transparent 30%),
    linear-gradient(165deg, #ffffff, #f8fcfe);
  box-shadow: 0 0.7rem 1.5rem rgba(11, 54, 63, 0.08);
}

.page-section-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-section-nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #c7dde5;
  background: rgba(255, 255, 255, 0.92);
  color: #234754;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-section-nav-list a:hover,
.page-section-nav-list a:focus {
  transform: translateY(-1px);
  border-color: #9cc1cc;
  box-shadow: 0 0.45rem 1rem rgba(10, 55, 64, 0.1);
}

.intent-card {
  border: 1px solid #d4e5eb;
  background: linear-gradient(165deg, #ffffff, #f8fcfe);
}

.intent-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.64rem;
  border-radius: 999px;
  background: #edf8fb;
  color: #2a5966;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.max-note-card {
  border: 1px solid #d3e4ea;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(236, 143, 47, 0.14), transparent 34%),
    linear-gradient(160deg, #ffffff, #f6fbfd);
}

.max-note-card p:last-child,
.max-note-card ul:last-child {
  margin-bottom: 0;
}

.legal-page .display-6,
.legal-page .h4,
.legal-page .h5 {
  text-wrap: balance;
}

.legal-page main .card.border-0.shadow-sm,
.legal-page main .card.border-0.bg-body-tertiary {
  border: 1px solid #d4e5eb !important;
  background: linear-gradient(165deg, #ffffff, #f8fcfe) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-page main .card.border-0.shadow-sm:hover,
.legal-page main .card.border-0.bg-body-tertiary:hover {
  transform: translateY(-2px);
  border-color: #afccd6 !important;
  box-shadow: 0 0.95rem 1.8rem rgba(10, 55, 64, 0.11) !important;
}

.legal-card section + section {
  margin-top: 1.3rem;
}

.legal-card h1 {
  margin-bottom: 0.8rem;
}

.legal-card h2 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.legal-card p,
.legal-card li {
  color: #395764;
}

.legal-links a {
  color: #d5e8ef;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.status-shell {
  background:
    radial-gradient(circle at 14% 0%, rgba(15, 108, 123, 0.12), transparent 34%),
    #f5fafc;
  min-height: 100vh;
}

.status-card {
  border: 1px solid #d0e2e9;
  border-radius: 1rem;
  background: linear-gradient(170deg, #ffffff, #f9fcfe);
  box-shadow: 0 0.85rem 1.7rem rgba(13, 62, 72, 0.09);
}

.status-metric {
  border: 1px solid #c8dee7;
  border-radius: 0.85rem;
  background: #ffffff;
  padding: 0.75rem;
  text-align: center;
}

.status-metric strong {
  display: block;
  font-size: 1.18rem;
  color: #1d4d5a;
}

.status-metric span {
  font-size: 0.78rem;
  color: #58707b;
}

.status-service-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.16rem 0.54rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-service-pill.up {
  background: #dff4e6;
  color: #1d7a3f;
}

.status-service-pill.warning {
  background: #fff0d7;
  color: #8b5a00;
}

.status-service-pill.down {
  background: #ffe4e4;
  color: #a02929;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobileNavIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ctaRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  body.landing {
    padding-bottom: 4.85rem;
  }

  .hero-section h1 {
    max-width: 20ch;
  }

  .hero-section .display-5 {
    font-size: clamp(1.86rem, 6vw, 2.62rem);
  }

  .hero-section .lead {
    max-width: 100%;
  }

  .navbar-collapse {
    margin-top: 0.55rem;
    padding: 0.6rem 0.62rem;
    border: 1px solid #d2e3e9;
    border-radius: 0.8rem;
    background: #ffffff;
    box-shadow: 0 0.7rem 1.4rem rgba(10, 52, 61, 0.09);
  }

  .navbar-collapse.show {
    animation: mobileNavIn 0.24s ease both;
  }

  .navbar .nav-link::after {
    left: 0;
    right: 60%;
    bottom: 0;
  }

  .navbar .btn.btn-brand {
    width: 100%;
    margin-top: 0.25rem;
  }

  .calc-result-card {
    position: static;
    max-width: 100%;
    margin-left: 0;
  }

  .automation-cta .d-flex.gap-2 {
    flex-direction: column;
  }

  .option-card {
    grid-template-columns: auto 1fr;
  }

  .option-card em {
    grid-column: 2;
  }

  .plan-card .card-body,
  .calc-intro .card-body,
  .calc-form-card .card-body,
  .calc-result-card .card-body,
  .lead-form-card .card-body {
    padding: 1rem !important;
  }

  .plan-grid .btn {
    width: 100%;
  }

  .status-pill-grid span {
    width: 100%;
    justify-content: center;
  }

  .local-market-copy h2 {
    max-width: 100%;
  }

  .segment-navbar .btn.btn-brand {
    width: 100%;
    margin-top: 0.25rem;
  }

  .page-section-nav-list a {
    width: 100%;
  }

  .catalog-mini-grid {
    grid-template-columns: 1fr;
  }

  .comparison-mobile-card {
    padding: 0.82rem;
  }

  .comparison-mobile-list li {
    font-size: 0.86rem;
  }

  .table-compare thead th {
    white-space: normal;
  }

  .plan-card-popular::after {
    top: -0.62rem;
    right: 0.72rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 2.2rem;
  }

  .hero-section::after {
    width: 300px;
    height: 300px;
    right: -145px;
    bottom: -185px;
  }

  .btn.btn-lg {
    width: 100%;
  }

  #calculatorForm .btn,
  #calcToForm {
    width: 100%;
  }

  .metric-box {
    min-height: 62px;
  }

  .trust-item {
    font-size: 0.9rem;
  }

  .message-helper {
    flex-direction: column;
    gap: 0.25rem;
  }

  .message-helper span:last-child {
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  section[id],
  main[id] {
    scroll-margin-top: 4.95rem;
  }

  .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .plan-card-popular::after {
    right: 0.55rem;
    font-size: 0.64rem;
    padding: 0.2rem 0.48rem;
  }

  .comparison-mobile-head {
    align-items: start;
    flex-direction: column;
    gap: 0.16rem;
  }

  .segment-links .btn {
    width: 100%;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
  }

  .table-incident {
    min-width: 690px;
  }
}

@media (min-width: 1400px) {
  .landing .container {
    max-width: 1240px;
  }

  .hero-section h1 {
    max-width: 18ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

[v-cloak] {
  display: none;
}
