/* ============================================================
   Seventynine Digital — Landing Page
   ============================================================ */

:root {
  --red: #e10600;
  --red-bright: #ff1f1f;
  --red-soft: rgba(225, 6, 0, 0.14);
  --bg: #000000;
  --bg-2: #070707;
  --bg-3: #0d0d0d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --muted: #a3a3a3;
  --muted-2: #767676;
  --radius: 14px;
  --container: 1280px;
  --pad: 32px;
  --hdr-h: 92px;
  --anchor-gap: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

section[id] {
  scroll-margin-top: calc(var(--hdr-h) + var(--anchor-gap) - var(--pad-top, 0px));
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.bleed-right { margin-right: calc(-1 * (max(0px, (100vw - var(--container)) / 2) + var(--pad))); }

.accent { color: var(--red); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}

.btn .arw { transition: transform 0.28s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 30px rgba(225, 6, 0, 0.32);
}
.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: 0 10px 40px rgba(225, 6, 0, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.btn-ghost:hover {
  border-color: var(--red);
  background: var(--red-soft);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 26px; font-size: 12.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 92px;
}

.brand { position: relative; z-index: 95; }

.brand-logo { height: 72px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }

.nav-link {
  position: relative;
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: #d8d8d8;
  white-space: nowrap;
  overflow: hidden;
}
.nav-label {
  position: relative;
  display: block;
  line-height: 2.4;
  transition: transform 0.34s var(--ease);
}
.nav-label::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
  width: 100%;
  color: var(--red);
}
.nav-link:hover .nav-label,
.nav-link.active .nav-label { transform: translateY(-100%); }

.nav-num,
.nav-desc,
.nav-watermark,
.nav-follow,
.nav-cta-mobile { display: none; }

.burger {
  display: none;
  position: relative;
  z-index: 95;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger-bars { display: flex; flex-direction: column; gap: 5px; }
.burger-bars span {
  width: 26px; height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.burger.open .burger-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger-bars span:nth-child(2) { opacity: 0; }
.burger.open .burger-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.burger-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease;
}
.burger.open .burger-label { opacity: 1; max-height: 14px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  --pad-top: 100px;
  --pad-bottom: 48px;
  padding: var(--pad-top) 0 var(--pad-bottom);
  background: #000;
  overflow: hidden;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-fx.is-ready { opacity: 0.85; }
.hero-fx canvas { width: 100%; height: 100%; display: block; }

.hero > .container { position: relative; z-index: 2; }

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  background: radial-gradient(
    ellipse 58% 52% at 50% 46%,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.72) 42%,
    rgba(0, 0, 0, 0) 74%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100dvh - var(--pad-top) - var(--pad-bottom));
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.7vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.hero-title .period { color: var(--red); }

.hero-sub {
  max-width: 540px;
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------------- Feature strip ---------------- */
.features {
  --pad-top: 88px;
  padding: var(--pad-top) 0 72px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.features .section-head { margin-bottom: 38px; }
.features .section-title { margin-bottom: 0; }

.feature-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 2px 22px;
  border-left: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
}
.feature-card:first-child { border-left: 0; padding-left: 0; }
.feature-card:hover { transform: translateY(-3px); }

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(225, 6, 0, 0.35);
  color: var(--red);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover .feature-icon {
  border-color: rgba(225, 6, 0, 0.75);
  box-shadow: 0 0 16px rgba(225, 6, 0, 0.25);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.feature-card p { font-size: 0.82rem; color: var(--muted-2); line-height: 1.35; }

.trusted-by {
  --pad-top: 56px;
  padding: var(--pad-top) 0 8px;
  background: var(--bg);
}
.trusted-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted-2);
  margin-bottom: 22px;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee.paused .logo-track { animation-play-state: paused; }

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

.logo-item {
  flex: none;
  display: grid;
  place-items: center;
  width: 200px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}
.logo-item img {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
  filter: contrast(1.75) brightness(1.05);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.logo-item:hover img { opacity: 1; transform: scale(1.05); }

/* ---------------- Sections ---------------- */
.section { --pad-top: 112px; padding: var(--pad-top) 0 112px; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title {
  font-size: clamp(2.1rem, 3.9vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.lead { color: var(--muted); font-size: 1.03rem; max-width: 620px; margin-bottom: 30px; }
.lead.center { margin-inline: auto; }

.section-head { text-align: center; margin-bottom: 60px; }

/* ---------------- About ---------------- */
.about {
  position: relative;
  --pad-top: 50px;
  padding: var(--pad-top) 0 50px;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}

.about-visual {
  position: absolute;
  inset: 0 48px 0 44%;
  z-index: -1;
  pointer-events: none;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  mask-image: linear-gradient(90deg, transparent, #000 6%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%);
}

.about-inner { }

.about-copy { max-width: 510px; }

.about-title {
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.rule {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--red);
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 15px;
}
.about-copy .btn { margin-top: 10px; }

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-rail, .svc-sticky { position: relative; }
.svc-progress { display: none; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #0a0a0b;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.45);
  background: #0d0d0e;
}

.svc-art {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  pointer-events: none;
  opacity: 0.92;
  mask-image: radial-gradient(155% 135% at 100% 0%, #000 62%, transparent 96%);
  -webkit-mask-image: radial-gradient(155% 135% at 100% 0%, #000 62%, transparent 96%);
  transition: opacity 0.4s ease;
}
.svc-art svg { width: 100%; height: auto; display: block; }
.svc-card:hover .svc-art { opacity: 1; }

.svc-art-glow {
  position: absolute;
  top: -30%; right: -20%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.22), transparent 68%);
  pointer-events: none;
}

.svc-num {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.06em;
}

.svc-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px; height: 74px;
  margin: 22px 0 auto;
  border: 1px solid rgba(225, 6, 0, 0.45);
  border-radius: 14px;
  background: rgba(6, 6, 7, 0.72);
  backdrop-filter: blur(3px);
  color: var(--red);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.svc-icon svg { width: 34px; height: 34px; }
.svc-icon img { width: 36px; height: 36px; object-fit: contain; display: block; }
.svc-icon-brand { border-color: rgba(255, 255, 255, 0.14); }
.svc-icon.is-meta svg { width: 40px; height: auto; }
.svc-card:hover .svc-icon {
  border-color: rgba(225, 6, 0, 0.85);
  box-shadow: 0 0 22px rgba(225, 6, 0, 0.22);
}

.svc-card h3 {
  position: relative;
  z-index: 2;
  margin: 26px 0 12px;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
}
.svc-card p {
  position: relative;
  z-index: 2;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}

.svc-arrow {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}
.svc-card:hover .svc-arrow { transform: translateX(6px); }

/* case studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.04), transparent);
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}
.case-card:hover { transform: translateY(-8px); border-color: rgba(225, 6, 0, 0.55); }

.case-num {
  position: absolute;
  top: 26px; right: 26px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(225, 6, 0, 0.55);
}
.case-card {
  display: flex;
  flex-direction: column;
}
.case-tag {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-metric strong {
  display: block;
  font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.cs-metric span {
  display: block;
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.35;
  min-height: 2.7em;
}

.case-list { display: grid; gap: 11px; margin: 18px 0 20px; }
.case-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.case-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.case-brands { margin-top: auto; }
.case-brands-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.case-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 7px;
  min-height: 70px;
}
.case-chip {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.76rem;
  color: #d0d0d0;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.case-card:hover .case-chip { border-color: rgba(225, 6, 0, 0.35); color: #fff; }

/* testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0a0b;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.45);
  background: #0d0d0e;
}

.testi-mark {
  position: absolute;
  top: -12px; right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(225, 6, 0, 0.22);
  pointer-events: none;
  transition: color 0.3s ease;
}
.testi-card:hover .testi-mark { color: rgba(225, 6, 0, 0.38); }

.testi-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, 0.4);
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
}
.testi-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.testi-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.testi-meta strong { font-size: 0.98rem; font-weight: 700; color: #fff; }
.testi-role { font-size: 0.8rem; color: var(--muted-2); }
.testi-co {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.testi-slider { position: relative; }
.testi-dots { display: none; }

@media (max-width: 620px) {
  .testi-slider.is-slider { overflow: hidden; }
  .testi-slider.is-slider .testi-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    transition: transform 0.45s var(--ease);
    will-change: transform;
  }
  .testi-slider.is-slider .testi-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .testi-slider.is-slider .testi-card:hover { transform: none; }

  .testi-dots {
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .testi-slider.is-slider .testi-dots { display: flex; }
  .testi-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
  }
  .testi-dots button.active { background: var(--red); transform: scale(1.25); }
}

/* faq */
.faq-list {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0a0b;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: rgba(225, 6, 0, 0.35); }
.faq-item[open] {
  border-color: rgba(225, 6, 0, 0.5);
  background: #0d0d0e;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.faq-num {
  flex: none;
  width: 26px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
}
.faq-q {
  flex: 1;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.faq-ico {
  flex: none;
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid rgba(225, 6, 0, 0.4);
  border-radius: 50%;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  background: var(--red);
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}
.faq-ico::before { top: 13.5px; left: 7px; width: 14px; height: 2px; }
.faq-ico::after { left: 13.5px; top: 7px; width: 2px; height: 14px; }
.faq-item[open] .faq-ico { background: var(--red-soft); border-color: rgba(225, 6, 0, 0.75); }
.faq-item[open] .faq-ico::after { transform: scaleY(0); opacity: 0; }

.faq-body {
  padding: 0 26px 22px 66px;
}
.faq-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}
.faq-body strong { color: #fff; font-weight: 700; }

.faq-item[open] .faq-body { animation: faqOpen 0.32s var(--ease); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------- Contact ---------------- */
.contact {
  position: relative;
  --pad-top: 100px;
  padding: var(--pad-top) 0 56px;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  scroll-margin-top: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  top: -140px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.13), transparent 62%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.contact-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.contact-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 30px;
}

.contact-form {
  padding: 22px 26px 20px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#0a0a0b, #0a0a0b) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 45%, rgba(225, 6, 0, 0.3)) border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.form-head {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.form-head h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 4px; }
.form-head p { font-size: 0.86rem; color: var(--muted-2); }

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

.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #5a5a5a; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(225, 6, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
}
.field textarea { resize: vertical; min-height: 92px; }
.field.invalid input,
.field.invalid textarea { border-color: var(--red-bright); }

.contact-form .btn-block { margin-top: 6px; padding: 16px 26px; }

.form-note {
  min-height: 18px;
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--red);
}
.form-note.ok { color: #4ade80; }

@media (min-width: 901px) and (max-height: 760px) {
  .contact { padding: var(--pad-top) 0 40px; }
  .contact-form { padding: 18px 24px 16px; }
  .form-head { padding-bottom: 10px; margin-bottom: 12px; }
  .field { margin-bottom: 10px; }
  .field input, .field textarea { padding: 10px 15px; }
  .contact-form .btn-block { padding: 14px 26px; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  position: relative;
  background: var(--bg);
  padding: 64px 0 26px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 50px;
  padding-bottom: 44px;
}

.footer-logo { height: 44px; margin-bottom: 18px; }
.footer-about {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted-2);
  max-width: 330px;
  margin-bottom: 22px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-social img { width: 20px; height: 20px; object-fit: contain; display: block; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--muted-2);
  padding: 6px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }

.footer-addr {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted-2);
  margin: 10px 0 16px;
}
.footer-col a.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
  border-bottom: 1px solid rgba(225, 6, 0, 0.4);
}
.footer-col a.footer-cta:hover { color: #fff; border-bottom-color: #fff; transform: none; }
.footer-col a.footer-cta .arw { transition: transform 0.28s var(--ease); }
.footer-col a.footer-cta:hover .arw { transform: translateX(4px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a6a6a;
}

/* ---- fallback wordmark shown only if assets/logo.png is missing ---- */
.logo-fallback { display: inline-flex; align-items: center; gap: 14px; }
.logo-fallback b {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--red);
  line-height: 1;
}
.logo-fallback em {
  font-style: normal;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.logo-fallback i { font-style: normal; color: var(--red); }

/* ---------------- Reveal animation ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
  .logo-track { flex-wrap: wrap; width: 100%; justify-content: center; }
  .logo-track .logo-clone { display: none; }
}

/* ---------------- Responsive ---------------- */
@media (min-width: 1700px) {
  :root { --container: 1400px; }
}

@media (max-width: 1280px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services-grid { grid-template-columns: 1fr; } }

@media (min-width: 1101px) and (max-width: 1260px) {
  .hero-actions { gap: 12px; }
  .hero-actions .btn-lg { padding: 14px 18px; font-size: 12px; letter-spacing: 0.07em; }
}

@media (max-width: 1100px) {
  .hero-inner { gap: 52px; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
  .feature-card { border-left: 0; padding: 0; }
  .case-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
  .nav-link::before { inset: -7px -9px; }
  .brand-logo { height: 56px; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; --hdr-h: 76px; }
  .header-inner { height: 76px; }
  .header-cta { display: none; }
  .burger { display: flex; }

  /* ---- full-screen menu overlay ---- */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100vh;
    height: 100dvh;
    padding: 78px 26px max(14px, 2vh);
    background: #000;
    overflow: hidden;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.32s ease, transform 0.4s var(--ease), visibility 0.32s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }

  .nav-watermark {
    display: block;
    position: absolute;
    top: 84px; right: -10px;
    font-size: min(15rem, 26vh);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(225, 6, 0, 0.16);
    pointer-events: none;
    user-select: none;
  }

  .nav-link {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 0 clamp(3px, 0.9vh, 10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
  }
  .nav-link::after { content: none; }
  .nav-link { overflow: visible; }
  .nav-label::after { content: none; }
  .nav-link:hover .nav-label,
  .nav-link.active .nav-label { transform: none; }

  .nav-num {
    display: block;
    font-size: clamp(0.6rem, 1.35vh, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: clamp(1px, 0.4vh, 3px);
  }
  .nav-label {
    display: block;
    font-size: clamp(1.15rem, 3.4vh, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.08;
    color: #fff;
    transition: color 0.25s ease;
  }
  .nav-desc {
    display: block;
    margin-top: clamp(1px, 0.5vh, 4px);
    font-size: clamp(0.72rem, 1.6vh, 0.86rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--muted-2);
  }

  .nav-link.active .nav-label { color: var(--red); }
  .nav-link.active::before {
    content: "";
    position: absolute;
    left: -16px; top: 50%;
    right: auto; bottom: auto;
    border: 0;
    transform: translateY(-50%);
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red);
  }

  .nav-cta-mobile {
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: clamp(12px, 2.4vh, 20px);
    padding: clamp(12px, 2.1vh, 17px) 20px;
    border: 1px solid var(--red);
    border-radius: 8px;
    background: rgba(225, 6, 0, 0.05);
    box-shadow: 0 0 24px rgba(225, 6, 0, 0.22);
    color: #fff;
    font-size: clamp(0.8rem, 1.8vh, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .nav-cta-mobile svg {
    width: clamp(17px, 2.6vh, 22px);
    height: clamp(17px, 2.6vh, 22px);
    flex: none;
    color: var(--red);
  }

  .nav-follow {
    position: relative;
    z-index: 1;
    flex: none;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.2vh, 20px);
    margin-top: clamp(12px, 2.4vh, 22px);
    padding-top: clamp(11px, 2vh, 18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-follow-label {
    font-size: clamp(0.62rem, 1.4vh, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--muted-2);
    padding-right: clamp(12px, 2.2vh, 20px);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-follow-links { display: flex; gap: 12px; }
  .nav-follow-links a {
    display: grid;
    place-items: center;
    width: clamp(34px, 5vh, 42px);
    height: clamp(34px, 5vh, 42px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fff;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  }
  .nav-follow-links a:hover {
    border-color: var(--red);
    background: var(--red-soft);
    color: var(--red);
  }
  .nav-follow-links svg { width: clamp(15px, 2.2vh, 18px); height: clamp(15px, 2.2vh, 18px); }
  .nav-follow-links img {
    width: clamp(17px, 2.5vh, 21px);
    height: clamp(17px, 2.5vh, 21px);
    object-fit: contain;
    display: block;
  }

  @media (max-height: 520px) {
    .nav-desc { display: none; }
    .nav { padding-top: 66px; }
    .nav-watermark { display: none; }
  }

  body.menu-open { overflow: hidden; }

  .hero { --pad-top: 100px; --pad-bottom: 60px; padding: var(--pad-top) 0 var(--pad-bottom); }
  .features { --pad-top: 64px; padding: var(--pad-top) 0 56px; }
  .features .section-head { margin-bottom: 30px; }
  .contact {
    --pad-top: 56px;
    padding: var(--pad-top) 0 64px;
    min-height: 0;
    display: block;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-lead { max-width: none; }
  .section { --pad-top: 84px; padding: var(--pad-top) 0 84px; }

  .about { --pad-top: 44px; padding: var(--pad-top) 0 68px; }
  .about-visual {
    position: static;
    inset: auto;
    z-index: auto;
    height: 260px;
    margin: 4px calc(-1 * var(--pad)) 30px;
  }
  .about-visual img {
    object-fit: cover;
    object-position: center;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .about-copy { max-width: none; }
}

@media (max-width: 620px) {
  .hero-title { font-size: clamp(1.9rem, 8.6vw, 2.35rem); }
  .hero-fx.is-ready { opacity: 0.62; }
  .feature-strip { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }

  /* ---- services turn into a scroll-driven horizontal rail ---- */
  .svc-rail.is-rail { position: relative; }
  .svc-rail.is-rail .svc-sticky {
    position: sticky;
    top: calc(var(--hdr-h) + 16px);
    overflow: hidden;
    margin-inline: calc(-1 * var(--pad));
    padding-inline: var(--pad);
  }
  .svc-rail.is-rail .services-grid {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
  }
  .svc-rail.is-rail .svc-card {
    flex: 0 0 auto;
    width: min(78vw, 330px);
    min-height: 0;
  }
  .svc-rail.is-rail .svc-card:hover { transform: none; }
  .svc-rail.is-rail .svc-card.reveal { opacity: 1; transform: none; }

  .svc-progress {
    display: block;
    height: 2px;
    margin-top: 22px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }
  .svc-progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--red);
    border-radius: inherit;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .logo-item { width: 150px; padding: 16px 14px; }
  .logo-item img { max-width: 120px; }
  .contact-form { padding: 22px 18px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .faq-item summary { padding: 16px 16px; gap: 12px; }
  .faq-num { width: 22px; font-size: 0.76rem; }
  .faq-q { font-size: 0.95rem; }
  .faq-body { padding: 0 16px 18px 16px; }
}

@media (max-width: 620px) and (min-width: 401px) {
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    justify-content: center;
    text-align: center;
    white-space: normal;
    gap: 6px;
    padding: 11px 10px;
    font-size: clamp(10px, 2.4vw, 12px);
    letter-spacing: 0.05em;
  }
  .hero-actions .btn .arw { flex: none; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 13px 20px; }
}
