/* ============================================================
   MERCEDES-BENZ STUDIO PRAHA
   ============================================================

   OBSAH:
   01. Fonty (@font-face)
   02. CSS proměnné (:root)
   03. Reset & base
   04. Typografie
   05. Sekce (layout)
   06. Tlačítka
   07. Top bar
   08. Navbar
   09. Hero sekce
   10. Page banner
   11. Image placeholdery
   12. Karty (mb-card)
   13. Tabs / filtry
   14. Formuláře
   15. Footer
   16. Sdílené komponenty
   17. Accordion (FAQ)
   18. Info tabulka (detail akce)
   19. Termíny (detail akce)
   20. Modály
   21. Uživatelský profil
   22. Homepage specifické
   23. Program timeline (AMG)
   24. Vozy karty (AMG)
   25. Responsive
   ============================================================ */

/* ============================================================
   01. FONTY
   ============================================================ */
@font-face {
  font-family: "CorporateACon";
  src:
    url("../fonts/CorporateACon-Reg.woff") format("woff"),
    url("../fonts/CorporateACon-Reg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CorporateA";
  src:
    url("../fonts/CorporateA-Regular.woff") format("woff"),
    url("../fonts/CorporateA-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CorporateS";
  src:
    url("../fonts/CorporateS-Regular.woff") format("woff"),
    url("../fonts/CorporateS-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CorporateS";
  src:
    url("../fonts/CorporateS-Bold.woff") format("woff"),
    url("../fonts/CorporateS-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   02. CSS PROMĚNNÉ
   ============================================================ */
:root {
  --color-primary: #137ad3;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #999999;
  --color-bg: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-bg-dark: #000000;
  --color-border: #bbbbbb;

  --font-title: "CorporateACon", "CorporateA", serif;
  --font-body: "CorporateS", sans-serif;

  --fs-h1: 76px;
  --fs-h2: 64px;
  --fs-h3: 40px;
  --fs-h4: 28px;
  --fs-perex: 21px;
  --fs-body: 18px;
  --fs-small: 14px;
  --fs-nav: 16px;

  --lh-title: 1.1;
  --lh-body: 1.4;

  --section-py: 100px;
  --section-py-sm: 60px;

  --transition: all 0.3s ease;
}

/* ============================================================
   03. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ============================================================
   04. TYPOGRAFIE
   ============================================================ */
h1,
.h1 {
  font-family: var(--font-title);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: var(--lh-title);
  color: var(--color-black);
  margin-bottom: 1rem;
}
h2,
.h2 {
  font-family: var(--font-title);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-title);
  color: var(--color-black);
  margin-bottom: 1rem;
}
h3,
.h3 {
  font-family: var(--font-title);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: var(--lh-title);
  color: var(--color-black);
  margin-bottom: 1rem;
}
h4,
.h4 {
  font-family: var(--font-title);
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: var(--lh-title);
  color: var(--color-black);
  margin-bottom: 0.75rem;
}
p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin-bottom: 1rem;
}
.perex {
  font-size: var(--fs-perex);
  line-height: var(--lh-body);
}
.text-muted-custom {
  color: var(--color-text-light);
}
.section-number {
  font-family: var(--font-title);
  font-size: 80px;
  line-height: 1;
  color: var(--color-primary);
  display: block;
  margin-bottom: 8px;
}
.fontTitle {
  font-family: var(--font-title);
}

/* ============================================================
   05. SEKCE (LAYOUT)
   ============================================================ */
.section {
  padding: var(--section-py) 0;
}
.section-sm {
  padding: var(--section-py-sm) 0;
}
.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--color-white);
}
.section-light {
  background-color: var(--color-bg-light);
}

.section-white {
  background-color: var(--color-white);
}

/*
.mb-star-pattern {
  background-image: url(../img/layout/bg-intro-call.png);
  background-position: top right;
  background-repeat: no-repeat;
}*/

.mb-star-pattern {
  background-image: url(../img/layout/bg-intro-call.png);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 35%; /* desktop — zachová stávající vzhled */
}

@media (max-width: 991px) {
  .mb-star-pattern {
    background-size: 50%;
  }
}

@media (max-width: 575px) {
  .mb-star-pattern {
    background-size: 60%;
  }
}

/* ============================================================
   06. TLAČÍTKA
   ============================================================ */
.btn-mb-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  text-align: center;
}
.btn-mb-primary:hover {
  background-color: #0052a3;
  border-color: #0052a3;
}

.btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn205 {
  width: 205px;
}

.btn240 {
  width: 240px;
}

.btn-mb-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--color-primary) !important;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
}
.btn-mb-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
}

.btn-mb-outline-white {
  display: inline-block;
  background-color: transparent;
  color: var(--color-white) !important;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 2px solid var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
}
.btn-mb-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-black) !important;
}

/* ============================================================
   07. TOP BAR
   ============================================================ */

.navbar-subbrand {
  background-color: var(--color-white);
  /*border-bottom: 1px solid var(--color-border);*/

  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
}
.navbar-subbrand a {
  flex: 1; /* přesně rozdělí na 3 stejné části */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  padding: 0 24px;
  /*border-right: 1px solid var(--color-border);*/
  /*color: var(--color-text-light);*/
  min-height: 48px;
  font-size: var(--fs-nav);
}

.navbar-subbrand a.brandMenu {
  background-color: black;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-color 0.9s;
}

.navbar-subbrand a.brandMenu.active {
  background-color: White;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar-subbrand a.brandMenu1 {
  background-size: auto 20px; /* výška 22px, šířka automaticky */
}
.navbar-subbrand a.brandMenu2 {
  background-size: auto 10px; /* výška 22px, šířka automaticky */
}
.navbar-subbrand a.brandMenu3 {
  background-size: auto 9px; /* výška 22px, šířka automaticky */
}

@media (min-width: 768px) {
  .navbar-subbrand a.brandMenu1 {
    background-image: url(../img/layout/subbrand1.svg);
    background-size: auto 22px; /* výška 22px, šířka automaticky */
  }
  .navbar-subbrand a.brandMenu2 {
    background-image: url(../img/layout/subbrand2.svg);
    background-size: auto 14px; /* výška 22px, šířka automaticky */
  }
  .navbar-subbrand a.brandMenu3 {
    background-image: url(../img/layout/subbrand3.svg);
    background-size: auto 15px; /* výška 22px, šířka automaticky */
  }
}

.navbar-subbrand a.brandMenu1 {
  background-image: url(../img/layout/subbrand1.svg);
}
.navbar-subbrand a.brandMenu2 {
  background-image: url(../img/layout/subbrand2.svg);
}
.navbar-subbrand a.brandMenu3 {
  background-image: url(../img/layout/subbrand3.svg);
}

.navbar-subbrand a.brandMenu1.active {
  background-image: url(../img/layout/subbrand1-active.svg);
}
.navbar-subbrand a.brandMenu2.active {
  background-image: url(../img/layout/subbrand2-active.svg);
}
.navbar-subbrand a.brandMenu3.active {
  background-image: url(../img/layout/subbrand3-active.svg);
}

.navbar-subbrand a.brandMenu1:hover {
  background-image: url(../img/layout/subbrand1-active.svg);
  background-color: White;
}
.navbar-subbrand a.brandMenu2:hover {
  background-image: url(../img/layout/subbrand2-active.svg);
  background-color: White;
}
.navbar-subbrand a.brandMenu3:hover {
  background-image: url(../img/layout/subbrand3-active.svg);
  background-color: White;
}

/* ============================================================
   08. NAVBAR
   ============================================================ */
.navbar-mb {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);*/
  transition: box-shadow 0.3s ease;
}
.navbar-mb.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.navbar-mb .nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black) !important;
  padding: 20px 0 !important;
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-black);
  text-decoration: none;
}
.navbar-lang {
  font-size: var(--fs-nav);
  letter-spacing: 0.05em;
  display: flex;
  gap: 6px;
  align-items: center;
}
.navbar-lang a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--fs-nav);
}
.navbar-lang a.active,
.navbar-lang a:hover {
  color: var(--color-black);
}
.navbar-lang span {
  color: var(--color-border);
}
.navbar-user {
  font-size: var(--fs-nav);
  letter-spacing: 0.05em;
  color: var(--color-black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background-image: url(../img/layout/user-icon.png);
  background-position: top left;
  background-repeat: no-repeat;
  padding-left: 25px;
}
.navbar-user:hover {
  color: var(--color-primary);
}

/* Nav links přes celou šířku */
.navbar-mb .navbar-collapse {
  flex: 1;
}

.navbar-mb .navbar-nav {
  flex: 1;
  justify-content: space-evenly; /* rovnoměrné rozložení */
}

nav a {
  position: relative;
  text-decoration: none;
  color: #000;
}

/* čára */
/* jen odkazy s třídou */
nav a.nav-link {
  position: relative;
  text-decoration: none;
}

/* čára */
nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 100%;
  height: 2px;
  background: #000;

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* hover */
nav a.nav-link:hover::after {
  transform: scaleX(1);
}

/* ============================================================
   08b. NAVBAR — MOBILE FULLSCREEN OVERLAY
   ============================================================ */

/* Skrýt Bootstrap toggler */
.navbar-toggler {
  display: none !important;
}

/* Hamburger tlačítko */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
}

/* Mobile user ikona v navbaru */
.mobile-user-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-user-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Logo uprostřed na mobilu */
@media (max-width: 991px) {
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Header overlaye */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 60px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  position: relative;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-black);
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-menu-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.mobile-menu-user-icon {
  flex-shrink: 0;
}

.mobile-menu-user-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* Nav položky */
.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-link {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-link:first-child {
  border-top: 1px solid var(--color-border);
}

.mobile-menu-link.active {
  font-weight: 600;
}

/* Jazyk dole */
.mobile-menu-lang {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  border-top: 1px solid var(--color-border);
}

.mobile-menu-lang a {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
}

.mobile-menu-lang a.active,
.mobile-menu-lang a:hover {
  color: var(--color-black);
}

/* Na desktopu vše mobilní skrýt */
@media (min-width: 992px) {
  .mobile-menu-overlay,
  .mobile-menu-toggle,
  .mobile-user-icon {
    display: none !important;
  }
}

.mobile-menu-header {
  height: 60px;
  /* ← tady, zvyš např. na 72px nebo 80px */
}

@media (max-width: 991px) {
  .navbar-mb {
    height: 65px;
    /* stejná hodnota */
  }
}

/* ============================================================
   09. HERO SEKCE
   ============================================================ */
/*.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1a1a1a;
}*/

.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.heroHomepage {
  /*background-image: url(../img/layout/hero-bg-homepage.jpg);*/
}

.heroJakSeRegistrovat {
  background-image: url(../img/layout/hero-bg-jak-se-registrovat.jpg);
}

.heroLokace {
  background-image: url(../img/layout/hero-bg-lokace.jpg);
}

.heroFaq {
  background-image: url(../img/layout/hero-bg-faq.jpg);
}

.heroKontakt {
  background-image: url(../img/layout/hero-bg-kontakt.jpg);
}

.heroMerch {
  background-image: url(../img/layout/bg-merch.jpg);
}

.heroTema140let {
  background-image: url(../img/layout/hero-bg-tema-140let.jpg);
}

.heroTema140letVozy {
  background-image: url(../img/layout/hero-bg-tema-140let-vozy.jpg);
}

.heroDetailAkce {
  background-position: center;
}

.heroTemaVideo140let {
  position: relative;
  overflow: hidden;
  /* zruš background-image pokud tam byl */
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 767px) {
  .heroTemaVideo140let {
    aspect-ratio: 16 / 9;
    min-height: unset;
  }
}

.heroTemaVideo140let .hero-content {
  position: relative;
  z-index: 1;
}

.heroTema140let::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.heroTema140let .hero-content {
  position: relative;
  z-index: 2;
}

.heroTemaAmg {
  background-image: url(../img/layout/hero-bg-tema-amg.jpg);
}
.heroTemaAmgVozy {
  background-image: url(../img/layout/hero-bg-tema-amg-vozy.jpg);
}

.heroTemaAmg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(16, 16, 16, 1) 100%
  );
  z-index: 1;
}

.heroTemaAmg .hero-content {
  position: relative;
  z-index: 2;
}

.heroTemaMaybach {
  background-image: url(../img/layout/hero-bg-tema-maybach.jpg);
}

.heroTemaMaybachVozy {
  background-image: url(../img/layout/hero-bg-tema-maybach-vozy.jpg);
}

.heroTemaMaybach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(16, 16, 16, 1) 100%
  );
  z-index: 1;
}

.heroDetailAkce::before,
.heroKontakt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.heroDetailAkce .hero-content,
.heroKontakt .hero-content {
  position: relative;
  z-index: 2;
}

.hero770 {
  min-height: 770px;
}

.hero860 {
  min-height: 860px;
}

.heroBgShadow1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.heroBgShadow2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.heroBgShadow3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
}

/*
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
}-*/
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 80px 20px;
}
.hero-content h1,
.hero-content h2 {
  color: var(--color-white);
}

.heroHomepage .hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
}

.homepage140logo {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -50px;
}
.homepage140logo img {
  width: 100px;
}

@media (min-width: 991px) {
  .homepage140logo {
    bottom: 40px;
    margin-left: -117px;
  }

  .homepage140logo img {
    width: auto;
  }
}

/* Aktuální stav — problematické na mobilu */
.hero {
  background-attachment: fixed;
}

/* Přidej media query */
@media (max-width: 991px) {
  .hero {
    background-attachment: scroll;
    background-position: center center; /* místo bottom center */
  }
}

/* ============================================================
   10. PAGE BANNER (podstránky bez fotky)
   ============================================================ */
.page-banner,
.page-banner-profil {
  background-color: var(--color-black);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner-profil {
  background-image: url(../img/layout/profil-bcg.png);
  background-position: top center;
  background-repeat: repeat-x;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 41px
  );
}
.page-banner h1,
.page-banner-profil h1 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/*
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 41px
  );
}
.page-banner h1 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}*/

/* ============================================================
   11. IMAGE PLACEHOLDERY
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  width: 100%;
}

/* ============================================================
   12. KARTY (MB-CARD)
   ============================================================ */

.mb-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  transition: box-shadow 0.35s ease;
}

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

.mb-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mb-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 680px;
  overflow: hidden;
}

.mb-card-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.mb-card:hover .mb-card-img-placeholder img {
  transform: scale(1.1);
}

.mb-card .card-badge {
  position: absolute;
  top: 250px;
  left: 50%;
  z-index: 2;
}

.mb-card .card-badge1 {
  max-width: 226px;
  margin-left: -113px;
}

.mb-card .card-badge2 {
  max-width: 240px;
  margin-left: -120px;
}

.mb-card .card-badge3 {
  max-width: 215px;
  margin-left: -107.5px;
}

.mb-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: var(--color-white);
  transition: transform 0.35s ease;
  z-index: 2;
}

.mb-card:hover .mb-card-overlay {
  /*transform: translateY(-4px); */
}

.mb-card-overlay h3,
.mb-card-overlay h4,
.mb-card-overlay p {
  color: var(--color-white);
  margin-bottom: 4px;
}

.mb-card-overlay .card-title {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
}

.mb-card-overlay .card-text {
  font-size: 14px;
  opacity: 0.85;
}

.mb-card .btn-mb-primary {
  position: relative;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.mb-card:hover .btn-mb-primary {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mb-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}

/* ============================================================
   13. TABS / FILTRY
   ============================================================ */
.mb-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.mb-tab {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.mb-tab:hover,
.mb-tab.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* ============================================================
   14. FORMULÁŘE
   ============================================================ */
.form-control-mb {
  border: 1px solid var(--color-border);
  border-radius: 0;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--color-text);
  width: 100%;
  transition: var(--transition);
  background-color: var(--color-white);
}
.form-control-mb:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: none;
}
.form-control-mb::placeholder {
  color: var(--color-text-light);
}

.filter-bar {
  background: var(--color-white);
  box-shadow: 0px 2px 2px 0px #0000001a;
  max-width: 988px;

  max-width: 1180px;

  margin-left: auto;
  margin-right: auto;
  padding: 40px;

  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.filter-select {
  border-radius: 0;
  border-color: var(--color-border);
  font-size: 13px;
  font-family: var(--font-body);
}

/*
.filtrSelectVek {
  padding-left: 42px;
  background-image: url("../img/layout/ico-vekova-kategorie.svg");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 24px 18px;
}

.filtrSelectTyp {
  padding-left: 42px;
  background-image: url("../img/layout/ico-typ-rezervace.svg");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 19px 15px;
}
*/
/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 0;
}
.footer-logo {
  text-align: center;
  margin-bottom: 16px;
  margin-bottom: 46px;
}
.footer-brand {
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--color-white);
  text-align: center;
  /*letter-spacing: 0.05em;*/
  margin-bottom: 64px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 60px;
}
.footer-nav a {
  color: var(--color-white);
  font-size: 11px;
  font-size: var(--fs-nav);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;

  transition: var(--transition);
}
.footer-nav a:hover {
  opacity: 1;
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-left {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  color: White;
  text-decoration: none;
  margin: 0;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #464646;
  border-radius: 50%;
  transition: var(--transition);
  background-position: center;
  background-repeat: no-repeat;
}

a.footer-social-1 {
  background-image: url(../img/layout/footer-social1.png);
}
a.footer-social-2 {
  background-image: url(../img/layout/footer-social2.png);
}
a.footer-social-3 {
  background-image: url(../img/layout/footer-social3.png);
}
a.footer-social-4 {
  background-image: url(../img/layout/footer-social4.png);
}

.footer-social a:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   16. SDÍLENÉ KOMPONENTY
   ============================================================ */
.social-icon-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-black);
  transition: var(--transition);
  background-position: center;
  background-repeat: no-repeat;
}
.social-icon-dark:hover {
  border-color: var(--color-black);
  /*background: var(--color-black); */
  color: #fff;
}

a.social-icon-dark1 {
  background-image: url(../img/layout/kontakt-social1.png);
}
a.social-icon-dark2 {
  background-image: url(../img/layout/kontakt-social2.png);
}
a.social-icon-dark3 {
  background-image: url(../img/layout/kontakt-social3.png);
}
a.social-icon-dark4 {
  background-image: url(../img/layout/kontakt-social4.png);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text);
}
.detail-link {
  color: var(--color-primary);
  font-size: 14px;
  text-decoration: underline;
}

.info-bar {
  background-color: var(--color-white);
  box-shadow: 0px 2px 2px 0px #0000001a;
  padding: 24px 0;
  max-width: 1400px;
  margin: -50px auto 50px auto;
  position: relative;
  z-index: 100;
}

.info-bar-item {
  text-align: center;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 25px;
}
.info-bar-item1 {
  background-image: url(../img/layout/ico-program-datum.svg);
}
.info-bar-item2 {
  background-image: url(../img/layout/ico-program-cas.svg);
}
.info-bar-item3 {
  background-image: url(../img/layout/ico-program-kredity.svg);
}
.info-bar-item4 {
  background-image: url(../img/layout/ico-vekova-kategorie.svg);
}

.info-bar-item .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
  display: block;
}
.info-bar-item .value {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--color-black);
}

.info-row {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.info-row:last-child {
  border-bottom: none;
}
.info-title {
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* ============================================================
   17. ACCORDION (FAQ)
   ============================================================ */
.accordion-mb .accordion-item {
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0 !important;
  background: transparent;
}
.accordion-mb .accordion-button {
  font-family: var(--font-title);
  font-size: 17px;
  font-size: 40px;
  font-weight: 400;
  color: var(--color-black);
  background: transparent;
  padding: 22px 0;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.accordion-mb .accordion-button:not(.collapsed) {
  color: var(--color-black);
  background: transparent;
}
.accordion-mb .accordion-button::after {
  background-image: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  content: "+";
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.accordion-mb .accordion-button:not(.collapsed)::after {
  content: "−";
  transform: none;
}
.accordion-mb .accordion-body {
  padding: 0 0 24px 0;
  font-size: 15px;
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   18. INFO TABULKA (detail akce – důležité informace)
   ============================================================ */
.info-table {
  border-top: 1px solid var(--color-border);
}
.info-table-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
}
.info-table-label {
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  line-height: 130%;
}
.info-table-value {
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
}

/* ============================================================
   19. TERMÍNY (detail akce – výběr termínu)
   ============================================================ */
.termin-row {
  display: grid;
  grid-template-columns: 150px 140px 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
}
.termin-den {
  color: var(--color-black);
}
.termin-cas {
  color: var(--color-text);
}
.termin-obsazenost {
  color: var(--color-primary);
}
.termin-obsazenost.full {
  color: #cc3300;
}
.termin-typ {
  color: var(--color-text-light);
}

/* ============================================================
   20. MODÁLY
   ============================================================ */
.modal-mb .modal-dialog {
  max-width: 480px;
  max-width: 640px;
}
.modal-mb .modal-content {
  border-radius: 0;
  border: none;
}
.modal-mb .modal-header {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 32px;
}
.modal-mb .modal-body {
  padding: 32px;
}
.modal-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 400;
}
.modal-info-item .label {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.modal-info-item .value {
  font-size: 15px;
  color: var(--color-black);
  font-weight: 400;
}

/* ============================================================
   21. UŽIVATELSKÝ PROFIL
   ============================================================ */
.profil-nav {
  /*border: 1px solid var(--color-border); */
  background-color: var(--color-white);
  box-shadow: 0px 2px 2px 0px #0000001a;
}
.profil-nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  font-size: 18px;
  transition: var(--transition);
  font-weight: bold;
}
.profil-nav-item:last-child {
  border-bottom: none;
}
.profil-nav-item:hover,
.profil-nav-item.active {
  background: var(--color-bg-light);
  color: var(--color-primary);
}
.profil-panel {
  border: 1px solid var(--color-border);
  padding: 32px;
  height: 100%;
}
.profil-rezervace-item h4 {
  font-size: 20px;
  margin-bottom: 0;
}
.rezervace-card h5 {
  font-size: 17px;
  margin-bottom: 0;
}

/* ============================================================
   22. HOMEPAGE SPECIFICKÉ
   ============================================================ */
.counter-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.counter-number {
  font-family: var(--font-title);
  font-size: 80px;
  line-height: 1;
  color: #fff;
  margin-right: 16px;
}
.counter-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  vertical-align: middle;
}
.reason-card {
  padding: 24px 32px;
  border-bottom: 2px solid var(--color-primary);
  background-color: var(--color-white);
  min-height: 400px;
}
.reason-card h4 {
  font-size: 18px;
  font-size: 40px;
  margin-bottom: 8px;
}

/* ============================================================
   23. PROGRAM TIMELINE (AMG program)
   ============================================================ */
.timeline-header {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 8px;
  overflow-x: auto;
}
.timeline-day-col {
  min-width: 80px;
  width: 80px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.timeline-hours {
  display: flex;
  flex: 1;
  overflow-x: auto;
}
.timeline-hour {
  min-width: 120px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--color-black);
  color: var(--color-white);
  padding: 8px 12px;
  text-align: center;
}
.timeline-hour-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--color-black);
  color: var(--color-white);
}
.timeline-day {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  gap: 24px;
}
.day-name {
  display: block;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  text-transform: lowercase;
}
.day-num {
  display: block;
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1;
  color: var(--color-black);
}
.timeline-akce-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  flex: 1;
}

.program-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
  color: var(--color-text);
}
.program-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}
.program-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.program-card-img {
  width: 100%;
  min-height: 80px;
}
.program-card-body {
  padding: 12px;
  flex: 1;
}
.program-card-title {
  font-size: 14px;
  color: var(--color-black);
  margin-bottom: 6px;
  line-height: 1.3;
}
.program-card-meta {
  font-size: 11px;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.program-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.program-card-cat {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 6px;
}
.program-card-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.program-card-add:hover {
  background: #0052a3;
}

/* ============================================================
   24. VOZY KARTY (AMG vozy & expozice, detail vozu)
   ============================================================ */
/*
.vozy-card {
  overflow: hidden;
  position: relative;
}
.vozy-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.vozy-card-label {
  flex: 1;
}
.vozy-card-title {
  font-family: var(--font-title);
  font-size: 20px;
  color: #fff;
  line-height: 1.2;
  display: block;
}
.vozy-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 6px 0 0;
  line-height: 1.4;
}
.vozy-card-btn {
  width: 36px;
  height: 36px;
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.vozy-card-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.gallery-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-arrow:hover {
  background: #fff;
} */

.vozy-card {
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1; /* 👉 čtverec */
  border-radius: 0;
}

/* obrázek přes celou kartu */
.vozy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 👉 ořízne bez deformace */
  transition: transform 0.4s ease;
}

/* jemný hover efekt jen na obrázek */
.vozy-card:hover img {
  transform: scale(1.05);
}

/* overlay */
.vozy-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

/* texty */
.vozy-card-label {
  flex: 1;
}

.vozy-card-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-size: 48px;
  color: #fff;
  line-height: 1.2;
  display: block;
}

.vozy-card-text {
  font-size: 14px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin: 6px 0 0;
  line-height: 1.4;
}

/* tlačítko */
.vozy-card-btn {
  width: 36px;
  height: 36px;
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.vozy-card-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.vozy-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* tlačítko nad klikací vrstvou */
.vozy-card-btn {
  position: relative;
  z-index: 10;
}

.vozy-card {
  cursor: pointer;
}

/* šipka (pokud používáš) */
.gallery-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-arrow:hover {
  background: #fff;
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --fs-h1: 48px;
    --fs-h2: 40px;
    --fs-h3: 28px;
    --fs-h4: 22px;
    --fs-perex: 18px;
    --section-py: 60px;
  }
  .hero {
    min-height: 380px;
  }
  .topbar-themes {
    gap: 20px;
  }
  .timeline-day {
    flex-direction: column;
  }
  .timeline-akce-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  :root {
    --fs-h1: 36px;
    --fs-h2: 30px;
    --fs-h3: 24px;
    --section-py: 48px;
  }
  .hero {
    min-height: 300px;
  }
  .footer-nav {
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .termin-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .termin-action {
    grid-column: 1 / -1;
  }
  .info-table-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .timeline-akce-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   26. PROFIL PODSTRÁNKY
   (profil-osobni-udaje, profil-kredity, profil-rezervace,
    profil-oblibene, profil-storno)
   ============================================================ */

/* Panel nadpis */
.profil-panel-title {
  font-size: 28px;
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 0;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 16px;
}

/* Oddělovač uvnitř panelu */
.profil-divider {
  border-color: var(--color-border);
  margin: 32px 0;
}

/* Label nad inputem */
.profil-label {
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 6px;
  display: block;
}

/* Hint text */
.profil-hint {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Chybová hláška */
.profil-error-msg {
  font-size: 13px;
  color: #cc3300;
  margin-top: 6px;
  margin-bottom: 0;
}

/* Input s chybou */
.profil-input-error {
  border-color: #cc3300 !important;
}

/* Heslo wrapper */
.profil-password-wrap {
  position: relative;
}
.profil-password-wrap .form-control-mb {
  padding-right: 44px;
}
.profil-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  transition: var(--transition);
}
.profil-password-toggle:hover {
  color: var(--color-black);
}

/* Kredity tabs */
.kredity-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}
.kredity-tab {
  font-size: 14px;
  padding: 12px 24px;
  color: var(--color-text-light);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.kredity-tab:hover {
  color: var(--color-black);
  text-decoration: none;
}
.kredity-tab.active {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Kredit položka */
.kredit-item {
  padding: 8px 0;
}
.kredit-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 4px;
}
.kredit-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 0;
}

/* Rezervace karty (profil-rezervace) */
.rez-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.rez-card-img-wrap {
  position: relative;
}
.rez-card-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  letter-spacing: 0.03em;
}
.rez-card-body {
  padding: 20px;
}
.rez-card-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
}
.rez-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.rez-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rez-meta-label {
  font-size: 11px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.rez-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black);
}
.rez-storno-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: #cc3300;
  text-decoration: underline;
}
.rez-storno-link:hover {
  color: #aa2200;
}

/* Oblíbené řádek */
.oblibene-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.oblibene-row:last-child {
  border-bottom: none;
}
.oblibene-img {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  font-size: 10px;
}
.oblibene-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  display: block;
  margin-bottom: 6px;
}
.oblibene-title:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.oblibene-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--color-text-light);
}
.oblibene-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.oblibene-cat {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}
.oblibene-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.oblibene-remove {
  font-size: 13px;
  color: #cc3300;
  text-decoration: underline;
  white-space: nowrap;
}
.oblibene-remove:hover {
  color: #aa2200;
}

/* Storno podmínky */
.storno-block {
  padding: 8px 0;
}
.storno-block p {
  font-size: 15px;
  margin-bottom: 8px;
}
.storno-list {
  padding-left: 20px;
  margin-bottom: 0;
}
.storno-list li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .rez-card-meta {
    grid-template-columns: 1fr 1fr;
  }
  .oblibene-row {
    grid-template-columns: 1fr;
  }
  .oblibene-img {
    width: 100%;
    height: 180px;
  }
  .oblibene-actions {
    flex-direction: row;
    align-items: center;
  }
}

.containerFull1600 {
  max-width: 1600px;
}

.containerFull {
  max-width: 2200px;
}

.relative {
  position: relative;
}

/* prihlaseni / registrace */
/* Modal / popup formulář */
#registrationModal .modal-dialog {
  max-width: 640px;
}

.form-mb--modal .form-control {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--color-black);
  margin-bottom: 12px;
}
.form-mb--modal .form-control:focus {
  border-color: var(--color-accent);
  background-color: #fff;
  box-shadow: none;
}

.closeModal {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;

  background-image: url(../img/layout/modal-close.png);
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   FORMS — END
   ============================================================ */

/* ============================================================
   MODAL / POPUP — START
   ============================================================ */

.modal-mb .modal-content {
  border-radius: 0;
  border: none;
  padding: 40px;
}
.modal-mb .modal-title {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
}
.modal-mb .btn-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* ============================================================
   MODAL / POPUP — END
   ============================================================ */

/* ============================================================
   MAP SECTION  START
   ============================================================ */
.map-embed {
  width: 100%;
  height: 420px;
  background-color: var(--color-mid);
  border: none;
  display: block;
}

/* ============================================================
   MAP SECTION  END
   ============================================================ */

/* jak se registrtovat */
.jakSeRegistrovatTitle,
.kontaktEmail {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 400;
  color: var(--color-black);
}

.text18 {
  font-size: 18px;
}

.text21 {
  font-size: 21px;
}

.maxW560 {
  max-width: 560px;
}

.halfColor {
  background-color: var(--color-bg-light);
}

@media (min-width: 991px) {
  .halfColor {
    background-image: url(../img/layout/img-half.png);
    background-position: top center;
    background-repeat: repeat;
  }
}

/* tema */
.temaDatum {
  font-size: 64px;
  color: var(--color-black);
}

/* efekt  */
.scrollText .char {
  color: #b8b8b8;
  transition: color 0.2s ease;
}

/* detail auta galerie */
/*
.car-gallery-section {
  width: 100%;
  padding: 30px 0;
}

.car-gallery-shell {
  display: flex;
  align-items: center;
  gap: 20px;
}

.car-gallery-wrap {
  flex: 1;
  min-width: 0;
}

/* galerie */
/*
.car-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.car-gallery::-webkit-scrollbar {
  display: none;
}

/* položka */
/*
.car-gallery-item {
  flex: 0 0 720px;
  height: 430px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f3f3;
  position: relative;
}

.car-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.car-gallery-item:hover img {
  transform: scale(1.03);
}

/* šipky galerie */
/*
.car-gallery-nav {
  width: 48px;
  height: 48px;
  border: none;
  background: #fff;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 48px;
  transition: 0.25s ease;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.car-gallery-nav:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.car-gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* progress čára */ /*

.car-gallery-progress {
  position: relative;
  margin-top: 18px;
  height: 2px;
  background: #ececec;
  overflow: hidden;
}

.car-gallery-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background: #bbbbbb;
  transition:
    left 0.2s ease,
    width 0.2s ease;
}

/* lightbox */ /*
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-content {
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  width: 56px;
  height: 56px;
  font-size: 28px;
  cursor: pointer;
  transition: 0.25s ease;
  z-index: 2;
}

.gallery-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.gallery-lightbox-arrow.prev {
  left: 25px;
}

.gallery-lightbox-arrow.next {
  right: 25px;
}

/* responsive */
/*
@media (max-width: 991px) {
  .car-gallery-shell {
    gap: 12px;
  }

  .car-gallery-item {
    flex: 0 0 85%;
    height: 320px;
  }
}

@media (max-width: 767px) {
  .car-gallery-nav {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 20px;
  }

  .car-gallery-item {
    flex: 0 0 92%;
    height: 240px;
  }
}
*/

/* SEKCE galerie přes celou šířku */
.car-gallery-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 160px 0;
  margin-top: 60px;
}

/* obal */
.car-gallery-shell {
  position: relative;
  width: 100%;
}

/* vnitřní wrap */
.car-gallery-wrap {
  width: 100%;
  position: relative;
}

/* galerie */
.car-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 40px; /* trochu odsazení od krajů */
}

.car-gallery::-webkit-scrollbar {
  display: none;
}

/* položka */
.car-gallery-item {
  flex: 0 0 720px;
  height: 430px;
  overflow: hidden;
  cursor: pointer;
  background: #f3f3f3;
  position: relative;
}

.car-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.car-gallery-item:hover img {
  transform: scale(1.03);
}

/* šipky galerie - nad obrázkem */
.car-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.car-gallery-nav.prev {
  left: 20px;
}

.car-gallery-nav.next {
  right: 20px;
}

.car-gallery-nav:hover {
  background: #111;
  color: #fff;
}

.car-gallery-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* progress čára */
.car-gallery-progress {
  position: relative;
  margin: 60px 40px 0 40px; /* aby byla zarovnaná s galerií */
  height: 2px;
  background: #ececec;
  overflow: hidden;
}

.car-gallery-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background: #bbbbbb;
  transition:
    left 0.2s ease,
    width 0.2s ease;
}

/* lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-content {
  width: 90%;
  max-width: 1200px;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.gallery-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #fff;
  width: 56px;
  height: 56px;
  font-size: 28px;
  cursor: pointer;
  transition: 0.25s ease;
  z-index: 2;
}

.gallery-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.gallery-lightbox-arrow.prev {
  left: 25px;
}

.gallery-lightbox-arrow.next {
  right: 25px;
}

/* responsive */
@media (max-width: 991px) {
  .car-gallery {
    gap: 16px;
    padding: 0 20px;
  }

  .car-gallery-item {
    flex: 0 0 85%;
    height: 320px;
  }

  .car-gallery-progress {
    margin: 18px 20px 0 20px;
  }

  .car-gallery-nav.prev {
    left: 10px;
  }

  .car-gallery-nav.next {
    right: 10px;
  }
}

@media (max-width: 767px) {
  .car-gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .car-gallery-item {
    flex: 0 0 92%;
    height: 240px;
  }
}

/* ============================================================
   DALŠÍ VOZY - FULL WIDTH CAROUSEL
   ============================================================ */

.cars-carousel-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

body {
  overflow-x: hidden;
}

.cars-carousel-shell {
  position: relative;
  width: 100%;
}

.cars-carousel-wrap {
  width: 100%;
  position: relative;
}

/* carousel */
.cars-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;

  padding-left: 64px;
  padding-right: 64px;
}

.cars-carousel::-webkit-scrollbar {
  display: none;
}

/* item */
.cars-carousel-item {
  flex: 0 0 416px;
  scroll-snap-align: start;
}

.cars-carousel-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 🔥 HLAVNÍ FIX - správný poměr */
.cars-carousel-card {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
  width: 100%;
  aspect-ratio: 416 / 450;
}

.cars-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cars-carousel-card:hover img {
  transform: scale(1.03);
}

/* overlay */
.cars-carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.28) 40%,
    rgba(0, 0, 0, 0) 75%
  );
  pointer-events: none;
}

.cars-carousel-title {
  color: #fff;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
  max-width: calc(100% - 52px);
  font-family: var(--font-title);
}

/* plus button */
.cars-carousel-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  transition: 0.25s ease;
}

.cars-carousel-card:hover .cars-carousel-btn {
  background: #111;
  color: #fff;
}

/* šipky */
.cars-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 46px;
  height: 46px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.cars-carousel-nav.prev {
  left: 12px;
}

.cars-carousel-nav.next {
  right: 12px;
}

.cars-carousel-nav:hover {
  background: #111;
  color: #fff;
}

.cars-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

/* progress */
.cars-carousel-progress {
  position: relative;
  margin: 60px 64px 0 64px;
  height: 2px;
  background: #ececec;
  overflow: hidden;
}

.cars-carousel-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  background: #bdbdbd;
  transition:
    left 0.2s ease,
    width 0.2s ease;
}

/* responsive */
@media (max-width: 991px) {
  .cars-carousel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cars-carousel-item {
    flex: 0 0 320px;
  }

  .cars-carousel-progress {
    margin: 18px 20px 0 20px;
  }

  .cars-carousel-nav.prev {
    left: 8px;
  }

  .cars-carousel-nav.next {
    right: 8px;
  }

  /* 👇 zmenšíme title na tablet */
  .cars-carousel-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .cars-carousel-item {
    flex: 0 0 78%;
  }

  .cars-carousel-title {
    font-size: 22px;
  }

  .cars-carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.cars-carousel {
  justify-content: safe center;
}

/* ============================================================
   QR KÓD (profil)
   ============================================================ */
.qr-box {
  background: var(--color-bg-light);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.qr-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
}
.qr-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.btnDownload {
  background-image: url(../img/layout/download-button.svg);
  background-position: right 20px center;
  background-repeat: no-repeat;
}

/* karticky uvod  */
/* ============================================================
   MB PROGRAM CARDS
   ============================================================ */
.mb-program-card {
  position: relative;
  overflow: hidden;
  background: #f3f3f3;
  aspect-ratio: 3 / 4;
  display: block;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.mb-program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.mb-program-card:hover img {
  transform: scale(1.04);
}

/* kategorie - nahoře vlevo */
.mb-program-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;

  text-transform: uppercase;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* hvězdička - nahoře vpravo */
.mb-program-card-star {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #111;
  cursor: pointer;
  transition: 0.25s ease;
  z-index: 2;
}

.mb-program-card-star:hover {
  background: #111;
  color: #fff;
}

/* overlay dole */
.mb-program-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  transition: transform 0.35s ease;
}

.mb-program-card:hover .mb-program-card-overlay {
  /*  transform: translateY(-4px);*/
}

.mb-program-card-title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 6px;
}

.mb-program-card-text {
  font-size: 13px;
  color: #fff;
  opacity: 0.85;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .mb-program-card-title {
    font-size: 22px;
  }
}

/*  */
/*
.temaDatum {
  font-size: 180px;
  font-size: 200px;
  position: relative;
  z-index: 1;
  font-family: var(--font-title);

  color: transparent;
  -webkit-text-stroke: 1px Black;
}

.temaClaim {
  font-size: 180px;
  position: relative;
  z-index: 2;
  margin-top: -130px;
  font-family: var(--font-title);
}
*/

.temaDatum {
  font-size: clamp(60px, 13vw, 200px);
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  color: transparent;
  -webkit-text-stroke: 1px Black;
}

.temaClaim {
  font-size: clamp(50px, 12vw, 180px);
  position: relative;
  z-index: 2;
  margin-top: clamp(-130px, -9vw, -45px);
  font-family: var(--font-title);
}

.btn-waitlist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 12px;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-waitlist:hover {
  border-color: #000;
}
.btn-waitlist--active {
  border-color: #000;
  background: #000;
  color: #fff;
}
.btn-waitlist--active:hover {
  background: #333;
}
