:root {
  --bg: #0b1020;
  --text: #ffffff;
  --muted: #adb5ce;
  --accent: #e31e2f;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(227, 30, 47, 0.1);
  --border: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 10%, #151d38 0%, var(--bg) 42%, #080c18 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.wrap {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.page-glow-top {
  background: var(--accent);
  top: -110px;
  left: -80px;
}

.page-glow-bottom {
  background: #7426ff;
  right: -130px;
  bottom: -110px;
}

.bg-car {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.055;
  filter: saturate(0) brightness(1.5);
}

.bg-car-1 {
  width: min(52vw, 760px);
  height: min(22vw, 320px);
  top: 16%;
  left: -7%;
  background-image: url("assets/car-silhouette-1.svg");
  transform: rotate(-5deg);
}

.bg-car-2 {
  width: min(54vw, 800px);
  height: min(24vw, 340px);
  right: -8%;
  bottom: 10%;
  background-image: url("assets/car-silhouette-2.svg");
  transform: rotate(4deg) scaleX(-1);
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-weight: 600;
}

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

.header-phone {
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: center;
  min-height: 0;
  padding: 30px 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 6% 0 auto;
  height: 44%;
  background: linear-gradient(90deg, transparent, rgba(227, 30, 47, 0.08), transparent);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  from {
    transform: translateX(-18%);
  }
  to {
    transform: translateX(18%);
  }
}

.hero-kicker {
  margin: 0;
  display: inline-block;
  border: 1px solid rgba(227, 30, 47, 0.55);
  background: rgba(227, 30, 47, 0.13);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  margin: 16px 0 14px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

.btn-main {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(227, 30, 47, 0.45);
  animation: glow 2.3s infinite;
}

.btn-outline {
  background: transparent;
  border-color: #fff;
}

.btn-social {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-telegram {
  background: linear-gradient(160deg, #2aabee, #229ed9);
}

.btn-telegram:hover {
  box-shadow: 0 0 0 2px rgba(34, 158, 217, 0.35), 0 10px 22px rgba(34, 158, 217, 0.3);
}

.btn-light {
  margin-top: 18px;
  background: #fff;
  color: #0b1020;
  display: inline-block;
}

.btn-light:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(227, 30, 47, 0.3) inset;
}

.btn-whatsapp {
  background: linear-gradient(160deg, #25d366, #1fab4f);
  color: #fff;
}

.btn-whatsapp:hover {
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.35), 0 10px 22px rgba(37, 211, 102, 0.3);
}

.btn-max {
  background: linear-gradient(160deg, #7158ff, #3f76ff);
  color: #fff;
}

.btn-max:hover {
  box-shadow: 0 0 0 2px rgba(98, 117, 255, 0.45), 0 10px 22px rgba(63, 118, 255, 0.32);
}

.btn.big {
  padding: 16px 24px;
  font-size: 1.02rem;
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(227, 30, 47, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(227, 30, 47, 0);
  }
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(227, 30, 47, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
}

.service-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.service-pill {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(227, 30, 47, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  padding: 14px 16px;
  transform: translateY(10px);
  opacity: 0;
  animation: pillIn 0.75s ease forwards;
}

.service-pill:nth-child(2) {
  animation-delay: 0.12s;
}

.service-pill:nth-child(3) {
  animation-delay: 0.24s;
}

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

.service-pill h3 {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.hero-contacts {
  background: linear-gradient(145deg, rgba(11, 16, 32, 0.85), rgba(38, 12, 26, 0.78));
  border: 1px solid rgba(227, 30, 47, 0.75);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.hero-contacts a {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.1vw, 1.38rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 8px 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-contacts a:hover {
  transform: translateX(2px);
  border-color: rgba(227, 30, 47, 0.85);
  background: rgba(227, 30, 47, 0.14);
}

.messenger-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.messenger-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.trust-badge {
  position: static;
  align-self: flex-end;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(11, 16, 32, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
}

section {
  padding: 44px 0;
}

h2 {
  margin: 0 0 18px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.solution-title {
  white-space: nowrap;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.panel-accent {
  background: linear-gradient(145deg, var(--surface-2), rgba(255, 255, 255, 0.04));
}

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

.pain-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pain-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid rgba(227, 30, 47, 0.9);
  border-radius: 10px;
  background: rgba(227, 30, 47, 0.12);
  color: #f8f9ff;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pain-list li:hover {
  background: rgba(227, 30, 47, 0.2);
  transform: translateX(2px);
}

.solution-lead {
  margin: 0 0 12px;
  color: #e8ebfb;
  font-weight: 600;
  line-height: 1.55;
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-left: 3px solid rgba(113, 214, 163, 0.95);
  border-radius: 10px;
  background: rgba(113, 214, 163, 0.1);
  color: #f8f9ff;
  font-weight: 600;
  line-height: 1.45;
}

.benefit-list li::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 800;
  color: rgba(113, 214, 163, 0.95);
}

.solution-guarantee {
  margin: 16px 0 0;
  color: #d9dff6;
  font-weight: 600;
  line-height: 1.55;
}

.mini-card {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
}

.mini-card h3 {
  margin: 0 0 8px;
}

.section-divider {
  margin: 22px 0 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.interest-slogan {
  margin: 0;
  color: #d5daf1;
  font-weight: 600;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.benefit-card h3 {
  margin: 0 0 8px;
}

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

.timeline-block {
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.timeline-block h3 {
  margin: 0 0 14px;
}

.calculator {
  padding-top: 20px;
}

.calculator-text {
  margin: 0 0 14px;
  color: #d9dff6;
}

.calculator-text.required-fields-hint {
  margin-top: -6px;
  margin-bottom: 16px;
  font-size: 0.93rem;
  color: rgba(217, 223, 246, 0.88);
}

.required-mark {
  color: #ff5b6a;
  font-weight: 800;
}

.calc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #f5f7ff;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calc-form input,
.calc-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 12px 14px;
  line-height: 1.2;
  font: inherit;
}

.calc-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #c9d1ec 50%), linear-gradient(135deg, #c9d1ec 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.calc-upload {
  grid-column: 1 / -1;
}

.upload-title {
  margin: 0 0 8px;
  font-weight: 600;
  color: #f5f7ff;
}

.upload-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 118px;
  border: 1px dashed rgba(255, 255, 255, 0.36);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.upload-dropzone:hover {
  border-color: rgba(227, 30, 47, 0.78);
  background: rgba(227, 30, 47, 0.12);
}

.upload-dropzone.is-dragover {
  border-color: rgba(227, 30, 47, 0.95);
  background: rgba(227, 30, 47, 0.18);
  transform: scale(1.005);
}

.upload-icon {
  font-size: 1.4rem;
}

.upload-main {
  font-weight: 700;
  color: #fff;
}

.upload-sub {
  color: #cbd3ef;
  font-size: 0.92rem;
}

#car-photos {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f9ff;
  padding: 6px 10px;
  font-size: 0.84rem;
}

.photo-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #cbd3ef;
  font-size: 0.92rem;
}

.captcha-box {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 86px;
}

#turnstile-widget {
  min-height: 65px;
}

.turnstile-fallback {
  margin: 0;
  color: #ffd3d8;
  font-size: 0.88rem;
  text-align: center;
}

.calc-form input::placeholder {
  color: #bfc7e2;
}

.calc-form button {
  grid-column: 1 / -1;
}

.calc-result {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(227, 30, 47, 0.45);
  border-radius: 12px;
  background: rgba(227, 30, 47, 0.13);
  font-weight: 700;
}

.carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 10px 40px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(140px, 18vw, 200px);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.carousel-slide:hover {
  transform: scale(1.04);
  border-color: rgba(227, 30, 47, 0.6);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(227, 30, 47, 0.85);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow--prev {
  left: 8px;
}

.carousel-arrow--next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 760px) {
  .carousel {
    padding: 8px 36px;
  }

  .carousel-slide {
    width: clamp(120px, 32vw, 170px);
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }
}

.doc-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 104px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(227, 30, 47, 0.09) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.doc-icon {
  width: 72px;
  height: 72px;
  color: #e3e8fb;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.doc-icon--accent {
  color: #f0a8b0;
}

.doc-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--surface);
}

.doc-card h3 {
  margin: 0 0 8px;
}

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

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.docs-note {
  margin: 14px 0 0;
  color: #d6dcf7;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.step {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

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

.step-active {
  border-color: rgba(227, 30, 47, 0.75);
  box-shadow: 0 0 18px rgba(227, 30, 47, 0.22);
}

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

.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.review-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(227, 30, 47, 0.55);
  margin-bottom: 10px;
}

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

.review cite {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-style: normal;
}

.action {
  margin-top: 14px;
  border: 1px solid rgba(227, 30, 47, 0.5);
  border-radius: 20px;
  padding: 28px;
  background: radial-gradient(circle at center, rgba(227, 30, 47, 0.18) 0%, rgba(11, 16, 32, 0.95) 72%);
}

.bonus {
  margin: 0;
  display: inline-block;
  background: rgba(227, 30, 47, 0.16);
  border: 1px solid rgba(227, 30, 47, 0.58);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
}

.action h2 {
  margin-top: 14px;
}

.action-text {
  margin: 0;
  color: #e3e7fb;
}

.socials-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.action-link {
  min-height: 64px;
  font-size: 0.95rem;
  padding: 10px 16px;
}

.qr {
  width: 138px;
  height: 138px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: block;
}

.phones-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.phones-row a {
  font-size: 1.15rem;
  font-weight: 800;
}

.phones-row span {
  color: #d7dcef;
  font-weight: 500;
}

.footer {
  padding: 26px 0 34px;
  color: #9aa4c1;
}

@media (max-width: 1024px) {
  .header-phone {
    display: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-visual {
    max-width: 560px;
  }

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

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

@media (max-width: 760px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  section {
    padding: 34px 0;
  }

  .carousel {
    padding: 10px 42px;
  }

  .carousel-slide {
    width: min(260px, 78vw);
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .examples-grid,
  .docs-grid,
  .timeline,
  .reviews-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .btn,
  .btn.big {
    width: 100%;
    text-align: center;
  }

  .action {
    padding: 20px;
  }

  .socials-row {
    grid-template-columns: 1fr;
  }

  .phones-row {
    gap: 12px;
  }

  .phones-row a {
    font-size: 1.08rem;
  }

  .bg-car {
    opacity: 0.04;
  }
}

/* ─── Lightbox ────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 250;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s ease;
}

.lightbox.is-open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(227, 30, 47, 0.8);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(227, 30, 47, 1);
  transform: scale(1.06);
}

/* ─── Consent checkbox ────────────── */
.calc-form .consent-checkbox,
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 10px;
  cursor: pointer;
}

.consent-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.consent-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #c7cddf;
}

.consent-text a {
  color: #9ec2ff;
  text-decoration: underline;
}

.consent-text a:hover {
  color: #b8d4ff;
}

@media (max-width: 760px) {
  .consent-text {
    font-size: 0.72rem;
  }
}

/* ─── Legal / Requisites ──────────── */
.legal {
  padding-top: 40px;
  padding-bottom: 50px;
}

.legal h2 {
  text-align: center;
  margin-bottom: 18px;
}

.legal-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.legal-card p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #c7cddf;
}

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

@media (max-width: 760px) {
  .legal-card {
    padding: 16px 18px;
  }

  .legal-card p {
    font-size: 0.82rem;
  }
}
