/* =========================================================
   GRUZIYA TRANSFER
   ========================================================= */
:root{
  --c-navy:      #062625;   /* основной тёмный — шапка, футер */
  --c-terracotta:#A8201A;   /* акцент CTA */
  --c-gold:      #F59E0B;   /* акцент hover / деталь */
  --c-slate:     #121B17;   /* текст */
  --c-light:     #FAF9F6;   /* фон страниц */
  --c-white:     #FFFFFF;

  --c-navy-2:    #181d27;   /* чуть темнее навигация верхней строки */
  --c-navy-tint: #252d3d;   /* линии/бордеры на тёмном фоне */

  --font-body:    'Roboto', sans-serif;
  --font-display: 'Raleway', sans-serif;

  --header-topbar-h: 40px;
  --header-mainbar-h: 84px;
  --header-mainbar-h-mobile: 68px;

  --shadow-soft: 0 8px 24px rgba(26, 54, 93, 0.10);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--c-slate);
  background: var(--c-light);
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 0;
}

h1,h2,h3,h4,h5,h6,
.h1,.h2,.h3,.h4,.h5,.h6,
input, textarea, select{
  font-family: var(--font-display);
}

a{ text-decoration: none; }

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

/* =========================================================
   HEADER — шапка сайта (всегда sticky)
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1030;
  font-family: var(--font-body);
}

/* ---- Верхняя строка: мессенджеры ---- */
.topbar{
  background: var(--c-navy-2);
  border-bottom: 1px solid var(--c-navy-tint);
}

.topbar .container-fluid {
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .topbar .container-fluid {
    max-width: 1200px;
  }
}

@media (min-width: 1400px) {
  .topbar .container-fluid {
    max-width: 1320px;
  }
}

.topbar-list{
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: var(--header-topbar-h);
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-list::-webkit-scrollbar{ display:none; }

.topbar-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .18s ease;
}
.topbar-link i{
  font-size: 0.95rem;
  color: var(--c-gold);
  transition: transform .18s ease;
  width: 1em;
  text-align: center;
}
.topbar-link:hover,
.topbar-link:focus-visible{
  color: var(--c-white);
}
.topbar-link:hover i{ transform: translateY(-1px); }

/* ---- Основная строка: логотип + меню ---- */
.mainbar{
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.header-container {
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .header-container {
    max-width: 1200px;
  }
}

@media (min-width: 1400px) {
  .header-container {
    max-width: 1320px;
  }
}

.mainbar-inner{
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-mainbar-h);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Логотип */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-navy);
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-mark{
  width: auto;
  height: 46px;
  flex: none;
  display: block;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: .01em;
  color: var(--c-navy);
}
.brand-text span{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-top: 2px;
}

/* Меню (desktop) */
.main-nav{
  flex: 0 1 auto;
  overflow: visible;
  min-width: 0;
}

.main-nav > ul{
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.main-nav > ul > li{
  position: relative;
}

.main-nav a{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: .01em;
  color: var(--c-slate);
  border-radius: 8px;
  transition: color .18s ease, background-color .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.main-nav a:hover,
.main-nav a:focus-visible{
  color: var(--c-navy);
  background: var(--c-light);
}
.main-nav a.active{
  color: var(--c-navy);
}

.main-nav .nav-text {
  position: relative;
  display: inline-block;
}

.main-nav a.active .nav-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;   /* расстояние от текста до линии, можно подогнать */
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
}

/* Прозрачный "мост" между пунктом и подменю для плавного наведения */
.nav-parent::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: auto;
  z-index: 1999;
}

.nav-toggle-sub i{
  font-size: 0.65rem;
  margin-left: 4px;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  width: 0.65rem;
  text-align: center;
}
.nav-parent:hover .nav-toggle-sub i{
  transform: rotate(180deg);
}
.nav-parent:focus-within .nav-toggle-sub i{
  transform: rotate(180deg);
}

.main-nav .nav-parent.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--c-white);
  border-radius: 8px;
  border: 1px solid #E5E9F0;
  box-shadow: 0 12px 36px rgba(26, 54, 93, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .26s cubic-bezier(0.34, 1.56, 0.64, 1),
              visibility .26s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform .26s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2000;
  pointer-events: none;
}

.nav-parent:hover .nav-submenu,
.nav-parent:focus-within .nav-submenu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-submenu li{
  margin: 0;
  border: 0;
}

.nav-submenu a{
  display: block;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.87rem;
  color: var(--c-slate);
  transition: background-color .16s ease, color .16s ease;
}

.nav-submenu a:hover,
.nav-submenu a.active,
.nav-submenu a:focus-visible{
  background: var(--c-light);
  color: var(--c-terracotta);
}

/* CTA-кнопка в меню */
.btn-brand{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: .01em;
  color: var(--c-white);
  background: var(--c-terracotta);
  padding: 11px 22px;
  border-radius: 8px;
  transition: background-color .18s ease, transform .18s ease;
  border: none;
}
.btn-brand:hover,
.btn-brand:focus-visible{
  background: #b04d29;
  color: var(--c-white);
  transform: translateY(-1px);
}

/* Кнопка "Заказать" для планшета */
.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: .01em;
  color: var(--c-white);
  background: var(--c-terracotta);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
  border: none;
}
.btn-order:hover,
.btn-order:focus-visible{
  background: #b04d29;
  color: var(--c-white);
  transform: translateY(-1px);
}

/* Кнопка-гамбургер (mobile) */
.nav-toggle{
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E9F0;
  border-radius: 8px;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 1.35rem;
  transition: background-color .18s ease;
  flex-shrink: 0;
}
.nav-toggle:hover{ background: var(--c-light); }

/* ---- Offcanvas мобильное меню ---- */
.offcanvas-brand{
  background: var(--c-navy);
  color: var(--c-white);
}
.offcanvas-nav{
  list-style: none;
  margin: 0;
  padding: 0;
}
.offcanvas-nav li + li{ border-top: 1px solid #EDF1F6; }
.offcanvas-nav a{
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-slate);
}
.offcanvas-nav a.active{ color: var(--c-terracotta); }

/* Подменю в offcanvas */
.offcanvas-parent{
  position: relative;
}

.offcanvas-toggle-sub{
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.offcanvas-toggle-sub i{
  font-size: 0.7rem;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
}

.offcanvas-parent.open .offcanvas-toggle-sub i{
  transform: rotate(180deg);
}

.offcanvas-submenu{
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-parent.open .offcanvas-submenu{
  max-height: 500px;
}

.offcanvas-submenu li + li{ border-top: 1px solid #F0F3F8; }

.offcanvas-submenu a{
  display: block;
  padding: 12px 4px 12px 24px !important;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-slate);
  transition: color .18s ease, background-color .18s ease;
}

.offcanvas-submenu a:hover, .offcanvas-submenu a.active{
  color: var(--c-terracotta);
  background: rgba(200, 90, 50, 0.05);
}

.offcanvas-topbar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #EDF1F6;
}
.offcanvas-topbar a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--c-slate);
}
.offcanvas-topbar i{ color: var(--c-terracotta); }

/* =========================================================
   MOBILE (< 768px): верхняя строка мессенджеров -> фикс. низ
   ========================================================= */
@media (max-width: 767.98px){
  .header-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .topbar .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .mainbar{ height: var(--header-mainbar-h-mobile); }
  .mainbar-inner{ 
    height: var(--header-mainbar-h-mobile);
    gap: 12px;
  }
  .brand-mark{ height: 45px; }
  .brand-text strong{ font-size: 1.1rem; }
  .brand-text span{ font-size: 0.62rem; }
  
  .header-actions{
    gap: 8px;
    margin-left: auto;
  }

  .topbar{
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    border-top: 1px solid rgba(26, 54, 93, 0.3);
    border-bottom: none;
    background: linear-gradient(135deg, #1A365D 0%, #0F1E35 100%);
    box-shadow: 0 -6px 18px rgba(20, 43, 75, 0.25);
    padding-top: env(safe-area-inset-bottom, 0);
  }
  .topbar-list{
    height: auto;
    padding: 12px 0;
    justify-content: space-around;
    gap: 0;
    overflow-x: visible;
  }
  .topbar-list li{ 
    flex: 1 1 0;
    text-align: center;
  }
  .topbar-link{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 0.7rem;
    padding: 8px 6px;
    color: var(--c-white);
  }
  .topbar-link i{ 
    font-size: 1.6rem;
    color: var(--c-white);
  }
  .topbar-link span {
    color: var(--c-white);
  }

  /* компенсация высоты фикс. нижней панели */
  body{ padding-bottom: 70px; }

  /* скрыть подменю в desktop меню */
  .nav-submenu{ display: none; }
}

@media (min-width: 768px){
  .topbar-list{ justify-content: flex-end; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0F1E35 100%);
  padding: 60px 20px;
  color: var(--c-white);
  background: url(../img/bg/bg.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  -o-background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  text-align: center;
  margin-left: 5%;
  margin-right: 5%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
  .hero {
    padding: 40px 16px;
    background-image: url(../img/bg/bg-xs.jpg);
  }
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

/* Блоки спецпредложений */
.hero-offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

@media (max-width: 767.98px) {
  .hero-offers {
    grid-template-columns: 1fr;
  }
  
  /* Скрыть остальные блоки, оставить только первый */
  .hero-offers .offer-card:nth-child(n+2) {
    display: none;
  }
}

.offer-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.offer-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.offer-card-icon {
  display: none;
}

.offer-card-text {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--c-white);
  margin: 0;
}

.offer-card a {
  display: inline;
  color: var(--c-gold);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color .2s ease, text-decoration .2s ease;
}

.offer-card a:hover,
.offer-card a:focus-visible {
  color: var(--c-white);
  text-decoration: underline;
}

/* Навигация табов */
.form-tabs {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.tabs-nav {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.08);
}

.tabs-nav button {
  padding: 16px 24px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 767.98px){
  .tabs-nav button {
    padding: 16px 12px;
  }
}

.tabs-nav button:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.08);
}

.tabs-nav button.active {
  color: var(--c-gold);
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* =========================================================
   ФОРМА ЗАКАЗА
   ========================================================= */
.booking-form {
  background: transparent;
  border-radius: 0 0 12px 12px;
  padding: 32px;
}

@media (max-width: 767.98px) {
  .booking-form {
    padding: 20px;
    border-radius: 0 0 12px 12px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-white);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-group label .required {
  color: #E53E3E;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-slate);
  transition: all .18s ease;
  background: var(--c-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 3px rgba(200, 90, 50, 0.1);
}

.form-group select {
    padding-right: 28px;
    appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;  
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
}

/* ошибки в форме */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #E53E3E;
  /*background: rgba(229, 62, 62, 0.04);*/
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.error-message {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #E53E3E;
  font-weight: 500;
}

.form-group.has-error .error-message {
  display: block;
}

.form-group input[type="datetime-local"] {
  cursor: pointer;
  padding: 12px 14px;
}

/* =========================================================
   ПОПУЛЯРНЫЕ НАПРАВЛЕНИЯ ТАКСИ ПОЕЗДОК
   ========================================================= */
.destinations-section {
  background: var(--c-white);
  padding: 80px 20px;
}

@media (max-width: 767.98px) {
  .destinations-section {
    padding: 50px 16px;
  }
}

.destinations-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--c-navy);
  margin: 0 0 12px;
  text-align: center;
}

.destinations-lede {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-slate);
  margin: 0 0 40px;
  text-align: center;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991.98px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575.98px) {
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.destination-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.08);
  transition: transform .3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow .3s ease;
}

.destination-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 36px rgba(26, 54, 93, 0.16);
}

.destination-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

@media (max-width: 575.98px) {
  .destination-card img {
    height: 130px;
  }
}

.destination-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
  gap: 10px;
}

@media (max-width: 575.98px) {
  .destination-card-body {
    padding: 14px;
    gap: 6px;
  }
}

.destination-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-navy);
  margin: 0;
  line-height: 1.25;
}

@media (max-width: 575.98px) {
  .destination-card-body h3 {
    font-size: 0.98rem;
  }
}

.destination-card-body p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-slate);
  margin: 0;
  flex: 1;
}

@media (max-width: 575.98px) {
  .destination-card-body p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

.destination-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid #EDF1F5;
}

.destination-price-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #A0AEC0;
}

.destination-price-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-terracotta);
}

@media (max-width: 575.98px) {
  .destination-price {
    padding-top: 10px;
  }
  .destination-price-value {
    font-size: 1rem;
  }
}

.destination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 20px;
  background: var(--c-terracotta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.destination-btn:hover,
.destination-btn:focus-visible {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 90, 50, 0.3);
}

.destination-btn:active {
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  .destination-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}
.gallery-section {
  background: var(--c-light);
  padding: 80px 20px;
}

@media (max-width: 767.98px) {
  .gallery-section {
    padding: 50px 16px;
  }
}

.gallery-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--c-navy);
  margin: 0 0 12px;
  text-align: center;
}

.gallery-lede {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-slate);
  margin: 0 0 32px;
  text-align: center;
}

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

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--c-navy);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--c-terracotta);
  outline-offset: -3px;
}

.gallery-more-link {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-terracotta);
  text-decoration: none;
  text-align: center;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.gallery-more-link:hover,
.gallery-more-link:focus-visible {
  color: #b04d29;
  border-color: none;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 41, 0.94);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-content img.loaded {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color .18s ease, transform .18s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 1.2rem;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 767.98px) {
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* =========================================================
   НАШИ ПРЕИМУЩЕСТВА
   ========================================================= */
.advantages-section {
  position: relative;
  background: radial-gradient(ellipse at bottom right, #070a0b 0%, #192f3c 55%, #153243 100%);
  padding: 90px 20px;
  overflow: hidden;
}

.advantages-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(226, 183, 20, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.advantages-section::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200, 90, 50, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .advantages-section {
    padding: 56px 16px;
  }
}

.advantages-eyebrow {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.advantages-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--c-white);
  margin: 0 0 14px;
}

.advantages-lede {
  position: relative;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  max-width: 56ch;
  margin: 0 0 52px;
}

.advantages-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

@media (max-width: 1199.98px) {
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767.98px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.advantage-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform .3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color .3s ease,
              background-color .3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(226, 183, 20, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-gold);
  background: rgba(226, 183, 20, 0.1);
  margin-bottom: 18px;
  transition: box-shadow .3s ease, background-color .3s ease, transform .3s ease;
}

.advantage-card:hover .advantage-icon {
  background: rgba(226, 183, 20, 0.16);
  box-shadow: 0 0 0 1px rgba(226, 183, 20, 0.25), 0 0 28px rgba(226, 183, 20, 0.35);
  transform: scale(1.08);
}

.advantage-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--c-white);
  margin: 0 0 10px;
  line-height: 1.3;
}

.advantage-card p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.taxi-service {
  background: var(--c-white);
  padding: 80px 20px;
}

@media (max-width: 767.98px) {
  .taxi-service {
    padding: 50px 16px;
  }
}

.taxi-service h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--c-navy);
  margin: 0 0 24px;
}

.taxi-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}

@media (max-width: 991.98px) {
  .taxi-service-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 50px;
  }
}

/* Стилизованный список */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--c-slate);
}

.feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 90, 50, 0.1);
  color: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Текстовые абзацы */
.taxi-service-col p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-slate);
  margin: 0 0 18px;
}

.taxi-service-col p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   ВИДЕО О ГРУЗИИ (lazy-loaded YouTube facade)
   ========================================================= */
.taxi-video-wrap h2 {
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--c-navy);
  box-shadow: 0 12px 32px rgba(26, 54, 93, 0.18);
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .25s ease, transform .4s ease;
}

.video-embed:hover .video-thumb {
  filter: brightness(0.85);
  transform: scale(1.02);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(200, 90, 50, 0.92);
  border: none;
  color: var(--c-white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn i {
  margin-left: 4px; /* оптическая коррекция иконки play */
}

.video-embed:hover .video-play-btn {
  background: var(--c-terracotta);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767.98px) {
  .video-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
}
.how-to-book {
  background: var(--c-navy);
  padding: 80px 20px;
  color: var(--c-white);
}

@media (max-width: 767.98px) {
  .how-to-book {
    padding: 50px 16px;
  }
}

.how-to-book-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 700;
  margin: 0 0 16px;
}

.how-to-book-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--c-white);
}

.how-to-book-lede {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 46ch;
  margin: 0 0 64px;
}

@media (max-width: 767.98px) {
  .how-to-book-lede {
    margin-bottom: 44px;
  }
}

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background-image: linear-gradient(var(--c-terracotta) 60%, transparent 0%);
  background-size: 2px 14px;
  background-repeat: repeat-y;
  opacity: 0.55;
}

.step:last-child {
  position: relative;
}

.step:last-child::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--c-navy);
  z-index: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 24px;
  padding-bottom: 48px;
}

.step:last-child {
  padding-bottom: 0;
}

.step .num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-white);
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 10px 0 8px;
  color: var(--c-white);
}

.step-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 52ch;
}

.step-desc b {
  color: var(--c-gold);
  font-weight: 700;
}

.how-to-book-footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.how-to-book-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex: none;
}

@media (max-width: 520px) {
  .step {
    grid-template-columns: 44px 1fr;
    column-gap: 16px;
  }
  .step .num {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .steps::before, .step:last-child::after {
    left: 21px;
  }
}
.scroll-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--c-terracotta);
  color: var(--c-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.3);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: #b04d29;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 90, 50, 0.4);
}

.scroll-to-top:active {
  transform: translateY(0);
}

@media (max-width: 767.98px) {
  .scroll-to-top {
    bottom: 100px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767.98px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-row.full {
  grid-template-columns: 1fr;
}

/* Телефон: специальная разметка */
.form-phone {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.form-phone select {
  padding: 14.25px 10px;
  width: auto;
  min-width: 80px;
}

.form-phone input {
  width: 100%;
}

.form-phone .error-message {
  grid-column: 1 / -1;
}

/* Чекбокс согласие */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0;
  padding: 16px;
  background: #F7FAFC;
  border-radius: 8px;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--c-terracotta);
}

.form-checkbox label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--c-slate);
  cursor: pointer;
  font-weight: 400;
}

.form-checkbox a {
  color: var(--c-terracotta);
  text-decoration: underline;
  transition: color .2s ease;
}

.form-checkbox a:hover {
  color: #b04d29;
}

/* Кнопка отправки */
.form-submit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.btn-submit {
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-white);
  background: var(--c-terracotta);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: 0.01em;
}

.btn-submit:hover:not(:disabled) {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(200, 90, 50, 0.3);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-submit:disabled {
  background: #CBD5E0;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-submit i {
  margin-right: 8px;
}

/* =========================================================
   ОТЗЫВЫ — карусель
   ========================================================= */
.reviews-section {
  background: var(--c-light);
  padding: 80px 20px;
}

@media (max-width: 767.98px) {
  .reviews-section {
    padding: 50px 16px;
  }
}

.reviews-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.65rem;
  color: var(--c-navy);
  margin: 0 0 12px;
  text-align: center;
}

.reviews-lede {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-slate);
  margin: 0 0 40px;
  text-align: center;
}

.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 8px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 2 * 20px) / 3);
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.08);
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .review-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 767.98px) {
  .review-card {
    flex-basis: 100%;
    padding: 22px 20px;
  }
}

.review-stars {
  color: var(--c-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-slate);
  margin: 0 0 20px;
  flex: 1;

  /* Ограничение по количеству строк */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #EDF1F5;
}

.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--c-navy);
}

.review-date {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #A0AEC0;
}

/* Кнопки навигации карусели */
.carousel-btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: var(--c-white);
  color: var(--c-navy);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  box-shadow: 0 2px 8px rgba(26, 54, 93, 0.06);
}

.carousel-btn:hover {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
  color: var(--c-white);
  transform: scale(1.06);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn:disabled:hover {
  background: var(--c-white);
  border-color: #E2E8F0;
  color: var(--c-navy);
}

@media (max-width: 575.98px) {
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

/* Точки-индикаторы */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #CBD5E0;
  padding: 0;
  cursor: pointer;
  transition: all .25s ease;
}

.carousel-dots button.active {
  width: 26px;
  border-radius: 5px;
  background: var(--c-terracotta);
}

.carousel-dots button:hover {
  background: #A0AEC0;
}

.carousel-dots button.active:hover {
  background: var(--c-terracotta);
}

/* =========================================================
   КОНТАКТЫ
   ========================================================= */
.contacts-section {
  position: relative;
  background: radial-gradient(ellipse at bottom right, #070a0b 0%, #192f3c 55%, #153243 100%);
  padding: 90px 20px;
  overflow: hidden;
}

.contacts-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(200, 90, 50, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .contacts-section {
    padding: 56px 16px;
  }
}

.contacts-intro {
  position: relative;
  max-width: 70ch;
  margin: 0 auto 48px;
  text-align: center;
}

.contacts-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 700;
  margin: 0 0 14px;
}

.contacts-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  color: var(--c-white);
  margin: 0 0 16px;
  overflow: hidden;
}

.contacts-lede {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
}

/* Двухколоночная раскладка: слева соцсети, справа контакты */
.contacts-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 56px;
}

@media (max-width: 767.98px) {
  .contacts-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Плитки контактов — по 2 в ряд (правая колонка) */
.contacts-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 575.98px) {
  .contacts-grid {
    gap: 12px;
  }
}

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .3s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color .3s ease,
              background-color .3s ease;
}

a.contact-tile:hover,
a.contact-tile:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(226, 183, 20, 0.35);
  background: rgba(255, 255, 255, 0.065);
}

.contact-tile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(226, 183, 20, 0.1);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: box-shadow .3s ease, background-color .3s ease, transform .3s ease;
}

a.contact-tile:hover .contact-tile-icon,
a.contact-tile:focus-visible .contact-tile-icon {
  background: rgba(226, 183, 20, 0.18);
  box-shadow: 0 0 0 1px rgba(226, 183, 20, 0.25), 0 0 28px rgba(226, 183, 20, 0.35);
  transform: scale(1.08);
}

.contact-tile-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-tile-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-white);
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: break-all;
}

.contact-tile--static {
  cursor: default;
}

/* Карточка мессенджеров (левая колонка) */
.contacts-messengers {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px 30px;
}

@media (max-width: 575.98px) {
  .contacts-messengers {
    padding: 26px 22px;
  }
}

.contacts-messengers-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-white);
  margin: 0 0 8px;
}

.contacts-messengers-sub {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 26px;
}

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

.messenger-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all .22s ease;
}

.messenger-btn i {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
}

.messenger-btn:hover,
.messenger-btn:focus-visible {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.messenger-btn--telegram:hover { background: rgba(41, 182, 246, 0.14); color: #29b6f6; }
.messenger-btn--telegram:hover i { color: #29b6f6; }
.messenger-btn--whatsapp:hover { background: rgba(37, 211, 102, 0.14); color: #25d366; }
.messenger-btn--whatsapp:hover i { color: #25d366; }
.messenger-btn--viber:hover { background: rgba(125, 85, 199, 0.16); color: #a389e8; }
.messenger-btn--viber:hover i { color: #a389e8; }

/* =========================================================
   КАРТА ОФИСА (lazy-loaded Google Maps facade)
   ========================================================= */
.contacts-map-wrap {
  position: relative;
  max-width: 900px;
  margin: 48px auto 0;
}

.map-embed {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  animation: mapFadeIn .4s ease forwards;
}

@keyframes mapFadeIn {
  to { opacity: 1; }
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 0 24px;
}

.map-placeholder-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(226, 183, 20, 0.1);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.map-placeholder-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32ch;
  line-height: 1.5;
}

@media (max-width: 767.98px) {
  .contacts-map-wrap {
    margin-top: 36px;
  }
}

/* =========================================================
   ФУТЕР
   ========================================================= */
.site-footer {
  background: #011200;
  padding: 64px 20px 0;
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 48px 16px 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Логотип и описание */
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

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

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--c-white);
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  max-width: 34ch;
  margin: 0;
}

/* Заголовки колонок */
.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-white);
  margin: 0 0 20px;
}

/* Полезные ссылки */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--c-gold);
  padding-left: 4px;
}

/* Способы оплаты */
.footer-payments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-payments li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-payments i {
  font-size: 1.15rem;
  width: 22px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

/* Контакты в футере */
.footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.footer-contacts i {
  font-size: 0.95rem;
  width: 22px;
  margin-top: 2px;
  color: var(--c-gold);
  text-align: center;
  flex-shrink: 0;
}

.footer-contacts a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--c-gold);
}

/* Нижняя строка */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-privacy-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-privacy-link:hover,
.footer-privacy-link:focus-visible {
  color: var(--c-gold);
}

@media (max-width: 575.98px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =========================================================
   RESPONSIVE TABLE
   Применяется ко всем адаптивным таблицам сайта.
   На мобильных строки превращаются в карточки.
   ========================================================= */
.responsive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-white);
  font-family: var(--font-body);
}

.responsive-table thead th {
  padding: 10px 5px;
  text-align: center;
  vertical-align: bottom;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-navy);
  border-bottom: 2px solid #EDF1F5;
  background: var(--c-light);
}

.responsive-table tbody th,
.responsive-table tbody td {
  padding: 10px 5px;
  text-align: center;
  border-bottom: 1px solid #EDF1F5;
  font-size: 0.92rem;
  color: var(--c-slate);
  vertical-align: middle;
}

/* Без чередующихся цветов строк — только мягкий hover */
.responsive-table tbody tr:hover td,
.responsive-table tbody tr:hover th {
  background: rgba(200, 90, 50, 0.03);
}

.responsive-table tbody tr:last-child th,
.responsive-table tbody tr:last-child td {
  border-bottom: none;
}

/* Мягкая обёртка со скруглением и рамкой */
.table-scroll-wrap {
  border: 1px solid #EDF1F5;
  border-radius: 16px;
  overflow: hidden;
}

.table-scroll-wrap .responsive-table {
  border-radius: 0;
}

/* Горизонтальный скролл на средних экранах (до перехода в карточки) */
@media (max-width: 1099.98px) and (min-width: 768px) {
  .table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   Мобильная карточная раскладка для .responsive-table
   ========================================================= */
@media (max-width: 767.98px) {
  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table th,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody tr {
    margin-bottom: 16px;
    border: 1px solid #EDF1F5;
    border-radius: 14px;
    padding: 6px 16px;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.05);
  }

  .responsive-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .responsive-table tbody th,
  .responsive-table tbody td {
    text-align: right;
    padding: 12px 0;
    border-bottom: 1px solid #F4F6F9;
  }

  .responsive-table tbody tr td:last-child,
  .responsive-table tbody tr th:last-child {
    border-bottom: none;
  }

  /* Значение подписывается через data-label */
  .responsive-table tbody td[data-label]::before {
    content: attr(data-label);
    float: left;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--c-white);
  }
}

/* =========================================================
   PRICING TABLE
   ========================================================= */
.pricing-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.035);
}

/* Переопределение базовой светлой темы .responsive-table под тёмный фон */
.pricing-table {
  background: transparent;
}

.pricing-table thead th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.pricing-table tbody th,
.pricing-table tbody td {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table tbody tr:hover td,
.pricing-table tbody tr:hover th {
  background: rgba(255, 255, 255, 0.045);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.car-class-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--c-gold);
  margin-bottom: 10px;
}

.car-class-photo {
  display: block;
  height: auto;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.route-cell {
  text-align: left !important;
  white-space: nowrap;
}

.route-cell a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-gold);
  text-decoration: none;
  transition: color .2s ease;
}

.route-cell a:hover,
.route-cell a:focus-visible {
  color: var(--c-gold);
}

.page-form-card .route-cell a + span {
  margin-left: 5px;
}

.price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--c-white);
}

.price-currency {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 2px;
}

.order-cell {
  white-space: nowrap;
}

.pricing-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  background: var(--c-terracotta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

.pricing-order-btn:hover,
.pricing-order-btn:focus-visible {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(200, 90, 50, 0.3);
}

.pricing-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 18px 4px 0;
  line-height: 1.5;
}

/* =========================================================
   Мобильная карточная раскладка — специфика pricing-table
   ========================================================= */
@media (max-width: 767.98px) {
  .pricing-table-wrap {
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .pricing-table tbody tr {
    display: block;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 4px 18px 18px;
    margin-bottom: 16px;
  }

  .pricing-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .route-cell {
    text-align: left !important;
    font-size: 1.05rem;
    padding: 12px 0 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-bottom: 4px;
  }

  .pricing-table tbody th,
  .pricing-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pricing-table td[data-label]::before {
    content: attr(data-label);
    color: rgba(255, 255, 255, 0.55);
  }

  .order-cell {
    text-align: center !important;
    padding-top: 16px !important;
    border-bottom: none !important;
  }

  .order-cell::before {
    content: none !important;
  }

  .pricing-order-btn {
    width: 100%;
    padding: 12px 18px;
  }
}

/* Утилита: визуально скрытый, но доступный для скринридеров текст */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — общий двухколоночный layout
   Правая колонка sticky на десктопе (для всех внутренних страниц)
   ========================================================= */
.page-main {
  background: var(--c-light);
  /*padding: 56px 20px 90px;*/
  padding: 0;
}

@media (max-width: 767.98px) {
  .page-main {
    padding: 36px 16px 60px;
    padding: 0;
  }
}

.page-content {
  min-width: 0; /* защита от переполнения грид-ячейки длинным контентом */
}

.page-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  font-weight: 700;
  margin: 0 0 14px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--c-navy);
  margin: 0 0 16px;
}

.page-lede {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--c-slate);
  margin: 0 0 40px;
}

.page-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-navy);
  margin: 56px 0 10px;
}

.page-section-lede {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--c-slate);
  margin: 0 0 28px;
}

/* Обёртка формы заказа на внутренней странице — светлая карточка */
.page-booking-form-wrap {
  background: var(--c-white);
  border: 1px solid #EDF1F5;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.06);
  padding: 8px;
}

.page-booking-form-wrap .booking-form {
  padding: 28px;
}

@media (max-width: 575.98px) {
  .page-booking-form-wrap .booking-form {
    padding: 18px;
  }
}

/* На внутренней странице фон формы всегда светлый (нет тёмного hero под ней) */
.page-booking-form-wrap .form-group label {
  color: var(--c-navy);
}

/* =========================================================
   SIDEBAR — sticky-блок контактов на десктопе
   ========================================================= */
.page-sidebar {
  position: sticky;
  top: 132px; /* высота topbar + mainbar + запас */
}

@media (max-width: 991.98px) {
  .page-sidebar {
    position: static;
    top: unset;
  }
}

@media (max-width: 767.98px) {
  .page-sidebar {
    padding: 0 16px;
  }
}

.sidebar-contact-card {
  background: var(--c-navy);
  background-image: radial-gradient(ellipse at top right, #12233f 0%, #0A1628 70%);
  border-radius: 20px;
  padding: 32px 26px;
}

.sidebar-contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-white);
  margin: 0 0 8px;
}

.sidebar-contact-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}

.sidebar-contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sidebar-contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(226, 183, 20, 0.1);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.sidebar-contact-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.sidebar-contact-value {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-white);
  text-decoration: none;
  line-height: 1.4;
  transition: color .2s ease;
}

a.sidebar-contact-value:hover,
a.sidebar-contact-value:focus-visible {
  color: var(--c-gold);
}

.sidebar-messenger-buttons {
  display: flex;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-messenger-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  font-size: 1.15rem;
  transition: all .2s ease;
}

.sidebar-messenger-btn:hover,
.sidebar-messenger-btn:focus-visible {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
  transform: translateY(-2px);
}

/* =========================================================
   ВНУТРЕННИЕ СТРАНИЦЫ — общий двухколоночный макет
   ========================================================= */
.internal-page {
  background: var(--c-light);
  padding: 30px 20px 60px;
}

@media (max-width: 767.98px) {
  .internal-page {
    padding: 20px 16px 40px;
  }
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.page-main > .st-block {
  display: none;;
}

@media (max-width: 991.98px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-main > .st-block {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 150px;
    z-index: 100;
    margin-bottom: 30px;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
  }
  .page-main > .st-block .btn-order {
    width: 100%;
    justify-content: center;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
  }
  body.is-scrolled .page-main > .st-block .btn-order {
    width: unset;
  }
}

@media (max-width: 767.98px) {
  body.is-scrolled .page-main > .st-block {
    top: 93px;
  }
}

.page-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  font-weight: 700;
  margin: 0 0 14px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.25vw, 2.5rem);
  line-height: 1.15;
  color: var(--c-navy);
  margin: 0 0 16px;
}

.page-lede {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--c-slate);
  margin: 0 0 40px;
}

/* Карточка формы на светлой внутренней странице —
   переопределяем тёмную "стеклянную" тему hero под светлый фон */
.page-form-card {
  margin-bottom: 64px;
}

.page-form-card .form-tabs {
  background: var(--c-white);
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.06);
  backdrop-filter: none;
}

.page-form-card .tabs-nav {
  background: var(--c-light);
  border-bottom: 2px solid #E2E8F0;
}

.page-form-card .tabs-nav button {
  color: #718096;
}

.page-form-card .tabs-nav button:hover {
  color: var(--c-navy);
  background: rgba(0, 0, 0, 0.02);
}

.page-form-card .tabs-nav button.active {
  color: var(--c-terracotta);
}

.page-form-card .tabs-nav button.active::after {
  background: var(--c-terracotta);
}

.page-form-card .form-group label {
  color: var(--c-navy);
}

.page-form-card .hero-offers {
  display: none; /* на внутренней странице спецпредложения не дублируем */
}

@media (max-width: 767.98px) {
  .page-form-card .booking-form {
    padding: 20px;
  }
}

/* Галерея автопарка на внутренней странице */
.page-gallery-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-navy);
  margin: 0 0 12px;
}

.page-gallery-lede {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--c-slate);
  margin: 0 0 28px;
  max-width: 58ch;
}

.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

@media (max-width: 767.98px) {
  .page-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .page-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Переиспользуем .gallery-item из главной страницы для одинакового поведения */

/* =========================================================
   SIDEBAR — контактная карточка (sticky на десктопе)
   ========================================================= */
.page-sidebar {
  position: relative;
}

@media (min-width: 992px) {
  .page-sidebar {
    position: sticky;
    top: 145px; /* высота sticky-хедера + отступ */
  }
}

.sidebar-contact-card {
  background: var(--c-white);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 32px 26px;
  box-shadow: 0 8px 28px rgba(26, 54, 93, 0.08);
}

.sidebar-contact-eyebrow {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  font-weight: 700;
  margin: 0 0 10px;
}

.sidebar-contact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-navy);
  margin: 0 0 10px;
}

.sidebar-contact-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-slate);
  margin: 0 0 26px;
}

.sidebar-contact-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-slate);
}

.sidebar-contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200, 90, 50, 0.08);
  color: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.sidebar-contact-list a {
  color: var(--c-slate);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

.sidebar-contact-list a:hover,
.sidebar-contact-list a:focus-visible {
  color: var(--c-white);
}

.sidebar-messenger-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.sidebar-messenger-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 10px;
  background: var(--c-light);
  border: 1px solid #E2E8F0;
  color: var(--c-navy);
  font-size: 1.2rem;
  transition: all .2s ease;
}

.sidebar-messenger-btn:hover,
.sidebar-messenger-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--c-terracotta);
  color: var(--c-white); 
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  background: var(--c-terracotta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sidebar-cta-btn:hover,
.sidebar-cta-btn:focus-visible {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200, 90, 50, 0.3);
}

/* =========================================================
   Таблица цен внутри .page-form-card
   ========================================================= */
.page-form-card .pricing-table-wrap {
  border: 1px solid #EDF1F5;
  background: var(--c-white);
  overflow-x: auto;
}

.page-form-card .pricing-table thead th {
  background: var(--c-light);
  color: var(--c-navy);
  border-bottom: 2px solid #EDF1F5;
}

.page-form-card .pricing-table tbody th,
.page-form-card .pricing-table tbody td {
  color: var(--c-slate);
  border-bottom: 1px solid #EDF1F5;
}

.page-form-card .pricing-table tbody tr:hover td,
.page-form-card .pricing-table tbody tr:hover th {
  background: rgba(200, 90, 50, 0.03);
}

.page-form-card .car-class-name {
  color: var(--c-navy);
}

.page-form-card .car-class-photo {
  border-color: #EDF1F5;
}

.page-form-card .route-cell a, .page-form-card .pricing-table tbody td span {
  font-size: 0.85rem;
}
.page-form-card .route-cell a {
  color: var(--c-navy);
}
@media (max-width: 767.98px) {
  .page-form-card .route-cell a {
    color: var(--c-terracotta);
  }
}

.page-form-card .route-cell a:hover,
.page-form-card .route-cell a:focus-visible {
  color: var(--c-terracotta);
}

.page-form-card .price-value {
  color: var(--c-slate);
}

.page-form-card .price-currency {
  color: #A0AEC0;
}

.page-form-card .pricing-note {
  color: var(--c-slate);
}

@media (max-width: 767.98px) {
  .page-form-card .pricing-table tbody tr {
    background: var(--c-white);
    border: 1px solid #EDF1F5;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.05);
  }

  .page-form-card .route-cell {
    border-bottom-color: #EDF1F5 !important;
  }

  .page-form-card .pricing-table tbody th,
  .page-form-card .pricing-table tbody td {
    border-bottom-color: #F4F6F9;
    white-space: normal;
  }

  .page-form-card .pricing-table td[data-label]::before {
    color: var(--c-navy);
  }
}

/* =========================================================
   ХЛЕБНЫЕ КРОШКИ
   ========================================================= */
.breadcrumbs {
  background: var(--c-light);
  border-bottom: 1px solid #E2E8F0;
  padding: 14px 0;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  color: var(--c-slate);
}

.breadcrumbs-list li + li::before {
  content: "/";
  margin: 0 8px;
  color: #CBD5E0;
}

.breadcrumbs-list a {
  color: var(--c-slate);
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumbs-list a:hover,
.breadcrumbs-list a:focus-visible {
  color: var(--c-terracotta);
}

.breadcrumbs-list li[aria-current="page"] {
  color: var(--c-navy);
  font-weight: 600;
}

.breadcrumbs-list .fa-house {
  margin-right: 6px;
  font-size: 0.8rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-page {
  background: var(--c-light);
  padding: 56px 20px 90px;
}

@media (max-width: 767.98px) {
  .faq-page {
    padding: 36px 16px 60px;
  }
}

.faq-intro {
  max-width: 74ch;
  margin: 0 auto 48px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.05);
}

@media (max-width: 575.98px) {
  .faq-item {
    padding: 20px 20px;
  }
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-navy);
  margin: 0 0 12px;
  line-height: 1.4;
}

.faq-question .faq-q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200, 90, 50, 0.1);
  color: var(--c-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-top: 2px;
}

.faq-answer {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-slate);
  margin: 0 0 0 40px;
}

@media (max-width: 575.98px) {
  .faq-answer {
    margin-left: 0;
  }
}

.faq-cta {
  max-width: 780px;
  margin: 48px auto 0;
  text-align: center;
  background: var(--c-navy);
  border-radius: 18px;
  padding: 36px 28px;
}

.faq-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--c-white);
  margin: 0 0 10px;
}

.faq-cta p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 22px;
}

.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  background: var(--c-terracotta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.faq-cta-btn:hover,
.faq-cta-btn:focus-visible {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200, 90, 50, 0.3);
}

/* =========================================================
   АВТО — простая двухколоночная страница
   ========================================================= */
.cars-fleet-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cars-fleet-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
}

.cars-fleet-item , .internal-page .page-form-card {
  background: var(--c-white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.05);
  transition: transform .25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow .25s ease;
}

.cars-fleet-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 54, 93, 0.1);
}

.cars-fleet-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 575.98px) {
  .cars-fleet-item {
    grid-template-columns: 1fr;
  }
  .cars-fleet-item img {
    height: 160px;
  }
}

.cars-fleet-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-navy);
  margin: 0 0 6px;
}

.cars-fleet-body p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-slate);
  margin: 0 0 10px;
}

.cars-fleet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cars-fleet-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--c-slate);
}

.cars-fleet-meta i {
  color: var(--c-terracotta);
  font-size: 0.85rem;
}

/* =========================================================
   БЛОГ — сетка карточек (blog.html)
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 575.98px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.05);
  transition: transform .25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 54, 93, 0.1);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}

.blog-card-date {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #A0AEC0;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog-card-title a {
  color: var(--c-navy);
  text-decoration: none;
  transition: color .2s ease;
}

.blog-card-title a:hover,
.blog-card-title a:focus-visible {
  color: var(--c-terracotta);
}

.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--c-slate);
  margin: 0 0 16px;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-terracotta);
  text-decoration: none;
  margin-top: auto;
  transition: gap .2s ease;
}

.blog-card-link:hover,
.blog-card-link:focus-visible {
  gap: 10px;
}

.blog-card-link i {
  font-size: 0.78rem;
}

/* =========================================================
   САЙДБАР
   ========================================================= */
.recent-posts-card {
  background: var(--c-white);
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 8px 28px rgba(26, 54, 93, 0.08);
}

.recent-posts-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-navy);
  margin: 0 0 20px;
}

.recent-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-posts-list li + li {
  padding-top: 16px;
  border-top: 1px solid #EDF1F5;
}

.recent-posts-list a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  text-decoration: none;
}

.recent-posts-list img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.recent-posts-list a > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.recent-post-date {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #A0AEC0;
}

.recent-post-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--c-navy);
  transition: color .2s ease;
}

.recent-posts-list a:hover .recent-post-title,
.recent-posts-list a:focus-visible .recent-post-title {
  color: var(--c-terracotta);
}

/* =========================================================
   СТАТЬЯ БЛОГА (blog-post.html)
   ========================================================= */
.blog-post-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #A0AEC0;
  margin-bottom: 14px;
}

.blog-post .page-title {
  margin-bottom: 28px;
}

.blog-post-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 32px;
}

.blog-post p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-slate);
  margin: 0 0 24px;
}

.blog-post h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-navy);
  margin: 40px 0 18px;
}

/* Адаптивная таблица внутри статьи — светлая тема */
.blog-table-wrap {
  border: 1px solid #EDF1F5;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-white);
  margin: 0 0 32px;
}

.blog-table thead th {
  background: var(--c-light);
  color: var(--c-navy);
  border-bottom: 2px solid #EDF1F5;
}

.blog-table tbody th,
.blog-table tbody td {
  color: var(--c-slate);
  border-bottom: 1px solid #EDF1F5;
}

.blog-table tbody th {
  color: var(--c-navy);
  font-weight: 700;
  text-align: left;
}

.blog-table tbody tr:hover td,
.blog-table tbody tr:hover th {
  background: rgba(200, 90, 50, 0.03);
}

@media (max-width: 767.98px) {
  .blog-table tbody tr {
    background: var(--c-white);
    border: 1px solid #EDF1F5;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.05);
  }
  .blog-table td[data-label]::before {
    color: var(--c-navy);
  }
}

/* 3-колоночная фотогалерея внутри статьи */
.blog-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 32px;
}

.blog-photo-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 575.98px) {
  .blog-photo-row {
    grid-template-columns: 1fr;
  }
  .blog-photo-row img {
    height: 220px;
  }
}

.blog-post-cta {
  background: var(--c-navy);
  border-radius: 16px;
  padding: 30px 26px;
  text-align: center;
  margin-top: 40px;
}

.blog-post-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 18px;
}

.blog-post-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: var(--c-terracotta);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.blog-post-cta-btn:hover,
.blog-post-cta-btn:focus-visible {
  background: #b04d29;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(200, 90, 50, 0.3);
}
.post-gallery {
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 32px;
}

/* Кнопка "Заказать" – иконка по умолчанию скрыта */
.btn-order .btn-order-icon {
  display: none;
}

/* На очень маленьких экранах (до 480px) скрываем текст, показываем иконку */
@media (max-width: 480px) {
  .btn-order .btn-order-text {
    display: none;
  }
  .btn-order .btn-order-icon {
    display: inline-block;
    font-size: 1.3rem;   /* размер иконки */
  }
  .btn-order {
    padding: 10px 12px;
  }
}