* {
  box-sizing: border-box;
}

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #1e293b;
  --card-soft: #243244;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --border: rgba(148, 163, 184, 0.22);
  --success: #86efac;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
}

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

.site-header {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: #06202f;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 54px auto 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-text {
  max-width: 760px;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #082f49;
}

.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  color: var(--text);
  background: rgba(15, 23, 42, 0.55);
}

.button.secondary:hover {
  border-color: var(--accent);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  background: rgba(30, 41, 59, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.card-label {
  margin-bottom: 18px;
  color: var(--success);
  font-weight: 800;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.58);
  color: #dbeafe;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1160px) / 2));
  padding-right: max(16px, calc((100% - 1160px) / 2));
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 30px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.step,
.case-card,
.contact-box {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(30, 41, 59, 0.72);
}

.service-card {
  padding: 24px;
}

.service-card p,
.step p,
.case-card p,
.contact-box p {
  color: var(--muted);
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 24px;
}

.step span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 800;
}

.case-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.case-tag {
  margin-bottom: 12px;
  color: var(--success);
  font-weight: 800;
}

.case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-section {
  padding-top: 40px;
}

.contact-box {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(30, 41, 59, 0.76));
}

.contact-placeholder {
  margin-top: 24px;
  padding: 18px;
  border: 1px dashed rgba(226, 232, 240, 0.35);
  border-radius: 18px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.42);
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .services-grid,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .case-links {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}

.hero-accent {
  color: var(--success);
  font-weight: inherit;
  text-shadow: none;
}

.lead-form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  font: inherit;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #64748b;
}

.form-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.success {
  color: var(--success);
}

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

  .form-button {
    width: 100%;
  }
}

.form-note.error {
  color: #fca5a5;
}

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

.contact-text {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--muted);
  max-width: 680px;
}

.audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.audit-card h2 {
  margin-top: 0;
}

.audit-list {
  padding: 24px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border);
}

.audit-list h3 {
  margin-top: 0;
}

.audit-list ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.audit-list li {
  margin-bottom: 8px;
}

.task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.task-list div {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.contact-text {
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--muted);
  max-width: 720px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
  color: var(--text);
}

.checkbox-label input {
  width: auto;
  min-width: 18px;
  height: 18px;
}

@media (max-width: 780px) {
  .audit-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .task-list {
    grid-template-columns: 1fr;
  }
}

/* visual refresh v16 */

.hero-card,
.service-card,
.object-card,
.audit-card,
.task-list div,
.step {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card:hover,
.object-card:hover,
.task-list div:hover,
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 18px 50px rgba(8, 145, 178, 0.16);
}

.hero-card {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(34, 197, 94, 0.13);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.22), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(34, 197, 94, 0.18), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.10), transparent 40%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
}

.button.primary {
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.22);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(34, 197, 94, 0.30);
}

.hero-points span:nth-child(1),
.service-card:nth-child(1) {
  border-color: rgba(56, 189, 248, 0.35);
}

.hero-points span:nth-child(2),
.service-card:nth-child(2) {
  border-color: rgba(96, 165, 250, 0.35);
}

.hero-points span:nth-child(3),
.service-card:nth-child(3) {
  border-color: rgba(34, 197, 94, 0.35);
}

.hero-points span:nth-child(4),
.service-card:nth-child(4) {
  border-color: rgba(251, 191, 36, 0.35);
}

.objects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.object-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.object-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

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

.audit-card {
  border-color: rgba(251, 191, 36, 0.32);
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.04);
}

@media (max-width: 980px) {
  .objects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* compact refresh v17 */

.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.compact-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.hero {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 56px;
}

.hero-content {
  max-width: 1120px;
}

.hero h1 {
  max-width: 1100px;
}

.hero-text {
  max-width: 860px;
}

.hero-actions {
  flex-wrap: wrap;
}

.services-grid {
  gap: 16px;
}

.service-card {
  padding: 22px;
}

.service-card p {
  line-height: 1.55;
}

.objects-grid.compact-objects {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.compact-objects .object-card {
  min-height: 118px;
  padding: 18px;
}

.compact-objects .object-card h3 {
  margin-bottom: 8px;
}

.compact-objects .object-card p {
  font-size: 0.95rem;
  line-height: 1.45;
}

.audit-card {
  gap: 20px;
  padding: 26px;
}

.audit-card p {
  line-height: 1.55;
}

.checkbox-label {
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 18px;
  background: rgba(251, 191, 36, 0.08);
  cursor: pointer;
}

.checkbox-label:hover {
  border-color: rgba(251, 191, 36, 0.65);
  background: rgba(251, 191, 36, 0.12);
}

.checkbox-label span {
  display: grid;
  gap: 4px;
}

.checkbox-label small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.checkbox-label input {
  margin-top: 4px;
  transform: scale(1.15);
}

@media (max-width: 980px) {
  .objects-grid.compact-objects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 52px;
  }
}

@media (max-width: 560px) {
  .section,
  .compact-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .objects-grid.compact-objects {
    grid-template-columns: 1fr;
  }

  .compact-objects .object-card {
    min-height: auto;
  }
}

/* compact layout v18 */

body {
  line-height: 1.45;
}

.site-header {
  padding-top: 14px;
  padding-bottom: 14px;
}

.hero {
  padding-top: 46px;
  padding-bottom: 38px;
}

.hero h1 {
  max-width: 1180px;
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.hero-text {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 20px;
  gap: 10px;
}

.hero-points {
  margin-top: 22px;
  gap: 8px;
}

.hero-points span {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.section {
  padding-top: 38px;
  padding-bottom: 38px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.services-grid {
  gap: 12px;
}

.service-card {
  padding: 18px;
  border-radius: 18px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.42;
}

.objects-grid.compact-objects {
  gap: 10px;
}

.compact-objects .object-card {
  min-height: 96px;
  padding: 15px;
  border-radius: 18px;
}

.compact-objects .object-card h3 {
  margin-bottom: 6px;
}

.compact-objects .object-card p {
  font-size: 0.9rem;
  line-height: 1.35;
}

.audit-card {
  padding: 22px;
  gap: 18px;
  border-radius: 22px;
}

.audit-card h2 {
  margin-bottom: 10px;
}

.audit-card p {
  margin-bottom: 0;
  line-height: 1.45;
}

.audit-list {
  padding: 18px;
  border-radius: 18px;
}

.audit-list ul {
  margin-bottom: 16px;
}

.task-list {
  gap: 10px;
}

.task-list div {
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
}

.steps {
  gap: 12px;
}

.step {
  padding: 18px;
  border-radius: 18px;
}

.step h3 {
  margin-bottom: 6px;
}

.step p {
  font-size: 0.94rem;
  line-height: 1.4;
}

.contact-box {
  padding: 26px;
  border-radius: 24px;
}

.contact-text {
  margin-bottom: 18px;
}

.lead-form {
  gap: 14px;
}

.checkbox-label {
  padding: 20px 22px;
  border-width: 2px;
  border-color: rgba(251, 191, 36, 0.65);
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(34, 197, 94, 0.08));
  box-shadow: 0 14px 40px rgba(251, 191, 36, 0.12);
}

.checkbox-label input {
  width: 26px;
  height: 26px;
  min-width: 26px;
  margin-top: 2px;
  accent-color: #fbbf24;
}

.checkbox-label strong {
  font-size: 1.05rem;
}

.checkbox-label small {
  font-size: 0.92rem;
}

.form-button {
  margin-top: 4px;
}

@media (max-width: 780px) {
  .hero {
    padding-top: 34px;
  }

  .contact-box {
    padding: 20px;
  }
}

/* top contact compact v19 */

.contact-section-top {
  padding-top: 26px;
  padding-bottom: 34px;
}

.contact-section-top .contact-box {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(420px, 1.28fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
}

.contact-section-top .eyebrow,
.contact-section-top h2,
.contact-section-top .contact-text {
  grid-column: 1;
}

.contact-section-top h2 {
  margin-bottom: 10px;
}

.contact-section-top .contact-text {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.42;
}

.contact-section-top .lead-form,
.contact-section-top #form-note {
  grid-column: 2;
}

.contact-section-top .lead-form {
  gap: 10px;
}

.contact-section-top .form-grid {
  gap: 10px;
}

.contact-section-top label {
  gap: 6px;
}

.contact-section-top textarea {
  min-height: 92px;
}

.contact-section-top .checkbox-label {
  margin: 4px 0;
  padding: 18px 20px;
}

.contact-section-top .form-button {
  width: 100%;
}

@media (max-width: 860px) {
  .contact-section-top .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-section-top .eyebrow,
  .contact-section-top h2,
  .contact-section-top .contact-text,
  .contact-section-top .lead-form,
  .contact-section-top #form-note {
    grid-column: 1;
  }
}

/* ultra compact form v20 */

.contact-section-top {
  padding-top: 14px;
  padding-bottom: 20px;
}

.contact-section-top .contact-box {
  display: block;
  padding: 16px;
  border-radius: 18px;
}

.contact-section-top .eyebrow {
  margin-bottom: 4px;
}

.contact-section-top h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.contact-section-top .contact-text {
  max-width: none;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.contact-section-top .lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 8px;
}

.contact-section-top .form-grid {
  display: contents;
}

.contact-section-top label {
  font-size: 0.82rem;
  gap: 4px;
}

.contact-section-top input,
.contact-section-top select {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.contact-section-top .message-field {
  grid-column: span 2;
}

.contact-section-top .checkbox-label {
  grid-column: span 1;
  margin: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
}

.contact-section-top .checkbox-label input {
  width: 20px;
  height: 20px;
  min-width: 20px;
}

.contact-section-top .checkbox-label strong {
  font-size: 0.9rem;
}

.contact-section-top .checkbox-label small {
  display: none;
}

.contact-section-top .form-button {
  grid-column: span 1;
  min-height: 40px;
  padding: 9px 14px;
  margin: 0;
}

.contact-section-top #form-note {
  margin-top: 8px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .contact-section-top .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section-top .message-field,
  .contact-section-top .checkbox-label,
  .contact-section-top .form-button {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .contact-section-top .lead-form {
    grid-template-columns: 1fr;
  }

  .contact-section-top .message-field,
  .contact-section-top .checkbox-label,
  .contact-section-top .form-button {
    grid-column: 1;
  }
}

/* form readability v21 */

.contact-section-top .lead-form label {
  font-size: 0.96rem;
  font-weight: 700;
}

.contact-section-top input,
.contact-section-top select {
  font-size: 1rem;
  min-height: 42px;
}

.contact-section-top .message-field input {
  font-size: 1rem;
}

.contact-section-top .checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 16px;
}

.contact-section-top .checkbox-label span {
  order: 1;
  display: block;
  line-height: 1.25;
}

.contact-section-top .checkbox-label input {
  order: 2;
  margin: 0 0 0 auto;
  width: 28px;
  height: 28px;
  min-width: 28px;
}

.contact-section-top .checkbox-label strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.contact-section-top .form-button {
  font-size: 1rem;
  font-weight: 800;
  min-height: 44px;
}

/* layout rebuild v22 */

.contact-section-top {
  padding-top: initial;
  padding-bottom: initial;
}

.section-heading .eyebrow {
  font-size: 0.98rem;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

/* Основные услуги */
#services .section-heading .eyebrow {
  font-size: 1.1rem;
}

#services .section-heading h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

#services .service-card h3 {
  text-align: center;
  font-size: 1.15rem;
}

#services .service-card {
  min-height: 180px;
}

/* Для каких объектов */
#objects .section-heading .eyebrow {
  font-size: 1.1rem;
}

#objects .section-heading h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

#objects .object-card h3 {
  text-align: center;
  font-size: 1.08rem;
}

/* Примеры задач */
#tasks .section-heading .eyebrow {
  font-size: 1.1rem;
}

#tasks .section-heading h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

/* Подход */
#process .section-heading .eyebrow {
  font-size: 1.1rem;
}

#process .section-heading h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

#process .step h3 {
  text-align: center;
}

/* Форма снова обычная, но компактная */
.contact-section .contact-box {
  max-width: 980px;
  margin: 0 auto;
}

.contact-section .lead-form {
  gap: 14px;
}

.contact-section textarea {
  min-height: 96px;
}

.contact-section .checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-section .checkbox-label input {
  order: 2;
  margin-left: auto;
}

/* Popup */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  background: rgba(2, 6, 23, 0.38);
}

.lead-popup.is-visible {
  display: flex;
}

.lead-popup-card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 40%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.14), transparent 40%),
    #0f172a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lead-popup-card h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
}

.lead-popup-card p {
  color: var(--muted);
}

.lead-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

.lead-popup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .lead-popup {
    align-items: flex-end;
    padding: 14px;
  }
}
