@font-face {
  font-family: "Camera Plain";
  src: url("assets/fonts/CameraPlainVariable.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #020303;
  --panel: #0c1111;
  --panel-2: #15140f;
  --text: #f5f7f8;
  --muted: #a8aba6;
  --line: rgba(255, 255, 255, 0.14);
  --gold: #f4c950;
  --gold-dark: #a77717;
  --page-x: clamp(22px, 5vw, 88px);
  --section-y: clamp(92px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: clamp(30px, 5vw, 76px);
  padding: clamp(58px, 7vw, 96px) var(--page-x);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(2, 3, 3, 0.95) 0%, rgba(2, 3, 3, 0.68) 42%, rgba(2, 3, 3, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 3, 3, 0.74) 0%, rgba(2, 3, 3, 0.08) 48%),
    url("assets/hero-team.jpeg") center / cover no-repeat;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.hero-bottom p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

h1 {
  width: min(100%, 1520px);
  font-family: "Camera Plain", Inter, system-ui, sans-serif;
  font-size: clamp(4.1rem, 8.6vw, 9.8rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

h1 span:first-child {
  color: var(--gold);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
}

.btn.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #151007;
}

.btn:not(.primary):hover {
  border-color: rgba(244, 201, 80, 0.75);
}

.section {
  padding: var(--section-y) var(--page-x);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: block;
  margin-bottom: clamp(52px, 6vw, 84px);
}

.section-title h2,
.contact h2 {
  max-width: 900px;
  font-family: "Camera Plain", Inter, system-ui, sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}

.service-card {
  display: flex;
  min-height: 100%;
  align-items: center;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.service-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid rgba(244, 201, 80, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-list h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.service-list p,
.process-grid p,
.about-grid p,
.feedback-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.showcase {
  background:
    radial-gradient(circle at 18% 0%, rgba(244, 201, 80, 0.14), transparent 350px),
    #050707;
  padding-top: clamp(56px, 6vw, 88px);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-color: rgba(244, 201, 80, 0.62) rgba(255, 255, 255, 0.08);
}

.showcase-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 3, 3, 0.72);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-card strong {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.about-work {
  background: #050707;
  text-align: center;
}

.about-work .section-title {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.about-work .section-title h2 {
  max-width: none;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 90px);
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.about-grid p {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.process {
  background:
    linear-gradient(135deg, rgba(244, 201, 80, 0.08), transparent 36%),
    var(--panel);
}

.process-grid,
.video-grid,
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.process-grid div,
.video-grid a,
.feedback-grid article {
  min-height: 240px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--bg);
}

.process-grid div {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
}

.process-grid span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.process-grid strong,
.video-grid span {
  color: var(--text);
  font-weight: 900;
}

.process-grid strong {
  display: block;
  margin-top: clamp(48px, 6vw, 78px);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.process-grid p {
  margin-top: 22px;
}

.feedbacks {
  background: #020303;
}

.feedback-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feedback-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(7, 18, 22, 0.44);
}

.feedback-grid strong {
  display: block;
  margin-top: 22px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
}

.feedback-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.feedback-grid p {
  margin-top: 34px;
}

@media (max-width: 900px) {
  .service-list {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: repeat(5, minmax(240px, 76vw));
  }
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.videos {
  background:
    radial-gradient(circle at 80% 0%, rgba(244, 201, 80, 0.12), transparent 360px),
    var(--bg);
  padding-top: clamp(76px, 8vw, 116px);
}

.video-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: clamp(22px, 2.4vw, 32px);
  text-align: center;
  overflow: hidden;
  background: #030404;
  isolation: isolate;
}

.card-preview {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1);
  transition: transform 180ms ease, opacity 180ms ease;
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(2, 3, 3, 0.06) 0%, rgba(2, 3, 3, 0.28) 46%, rgba(2, 3, 3, 0.9) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(2, 3, 3, 0.24) 78%);
}

.moto-preview .card-preview {
  object-position: center 48%;
}

.detail-preview .card-preview {
  object-position: center 42%;
}

.contact-preview .card-preview {
  object-position: center 52%;
}

.video-grid a:hover {
  border-color: rgba(244, 201, 80, 0.48);
}

.video-grid a:hover .card-preview {
  opacity: 0.9;
  transform: scale(1.06);
}

.play-icon {
  position: absolute;
  top: clamp(22px, 2.5vw, 34px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 0;
  flex: 0 0 auto;
  border: 1px solid rgba(244, 201, 80, 0.42);
  border-radius: 50%;
  background: rgba(2, 3, 3, 0.42);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-left: 12px solid var(--gold);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.video-grid span,
.video-grid strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.84);
}

.video-grid strong {
  margin-top: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.video-grid small {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92);
}

.contact {
  display: flex;
  min-height: clamp(320px, 34vw, 420px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(70px, 8vw, 110px) var(--page-x);
  background: #020303;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-final {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1fr;
  min-height: clamp(380px, 38vw, 480px);
  align-items: center;
  gap: clamp(48px, 9vw, 150px);
  padding: clamp(76px, 8vw, 120px) var(--page-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: #020303;
}

.profile-final h2 {
  max-width: 760px;
  font-family: "Camera Plain", Inter, system-ui, sans-serif;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.profile-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
  margin: clamp(54px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}

.profile-info li {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(18, 18, 14, 0.72);
}

.profile-info strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.profile-info span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px var(--page-x);
  color: var(--muted);
}

@media (max-width: 1180px) {
  .feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-bottom,
  .contact {
    align-items: start;
    flex-direction: column;
  }

  .contact {
    min-height: auto;
  }

  .section-title,
  .service-list article,
  .about-grid,
  .profile-final,
  .profile-info,
  .process-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .profile-info {
    margin-top: 28px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

}

@media (max-width: 620px) {
  :root {
    --page-x: 18px;
    --section-y: 74px;
  }

  .hero {
    min-height: 680px;
    padding-top: 42px;
    padding-bottom: 54px;
    background-position: 64% center;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .section-title h2,
  .contact h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .service-list article {
    gap: 16px;
    padding: 20px;
  }

  .process-grid div,
  .feedback-grid article {
    min-height: 220px;
  }

  .video-grid a {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .profile-final {
    min-height: auto;
  }

  .profile-final h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .footer {
    flex-direction: column;
  }
}
