/* assets/css/style.css */

/* ==========================================================================
   Базовые сбросы и переменные
   ========================================================================== */

:root {
  --color-primary: #1565C0;
  --color-primary-dark: #0D47A1;
  --color-primary-light: #5e98bf;
  --color-hover: #1976D2;
  --color-text: #333333;
  --color-text-muted: rgba(255,255,255,0.6);
  --color-bg: #ffffff;
  --gradient-start: #BBDEFB;
  --gradient-middle: #E3F2FD;

  --font-family: 'Roboto', Arial, sans-serif;
  --font-size-menu: 1.05rem;
  --font-size-phone: 1.05rem;

  --container-max: 1500px;
  --header-height: 70px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: linear-gradient(
    180deg,
    var(--gradient-start) 0%,
    var(--gradient-start) 45%,
    var(--gradient-middle) 80%,
    var(--color-bg) 95%
  );
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}



/* ==========================================================================
   Кнопки (единый стиль)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--color-primary-light);
  color: #fff;
  transform: scale(1.05);
}

.btn::before {
  display: none;
}


/* ==========================================================================
   Хедер
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary-dark);
  color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-logo img {
  height: 62px;
  width: auto;
}

.header-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Навигация (десктоп) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.header-nav-item {
  position: relative;
}

.header-nav-item > a {
  display: inline-block;
  padding: 0.7rem 0.9rem;
  font-size: var(--font-size-menu);
  white-space: nowrap;
  transition: transform 0.2s;
}

.header-nav-item > a:hover {
  transform: scale(1.05);
}

.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  color: var(--color-text);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 0.3rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 10;
}

.header-nav-item.has-dropdown:hover .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown a {
  display: block;
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.header-dropdown a:hover {
  background: rgba(21, 101, 192, 0.08);
  color: var(--color-primary);
}

/* Телефон */
.header-phone {
  flex-shrink: 0;
}

.header-phone-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  font-size: var(--font-size-phone);
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.header-phone-tooltip {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #0D47A1;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 10;
}

.header-phone-tooltip.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Бургер (мобилка) */
.header-burger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.header-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

/* Мобильное меню */
.header-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--color-primary-dark);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.header-mobile a {
  padding: 0.6rem 0;
  color: #fff;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-mobile a:hover {
  color: var(--color-primary-light);
}

.header-mobile[hidden] {
  display: none;
}

/* Адаптив */
@media (max-width: 1157px) {
  .header-nav {
    display: none;
  }
  .header-burger {
    display: flex;
  }
  .header-phone {
    margin-left: auto;
  }
  .header-inner {
    gap: 0.75rem;
  }
}

@media (max-width: 700px) {
  .header-logo-text {
    display: none;
  }
  .header-phone-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Телефон-иконка на узких экранах */
@media (max-width: 750px) {
  .header-phone-text {
    display: none;
  }
  .header-phone-link {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
  }

  
  .header-phone-link:hover {
    background-color: rgba(255,255,255,0.25);   /* ← именно background-color, не background */
    transform: scale(1.08);
  }



}

.header-phone-icon {
  display: none;
}

/* ==========================================================================
   Main
   ========================================================================== */

main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: block;
}

@media (max-width: 700px) {
  main {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   Футер
   ========================================================================== */

.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-logo img {
  height: 80px;
  width: auto;
}

.footer-brand-logo span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  letter-spacing: 0.5px;
}

.footer-brand-text {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* Форма в футере */
.footer-form {
  margin-top: 1.25rem;
}

.footer-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-form-row input[type="text"],
.footer-form-row input[type="tel"] {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.footer-form-row input::placeholder {
  color: rgba(255,255,255,0.6);
}

.footer-form-row input:focus {
  border-color: var(--color-primary-light);
}

.footer-form-row button {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.footer-form-row button:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.footer-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-form-consent a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.footer-form-consent a:hover {
  color: #fff;
}

.footer-form-consent a {
  color: #BBDEFB;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-form-consent a:hover {
  color: #fff;
}

.footer-form-consent input {
  margin-top: 0.2rem;
  accent-color: var(--color-primary-light);
}

/* Разделитель */
.footer-sep {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 1.75rem 0;
}

/* Колонки */
.footer-cols {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 200px;
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-col-muted {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.footer-col a {
  font-size: 1.05rem;
  transition: transform 0.2s;
  transform-origin: left center;
  width: fit-content;
}

.footer-col a:hover {
  transform: scale(1.03);
}

.footer-phone {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  font-size: var(--font-size-phone);
  width: fit-content;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}

.footer-phone:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.7;
}

@media (max-width: 1155px) {
  .footer-cols {
    flex-direction: column;
    gap: 2rem;
  }
}



/* ==========================================================================
   Хлебные крошки
   ========================================================================== */

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
}

.breadcrumbs li + li::before {
  content: '›';
  color: #999;
  margin-right: 0.25rem;
}

.breadcrumbs a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--color-primary-dark);
}

.breadcrumbs li[aria-current="page"] {
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (min-width: 700px) {
  .hero-title { font-size: 2.3rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
}

/* ==========================================================================
   Quick form
   ========================================================================== */

.quick-form {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  scroll-margin-top: 90px;
}

.quick-form-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
}

.quick-form-body {
  margin-top: 1.25rem;
}

.quick-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.quick-form-row input[type="text"],
.quick-form-row input[type="tel"] {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.quick-form-row input:focus {
  border-color: var(--color-primary);
}

.quick-form-row button {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.quick-form-row button:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.quick-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.quick-form-consent input {
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
}

.quick-form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quick-form-consent a:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Общие блоки и карточки
   ========================================================================== */

.block {
  margin-bottom: 2.5rem;
}

.block-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-align: center;
  margin-bottom: 1.5rem;
}

.block-title-left {
  text-align: left;
  font-size: 1.4rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .block-title { font-size: 2rem; }
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

/* Автопарк — с картинкой */
.fleet-card {
  padding: 0;
  overflow: hidden;
}

.fleet-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.fleet-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-card .card-body {
  padding: 1.5rem;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.card-list li {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Process — шаги
   ========================================================================== */

.process-card {
  position: relative;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Кейсы
   ========================================================================== */

.case-card {
  padding: 0;
  overflow: hidden;
}

.case-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.case-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card .card-body {
  padding: 1.5rem;
}

.case-route {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.case-params {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   Seo-текст
   ========================================================================== */

.seo-text {
  margin-bottom: 2.5rem;
}

.seo-text .block-title {
  margin-bottom: 1.5rem;
}

.seo-text-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.seo-text-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 1.25rem 0 0.6rem;
}

.seo-text-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

.seo-text-content ul,
.seo-text-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.seo-text-content li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
  color: #444;
}

.seo-text-content a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.seo-text-content a:hover {
  color: var(--color-primary-dark);
}

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

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 0.6rem;
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* ==========================================================================
   Перелинковка
   ========================================================================== */

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 700px) {
  .links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.links-list a {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}

.links-list a:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transform: translateX(4px);
  color: var(--color-primary);
}

/* ==========================================================================
   Контакты
   ========================================================================== */

.contacts-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contacts-info {
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contacts-line {
  font-size: 0.95rem;
  color: #555;
}

.contacts-label {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.contacts-line a {
  color: var(--color-primary);
  font-weight: 600;
}

.contacts-line a:hover {
  color: var(--color-primary-dark);
}

.contacts-map iframe {
  display: block;
  border: 0;
}



/* ==========================================================================
   Какую спецтехнику перевозим (карточки-ссылки)
   ========================================================================== */

.cargo-children .cargo-child-card {
  display: block;
  padding: 0;
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}

.cargo-children .cargo-child-card:hover {
  color: inherit;
}

.cargo-children .cargo-child-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.cargo-children .cargo-child-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cargo-children .cargo-child-card:hover .card-image img {
  transform: scale(1.05);
}

.cargo-children .cargo-child-card .card-body {
  padding: 1.25rem;
  text-align: center;
}

.cargo-children .cargo-child-card .card-title {
  margin: 0;
}


/* Подзаголовок под заголовком блока */
.block-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 800px;
  margin: -0.75rem auto 1.75rem;
  line-height: 1.6;
}

/* ==========================================================================
   Статичные страницы
   ========================================================================== */

.static-content {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.static-content-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 1.75rem 0 0.75rem;
}

.static-content-body h2:first-child {
  margin-top: 0;
}

.static-content-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 1.5rem 0 0.5rem;
}

.static-content-body p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.static-content-body ul,
.static-content-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.static-content-body li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
  color: #444;
}

.static-content-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.static-content-body a.btn,
.static-content-body a.btn:hover,
.static-content-body a.btn:focus,
.static-content-body a.btn:visited {
  color: #fff;
  text-decoration: none;
}

.static-content-body a:hover {
  color: var(--color-primary-dark);
}

.legal-note {
  font-style: italic;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Кнопки скачивания документов */
.doc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

/* Контакты на статичной странице */
.contacts-page-info {
  margin: 1.5rem 0;
}

.contacts-page-info .contacts-line {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}


/* Отступ для якорных ссылок, чтобы sticky-хедер не перекрывал */
.static-content-body h2,
.static-content-body h3 {
  scroll-margin-top: 90px;
}


/* ==========================================================================
   Селект локации в хедере
   ========================================================================== */

.header-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.header-location:hover {
  background: rgba(255,255,255,0.18);
  transform: scale(1.03);
}

.header-location-arrow {
  opacity: 0.8;
  transition: transform 0.2s;
}

.header-location[aria-expanded="true"] .header-location-arrow {
  transform: rotate(180deg);
}

/* ==========================================================================
   Модалка выбора локации
   ========================================================================== */

.location-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-modal[hidden] {
  display: none;
}

.location-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.location-modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 440px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: location-modal-fade 0.2s ease-out;
}

@keyframes location-modal-fade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.location-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.location-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-primary-dark);
}

.location-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 1.25rem;
  text-align: center;
}

.location-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.location-modal-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.location-modal-item:hover {
  background: rgba(21, 101, 192, 0.06);
  color: var(--color-primary);
}

/* Активная локация — залита бледным primary */
.location-modal-item.is-active {
  background: rgba(21, 101, 192, 0.08);
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Кружок-индикатор */
.location-modal-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.location-modal-item.is-active .location-modal-radio {
  border-color: var(--color-primary);
}

.location-modal-item.is-active .location-modal-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}

.location-modal-name {
  flex: 1;
}

/* Мобилка */
@media (max-width: 700px) {
  .header-location {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }
  .location-modal-content {
    padding: 1.5rem 1rem 1rem;
  }
  .location-modal-title {
    font-size: 1.15rem;
  }
}

/* Скрываем селект на самых узких экранах, если места нет */
@media (max-width: 380px) {
  .header-location-label {
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Блок «Что мы перевозили» (портфолио)
   ========================================================================== */

.portfolio-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.portfolio-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.05);
}

.portfolio-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.portfolio-card .card-title {
  margin: 0;
}

.portfolio-route {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  flex-wrap: wrap;
}

.portfolio-route-from,
.portfolio-route-to {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.portfolio-route-arrow {
  color: var(--color-primary);
  font-weight: 700;
}

.portfolio-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0.25rem 0 0;
}



/* Honeypot — скрытое поле-ловушка для ботов */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Попап после отправки заявки */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lead-popup {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: lead-popup-fade 0.2s ease-out;
}

@keyframes lead-popup-fade {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lead-popup p {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--color-primary-dark);
  line-height: 1.5;
}

.lead-popup-close {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lead-popup-close:hover {
  background: var(--color-primary-light);
  transform: scale(1.05);
}