:root {
  --brand: #1a3caa;
  --brand-2: #7ec8e3;
  --text: #2b2b2b;
  --bg: #ffffff;
  --card: #f6f8ff;
  --line: #e5e8f0;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);

}




* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}

.btn-light {
  background: #fff;
  color: var(--brand);
  border: 2px solid #fff;
}

/* ========================= */
/* TRANSPARENTNÍ HORNÍ LIŠTA  */
/* ========================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(255, 255, 255, 0.22); /* polopropustné */
  z-index: 1000;
}

/* aby se obsah neposouval pod lištu */
body { padding-top: 72px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 56px;
  height: auto;
  border-radius: 0.5rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-weight: 800;
  color: var(--brand);
}

.brand-tagline {
  font-size: 0.8rem;
  color: #555;
}

#nav-toggle { display: none; }

.nav .burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list .btn { padding: 0.6rem 0.9rem; }

.has-sub { position: relative; }

.has-sub .sub {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  list-style: none;
}

.has-sub:hover .sub { display: block; }

.has-sub .sub li a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 0.5rem;
}

.has-sub .sub li a:hover { background: var(--card); }

@media (max-width: 900px) {
  .nav .burger { display: block; }

  .nav-list {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid var(--line);
    display: none;
  }

  #nav-toggle:checked ~ .nav-list { display: flex; }
}

/* ===== HERO TUNING ===== */

.hero {
  position: relative;
  color: #fff;
  
  background:
    linear-gradient(
      90deg,
      rgba(26, 60, 170, 0.62) 0%,
      rgba(26, 60, 170, 0.35) 38%,
      rgba(26, 60, 170, 0.08) 68%,
      rgba(26, 60, 170, 0.00) 100%
    ),
    url("../img/IMG_0649.jpeg") center/cover no-repeat;

  padding-top: 3.6rem; /* aby text nezačínal pod logem */
  color: #fff;
}

/* Ať je obsah nad overlayem */
.hero-inner {
  position: relative;
  z-index: 1;
}

/* Ten problémový odstavec – dostane podklad */
.hero-copy p {
  max-width: 34rem;
  background: linear-gradient(
    to right,
    rgba(42, 72, 221, 0.1),
    rgba(76, 101, 228, 0.05)
  );
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin-top: 0.75rem;
  line-height: 1.5;
  backdrop-filter: blur(2px); /* kde je podpora, vypadá to luxusně */
}


.hero p {
  color: #fff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* CTA v hero – aby secondary button nezanikl */
.hero .btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.hero .btn-light:hover { background: #fff; }

/* Pilíře v hero – lehce průsvitné */
.hero .pill {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero .pill span { color: #0d205f; }

/* pokud máš pořád vpravo info-box v hero */
.hero .info-box {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.20);
}

/* HERO outline – minimalistická brand varianta */
.hero .btn-outline {
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;

  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;

  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: 0.22s ease;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.hero .btn-outline:active { transform: translateY(0); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0.2rem 0 1rem;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.pill span { font-weight: 600; }

.services {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #f2f6ff, #fff);
}



.cards > .card{
  grid-column: span 2; /* každá karta zabere 2/6 => 3 karty v řádku */
}
.cards > .card:nth-child(4){
  grid-column: 2 / span 2; /* posun doprava */
}
.cards > .card:nth-child(5){
  grid-column: 4 / span 2;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease;
}

.card:hover {   
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  background: #ffffff; }

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between; /* rozdeli je na obe strany */
  gap: 1rem; /* volitelne, mezera mezi tlacitky */
}


.services-index {
  padding: 2.5rem 0;
  background: linear-gradient(180deg, #f2f6ff, #fff);
}

/* Kontejner – karty se chovají jak inline-blocky, ale centrované */
.cards-index {
  margin-top: 1rem;
  text-align: center;
}

/* Jednotlivá služba = „dlaždice“ */
.card-index {
  display: inline-block;          /* chování jak inline-block */
  vertical-align: top;
  width: 260px;                   /* můžeš klidně změnit na 280 / 300 */
  margin: 0.5rem;

  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

/* Hezčí hover – lehký „lift“ a zvýraznění */
.card-index:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  border-color: rgba(26, 60, 170, 0.22);
  background: #ffffff;
}

/* ať text ať nerozjíždí layout na mobilech */
@media (max-width: 700px) {
  .card-index {
    width: 100%;
    max-width: 100%;
    margin: 0.4rem 0;
  }
}




/* ========================= */
/* FLEET / VOZOVÝ PARK        */
/* ========================= */

.fleet-highlight {
  background: var(--card);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fleet-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding-left: 1.6rem;
  position: relative;
  margin: 1.7rem 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0.2rem;
  color: var(--brand);
}

ul li { margin: 8px 0; }

.cta-strip {
  background: var(--brand);
  color: #fff;
  padding: 1.3rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-hero {
  background: #f7f9ff;
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  padding: 1.4rem 0;
}

.info-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}

.vehicle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.note { color: #666; }

/* --- HERO FOTO --- */
.fleet-hero-gallery {
  width: 100%;
  margin: 2rem 0 3rem;
}

.fleet-hero-img {
  width: 100%;
  height: 420px;
  box-shadow: var(--shadow);
}

.fleet-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position:center 30%;
}

/* --- NOVÉ FLEET KARTY --- */

.fleet-section { margin-top: 1rem; }

.fleet-title {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.fleet-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}



/* karta */
.fleet-cardy {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* fotka */
.fleet-photo,
.fleet-photo-velko {
  image-rendering: auto;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;

}

.fleet-photo img,
.fleet-photo-velko img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-photo-velko img { object-position: center 25%; }

/* text */
.fleet-content {
  padding: 1.1rem 1.2rem;
}

.fleet-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
}

.fleet-content ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.fleet-content ul li { margin: 0.25rem 0; }

/* --- GALERIE --- */

.gallery-sub {
  margin-bottom: 1rem;
  color: #666;
}

/* --- LIGHTBOX --- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.lightbox img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 0.8rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ========================= */
/* PROC MY / WHY US          */
/* ========================= */

.why-us {
  padding: 2.5rem 0 1.5rem;
  background: #fff;
}

.why-intro {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;

  justify-content: center;     /* vycentruje karty v rámci řádku */
  max-width: 850px;            /* aby se neroztáhly přes celou šířku */
  margin-inline: auto;         /* ať je ta mřížka sama uprostřed containeru */
}


.why-card {
  flex: 1 1 220px;
  max-width: 260px;
  background: #f7f9ff;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(26, 60, 170, 0.06);
  box-shadow: 0 10px 26px rgba(9, 22, 80, 0.06);
}

.why-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

@media (max-width: 700px) {
  .why-card {
    max-width: 100%;
  }
}
.cf-turnstile { margin: 1rem 0; }
.flash{ padding: .8rem 1rem; border-radius: .8rem; margin: 1rem 0; }
.flash.ok{ background:#e9fff0; border:1px solid #b7f0c7; }
.flash.err{ background:#fff0f0; border:1px solid #f2b6b6; }


/* ========================= */
/* COVERAGE / KDE JEZDÍME    */
/* ========================= */

.coverage {
  padding: 2.6rem 0;
  color: #fff;

  background:
    radial-gradient(circle at 18% 28%, rgba(126, 200, 227, 0.18) 0, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(126, 200, 227, 0.10) 0, transparent 55%),
    linear-gradient(135deg, rgb(12, 35, 104) 0%, #0e2a75 55%, #0e205e 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.coverage-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.8rem;
  align-items: center;
}

.coverage-copy h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.coverage-copy p {
  margin: 0 0 0.9rem;
  max-width: 52ch;
  color: rgba(245, 248, 255, 0.92);
  line-height: 1.55;
}

.coverage-list {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: rgba(245, 248, 255, 0.92);
}

.coverage-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Stage pre mapu */
.coverage-stage {
  position: relative;
  min-height: 430px;
  border-radius: 1.2rem;
  overflow: hidden;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 55px rgba(0,0,0,0.25);
}

/* jemná mřížka + texturka */
.coverage-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;

  background:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* Vrstva, kam dáš mapu/piny */
.coverage-layer {
  position: absolute;
  inset: 0;
}

/* Fade okrajů */
.coverage-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 55%, rgba(7, 20, 58, 0.55) 100%);
}

/* Mobile */
@media (max-width: 900px) {
  .coverage-inner {
    grid-template-columns: 1fr;
  }
  .coverage-stage {
    min-height: 360px;
  }
}

#mapViewport{
  position: relative;
  overflow: hidden;
}

/* aby se dalo hezky pan/zoomovat přes wrapper */
#mapContent{
  transform-origin: 0 0;
  will-change: transform;
}
#mapTooltip{
  position: absolute;
  pointer-events: none;
  transform: translate(0,0); /* klidně pryč */
}

/* interakce se státy */
.eu-map [id]{
  cursor: pointer;
  transition: fill .15s ease, stroke .15s ease, opacity .15s ease;
}

.eu-map [id]:hover{
  opacity: .9;
  stroke-width: .6px; /* můžeš upravit */
  transform:translateY(-2px) ;
}

/* vybraný stát */
.eu-map .is-selected{
  stroke-width: 1.2px;
  opacity: 1;
}

/* tooltip */
.map-tooltip{
  position: absolute;
  z-index: 10;
  pointer-events: none;
  padding: .35rem .55rem;
  border-radius: .6rem;
  background: rgba(20, 20, 20, .92);
  color: #fff;
  font-size: .5rem;
  line-height: 1.1;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
  opacity: 0;
  transition: opacity .1s ease;
}
.map-tooltip.is-visible{ opacity: 1; }

.eu-map #CZ { fill: url(#flag-CZ); }
.eu-map #DE { fill: url(#flag-DE); }
.eu-map #BE { fill: url(#flag-BE); }
.eu-map #NL { fill: url(#flag-NL); }
.eu-map #LU { fill: url(#flag-LU); }


/* ========================= */
/* BIG CARD RAIL (HIGHLIGHTS)*/
/* ========================= */



.big-rail__head { margin-bottom: 1rem; }
.big-rail__sub { margin: 0.4rem 0 0; color: #555; max-width: 52rem; }

.rail {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

/* fade okraje – ať to vypadá “premium” */
.rail::before,
.rail::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 5;
  pointer-events: none;
}
.rail::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.rail::after  { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }

.rail__track{
  display: flex;
  gap: 16px;
  padding: 16px;

  width: 100%;            /* <- místo max-content */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rail__track::-webkit-scrollbar { display: none; }

/* velká karta */
.rail-card {
  flex: 0 0 auto;
  width: min(920px, 86vw);   /* velké, jak chceš */
  min-height: 420px;

  border-radius: 1.25rem;
  border: 1px solid rgba(26, 60, 170, 0.10);
  background: #fff;
  box-shadow: 0 18px 55px rgba(9, 22, 80, 0.10);
  overflow: hidden;
  scroll-snap-align: start;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.rail-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 60, 170, 0.20);
  box-shadow: 0 22px 70px rgba(9, 22, 80, 0.14);
}

.rail-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(26, 60, 170, 0.08);
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.rail-chip {
  display: inline-flex;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  background: rgba(26, 60, 170, 0.08);
  border: 1px solid rgba(26, 60, 170, 0.12);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.rail-meta { color: #5a5a5a; font-size: 0.88rem; }

.rail-card--network { background: #fff; }
.rail-card--routes  { background: linear-gradient(135deg, #ffffff, #f7f9ff); }
.rail-card--fleet   { background: linear-gradient(135deg, #ffffff, #f2f6ff); }
.rail-card--cta     { background: linear-gradient(135deg, #ffffff, rgba(126,200,227,0.12)); }

/* --- NETWORK: uprav výšku, ať sedí do karty --- */
.rail-card--network .why-network {
  height: 360px;
  margin: 16px;
  border-radius: 1.1rem;
}

/* --- ROUTES karta (split) --- */
.rail-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
}

.rail-copy h3 { margin: 0 0 0.4rem; }
.rail-copy p { margin: 0 0 0.8rem; color: #555; max-width: 52ch; }
/* když jede auto-scroll, vypni snap (jinak to může cukat) */
.rail.is-auto .rail__track {
  scroll-snap-type: none !important;
}


.rail-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rail-bullets li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.35rem 0;
  color: #333;
}
.rail-bullets li::before {
  content: "•";
  position: absolute;
  left: 0.2rem;
  color: var(--brand);
}

.rail-map .routes-map-card { padding: 0; border: none; box-shadow: none; }
.rail-map .routes-map {
  border-radius: 1rem;
  border: 1px solid rgba(26, 60, 170, 0.10);
}
.rail-map .routes-legend { margin-top: 0.6rem; }

/* --- FLEET karta --- */
.fleet-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  padding: 16px;
  align-items: start;
}
.fleet-card__left h3 { margin: 0 0 0.4rem; }
.fleet-card__left p { margin: 0 0 1rem; color: #555; max-width: 54ch; }

.fleet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}
.fleet-stat {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(26, 60, 170, 0.10);
  border-radius: 1rem;
  padding: 0.65rem 0.6rem;
  text-align: center;
}
.fleet-stat b { display: block; color: var(--brand); font-size: 1.2rem; }
.fleet-stat span { display: block; color: #555; font-size: 0.82rem; }

.fleet-card__right {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 1rem;
  border: 1px solid rgba(26, 60, 170, 0.10);
  background: rgba(255,255,255,0.75);
}
.fleet-card__right li {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(26, 60, 170, 0.08);
}
.fleet-card__right li:last-child { border-bottom: none; }

/* --- CTA karta --- */
.cta-card { padding: 18px 16px 20px; }
.cta-card h3 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.cta-card p { margin: 0 0 1rem; color: #555; max-width: 58ch; }

.cta-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cta-card__note {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26, 60, 170, 0.10);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
}
.cta-card__note .dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(26,60,170,0.55);
}

/* responsive */
@media (max-width: 900px) {
  .rail-split, .fleet-card { grid-template-columns: 1fr; }
  .rail::before, .rail::after { display: none; }
}





/* ========================= */
/* ROUTES / MAPA EVROPY      */
/* ========================= */

.routes {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, #f2f6ff, #ffffff);
  border-top: 1px solid var(--line);
}

.routes-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: center;
}

.routes-copy p {
  max-width: 30rem;
}

.routes-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.routes-list li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

.routes-list li::before {
  content: "•";
  position: absolute;
  left: 0.1rem;
  color: var(--brand);
}

/* karta s mapou */
.routes-map-card {
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.routes-map {
  position: relative;
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 20% 20%, #dde6ff 0, transparent 50%),
    radial-gradient(circle at 80% 70%, #e4f3ff 0, transparent 55%),
    #e9eefc;
  /* pokud budeš mít vlastní mapu: */
  /* background: url("../img/map-europe.svg") center/cover no-repeat; */
}

/* "piny" na mapě – CZ, DE, NL, BE */
.routes-pin {
  position: absolute;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(26, 60, 170, 0.18);
  box-shadow: 0 6px 18px rgba(9, 22, 80, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

/* pozice jsou orientační – můžeš si doladit */
.routes-pin--cz { left: 58%; top: 55%; }
.routes-pin--de { left: 50%; top: 48%; }
.routes-pin--nl { left: 45%; top: 42%; }
.routes-pin--be { left: 46%; top: 50%; }

.routes-legend {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.routes-pill {
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #f7f9ff;
  border: 1px solid rgba(26, 60, 170, 0.08);
}

@media (max-width: 900px) {
  .routes-inner {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* FAQ                       */
/* ========================= */

/* ========================= */
/* FAQ – akordeon            */
/* ========================= */

.faq {
  padding: 2rem 0 2.5rem;
  background: #fff;
}

.faq-list {
  margin-top: 1rem;
  max-width: 800px;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(26, 60, 170, 0.12);
  background: #f7f9ff;
  box-shadow: 0 10px 24px rgba(9, 22, 80, 0.04);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

/* tlačítko – otázka */
.faq-question {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

/* odpověď – výška animovaná přes max-height */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 0.9rem;
  font-size: 0.9rem;
  color: #555;
  transition: max-height 0.22s ease, padding-bottom 0.22s ease;
}

/* otevřený stav */
.faq-item.faq-open .faq-answer {
  max-height: 300px; /* kdyby to nestačilo, klidně dej víc */
  padding-bottom: 0.7rem;
}

.faq-item.faq-open .faq-icon {
  transform: rotate(-180deg);
}

.faq-answer p {
  margin: 0;
}





/* ========================= */
/* GALERIE / PHOTO GRID       */
/* ========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.gallery .ph {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

/* obrázek je vrstva přes celý box */
.gallery .ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
}

/* =========================
   SPEDICE PAGE REDESIGN
   ========================= */

.sped-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(26, 60, 170, 0.80) 0%,
      rgba(26, 60, 170, 0.45) 40%,
      rgba(26, 60, 170, 0.12) 70%,
      rgba(26, 60, 170, 0.00) 100%),
    url("../img/spedice-future.jpg") center/cover no-repeat;
  color: #fff;
}

.sped-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
}

.sped-hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 0.7rem;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.sped-hero-text p {
  color: rgba(245, 248, 255, 0.95);
  font-size: 1.05rem;
  max-width: 48ch;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* === SPED BADGES === */

.sped-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  align-content: start;
  justify-items: stretch;
}

.sped-badge {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  line-height: 1.2;

  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

@media (max-width: 520px) {
  .sped-hero-badges { grid-template-columns: 1fr; }
}

/* sekce nadpis */
.sped-section { padding: 2.2rem 0; }

.section-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.6rem;
}

.section-head .sub {
  color: #555;
  margin: 0;
}

/* feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease;
}

.feature-card:hover {   
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  background: #ffffff; }

.feature-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.feature-icon { font-size: 1.35rem; }

.feature-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.mini-list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}

.mini-list li {
  margin: 0.25rem 0;
  color: #333;
}

/* steps / timeline */
.sped-steps-wrap {
  background: linear-gradient(180deg, #f2f6ff, #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.steps > .step{
  grid-column: span 2; /* každá karta zabere 2/6 => 3 karty v řádku */
}
.steps > .step:nth-child(4){
  grid-column: 2 / span 2; /* posun doprava */
}
.steps > .step:nth-child(5){
  grid-column: 4 / span 2;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease;
}
.step:hover  {   
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  background: #ffffff; }

.step-no {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
}

.step h4 { margin: 0.1rem 0 0.2rem; }

.step p {
  margin: 0;
  color: #444;
}

/* why cards */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.whyy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.whyy-card.alt { background: #f7f9ff; }

.checklist.tight li { margin: 0.9rem 0; }

/* stats strip */
.stats-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-big {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-sub {
  font-size: 0.9rem;
  color: #555;
}

/* sped hero outline btn */
.sped-hero .btn-outline {
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;

  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;

  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: 0.22s ease;
}

.sped-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.sped-hero .btn-outline:active { transform: translateY(0); }

/* =========================
   CAREER PAGE REDESIGN
   ========================= */

.career-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(26, 60, 170, 0.80) 0%,
      rgba(26, 60, 170, 0.45) 42%,
      rgba(26, 60, 170, 0.12) 72%,
      rgba(26, 60, 170, 0.00) 100%),
    url("../img/vedla.jpeg") center/cover no-repeat;
  color: #fff;
}

.career-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 0;
}

.career-hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 0.7rem;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.career-hero-text p {
  color: rgba(245, 248, 255, 0.95);
  font-size: 1.05rem;
  max-width: 50ch;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* badges */
.career-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  justify-items: stretch;
}

.career-badge {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;

  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* sections */
.career-section { padding: 2.2rem 0; }

/* benefit cards */
.career-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.career-feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease;
}
.career-feature-card:hover  {   
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  background: #ffffff; }


/* job area */
.career-job-wrap {
  background: linear-gradient(180deg, #f2f6ff, #fff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.career-job-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.career-job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.career-job-card h2 { margin-top: 0; }

.job-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

.checklist.tight li { margin: 0.9rem 0; }

.job-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.career-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
  height: fit-content;
}

.side-stat {
  background: #f7f9ff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.8rem;
  text-align: center;
  margin: 0.6rem 0;
}

.side-stat .stat-big {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.side-stat .stat-sub {
  font-size: 0.9rem;
  color: #555;
}

/* steps bg */
.career-steps-wrap { background: #fff; }

/* career hero outline btn */
.career-hero-text .btn-outline {
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;

  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;

  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: 0.22s ease;
}

.career-hero-text .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* =========================
   SERVICE SUBPAGES (hero + badges)
   ========================= */
/* Kontejner pro karty služeb */
.services .cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* Jednotlivá karta */
.services .card {
  flex: 0 1 260px;        /* pevná „dlaždice“, ale responzivní */
  max-width: 280px;
  text-align: left;
}

.service-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg,
      rgba(26, 60, 170, 0.80) 0%,
      rgba(26, 60, 170, 0.45) 40%,
      rgba(26, 60, 170, 0.12) 70%,
      rgba(26, 60, 170, 0.00) 100%),
    url("../img/hero-truck.jpeg") center/cover no-repeat;
  color: #fff;
}

.service-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 0;
}

.service-hero-text h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0 0 0.7rem;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.service-hero-text p {
  color: rgba(245, 248, 255, 0.95);
  font-size: 1.05rem;
  max-width: 52ch;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.service-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  justify-items: stretch;
}

.service-badge {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;

  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.service-hero .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,  0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.service-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .service-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .service-hero-badges { grid-template-columns: 1fr; }
}

/* Active */
.career-hero-text .btn-outline:active { transform: translateY(0); }

/* responsive */
@media (max-width: 900px) {
  .career-hero-inner { grid-template-columns: 1fr; }
  .career-job-grid { grid-template-columns: 1fr; }
  .job-split { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .career-hero-badges { grid-template-columns: 1fr; }
}

/* responsive */
@media (max-width: 900px) {
  .sped-hero-inner { grid-template-columns: 1fr; }
  .sped-hero-badges { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .sped-hero-badges { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
}

/* ========================= */
/* CONTACTS / FORM / MAP     */
/* ========================= */

.contact-form {
  display: grid;
  gap: 0.9rem;
  max-width: 640px;
}

/* label = nadpis + pole pod sebou */
.contact-form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* samotné inputy/textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}

/* textarea trochu vyšší + možnost měnit výšku */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* tlačítko + poznámka pod */
/* Tlačítko v kontaktním formuláři */

.contact-form button,
.contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;

  padding: 0.75rem 1.6rem;
  border-radius: 999px;

  background:var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;

  box-shadow: 0 10px 25px rgba(9, 22, 80, 0.25);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    opacity 0.16s ease;
}

/* Hover efekt – lehké nadzvednutí a víc shadow */
.contact-form button:hover,
.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(9, 22, 80, 0.35);
  opacity: 0.95;
}

/* Aktivní stav – „kliknutí“ */
.contact-form button:active,
.contact-form .btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(9, 22, 80, 0.35);
  opacity: 0.9;
}

/* Pro klávesnici – ať je focus vidět, ale ne hnusný */
.contact-form button:focus-visible,
.contact-form .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(26, 60, 170, 0.7);
}

.contact-form .note {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #666;
}

/* mapa v pravém boxu */
.map iframe {
  border-radius: 1rem;
  width: 100%;
  height: 240px;
}

/* ========================= */
/* KONTAKTY – VIZITKOVÉ KARTY */
/* ========================= */

.contacts-layout {
  padding: 2rem 0;
}

.contact-group {
  background: #fff;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.4rem;
}

.contact-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.6rem;
}

.contact-group-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-group-note {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

/* Řádky vizitek uvnitř skupiny */
.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

/* Jednotlivá kartička kontaktu */
.contact-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 10px 30px rgba(9, 22, 80, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-tag {
  align-self: flex-start;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-name {
  margin: 0;
  font-size: 1.1rem;
  color: #1b2555;
}

.contact-role {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.contact-address {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
}

/* Meta řádky (telefon, e-mail…) */
.contact-meta {
  margin: 0.3rem 0 0;
}

.contact-meta-row {
  display: flex;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.contact-meta-row dt {
  font-weight: 600;
  color: #555;
}

.contact-meta-row dd {
  margin: 0;
}

.contact-card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Jazykové / funkční „čipy“ */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.3rem 0 0.2rem;
}

.chip {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 60, 170, 0.08);
  font-size: 0.75rem;
  color: #444;
  background: #fff;
  }


.flag-icon {
  width: 16px;      /* klidně změň na 14/18 podle oka */
  height: 11px;     /* u SVG klidně auto */
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);

}

.chip--accent {
  background: rgba(26, 60, 170, 0.06);
  border-color: rgba(26, 60, 170, 0.25);
  font-weight: 600;
}

/* Jemné zmenšení odsazení u jednoduchých skupin */
.contact-group--simple {
  padding-top: 1.1rem;
}

/* Responzivita pro menší displeje */
@media (max-width: 700px) {
  .contacts-layout {
    padding: 1.5rem 0;
  }

  .contact-group {
    padding: 1.1rem 1.1rem;
  }
}

.contact-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 10px 30px rgba(9, 22, 80, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              border-color 0.18s ease, background-color 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(9, 22, 80, 0.12);
  border-color: rgba(26, 60, 170, 0.25);
  background: #ffffff;
}
.contact-row--center {
  display: flex;
  justify-content: center;
}

.contact-row--center .contact-card {
  max-width: 420px;
  width: 100%;
}


/* ========================= */
/* FOOTER                     */
/* ========================= */

.site-footer {
  background: #0d205f;
  color: #e6ecff;
  margin-top: 2rem;
}

.site-footer a { color: #e6ecff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.4rem;
  padding: 1.6rem 0;
}

.footer-bottom {
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-inner,
  .fleet-inner,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= */
/* GALLERY RESPONSIVE         */
/* ========================= */

.gallery .ph { height: 480px; }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery .ph { aspect-ratio: 1 / 1; }
}

/* --- NAV: lepšie submenu (hover area, caret, prehľadnosť) --- */

.has-sub { position: relative; }

.has-sub > a {
  position: relative;
  padding-right: 1.2rem;
}

.has-sub > a::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.7;
}

.has-sub .sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  min-width: 240px;
  z-index: 25;
  list-style: none;
}

.has-sub:hover .sub,
.has-sub:focus-within .sub { display: block; }

.has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.has-sub .sub li a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
}

.has-sub .sub li a:hover { background: var(--card); }

@media (max-width: 900px) {
  .has-sub .sub {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    min-width: unset;
  }
}

/* --- Obrázkové boxy: iPhone-friendly pomery strán (vozový park, galéria) --- */

.thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e9eefc;
  border: 1px dashed #bfc9f8;
  border-radius: 0.75rem;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@supports not (aspect-ratio: 16/9) {
  .thumb {
    position: relative;
    padding-top: 56.25%;
  }

  .thumb img { position: absolute; inset: 0; }
}

/* Galéria – trojstĺpec desktop, lepšie výšky na mobile */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.ph {
  background: #e9eefc;
  border: 1px dashed #bfc9f8;
  border-radius: 0.75rem;
  overflow: hidden;
}

.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16/9;
}

@supports not (aspect-ratio: 16/9) {
  .ph {
    position: relative;
    padding-top: 56.25%;
  }

  .ph img { position: absolute; inset: 0; }
}

.info-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  font-family: "Inter", sans-serif;
}

.info-box h2 {
  font-size: 26px;
  margin-bottom: 22px;
  border-left: 4px solid var(--brand);
  padding-left: 12px;
}
