/* Self-hosted Google fonts (OFL), cyrillic + latin subsets only (Bulgarian text + digits, €, „“ and –).
   NB Wide = Roboto Flex at width 125 (the file keeps its width axis: font-stretch 125% in the @font-face pins every use to it), in place of the template's Zalando Sans SemiExpanded,
   which has no Cyrillic. Inter in place of Public Sans (no Cyrillic either). */
/* NB Wide cyrillic */
@font-face {
  font-family: 'NB Wide';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 125%;
  font-display: swap;
  src: url(/assets/gl/fonts/roboto-flex-wide-cyrillic-400-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* NB Wide latin */
@font-face {
  font-family: 'NB Wide';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 125%;
  font-display: swap;
  src: url(/assets/gl/fonts/roboto-flex-wide-latin-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/gl/fonts/inter-cyrillic-400-600.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Inter latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/gl/fonts/inter-latin-400-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- palette.css */
/* Нира-Бус on Movro: the template's navy and white stay; the logo blue is the accent.
   Blue #0E91CE (measured on the logo): white text on it is 3.5:1 (large text only), navy #020A15 on it 5.6:1;
   on white, text links use the darker #0072AD (5.2:1). */
:root {
  --nb-blue: #0e91ce;
  --nb-blue-text: #0072ad;
  --nb-blue-soft: #e6f4fb;
  --nb-ink: #020a15;
  --nb-navy: #061d3e;
  --nb-head: "NB Wide", Arial, sans-serif;
  --nb-sans: Inter, Arial, sans-serif;
}

/* ---- base.css */
/* Нира-Бус demo: site-wide layer on top of the Movro stylesheet (which the build gives our fonts). Desktop ranges
   start at 991.02px / 767.02px / 479.02px, not 992px: a zoomed screen can be 991.5 CSS px wide, where neither the
   template's max-width: 991px nor a 992px rule would apply. */

/* ---------------------------------------------------------------- basics */
.sk-nowrap, .nb-nw { white-space: nowrap; }
.sk-skip { position: absolute; left: 12px; top: -60px; z-index: 10000; padding: 10px 16px; border-radius: 4px; background: var(--nb-ink); color: #fff; font: 600 15px/1.2 var(--nb-sans); text-decoration: none; transition: top .15s; }
.sk-skip:focus-visible { top: 12px; }
:focus-visible { outline: 2px solid var(--nb-blue); outline-offset: 3px; }
.nb-main { display: block; }
.nb-main:focus { outline: none; }
.nb-accent { color: var(--nb-blue); }
/* the template's section headings, now h2s (lib.mjs finalize): its h2 tag rules (margins, font, colour) stay off them,
   so they look as the <div>s did. h2:where() weighs the same as those tag rules and comes later; the classes still win. */
h2:where(.nb-h) { margin-top: 0; margin-bottom: 0; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit; }
/* text links in running copy */
.nb-link { color: var(--nb-blue-text); text-decoration: underline; text-underline-offset: 3px; }
.nb-link:hover { color: var(--nb-ink); }
/* the phone and e-mail in running text (lib.mjs linkContacts): the text's own colour, so they read on light and dark */
.nb-autolink { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nb-autolink:hover { text-decoration-thickness: 2px; }
/* the first screen shows at once, with a short rise (a fade would hold back the page's largest paint) */
@keyframes nb-rise { from { transform: translateY(22px); } to { transform: none; } }
.nb-enter { animation: nb-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--nb-d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .nb-enter { animation: none; }
  /* the marquees stand still for visitors who turned motion off */
  .logo-marque-list { transform: none !important; animation: none !important; }
}
/* template <button>s that were <div>s: no browser button look */
button.hamburger-menu-mobile, button.sidebar-toggle, button.sidebar-drawer-close { font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
button.sidebar-toggle { background: none; border: 0; padding: 0; }
button.sidebar-drawer-close { border: 0; padding: 0; }
.nb-video-photo { overflow: hidden; }
.nb-video-photo > img, .nb-video-photo > video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the clip over its photo: it fades in once it plays (site.js), so there is never a black box */
.nb-video-photo { position: relative; }
.nb-video-photo > video.nb-bg-video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.nb-video-photo > video.nb-bg-video.nb-playing { opacity: 1; }

/* ---------------------------------------------------------------- header (Movro's white bar) */
.main-header-one .nb-logo.logo-icon { width: auto; height: 17px; max-height: none; }
a.nav-link-phone { text-decoration: none; color: inherit; }
a.nav-link-phone:hover .text-phone { color: var(--nb-blue-text); }
.nb-icon-phone { display: inline-flex; width: 19px; height: 19px; color: var(--nb-ink); }
.nb-icon-phone svg { width: 19px; height: 19px; }
.menu-item-link.w--current, .menu-item-link.nb-current { color: var(--nb-ink); }
.mobile-item-menu.nb-current { color: var(--_colors---theme-color--heading); }
@media screen and (max-width: 1199px) and (min-width: 991.02px) {
  .nb-phone-label { display: none; }
}
/* BG/EN switcher: a pill in the white bar from 992 up (the bar itself is only a logo and the
   hamburger below that), and in the phone menu with the other contacts */
.nb-lang { display: inline-flex; flex: none; align-items: center; gap: 2px; margin-right: 26px; padding: 3px; border: 1px solid rgba(2, 10, 21, .16); border-radius: 999px; }
.nb-lang-link { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; border-radius: 999px; color: rgba(2, 10, 21, .6); font: 600 13px/1 var(--nb-head); letter-spacing: .06em; text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.nb-lang-link:hover { color: var(--nb-ink); }
.nb-lang-link.nb-on, .nb-lang-link.nb-on:hover { background-color: var(--nb-ink); color: #fff; }
@media screen and (min-width: 991.02px) and (max-width: 1199.98px) { .nb-lang { margin-right: 18px; } }
.nb-lang.nb-lang-menu { display: none; justify-self: start; }
@media screen and (max-width: 991px) {
  .main-header-one .nb-lang { display: none; }
  .nb-lang.nb-lang-menu { display: inline-flex; margin-right: 0; }
  /* 44 px tap areas, as everywhere else on phones */
  .nb-lang-menu .nb-lang-link { min-width: 46px; height: 38px; }
}
/* phone menu: the dark logo, then the contacts and the quote button under the links */
.mobile-navigation-panel .nb-logo.mobile-logo { width: auto; height: 18px; max-height: none; }
.nb-mobile-contacts { display: grid; gap: 14px; margin-top: 26px; }
.nb-mobile-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--nb-ink); font: 600 17px/1.3 var(--nb-head); text-decoration: none; }
.nb-mobile-phone svg { width: 18px; height: 18px; color: var(--nb-blue-text); }
.nb-mobile-cta.button { width: 100%; }
/* contacts drawer */
.sidebar-drawer .nb-logo.logo-image { width: auto; height: 22px; }
.sidebar-drawer .phone-number a, .sidebar-drawer .email-link a { color: inherit; text-decoration: none; }
.sidebar-drawer .phone-number a:hover, .sidebar-drawer .email-link a:hover { color: var(--nb-blue-text); }
.sidebar-drawer .social-link-item { opacity: .55; color: var(--nb-ink); }
.sidebar-drawer .social-link-item:hover { opacity: 1; }
.sidebar-drawer .social-link-item svg { width: 22px; height: 22px; }
.nb-drawer-cta { margin-top: 28px; }
.nb-drawer-cta .button { background-color: var(--nb-ink); color: #fff; }

/* ---------------------------------------------------------------- footer */
.main-footer .nb-logo.logo-icon-two { width: auto; height: 22px; max-height: none; object-fit: contain; }
.nb-ficon { display: inline-flex; width: 22px; height: 22px; color: #fff; }
.nb-ficon svg { width: 22px; height: 22px; }
.main-footer .text-location a { color: inherit; text-decoration: none; }
.main-footer .text-location a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nb-footer-licence { max-width: 340px; color: rgba(255, 255, 255, .78); font: 500 15px/1.55 var(--nb-sans); }
/* the licence row: the template's payment row spread its two items to the edges, so the text lined up with no column;
   it now starts at the second link column. On phones both lines start at the left edge, like the rest of the footer */
.payment-methods-wrapper { justify-content: flex-start; align-items: baseline; }
.payment-methods-wrapper .text-payment { flex: 0 0 33.333%; max-width: none; padding-right: 20px; box-sizing: border-box; }
@media screen and (max-width: 767px) {
  .payment-methods-wrapper { align-items: flex-start; grid-row-gap: 10px; }
  .payment-methods-wrapper .text-payment { flex: none; padding-right: 0; }
  .nb-footer-licence { max-width: none; }
}
/* 992–1199: the brand column and the link columns touched (no gap in the template), so the address read on into
   „Контакти“ („за крайезерния път, Контакти“) */
@media screen and (min-width: 991.02px) { .footer-main-grid { column-gap: 48px; } }
@media screen and (min-width: 991.02px) and (max-width: 1199px) { .footer-link-column { max-width: 620px; } }
/* the big name under the footer: "Nirabus" is longer than the template's "movro" */
.text-giant-background { font-size: min(240px, 16.5vw); }
@media screen and (max-width: 991px) { .text-giant-background { font-size: 15.5vw; } }
/* inner-page h1s on the narrowest phones (320–359): glued groups („с 40 до 53 места“, „и конференции“) ran 3–4 px
   past the 290 px column; opening them instead left one word alone on the last line at every width */
@media screen and (max-width: 359.98px) { .heading-page-title { font-size: calc(var(--_typography---h2--font-size) * .94); } }
/* home h1 at 992–1009: „Автобусни превози“ needs ~745 px at 65 px but the column is 732–749 px, so it broke into
   4 lines there (3 from 1010 up) */
@media screen and (min-width: 991.02px) and (max-width: 1009.98px) { .heading-home { font-size: calc(var(--_typography---h1--font-size) * .965); } }

/* ---------------------------------------------------------------- phones: call bar (phone + quote) */
.nb-callbar { display: none; }
@media screen and (max-width: 991px) {
  .nb-callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 900; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 8px; background: rgba(2, 10, 21, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); transition: opacity .25s ease, visibility 0s linear 0s; }
  .nb-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 5px; font: 600 15px/1.1 var(--nb-head); text-decoration: none; }
  .nb-callbar-call { color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
  .nb-callbar-call svg { width: 18px; height: 18px; }
  .nb-callbar-quote { background: var(--nb-blue); color: var(--nb-ink); }
  .nb-callbar a { text-align: center; }
  .nb-callbar.nb-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
  /* 320–359 px: „Поискайте оферта“ stays on one line */
  @media (max-width: 359.98px) { .nb-callbar a { gap: 6px; font-size: 14px; } .nb-callbar-call svg { width: 16px; height: 16px; } }
  /* room for it under the footer's last line */
  .main-footer-content-bottom { padding-bottom: 76px; }
  /* a link reached with Tab is scrolled to just above the bar, not under it (19 stops on the home page were covered) */
  html { scroll-padding-bottom: 88px; }
}

/* ---------------------------------------------------------------- scrolling never stops
   The template holds the page while cards slide sideways (home services) and while the testimonials stack (sticky):
   both are normal sections here, as Movro itself lays them out below 992px. */
.services-carousel { position: static; height: auto; padding-right: max(15px, 50% - 657px); }
.services-carousel-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; margin: 0; transform: none !important; }
.services-carousel-item { width: 100%; padding: 0; }
@media screen and (max-width: 991px) { .services-carousel-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media screen and (max-width: 479px) { .services-carousel-list { grid-template-columns: 1fr; } }
.testimonial-section { position: relative; overflow: hidden; }
.testimonial-section .bgr-review { position: absolute; inset: 0; height: 100%; }
.testimonial-section .overlay-bgr-review { position: absolute; inset: 0; height: auto; margin-top: 0; }
.testimonial-section .sticky-testimonial { position: relative; height: auto; margin-top: 0; padding: 140px 0; }
@media screen and (max-width: 767px) { .testimonial-section .sticky-testimonial { padding: 90px 0; } }
/* Both sections also kept the template's 300vh height on desktop (the length of the held scroll): 1,450 px of blank
   grey after the service cards and 1,700 px of bare photo after the licences. The licence cards also stayed in the
   template's 700 px box that slides them up with the scroll (IX3 moves .reviews-list-wrapper), so two never showed. */
.services-home-section { height: auto; padding-bottom: 150px; }
@media screen and (max-width: 991px) { .services-home-section { padding-bottom: 90px; } }
.testimonial-section { height: auto; }
.testimonial-section .testimonial-reviews-right { height: auto; overflow: visible; }
.testimonial-section .reviews-list-wrapper, .testimonial-section .review-card { transform: none !important; translate: none !important; scale: none !important; }
/* the grid's own 120 px top padding came on top of the section's 90–140 px: a pale, empty band of 210–260 px above
   „Лицензи“ on phones and tablets */
.testimonial-section .testimonial-layout-grid { padding-top: 0; }
/* desktop: the four cards 2 × 2. From 1280 px beside the heading, centred on the cards; at 992–1279 under it (beside
   one column of four cards, 900–1,050 px of bare photo stood under the heading; beside 2 × 2 at 1200–1279 the cards
   were 242–265 px of text wide and broke „Лиценз / за международен / …“). The heading was meant to travel
   along with the cards (sticky), but that never worked: the section clips its photo with overflow:hidden, which makes
   it the sticky's scroll box; with overflow:clip the travelling text ended over the photo's dark posts. */
@media screen and (min-width: 991.02px) {
  .testimonial-section .reviews-list-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .testimonial-section .review-card { height: 100%; }
  /* footers on one line across a row (the Германия card's sat 30 px higher than its neighbour's) */
  .testimonial-section .nb-licence { display: flex; flex-direction: column; }
  .testimonial-section .nb-licence .quote-wrap { flex: 1 1 auto; display: flex; flex-direction: column; }
  .testimonial-section .nb-licence .card-footer { margin-top: auto; }
}
@media screen and (min-width: 991.02px) and (max-width: 1279.98px) {
  .testimonial-section .testimonial-layout-grid { flex-flow: column; row-gap: 60px; }
  .testimonial-section .testimonial-reviews-right { max-width: 100%; }
  /* two lines, „Лицензиран превозвач / в България и ЕС“: from ~1160 px the first line also took „в България“ and left
     „и ЕС“ alone */
  .testimonial-section .testimonial-intro-left .heading-style-h2 { max-width: 900px; }
}
@media screen and (min-width: 1279.02px) {
  .testimonial-section .testimonial-layout-grid { align-items: center; }
  .testimonial-section .testimonial-reviews-right { max-width: min(760px, 58%); }
  /* „Лицензиран превозвач в България и ЕС“: at 55 px „в България и ЕС“ (497 px) does not fit the 490–495 px column,
     so „и ЕС“ stood alone on a fourth line; at 50 px it is three lines */
  .testimonial-section .testimonial-intro-left .heading-style-h2 { font-size: 50px; }
  /* the card texts get 285–302 px (was 265–282): at 20 px „Регистрация“ stood alone on the first line of three cards
     („като автобусен“ is glued) and the licence text broke into five short lines */
  .testimonial-section .nb-licence { padding-left: 24px; padding-right: 24px; }
  .testimonial-section .nb-licence .quote-wrap { padding-left: 22px; }
  .testimonial-section .nb-licence .quote-text { font-size: 18px; }
}
/* the licence number above its grey line at every width, as the template stacks it on phones (side by side, the grey
   line ran to the card's edge and „Лиценз / на Общността / № 0654“ broke into three short lines) */
.testimonial-section .card-footer { flex-flow: column; align-items: flex-start; grid-row-gap: 5px; }
.testimonial-section .divider-author { display: none; }
/* tablets: every card full width (the template's align-items:center shrank the two short ones to their text) */
@media screen and (max-width: 991px) { .testimonial-section .reviews-list-wrapper { align-items: stretch; } }

/* ---------------------------------------------------------------- the coach cut-outs */
.nb-cut { object-fit: contain; }
/* the services page "why us" cards slide sideways with the scroll in the template (part of them off screen at any
   moment): a 2 × 2 grid here, as Movro itself lays them out below 992px */
.values-track, .careers-benefit-card, .benefit-grid { transform: none !important; translate: none !important; }
.careers-benefit-card { width: 100%; max-width: 1200px; padding-left: 15px; padding-right: 15px; }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; }
.benefit-grid-item { width: auto; }
@media screen and (max-width: 767px) { .benefit-grid { grid-template-columns: 1fr; } }
/* 992–1199: the six menu items and the phone number did not fit side by side („Контакти“ ran into the phone icon) */
@media (min-width: 991.02px) and (max-width: 1199.98px) {
  .primary-menu { padding-left: 4%; }
  .primary-menu-item { margin-right: 22px; }
  .nav-link-phone { margin-right: 30px; }
}

/* ---------------------------------------------------------------- phones: 44 px tap areas
   Invisible hit areas around the small links and the slider arrows (the layout does not move). The arrows clip their
   content in the template; nothing in them reaches past their box. */
@media screen and (max-width: 991px) {
  a.site-logo, a.site-logo-link, a.brand-logo, a.breadcrumb-link, a.car-name, a.item-link-reserved, .contact-card a[href^="tel:"], .contact-card a[href^="mailto:"], .sidebar-drawer .phone-number a, .sidebar-drawer .email-link a, a.car-title-post, .contact-item a, .contact-item-one a, .contact-item-footer a, .main-footer-content-bottom a { position: relative; }
  .nb-mobile-phone { min-height: 44px; }
  .left-arrow-car, .right-arrow-car, .testimonial-left-arrow, .testimonial-right-arrow { overflow: visible; }
  a.site-logo::after, a.site-logo-link::after, a.brand-logo::after, a.breadcrumb-link::after, a.car-name::after, footer a.footer-link-item::after, a.item-link-reserved::after,
  .contact-card a[href^="tel:"]::after, .contact-card a[href^="mailto:"]::after, .sidebar-drawer .phone-number a::after, .sidebar-drawer .email-link a::after,
  a.car-title-post::after, .contact-item a::after, .contact-item-one a::after, .contact-item-footer a::after, .main-footer-content-bottom a::after,
  .left-arrow-car::after, .right-arrow-car::after, .testimonial-left-arrow::after, .testimonial-right-arrow::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  .hamburger-menu-mobile::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  /* the phone number and e-mail inside sentences (lib.mjs linkContacts) and the service cards' „Научете повече“, shown
     on touch screens (the whole card opens its page too, base.js) */
  a.nb-autolink, a.button-learn-more { position: relative; }
  a.nb-autolink::after, a.button-learn-more::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  /* the Facebook icon in the contacts drawer (22 px) and on /kontakti: a 44 px square around it */
  .sidebar-drawer a.social-link-item, .social-icons-list a { position: relative; }
  .sidebar-drawer a.social-link-item::after, .social-icons-list a::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  /* coach pages: the five service links are 20 px lines 41 px apart; the rows get 4 px more room, so a 44 px area each
     does not reach the next one */
  .policy-grid { grid-row-gap: 19px; }
  .policy-text a.nb-link-plain { position: relative; }
  .policy-text a.nb-link-plain::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  /* /kontakti map pins (20 px dots): a round 44 px area (Тополи and Бургас are only 38 px apart at 320 px) */
  .nb-pin .map-in::after { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%); }
}

/* ---------------------------------------------------------------- keyboard: no invisible focus
   Reveal-on-scroll blocks start at opacity 0 (Webflow interaction, inline styles). Tab can scroll one only to the
   bottom edge of a phone screen, where its reveal has not started yet: the focused element stays invisible. */
[class*="fade-in-"]:focus-within, .fade-zoom-in:focus-within { opacity: 1 !important; transform: none !important; }

/* ---- pages.css */
/* Нира-Бус demo: page pieces that replace template content (brand tabs as words, places marquee, licence cards,
   static counters). Desktop ranges start at 991.02px / 767.02px / 479.02px (see base.css). */

/* ---------------------------------------------------------------- static counters (were odometer columns) */
.counter-number-wrap .nb-count { white-space: nowrap; line-height: 1; }
.counter-number-wrap { overflow: visible; }

/* ---------------------------------------------------------------- home: about block */
.nb-badge-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--nb-blue); color: var(--nb-ink); }
.nb-badge-icon svg { width: 22px; height: 22px; }
.trusted-badge .badge-text { max-width: 150px; }

/* ---------------------------------------------------------------- home: the showroom tabs are brand names */
.tab-car-header { flex-wrap: wrap; gap: 8px 10px; }
.tab-car-link { width: auto; height: auto; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .18); scale: 1; opacity: .55; transition: opacity .2s, border-color .2s, background-color .2s; }
.tab-car-link:hover { opacity: .85; }
.tab-car-link.w--current { opacity: 1; border-color: var(--nb-blue); background-color: rgba(14, 145, 206, .16); }
.nb-tab-brand { color: #fff; font: 600 15px/1.2 var(--nb-head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nb-cut-missing { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 260px; color: rgba(255, 255, 255, .25); }
.nb-cut-missing svg { width: 120px; height: 120px; }
/* 992–1279: the coach image kept its 600 px and the two glass cards shrank to 172 px („Вижте автобуса“ broke letter
   by letter, the spec icons collapsed to 0–4 px). The cards keep 270 px and the coach gives way; the spec card 286 px,
   or „Марка: Mercedes-Benz“ (one line) ran 12 px past its divider lines. */
.spec-item .icon-spec { flex: none; }
.showcase-content-grid .glass-card .button { white-space: nowrap; }
@media (min-width: 991.02px) and (max-width: 1279.98px) {
  .showcase-content-grid .glass-card { flex: 1 0 270px; min-width: 270px; }
  .showcase-content-grid .glass-card.is-right { flex-basis: 286px; min-width: 286px; }
  .showcase-content-grid .vehicle-image-wrapper { flex: 1 1 auto; min-width: 0; }
}

/* ---------------------------------------------------------------- home: services heading + the "anything else" card */
.services-carousel .nb-svc-heading { margin: 0 0 50px; }
/* 992–1199: the label column kept 543 px and the heading beside it fell into four 2-word lines („Превоз / с автобус /
   за всеки / повод“) */
@media screen and (min-width: 991.02px) and (max-width: 1199px) { .section-heading .sub-faq { max-width: 35%; } }
@media screen and (max-width: 991px) { .services-carousel .nb-svc-heading { margin-bottom: 20px; } }
/* the hover effect writes its colours inline (Webflow interaction): the dark card holds its own */
.nb-svc-cta .grid-inner { background-color: var(--nb-ink); }
.nb-svc-cta .service-title { color: #fff !important; }
.nb-svc-cta .service-description { color: rgba(255, 255, 255, .78) !important; }
.nb-svc-cta .text-btn-service { color: #fff !important; }
.nb-svc-cta .service-icon-wrap { background-color: var(--nb-blue) !important; }
/* service cards (home, /uslugi): „Научете повече“ only appears on mouse hover, so a keyboard user tabbed onto an
   invisible link. Focus inside a card now gives it the hover look (the interaction's inline styles need !important). */
.grid-inner:focus-within .service-content { transform: none !important; }
.grid-inner:focus-within .overlay-service-grid, .grid-inner:focus-within .button-learn-more { opacity: 1 !important; }
:not(.nb-svc-cta) > .grid-inner:focus-within .service-icon-wrap { background-color: #fff !important; }
:not(.nb-svc-cta) > .grid-inner:focus-within .service-title { color: #fff !important; }
:not(.nb-svc-cta) > .grid-inner:focus-within .service-description { color: rgba(255, 255, 255, .7) !important; }
/* the whole card opens its page (base.js); the phone link in „Друг превоз“ stays its own link */
.grid-inner .nb-autolink { position: relative; z-index: 3; }
/* touch screens have no hover: „Научете повече“ was invisible (opacity 0, pushed under the card's edge) and the first
   tap only turned the card dark. There the card keeps its light look with the link shown under the text. */
@media (hover: none) {
  .grid-inner .service-content { transform: none !important; }
  .grid-inner .button-learn-more { opacity: 1 !important; }
  :not(.nb-svc-cta) > .grid-inner .overlay-service-grid { opacity: 0 !important; }
  :not(.nb-svc-cta) > .grid-inner .service-icon-wrap { background-color: #f5f5f5 !important; }
  :not(.nb-svc-cta) > .grid-inner .service-title { color: var(--_colors---theme-color--heading) !important; }
  :not(.nb-svc-cta) > .grid-inner .service-description { color: var(--_colors---theme-color--body) !important; }
  :not(.nb-svc-cta) > .grid-inner .text-btn-service { color: var(--_colors---theme-color--heading) !important; }
  :not(.nb-svc-cta) > .grid-inner .icon-arrow-service { filter: invert(1) !important; }
}

/* ---------------------------------------------------------------- home: hero + how to order */
/* phones: the round „Поискайте оферта“ sat right on the photo's coach; the call bar under it has the same button.
   Its room stays (without it the hero got shorter and the coach slid up behind the text). */
@media screen and (max-width: 767px) { .page-title-home .btn-hero { visibility: hidden; } }
/* the template's 50 % navy veil over the forest photo lay under our photo (the photo box is positioned, the template's
   video sat at z-index -100): the paragraph and the step titles were 2–3.6:1 on the treetops */
.process-rental-section .bgr-overlay-rental { z-index: 1; }
.process-rental-section .text-size-process { color: rgba(255, 255, 255, .86); }
@media screen and (max-width: 991px) { .process-step-card { background-color: rgba(2, 10, 21, .42); } }
/* 992–1199: the 622 px step list left the heading 280 px, and „поръчате“ broke inside the word */
@media screen and (min-width: 991.02px) and (max-width: 1199px) { .process-steps-left { max-width: 50%; } }

/* ---------------------------------------------------------------- home: why us without a top-down coach */
/* home why us: the drawn top-view coach (static/img/coach-top.svg) travels down the centre like the template's car */
img.car-image-top-down.nb-coach-top { object-fit: contain; }

/* ---------------------------------------------------------------- licence cards (the template's review cards) */
.nb-licence .author-avatar-review { display: flex; align-items: center; justify-content: center; background: var(--nb-blue-soft); color: var(--nb-blue-text); }
.nb-licence-icon { display: flex; width: 30px; height: 30px; }
.nb-licence-icon svg { width: 30px; height: 30px; }
.nb-licence .author-name { font-weight: 600; }

/* ---------------------------------------------------------------- places marquee (was client logos) */
.nb-place { display: flex; align-items: center; gap: 80px; flex: none; }
/* 3.3:1 on white: large text (24 px and up at every width) */
.nb-place-text { color: rgba(2, 10, 21, .46); font: 600 34px/1.1 var(--nb-head); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.nb-place-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nb-blue); }
/* the home band is dark (it held the template's white client logos): light names there, about 5:1 */
.section-marque-home .nb-place-text { color: rgba(255, 255, 255, .5); }
@media screen and (max-width: 767px) {
  .nb-place { gap: 40px; }
  .nb-place-text { font-size: 24px; }
}
@media screen and (max-width: 479px) {
  .nb-place { gap: 30px; }
}

/* ---------------------------------------------------------------- questions: contact card icons + links */
.nb-faq-icon { display: inline-flex; width: 24px; height: 24px; color: #fff; }
.nb-faq-icon svg { width: 24px; height: 24px; }
.contact-faq-text a { color: inherit; text-decoration: none; }
.contact-faq-text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.accordion-content-inner a { color: var(--nb-blue-text); }
.accordion-header[role="button"] { cursor: pointer; }
/* the contact card's glass button sat on the light sand at the bottom of the photo (3.8–4.3:1): a dark fill, the
   template's white hover stays */
.content-contact a.button:not(:hover) { background-color: rgba(2, 10, 21, .5); }

/* ---------------------------------------------------------------- fleet */
/* the template slides its step cards sideways with the scroll (a held row): a plain grid of four here */
.process-grid.nb-steps-4 { position: static; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1374px; margin: 0 auto; padding: 0 15px; transform: none !important; translate: none !important; }
.process-grid.nb-steps-4 .step-card-item { width: auto; padding: 40px 30px; }
@media screen and (max-width: 1199px) and (min-width: 991.02px) { .process-grid.nb-steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 991px) { .process-grid.nb-steps-4 { grid-template-columns: 1fr 1fr; } .process-grid.nb-steps-4 .step-card-item { padding: 30px 20px; } }
@media screen and (max-width: 479px) { .process-grid.nb-steps-4 { grid-template-columns: 1fr; } }
.nb-sample-note { max-width: 760px; margin: 40px auto 0; padding: 0 15px; color: var(--_colors---theme-color--body, rgba(2, 10, 21, .7)); font: 400 14px/1.55 var(--nb-sans); text-align: center; }
.nb-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-hero-tags > span { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 500 14px/1.2 var(--nb-sans); }
.nb-on-request.total-amount { font-size: 28px; line-height: 1.2; }
.nb-link-plain { color: inherit; text-decoration: none; }
.nb-link-plain:hover { color: var(--nb-blue-text); text-decoration: underline; text-underline-offset: 3px; }
.nb-wide-photo { position: relative; width: 100%; height: 100%; overflow: hidden; }
a.book-button { text-decoration: none; }
/* the seat badge on the coach cards: „МЕСТА“ was 11 px */
.price-period-text { font-size: 12px; }
a.sidebar-booking, a.book-button { cursor: pointer; }

/* ---------------------------------------------------------------- contacts: base card, map, places, quote request */
.locations-section .icon-box .nb-loc-icon, .icon-box-one .nb-contact-icon, .phone-icon-wrapper .nb-tip-icon { display: flex; width: 19px; height: 19px; }
.nb-loc-icon svg, .nb-contact-icon svg, .nb-tip-icon svg { width: 100%; height: 100%; }
.nb-loc-icon { color: #fff; }
.nb-contact-icon, .nb-tip-icon { color: var(--nb-ink); }
.location-card .text-value a, .contact-item-one .text-value-one a, .map-tooltip .text-phone-number a { color: inherit; text-decoration: none; }
.location-card .text-value a:hover, .contact-item-one .text-value-one a:hover, .map-tooltip .text-phone-number a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* the map: our landscape Bulgaria in the template's portrait slot; pins sit on their coordinates (% of the map) */
.locations-section .map-wrapper-right { justify-content: center; }
.maps-contact.nb-map { display: block; width: 100%; max-width: 640px; }
.nb-map .nb-map-image { display: block; width: 100%; height: auto; object-fit: contain; }
.nb-pin { z-index: 2; transform: translate(-50%, -50%); }
.nb-pin.nb-open { z-index: 6; }
.nb-pin .map-in { padding: 0; border: 0; color: inherit; font: inherit; }
.nb-pin .map-in:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.nb-pin-label { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font: 600 13px/1 var(--nb-sans); letter-spacing: .02em; white-space: nowrap; text-shadow: 0 1px 3px rgba(2, 10, 21, .9); pointer-events: none; }
.nb-open-left .nb-pin-label { right: calc(100% + 10px); }
.nb-open-down .nb-pin-label { left: calc(100% + 10px); }
/* the tooltip opens on click or Enter (site.js); the template's interaction writes its opacity inline */
.nb-pin .map-tooltip { visibility: hidden; opacity: 0 !important; transform: translateY(10px) !important; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.nb-pin.nb-open .map-tooltip { visibility: visible; opacity: 1 !important; transform: none !important; transition: opacity .3s ease, transform .3s ease, visibility 0s; pointer-events: auto; }
.nb-pin .tooltip-header { margin-bottom: 8px; }
.nb-pin .text-city-name { text-transform: none; }
.nb-open-left .map-tooltip { left: auto; right: -51px; }
.nb-open-left .tooltip-tail { left: auto; right: 43px; }
/* the pin at the top edge (mid-map): its card opens downwards, centred on the pin */
.nb-open-down .map-tooltip { top: 45px; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -10px) !important; }
.nb-open-down.nb-open .map-tooltip { transform: translate(-50%, 0) !important; }
.nb-open-down .tooltip-tail { top: -15px; bottom: auto; left: calc(50% - 18px); border-top: 0; border-bottom: 30px solid #f5f5f5; }
@media screen and (max-width: 479px) {
  .locations-section .map-wrapper-right { padding-left: 0; align-items: center; }
  .nb-pin .map-tooltip { min-width: 230px; }
  .nb-pin-label { font-size: 12px; }
}

/* the places marquee: every copy holds the same list and moves by its own width (seamless at any font size) */
.nb-text-marque .text-marque-list { animation: nb-marquee 60s linear infinite; }
.nb-text-marque .title-marque { white-space: nowrap; }
@keyframes nb-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 35px)); } }

/* contacts: the three lines are one heading */
.nb-contact-heading { margin: 0; font-size: inherit; line-height: inherit; font-weight: inherit; }
.nb-contact-heading .heading-contact { display: block; }
.contact-section .social-link { width: 40px; height: 40px; margin: -10px; color: rgba(255, 255, 255, .78); }
.contact-section .social-link:hover { color: #fff; }
.contact-section .social-link .icon-social-link, .contact-section .social-link svg { width: 20px; height: 20px; }

/* the quote request: labels above the fields */
.contact-form-right .title-form { margin: 0; }
.nb-quote-form .label-form { display: block; margin: 0; text-transform: none; }
.nb-req { margin-left: 2px; color: #b3261e; }
.nb-quote-form .f1_textfield { width: 100%; height: 52px; min-height: 52px; margin-bottom: 26px; border-radius: 0; background-color: transparent; color: var(--nb-ink); font: 400 16px/1.5 var(--nb-sans); }
.nb-quote-form .f1_textfield:focus { border-bottom-color: var(--nb-blue); }
.nb-quote-form .f1_textfield::placeholder, .nb-quote-form .nb-textarea::placeholder { color: rgba(2, 10, 21, .55); text-transform: none; }
.nb-select { -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23020a15' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center / 14px 14px; }
.nb-quote-form .nb-textarea { width: 100%; height: 120px; min-height: 120px; margin-bottom: 18px; resize: vertical; background-color: transparent; color: var(--nb-ink); font: 400 16px/1.5 var(--nb-sans); }
.nb-form-note { margin: 0 0 26px; color: rgba(2, 10, 21, .7); font: 400 14px/1.5 var(--nb-sans); }
.nb-quote-form .form-button-submit-one { cursor: pointer; }
.nb-quote-form .form-button-submit-one:focus-visible + .button-one { outline: 2px solid var(--nb-blue); outline-offset: 3px; }
.contact-form-right .w-form-done, .contact-form-right .w-form-fail { padding: 30px; text-align: left; font: 400 16px/1.6 var(--nb-sans); border-radius: 0; }
/* the phone in both boxes: white and underlined on the navy (the site's link ink was 1.2:1 there, i.e. invisible) */
.contact-form-right .w-form-done a, .contact-form-right .w-form-fail a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* the boxes take focus from site.js only to be read out; like .nb-main, no ring */
.contact-form-right .w-form-done:focus, .contact-form-right .w-form-fail:focus { outline: none; }
/* the failure reads as an error at a glance (it was the success box's twin): a red edge and an alert sign */
.contact-form-right .w-form-fail { border-left: 4px solid #ff7a7a; }
.contact-form-right .w-form-fail::before { content: ""; float: left; width: 22px; height: 22px; margin: 2px 12px 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23ff7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") no-repeat center / 22px 22px; }
.contact-form-right .w-form-fail::after { content: ""; display: table; clear: both; }
.contact-form-right .w-form-fail .nb-fail-why { display: flow-root; }
/* sending: the visible button (a transparent <input> lies on top of it) dims and shows the wait text (site.js) */
.nb-quote-form[data-sending] .button-one { opacity: .7; }
.nb-quote-form[data-sending] .form-button-submit-one { cursor: progress; }
/* sent, 1200+ (the card stands beside the contacts column and keeps its height): the thanks in the middle of the
   card instead of at the top of ~700 px of empty white */
.contact-form-right:has(.nb-sent) { display: flex; flex-direction: column; justify-content: center; }
/* 992–1199: the two-column field rows were too narrow („Изберете услу…“, „Mercedes-Benz T…“): the card stacks there,
   as on tablets */
@media screen and (min-width: 991.02px) and (max-width: 1199.98px) { .contact-grid { flex-flow: column; } .contact-info-left { max-width: 100%; } }
/* „Какво следва“ under the social row: our 11-field form left the left column ~250 px short of the form (1200+), so
   the block sits at the foot of the column, level with the form's end */
.nb-next { display: none; }
@media screen and (min-width: 1199.02px) {
  .contact-info-left { display: flex; flex-direction: column; }
  .nb-next { display: block; margin-top: auto; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .15); }
  .contact-info-left .social-follow-group { margin-bottom: 40px; }
  /* with the block the column ran 29 px past the form (the card grew, white strip under the button): a shorter top spacer */
  .contact-info-left > .space-80px { padding-top: 48px; }
}
.nb-next-title { margin: 0 0 18px; font-size: inherit; line-height: inherit; }
.nb-next-list { margin: 0; padding: 0; list-style: none; display: grid; row-gap: 14px; }
.nb-next-list li { color: rgba(255, 255, 255, .75); font: 400 15px/1.55 var(--nb-sans); }
.nb-next-list strong { color: #fff; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .nb-pin .map-tooltip { transition: none; transform: none !important; }
  .nb-open-down .map-tooltip, .nb-open-down.nb-open .map-tooltip { transform: translateX(-50%) !important; }
  .nb-pin .map-in-line { width: 100% !important; height: 100% !important; }
  .nb-text-marque .text-marque-list { animation: none; }
}

/* sample coaches: the cut-out stands on a light studio floor on its own page. It sits at the foot of the box, on its
   shadow (centred, the wide cut-outs floated 34–78 px above it), and from 768 px the box's top 150 px stay free for
   the seat badge (30 px from the top, 110 px tall), which covered the coaches' roofs and windscreens. Phones have no
   room for both: the badge goes there (the hero tags say the seats). */
img.main-image.nb-cut { box-sizing: border-box; padding: 7% 6% 34px; object-position: 50% 100%; background: radial-gradient(42% 7% at 50% calc(100% - 34px), rgba(2, 10, 21, .22), transparent 72%), linear-gradient(180deg, #f4f6f9 0%, #e8ecf1 64%, #dce1e8 100%); }
@media screen and (min-width: 767.02px) { img.main-image.nb-cut { padding-top: 150px; } }
@media screen and (max-width: 767px) { .car-image .price-per-day { display: none; } }
/* 992–1199: the photo box kept its fixed 562 px while the column narrowed to 370–402 px, so the coach sat small at the
   foot of a tall, mostly empty box: there the box takes the picture's own height (badge zone + coach + floor; a fixed
   5:6 ratio grew taller than 562 px from ~1090 px and left even more air above the coach) */
@media screen and (min-width: 991.02px) and (max-width: 1199.98px) { .car-detail-section .car-image { height: auto; aspect-ratio: auto; } .car-detail-section img.main-image.nb-cut { height: auto; } }
/* „В автобуса“: four amenities in the template's three columns left „Микрофон за екскурзовод“ alone on a second row */
@media screen and (min-width: 991.02px) { .insurance-banner .insurance-grid { grid-template-columns: repeat(4, 1fr); } }
@media screen and (min-width: 767.02px) and (max-width: 991px) { .insurance-banner .insurance-grid { grid-template-columns: repeat(2, 1fr); } }
/* „Защо Нира-Бус“ header: at 768–830 the heading and its description touched on one line (no gap in the template);
   a gap alone squeezed the heading until „Нира-Бус“ broke at its hyphen, so it stacks up to 991 as below 768 */
.features-area .features-header { column-gap: 40px; }
@media screen and (max-width: 991px) { .features-area .features-header { flex-direction: column; row-gap: 20px; } }
/* coach heroes at 992–1199: the h1 box kept 772 px for short names, so the intro and the breadcrumb were squeezed into
   190–222 px (the intro sat on the breadcrumb, which broke into three lines) */
@media screen and (min-width: 991.02px) and (max-width: 1199.98px) { .page-title-car .blog-hero-wrapper._01 { flex: 1 0 340px; row-gap: 24px; } }
/* the price row: „Поискайте оферта“ was squeezed to two lines (206 × 85) beside the price note; the note wraps instead */
.booking-row .total-group { gap: 20px; }
/* centred only in the row layout: on phones (a column) the button sat centred under left-aligned text */
@media screen and (min-width: 479.02px) { .booking-row .total-group { align-items: center; } }
.booking-row .total-inner { min-width: 0; }
.booking-row .total-group > a { flex-shrink: 0; }
.booking-row .site-button-book-car { white-space: nowrap; }
/* coach galleries below 992: the template's flex row kept each photo's own width, so the row ran past its column and
   the third photo was cut (VDL: 77 px at 768); on phones three photos 300 px tall each came before the name, specs
   and price: one row of three there too */
@media screen and (max-width: 991px) { .thumbnail-grid .thumb-wrap { flex: 1 1 0; min-width: 0; } }
@media screen and (max-width: 479px) {
  .thumbnail-grid { flex-flow: row; gap: 8px; }
  .thumbnail-grid .thumb-wrap { height: 104px; }
}
/* /avtopark: the template's 227 px spacer under the hero (14.19em) left the first screen empty below it */
.space-car { padding-top: 90px; }
@media screen and (max-width: 991px) { .space-car { padding-top: 70px; } }
@media screen and (max-width: 479px) { .space-car { padding-top: 50px; } }
/* /kak-da-poruchate on tablets and phones: the steps' vertical line (x = 75–90 px) ran through the label and the big
   heading above the first step; the heading block now covers it (the section's own grey) */
@media screen and (max-width: 991px) { .process-section .section-header-process { background-color: #f5f5f5; } }
/* „Превоз с автобус / в четири стъпки“ from 768 px (it broke „…в четири / стъпки“ at 1200+) */
@media screen and (min-width: 767.02px) { .nb-nw-wide { white-space: nowrap; } }
/* „поръчате превоз“ (home process heading) moves down as one block, so „превоз“ never stands alone after „Как да
   поръчате“; where the pair is wider than the box (phones under ~375 px, 992–1199) it breaks inside the block */
.nb-nw-proc { display: inline-block; }

/* home about: the coach peeks in from the right edge, front first, beside the heading and never over it or the text
   below (the template's car sat at a fixed 1110x370 that suits a sports car, not a coach) */
@media (min-width: 992px) {
  .about-home-section .about-top-row > .heading-wrap { flex: 0 0 62%; max-width: 860px; }
  .about-home-section img.image-car-about.nb-cut { top: 0; left: 0; width: auto; height: 100%; max-width: none; object-fit: contain; object-position: left center; }
}

/* footer call to action: the paragraph under the heading (lib.mjs moves it), on the bright part of the photo */
.booking-cta-section .nb-cta-text { max-width: 460px; margin-top: 24px; }
/* /za-nas licences: four slides in a no-wrap slider mask made the right column's minimum width 4 slides wide, which
   squeezed the photo column to a strip; the mask clips the slides anyway */
.nb-licences .testimonial-col-right { min-width: 0; }
/* the licence text ends in the glued „от Европейския съюз.“ (252 px at 23 px), but at 992–1009 the text column is only
   234–251 px: the box's side padding shrinks there (50/40 → 30/30) so the group fits without a lone „съюз.“ */
@media screen and (min-width: 991.02px) and (max-width: 1023.98px) { .nb-licences .review-box { padding-left: 30px; padding-right: 30px; } }
/* the photo column kept the template's 400–500 px minimum (it held a badge we removed): 155–220 px of white under
   the photo before „Лицензи“ */
@media screen and (max-width: 991px) { .nb-licences .testimonial-col-left { min-height: 0; } }
/* /za-nas coach slider on desktop: the template's mask runs 350–600 px past the screen edge and holds three cards (the
   third peeking in), and webflow.js pages by the mask. Built for its six slides; with four coaches the second page
   showed one card beside an empty gap, and the third coach was never fully on screen (keyboard focus landed on its
   off-screen links). Now the mask ends at the right margin (pages [1,2], [3,4]) and the next card still peeks in:
   the mask clips only on the left. */
@media screen and (min-width: 991.02px) {
  .car-collection-section { padding-right: max(15px, 50% - 657px); }
  .car-carousel { margin-right: 0; }
  .car-carousel-item { width: 50%; }
  .car-carousel-mask { overflow: visible; clip-path: inset(0 -100vw 0 0); }
}
/* the coach slider arrows: the template's 30 % white thin lines on navy were below 3:1 */
.left-arrow-car, .right-arrow-car { color: rgba(255, 255, 255, .7); }
.left-arrow-car:hover, .right-arrow-car:hover, .left-arrow-car:focus-visible, .right-arrow-car:focus-visible { color: #fff; }
/* /za-nas intro: the photo below is pulled 50 px up under the dark box. When the text column was the taller one
   (992–1279) its last lines sat on the photo; the padding keeps them at least 36 px above it */
@media screen and (min-width: 991.02px) {
  .about-section .about-col-left { padding-bottom: 86px; }
}
/* /za-nas timeline as a list (phones, tablets): the desktop zig-zag stacked as photo, text, text, photo, photo… so a
   reader could not tell which photo belongs to which year. Every year now reads photo → year → text (the photo is in
   .top-slot in all four items, the spacers and the year badge stay between) */
@media screen and (max-width: 991px) {
  .timeline-item > .top-slot { order: -1; }
  .timeline-item > .bottom-slot { order: 1; }
}
/* /za-nas timeline on desktop: the template gives each year 400 px in a 1200 px box and slides the rest in with a
   round arrow (a div, not a button), so „Днес“ stayed hidden until clicked and keyboard users never reached it. Four
   years fit side by side: they share the width and the arrows go */
@media screen and (min-width: 991.02px) {
  .timeline-inner { width: 100%; column-gap: 30px; }
  .timeline-slide-item { flex: 1 1 0; width: auto; min-width: 0; padding-left: 0; padding-right: 0; }
  .timeline-item > .top-slot { width: 100%; max-width: 282px; }
  .timeline-image { width: 100%; }
  /* the years sit on the line in one row: the items start together and both slots are as tall as a photo (centred,
     items of different heights made a staircase across the line at 992–1099) */
  .timeline-inner { align-items: flex-start; }
  .timeline-item > :first-child, .timeline-item > :last-child { min-height: 181px; }
  .timeline-item > .bottom-slot:first-child { display: flex; flex-direction: column; justify-content: flex-end; }
  .right-arrow-timeline, .left-arrow-timeline, .right-arrow-hiden, .left-arrow-hiden { display: none; }
}
/* /avtopark cards, two to a row: the Bulgarian spec labels („Микрофон за екскурзовод“, „Багажно отделение“) ran into
   the next icon in the template's two narrow columns; one spec per line there */
@media (min-width: 991.02px) and (max-width: 1439.98px) {
  .vehicle-card .specs-grid { grid-template-columns: 1fr; }
}
/* /avtopark cards at 992–1279: the right column is too narrow for „Туристически — Mercedes-Benz“ (the brand broke at its
   hyphen); the brand alone there */
@media (min-width: 991.02px) and (max-width: 1279.98px) {
  .vehicle-card .category-group > .category-tag:first-child, .vehicle-card .category-group > .divider-line-car { display: none; }
}
/* /kontakti: the field labels and the dark place-name strip were too faint (4.5:1 for small text, 3:1 for large) */
.contact-item .text-label { color: var(--_colors---theme-color--body); }
.nb-text-marque .title-marque { color: rgba(255, 255, 255, .4); }
/* /kontakti: the big „Контакти“ title (60 px on phones) ran past the screen edge at 320–360 px */
@media screen and (max-width: 479px) { .text-section-title { font-size: min(60px, calc((100vw - 30px) / 5.8)); } }
/* inner page heroes (/uslugi/<slug>, /avtopark, /kak-da-poruchate, /vaprosi, /kontakti): the coach cut-out stands whole
   in the right column above the breadcrumb (lib.mjs innerHero moves it there). The template's car ran 434 px off the
   right edge, so only the back of the coach showed, and the breadcrumb sat on its wheels. */
.nb-hero-col { flex-flow: column; grid-row-gap: 24px; }
.nb-hero-col img.nb-hero-coach { position: static; inset: auto; width: 100%; max-width: 560px; height: auto; aspect-ratio: 2373 / 725; object-fit: contain; }
/* desktop: the column keeps at least 290 px (a one-line heading such as „Как да поръчате автобус“ took all but 184 px
   of the row at 1024) with 40 px of air on the heading's side; more would push „Летищни трансфери“ onto 3 lines */
@media screen and (min-width: 991.02px) {
  .nb-hero-col { flex: 1 0 290px; justify-content: space-between; padding-left: 40px; }
}
@media screen and (max-width: 991px) {
  .nb-hero-col { align-items: flex-start; }
  .nb-hero-col img.nb-hero-coach { order: 2; align-self: flex-end; max-width: 480px; }
}
@media screen and (max-width: 767px) {
  .nb-hero-col img.nb-hero-coach { align-self: stretch; max-width: none; }
}
/* breadcrumbs: the current page moves to its own line as a whole instead of breaking inside itself („Летищни /
   трансфери“); on the photo heroes (/za-nas, /uslugi) a darker backing keeps it readable over the coach and the verge */
.breadcrumb-page-title { flex-wrap: wrap; }
.breadcrumb-current { white-space: nowrap; }
.nb-crumb { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; }
.page-title-service .breadcrumb-page-title { background-color: rgba(2, 10, 21, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.page-title-service .breadcrumb-link { color: rgba(255, 255, 255, .8); }
@media screen and (max-width: 1199px) { .breadcrumb-page-title { padding: 10px 20px; } }
@media screen and (max-width: 767px) { .breadcrumb-page-title { padding: 10px 16px; } }
/* square icon boxes beside text: a wrapping line (the address) squeezed its box, e.g. 41 px beside 68 px ones in the
   questions blocks' contact card, 41 beside 46 on /kontakti, 37 beside 68 in the footer at 1024 */
.contact-faq-item > .contact-icon, .contact-item-one > .icon-box-one, .icon-location-inner, .step-icon-wrap { flex-shrink: 0; }
/* /uslugi „Защо Нира-Бус“: the template's icons are 54–72 px drawings; ours stood at 24 px in the cards' empty left half */
.benefit-grid-item .icon-benefit { height: auto; }
.benefit-grid-item .icon-benefit svg { width: 48px; height: 48px; }
/* /avtopark: the line under the hero that says the cards show some of the 15 coaches */
.nb-fleet-intro { max-width: 640px; margin: 0 auto 60px; padding: 0 15px; color: var(--_colors---theme-color--body, rgba(2, 10, 21, .7)); font: 400 18px/1.6 var(--nb-sans); text-align: center; }
@media screen and (max-width: 767px) { .nb-fleet-intro { margin-bottom: 40px; font-size: 16px; } }
/* the shared „Готови за път?“ block on phones: the photo's walking man and the coach windows sat right inside the
   paragraph (dark grey on a washed-out photo); a light veil from the left keeps the text on a calm ground */
@media screen and (max-width: 767px) {
  .booking-cta-section .overlay-footer { background-image: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 58%, rgba(255, 255, 255, .28) 100%), linear-gradient(#ffffff1a, #ffffffb3); }
}
/* /uslugi service cards: „Събития и конференции“ is the only two-line title, so its row of titles and texts stood
   uneven; every title box is two lines tall with the text at its foot, so the texts line up */
@media screen and (min-width: 767.02px) {
  .services-grid-inner .service-title { display: flex; flex-flow: column; justify-content: flex-end; min-height: 2lh; }
}
/* photo heroes on phones: a page can crop its photo differently (lib.mjs photoHero phonePosition); the inline
   object-position is the desktop crop */
@media screen and (max-width: 767px) {
  .page-title-service img.image-service-page-title[style*="--nb-pos-phone"] { object-position: var(--nb-pos-phone) !important; }
  .page-title-home img.image-home[style*="--nb-pos-phone"] { object-position: var(--nb-pos-phone) !important; }
}

/* home brand tabs below 992: the glass card kept a 300 px minimum with the button pushed to its foot (130–230 px of
   empty glass under one line of text) */
@media screen and (max-width: 991px) { .luxury-fleet-section .glass-card.is-left { min-height: 0; justify-content: flex-start; row-gap: 30px; } }

/* ---------------------------------------------------------------- /avtopark: the photo gallery
   (scripts/gallery.py writes the markup, site.js opens a photo full size). The columns keep every
   photo in its own shape — portrait and landscape side by side, nothing cropped or stretched. */
.nb-gallery-section { padding: 110px 0 30px; }
.nb-gallery-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.nb-gallery-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--nb-blue-text); font: 600 14px/1.2 var(--nb-head); letter-spacing: .08em; text-transform: uppercase; }
.nb-gallery-line { display: block; width: 34px; height: 1px; background: currentColor; opacity: .55; }
.nb-gallery-title { margin: 0; color: var(--nb-ink); }
.nb-gallery-intro { margin: 18px 0 0; color: rgba(2, 10, 21, .66); font: 400 17px/1.6 var(--nb-sans); }
/* Justified rows: every photo keeps its own shape. Each tile starts at its aspect ratio times the
   row height and grows by the same ratio, so the tiles of a row end up exactly as tall as each
   other and none is cropped. --ar (the photo's width/height) is the only thing the markup sets;
   the row height stays here, where the media queries can reach it. */
.nb-gallery { display: flex; flex-wrap: wrap; gap: 16px; --row-h: 280px; }
.nb-gallery::after { content: ""; flex-grow: 1000000; }   /* the last row keeps its height */
.nb-gallery-item { flex: var(--ar) 1 calc(var(--ar) * var(--row-h)); aspect-ratio: var(--ar); margin: 0; padding: 0; border: 0; border-radius: 6px; background: none; cursor: zoom-in; overflow: hidden; }
.nb-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.nb-gallery-item:hover img, .nb-gallery-item:focus-visible img { transform: scale(1.04); }
@media screen and (max-width: 991px) {
  .nb-gallery-section { padding: 70px 0 10px; }
  .nb-gallery { --row-h: 210px; gap: 12px; }
  .nb-gallery-intro { font-size: 16px; }
}
@media screen and (max-width: 639px) { .nb-gallery { --row-h: 150px; gap: 8px; } }

/* the photo full size (site.js builds this, only after the first click) */
.nb-lightbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 26px; background: rgba(2, 10, 21, .93); opacity: 0; transition: opacity .2s ease; }
.nb-lightbox.nb-on { opacity: 1; }
.nb-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; }
.nb-lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.nb-lightbox button:hover { background: rgba(255, 255, 255, .26); }
.nb-lightbox button svg { width: 20px; height: 20px; }
.nb-lb-close { top: 20px; right: 20px; }
.nb-lb-prev { left: 20px; top: 50%; margin-top: -23px; }
.nb-lb-next { right: 20px; top: 50%; margin-top: -23px; }
@media screen and (max-width: 639px) {
  .nb-lightbox { padding: 16px; }
  .nb-lb-prev { left: 10px; }
  .nb-lb-next { right: 10px; }
  .nb-lb-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .nb-gallery-item img, .nb-lightbox { transition: none; } }

/* ---- real-fleet update (client photos, Nov 2026) ---- */
/* art-directed <picture> wrappers must not become layout boxes: the img stays a flex/absolute child */
.page-title-home > picture, .nb-hero-col > picture { display: contents; }
/* home hero: the Scania photo is bright behind the text column; darken the left side from tablets up */
@media screen and (min-width: 767.02px) {
  .page-title-home .overlay-home { background-image: linear-gradient(90deg, rgba(2, 10, 21, .6) 0%, rgba(2, 10, 21, .35) 32%, rgba(2, 10, 21, 0) 58%), linear-gradient(0deg, #020a1500 17.32%, #020a158c 76.03%); }
}
/* home hero: the round quote button gets its own dark glass, it sits over sky, mirror and windscreen */
.page-title-home .button-circle { background-color: rgba(2, 10, 21, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* home brand tabs: „Вижте автобусите“ fits the 270 px card without the outline spilling past the fill */
@media screen and (min-width: 991.02px) {
  .luxury-fleet-section .glass-card.is-left .site-button-inner { padding-left: 24px; padding-right: 24px; }
}
/* home „За нас“ side cut-out (3.27:1): keep the front wheel whole at 992–1099, and on very wide screens show the
   coach whole instead of shaving its rear overhang */
@media screen and (min-width: 991.02px) and (max-width: 1099.98px) { .about-home-section img.image-car-about.nb-cut { height: 85%; top: 7.5%; } }
@media screen and (min-width: 1760px) { .about-home-section img.image-car-about.nb-cut { height: 78%; top: 11%; } }
/* inner-page hero, desktop: the <picture> serves the 3/4 Scania for the narrow right column, centred in the free
   space above the breadcrumb and lined up with its right edge */
@media screen and (min-width: 991.02px) {
  .nb-hero-col img.nb-hero-coach { aspect-ratio: 1804 / 1345; max-width: 400px; margin-block: auto; align-self: flex-end; }
}
/* bus pages: the bottom photo keeps its own shape instead of a fixed 588/350 px frame (side views of a coach were
   cut down to a slab of white panels on phones) */
.car-detail-section .video-wrapper { min-height: 0; }
.car-detail-section .nb-wide-photo .image-video { height: auto; aspect-ratio: 43 / 20; }
/* /za-nas coach slider: the cards of a page share one height, picture and specs sit at the card foot */
.car-carousel .w-slider-mask { display: flex; }
.car-carousel .w-slide { flex: 0 0 auto; height: auto; }
.car-carousel .car-carousel-wrapper, .car-carousel .car-carousel-list, .car-carousel .car-item { height: 100%; }
.car-carousel .car-card { height: 100%; display: flex; flex-direction: column; }
.car-carousel .car-buttom { margin-top: auto; }
/* quote form: two narrow columns at 480–599 cut the bus and service names; stack them as on phones */
@media screen and (max-width: 599px) { .nb-quote-form .form-row { flex-direction: column; column-gap: 0; } }
/* fleet cards at 480–639 (two columns inside a card): the category strip can't wrap, drop its first tag as at 992–1279 */
@media screen and (min-width: 480px) and (max-width: 639.98px) {
  .vehicle-card .category-group > .category-tag:first-child, .vehicle-card .category-group > .divider-line-car { display: none; }
}
/* quote form: the server's own reason (rate limit, a bad date) above the generic failure line */
.w-form-fail .nb-fail-why { font-weight: 600; margin-bottom: 6px; }
