:root {
  --asphalt: #15181c;
  --asphalt-2: #1e2329;
  --concrete: #ece7df;
  --mist: #f6f3ee;
  --steel: #6b7380;
  --ink: #101317;
  --mark: #f0c418;
  --mark-ink: #1a1500;
  --line: rgba(16, 19, 23, 0.14);
  --white: #ffffff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.5;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— NAV —— */
.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
}

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  min-width: 0;
}

.nav__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav__phone {
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav__phone:hover {
  color: var(--mark);
}

/* —— HERO —— */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(21, 24, 28, 0.55) 0%, rgba(21, 24, 28, 0.35) 35%, rgba(21, 24, 28, 0.88) 100%),
    linear-gradient(90deg, rgba(21, 24, 28, 0.65) 0%, transparent 55%);
}

.hero__content {
  padding: 0 0 clamp(3rem, 8vh, 5.5rem);
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__mark {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.65rem;
  background: var(--mark);
  color: var(--mark-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__brand {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero__line {
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 28em;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  background: var(--mark);
  color: var(--mark-ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  background: #ffd645;
}

.hero__cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* —— STRIP —— */
.strip {
  background: var(--asphalt);
  color: rgba(255, 255, 255, 0.78);
  border-top: 4px solid var(--mark);
}

.strip__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 0;
  max-width: 100%;
}

.strip__item strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.strip__item p {
  margin: 0;
  font-size: 0.92rem;
}

/* —— REQUEST —— */
.request {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(16, 19, 23, 0.03) 11px,
      rgba(16, 19, 23, 0.03) 12px
    ),
    var(--concrete);
}

.request__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 100%;
}

.request__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.request__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

.request__visual figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(21, 24, 28, 0.9));
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.request__form-wrap {
  min-width: 0;
}

.request__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-size: 0.9rem;
}

.request h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.request__lead {
  margin: 0 0 1.4rem;
  color: var(--steel);
  max-width: 36em;
}

.quiz-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.quiz-head p {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.quiz-track {
  height: 3px;
  background: rgba(16, 19, 23, 0.12);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.quiz-track span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--mark);
  transition: width 0.35s ease;
}

.quiz-step[hidden] {
  display: none !important;
}

.quiz-q {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}

.field {
  margin-bottom: 0.9rem;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 0;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field .error {
  display: none;
  margin: 0.35rem 0 0;
  color: #b42318;
  font-size: 0.84rem;
}

.field.is-error .error {
  display: block;
}

.field.is-error input,
.field.is-error textarea {
  border-color: #b42318;
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--ink);
}

.btn--fill {
  background: var(--asphalt);
  color: var(--white);
  border-color: var(--asphalt);
}

.btn--fill:hover {
  background: #000;
}

.btn--line {
  border-color: var(--line);
  background: transparent;
}

.btn--line:hover {
  border-color: var(--ink);
}

.btn--wide {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.messenger-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 100%;
}

.messenger-btn {
  display: block;
  cursor: pointer;
  min-width: 0;
}

.messenger-btn input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.messenger-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 46px;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
}

.messenger-btn span img {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.messenger-btn input:checked + span {
  border-color: var(--asphalt);
  background: var(--mark);
  color: var(--mark-ink);
}

@media (max-width: 640px) {
  .messenger-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.85rem 0;
  font-size: 0.86rem;
  color: var(--steel);
}

.consent a {
  color: var(--ink);
  text-decoration: underline;
}

.consent.is-error {
  color: #b42318;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  opacity: 0;
}

.form-status {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #b42318;
}

/* —— FLOW —— */
.flow {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--asphalt-2);
  color: rgba(255, 255, 255, 0.75);
}

.flow h2 {
  margin: 0 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.flow__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  counter-reset: step;
  max-width: 100%;
}

.flow__list li {
  min-width: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.85rem;
}

.flow__list li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  color: var(--mark);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.flow__list strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.flow__list p {
  margin: 0;
  font-size: 0.92rem;
}

/* —— FOOTER —— */
.foot {
  background: var(--asphalt);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0 2.2rem;
  border-top: 4px solid var(--mark);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  max-width: 100%;
}

.foot h2 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
}

.foot a {
  color: #fff;
  text-decoration: none;
}

.foot a:hover {
  color: var(--mark);
}

.foot__phone {
  display: inline-block;
  margin: 0.4rem 0 0.65rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.foot p {
  margin: 0 0 0.35rem;
}

/* —— LEGAL / THANKS —— */
.simple {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: var(--concrete);
}

.simple__box {
  width: min(100%, 640px);
  background: var(--white);
  border-top: 4px solid var(--mark);
  padding: 1.6rem 1.4rem 1.7rem;
}

.simple__box h1 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

.simple__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img,
  .hero__content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .strip__row,
  .request__layout,
  .flow__list,
  .foot__grid {
    grid-template-columns: 1fr;
  }

  .request__visual img {
    aspect-ratio: 16 / 10;
  }

  .hero {
    min-height: 92svh;
  }

  .nav__brand {
    font-size: 1.1rem;
  }
}

/* overflow hard-stop */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe,
svg,
canvas,
table {
  max-width: 100%;
}

.wrap,
.request__layout,
.request__form-wrap,
.messenger-row,
.flow__list,
.foot__grid {
  max-width: 100%;
  min-width: 0;
}

.shot {
  padding: 0;
  background: var(--asphalt);
}

.shot__media {
  width: min(100%, var(--max));
  margin-inline: auto;
  max-width: 100%;
}

.shot__media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}
