/* Баймос landing — white/red */
:root{
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --text: #111114;
  --muted: #5a5f6a;
  --line: rgba(17,17,20,.10);
  --red: #E30613;
  --red-2: #b70510;
  --shadow: 0 14px 40px rgba(17,17,20,.10);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-decoration-color: rgba(227,6,19,.5); text-underline-offset: 3px; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  outline: 2px solid var(--red);
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}
.brand__mark{
  width: 40px; height: 40px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(227,6,19,1) 0%, rgba(227,6,19,.75) 60%, rgba(17,17,20,.0) 60%),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.8) 0 16px, rgba(255,255,255,0) 17px);
  border: 1px solid rgba(227,6,19,.35);
  box-shadow: 0 12px 24px rgba(227,6,19,.14);
}
.brand__name{ font-weight: 800; letter-spacing: .5px; }
.brand__tag{ display:block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav{
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}
.nav a{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(227,6,19,.06);
  color: var(--text);
  text-decoration: none;
}

.header__cta{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.nav-toggle{
  display: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle span{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  user-select: none;
}
.btn--primary{
  background: var(--red);
  border-color: rgba(227,6,19,.35);
  color: white;
  box-shadow: 0 14px 30px rgba(227,6,19,.22);
}
.btn--primary:hover{ background: var(--red-2); }
.btn--ghost{
  background: rgba(255,255,255,.8);
}
.btn--ghost:hover{ background: rgba(227,6,19,.06); }

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(227,6,19,.18);
  background: rgba(227,6,19,.06);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

/* Hero */
.hero{
  position: relative;
  padding: 56px 0 18px;
  overflow: hidden;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}
.hero h1{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lead{
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}
.hero__actions{
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.hero__stats{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 16px;
  padding: 12px 12px;
}
.stat__num{ font-weight: 800; }
.stat__label{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.hero__visual{
  display: grid;
  place-items: center;
}
.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}
.card--visual{
  width: 100%;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 420px at 20% 0%, rgba(227,6,19,.14) 0%, rgba(227,6,19,0) 55%),
    radial-gradient(600px 360px at 100% 100%, rgba(227,6,19,.10) 0%, rgba(227,6,19,0) 60%),
    rgba(255,255,255,.86);
}
.visual__top{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 13px;
}
.pill--alt{
  border-color: rgba(227,6,19,.22);
  background: rgba(227,6,19,.06);
}
.visual__grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vbox{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  border-radius: 16px;
  padding: 12px;
}
.vbox__title{ font-weight: 800; }
.vbox__text{ color: var(--muted); font-size: 13px; margin-top: 4px; }
.visual__bottom{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip{
  border: 1px dashed rgba(227,6,19,.35);
  background: rgba(227,6,19,.05);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero__bg{
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 520px;
  background:
    radial-gradient(360px 360px at 20% 30%, rgba(227,6,19,.20) 0%, rgba(227,6,19,0) 68%),
    radial-gradient(320px 320px at 80% 20%, rgba(227,6,19,.14) 0%, rgba(227,6,19,0) 66%),
    radial-gradient(600px 360px at 60% 80%, rgba(17,17,20,.06) 0%, rgba(17,17,20,0) 70%);
  pointer-events: none;
  filter: blur(.2px);
}

/* Sections */
.section{ padding: 56px 0; }
.section--alt{ background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head{
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.section__head h2{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.02em;
}
.section__head p{ margin: 0; color: var(--muted); }

.grid{
  display: grid;
  gap: 14px;
}
.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card{
  padding: 18px;
}
.card h3{ margin: 8px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.card p{ margin: 0; color: var(--muted); }
.card--tight{ padding: 16px; }

.icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227,6,19,.22);
  background: rgba(227,6,19,.06);
  color: var(--text);
  font-weight: 800;
}

.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

.callout{
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(227,6,19,.18);
  background: rgba(227,6,19,.06);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.callout h3{ margin: 0 0 6px; }
.callout p{ margin: 0; color: var(--muted); max-width: 70ch; }

.tags{ display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag{
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  color: var(--text);
}

/* Steps */
.steps{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.step{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step__num{
  width: 32px; height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-weight: 800;
}
.step__title{ font-weight: 800; }
.step__text{ color: var(--muted); font-size: 13px; margin-top: 2px; }

/* Logistics note */
.note{
  margin-top: 14px;
  border: 1px dashed rgba(227,6,19,.35);
  background: rgba(227,6,19,.05);
  border-radius: 18px;
  padding: 14px;
  color: var(--muted);
}
.note strong{ color: var(--text); }

/* Docs */
.docs{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.doc{
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  border-radius: 16px;
  padding: 12px;
}
.doc:hover{ text-decoration: none; background: rgba(227,6,19,.04); border-color: rgba(227,6,19,.22); }
.doc__title{ font-weight: 700; }
.doc__meta{ color: var(--muted); font-size: 12px; }

/* FAQ */
.faq{ margin-top: 16px; display: grid; gap: 10px; }
.faq__item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  border-radius: 18px;
  padding: 12px 14px;
}
.faq__item summary{
  cursor: pointer;
  font-weight: 800;
}
.faq__body{ color: var(--muted); margin-top: 8px; }

/* Request form */
.request{
  padding: 20px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(227,6,19,.14) 0%, rgba(227,6,19,0) 58%),
    rgba(255,255,255,.90);
}
.request__text h2{ margin: 0 0 8px; }
.request__text p{ margin: 0; color: var(--muted); }

.contact-mini{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.contact-mini__item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 18px;
  padding: 12px;
}
.contact-mini__label{ color: var(--muted); font-size: 12px; }
.contact-mini__value{ font-weight: 800; margin-top: 2px; display:block; }

.form label{ display: grid; gap: 6px; margin-bottom: 12px; }
.form span{ font-size: 12px; color: var(--muted); font-weight: 600; }
.form input, .form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  outline: none;
  font: inherit;
}
.form input:focus, .form textarea:focus{
  border-color: rgba(227,6,19,.45);
  box-shadow: 0 0 0 4px rgba(227,6,19,.10);
}
.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form__actions{
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.form__hint{ margin: 0; color: var(--muted); font-size: 12px; }
.form__status{
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.form__status--ok{ color: #0f6f3a; }
.form__status--bad{ color: #8f1b24; }

/* Contacts */
.contact{ display: grid; gap: 10px; margin-top: 10px; }
.contact__row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.contact__row:last-child{ border-bottom: none; }
.contact__label{ color: var(--muted); font-size: 13px; }
.contact__value a{ font-weight: 800; }
.sep{ color: var(--muted); margin: 0 8px; }

.small{ color: var(--muted); font-size: 13px; margin-top: 12px; }
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(17,17,20,.06);
  border: 1px solid rgba(17,17,20,.10);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Map placeholder */
.map__frame{
  margin-top: 10px;
  height: 260px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(227,6,19,.06), rgba(227,6,19,.06)),
    repeating-linear-gradient(45deg, rgba(17,17,20,.05) 0 12px, rgba(17,17,20,.02) 12px 24px),
    #fff;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
}
.map__pin{
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 14px 24px rgba(227,6,19,.25);
}
.map__text{ font-weight: 800; }

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.9);
}
.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__name{ font-weight: 800; }
.footer__muted{ color: var(--muted); font-size: 13px; }
.footer__right{
  display: flex;
  gap: 14px;
  color: var(--muted);
}

/* Modal */
.modal{
  width: min(760px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow);
}
.modal::backdrop{
  background: rgba(17,17,20,.60);
}
.modal__body{
  padding: 16px;
  background: var(--bg);
  border-radius: 22px;
}
.modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.modal__content{ padding-top: 12px; }
.icon-btn{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}
.icon-btn:hover{ background: rgba(227,6,19,.06); }

/* Responsive */
@media (max-width: 980px){
  .header__inner{ grid-template-columns: 1fr auto; grid-template-areas: "brand toggle" "nav nav"; }
  .brand{ grid-area: brand; }
  .nav-toggle{ display: inline-block; grid-area: toggle; }
  .nav{
    grid-area: nav;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0 6px;
  }
  .nav.is-open{ display: flex; }
  .header__cta{ display:none; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 34px; }
  .hero__stats{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .request{ grid-template-columns: 1fr; }
  .contact-mini{ grid-template-columns: 1fr; }
}

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


/* Working Yandex map */
.map__embed{
  margin-top: 10px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.map__embed iframe{
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}
.map__button{
  margin-top: 12px;
  width: 100%;
}


/* Compact contact section without feedback form */
.contacts-section{
  padding-top: 44px;
  padding-bottom: 44px;
}
.section__head--compact{
  margin-bottom: 16px;
}
.contact-strip{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.contact-tile{
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 24px rgba(17,17,20,.06);
  overflow-wrap: anywhere;
}
a.contact-tile:hover{
  border-color: rgba(227,6,19,.28);
  background: rgba(227,6,19,.04);
  text-decoration: none;
}
.contact-tile__label{
  color: var(--muted);
  font-size: 12px;
}
.contact-tile strong{
  font-size: 14px;
  line-height: 1.35;
}
.map-card{
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
}
.map-card__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.map-card__head h3{
  margin: 0 0 3px;
  font-size: 18px;
}
.map-card__head p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.map-card .map__embed{
  margin-top: 0;
}
.map-card .map__embed iframe{
  min-height: 360px;
}

@media (max-width: 980px){
  .contact-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px){
  .contact-strip{
    grid-template-columns: 1fr;
  }
  .map-card__head{
    align-items: stretch;
    flex-direction: column;
  }
  .map-card__head .btn{
    width: 100%;
  }
  .map-card .map__embed iframe{
    min-height: 300px;
    height: 300px;
  }
}
