:root {
  --red: #9f0102;
  --red-bright: #d30d0f;
  --red-soft: #ffd8d8;
  --ink: #09090a;
  --panel: #151214;
  --panel-soft: #1e191b;
  --white: #ffffff;
  --muted: #cfc8c8;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(6, 6, 7, 0.86), rgba(6, 6, 7, 0.22));
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 96px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(280px, 42vw);
  object-fit: contain;
}

.brand__copy span {
  color: #e6caca;
  font-size: 17px;
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-nav a {
  position: relative;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  background: #e21b1d;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav__phone {
  color: #ffd2d2 !important;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  box-shadow: 0 14px 30px rgba(159, 1, 2, 0.33);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  box-shadow: 0 20px 38px rgba(159, 1, 2, 0.46);
  transform: translateY(-3px);
}

.button--compact {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.button--outline {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(9, 9, 10, 0.22);
  box-shadow: none;
}

.button--outline:hover {
  border-color: #e21b1d;
  background: rgba(159, 1, 2, 0.2);
}

.button--light {
  background: #fff;
  box-shadow: none;
  color: var(--red);
}

.button--dark-outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: center;
  isolation: isolate;
  background: #0b0b0c;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.96) 0%, rgba(6, 6, 7, 0.74) 42%, rgba(6, 6, 7, 0.08) 82%),
    linear-gradient(0deg, rgba(6, 6, 7, 0.72), transparent 58%);
}

.hero__content {
  padding: 184px 0 100px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ffcece;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.booking h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  font-size: clamp(70px, 9vw, 130px);
}

.hero h1 span {
  color: #e21b1d;
  white-space: nowrap;
}

.hero__lead {
  max-width: 560px;
  margin: 34px 0 0;
  color: #f4eeee;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__proof li::before {
  margin-right: 8px;
  color: #e21b1d;
  content: "●";
}

.contact-strip {
  border-bottom: 1px solid var(--line);
  background: #131012;
}

.contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-strip a {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.contact-strip a:first-child {
  border-left: 1px solid var(--line);
}

.contact-strip a:hover {
  background: rgba(159, 1, 2, 0.28);
}

.contact-strip span {
  color: #c4b8b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-strip strong {
  color: #fff;
  font-size: 16px;
}

.section {
  padding: 118px 0;
}

.services,
.gallery {
  background:
    radial-gradient(circle at 88% 18%, rgba(159, 1, 2, 0.16), transparent 28%),
    var(--ink);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.booking h2 {
  font-size: clamp(52px, 7vw, 90px);
}

.section-heading > p:last-child,
.booking p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  isolation: isolate;
  transition: border-color 220ms ease, transform 220ms ease;
}

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.88));
  content: "";
}

.service-card:hover {
  border-color: rgba(226, 27, 29, 0.8);
  transform: translateY(-5px);
}

.service-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.23;
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 420ms ease;
}

.service-card:hover img {
  opacity: 0.55;
  transform: scale(1);
}

.service-card__content {
  display: flex;
  height: 100%;
  min-height: 340px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.service-card span {
  margin-bottom: auto;
  color: #ffd4d4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.service-card p {
  margin: 12px 0 0;
  color: #f1eaea;
  font-size: 15px;
  line-height: 1.62;
}

.accident-process {
  padding: 118px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(159, 1, 2, 0.17), transparent 24%),
    radial-gradient(circle at 88% 100%, rgba(159, 1, 2, 0.12), transparent 26%),
    #070708;
}

.accident-process__heading {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.accident-process__heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 0.85;
  text-transform: uppercase;
}

.accident-process__heading > p:last-child {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.accident-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.accident-card {
  position: relative;
  min-height: 316px;
  overflow: hidden;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-bright);
  background:
    linear-gradient(145deg, rgba(159, 1, 2, 0.17), rgba(22, 17, 19, 0.96) 48%, rgba(18, 16, 17, 0.98));
  box-shadow: var(--shadow);
  transition: border-color 200ms ease, transform 200ms ease;
}

.accident-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 72, 74, 0.08), transparent 46%);
  content: "";
  pointer-events: none;
}

.accident-card:hover {
  border-color: rgba(226, 27, 29, 0.88);
  transform: translateY(-6px);
}

.accident-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(226, 27, 29, 0.34);
  border-radius: 18px;
  background: rgba(159, 1, 2, 0.18);
  color: #ffd6d6;
}

.accident-card__icon svg {
  width: 31px;
  height: 31px;
}

.accident-card h3 {
  position: relative;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.accident-card p {
  position: relative;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.accident-process__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.workshop-values__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 74px;
  align-items: center;
}

.accident-points,
.value-list {
  display: grid;
  gap: 18px;
}

.accident-points article,
.value-list article {
  display: grid;
  gap: 7px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.accident-points strong,
.value-list strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.accident-points span {
  color: #ffdfdf;
  line-height: 1.62;
}

.section-heading--wide {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading--wide > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.36fr 1fr;
  grid-template-rows: repeat(2, 248px);
  gap: 18px;
}

.gallery-grid figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
}

.gallery-grid__feature {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.workshop-values {
  background: var(--panel-soft);
}

.value-list article {
  border-color: rgba(255, 255, 255, 0.14);
}

.value-list span {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  scroll-margin-top: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(159, 1, 2, 0.14), transparent 30%),
    var(--ink);
}

.contact-form__panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 42px 36px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red-bright);
  background:
    linear-gradient(145deg, rgba(159, 1, 2, 0.12), rgba(22, 17, 19, 0.96) 42%, rgba(18, 16, 17, 0.98));
  box-shadow: var(--shadow);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.field {
  display: grid;
  gap: 10px;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  color: #ffd4d4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(9, 9, 10, 0.55);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffd4d4 50%),
    linear-gradient(135deg, #ffd4d4 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}

.field select option {
  background: #151214;
  color: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8f8585;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(226, 27, 29, 0.85);
  background: rgba(9, 9, 10, 0.75);
  box-shadow: 0 0 0 3px rgba(159, 1, 2, 0.22);
}

.contact-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form__note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form__note a {
  color: #ffd2d2;
  font-weight: 700;
  text-decoration: none;
}

.contact-form__note a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-form__footer .button {
  min-width: 200px;
}

.booking {
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(159, 1, 2, 0.38), transparent 44%),
    #0b0a0b;
}

.booking__inner {
  max-width: 870px;
}

.booking .hero__actions {
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080808;
}

.site-footer__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: #bbb1b1;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .site-header__inner {
    min-height: 82px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav__phone {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workshop-values__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .accident-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 32px, 1220px);
  }

  .site-header {
    background: rgba(6, 6, 7, 0.97);
  }

  .site-header__inner {
    position: relative;
    min-height: 76px;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    height: 32px;
    max-width: min(200px, 48vw);
  }

  .menu-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    gap: 5px;
    place-content: center;
    margin-left: auto;
    border: 1px solid var(--line);
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
  }

  .site-header .button--compact {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    background: #0d0d0e;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(6, 6, 7, 0.97) 0%, rgba(6, 6, 7, 0.70) 100%),
      linear-gradient(0deg, rgba(6, 6, 7, 0.78), transparent 55%);
  }

  .hero__content {
    padding: 158px 0 64px;
  }

  .hero h1 {
    font-size: clamp(72px, 21vw, 112px);
  }

  .hero__actions,
  .booking .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact-strip__grid,
  .service-grid,
  .gallery-grid,
  .accident-process__grid {
    grid-template-columns: 1fr;
  }

  .contact-strip a,
  .contact-strip a:first-child {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section,
  .booking,
  .accident-process {
    padding: 80px 0;
  }

  .section-heading--wide {
    display: block;
  }

  .section-heading--wide > p {
    margin-top: 20px;
  }

  .gallery-grid {
    grid-template-rows: 260px;
  }

  .gallery-grid__feature {
    grid-row: auto;
  }

  .gallery-grid figure {
    min-height: 240px;
  }

  .site-footer__inner {
    min-height: 120px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .accident-process__actions {
    flex-direction: column;
  }
    .contact-form__panel {
    padding: 28px 20px 24px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__footer .button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .service-card,
  .service-card img,
  .gallery-grid img {
    transition: none;
  }
}
/* ===== Horizontal Gallery ===== */
.gallery-scroll-wrapper {
  margin-top: 2.5rem;
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.gallery-item {
  flex: 0 0 auto;
  width: min(320px, 75vw);
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2.4rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.35);
}

.lightbox__close {
  top: 20px;
  right: 20px;
  font-size: 2.8rem;
}

.lightbox__prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 600px) {
  .gallery-item {
    width: min(280px, 80vw);
  }
  
  .lightbox__prev,
  .lightbox__next {
    width: 42px;
    height: 42px;
    font-size: 1.9rem;
  }
}