:root {
  color-scheme: dark;
  --bg-primary: #050505;
  --bg-secondary: #111111;
  --bg-card: rgba(255, 255, 255, 0.045);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text-soft: rgba(255, 255, 255, 0.65);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.48);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #030303 0%, #090909 45%, #040404 100%);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
}

body.privacy-page {
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.brand-mark,
.hero-title,
.section-kicker,
.number-accent,
.timeline-step__index {
  font-family: "Barlow Condensed", sans-serif;
}

.brand-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.hero-section {
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.56) 0%, rgba(5, 5, 5, 0.36) 48%, rgba(5, 5, 5, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.04) 0%, rgba(5, 5, 5, 0.5) 100%),
    url("../img/3333.png?v=6") 62% center/cover no-repeat;
  transform: scale(1.02);
}

.hero-distance {
  width: fit-content;
}

.hero-mobile-points {
  display: none;
}

.hero-mobile-point {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.hero-mobile-point__dot {
  flex: 0 0 auto;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.12);
}

.hero-surface,
.metal-card,
.timeline-step {
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.035) 100%);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-surface,
.metal-card {
  border-radius: 1.75rem;
}

.metal-card {
  position: relative;
  overflow: hidden;
}

.metal-card::before,
.timeline-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.metal-card:hover::before,
.timeline-step:hover::before {
  opacity: 1;
}

.number-accent {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.messenger-link svg {
  width: 1.08rem;
  height: 1.08rem;
}

.messenger-link--telegram {
  color: #27a7e7;
  background: rgba(39, 167, 231, 0.12);
  border-color: rgba(39, 167, 231, 0.38);
}

.messenger-link--whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.38);
}

.messenger-link:hover {
  transform: translateY(-1px);
}

.timeline-step {
  position: relative;
  min-height: 250px;
  border-radius: 1.9rem;
}

.timeline-step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-cta {
  min-height: 3.5rem;
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.2);
}

.form-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.1rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-input:focus {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.form-input.is-invalid {
  border-color: rgba(248, 113, 113, 0.7);
  box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.form-textarea {
  min-height: 10.5rem;
  resize: vertical;
  line-height: 1.65;
  white-space: pre-wrap;
}

.file-upload-shell {
  display: grid;
  gap: 0.7rem;
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-trigger {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px dashed rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.08);
  padding: 0.95rem 1.1rem;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.file-trigger:hover {
  border-color: rgba(249, 115, 22, 0.72);
  background: rgba(249, 115, 22, 0.14);
  transform: translateY(-1px);
}

.file-hint,
.file-summary {
  font-size: 0.9rem;
  line-height: 1.5;
}

.file-hint {
  color: rgba(255, 255, 255, 0.42);
}

.file-summary {
  color: rgba(255, 255, 255, 0.68);
}

.previews-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.preview-item {
  position: relative;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.34);
  transition: background 0.2s ease, transform 0.2s ease;
}

.preview-remove:hover {
  background: rgba(220, 38, 38, 0.92);
  transform: scale(1.04);
}

.status-message {
  min-height: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.status-message[data-state="success"] {
  color: #86efac;
}

.status-message[data-state="error"] {
  color: #fca5a5;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__panel {
  position: relative;
}

.modal-content {
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 768px) {
  .modal {
    align-items: flex-start;
    padding-top: 0;
  }

  .modal-content {
    align-self: flex-start;
    margin-top: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  header .mx-auto {
    align-items: flex-start;
  }

  .brand-mark {
    font-size: 2rem;
    line-height: 0.92;
  }

  header .text-right > a {
    font-size: 1.1rem;
  }

  header .text-right > div {
    margin-top: 0.55rem;
  }

  .hero-flow {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    max-width: 28rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-actions {
    order: 3;
  }

  .hero-aside {
    order: 4;
  }

  .hero-stats {
    order: 5;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.52) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.58) 0%, rgba(5, 5, 5, 0.2) 68%, rgba(5, 5, 5, 0.5) 100%),
      url("../img/3333.png?v=6") 72% 18%/cover no-repeat;
    transform: none;
  }

  .hero-section .mx-auto {
    padding-top: 1.8rem;
    padding-bottom: 3.2rem;
  }

  .section-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
  }

  .hero-title {
    max-width: 19rem;
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    line-height: 0.94;
  }

  .hero-distance {
    padding: 0.55rem 0.9rem;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .hero-copy > .max-w-2xl {
    display: none;
  }

  .hero-mobile-points {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.1rem;
    max-width: 22rem;
  }

  .hero-actions {
    gap: 0.85rem;
  }

  .hero-actions > * {
    width: 100%;
  }

  .hero-cta,
  .hero-actions > a {
    min-height: 3.65rem;
    border-radius: 1.2rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    letter-spacing: 0.22em;
  }

  .hero-aside {
    max-width: 26rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 1.45rem;
  }

  .hero-aside .section-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
  }

  .hero-aside h2 {
    font-size: 2rem;
    line-height: 0.96;
  }

  .hero-aside p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-contact-label {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .hero-aside .inline-flex {
    gap: 0.85rem;
  }

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

  .hero-contact-actions .text-sm {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .hero-stats {
    max-width: 26rem;
  }

  .hero-stats .metal-card {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .modal {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .modal-content {
    margin-top: 16px;
    border-radius: 1.5rem;
    padding: 1rem;
  }

  .brand-mark {
    font-size: 1.7rem;
  }

  header .mx-auto {
    gap: 0.8rem;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  header .text-right > a {
    font-size: 0.98rem;
  }

  header .text-right > div {
    gap: 0.5rem;
  }

  .messenger-link {
    width: 2.15rem;
    height: 2.15rem;
  }

  .messenger-link svg {
    width: 0.98rem;
    height: 0.98rem;
  }

  .hero-title {
    max-width: 16rem;
    font-size: clamp(2rem, 8.6vw, 2.8rem);
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, rgba(5, 5, 5, 0.56) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.62) 0%, rgba(5, 5, 5, 0.24) 72%, rgba(5, 5, 5, 0.54) 100%),
      url("../img/3333.png?v=6") 74% 16%/cover no-repeat;
  }

  .hero-mobile-points {
    max-width: 18.5rem;
  }

  .hero-mobile-point {
    font-size: 0.88rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .hero-cta,
  .hero-actions > a {
    min-height: 3.35rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    font-size: 0.77rem;
    letter-spacing: 0.18em;
  }

  .hero-aside {
    max-width: 100%;
    padding: 0.95rem;
  }

  .hero-aside h2 {
    font-size: 1.55rem;
  }

  .hero-aside .inline-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
  }

  .hero-aside .inline-flex > span:first-child {
    min-width: 0;
  }

  .hero-aside .inline-flex > span:first-child a {
    font-size: 0.9rem;
  }

  .hero-contact-actions {
    gap: 0.45rem;
  }

  .hero-contact-actions .text-sm {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .privacy-page main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .privacy-page .hero-surface {
    max-width: 100%;
    padding: 1.1rem;
    border-radius: 1.4rem;
  }

  .privacy-page .section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .privacy-title {
    font-size: 2.2rem;
    line-height: 0.94;
    letter-spacing: 0.04em;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .privacy-page .space-y-6 {
    font-size: 0.95rem;
    line-height: 1.85;
  }
}
