/* ===================== TOKENS ===================== */
:root{
  --red: #9e1b1e;
  --red-dark: #7a1416;
  --red-light: #c23438;
  --dark: #161514;
  --dark-2: #232120;
  --gray-bg: #efeeec;
  --gray-line: #ddd9d4;
  --text: #1c1a19;
  --muted: #6c6863;
  --white: #ffffff;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1320px;
  --radius: 2px;
  --transition: 200ms ease;
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{ font-family: var(--font-head); margin: 0; line-height: 1.15; overflow-wrap: break-word; }
p{ margin: 0 0 1em; overflow-wrap: break-word; }
p:last-child{ margin-bottom: 0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

.section-kicker{
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--red);
  margin: 0 0 10px;
  text-transform: lowercase;
}

.section-title{
  font-size: clamp(38px, 4vw, 40px);
  font-weight: 600;
  text-transform: lowercase;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 18px;
}
.section-title::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 3px;
  background: var(--red);
  transform: translateX(-50%);
}
.section-title--light{ color: var(--white); }

/* ===================== BUTTONS ===================== */
.btn{
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: .03em;
  text-transform: lowercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  max-width: 100%;
}
.btn:active{ transform: translateY(1px); }

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

.btn--ghost{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn--ghost:hover{ border-color: var(--white); background: rgba(255,255,255,.08); }

.btn--outline{
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline:hover{ background: var(--red); color: var(--white); }

.btn--outline-light{
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-light:hover{ background: var(--white); color: var(--dark); }

.btn--sm{ padding: 9px 18px; font-size: 20px; }

/* ===================== HEADER ===================== */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid var(--dark);
  transition: background var(--transition);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header__logo img{ height: 60px; width: auto; }

.nav{
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: flex-end;
}
.nav__list{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.nav__link{
  color: var(--white);
  font-family: var(--font-head);
  font-size: 25px;
  letter-spacing: .04em;
  text-transform: lowercase;
  position: relative;
  padding: 6px 0;
}
.nav__link::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav__link:hover::after{ width: 100%; }

.nav__contact{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.nav__phone{
  color: var(--white);
  font-family: var(--font-head);
  font-size: 32px;
  letter-spacing: .02em;
}
.nav__phone:hover{ color: var(--red-light); }

.header__phone-mobile{
  display: none;
  color: var(--white);
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}

.burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger span{
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.nav-overlay.is-visible{ opacity: 1; pointer-events: auto; }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero__bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 65%;
}
.hero__scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,21,20,1) 0, rgba(22,21,20,0) 140px),
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.92) 1%, rgba(10,10,10,.00) 15%, rgba(10,10,10,.10) 100%),
    linear-gradient(0deg, rgba(10,10,10,.75) 0%, transparent 60%);
}
.hero__inner{
 position: relative;
  z-index: 1;
  padding-top: 0px;
  padding-bottom: 60px;
  padding-right: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: 0;
}
.hero__eyebrow{
  font-family: var(--font-head);
  color: var(--red-light);
  letter-spacing: .1em;
  text-transform: lowercase;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex ;
  justify-content: left;
}
.hero__title{
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 600;
  text-transform: lowercase;
  margin-bottom: 20px;
}
.hero__lead{
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 32px);
  font-weight: 400;
  color: var(--red-light);
  margin-bottom: 18px;
}
.hero__text{
  font-size: 18px;
  color: rgba(255,255,255,.86);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero__actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================== ABOUT ===================== */
.about{ padding: 48px 0 12px; }
.about__top{
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 88px;
}
.about__image{ min-width: 0; }
.about__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
}
.about__title{
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  text-transform: none;
  margin-bottom: 20px;
  color: var(--text);
}
.about__content p{ color: var(--muted); font-size: 20px; }
.about__content p + p{ margin-top: 14px; }

.about__subtitle{
  font-size: clamp(26px, 2.6vw, 64px);
  font-weight: 500;
  text-transform: lowercase;
  text-align: center;
  margin-bottom: 44px;
}
.about__subtitle span{ color: var(--red); }

.features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature{ text-align: center; min-width: 0; }
.feature__icon{
  width: 184px; height: 184px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto 16px;
}
.feature__title{
  font-size: 32px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
  color: var(--red);
}
.feature__text{
  font-size: 20px;
  color: var(--muted);
  max-width: 220px;
  margin: 0 auto;
}

/* ===================== PRICES ===================== */
.prices{ background: var(--gray-bg); padding: 88px 0; }

.tabs{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab{
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: .03em;
  text-transform: lowercase;
  padding: 11px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.tab:hover{ border-color: var(--red); color: var(--red); }
.tab.is-active{
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.prices__panel{
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}
.prices__image{ order: 2; min-width: 0; }
.prices__list-wrap{ order: 1; }
.prices__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.prices__list{ display: flex; flex-direction: column; }
.price-row{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: 19.5px;
}
.price-row:last-child{ border-bottom: none; }
.price-row__name{ color: var(--text); }
.price-row__value{
  font-family: var(--font-head);
  color: var(--red);
  white-space: nowrap;
  font-weight: 500;
}
.prices__note{
  font-size: 17.5px;
  color: var(--muted);
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--dark);
}
.prices__empty{
  padding: 40px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 19.5px;
}
.prices__empty strong{ display:block; color: var(--text); font-family: var(--font-head); font-size: 21px; margin-bottom: 8px; text-transform: lowercase;}

.prices__explain{
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 40px;
  margin-top: 72px;
  align-items: start;
}
.prices__explain-text{
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.prices__explain-text p{ color: var(--muted); font-size: 20px; }
.prices__explain-text p + p{ margin-top: 14px; }
.prices__quote{
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.prices__quote span{
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 42px);
  color: var(--text);
  text-transform: lowercase;
  line-height: 1.3;
}
.gallery-img--handshake{
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-img--bus{
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  aspect-ratio: 18/7;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===================== PARTNER ===================== */
.partner{ background: var(--dark); color: var(--white); padding: 80px 0; }
.partner__inner{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.partner__logo{
  margin-top: 90px;
  max-width: 100%;
  min-width: 0;
}
.partner__badge{
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px 20px;
  font-family: var(--font-head);
  font-size: 27px;
  letter-spacing: .02em;
  text-align: center;
}
.partner__badge span{
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.partner__text p{ color: rgba(255,255,255,.78); font-size: 20px; }
.partner__text p + p{ margin-top: 14px; }
.partner__disclaimer{ color: rgba(255,255,255,.5) !important; font-size: 18px !important; }

/* ===================== PROCESS ===================== */
.process__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.process__item{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  min-width: 0;
}
.process__item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.process__item:hover img{ transform: scale(1.04); }
.process__label{
  position: absolute;
  left: 24px; bottom: 24px;
  right: 24px;
  font-family: var(--font-head);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.process__label--accent{ color: var(--white); }
.process__item::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, transparent 45%);
}

/* ===================== CONTACTS ===================== */
.contacts{
  position: relative;
  color: var(--white);
  padding: 96px 0;
  overflow: hidden;
}
.contacts__bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.contacts__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35), rgba(22,21,20,1));
}
.contacts__inner{ position: relative; z-index: 1; }
.contacts__tag{
  font-family: var(--font-head);
  color: var(--red-light);
  text-transform: lowercase;
  font-size: 40px;
  margin: 28px 0 36px;
}
.contacts__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 32px;
}
.contacts__grid h3{
  font-size: 18px;
  text-transform: lowercase;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.contacts__grid p{
  font-family: var(--font-head);
  font-size: 23px;
}
.contacts__grid a:hover{ color: var(--red-light); }

/* ===================== FOOTER ===================== */
.footer{ background: var(--dark); border-top: var(--dark); padding: 12px 0; }
.footer__inner{ display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__logo{ height: 40px; width: auto; margin-bottom: 4px; }
.footer__legal{ color: rgba(255,255,255,.42); font-size: 11px; line-height: 1.6; max-width: 900px; }

/* ===================== MODAL ===================== */
.modal[hidden]{ display: none; }
.modal{
  position: fixed; inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal__overlay{
  position: absolute; inset: 0;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(3px);
}
.modal__box{
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: modalIn 220ms ease;
}
@keyframes modalIn{
  from{ opacity: 0; transform: translateY(12px) scale(.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
.modal__close{
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--muted);
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal__close:hover{ color: var(--red); }
.modal__box .section-kicker{ font-size: 31px; }
.modal__title{
  font-size: 31px;
  text-transform: lowercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.modal__text{ color: var(--muted); font-size: 19px; margin-bottom: 22px; }
.modal__phone{
  display: block;
  font-family: var(--font-head);
  font-size: 29px;
  color: var(--red);
  margin-bottom: 24px;
}
.modal__phone:hover{ color: var(--red-dark); }
.modal__socials{ display: flex; flex-direction: column; gap: 10px; }
.modal__social{
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-line);
  font-family: var(--font-head);
  font-size: 19px;
  text-transform: lowercase;
  transition: border-color var(--transition), background var(--transition);
}
.modal__social-icon{
  width: 58px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
}
.modal__social--tg:hover{ border-color: #29a9e0; background: #f0f9fd; color:#29a9e0; }
.modal__social--wa:hover{ border-color: #29a71a; background: #f0fbee; color:#25a11a; }
.modal__social--max{
  width: 58px;
  height: 52px;
  padding: 0;
  border: none;
  align-self: flex-start;
  justify-content: center;
}
.modal__social--max:hover{ background: var(--gray-bg); }
.modal__hint{ margin-top: 18px; font-size: 16px; color: #b7b2ac; }
.modal__hint code{ background: var(--gray-bg); padding: 1px 5px; border-radius: 3px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px){
  .about__top{ grid-template-columns: 1fr; }
  .about__image{ max-width: 360px; margin: 0 auto; }
  .prices__panel{ grid-template-columns: 1fr; }
  .prices__image{ max-width: 320px; }
  .prices__explain{ grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; row-gap: 24px; }
  .gallery-img--handshake{ grid-column:1; grid-row: 1; width: 100%; }
  .prices__explain-text{ grid-column: 1; grid-row: 2; }
  .prices__quote{ grid-column: 1; grid-row: 3; }
  .gallery-img--bus{ grid-column: 1; grid-row: 4; width: 100%; }
  .partner__inner{ grid-template-columns: 1fr; }
  .partner__badge{ max-width: 240px; }
  .partner__logo{ margin-top: 0; max-width: 200px; }
}

@media (max-width: 860px){
  .hero__inner{ margin-left: 0; max-width: 100%; padding-right: 0; }
  .nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 28px 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 260ms ease;
    z-index: 95;
    gap: 40px;
  }
  .nav.is-open{ transform: translateX(0); }
  .nav__list{ flex-direction: column; gap: 24px; }
  .nav__link{ font-size: 22px; }
  .nav__contact{ flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .nav__contact .btn{ width: 100%; justify-content: center; white-space: normal; }
  .nav__phone{ font-size: 26px; }
  .burger{ display: flex; }
  .header__phone-mobile{ display: flex; }
  .header__inner{ min-height: 84px; }
  .header__logo img{ height: 56px; }

  .features{ grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .feature__icon{ width: 96px; height: 96px; }
  .feature__title{ font-size: 24px; }
  .feature__text{ font-size: 17px; }
  .contacts__grid{ grid-template-columns: 1fr; gap: 22px; }
  .process__grid{ grid-template-columns: 1fr; }
  .process__item{ aspect-ratio: 16/10; }
}

@media (max-width: 560px){
  .container{ padding: 0 18px; }
  .hero{ min-height: 100vh; }
  .hero__inner{ padding-top: 40px; }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ justify-content: center; white-space: normal; }
  .about{ padding: 64px 0 40px; }
  .prices{ padding: 56px 0; }
  .prices__panel{ padding: 20px; }
  .tabs{ flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .tab{ flex: 0 0 auto; }
  .partner{ padding: 56px 0; }
  .contacts{ padding: 64px 0; }
  .contacts__tag{ font-size: 28px; }
  .modal__box{ padding: 28px 22px; }
  .hero__inner::before{ inset: -16px -18px; }
}

@media (min-width: 1025px){
  .about__top > img{
    transform: translate(-40px, 170px) scale(1.7);
    transform-origin: right top;
  }
}

.hero__inner::before{
  content: "";
  position: absolute;
  inset: 0px 0px 0px 0px;
  background: rgba(10,10,10,.5);
  border-radius: 4px;
  filter: blur(24px);
  z-index: -1;
}
@media (min-width: 861px){
  .hero__inner{ max-width: 900px; }
  .hero__text{ max-width: 780px; }
}
@media (min-width: 861px){
  .hero__inner{ max-width: 900px; padding-bottom: 30px; }
  .hero__text{ max-width: 780px; margin-bottom: 20px; }
  .hero__title{ margin-bottom: 12px; }
  .hero__lead{ margin-bottom: 12px; }
  .hero{ min-height: 50vh; }
}