/* ---------------------------------------------------------
   PROFI domains — one-page site
   Palette: workshop / blueprint. Dark & light blue steel + signal orange.
--------------------------------------------------------- */

:root {
  --bg: #0E1620;
  --panel: #142132;
  --panel-2: #1A2C42;
  --line: #2C4863;
  --steel: #8FB2CC;
  --steel-dim: #4C7194;
  --bone: #EAF1F7;
  --bone-dim: #AFC4D6;
  --orange: #E1541E;
  --orange-dim: #B8431A;
  --yellow: #EBA61B;

  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2 {
  font-family: var(--font-display);
  color: var(--bone);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

a { color: inherit; }

/* subtle film-grain / noise overlay so flat dark panels don't look plasticky */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- topbar ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.topbar__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--bone);
  white-space: nowrap;
}
.topbar__mark span { color: var(--orange); }

.topbar__nav {
  display: flex;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow-x: auto;
}
.topbar__nav a {
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.topbar__nav a:hover,
.topbar__nav a:focus-visible { color: var(--orange); border-color: var(--orange); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, black 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 30% 20%, black 0%, transparent 75%);
}

.hero__wrench {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  color: var(--steel);
  opacity: 0.22;
}

.hero__inner { position: relative; max-width: 660px; }

.hero__set {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--steel);
  margin: 0 0 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero__lede {
  color: var(--bone-dim);
  font-size: 1.06rem;
  max-width: 52ch;
  margin: 0 0 32px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: #1B1000;
}
.btn--primary:hover { background: #ef6431; }
.btn--primary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

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

/* ---------- lots (listings) ---------- */

.lots { padding: 84px 0 20px; }

.lot {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  padding: 34px 34px 30px;
  margin-bottom: 26px;
}

.lot__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 18px;
}

.lot__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--steel-dim);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.lot h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.lot h2 a { text-decoration: none; }
.lot h2 a:hover, .lot h2 a:focus-visible { color: var(--orange); }

.price-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 18px 10px 14px;
}
.price-tag__hole {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--steel-dim);
  background: var(--bg);
  flex-shrink: 0;
}
.price-tag__amount {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--yellow);
}

.lot__desc {
  color: var(--bone-dim);
  max-width: 68ch;
  margin: 0 0 22px;
}
.lot__desc strong { color: var(--bone); font-weight: 600; }

.lot__cta {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.lot__cta:hover, .lot__cta:focus-visible { border-color: var(--orange); }

/* ---------- why (SEO copy) ---------- */

.why {
  padding: 76px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.why h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.why p {
  color: var(--bone-dim);
  margin: 0 0 16px;
  max-width: 58ch;
}
.why p:last-child { margin-bottom: 0; }
.why strong { color: var(--bone); font-weight: 600; }
.why em { color: var(--orange); font-style: normal; }

/* ---------- offer form ---------- */

.offer { padding: 88px 0 100px; }

.offer__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.offer__intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 10px 0 16px;
}

.offer__form {
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  padding: 34px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

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

.offer__note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--bone-dim);
}
.offer__note--ok { color: #8FCB8C; }
.offer__note--err { color: #E27B6B; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 28px;
}

.footer__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.footer__mark span { color: var(--orange); }

.footer__fine {
  color: var(--steel);
  font-size: 0.88rem;
  margin: 0;
  max-width: 34ch;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}
.footer__links a { color: var(--bone-dim); text-decoration: none; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--orange); }

.footer__copy {
  color: var(--steel-dim);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 780px) {
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .offer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 72px 0 64px; }
  .hero__wrench { width: 300px; height: 300px; right: -80px; opacity: 0.1; }
  .lot { padding: 26px 22px 24px; }
  .offer__form { padding: 26px; }
  .topbar__inner { height: auto; padding: 14px 28px; flex-direction: column; align-items: flex-start; gap: 10px; }
}
