/* ========================================================================
   Transport page: clean final stylesheet
   ------------------------------------------------------------------------
   Подключается после styles.css. Содержит только стили страницы transport.html.
   Общие элементы сайта, хедер, футер, базовые кнопки и форма берутся из styles.css.
   ======================================================================== */

.transport-page {
  background: #f3f5f7;
  color: var(--text);
}

.transport-page .eyebrow {
  display: block;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.transport-page .logo strong,
.transport-page .footer-col a,
.transport-page .footer-brand strong,
.transport-hero-copy h1 span {
  white-space: nowrap;
}

.transport-hero-copy h1 span,
.transport-section-head h2 span {
  color: var(--red);
}


/* ========================================================================
   Hero. Синхронизирован с hero на index.html
   ======================================================================== */

.transport-hero {
  position: relative;
  overflow: hidden;
  background: #f3f5f7;
  padding: 0 0 80px;
}

.transport-hero-bg-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  z-index: 1;
}

.transport-hero-bg-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.transport-hero-bg-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #f3f5f7 0%, rgba(243, 245, 247, .78) 26%, rgba(243, 245, 247, .16) 62%, rgba(243, 245, 247, 0) 100%),
    linear-gradient(180deg, #f3f5f7 0%, rgba(243, 245, 247, 0) 18%, rgba(243, 245, 247, 0) 58%, #f3f5f7 100%);
  pointer-events: none;
}

.transport-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 480px;
  align-items: center;
  gap: 30px;
  padding-top: 34px;
}

.transport-hero-copy h1 {
  max-width: 680px;
  margin: 0 0 16px;
  color: var(--black);
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.transport-hero-lead {
  max-width: 820px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
}

.transport-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.transport-hero-actions .btn {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 16px;
}


/* ========================================================================
   Floating consultation strip
   ======================================================================== */

.transport-help-strip .btn {
  min-height: 54px;
  padding: 0 28px;
  font-size: 16px;
}


/* ========================================================================
   Sections and headings
   ======================================================================== */

.transport-section {
  background: #f3f5f7;
  padding: 86px 0;
}

.transport-section-head {
  max-width: 960px;
  margin: 0 0 34px;
}

.transport-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.transport-section-head h2,
.transport-white-noise h2 {
  margin: 8px 0 0;
  color: var(--black);
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.06;
  letter-spacing: -.045em;
}


/* ========================================================================
   Education block
   ======================================================================== */

.transport-education {
  padding-top: 34px;
}

.transport-text-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto 74px;
  padding: clamp(32px, 4.2vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 27, 42, .07);
  text-align: left;
}

.transport-text-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 30px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--red);
}

.transport-text-panel__copy {
  max-width: 780px;
}

.transport-text-panel__lead,
.transport-text-panel__text {
  margin: 0;
}

.transport-text-panel__copy p.transport-text-panel__lead {
  margin-bottom: 18px;
  color: #111820;
  font-size: clamp(27px, 2.05vw, 35px);
  line-height: 1.16;
  font-weight: 850;
  letter-spacing: -.04em;
}

.transport-text-panel__copy p.transport-text-panel__text {
  color: #4b5563;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
}

.transport-text-panel__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #eef2f6;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(213, 220, 228, .95);
}

.transport-text-panel__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}


/* ========================================================================
   What affects the choice: four cards
   ======================================================================== */

.transport-info-head {
  max-width: 760px;
  margin: 0 0 24px;
}

.transport-info-head h2 {
  margin: 8px 0 0;
  color: var(--black);
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.transport-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}

.transport-info-card {
  position: relative;
  min-height: 250px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 27, 42, .06);
}

.transport-info-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 3px;
  background: var(--red);
  border-radius: 3px 3px 0 0;
}

.transport-info-card__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  color: var(--red);
  background: transparent;
}

.transport-info-card__icon img,
.transport-info-card__icon svg {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.transport-info-card h3 {
  margin: 0 0 12px;
  color: var(--black);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.transport-info-card p {
  margin: 0;
  color: #586474;
  font-size: 16px;
  line-height: 1.48;
}


/* ========================================================================
   Quality note
   ======================================================================== */

.transport-quality-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  margin: 0 0 118px;
  padding: clamp(28px, 3.2vw, 42px) clamp(30px, 4vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(15, 27, 42, .055);
}

.transport-quality-note p {
  max-width: none;
  margin: 0;
  color: #1d2530;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -.02em;
}

.transport-quality-note__icon {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 132px;
  height: 132px;
  background: transparent;
}

.transport-quality-note__icon img {
  display: block;
  width: 128px;
  height: 128px;
}


/* ========================================================================
   Product catalog
   ======================================================================== */

.transport-products {
  padding-top: 22px;
}

.transport-products .transport-section-head {
  margin-bottom: 34px;
}

.transport-product-group {
  margin-bottom: 28px;
  padding: clamp(24px, 2.6vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 27, 42, .06);
}

.transport-product-group__head {
  display: block;
  margin-bottom: 22px;
}

.transport-product-group__head h3 {
  max-width: 620px;
  margin: 0;
  color: var(--black);
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.transport-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.transport-product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 27, 42, .045);
}

.transport-product-card__image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #f7f9fb;
  border-bottom: 1px solid #e5e9ee;
}

.transport-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.transport-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.transport-product-card h4 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 19px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.transport-product-card p {
  margin: 0 0 18px;
  color: #596575;
  font-size: 15.5px;
  line-height: 1.45;
}

.transport-product-card__btn {
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 0 28px;
  border-radius: 6px;
  font-size: 16px;
}


/* Product card gallery */

.transport-card-carousel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.transport-card-carousel__image {
  transition: opacity .18s ease, transform .18s ease;
}

.transport-card-carousel__dots {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: auto;
}

.transport-card-carousel__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  cursor: pointer;
  background: rgba(24, 32, 42, .22);
  border: 0;
  border-radius: 999px;
}

.transport-card-carousel__dot.is-active {
  width: 18px;
  background: var(--red);
}

.transport-card-carousel__nav {
  display: none !important;
}


/* ========================================================================
   White noise block
   ======================================================================== */

.transport-white-noise {
  padding-top: 46px;
}

.transport-white-noise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 42px;
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 27, 42, .07);
}

.transport-white-noise p {
  max-width: 900px;
  margin: 22px 0 0;
  color: #3c4654;
  font-size: 18px;
  line-height: 1.55;
}

.transport-white-noise__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .72;
  padding: 16px;
  background: #f5f7f9;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
}

.transport-white-noise__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}


/* ========================================================================
   FAQ
   ======================================================================== */

.transport-faq {
  padding-top: 48px;
}

.transport-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.transport-faq__item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 27, 42, .045);
}

.transport-faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  cursor: pointer;
  background: #fff;
  border: 0;
  color: var(--black);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
  text-align: left;
}

.transport-faq__button span {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.transport-faq__button span::before,
.transport-faq__button span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
}

.transport-faq__button span::before {
  width: 16px;
  height: 2px;
}

.transport-faq__button span::after {
  width: 2px;
  height: 16px;
  transition: transform .2s ease;
}

.transport-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.transport-faq__panel p {
  margin: 0;
  padding: 0 24px 24px;
  color: #53606e;
  font-size: 17px;
  line-height: 1.55;
}

.transport-faq__item.is-open .transport-faq__button span::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.transport-faq__item.is-open .transport-faq__panel {
  max-height: 260px;
}


/* ========================================================================
   Product modal
   ======================================================================== */

.transport-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.transport-modal.is-open {
  display: flex;
}

.transport-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 18, .68);
  backdrop-filter: blur(8px);
}

.transport-modal__dialog {
  position: relative;
  z-index: 2;
  overflow: auto;
  width: min(1180px, 100%);
  max-height: calc(100vh - 56px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .28);
}

.transport-modal__grid {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
}

.transport-modal__image {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 24px;
  background: #f5f7f9;
  border-right: 1px solid var(--line);
}

.transport-modal__image img {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  border-radius: 8px;
}

.transport-modal__placeholder {
  padding: 40px;
  color: #66717f;
  background: #fff;
  border: 1px dashed #c8d1dc;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.transport-modal__content {
  padding: clamp(28px, 3.2vw, 44px);
}

.transport-modal__content h3 {
  margin: 8px 0 16px;
  color: var(--black);
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.transport-modal__content p {
  margin: 0 0 22px;
  color: #3f4853;
  font-size: 18px;
  line-height: 1.56;
}

.transport-modal__content .btn {
  justify-content: center;
  min-width: 230px;
}

.transport-modal__price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 12px 16px;
  color: #39452f;
  background: #f4f6f2;
  border: 1px solid rgba(92, 111, 71, .28);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.transport-modal__price[hidden] {
  display: none;
}

.transport-modal__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 26px;
}

.transport-modal__meta span {
  padding: 13px 14px;
  color: #202733;
  background: #f5f7f9;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.transport-modal__block h4 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 20px;
}

.transport-modal__block ul {
  margin: 0 0 30px;
  padding-left: 20px;
  color: #53606e;
  font-size: 17px;
  line-height: 1.55;
}

.transport-modal__close {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(15, 27, 42, .15);
  color: var(--black);
  font-size: 32px;
  line-height: 1;
}

.transport-modal-gallery {
  display: grid;
  width: 100%;
  gap: 14px;
}

.transport-modal-gallery__main {
  position: relative;
  display: grid;
  place-items: center;
  height: 310px;
  min-height: 310px;
  cursor: pointer;
}

.transport-modal-gallery__image {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  border-radius: 8px;
}

.transport-modal-gallery__nav {
  display: none !important;
}

.transport-modal-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 8px;
}

.transport-modal-gallery__thumb {
  aspect-ratio: 1 / 1;
  padding: 4px;
  cursor: pointer;
  opacity: .72;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
}

.transport-modal-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(228, 0, 0, .12);
}

.transport-modal-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.transport-modal__block--details {
  margin-top: -4px;
}

.transport-modal__long {
  padding: clamp(26px, 3vw, 42px) clamp(28px, 4vw, 56px) clamp(34px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

.transport-modal__long h4 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.transport-modal__long-content {
  display: grid;
  gap: 14px;
  color: #3f4853;
  font-size: 18px;
  line-height: 1.62;
}

.transport-modal__long-content p {
  margin: 0;
}


/* ========================================================================
   Contacts block correction for inline SVG icons
   ======================================================================== */

.contact-icon {
  color: #111827;
}

.contact-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}


/* ========================================================================
   Responsive
   ======================================================================== */

@media (min-width: 761px) and (max-width: 1180px) {
  .transport-hero-copy h1 {
    font-size: 52px;
  }

  .transport-hero-lead {
    max-width: 100%;
    font-size: 24px;
  }
}

@media (max-width: 1180px) {
  .transport-hero-bg-container {
    width: 100vw;
  }

  .transport-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .transport-hero-copy {
    position: relative;
    z-index: 5;
    padding: 24px;
    background: rgba(255, 255, 255, .9);
    border-radius: 8px;
  }

  .transport-text-panel,
  .transport-white-noise__grid {
    grid-template-columns: 1fr;
  }

  .transport-text-panel__media {
    min-height: 320px;
  }

  .transport-info-grid,
  .transport-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .transport-section {
    padding: 58px 0;
  }

  .transport-hero-bg-container {
    opacity: .55;
  }

  .transport-text-panel {
    max-width: 100%;
    margin-bottom: 56px;
  }

  .transport-text-panel::before {
    top: 22px;
    bottom: 22px;
  }

  .transport-text-panel__media {
    display: none;
  }

  .transport-info-grid,
  .transport-product-grid,
  .transport-faq__grid,
  .transport-modal__grid,
  .transport-modal__meta {
    grid-template-columns: 1fr;
  }

  .transport-quality-note {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 72px;
  }

  .transport-quality-note__icon {
    order: -1;
    justify-self: start;
    width: 112px;
    height: 112px;
  }

  .transport-quality-note__icon img {
    width: 108px;
    height: 108px;
  }

  .transport-modal__image {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .transport-hero {
    padding: 0 0 80px;
  }

  .transport-hero-copy h1 {
    font-size: 36px;
  }

  .transport-hero-lead {
    max-width: 100%;
    font-size: 20px;
  }

  .transport-hero-actions {
    display: grid;
    gap: 10px;
  }

  .transport-modal__long {
    padding: 24px 22px 30px;
  }

  .transport-modal__long-content {
    font-size: 16px;
  }

  .transport-modal-gallery__main {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .transport-hero-actions,
  .transport-hero-actions .btn {
    width: 100%;
  }

  .transport-product-group {
    padding: 18px;
  }

  .transport-info-card {
    padding: 24px;
  }

  .transport-modal {
    padding: 14px;
  }
}


#transport-products {
  scroll-margin-top: 96px;
}
