:root {
  --bg: #eff7fb;
  --bg-soft: #fbfeff;
  --card: rgba(255, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.94);
  --text: #18364d;
  --muted: #567286;
  --line: #8fb4c8;
  --line-soft: #c4dceb;
  --accent: #12b7ea;
  --accent-2: #17d59a;
  --accent-gradient: linear-gradient(128deg, var(--accent), var(--accent-2));
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 18px 40px rgba(57, 103, 128, 0.12);
  --admin-bg: #0f1e2b;
  --admin-card: #13293a;
  --admin-row: #18344a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1200px 700px at 8% -12%, rgba(18, 183, 234, 0.22), transparent 62%),
    radial-gradient(1020px 620px at 92% -16%, rgba(23, 213, 154, 0.16), transparent 64%),
    linear-gradient(180deg, #fbfeff 0%, #eef7fb 54%, #e6f3f7 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
.brand {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

a {
  color: inherit;
  text-decoration: none;
}

main,
.site-footer {
  width: min(1248px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

main {
  padding-top: 1.2rem;
  padding-bottom: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(151, 184, 199, 0.65);
  backdrop-filter: blur(12px);
  background: rgba(246, 251, 252, 0.84);
}

.site-header-inner {
  width: min(1248px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  padding: 0.3rem 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
  border-color: rgba(46, 178, 227, 0.8);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(53, 200, 244, 0.42);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 250, 0.96));
  color: #17455e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  color: #07303e;
  border-color: transparent;
  background: var(--accent-gradient);
  box-shadow: 0 12px 26px rgba(27, 194, 228, 0.2);
}

.header-telegram {
  white-space: nowrap;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.hero,
.section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 251, 0.94));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin: 1.25rem 0;
  padding: 2.05rem;
  backdrop-filter: blur(8px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.45rem;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  padding-right: 1rem;
}

.hero-intro-line {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.hero-intro-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #557182;
}

.hero-intro-line span::before {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(23, 126, 161, 0.15), rgba(23, 126, 161, 0.8));
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.95rem);
  max-width: 12ch;
  letter-spacing: -0.045em;
  line-height: 1.01;
}

.hero-text {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-editorial-note {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  padding: 1rem 1.1rem 1rem 1.2rem;
  border-left: 3px solid rgba(39, 201, 255, 0.72);
  background: linear-gradient(90deg, rgba(39, 201, 255, 0.08), rgba(255, 255, 255, 0));
}

.hero-editorial-note strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
}

.hero-editorial-note p {
  margin: 0;
  color: var(--muted);
}

.hero-proof-strip {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.hero-proof-strip span {
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #cde0e8;
  color: #587385;
  font-size: 0.84rem;
}

.hero-panel {
  background: var(--card-strong);
  border: 1px solid #bdd7e3;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(103, 142, 162, 0.1);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(39, 201, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%);
  pointer-events: none;
}

.hero-panel h3 {
  margin-bottom: 0.45rem;
}

.hero-panel-text {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.hero-panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  color: #7290a2;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-hero {
  margin-top: 1.25rem;
}

.home-section {
  margin: 3.15rem 0;
  position: relative;
  overflow: visible;
}

.home-section + .home-section {
  margin-top: 3.4rem;
}

.home-section::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(40, 208, 243, 0.38), rgba(68, 232, 178, 0.36), rgba(40, 208, 243, 0.15));
}

.home-section:nth-of-type(2n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 249, 250, 0.96));
  border-color: #c2d7e0;
}

.home-section:nth-of-type(2n + 1) {
  background: linear-gradient(180deg, rgba(252, 255, 255, 0.94), rgba(241, 248, 249, 0.98));
}

.story-section {
  padding-top: 2.65rem;
}

.story-section::after {
  content: attr(data-stage);
  position: absolute;
  top: -0.68rem;
  left: 1.15rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border: 1px solid #a8c8d7;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #1d6984;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.58rem;
}

.hero-outcomes {
  margin: 0 0 0.9rem;
}

.hero-outcomes h4 {
  margin: 0 0 0.45rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.hero-outcomes-grid {
  display: grid;
  gap: 0.48rem;
}

.hero-outcomes-grid article {
  border: 1px solid #c1d7e1;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.82);
}

.hero-outcomes-grid strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}

.hero-outcomes-grid span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-tasks {
  margin: 0.5rem 0 0;
}

.hero-tasks-label {
  margin: 0 0 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #496477;
}

.hero-task-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.hero-task-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #bfd6e0;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-task-chip:hover {
  border-color: var(--accent);
  background: rgba(18, 183, 234, 0.1);
  transform: translateY(-1px);
}

.hero-task-chip:active {
  transform: scale(0.97);
  transition-duration: 60ms;
}

.hero-task-chip.selected {
  border-color: var(--accent);
  background: rgba(39, 201, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(39, 201, 255, 0.3);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(39, 201, 255, 0.12);
  flex-shrink: 0;
  color: var(--accent);
}

.chip-icon svg {
  width: 15px;
  height: 15px;
}

.hero-panel-result {
  margin-top: 0.9rem;
  padding: 0.85rem;
  border: 1px solid #bdd7e3;
  border-radius: var(--radius-sm);
  background: rgba(249, 253, 253, 0.86);
}

.hero-panel-result h4 {
  margin: 0 0 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.hero-panel-result p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel-result .btn {
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .hero-task-chips {
    grid-template-columns: 1fr;
  }

  .hero-intro-line {
    gap: 0.45rem;
  }

  .hero-editorial-note {
    padding: 0.9rem 0.9rem 0.9rem 1rem;
  }

  .hero-proof-strip span {
    width: calc(50% - 0.28rem);
    justify-content: center;
  }
}

.product-proof {
  background:
    linear-gradient(180deg, rgba(250, 254, 255, 0.92), rgba(242, 249, 250, 0.96));
}

.integration-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.85rem;
}

.integration-group {
  border: 1px solid #c4d9e3;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.84), rgba(244, 250, 251, 0.94));
  padding: 0.75rem;
}

.integration-group h3 {
  font-size: 0.92rem;
  margin-bottom: 0.42rem;
}

.proof-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.proof-logos span {
  border: 1px solid #bfd6e0;
  border-radius: 999px;
  padding: 0.26rem 0.66rem;
  font-size: 0.84rem;
  color: #607c8d;
  background: rgba(255, 255, 255, 0.78);
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.proof-metrics article {
  border: 1px solid #bfd6e0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.72rem 0.8rem;
}

.proof-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.03rem;
  margin-bottom: 0.1rem;
}

.proof-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
}

.outcome-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.bento-card {
  border: 1px solid #bfd6e0;
  border-radius: 12px;
  padding: 0.9rem;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(243, 250, 251, 0.96));
}

.bento-card:nth-child(2) {
  background: linear-gradient(155deg, rgba(248, 254, 255, 0.94), rgba(240, 249, 250, 0.98));
  border-color: #c3d8e2;
}

.bento-card:nth-child(3) {
  background: linear-gradient(155deg, rgba(252, 255, 255, 0.94), rgba(241, 248, 249, 0.98));
  border-color: #c5d9e3;
}

.bento-card h3 {
  margin-bottom: 0.35rem;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
}

.bento-wide {
  grid-column: span 2;
}

.hero-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.hero-metrics article {
  border: 1px solid #bfd5df;
  border-radius: var(--radius-sm);
  padding: 0.95rem 0.82rem;
  background: rgba(255, 255, 255, 0.76);
  min-height: 122px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.08rem;
  font-family: "Space Grotesk", sans-serif;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.84rem;
}

.kicker {
  color: var(--accent-2);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.section h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.section-subtitle {
  color: var(--muted);
  margin-top: -0.2rem;
  margin-bottom: 0.85rem;
}

.catalog-section .section-subtitle {
  max-width: 62ch;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.trust-card {
  border: 1px solid #c4d8e2;
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.74);
}

.feature-list {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
}

textarea,
input,
select,
button {
  font: inherit;
}

textarea,
input,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border: 1px solid #bfd6e0;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.8rem;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

textarea:focus,
input:focus,
select:focus {
  outline: none;
  border-color: #34c8f9;
  box-shadow: 0 0 0 3px rgba(52, 200, 249, 0.16);
}

.hero-input-wrap label {
  display: block;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.72rem;
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.68rem 1.05rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 80ms;
}

.btn:disabled {
  opacity: 0.67;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #04131a;
  box-shadow: 0 10px 26px rgba(43, 204, 230, 0.26);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.58);
  border-color: #a8c7d5;
  color: var(--text);
}

.btn.small {
  padding: 0.42rem 0.68rem;
}

.chips {
  display: flex;
  gap: 0.58rem;
  flex-wrap: wrap;
  margin-top: 0.78rem;
}

.chip {
  appearance: none;
  border: 1px solid #b4cfdb;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  border-radius: 999px;
  padding: 0.46rem 0.88rem;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: #4c90ad;
}

.chip.active {
  border-color: #28bff1;
  background: rgba(39, 201, 255, 0.12);
}

.chip.in-view {
  border-color: var(--accent);
  background: rgba(39, 201, 255, 0.12);
  color: #0f607c;
}

.result-card {
  margin-top: 1rem;
  padding: 1.05rem 1.1rem;
  border: 1px solid #bdd7e3;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.compact-section {
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.quick-nav-section {
  background: linear-gradient(180deg, rgba(12, 33, 46, 0.88), rgba(8, 26, 36, 0.95));
}

.flow-divider {
  margin: 2.25rem 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c8798;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.flow-divider::before,
.flow-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(40, 208, 243, 0.04), rgba(40, 208, 243, 0.44), rgba(62, 240, 176, 0.3));
}

.flow-divider::before {
  margin-right: 0.7rem;
}

.flow-divider::after {
  margin-left: 0.7rem;
  transform: scaleX(-1);
}

.flow-divider span {
  border: 1px solid #c8dde6;
  border-radius: 999px;
  padding: 0.24rem 0.72rem;
  background: rgba(255, 255, 255, 0.96);
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.grid-form label {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.grid-form button,
.grid-form label:has(textarea) {
  grid-column: 1 / -1;
}

.calc-result {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(248, 253, 253, 0.92);
  border: 1px solid #bfd6e0;
}

.quick-form {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.95fr);
  gap: 0.9rem;
  align-items: start;
}

.quick-form label {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.quick-form-task {
  grid-column: 1;
}

.quick-form-contact {
  grid-column: 2;
  align-self: end;
}

.quick-form textarea {
  min-height: 96px;
}

.quick-form-consent,
.quick-form-actions {
  grid-column: 1 / -1;
}

.quick-form-consent {
  margin: 0.15rem 0 0;
  max-width: 760px;
}

.quick-form-actions {
  display: flex;
  justify-content: flex-start;
}

.quick-form-actions .btn {
  min-width: 320px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.service-card {
  padding: 1.04rem;
  border: 1px solid #c4d8e2;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #83bfd3;
  box-shadow: 0 16px 30px rgba(80, 122, 146, 0.16);
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  padding: 1.25rem 1.2rem 1.08rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 251, 0.96));
  position: relative;
  overflow: hidden;
}

.package-card h3 {
  margin: 0 0 0.08rem;
  line-height: 1.3;
  font-size: 1.42rem;
}

.package-card p {
  margin: 0;
  line-height: 1.55;
}

.package-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #c8dce5;
  background: rgba(255, 255, 255, 0.84);
  color: #5e7788;
  padding: 0.26rem 0.68rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.package-list {
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
  color: var(--text);
  font-size: 0.92rem;
}

.package-list li {
  position: relative;
  padding-left: 1.1rem;
}

.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(39, 201, 255, 0.08);
}

.package-meta {
  margin-top: auto;
  padding-top: 0.62rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.package-meta span {
  border: 1px solid #b8d0db;
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  font-size: 0.84rem;
  color: #5d7787;
  white-space: nowrap;
}

.package-card .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.package-card.featured {
  border-color: var(--accent);
  padding-top: 1.35rem;
  background:
    linear-gradient(180deg, rgba(250, 255, 255, 0.98), rgba(239, 250, 251, 0.98));
  box-shadow: 0 0 0 1px rgba(39, 201, 255, 0.18), 0 16px 38px rgba(80, 122, 146, 0.18);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: var(--accent-gradient);
  color: #04131a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.24rem 0.66rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(18, 183, 234, 0.18);
}

.package-card::after {
  content: "";
  position: absolute;
  inset: auto -42px -42px auto;
  width: 156px;
  height: 156px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 201, 255, 0.09), transparent 68%);
  pointer-events: none;
}

.package-card-start {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 253, 0.98));
}

.package-card-turnkey {
  background:
    linear-gradient(180deg, rgba(250, 255, 255, 0.98), rgba(238, 250, 247, 0.98));
}

.package-card-crm {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 248, 252, 0.98));
}

.package-card-support {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 250, 0.98));
}

.inline-link {
  display: inline-block;
  margin-top: 0.3rem;
  color: #82deff;
  font-size: 0.92rem;
}

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

.catalog-card {
  padding: 1.15rem 1.08rem 1.12rem;
  border: 1px solid #bfd5df;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 251, 0.96));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.catalog-card:hover {
  transform: translateY(-3px);
  border-color: #86bfd2;
  box-shadow: 0 18px 32px rgba(80, 122, 146, 0.16);
}

.catalog-card::after {
  content: "";
  position: absolute;
  top: -38px;
  right: -38px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 201, 255, 0.12), transparent 68%);
  pointer-events: none;
}

.catalog-card-featured {
  background:
    linear-gradient(180deg, rgba(252, 255, 255, 0.98), rgba(241, 251, 252, 0.98));
  box-shadow: 0 0 0 1px rgba(39, 201, 255, 0.1), 0 22px 40px rgba(80, 122, 146, 0.15);
}

.catalog-card-accent {
  background:
    linear-gradient(180deg, rgba(247, 254, 255, 0.98), rgba(236, 249, 247, 0.98));
}

.catalog-card-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 252, 0.98));
}

.catalog-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.68rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  border: 1px solid #c3d9e3;
  background: rgba(255, 255, 255, 0.72);
  color: #5a7586;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.catalog-card p {
  margin: 0.32rem 0;
}

.catalog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(39, 201, 255, 0.1);
  border: 1px solid rgba(39, 201, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--accent);
  flex-shrink: 0;
}

.catalog-card h3 {
  font-size: 1.32rem;
  max-width: 17ch;
}

.catalog-icon svg {
  width: 22px;
  height: 22px;
}

.catalog-meta {
  margin-top: 0.65rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.catalog-meta span {
  border: 1px solid #b7ced9;
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.service-hero-copy .section-subtitle {
  max-width: 60ch;
}

.service-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.service-meta span {
  border: 1px solid #b7ced9;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  color: #5b7485;
  font-size: 0.88rem;
}

.service-side-card {
  border: 1px solid #bfd6e0;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 251, 0.96));
}

.service-side-card h3 {
  margin-bottom: 0.35rem;
}

.service-side-card > p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.service-side-points {
  display: grid;
  gap: 0.6rem;
}

.service-side-points article {
  border: 1px solid #c4d8e2;
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: rgba(255, 255, 255, 0.72);
}

.service-side-points strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #1780a3;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-side-points span {
  color: #597182;
  font-size: 0.94rem;
}

.service-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.table-like {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #c4d8e2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 44px rgba(118, 155, 173, 0.1);
}

.table-like > div {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #d2e2e8;
  border-right: 1px solid #d2e2e8;
  position: relative;
  min-height: 2.6rem;
}

.table-like-premium > div {
  padding: 0.92rem 0.98rem;
}

.table-col-head {
  flex-direction: column;
  gap: 0.1rem;
  min-height: auto;
  background: linear-gradient(180deg, rgba(247, 253, 254, 0.98), rgba(239, 248, 251, 0.96));
}

.table-col-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.table-col-head span {
  color: var(--muted);
  font-size: 0.84rem;
}

.table-like > div:nth-child(2n) {
  border-right: none;
}

.steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.workflow-step {
  border: 1px solid #c0d7e1;
  border-radius: 12px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 251, 0.96));
  padding: 0.84rem 0.9rem;
}

.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  border: 1px solid #91bdd0;
  color: #177ea1;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.workflow-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  border: 1px solid #c0d6e0;
  border-radius: 11px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
}

.plain-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.qa-card {
  border: 1px solid #bfd6e0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(243, 250, 251, 0.96));
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 18px 40px rgba(118, 155, 173, 0.1);
  position: relative;
  overflow: hidden;
}

.qa-card::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -28px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 201, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.qa-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.28rem 0.62rem;
  margin-bottom: 0.6rem;
  border-radius: 999px;
  border: 1px solid #c4dbe6;
  background: rgba(255, 255, 255, 0.9);
  color: #5d7787;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.qa-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  line-height: 1.4;
}

.qa-card p {
  margin: 0;
  color: #587283;
  line-height: 1.65;
}

.form-helper {
  margin: -0.2rem 0 0.9rem;
  color: #678494;
}

.detailed-form textarea {
  min-height: 92px;
}

.form-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  margin-top: 1rem;
}

.form-intro-card {
  padding: 1.05rem 1.1rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(118, 155, 173, 0.1);
}

.form-intro-card-soft {
  background: linear-gradient(180deg, rgba(250, 255, 255, 0.94), rgba(241, 249, 251, 0.9));
}

.form-intro-eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-intro-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.18rem;
  line-height: 1.35;
}

.form-intro-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-intro-list {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.form-intro-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
  line-height: 1.55;
}

.form-intro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-2);
}

@media (max-width: 840px) {
  .form-intro-grid {
    grid-template-columns: 1fr;
  }

  .qa-grid {
    grid-template-columns: 1fr;
  }
}

.cases-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
  align-items: stretch;
}

.cases-proof {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.cases-proof article {
  border: 1px solid #bfd6e0;
  border-radius: 12px;
  padding: 0.78rem 0.88rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(243, 250, 251, 0.96));
}

.cases-proof strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
  margin-bottom: 0.2rem;
}

.cases-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.case-card {
  border: 1px solid #bfd6e0;
  border-radius: var(--radius-md);
  padding: 1.05rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(242, 249, 250, 0.97));
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.case-card::after {
  content: "";
  position: absolute;
  top: -42px;
  right: -42px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(62, 240, 176, 0.18), transparent 70%);
  pointer-events: none;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: #86bfd2;
  box-shadow: 0 16px 30px rgba(80, 122, 146, 0.16);
}

.case-card h3 {
  margin-bottom: 0.45rem;
}

.case-card p {
  margin: 0.3rem 0;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #9ac3d3;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.76rem;
  color: #177ea1;
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}

.case-impact {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 2.4vw, 2.35rem);
  line-height: 1;
  color: var(--accent-2);
}

.case-impact-caption {
  margin: 0.26rem 0 0.5rem;
  color: #6a8596;
  font-size: 0.92rem;
}

.case-flow {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.48rem;
}

.case-step {
  border: 1px solid #c0d7e1;
  border-radius: 10px;
  padding: 0.6rem 0.68rem;
  background: rgba(255, 255, 255, 0.8);
}

.case-step-title {
  display: inline-block;
  color: #177ea1;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.case-step p {
  margin: 0;
  color: #617b8b;
  font-size: 0.93rem;
}

.cta-section {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(248, 253, 254, 0.96), rgba(238, 247, 248, 0.98));
}

.cta-section .section-subtitle {
  max-width: 52ch;
  margin: 0 auto 0.85rem;
}

.cta-section .btn {
  margin-top: 0.2rem;
}

.contacts-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: stretch;
}

.contacts-side-card {
  border: 1px solid #c0d7e1;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 250, 251, 0.96));
  padding: 1rem;
}

.contacts-side-card h3 {
  margin-bottom: 0.35rem;
}

.contacts-side-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.contacts-side-card .feature-list {
  margin-top: 0.2rem;
}

.contacts-side-card .feature-list li {
  color: #617b8b;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-card {
  border: 1px solid #bfd6e0;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 251, 0.96));
  padding: 0.95rem;
  min-height: 138px;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.32rem;
  font-family: "Space Grotesk", sans-serif;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-task {
  border: 1px solid #bfd6e0;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(243, 250, 251, 0.96));
  padding: 0.84rem 0.9rem 0.84rem 2rem;
  font-weight: 500;
  position: relative;
}

.contact-task::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(62, 240, 176, 0.14);
  transform: translateY(-50%);
}

.contact-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-outcome {
  border: 1px solid #bfd6e0;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(243, 250, 251, 0.96));
  padding: 0.75rem 0.82rem;
  color: #567182;
  min-height: 84px;
  display: flex;
  align-items: center;
}

.trust-note {
  margin: 0;
  color: #5d7787;
  text-align: left;
  font-size: 1.04rem;
  border: 1px solid #bfd4df;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 249, 250, 0.96));
  padding: 0.95rem 1rem 0.95rem 2.4rem;
  position: relative;
}

.trust-note::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(62, 240, 176, 0.14);
}

.contact-final-cta .section-subtitle {
  max-width: 58ch;
}

.site-footer {
  color: var(--muted);
  padding: 2rem 0 2.6rem;
  margin-top: 2.2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr 0.9fr;
  gap: 1.5rem;
  padding: 0.65rem 0 1.2rem;
  border-bottom: 1px solid rgba(168, 199, 213, 0.65);
  margin-bottom: 1.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  padding-right: 0.75rem;
}

.footer-eyebrow {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-brand .brand-sub {
  font-size: 0.8rem;
  color: var(--text);
}

.footer-desc {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: #708997;
  max-width: 32ch;
}

.footer-proof {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.footer-proof span {
  border: 1px solid #bfd6e0;
  border-radius: 999px;
  padding: 0.24rem 0.58rem;
  background: rgba(255, 255, 255, 0.86);
  color: #5e7888;
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.1rem;
}

.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #708997;
  margin: 0 0 0.6rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.22rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 140ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom {
  font-size: 0.82rem;
  color: #7390a0;
  margin: 0;
}

.footer-bottom-note {
  margin: 0;
  font-size: 0.82rem;
  color: #6d8797;
}

.hidden {
  display: none;
}

.bg-orb {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(68px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-1 {
  top: 3rem;
  left: -5rem;
  background: rgba(39, 201, 255, 0.2);
}

.bg-orb-2 {
  bottom: 1rem;
  right: -5rem;
  background: rgba(62, 240, 176, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 520ms ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Admin */

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border: 1px solid #234450;
  padding: 0.6rem;
  vertical-align: top;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
  align-items: center;
}

.admin-actions form {
  margin: 0;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-filter-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  grid-column: 1 / -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat-card {
  border: 1px solid #27495b;
  border-radius: 12px;
  background: #091a22;
  padding: 0.8rem;
}

.stat-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.65rem;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.pager {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.meta-json {
  margin: 0;
  max-width: 420px;
  max-height: 140px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-grid,
  .service-hero-grid,
  .cases-hero-grid,
  .contacts-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .cards-grid,
  .service-summary-grid,
  .package-grid,
  .integration-groups,
  .proof-metrics,
  .outcome-bento-grid,
  .workflow-grid,
  .stats-grid,
  .cases-grid,
  .catalog-grid,
  .contact-cards,
  .contact-tasks,
  .contact-outcomes {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .quick-form {
    grid-template-columns: 1fr;
  }

  .quick-form-task,
  .quick-form-contact,
  .quick-form-consent,
  .quick-form-actions {
    grid-column: 1;
  }

  .quick-form-actions .btn {
    min-width: unset;
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cases-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Burger menu */

.burger-toggle {
  display: none;
}

.burger-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #b9d2de;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.burger-btn span,
.burger-btn span::before,
.burger-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 200ms ease, opacity 150ms ease;
}

.burger-btn span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.burger-btn span::before {
  content: "";
  top: -6px;
  left: 0;
  transform: none;
}

.burger-btn span::after {
  content: "";
  top: 6px;
  left: 0;
  transform: none;
}

.burger-toggle:checked ~ .site-header .burger-btn span {
  background: transparent;
}

.burger-toggle:checked ~ .site-header-inner .burger-btn span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger-toggle:checked ~ .site-header-inner .burger-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Multi-step form */

.form-steps {
  position: relative;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 0.82rem;
  padding: 0.2rem 0 0;
}

.form-step.active {
  display: flex;
}

.form-step-indicator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.35rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #c7dce5;
  box-shadow: 0 16px 36px rgba(119, 157, 176, 0.12);
  border-radius: var(--radius-md);
}

.step-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid #b9d2de;
  background: rgba(255, 255, 255, 0.98);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  flex-shrink: 0;
}

.step-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04131a;
}

.step-dot.done {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #04131a;
}

.step-line {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #b5cfdb, #9fc6d6);
  border-radius: 2px;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

.form-field-full {
  display: flex;
  flex-direction: column;
}

.form-field-full label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.form-field-full textarea {
  min-height: 84px;
  resize: vertical;
}

.form-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.82rem 0.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c7dce5;
  box-shadow: 0 14px 30px rgba(119, 157, 176, 0.08);
  border-radius: var(--radius-md);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  flex: 1;
}

.form-field input,
.form-field textarea,
.form-field select {
  flex: 1;
  min-height: 42px;
}

.form-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.35rem;
  padding-top: 0.2rem;
}

@media (max-width: 600px) {
  .form-field-group {
    grid-template-columns: 1fr;
  }
}

/* Calculator visual result */

.calc-result-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.calc-big-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.calc-breakdown {
  display: grid;
  gap: 0.5rem;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(41, 86, 107, 0.35);
  font-size: 0.9rem;
}

.calc-breakdown-item span:last-child {
  color: var(--text);
  font-weight: 600;
}

.calc-bar-wrap {
  grid-column: 1 / -1;
  margin-top: 0.3rem;
}

.calc-bar-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.calc-bar {
  height: 8px;
  background: #0e2838;
  border-radius: 999px;
  overflow: hidden;
}

.calc-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent-gradient);
  transition: width 800ms ease;
}

@media (max-width: 720px) {
  .calc-result-visual {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Burger responsive */

@media (max-width: 820px) {
  .burger-btn {
    display: block;
  }

  .site-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(252, 254, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(189, 215, 227, 0.9);
    padding: 0.8rem 1rem;
    gap: 0;
    z-index: 19;
    box-shadow: 0 16px 32px rgba(105, 142, 160, 0.14);
  }

  .site-nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(189, 215, 227, 0.55);
    color: var(--text);
  }

  .site-nav .nav-cta {
    justify-content: flex-start;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin-top: 0.35rem;
    border-bottom: 1px solid rgba(53, 200, 244, 0.42);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .burger-toggle:checked ~ .site-header .site-nav {
    display: flex;
  }

  .header-telegram {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero,
  .section {
    padding: 1.25rem;
  }

  .grid-form,
  .cards-grid,
  .service-summary-grid,
  .package-grid,
  .integration-groups,
  .proof-metrics,
  .outcome-bento-grid,
  .workflow-grid,
  .catalog-grid,
  .cases-grid,
  .cases-proof,
  .contact-cards,
  .contact-tasks,
  .contact-outcomes,
  .table-like,
  .stats-grid,
  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .table-like > div {
    border-right: none;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .story-section {
    padding-top: 2.2rem;
  }

  .story-section::after {
    left: 0.85rem;
    top: -0.58rem;
  }

  .flow-divider {
    margin: 1.65rem 0 0.45rem;
  }

  .bento-wide {
    grid-column: auto;
  }
}

/* Scroll progress bar */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 100;
  width: 0%;
  transition: width 60ms linear;
  pointer-events: none;
}

/* Sticky mobile CTA */

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 18;
  padding: 0.6rem 1rem;
  background: rgba(247, 252, 253, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(183, 210, 220, 0.8);
  box-shadow: 0 -10px 30px rgba(118, 155, 173, 0.12);
}

.sticky-cta .btn {
  width: 100%;
  padding: 0.72rem;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .sticky-cta {
    display: block;
  }

  main {
    padding-bottom: 4.5rem;
  }
}

/* Exit-intent popup */

.exit-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 21, 0.75);
  backdrop-filter: blur(4px);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.exit-popup-overlay.visible {
  display: flex;
}

.exit-popup {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 249, 251, 0.96));
  border: 1px solid #c6dce6;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(79, 119, 141, 0.22);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popup-in 280ms ease;
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.exit-popup h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.exit-popup p {
  color: #5c7787;
  margin-bottom: 1.2rem;
}

.exit-popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #2f5a6f;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 140ms ease;
}

.exit-popup-close:hover {
  border-color: var(--accent);
  color: var(--text);
}

.exit-popup .btn {
  width: 100%;
  margin-bottom: 0.6rem;
}

.exit-popup-dismiss {
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.3rem;
  transition: color 140ms ease;
}

.exit-popup-dismiss:hover {
  color: var(--text);
}

/* 404 page */

.not-found-hero {
  text-align: center;
  padding: 4rem 2rem;
}

.not-found-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.not-found-hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 44ch;
  margin: 0 auto 1.5rem;
}

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.testimonial-card {
  border: 1px solid #c0d7e1;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(243, 250, 251, 0.96));
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(118, 155, 173, 0.1);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -28px;
  width: 124px;
  height: 124px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(39, 201, 255, 0.08), transparent 68%);
  pointer-events: none;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  border: 1px solid #c4dbe6;
  background: rgba(255, 255, 255, 0.88);
  color: #5e7888;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-quote {
  font-style: normal;
  color: #5f7b8c;
  line-height: 1.62;
  flex: 1;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-result {
  display: grid;
  gap: 0.08rem;
  padding: 0.72rem 0.82rem;
  border: 1px solid #c8dde6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.testimonial-result strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  color: var(--text);
}

.testimonial-result span {
  color: var(--muted);
  font-size: 0.84rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(39, 201, 255, 0.12);
  border: 1px solid rgba(39, 201, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.88rem;
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Inline validation */

.field-error {
  border-color: #e85d5d !important;
  box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.14) !important;
}

.field-error-msg {
  color: #f08080;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.field-success {
  border-color: var(--accent-2) !important;
}

@media (max-width: 960px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* === Scroll-to-top button === */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #bfd6e0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease, background 160ms ease, border-color 160ms ease;
  pointer-events: none;
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  border-color: var(--accent);
  background: rgba(39, 201, 255, 0.12);
}

@media (max-width: 600px) {
  .scroll-top-btn {
    bottom: 5.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* === Cookie consent banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 0.75rem 1rem;
  background: rgba(247, 252, 253, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid #c8dde6;
  transform: translateY(100%);
  transition: transform 350ms ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: #627d8e;
  flex: 1;
  min-width: 200px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.84rem;
  color: var(--accent);
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* === Client logos === */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 1rem;
}

.client-logo {
  padding: 0.55rem 1.1rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  color: #6b8798;
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 160ms ease, color 160ms ease;
}

.client-logo:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* === Guarantees section === */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.guarantee-card {
  padding: 1.1rem 1rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 251, 0.9));
  box-shadow: 0 18px 40px rgba(120, 156, 173, 0.12);
  position: relative;
  overflow: hidden;
}

.guarantee-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -44px auto;
  width: 144px;
  height: 144px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(62, 240, 176, 0.1), transparent 68%);
  pointer-events: none;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.24rem 0.64rem;
  border-radius: 999px;
  border: 1px solid #c7dce5;
  background: rgba(255, 255, 255, 0.88);
  color: #5d7787;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guarantee-card h3 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guarantee-metric {
  margin: -0.05rem 0 0.48rem;
  color: #1780a3;
  font-size: 0.88rem;
  font-weight: 600;
}

.guarantee-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.guarantee-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(62, 240, 176, 0.12);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-icon svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 720px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}

/* === Lead magnet === */
.lead-magnet {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 249, 251, 0.92));
  box-shadow: 0 20px 44px rgba(118, 155, 173, 0.12);
  margin-top: 1rem;
}

.lead-magnet-copy h3 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

.lead-magnet-copy p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-magnet-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.7;
}

.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lead-magnet-form input {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 720px) {
  .lead-magnet {
    grid-template-columns: 1fr;
  }
}

/* === Webinar section === */
.webinar-card {
  padding: 1.4rem 1.2rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 249, 251, 0.92));
  box-shadow: 0 20px 44px rgba(118, 155, 173, 0.12);
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.webinar-info h3 {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", sans-serif;
}

.webinar-info p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.webinar-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.webinar-meta span {
  font-size: 0.82rem;
  color: #69869a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 600px) {
  .webinar-card {
    grid-template-columns: 1fr;
  }
}

/* === Comparison table === */
.comparison-table {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(118, 155, 173, 0.1);
}

.comparison-table > div {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #d3e3ea;
  font-size: 0.92rem;
}

.comparison-table > div:nth-child(3n) {
  border-right: none;
}

.comparison-table > div:nth-child(-n+3) {
  background: rgba(236, 246, 249, 0.98);
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}

.comparison-table > div:nth-child(n+4):nth-child(3n+1) {
  border-right: 1px solid #d3e3ea;
  color: var(--muted);
}

.comparison-table > div:nth-child(n+4):nth-child(3n+2) {
  border-right: 1px solid #d3e3ea;
  color: #d95a5a;
}

.comparison-table > div:nth-child(n+4):nth-child(3n) {
  color: #0fae7f;
}

@media (max-width: 600px) {
  .comparison-table {
    grid-template-columns: 1fr;
  }
  .comparison-table > div:nth-child(3n),
  .comparison-table > div:nth-child(n+4):nth-child(3n+1) {
    border-right: none;
  }
}

/* === Blog page === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.blog-card {
  padding: 1.2rem 1.1rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 42px rgba(118, 155, 173, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 160ms ease, transform 160ms ease;
}

.blog-card:hover {
  border-color: #3a7f9d;
  transform: translateY(-2px);
}

.blog-card .blog-tag {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.blog-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
}

.blog-card .blog-date {
  font-size: 0.78rem;
  color: #6b8a9e;
  margin-top: 0.3rem;
}

.blog-card .inline-link {
  margin-top: 0.4rem;
}

@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* === Case study detail === */
.case-hero {
  padding: 2rem 0 1.5rem;
}

.case-hero h1 {
  margin-bottom: 0.6rem;
}

.case-hero .case-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

.case-section {
  margin-top: 2rem;
}

.case-section h2 {
  margin-bottom: 0.8rem;
}

.case-section p,
.case-section ul {
  color: var(--text);
  line-height: 1.7;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.case-result-card {
  padding: 1.1rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(118, 155, 173, 0.1);
  text-align: center;
}

.case-result-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.case-result-card span {
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .case-results {
    grid-template-columns: 1fr;
  }
}

/* === Blog article page === */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
}

.blog-back {
  display: inline-block;
  color: var(--accent);
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

.blog-back:hover {
  text-decoration: underline;
}

.blog-article-inner .blog-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.blog-article-inner h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 0.8rem;
}

.blog-article-meta {
  display: flex;
  gap: 1rem;
  color: #6b8a9e;
  font-size: 0.88rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d6e5eb;
}

.blog-article-body {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

.blog-article-body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  margin: 2rem 0 0.7rem;
  color: var(--text);
}

.blog-article-body h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.blog-article-body p {
  margin: 0 0 1rem;
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.blog-article-body li {
  margin-bottom: 0.4rem;
}

.blog-article-body strong {
  color: var(--text);
}

.blog-article-body blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: rgba(241, 249, 251, 0.9);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #4f6f83;
  font-style: italic;
}

.blog-article-body .article-highlight {
  padding: 1rem 1.2rem;
  background: rgba(39, 201, 255, 0.06);
  border: 1px solid rgba(39, 201, 255, 0.2);
  border-radius: var(--radius-md);
  margin: 1.2rem 0;
}

.blog-article-body .article-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.blog-article-body .article-metric {
  text-align: center;
  padding: 0.9rem 0.6rem;
  border: 1px solid #c7dce5;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.blog-article-body .article-metric strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.blog-article-body .article-metric span {
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .blog-article-body .article-metrics {
    grid-template-columns: 1fr;
  }
}

/* === Consent checkbox === */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  margin: 0.5rem 0;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-label a:hover {
  text-decoration-thickness: 2px;
}

.quick-form .field-error-msg {
  grid-column: 1 / -1;
}

/* === Legal pages (privacy, terms) === */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
}

.legal-inner h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.3rem;
}

.legal-date {
  color: #6b8a9e;
  font-size: 0.88rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d6e5eb;
}

.legal-inner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
  color: var(--text);
}

.legal-inner p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 0.8rem;
}

.legal-inner ul,
.legal-inner ol {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.legal-inner li {
  margin-bottom: 0.35rem;
}

.legal-inner strong {
  color: var(--text);
}

/* === Quote page === */
.quote-page {
  max-width: 720px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.quote-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.quote-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.quote-badge.active {
  background: rgba(39, 201, 100, 0.15);
  color: #4ade80;
  border: 1px solid rgba(39, 201, 100, 0.3);
}

.quote-badge.expired {
  background: rgba(255, 100, 100, 0.15);
  color: #f87171;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

.quote-badge.small {
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
}

.quote-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.quote-client {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.quote-client strong {
  color: var(--text);
}

.quote-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: #6b8a9e;
  font-size: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d6e5eb;
  margin-bottom: 1.5rem;
}

.quote-section {
  margin-bottom: 1.5rem;
}

.quote-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.quote-section p {
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.quote-scope {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quote-scope li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid rgba(148, 181, 195, 0.45);
}

.quote-scope li:last-child {
  border-bottom: none;
}

.quote-scope li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.quote-conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.quote-condition {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(118, 155, 173, 0.08);
}

.condition-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.condition-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.condition-value.price {
  color: var(--accent);
  font-size: 1.3rem;
}

.quote-payment {
  padding: 1rem;
  background: rgba(39, 201, 255, 0.05);
  border: 1px solid rgba(39, 201, 255, 0.15);
  border-radius: 10px;
  color: var(--text);
  line-height: 1.7;
}

.quote-payment strong {
  color: var(--text);
}

.quote-guarantees {
  margin: 2rem 0;
}

.quote-guarantees h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 1rem;
  color: var(--text);
}

.guarantee-list {
  display: grid;
  gap: 0.8rem;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.guarantee-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.guarantee-item strong {
  color: var(--text);
  font-size: 0.95rem;
}

.guarantee-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.quote-cta {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #d6e5eb;
  margin-top: 1.5rem;
}

.quote-cta p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.quote-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #d6e5eb;
  margin-top: 1rem;
}

.quote-footer p {
  color: #4a6a7e;
  font-size: 0.78rem;
  margin: 0;
}

.quote-footer a {
  color: #6b8a9e;
}

@media (max-width: 600px) {
  .quote-page {
    margin: 1rem;
    padding: 1.2rem;
  }

  .quote-conditions {
    grid-template-columns: 1fr;
  }
}

/* =====================
   Admin Dashboard
   ===================== */
.is-admin {
  background:
    radial-gradient(880px 480px at 8% -8%, rgba(18, 183, 234, 0.12), transparent 68%),
    radial-gradient(720px 440px at 100% 0%, rgba(23, 213, 154, 0.1), transparent 66%),
    linear-gradient(180deg, #f7fbfd 0%, #eef6fa 48%, #e6f1f7 100%);
}

.is-admin main {
  width: min(1360px, calc(100% - 2rem));
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.admin-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(143, 180, 200, 0.42);
  box-shadow: 0 22px 54px rgba(65, 106, 131, 0.08);
  backdrop-filter: blur(12px);
}

.admin-dashboard {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.25rem 0 1rem;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  margin-bottom: 1.5rem;
}

.admin-hero-copy {
  max-width: 720px;
}

.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(18, 183, 234, 0.1);
  border: 1px solid rgba(18, 183, 234, 0.18);
  color: #0f8eb8;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.admin-hero p,
.admin-panel-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.admin-panel-head h2 {
  margin-bottom: 0.35rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-topbar h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  margin: 0;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-inline-form {
  display: inline-flex;
}

/* Stats cards */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  background: linear-gradient(180deg, rgba(18, 41, 58, 0.96), rgba(20, 48, 67, 0.96));
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(114, 152, 175, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: #f4fbff;
}

.admin-stat-num.accent {
  color: #39cfff;
}

.admin-stat-label {
  font-size: 0.85rem;
  color: #89abc0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-tab {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(143, 180, 200, 0.46);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab:hover {
  color: var(--text);
  border-color: rgba(18, 183, 234, 0.36);
}

.admin-tab.active {
  color: var(--accent);
  border-color: rgba(18, 183, 234, 0.36);
  background: rgba(18, 183, 234, 0.08);
  box-shadow: 0 12px 28px rgba(18, 183, 234, 0.1);
}

.tab-count {
  display: inline-block;
  background: rgba(24, 54, 77, 0.12);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.5rem;
}

.admin-tab.active .tab-count {
  background: var(--accent);
  color: var(--bg);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

/* Filter bar */
.admin-filter-panel {
  padding: 1.35rem 1.35rem 1.2rem;
  border-radius: 22px;
  margin-bottom: 1.15rem;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(4, minmax(150px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.admin-filter-grid-compact {
  grid-template-columns: minmax(280px, 1fr) auto;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.admin-field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-field-wide {
  min-width: 0;
}

.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-chip-groups {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-chip-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.admin-chip-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 0.35rem;
}

.admin-search {
  width: 100%;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.admin-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

.admin-select {
  width: 100%;
  min-height: 48px;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.72rem 0.9rem;
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
}

.admin-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

.admin-date {
  width: 100%;
  min-height: 48px;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.72rem 0.9rem;
  color: var(--text);
  font-size: 0.92rem;
}

.admin-date:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

/* Status chips */
.admin-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.88rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(143, 180, 200, 0.44);
  border-radius: 20px;
  font-size: 0.84rem;
  color: var(--muted);
  transition: all 0.2s ease;
}

.admin-chip:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
}

.admin-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 500;
}

/* Table */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(143, 180, 200, 0.42);
  padding: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.admin-table thead {
  background: rgba(20, 48, 67, 0.96);
}

.admin-table th {
  padding: 0.95rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.admin-table td {
  padding: 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(143, 180, 200, 0.24);
  vertical-align: top;
  background: rgba(17, 56, 81, 0.9);
  color: #d9edf7;
}

.admin-table tbody tr:hover {
  background: transparent;
}

.admin-table tbody tr:hover td {
  background: rgba(22, 66, 95, 0.96);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.td-date {
  white-space: nowrap;
  color: #8cb2c7;
  font-size: 0.82rem;
}

.td-contact strong {
  display: block;
  font-weight: 600;
  color: #ffffff;
}

.td-contact-sub {
  display: block;
  font-size: 0.78rem;
  color: #84a9bf;
  margin-top: 0.28rem;
}

.td-task {
  max-width: 320px;
}

.td-task-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-row-link {
  color: #f2fbff;
  text-decoration: none;
}

.admin-row-link:hover {
  color: #7fe0ff;
}

.td-budget {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #7ee2bc;
  font-weight: 500;
}

.td-source {
  font-size: 0.82rem;
  color: #84a9bf;
}

.td-view {
  white-space: nowrap;
}

.td-empty {
  text-align: center;
  color: #84a9bf;
  padding: 2rem;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-new { background: rgba(39, 201, 255, 0.15); color: #27c9ff; }
.status-in_progress { background: rgba(62, 240, 176, 0.15); color: #3ef0b0; }
.status-estimate_sent { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.status-thinking { background: rgba(156, 136, 255, 0.15); color: #9c88ff; }
.status-deal { background: rgba(62, 240, 176, 0.25); color: #3ef0b0; font-weight: 600; }
.status-rejected { background: rgba(255, 82, 82, 0.15); color: #ff5252; }
.status-contacted { background: rgba(39, 201, 255, 0.1); color: #6dd9f5; }

/* Inline form in table */
.inline-status-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(140px, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
}

.admin-select-sm {
  min-height: 40px;
  background: rgba(10, 31, 47, 0.7);
  border: 1px solid rgba(143, 180, 200, 0.45);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  color: #e8f7ff;
  font-size: 0.78rem;
  width: 100%;
}

.admin-input-sm {
  min-height: 40px;
  background: rgba(10, 31, 47, 0.7);
  border: 1px solid rgba(143, 180, 200, 0.45);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  color: #e8f7ff;
  font-size: 0.78rem;
  width: 100%;
}

.td-actions {
  min-width: 380px;
}

.admin-select-sm:focus,
.admin-input-sm:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

/* Pagination */
.admin-pager {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Meta JSON */
.meta-json {
  font-size: 0.75rem;
  color: #9cc0d4;
  background: rgba(10, 31, 47, 0.7);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  max-width: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
}

.admin-login-shell {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.admin-login-card {
  width: min(540px, 100%);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(143, 180, 200, 0.42);
  box-shadow: 0 22px 54px rgba(65, 106, 131, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 2rem;
}

.admin-login-card p {
  color: var(--muted);
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.admin-login-form input {
  min-height: 50px;
  width: 100%;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.admin-login-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

.admin-login-error {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(229, 89, 89, 0.24);
  background: rgba(255, 101, 101, 0.08);
  color: #9f3d3d;
}

.admin-quotes-page {
  display: grid;
  gap: 1.25rem;
}

.admin-lead-detail-page {
  display: grid;
  gap: 1.25rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.admin-detail-card {
  padding: 1.45rem;
  border-radius: 24px;
}

.admin-detail-card-full {
  grid-column: 1 / -1;
}

.admin-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.admin-detail-item-full {
  grid-column: 1 / -1;
}

.admin-detail-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}

.admin-detail-value {
  color: var(--text);
  font-size: 0.98rem;
}

.admin-detail-text {
  white-space: pre-wrap;
  line-height: 1.6;
}

.admin-detail-action-form {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
}

.admin-detail-action-form textarea {
  width: 100%;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  resize: vertical;
}

.admin-detail-action-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

.admin-detail-related-list,
.admin-detail-timeline {
  display: grid;
  gap: 0.8rem;
}

.admin-related-link,
.admin-timeline-item {
  display: grid;
  gap: 0.28rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(143, 180, 200, 0.36);
  background: rgba(248, 252, 254, 0.76);
}

.admin-related-link strong {
  color: var(--text);
}

.admin-related-link span,
.admin-timeline-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-timeline-title {
  color: var(--text);
  font-weight: 600;
}

.admin-detail-empty {
  color: var(--muted);
  margin: 0;
}

.admin-detail-empty-action {
  margin-top: 1rem;
}

.admin-prefill-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(18, 183, 234, 0.22);
  background: rgba(18, 183, 234, 0.08);
  color: #256784;
}

.admin-quotes-form-panel,
.admin-quotes-table-panel {
  padding: 1.45rem 1.45rem 1.35rem;
  border-radius: 24px;
}

.admin-quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-quote-form .admin-field input,
.admin-quote-form .admin-field textarea,
.admin-quote-form .admin-field select {
  width: 100%;
  background: rgba(248, 252, 254, 0.92);
  border: 1px solid rgba(143, 180, 200, 0.5);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.admin-quote-form .admin-field input {
  min-height: 50px;
}

.admin-quote-form .admin-field textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-quote-form .admin-field input:focus,
.admin-quote-form .admin-field textarea:focus,
.admin-quote-form .admin-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 183, 234, 0.12);
}

.admin-field-span-2 {
  grid-column: 1 / -1;
}

.admin-quote-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  padding-top: 0.2rem;
}

.admin-quote-actions .btn {
  min-width: 260px;
}

.admin-quote-table-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-btn-danger {
  color: #d65454 !important;
  border-color: rgba(214, 84, 84, 0.28) !important;
}

.admin-btn-danger:hover {
  background: rgba(214, 84, 84, 0.08);
}

/* Admin responsive */
@media (max-width: 768px) {
  .is-admin main {
    width: min(100%, calc(100% - 1rem));
    padding-top: 1rem;
  }
  .admin-hero,
  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-filter-grid,
  .admin-filter-grid-compact {
    grid-template-columns: 1fr;
  }
  .admin-quote-form {
    grid-template-columns: 1fr;
  }
  .admin-detail-grid,
  .admin-detail-list,
  .admin-detail-action-form {
    grid-template-columns: 1fr;
  }
  .admin-chip-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .admin-table {
    font-size: 0.82rem;
  }
  .inline-status-form {
    grid-template-columns: 1fr;
  }
  .admin-select-sm,
  .admin-input-sm {
    width: 100%;
  }
  .admin-quote-actions .btn {
    min-width: 0;
    width: 100%;
  }
}
