/* ===== Tokens ===== */
:root {
  --bg: #0B0B0C;
  --bg-alt: #0E0E10;
  --surface: #121215;
  --border: #232327;
  --border-subtle: #1E1E21;
  --border-input: #2A2A2E;
  --border-outline: #33333A;
  --grid-line: #141417;
  --red: #E11B22;
  --red-hover: #ff2b33;
  --red-text: #FF4A50;
  --green-dot: #7FE08A;
  --text: #F2F0EE;
  --text-secondary: #B9B7B4;
  --text-secondary-2: #A5A3A0;
  --text-secondary-3: #C9C7C4;
  --text-muted: #9A9A9E;
  --text-muted-2: #8A8A8E;
  --text-muted-3: #6E6E73;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', system-ui, sans-serif;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: 'Anton', sans-serif;
  font-size: 19px;
  letter-spacing: .04em;
}
.brand-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .36em;
  color: var(--red);
}
.nav {
  display: flex;
  gap: 26px;
}
.nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-secondary-3);
}
.nav a:hover { color: var(--red-text); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary, .btn-whatsapp {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover, .btn-whatsapp:hover { background: var(--red-hover); }
.btn-outline {
  border-color: var(--border-outline);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--red); }
.btn-block { width: 100%; }
.btn-whatsapp {
  padding: 11px 18px;
  font-size: 15px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-dot);
  flex-shrink: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(38px, 5.5vw, 80px) 22px clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .9;
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  top: 0;
  left: 16%;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--red), transparent);
  opacity: .5;
  pointer-events: none;
  animation: demian-beam 5.5s ease-in-out infinite;
}
@keyframes demian-beam {
  0% { transform: translateY(-10%); opacity: 0; }
  20% { opacity: .5; }
  80% { opacity: .5; }
  100% { transform: translateY(110%); opacity: 0; }
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2A2A2E;
  padding: 7px 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.eyebrow-plain { border: none; padding: 0; margin-bottom: 8px; }
.sq {
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: .93;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats dt {
  font-family: 'Anton', sans-serif;
  font-size: 24px;
  margin: 0;
}
.hero-stats dd {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-muted-2);
  margin: 0;
}
.hero-media {
  position: relative;
}
.hero-media picture {
  display: block;
  aspect-ratio: 1400 / 1399;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #232327;
}

/* ===== Marquee ===== */
.marquee {
  padding: 13px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: demian-marquee 26s linear infinite;
}
@keyframes demian-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--text-muted-3);
  white-space: nowrap;
}
.marquee-group .star { color: var(--red); }

/* ===== Sections ===== */
.section { padding: clamp(52px, 6vw, 92px) 22px; }
.section-alt { background: var(--bg-alt); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.section-dek {
  font-size: 16px;
  color: var(--text-muted-2);
  max-width: 42ch;
  margin: 0;
}
.link-red {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--red);
}
.link-red:hover { color: var(--red-text); }

/* Services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 26px 22px;
  transition: border-color .15s ease;
}
.card:hover { border-color: var(--red); }
.card-num {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  color: var(--red);
  margin-bottom: 10px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--text-secondary-2); margin: 0; }

/* Work grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}
.work-card {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.work-card img { height: 280px; width: 100%; object-fit: cover; }
.work-card figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.work-title { font-family: 'Anton', sans-serif; font-size: 17px; text-transform: uppercase; }
.work-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red-text);
}

/* CTA */
.cta-box {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}
.cta-box h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 14px; }
.cta-box p { font-size: 16px; color: var(--text-secondary-2); line-height: 1.6; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 32px 22px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand-footer { gap: 10px; }
.brand-footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-muted-2);
}
.footer-info { text-align: right; font-size: 14px; color: var(--text-muted-2); }
.footer-info p { margin: 0 0 4px; }
.footer-info a:hover { color: var(--red-text); }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .nav { display: none; }
  .footer-inner { text-align: left; }
  .footer-info { text-align: left; }
  .hero-stats > div:nth-child(3) { display: none; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ===== Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-beam, .marquee-track {
    animation: none !important;
  }
}
