/* ============================================================
   ДАНИЛА БЕЛОВ — СТРИМТИЗЕР // BRUTALIST THEME
   ============================================================ */

:root {
  --bg: #0d0d0d;
  --fg: #f2f2f2;
  --accent: #d8ff00;
  --red: #ff2e2e;
  --border: 3px solid var(--fg);
  --font: "Courier New", Courier, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #000;
}

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

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--accent);
  color: #000;
  border-bottom: var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee__track span {
  padding-right: 40px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- HEADER ---------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.header__logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

.header__logo span {
  color: var(--accent);
}

.header__nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: bold;
}

.header__nav a {
  padding: 4px 8px;
  border: 3px solid transparent;
  transition: all .15s steps(2);
}

.header__nav a:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: #000;
}

.header__cta {
  background: var(--accent);
  color: #000 !important;
  border: 3px solid var(--accent) !important;
}

.header__cta:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}

/* ---------- HERO ---------- */
.hero {
  border-bottom: var(--border);
  padding: 80px 24px 0;
}

.hero__tag {
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(48px, 12vw, 160px);
  line-height: .9;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 32px;
}

.hero__line {
  display: block;
}

.hero__line--stroke {
  color: transparent;
  -webkit-text-stroke: 3px var(--fg);
}

.hero__line--accent {
  color: var(--accent);
  text-shadow: 6px 6px 0 var(--red);
}

.hero__line--small {
  font-size: clamp(28px, 6vw, 84px);
  letter-spacing: 0;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 22px);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
  border: var(--border);
  transition: transform .1s steps(2), box-shadow .1s steps(2);
}

.btn--primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 8px 8px 0 var(--fg);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: 8px 8px 0 var(--accent);
}

.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--fg);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: var(--border);
  border-bottom: none;
}

.stat {
  padding: 32px 24px;
  border-right: var(--border);
  display: flex;
  flex-direction: column;
}

.stat:last-child {
  border-right: none;
}

.stat__num, .stat__plus {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: bold;
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat__label {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 3px;
}

/* ---------- SECTIONS ---------- */
.section {
  border-bottom: var(--border);
  padding: 80px 24px;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(40px, 8vw, 96px);
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  background: var(--fg);
  color: #000;
  padding: 0 16px;
  display: inline-block;
}

.section__note {
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 2px;
}

/* ---------- WORKS ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.work-card {
  border: var(--border);
  background: var(--bg);
  transition: transform .15s steps(2), box-shadow .15s steps(2);
}

.work-card:hover {
  transform: translate(-6px, -6px);
  box-shadow: 12px 12px 0 var(--accent);
}

.work-card__placeholder {
  aspect-ratio: 16 / 9;
  border-bottom: var(--border);
  position: relative;
  background:
    repeating-linear-gradient(45deg, #161616 0 12px, #0d0d0d 12px 24px);
  transition: background .15s steps(2);
}

.work-card:hover .work-card__placeholder {
  background:
    repeating-linear-gradient(45deg, #1c1c05 0 12px, #0d0d0d 12px 24px);
}

.work-card__num {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 14px;
  font-weight: bold;
  background: var(--red);
  color: #fff;
  padding: 2px 10px;
}

.work-card__meta {
  padding: 16px;
}

.work-card__meta h3 {
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.work-card__meta p {
  font-size: 13px;
  color: #999;
}

/* ---------- SERVICES ---------- */
.services__list {
  display: flex;
  flex-direction: column;
}

.service {
  display: grid;
  grid-template-columns: 80px 1fr 2fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px 16px;
  border: var(--border);
  border-bottom: none;
  transition: background .15s steps(2), color .15s steps(2);
}

.service:last-child {
  border-bottom: var(--border);
}

.service:hover {
  background: var(--accent);
  color: #000;
}

.service:hover .service__index,
.service:hover .service__price {
  color: #000;
}

.service__index {
  color: var(--accent);
  font-weight: bold;
}

.service__name {
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 1px;
}

.service__desc {
  font-size: 14px;
  line-height: 1.6;
}

.service__price {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- ABOUT ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.about__lead {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: bold;
  margin-bottom: 24px;
  border-left: 8px solid var(--accent);
  padding-left: 20px;
}

.about__text > p {
  margin-bottom: 16px;
  color: #ccc;
}

.about__facts {
  list-style: none;
  margin-top: 24px;
}

.about__facts li {
  padding: 8px 0;
  border-bottom: 1px dashed #444;
}

.about__photo-frame {
  aspect-ratio: 3 / 4;
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 4px;
  text-align: center;
  color: #555;
  background:
    repeating-linear-gradient(-45deg, #161616 0 16px, #0d0d0d 16px 32px);
  box-shadow: 12px 12px 0 var(--red);
}

/* ---------- CONTACT ---------- */
.contact__lead {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: bold;
  margin-bottom: 40px;
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.contact__link {
  border: var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .15s steps(2);
}

.contact__link:hover {
  background: var(--fg);
  color: #000;
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--accent);
}

.contact__label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
}

.contact__link:hover .contact__label {
  color: var(--red);
}

.contact__value {
  font-size: 20px;
  font-weight: bold;
}

/* ---------- FOOTER ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  font-size: 13px;
  letter-spacing: 2px;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .service {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .about__photo {
    max-width: 320px;
  }

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

  .stat {
    border-right: none;
    border-bottom: var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .header__nav {
    gap: 8px;
    font-size: 12px;
  }
}
