/**
 * @author Design & Accessible Team ( Sumy State University )
 * @package Joomla
 * @subpackage Accessible-Template-SSU
 * @copyright Copyright (C) 2010 - 2015 Open Source Matters. All rights reserved.
 * @license GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and
 * details.
 */

/* ==========================================================================
   Table of contents
   --------------------------------------------------------------------------
   1.  Base / element resets
   2.  Layout helpers (page header, fixed/offset top)
   3.  Site header (booking info, app links, phones row)
   4.  Top menu / navbar
   5.  Section: main banner
   6.  Section: privilege
   7.  Section: news
   8.  Section: about
   9.  Section: tariffs
   10. Section: parking
   11. Section: contacts
   12. Section: footer
   13. Breadcrumb
   14. Content area
   15. Contacts page
   16. News / blog
   17. Comments
   18. Buttons
   19. System message
   20. Content component: price list
   21. Content component: sanavto info & routes
   22. Content component: sanavto stops
   23. Content component: sanavto about
   24. Content component: sanavto booking
   25. Content component: sanavto contacts
   26. Content component: routes list
   27. Content component: routes simple list
   28. Content component: tariffs board
   29. Responsive / mobile adaptation
   30. Polish: hover feedback and unified buttons
   ========================================================================== */


/* ==========================================================================
   1. Base / element resets
   ========================================================================== */

html, body {
  padding: 0px;
  margin: 0px;
}

body {
  min-width: 1360px;
}

img {
  border: 0 none;
}

a {
  color: #4d8fda;
}

a:hover {
  color: #4d8fda;
}

select {
  border: 0px;
  border-radius: 0px;
}

iframe {
  border: 0px;
}

h2 {
  font-size: 24px;
  line-height: 26px;
}

input, textarea {
  width: 98%;
}

ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}


/* ==========================================================================
   2. Layout helpers (page header, fixed/offset top)
   ========================================================================== */

.page-header {
  margin-bottom: 10px;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 160px;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
  z-index: 150;
  background-color: #fff;
}

.offset-top {
  height: 160px;
}

div[class^="module"] .page-header{
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  border-bottom: 0px solid #fff;
  padding-bottom: 30px;
}


/* ==========================================================================
   3. Site header (booking info, app links, phones row)
   ========================================================================== */

.header {
  background-color: #155585;
  color: #fff;
}

.header  .custom-booking {
  font-size: 14px;
  font-weight: bold;
  padding-top: 10px;
}

.header .custom-booking .booking-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 0;

  background-image: none;
}

.header .custom-booking .booking-title:before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;

  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -18px -18px;
}

.header .custom-booking .booking-skype {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -16px -52px;
}

.header  .custom-booking a{
  display: inline-block;
  padding: 7px;
  color: #fff;
}

.header  .custom-booking a:hover{
  color: #f8c301;
}

.header  .custom-apps {
  position: relative;
  z-index: 100;
}

.header  .custom-apps p a{
  display: inline-block;
  padding: 5px;
  width: 45px;
  height: 45px;
  color: transparent;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  position: absolute;
}

.header  .custom-apps a.ios-app{
  background-position: -18px -126px;
  top: 1px;
}

.header  .custom-apps a.android-app{
  background-position: -90px -126px;
  top: 1px;
  left: 70px;
}

.phones-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}


/* ==========================================================================
   4. Top menu / navbar
   ========================================================================== */

.top-menu {
  background-color: #fff;
}

.top-menu .nav.menu > li  > a {
  width: 95px;
  text-align: center;
  color: #333;
  text-shadow: none;
  padding: 10px;
  padding-top: 14px;
  margin: 0;
}

.top-menu .nav.menu > li  > a:before {
  content: '';
  display: block;
  height: 50px;
  background-image: url(../images/icons.png);
  transition: all 0.4s;
}

.top-menu .item-101 a:before {
  background-position: 15px -210px;
}

.top-menu .item-102 a:before {
  background-position: -80px -210px;
}

.top-menu .item-103 a:before {
  background-position: -168px -210px;
}

.top-menu .item-104 a:before {
  background-position: -256px -210px;
}

.top-menu .item-105 a:before {
  background-position: -350px -210px;
}

.top-menu .item-106 a:before {
  background-position: -442px -210px;
}

.top-menu .nav.menu > li:hover > a:before {
  background-position-y: -261px;
}

.top-menu .nav.menu > li > a.logo {
  background-color: #fff !important;
  background-image: url(../images/logo_new.png) !important;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  color: transparent !important;
  width: 230px;
  aspect-ratio: 692 / 300;
  height: auto;

  padding: 0 !important;
  display: block;
}

.top-menu .nav.menu > li  > a.logo:before {
  content: '';
  opacity: 0;
}

.top-menu .navbar {
  margin: 0;
}

.top-menu .navbar-inner {
  background-color: transparent;
  background-image: none;
  border: 0px solid #fff;
  border-radius: 0;
  box-shadow: none;
  min-height: 40px;
  padding-left: 0;
  padding-right: 0;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus,  .navbar .nav > li > a:hover{
  background-color: #fff;
  color: #155585;
  border-radius: 0;
  box-shadow: none;
}

.top-menu .navbar .nav > li:hover ul.dropdown-menu {
  display: block;
}

.top-menu .dropdown-menu {
  border-radius: 0;
  margin: 0;
}

.top-menu .dropdown-menu a{
  padding: 7px 20px;
}

.top-menu .dropdown-menu .active>a, .dropdown-menu .active>a:hover, .dropdown-menu li>a:hover  {
  background-color: #14559f;
  background-image: none;
}

.top-menu .caret {
  border-top: 4px solid #fff;
}

.top-menu .navbar .nav.menu {
  float: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}


/* ==========================================================================
   5. Section: main banner
   ========================================================================== */

.module-main-banner {
  background-image: url(../images/main-banner-bg.png);
  background-size: cover;
  min-height: 500px;
  font-size: 30px;
  line-height: 30px;
  position: relative;
  z-index: 50;
}

.module-main-banner:before {
  content: '';
  display: block;
  width: 700px;
  height: 630px;
  position: absolute;
  left: 0;
  bottom: -80px;
  background-image: url(../images/main-banner-auto.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.module-main-banner  .span6 {
  padding: 20px 0 20px 0;
  color: #fff;
  position: relative;
  z-index: 10;
}

.module-main-banner .span6   p strong{
  color: #155585;
}

.module-main-banner a.button-large {
  display: block;
  text-align: center;
  padding: 20px;
  background-color: #155585;
  color: #f8c301;
}

.module-main-banner a.button-large:hover {
  color: #fff;
}


/* ==========================================================================
   6. Section: privilege
   ========================================================================== */

.module-privilege {
  background-color: #f8c301;
  padding-top: 90px;
  padding-bottom: 130px;
}

/*
.module-privilege h3 {
  padding-bottom: 210px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: 0 -810px;
  text-align: center;
}
*/

.module-privilege .time h3 {
  background-position: 42px -810px;
}

.module-privilege .price  h3{
  background-position: -282px -810px;
}

.module-privilege .clients h3 {
  background-position: -590px -810px;
}


/* ==========================================================================
   7. Section: news
   ========================================================================== */

.module-news{
  padding-top: 30px;
  padding-bottom: 150px;
  position: relative;
  z-index: 50;
  background-color: #e1e1e1;
  background-image: url(../images/news-bg.png);
  background-position: left bottom;
  background-repeat: no-repeat;
}

.module-news:before {
  content: '';
  display: block;
  height: 130px;
  position: absolute;
  top: -124px;
  left: 0;
  right: 0;
  background-image: url(../images/news-line-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.module-news .page-header {
  color: #155585;
  position: relative;
}

.module-news .page-header:before {
  content: '';
  display: block;
  width: 152px;
  height: 152px;
  position: absolute;
  top: -150px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -15px -662px;
}

.module-news .news-item {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.module-news .news-item .readmore {
  display: block;
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.module-news .newsflash-date {
  float: right;
  padding-top: 10px;
  color: #555555;
}


/* ==========================================================================
   8. Section: about
   ========================================================================== */

.module-about {
  padding-top: 50px;
  padding-bottom: 100px;
  z-index: 60;
  position: relative;
  background: url(../images/about-bg-2.png) no-repeat right top;
}

.module-about:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  top: -18px;
  width: 500px;
  background: url(../images/about-bg-1.png) no-repeat left bottom;
}

.module-about:before {
  content: '';
  display: block;
  height: 130px;
  position: absolute;
  top: -124px;
  left: 0;
  right: 0;
  background-image: url(../images/about-line-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.module-about .container {
  position: relative;
  z-index: 10;
}

.module-about  .page-header {
  color: #155585;
  position: relative;
}

.module-about  .page-header:before {
  content: '';
  display: block;
  width: 152px;
  height: 152px;
  position: absolute;
  top: -150px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -180px -654px;
}


/* ==========================================================================
   9. Section: tariffs
   ========================================================================== */

.module-tariffs {
  padding-top: 50px;
  padding-bottom: 150px;
  color: #fff;
  background-color: #155585;
  position: relative;
  z-index: 70;
  font-weight: bold;
}

.module-tariffs:after{
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  top: 160px;
  width: 490px;
  height: 330px;
  background-image: url(../images/tariffs-bg.png);
  background-repeat: no-repeat;
}

.module-tariffs:before {
  content: '';
  display: block;
  height: 130px;
  position: absolute;
  top: -124px;
  left: 0;
  right: 0;
  background-image: url(../images/tariffs-line-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.module-tariffs .container {
  position: relative;
  z-index: 10;
}

.module-tariffs   .page-header {
  position: relative;
  margin-bottom: 50px;
}

.module-tariffs  .page-header:before {
  content: '';
  display: block;
  width: 152px;
  height: 152px;
  position: absolute;
  top: -170px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -354px -658px;
}

.module-tariffs .quote {
  margin-top: 50px;
  margin-left: 60px;
  padding-left: 20px;
  border-left: 2px solid #58c3fb;
  color: #58c3fb;
  position: relative;
}

.module-tariffs .quote:before {
  content: '"';
  display: block;
  position: absolute;
  top: 30px;
  left: -50px;
  font-size: 100px;
}


/* ==========================================================================
   10. Section: parking
   ========================================================================== */

.module-parking {
  padding-top: 50px;
  padding-bottom: 100px;
  position: relative;
  background-color: #afb0b4;
  color: #fff;
  z-index: 80;
  background-image: url(../images/parking-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
}

.module-parking:before {
  content: '';
  display: block;
  height: 130px;
  position: absolute;
  top: -124px;
  left: 0;
  right: 0;
  background-image: url(../images/parking-line-bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.module-parking .container {
  position: relative;
  z-index: 10;
}

.module-parking strong{
  color: #333;
}

.module-parking  .page-header {
  color: #fff;
  padding-left: 320px;
  position: relative;
}

.module-parking  .page-header:before {
  content: '';
  display: block;
  width: 152px;
  height: 152px;
  position: absolute;
  top: -170px;
  left: 0;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -524px -658px;
}


/* ==========================================================================
   11. Section: contacts
   ========================================================================== */

.module-contacts {
  padding-top: 60px;
  padding-bottom: 50px;
  background-color: #555152;
  color: #fff;
  z-index: 90;
  border-top: 8px solid #f8c301;
  position: relative;
}

.module-contacts .page-header {
  color: #fff;
  padding-right: 320px;
  position: relative;
}

.module-contacts  .page-header:before {
  content: '';
  display: block;
  width: 152px;
  height: 152px;
  position: absolute;
  top: -115px;
  left: 0;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -692px -658px;
}

.custom-contacts {
  font-size: 18px;
  font-weight: bold;
  line-height: 20px;
  color: #b2b2b2;
}

.custom-contacts a{
  color: #b2b2b2;
}

.custom-contacts p {
  padding-left: 60px;
  position: relative;
  margin-bottom: 20px;
  color: #fff;
}

.custom-contacts p:before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 30px;
  position: absolute;
  left: 0;
  top: -3px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
  background-position: -320px -340px;
}

.custom-contacts p.contacts-location:before {
  background-position: 0 -340px;
}

.custom-contacts p.contacts-skype:before {
  background-position: -60px -340px;
}

.custom-contacts p.contacts-phone:before {
  background-position: -120px -340px;
}

.custom-contacts p.contacts-viber:before {
  background-position: -180px -340px;
}

.custom-contacts p.contacts-mobile:before {
  background-position: -240px -340px;
}

.custom-contacts p a:hover {
  color: #f8c301;
}


/* ==========================================================================
   12. Section: footer
   ========================================================================== */

.module-footer {
  padding-top: 24px;
  padding-bottom: 24px;
  background-color: #434248;
  color: #828284;
  border-top: 3px solid #fff;
  font-size: 16px;
  font-weight: bold;
}

.module-footer p {
  margin-bottom: 0;
}

.module-footer a.footer-android-app, .module-footer a.footer-ios-app {
  display: inline-block;
  color: transparent;
  width: 240px;
  height: 75px;
  background-image: url(../images/icons.png);
  background-repeat: no-repeat;
}

.module-footer a.footer-android-app {
  background-position: -20px -498px;
}

.module-footer a.footer-ios-app {
  background-position: -262px -498px;
}


/* ==========================================================================
   13. Breadcrumb
   ========================================================================== */

.breadcrumb .divider.icon-location {
  display: none;
}


/* ==========================================================================
   14. Content area
   ========================================================================== */

.content {
  overflow: hidden;
}

.content .module  {
  margin: 5px;
}

.content .content-right>div, .content .content-main>div {
  margin-right: 5px;
}

.content .content-left>div, .content .content-main>div {
  margin-left: 5px;
}

.item-page, .blog {
  margin-bottom: 80px;
}


/* ==========================================================================
   15. Contacts page
   ========================================================================== */

.contact-page h3 {
  display: none;
}


/* ==========================================================================
   16. News / blog
   ========================================================================== */

.blog .pull-left.item-image {
  display: none;
}


/* ==========================================================================
   17. Comments
   ========================================================================== */

#comments-form {
  margin-bottom: 50px;
}

#comments-form span {
  display: block;
  padding: 3px;
}

#comments-form textarea, #comments-form .grippie {
  max-width: 100% !important;
  width: 100% !important;
}

#comments-footer {
  display: none;
  opacity: 0;
}


/* ==========================================================================
   18. Buttons
   ========================================================================== */

.btn{
  padding: 5px 15px;
  border-radius: 0;
}

.btn.btn-primary{
  background-color: #09407f;
  background-image: none;
  transition: all 0.3s;
}

.btn.btn-primary:hover{
  background-color: #347ed2;
}


/* ==========================================================================
   19. System message
   ========================================================================== */

#system-message .alert{
  margin-top: 20px;
}


/* ==========================================================================
   20. Content component: price list
   ========================================================================== */

.city-list {
  list-style: none;
  margin: 0 0 10px 0;
}

.price-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.price-column {
  flex: 1 1 260px;
  background: #155585;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
}

.price-column h3 {
  margin: 0 0 16px;
  color: #f8c301;
  text-align: center;
  font-size: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 16px;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row strong {
  color: #f8c301;
  white-space: nowrap;
}


/* ==========================================================================
   21. Content component: sanavto info & routes
   ========================================================================== */

.sanavto-info {
  margin: 30px 0;
  font-family: Arial, sans-serif;
}

.sanavto-info-title {
  text-align: center;
  margin: 0 0 20px;
  color: #155585;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.sanavto-routes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.sanavto-route {
  position: relative;
  background: #155585;
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px 14px 42px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  box-sizing: border-box;
}

.sanavto-route:before {
  content: "📍";
  position: absolute;
  left: 16px;
  top: 13px;
}

.sanavto-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sanavto-info-card {
  background: #f5f7fa;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  border-left: 5px solid #155585;
}

.sanavto-info-card h3 {
  margin: 0 0 16px;
  color: #155585;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.sanavto-info-card p {
  margin: 0 0 12px;
  color: #333333;
  font-size: 16px;
  line-height: 1.55;
}

.sanavto-info-card p:last-child {
  margin-bottom: 0;
}

.sanavto-info-card-warning {
  border-left-color: #f8c301;
}

@media (max-width: 900px) {
  .sanavto-routes {
    grid-template-columns: 1fr;
  }

  .sanavto-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sanavto-info-title {
    font-size: 24px;
  }

  .sanavto-route {
    font-size: 15px;
  }

  .sanavto-info-card {
    padding: 18px;
  }
}


/* ==========================================================================
   22. Content component: sanavto stops
   ========================================================================== */

.sanavto-stops {
  margin: 30px 0;
  font-family: Arial, sans-serif;
}

.sanavto-stops-title {
  text-align: center;
  margin: 0 0 20px;
  color: #155585;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.sanavto-stops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sanavto-stop-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px 18px 54px;
  box-sizing: border-box;
  border: 1px solid #e4e8ee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sanavto-stop-card:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 16px;
  height: 16px;
  background: #f8c301;
  border: 5px solid #155585;
  border-radius: 50%;
  box-sizing: border-box;
}

.sanavto-stop-city {
  margin-bottom: 8px;
  color: #155585;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.sanavto-stop-address {
  margin-bottom: 5px;
  color: #222222;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.sanavto-stop-note {
  color: #666666;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .sanavto-stops-grid {
    grid-template-columns: 1fr;
  }

  .sanavto-stops-title {
    font-size: 24px;
  }

  .sanavto-stop-card {
    padding: 16px 18px 16px 50px;
  }

  .sanavto-stop-city {
    font-size: 18px;
  }
}


/* ==========================================================================
   23. Content component: sanavto about
   ========================================================================== */

.sanavto-about {
  margin: 30px 0;
  font-family: Arial, sans-serif;
}

.sanavto-about-header {
  text-align: center;
  margin-bottom: 26px;
}

.sanavto-about-header h2 {
  margin: 0 0 10px;
  color: #155585;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.sanavto-about-header p {
  max-width: 720px;
  margin: 0 auto;
  color: #444444;
  font-size: 16px;
  line-height: 1.55;
}

.sanavto-about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sanavto-about-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #e4e8ee;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sanavto-about-main {
  grid-column: span 3;
  background: #155585;
  border-color: #155585;
}

.sanavto-about-card h3 {
  margin: 0 0 16px;
  color: #155585;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.sanavto-about-card p {
  margin: 0 0 12px;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
}

.sanavto-about-card p:last-child {
  margin-bottom: 0;
}

.sanavto-about-main h3 {
  color: #f8c301;
  text-align: center;
}

.sanavto-about-main p {
  color: #ffffff;
}

.sanavto-about-footer {
  margin-top: 22px;
  padding: 18px 20px;
  background: #f8c301;
  color: #155585;
  border-radius: 16px;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .sanavto-about-content {
    grid-template-columns: 1fr;
  }

  .sanavto-about-main {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .sanavto-about-header h2 {
    font-size: 24px;
  }

  .sanavto-about-header p {
    font-size: 16px;
  }

  .sanavto-about-card {
    padding: 18px;
  }

  .sanavto-about-footer {
    font-size: 18px;
  }
}


/* ==========================================================================
   24. Content component: sanavto booking
   ========================================================================== */

.sanavto-booking {
  background: linear-gradient(135deg, #155585 0%, #0f3f66 100%);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  text-align: center;
  box-sizing: border-box;
}

.sanavto-booking-title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.sanavto-booking-cities {
  max-width: 420px;
  margin: 0 auto 22px;
  color: #f8c301;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
}

.sanavto-booking-divider {
  display: inline-block;
  width: 54px;
  height: 4px;
  margin-bottom: 22px;
  background: #ffffff;
  border-radius: 10px;
}

.sanavto-booking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sanavto-booking-list li {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.sanavto-booking-list li:last-child {
  margin-bottom: 0;
}

.sanavto-booking-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #f8c301;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sanavto-booking-phone:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #f8c301;
  text-decoration: none;
  transform: translateY(-1px);
}

.sanavto-booking-phone img {
  display: inline-block;
  flex: 0 0 auto;
}

.sanavto-booking-phone span {
  display: inline-block;
}

@media (max-width: 767px) {
  .sanavto-booking {
    padding: 24px 18px;
  }

  .sanavto-booking-phone {
    font-size: 18px;
    padding: 12px 14px;
  }

  .sanavto-booking-cities {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .sanavto-booking-phone {
    font-size: 16px;
    gap: 10px;
  }

  .sanavto-booking-phone img {
    width: 24px;
    height: 24px;
  }
}


/* ==========================================================================
   25. Content component: sanavto contacts
   ========================================================================== */

.sanavto-contacts-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.sanavto-contacts-card {
  padding: 0;
  box-sizing: border-box;
  color: #ffffff;
}

.sanavto-contact-address {
  margin-bottom: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sanavto-contact-label {
  margin-bottom: 8px;
  color: #f8c301;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.sanavto-contact-text {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.sanavto-contact-text span {
  color: #d8d8d8;
  font-size: 14px;
  font-weight: 400;
}

.sanavto-contact-phones {
  display: grid;
  gap: 8px;
}

.sanavto-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}

.sanavto-contact-phone:hover {
  color: #f8c301;
  text-decoration: none;
}

.sanavto-contact-phone img {
  display: inline-block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.sanavto-contact-phone span {
  display: inline-block;
}

.sanavto-social {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sanavto-social-label {
  margin-bottom: 10px;
  color: #f8c301;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.sanavto-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sanavto-social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sanavto-social-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.sanavto-social-links a img {
  display: block;
  width: 100%;
  height: 100%;
}

.sanavto-map-card {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
}

.sanavto-map-card iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 767px) {
  .sanavto-contacts-card {
    margin-bottom: 20px;
  }

  .sanavto-contact-phone {
    font-size: 16px;
  }

  .sanavto-contact-phone img {
    width: 24px;
    height: 24px;
  }

  .sanavto-map-card iframe {
    height: 280px;
  }
}


/* ==========================================================================
   26. Content component: routes list
   ========================================================================== */

.routes-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}

.routes-column {
  flex: 1 1 260px;
  background: #155585;
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
}

.routes-column h3 {
  margin: 0 0 16px;
  color: #f8c301;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.route-row {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.route-row:before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  background: #f8c301;
  border-radius: 50%;
}

.route-row:last-child {
  border-bottom: none;
}

@media (max-width: 767px) {
  .routes-title {
    font-size: 24px;
  }

  .route-row {
    font-size: 15px;
  }
}


/* ==========================================================================
   27. Content component: routes simple list
   ========================================================================== */

.routes-simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  align-items: start;
  gap: 16px;
  max-width: 900px;
  margin: 20px auto 24px;
}

.routes-simple-column {
  display: grid;
  gap: 14px;
}

.routes-simple-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  background: #155585;
  border-radius: 16px;
  padding: 16px 18px;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

.routes-simple-card strong {
  color: #f8c301;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  justify-self: center;
}

.route-city {
  display: block;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}

.route-city-left {
  text-align: left;
}

.route-city-right {
  text-align: right;
}

.routes-button-wrap {
  text-align: center;
  margin: 20px 0 30px;
}

.routes-tariffs-button {
  display: inline-block;
  padding: 15px 30px;
  background: #155585;
  color: #f8c301;
  border-radius: 14px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.routes-tariffs-button:hover {
  background: #0f3f66;
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .routes-simple-list {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .routes-simple-card {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
    padding: 14px 16px;
    font-size: 18px;
    gap: 6px;
  }

  .routes-simple-card strong {
    font-size: 18px;
  }

  .routes-tariffs-button {
    width: 100%;
    max-width: 420px;
    padding: 14px 18px;
    box-sizing: border-box;
    font-size: 18px;
  }
}


/* ==========================================================================
   28. Content component: tariffs board
   ========================================================================== */

.tariffs-board {
  margin: 30px 0;
  font-family: Arial, sans-serif;
}

.tariffs-section {
  margin-bottom: 32px;
}

.tariffs-section:last-child {
  margin-bottom: 0;
}

.tariffs-section h2 {
  margin: 0 0 20px;
  color: #155585;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.tariffs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

.tariff-card {
  flex: 1 1 320px;
  max-width: 390px;
  background: #155585;
  border-radius: 18px;
  padding: 20px;
  box-sizing: border-box;
  color: #ffffff;
}

.tariff-card h3 {
  margin: 0 0 16px;
  color: #f8c301;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

.tariff-times {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.tariff-times-title {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
}

.tariff-time-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.tariff-time {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f8c301;
  color: #155585;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.tariff-price-list {
  display: grid;
}

.tariff-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.tariff-price-row:last-child {
  border-bottom: none;
}

.tariff-price-row span {
  min-width: 0;
}

.tariff-price-row strong {
  color: #f8c301;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .tariffs-section {
    margin-bottom: 32px;
  }

  .tariffs-section h2 {
    font-size: 24px;
  }

  .tariffs-grid {
    gap: 16px;
  }

  .tariff-card {
    flex-basis: 100%;
    max-width: none;
    padding: 18px;
  }

  .tariff-card h3 {
    font-size: 18px;
  }

  .tariff-price-row {
    font-size: 15px;
  }

  .tariff-price-row strong {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .tariff-price-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 4px;
  }

  .tariff-time {
    font-size: 14px;
    padding: 5px 8px;
  }
}


/* ==========================================================================
   29. Responsive / mobile adaptation
   --------------------------------------------------------------------------
   Overrides the fixed desktop layout for tablets and phones. The desktop
   layout (>= 1200px) is left untouched; each breakpoint below only relaxes
   the rules that would otherwise force horizontal scrolling or overlap.
   NOTE: the template's index.php must include
   <meta name="viewport" content="width=device-width, initial-scale=1">
   for these media queries to take effect on real devices.
   ========================================================================== */

/* Make any in-content image scale down instead of overflowing */
img {
  max-width: 100%;
  height: auto;
}


/* ----- Laptops / small desktops: drop the hard minimum width and the
   fixed-pixel Bootstrap grid that would otherwise overflow the viewport ----- */
@media (max-width: 1359px) {
  html, body {
    min-width: 0;
    overflow-x: hidden;
  }

  .container,
  .container-fluid {
    width: auto;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* Neutralise Bootstrap's negative row gutter (it shifts content off-centre) */
  .row,
  .row-fluid {
    margin-left: 0;
    width: 100%;
  }

  /* Stack the fixed-width Bootstrap columns into a single fluid column */
  .row [class*="span"],
  .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }
}


/* ----- Tablets and below: unpin header, wrap the menu ----- */
@media (max-width: 991px) {
  /* Header flows with the page instead of being fixed on top */
  .fixed-top {
    position: static;
    height: auto;
    box-shadow: none;
  }

  .offset-top {
    display: none;
  }

  /* Hide the top blue phone strip on mobile — the numbers are repeated in the
     booking and contacts sections below */
  .header {
    display: none;
  }

  /* Top menu wraps into a centered grid with the logo on its own row */
  .top-menu .navbar .nav.menu {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 0 12px;
  }

  /* Drop the sprite icons on mobile and present a clean, centred text menu
     with pill-style items, like a conventional site navigation */
  .top-menu .nav.menu > li > a:before {
    display: none;
  }

  .top-menu .nav.menu > li > a {
    width: auto;
    height: auto;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #155585;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .top-menu .nav.menu > li > a:hover,
  .top-menu .nav.menu > li.active > a {
    background-color: #f8c301;
    color: #155585;
  }

  /* The logo lives in an <li>, so move/centre the list item (order on the
     inner <a> has no effect — the flex items are the list items) */
  .top-menu .nav.menu > li:has(> a.logo) {
    order: -1;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .top-menu .nav.menu > li > a.logo {
    width: 200px;
    margin: 6px 0;
  }

  /* Main banner: drop the oversized car artwork, center the text */
  .module-main-banner {
    min-height: 0;
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
  }

  .module-main-banner:before {
    display: none;
  }

  .module-main-banner .span6 {
    padding: 30px 15px;
  }

  /* Hide the large decorative section icons, side artwork and the negatively
     positioned "wave" separators that hang 124px above each section and would
     otherwise overlap the buttons/text of the section above on mobile */
  .module-news .page-header:before,
  .module-about .page-header:before,
  .module-tariffs .page-header:before,
  .module-parking .page-header:before,
  .module-contacts .page-header:before,
  .module-about:after,
  .module-tariffs:after,
  .module-news:before,
  .module-about:before,
  .module-tariffs:before,
  .module-parking:before {
    display: none;
  }

  /* Drop the decorative pencil/eraser artwork behind the "About" section */
  .module-about {
    background-image: none;
  }

  /* Section headers no longer reserve space for the removed icons */
  .module-parking .page-header {
    padding-left: 0;
  }

  .module-contacts .page-header {
    padding-right: 0;
  }

  div[class^="module"] .page-header {
    font-size: 24px;
    padding-bottom: 20px;
  }

  /* Even vertical rhythm: the desktop sections rely on huge bottom padding to
     host the wave separators; with those hidden, give every section the same
     comfortable spacing so there are no empty bands between them */
  .module-privilege,
  .module-news,
  .module-about,
  .module-tariffs,
  .module-parking,
  .module-contacts {
    padding-top: 40px;
    padding-bottom: 48px;
  }

}


/* ----- Phones: tighten vertical spacing across all sections ----- */
@media (max-width: 767px) {
  .module-privilege,
  .module-news,
  .module-about,
  .module-tariffs,
  .module-parking,
  .module-contacts {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .item-page,
  .blog {
    margin-bottom: 40px;
  }

  .module-tariffs .quote {
    margin-left: 0;
  }

  .content .module {
    margin: 5px 0;
  }
}


/* ----- Small phones: shrink the icon menu and footer store badges ----- */
@media (max-width: 480px) {
  .top-menu .nav.menu > li > a {
    font-size: 14px;
    padding: 8px 14px;
  }

  .module-footer a.footer-android-app,
  .module-footer a.footer-ios-app {
    display: block;
    margin: 0 auto 10px;
  }

  .custom-contacts p {
    font-size: 16px;
  }
}


/* ==========================================================================
   30. Polish: hover feedback and unified buttons
   ========================================================================== */

/* Cards lift gently on hover for a tactile, interactive feel (no-op on touch) */
.price-column,
.routes-column,
.tariff-card,
.sanavto-info-card,
.sanavto-about-card,
.sanavto-stop-card,
.routes-simple-card,
.module-news .news-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-column:hover,
.routes-column:hover,
.tariff-card:hover,
.sanavto-info-card:hover,
.sanavto-about-card:hover,
.sanavto-stop-card:hover,
.routes-simple-card:hover,
.module-news .news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

/* One consistent button shape, motion and hover across the whole site */
.routes-tariffs-button,
.module-main-banner a.button-large,
.btn.btn-primary {
  border-radius: 14px;
  transition: background-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.routes-tariffs-button:hover,
.module-main-banner a.button-large:hover,
.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Remove only the mobile tap highlight; keep the focus outline for a11y */
* {
  -webkit-tap-highlight-color: transparent;
}
