:root {
  color-scheme: dark;
  --bg: #03070c;
  --bg-soft: #07111d;
  --bg-elevated: #0b1724;
  --surface: rgba(9, 22, 34, 0.82);
  --surface-strong: rgba(12, 30, 46, 0.94);
  --line: rgba(168, 232, 235, 0.16);
  --line-strong: rgba(120, 230, 218, 0.34);
  --text: #f7fbff;
  --muted: #b6c4cf;
  --soft: #dce8ef;
  --teal: #19d0b2;
  --cyan: #6fe8ff;
  --black: #010305;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(25, 208, 178, 0.07), transparent 34%),
    linear-gradient(180deg, #02050a 0%, var(--bg) 44%, #02050a 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--cyan);
}

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

button {
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(111, 232, 255, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--black);
  border-radius: 6px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(3, 7, 12, 0.72);
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 7, 12, 0.9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  color: var(--text);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #0e2538, #03070c);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: inset 0 0 22px rgba(25, 208, 178, 0.12);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.82rem;
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 650;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(111, 232, 255, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 68svh;
  overflow: hidden;
  padding: 7.35rem 0 2.1rem;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.08) contrast(1.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 11, 0.96) 0%, rgba(2, 6, 11, 0.76) 43%, rgba(2, 6, 11, 0.34) 100%),
    linear-gradient(180deg, rgba(2, 6, 11, 0.08), rgba(2, 6, 11, 0.88));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(111, 232, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 232, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 72%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.94rem;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
.page-title {
  margin: 0;
  max-width: 800px;
  color: var(--text);
  font-size: 3.3rem;
  line-height: 1.04;
  font-weight: 850;
}

h2,
.section-title {
  margin: 0;
  color: var(--text);
  font-size: 2.25rem;
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.28;
}

p {
  margin: 0;
}

.hero-lead,
.page-lead,
.section-lead {
  color: var(--muted);
  font-size: 1.13rem;
  line-height: 1.7;
}

.hero-lead {
  margin-top: 1rem;
  max-width: 620px;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 7px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

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

.btn:disabled,
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0fb79f, #0b8aa4);
  box-shadow: 0 16px 34px rgba(25, 208, 178, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(25, 208, 178, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.btn-subtle {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.btn-danger {
  background: rgba(255, 111, 111, 0.12);
  border-color: rgba(255, 111, 111, 0.48);
  color: #ffd8d8;
}

.btn-danger:hover {
  background: rgba(255, 111, 111, 0.18);
  border-color: rgba(255, 111, 111, 0.75);
}

.icon,
.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(650px, 100%);
  margin-top: 1.25rem;
}

.proof-item {
  min-height: 66px;
  padding: 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 12, 20, 0.58);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  display: block;
  color: var(--text);
  font-size: 0.96rem;
}

.proof-item span {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(8, 19, 30, 0.62), rgba(4, 9, 15, 0.74));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.section-header--single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.section-lead {
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.project-card,
.process-step,
.legal-card,
.contact-panel,
.form-panel,
.notice-panel,
.condition-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.service-card,
.process-step,
.legal-card,
.condition-panel {
  padding: 1.25rem;
}

.service-card,
.project-card,
.process-step,
.legal-card {
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.service-card:hover,
.project-card:hover,
.process-step:hover,
.legal-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.service-card .icon-wrap,
.process-step .icon-wrap,
.legal-card .icon-wrap {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(111, 232, 255, 0.08);
  border: 1px solid rgba(111, 232, 255, 0.16);
}

.service-card p,
.process-step p,
.legal-card p,
.condition-panel p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reviews-overview {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  margin-top: 1.3rem;
  padding: 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 208, 178, 0.13), rgba(111, 232, 255, 0.045)),
    rgba(5, 14, 22, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.reviews-overview[hidden] {
  display: none;
}

.reviews-score,
.reviews-comment {
  padding: 0.95rem;
  border: 1px solid rgba(168, 232, 235, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.reviews-score-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.45rem;
}

.reviews-score-line strong {
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
}

.reviews-score > span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 720;
}

.rating-stars {
  --rating-percent: 0%;
  position: relative;
  display: inline-block;
  color: rgba(214, 226, 233, 0.23);
  font-size: 1.25rem;
  letter-spacing: 0;
  line-height: 1;
}

.rating-stars::before {
  content: "★★★★★";
  position: absolute;
  inset: 0;
  width: var(--rating-percent);
  overflow: hidden;
  color: var(--teal);
  white-space: nowrap;
}

.reviews-comment {
  display: grid;
  align-content: center;
  min-height: 120px;
}

.reviews-comment > span {
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.reviews-comment blockquote {
  margin: 0.5rem 0 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.65;
  transition: opacity 180ms ease, transform 180ms ease;
}

.reviews-comment blockquote.is-changing {
  opacity: 0;
  transform: translateY(5px);
}

.process-step {
  position: relative;
  min-height: 210px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  background: rgba(25, 208, 178, 0.12);
  color: var(--cyan);
  font-weight: 850;
}

.pricing-panel,
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(25, 208, 178, 0.14), rgba(111, 232, 255, 0.04)),
    rgba(5, 14, 22, 0.92);
  box-shadow: var(--shadow);
}

.pricing-panel::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.18;
  pointer-events: none;
}

.pricing-panel > *,
.cta-panel > * {
  position: relative;
}

.pricing-panel p,
.cta-panel p {
  max-width: 760px;
  color: var(--soft);
}

.pricing-panel .section-actions,
.cta-panel .section-actions {
  margin-top: 1.5rem;
}

.section-actions--spaced {
  margin-top: 1.35rem;
}

.section-actions--form {
  margin-top: 1.2rem;
}

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

.project-card {
  overflow: hidden;
  min-height: 100%;
}

.project-media {
  position: relative;
  min-height: 176px;
  padding: 1.25rem;
  background:
    linear-gradient(135deg, rgba(25, 208, 178, 0.22), rgba(111, 232, 255, 0.06)),
    #07111d;
  border-bottom: 1px solid var(--line);
}

.launcher-card .project-media {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--launcher-accent, var(--teal)) 28%, transparent), rgba(111, 232, 255, 0.06)),
    #07111d;
}

.launcher-grid .project-card {
  display: flex;
  flex-direction: column;
}

.launcher-grid .project-body {
  flex: 1;
}

.project-kicker {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 760;
}

.project-logo {
  margin-top: 1.3rem;
  color: var(--text);
  font-size: 2rem;
  font-weight: 850;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(111, 232, 255, 0.16);
  border-radius: 6px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 650;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.project-body p {
  color: var(--muted);
}

.project-body .card-actions {
  margin-top: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 1.2rem;
  align-items: start;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.55fr);
  gap: 1.2rem;
  align-items: start;
}

.auth-layout--single {
  grid-template-columns: minmax(0, 780px);
}

.contact-panel,
.form-panel,
.notice-panel {
  padding: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--soft);
}

.contact-list svg {
  color: var(--cyan);
}

.client-panel {
  min-height: 100%;
}

.client-panel--wide {
  grid-column: 1 / -1;
}

.client-details {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0 0;
}

.client-details div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.client-details dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.client-details dd {
  margin: 0;
  color: var(--text);
  font-weight: 760;
}

.quote-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.quote-item {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.quote-item strong,
.quote-item span {
  display: block;
}

.quote-item strong {
  color: var(--cyan);
}

.quote-item span,
.quote-item p {
  color: var(--muted);
}

.quote-item p {
  margin-top: 0.35rem;
}

.alert {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.alert ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.alert-success {
  color: var(--soft);
  background: rgba(25, 208, 178, 0.11);
  border-color: rgba(25, 208, 178, 0.34);
}

.alert-error {
  color: var(--soft);
  background: rgba(255, 115, 115, 0.1);
  border-color: rgba(255, 115, 115, 0.32);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--cyan);
  font-size: 1.8rem;
  line-height: 1.1;
}

.stat-card span {
  color: var(--muted);
  margin-top: 0.25rem;
}

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

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

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

.admin-table th,
.admin-table td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--soft);
  font-size: 0.88rem;
}

.admin-table td {
  color: var(--text);
}

.admin-table td span {
  color: var(--muted);
}

.payload-details {
  max-width: min(560px, 70vw);
}

.payload-details summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.payload-details pre {
  max-height: 280px;
  margin: 0.75rem 0 0;
  padding: 0.85rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--soft);
  white-space: pre-wrap;
  word-break: break-word;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(111, 232, 255, 0.18);
  color: var(--soft);
  background: rgba(111, 232, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 750;
}

.status-accepted,
.status-completed {
  border-color: rgba(25, 208, 178, 0.34);
  background: rgba(25, 208, 178, 0.12);
  color: #dffbf7;
}

.status-refused {
  border-color: rgba(255, 115, 115, 0.34);
  background: rgba(255, 115, 115, 0.11);
  color: #ffe4e4;
}

.status-quote_sent,
.status-invoiced {
  border-color: rgba(111, 232, 255, 0.34);
  background: rgba(111, 232, 255, 0.12);
}

.status-sent {
  border-color: rgba(111, 232, 255, 0.34);
  background: rgba(111, 232, 255, 0.12);
}

.status-paid {
  border-color: rgba(25, 208, 178, 0.34);
  background: rgba(25, 208, 178, 0.12);
  color: #dffbf7;
}

.document-hero .page-title {
  max-width: 960px;
}

.document-layout {
  max-width: 980px;
}

.document-panel {
  padding: 1.45rem;
}

.document-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.document-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.2rem;
}

.document-summary--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.1rem;
}

.document-summary div {
  display: grid;
  gap: 0.2rem;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.document-summary dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
}

.document-summary dd {
  margin: 0;
  color: var(--text);
  font-weight: 790;
  word-break: break-word;
}

.document-subtitle,
.document-note h3 {
  margin-top: 1.2rem;
  color: var(--soft);
  font-size: 1.05rem;
}

.document-table {
  min-width: 720px;
}

.document-note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.document-note p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.followup-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.followup-step {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.followup-step span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(111, 232, 255, 0.08);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.followup-step strong {
  color: var(--soft);
  font-size: 0.92rem;
}

.followup-step small {
  color: var(--cyan);
  font-weight: 720;
}

.followup-step.is-done {
  border-color: rgba(25, 208, 178, 0.26);
  background: rgba(25, 208, 178, 0.08);
}

.followup-step.is-active {
  border-color: rgba(111, 232, 255, 0.42);
  background: rgba(111, 232, 255, 0.1);
}

.admin-followup-cell {
  min-width: 260px;
}

.admin-followup-cell > strong,
.admin-followup-cell > span {
  display: block;
  margin-bottom: 0.45rem;
}

.admin-followup-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.admin-followup-form select,
.admin-followup-form input,
.admin-followup-form textarea {
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-strong);
  color: var(--text);
}

.admin-followup-form textarea {
  resize: vertical;
}

.review-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.review-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-strong);
  color: var(--text);
  resize: vertical;
}

.rating-field {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  border: 0;
}

.rating-field legend {
  color: var(--soft);
  font-weight: 800;
}

.rating-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.rating-options label {
  cursor: pointer;
}

.rating-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-options span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-weight: 850;
}

.rating-options input:checked + span,
.rating-options input:focus-visible + span {
  border-color: rgba(25, 208, 178, 0.6);
  background: rgba(25, 208, 178, 0.14);
  color: #dffbf7;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0;
}

.review-summary div {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.review-summary dt {
  color: var(--muted);
  font-weight: 720;
}

.review-summary dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-weight: 850;
}

.review-message,
.review-comment {
  margin: 0.9rem 0 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.review-comment {
  color: var(--soft);
  font-style: normal;
}

.review-message strong {
  display: block;
  color: var(--soft);
  margin-bottom: 0.35rem;
}

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

.review-message--reply {
  border-color: rgba(25, 208, 178, 0.3);
  background: rgba(25, 208, 178, 0.08);
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.document-actions form {
  margin: 0;
}

.admin-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.56fr);
  gap: 1.2rem;
  align-items: start;
}

.admin-detail-layout > .alert,
.admin-documents-panel {
  grid-column: 1 / -1;
}

.panel-separator {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.document-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.document-list--compact {
  margin-top: 0.85rem;
}

.document-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.document-item strong,
.document-item span {
  display: block;
}

.document-item strong {
  color: var(--text);
}

.document-item span {
  color: var(--muted);
}

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

.registration-form {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.registration-form .section-title {
  font-size: 1.7rem;
  line-height: 1.16;
}

.form-section {
  display: grid;
  gap: 0.9rem;
}

.form-section + .form-section {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.form-section-title {
  color: var(--cyan);
  font-size: 0.96rem;
  font-weight: 800;
}

.registration-form .form-grid {
  gap: 0.95rem 1.05rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  color: var(--soft);
  font-weight: 700;
}

.field small {
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0.78rem 0.85rem;
  outline: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.field select {
  color-scheme: dark;
}

.field select option {
  background: #f7fbff;
  color: #07111d;
}

.field select option:checked,
.field select option:hover {
  background: #cbe8ee;
  color: #02050a;
}

.field select option[value=""] {
  color: #5f6d78;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.registration-form #address {
  min-height: 108px;
}

.company-toggle-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.company-toggle-row:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.company-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.company-toggle-box {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 2px rgba(2, 6, 11, 0.96);
}

.company-toggle-input:checked + .company-toggle-box {
  border-color: rgba(25, 208, 178, 0.9);
  background: linear-gradient(135deg, #0fb79f, #0b8aa4);
}

.company-toggle-input:focus-visible + .company-toggle-box {
  box-shadow:
    inset 0 0 0 2px rgba(2, 6, 11, 0.96),
    0 0 0 4px rgba(25, 208, 178, 0.16);
}

.company-toggle-input:checked + .company-toggle-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.company-toggle-copy {
  display: grid;
  gap: 0.14rem;
  min-width: 0;
}

.company-toggle-copy strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.25;
}

.company-toggle-copy small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.company-fields {
  margin-top: 0.1rem;
  padding: 1rem;
  border: 1px solid rgba(25, 208, 178, 0.22);
  border-radius: 7px;
  background: rgba(25, 208, 178, 0.055);
}

.company-fields.is-hidden {
  display: none;
}

.registration-form:has(#is_company:checked) .company-fields {
  display: grid;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(25, 208, 178, 0.1);
}

.form-note,
.form-status,
.legal-warning {
  color: var(--muted);
  font-size: 0.93rem;
}

.form-note--spaced {
  margin-top: 1rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
}

.page-hero {
  padding: 9.2rem 0 3.2rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(25, 208, 178, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(6, 17, 28, 0.98), rgba(3, 7, 12, 0.98));
}

.page-hero .page-lead {
  max-width: 760px;
  margin-top: 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--soft);
}

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

.legal-card {
  min-height: 180px;
}

.legal-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--cyan);
  font-weight: 750;
}

.legal-content {
  display: grid;
  gap: 1.2rem;
  max-width: 920px;
}

.legal-content h2 {
  margin: 1.2rem 0 0.2rem;
  font-size: 1.45rem;
}

.legal-content h3 {
  margin-top: 0.6rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-warning {
  padding: 1rem;
  border: 1px solid rgba(111, 232, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(111, 232, 255, 0.06);
  color: var(--soft);
}

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

.condition-panel {
  min-height: 100%;
}

.condition-panel ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #02050a;
  padding: 3rem 0 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 0.45fr));
  gap: 1.5rem;
}

.footer-brand p {
  max-width: 440px;
  margin-top: 1rem;
  color: var(--muted);
}

.footer-column h2,
.footer-column h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.footer-column ul {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a,
.footer-column span {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

[data-reveal] {
  opacity: 1;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  h1,
  .page-title {
    font-size: 3rem;
  }

  h2,
  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .client-panel--wide {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(4, 10, 17, 0.98);
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 160ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 46px;
    justify-content: center;
  }

  .hero {
    min-height: 66svh;
    padding-top: 7rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(2, 6, 11, 0.96), rgba(2, 6, 11, 0.72)),
      linear-gradient(180deg, rgba(2, 6, 11, 0.06), rgba(2, 6, 11, 0.9));
  }

  h1,
  .page-title {
    font-size: 2.45rem;
  }

  .hero-lead,
  .page-lead,
  .section-lead {
    font-size: 1.02rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-proof {
    display: none;
  }

  .split-layout,
  .auth-layout,
  .admin-detail-layout,
  .reviews-overview,
  .projects-grid,
  .condition-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-summary,
  .document-summary--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1,
  .page-title {
    font-size: 2.08rem;
    line-height: 1.1;
  }

  h2,
  .section-title {
    font-size: 1.7rem;
  }

  .hero {
    min-height: 72svh;
    padding-bottom: 2.5rem;
  }

  .hero-actions,
  .section-actions,
  .card-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .process-grid,
  .legal-grid,
  .form-grid,
  .admin-stats,
  .document-summary,
  .document-summary--compact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-head,
  .document-head,
  .document-item {
    align-items: stretch;
    flex-direction: column;
  }

  .document-actions form {
    width: 100%;
  }

  .pricing-panel,
  .cta-panel,
  .contact-panel,
  .form-panel,
  .notice-panel {
    padding: 1.25rem;
  }

  .page-hero {
    padding-top: 8.2rem;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
