/* ===== Variables ===== */
:root {
  --color-bg-dark: #0C0C0E;
  --color-bg-white: #FFFFFF;
  --color-red: #A81B0A;
  --color-red-dark: #921E18;
  --color-red-hover: #8A1508;
  --color-text-light: #FFFFFF;
  --color-text-dark: #1A1A1A;
  --color-text-muted: rgba(255, 255, 255, 0.75);
  --color-logo-bg: #C4C4C4;
  --font-heading: 'Furore', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --container-width: 1440px;
  --header-height: 80px;
  --radius-btn: 5px;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-light);
  background: var(--color-bg-dark);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.text-red {
  color: var(--color-red-dark);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-text-light);
  padding: 12px 24px;
}

.btn--primary:hover {
  background: var(--color-red-hover);
}

.btn--hero {
  background: var(--color-red-dark);
  color: var(--color-text-light);
  padding: 14px 28px;
  font-size: 16px;
}

.btn--hero:hover {
  background: #7A1A14;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-dark);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 48px;
}

.header__logo {
  flex-shrink: 0;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 52px;
  background: var(--color-logo-bg);
  color: #555;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.header__nav {
  flex: 1;
}

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

.nav-list__item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list__item a:hover {
  color: var(--color-red);
}

.chevron {
  font-size: 9px;
  opacity: 0.8;
  line-height: 1;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header__divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__phone svg {
  flex-shrink: 0;
}

.header__phone:hover {
  color: var(--color-red);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-height));
  position: relative;
}

.hero__image {
  position: relative;
  overflow: hidden;
  container-type: size;
  min-height: 100%;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__fade {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    to right,
    rgba(12, 12, 14, 0) 0%,
    rgba(12, 12, 14, 0) 30%,
    rgba(12, 12, 14, 0.45) 55%,
    rgba(12, 12, 14, 0.85) 80%,
    var(--color-bg-dark) 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, transparent 20%, black 55%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 20%, black 55%, black 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  text-align: right;
  background: var(--color-bg-dark);
  padding: 16vh 72px 64px 40px;
  position: relative;
  z-index: 1;
}

.hero__text {
  margin: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.hero__title-word {
  white-space: nowrap;
  display: inline-block;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 480px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.92);
}

.hero__btn {
  flex-shrink: 0;
  margin-top: 60px;
}

/* ===== Trust Section ===== */
.trust {
  background: var(--color-bg-white);
  color: var(--color-text-dark);
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.trust__inner {
  display: block;
  min-height: 560px;
  position: relative;
}

.trust__text {
  padding: 88px 0;
  max-width: 55%;
  position: relative;
  z-index: 2;
}

.trust__title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 44px;
}

.trust__title-black {
  color: var(--color-text-dark);
}

.trust__body {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  max-width: 540px;
  color: var(--color-text-dark);
}

.trust__body strong {
  font-weight: 500;
}

.trust__image {
  position: absolute;
  bottom: -90px;
  right: -180px;
  width: 58%;
  max-width: 720px;
  pointer-events: none;
  z-index: 1;
}

.trust__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-25deg);
  transform-origin: bottom right;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  padding: 64px 0 72px;
  margin-top: -1px;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__item dt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.footer__item dd {
  font-size: 16px;
  font-weight: 500;
}

.footer__item dd a:hover {
  color: var(--color-red);
}

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

.footer__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero__title,
  .trust__title {
    font-size: 48px;
  }

  .hero__content {
    padding: 48px 40px 40px;
  }

  .trust__image {
    right: -40px;
    width: 62%;
  }

  .nav-list {
    gap: 20px;
  }

  .nav-list__item a {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 40px;
  }

  .header__nav--open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header__actions {
    display: none;
  }

  .header__burger {
    display: flex;
    margin-left: auto;
  }

  .header__inner {
    position: relative;
  }

  .hero {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .hero__image {
    height: 320px;
  }

  .hero__content {
    align-items: flex-start;
    text-align: left;
    padding: 48px 40px;
  }

  .hero__subtitle {
    margin-left: 0;
  }

  .hero__title-word {
    white-space: normal;
  }

  .hero__btn {
    align-self: flex-start;
  }

  .trust {
    border-radius: 0 0 16px 16px;
  }

  .hero__fade {
    width: 100%;
    height: 45%;
    top: auto;
    bottom: 0;
    background: linear-gradient(
      to top,
      var(--color-bg-dark) 0%,
      rgba(12, 12, 14, 0.95) 30%,
      rgba(12, 12, 14, 0.6) 60%,
      rgba(12, 12, 14, 0) 100%
    );
    mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  }

  .trust__text {
    max-width: 100%;
  }

  .trust__image {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: none;
    padding: 0 0 48px;
    margin-top: -20px;
  }

  .trust__image img {
    transform: rotate(-8deg);
    transform-origin: center center;
  }

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

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .hero__title,
  .trust__title {
    font-size: 36px;
  }

  .trust__body {
    font-size: 16px;
  }

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

  .logo-placeholder {
    width: 90px;
    height: 40px;
    font-size: 12px;
  }
}
