/* == CUSTOM PROPERTIES == */
:root {
  /* ČERVENÁ PALETA PODLE NOVÉHO LOGA */
  --color-primary: #df1a1a;
  --color-primary-dark: #b31515;

  /* ZLATÁ BARVA PRO HVĚZDIČKY */
  --color-gold: #f5a800;

  --color-dark: #121212;
  --color-dark-2: #121212; /* Upraveno na R:18, G:18, B:18 */
  --color-dark-3: #2a2a2a;
  --color-light: #ffffff;
  --color-text-muted: #b0b0b0;
  --color-bg-light: #f9f9f9;
  --color-border: #e0e0e0;

  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* == RESET & BASE == */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  font-size: clamp(16px, 0.85vw, 20px);
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* == TYPOGRAPHY == */
h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--color-dark);
}

.text-white {
  color: var(--color-light) !important;
}
.text-primary {
  color: var(--color-primary) !important;
}
.text-gold {
  color: var(--color-gold) !important;
}

/* == LAYOUT UTILITIES == */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

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

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

.section--dark-2 {
  background-color: var(--color-dark-2);
  color: var(--color-light);
}

.section--dark-3 {
  background-color: var(--color-dark-3);
  color: var(--color-light);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__subtitle {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section__title {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 800;
  text-transform: none;
  color: var(--color-dark);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section--dark-2 .section__title,
.section--dark-3 .section__title {
  color: var(--color-light);
}

.section__divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
}

.services__section-subtitle {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 20px;
  text-align: center;
}

/* == BUTTONS == */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn--pill {
  border-radius: 50px;
}

.btn--small {
  padding: 8px 18px;
  font-size: 13px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--primary-flip {
  background-color: var(--color-primary);
  color: var(--color-light);
  border: none;
}

.btn--primary-flip:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn--outline-primary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline-primary:hover {
  background-color: rgba(223, 26, 26, 0.1);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-light);
  transform: translateY(-2px);
}

/* == HEADER & NAV == */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  padding: 20px 0;
}

.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled {
  background-color: rgba(18, 18, 18, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}

.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav__logo {
  display: block;
  width: clamp(70px, 4vw, 110px);
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  margin-right: clamp(30px, 2.5vw, 70px);
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(40px, 2.5vw, 70px);
}

.nav__link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(13px, 0.75vw, 16px);
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  padding-bottom: 6px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: var(--color-light);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: var(--color-light);
}

.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-light);
  cursor: pointer;
}

/* == HERO == */
.hero {
  background-color: var(--color-dark);
  background-image: url("obrazky/pozadi.jpg");
  background-size: cover;
  background-position: 100% 10%;
  background-repeat: no-repeat;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: 65vh;
  padding-top: 120px;
  padding-bottom: 7vw;
}

.hero__content {
  text-align: left;
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(38px, 3vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: none;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__subtitle {
  color: var(--color-text-muted);
  font-size: 18px;
  max-width: 540px;
  margin: 0 0 45px 0;
}

.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

/* == SERVICES == */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services__card {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all 0.4s ease;
  border-radius: 8px;
}

.services__card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.services__icon {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.services__card-title {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 20px;
  margin-bottom: 12px;
}

.services__card-text {
  color: #666;
  font-size: 15px;
}

/* Pagination container (Zobrazeno pouze na menších zařízeních) */
.services-pagination {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px;
}
.services-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-border);
  border-radius: 50px; /* Pill shape */
  cursor: pointer;
  transition: all 0.3s ease;
}
.services-dot.active {
  background-color: var(--color-primary);
  width: 24px; /* Namísto scale() se kulička protáhne, což eliminuje oříznutí */
}

/* == ABOUT == */
.about__grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 60px;
  align-items: center;
}

.about__content {
  border-left: 4px solid var(--color-primary);
  padding-left: 30px;
}

.about__text {
  color: #666;
  margin-bottom: 20px;
}

.about__image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-text-muted);
  font-size: 24px;
}

/* == STATS (Desktop) == */
.stats {
  padding: 80px 0;
  overflow: hidden; /* Pojistka pro posouvání na mobilu */
}

.stats__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats__track {
  display: flex;
}

.stats__group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

/* Skrytí duplikovaného bloku na desktopu a tabletu */
.stats__group[aria-hidden="true"] {
  display: none;
}

.stats__item {
  text-align: center;
}

.stats__number {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stats__label {
  font-size: 14px;
  color: var(--color-dark);
  font-weight: 500;
}

/* == PROCESS (Desktop) == */
.process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process__grid::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed var(--color-primary);
  opacity: 0.3;
  z-index: 1;
}

.process__step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-light);
  color: var(--color-primary);
  font-size: 24px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid var(--color-primary);
  position: relative;
  z-index: 2;
}

.process__title {
  font-size: 18px;
}

/* == REGION == */
.region {
  overflow: hidden;
}

.region__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.region__text {
  color: #666;
  margin-bottom: 30px;
}

.region__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.region__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-dark);
}

.region__icon {
  color: var(--color-primary);
}

.region__visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.region__blob {
  width: 260px;
  height: 260px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-dark)
  );
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 31% 69% 22% 78% / 65% 26% 74% 35%;
  box-shadow:
    10px 15px 35px rgba(0, 0, 0, 0.1),
    0 0 60px rgba(223, 26, 26, 0.2),
    inset -12px -12px 24px rgba(0, 0, 0, 0.15),
    inset 12px 12px 24px rgba(255, 255, 255, 0.3);
}

.region__dot {
  width: 14px;
  height: 14px;
  background-color: var(--color-light);
  border-radius: 50%;
  margin-bottom: 12px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: pulseDot 2s infinite;
}

.region__label {
  color: var(--color-light);
  font-family: var(--font-heading);
  font-size: 26px;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* ========================================= */
/* == REFERENCES CARDS & BACKGROUND == */
/* ========================================= */

.references {
  background-color: rgb(18, 18, 18); /* R:18, G:18, B:18 */
  background-image: url("obrazky/pozadi-reference.jpg");

  /* Obrázek se nenatahuje, je přichycen nahoře */
  background-size: 100% auto;
  background-position: top center;

  background-repeat: no-repeat;
  position: relative;
}

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

.ref-card {
  background-color: var(--color-light);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ref-card__img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: var(--color-border);
}

.ref-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ref-card:hover .ref-card__img {
  transform: scale(1.05);
}

.ref-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ref-card:hover .ref-card__overlay {
  opacity: 1;
}

.ref-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
}

.ref-card__badge {
  background-color: var(--color-primary);
  color: var(--color-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  display: inline-block;
}

.ref-card__title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-dark);
  line-height: 1.3;
}

.ref-card__meta {
  color: #888;
  font-size: 14px;
  margin-top: auto;
}

/* ========================================= */
/* == REVIEWS == */
/* ========================================= */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reviews__card {
  background-color: var(--color-dark-2);
  border: 1px solid var(--color-dark-2);
  padding: 2.5rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}

.reviews__card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
}

.reviews__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.reviews__text {
  color: var(--color-text-muted);
  font-size: 15px;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
}

.reviews__author {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.reviews__author h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.reviews__role {
  color: var(--color-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* ========================================= */
/* == CONTACT == */
/* ========================================= */
.contact__grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 80px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

#kontakt {
  scroll-margin-top: 110px;
}

/* Omezíme oběma polovinám roztažení, aby to neutíkalo do stran */
.contact__form {
  flex: 1;
  width: 100%;
  max-width: 450px;
}

.contact__info {
  flex: 1;
  width: 100%;
  max-width: 350px;
}

.form__group {
  margin-bottom: 30px;
}

.form__group--hp {
  display: none;
}

.form__input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-dark);
  text-transform: none;
  transition: border-color 0.6s ease;
}

.form__input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.form__input::placeholder {
  color: var(--color-text-muted);
}

textarea.form__input {
  resize: vertical;
  min-height: 100px;
}

.form__consent {
  margin-top: -8px;
  margin-bottom: 24px;
}

.form__checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: flex-start;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
}

.form__checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
}

.form__status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.form__status--success {
  color: #1f8f4d;
}

.form__status--error {
  color: var(--color-primary);
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact__icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.contact__details h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.contact__details p {
  color: #666;
}

/* PÁS MAPY (Celá šířka okna, pod kontakty) */
.contact-map-band {
  width: 100%;
  height: 450px;
  display: block;
  line-height: 0;
}

.contact-map-band iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========================================= */
/* == FOOTER == */
/* ========================================= */
.footer {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 70px 0 30px;
  border-top: 4px solid var(--color-primary);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer__logo {
  display: inline-block;
  width: 150px;
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}

.footer__logo:hover {
  opacity: 0.85;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 350px;
}

.footer__title {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--color-light);
  position: relative;
  padding-bottom: 10px;
}

.footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

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

.footer__links a {
  color: var(--color-text-muted);
  font-size: 15px;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.footer__contact-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer__copy {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* == ANIMATIONS == */
.animate-up {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.05s;
}
.delay-2 {
  transition-delay: 0.1s;
}
.delay-3 {
  transition-delay: 0.15s;
}
.delay-4 {
  transition-delay: 0.2s;
}
.delay-5 {
  transition-delay: 0.25s;
}
.delay-6 {
  transition-delay: 0.3s;
}

/* == MEDIA QUERIES == */
@media (max-width: 1024px) {
  /* Skrytí pozadí pro Hero a Reference natvrdo barvou! */
  .hero {
    background: var(--color-dark) !important;
  }
  .references {
    background: var(--color-dark-2) !important;
  }

  .hero__content {
    text-align: center;
    max-width: 100%;
  }
  .hero__subtitle {
    max-width: 100%;
    margin: 0 auto 45px auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__title {
    font-size: 52px;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .nav__list {
    gap: 15px;
  }

  /* Region sekce tablet */
  .region__content {
    text-align: center;
  }
  .region__title {
    text-align: center !important;
    margin-bottom: 20px !important;
  }
  .region__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .region__grid {
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: 15px 40px;
    margin: 0 auto;
  }
  .region__item {
    justify-content: flex-start;
  }

  .references__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    flex-direction: column;
    gap: 50px;
  }
  .contact__form,
  .contact__info {
    max-width: 100%;
  }

  /* Footer tablet */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--brand {
    grid-column: span 2;
  }
  .footer__desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Zajištění skrytí pro Hero a Reference i zde, pro jistotu */
  .hero {
    background: var(--color-dark) !important;
  }

  #kontakt {
    scroll-margin-top: 90px;
  }

  .references {
    background: var(--color-dark-2) !important;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
  }

  .nav__toggle {
    display: block;
    position: relative;
    z-index: 1005; /* Bude nad overlay menu */
  }

  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 80px;
    z-index: 1005; /* Logo vycentrované a nad overlay menu */
  }

  .nav__list {
    position: fixed;
    top: 0; /* Menu začíná úplně nahoře */
    left: -100%;
    width: 100%;
    height: calc(100vh + 14vw);
    height: calc(100dvh + 14vw);
    background-color: var(--color-dark); /* Stejná barva jako Hero */
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 10vw),
      0 100%
    ); /* Stejné zkosení */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 80px 20px 40px; /* Místo pro header */
    transition: left 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav__list--active {
    left: 0;
  }

  .nav__link {
    font-size: 22px; /* Výraznější linky pro full screen menu */
  }

  .hero__inner {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 15vw;
  }

  .hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10vw), 0 100%);
  }

  .hero__title {
    font-size: 38px;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Stats Marquee */
  .stats {
    padding: 60px 0;
  }
  .stats__container {
    padding: 0;
  }
  .stats__track {
    display: flex;
    width: fit-content;
    animation: statsMarquee 15s linear infinite;
  }
  .stats__group {
    display: flex;
    width: auto;
    gap: 50px;
    padding-right: 50px;
  }
  .stats__group[aria-hidden="true"] {
    display: flex;
  }
  .stats__item {
    min-width: 140px;
  }
  @keyframes statsMarquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  .services__grid,
  .references__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  /* Slider pro služby */
  .services-slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 5px;
  }
  .services__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .services__grid::-webkit-scrollbar {
    display: none;
  }
  .services__card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }
  .services-pagination {
    display: flex;
  }

  /* Procesní grid - kartičky na sebe */
  .process__grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .process__grid::after {
    display: none !important;
  }
  .process__step {
    display: flex;
    align-items: center;
    text-align: left;
    background-color: var(--color-bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
  }
  .process__number {
    margin: 0 20px 0 0;
    width: 46px;
    height: 46px;
    font-size: 20px;
    flex-shrink: 0;
  }
  .process__title {
    background-color: transparent;
    padding: 0;
    margin: 0;
  }

  /* Region sekce mobil */
  .region__content {
    text-align: center;
  }
  .region__title {
    text-align: center !important;
    margin-bottom: 20px !important;
  }
  .region__blob {
    width: 200px;
    height: 200px;
  }
  .region__visual {
    display: none;
  }
  .region__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .region__grid {
    grid-template-columns: max-content max-content;
    justify-content: center;
    gap: 20px 30px;
    margin: 0 auto;
    text-align: left;
  }
  .region__item {
    justify-content: flex-start;
  }

  .contact__grid {
    gap: 40px;
  }
  .contact-map-band {
    height: 350px;
  }

  .delay-1,
  .delay-2,
  .delay-3,
  .delay-4,
  .delay-5,
  .delay-6 {
    transition-delay: 0s !important;
  }

  .ref-modal__hero {
    height: 250px;
  }
  .ref-modal__header,
  .ref-modal__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Footer mobily */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__col--brand {
    grid-column: span 1;
  }
}

/* ========================================= */
/* == REVIEWS SLIDER == */
/* ========================================= */
.reviews-slider-container {
  position: relative;
  width: 100%;
}

.reviews-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

.reviews__grid.is-slider {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 30px;
  transition: transform 0.8s ease-in-out;
}

.reviews__grid.is-slider > .reviews__card {
  flex: 0 0 calc((100% - 60px) / 3);
}

@media (max-width: 992px) {
  .reviews__grid.is-slider > .reviews__card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

@media (max-width: 768px) {
  .reviews__grid.is-slider > .reviews__card {
    flex: 0 0 100%;
  }
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition:
    background 0.3s,
    transform 0.3s;
}

.slider-arrow:hover {
  background: var(--color-primary-dark);
  transform: translateY(-50%) scale(1.1);
}

#review-prev {
  left: -22px;
}
#review-next {
  right: -22px;
}

@media (max-width: 768px) {
  #review-prev {
    left: -10px;
  }
  #review-next {
    right: -10px;
  }
}

/* ========================================= */
/* == REFERENCE MODAL (VYSKAKOVACÍ OKNO) == */
/* ========================================= */
.ref-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.ref-modal.active {
  opacity: 1;
  pointer-events: all;
}

.ref-modal__content {
  background: var(--color-light);
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ref-modal.active .ref-modal__content {
  transform: translateY(0);
}

.ref-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.ref-modal__close:hover {
  background: var(--color-primary);
  color: var(--color-light);
  transform: scale(1.05);
}

.ref-modal__hero {
  width: 100%;
  height: 350px;
  flex-shrink: 0;
}

.ref-modal__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ref-modal__header {
  padding: 35px 35px 15px 35px;
}

.ref-modal__body {
  padding: 0 35px 35px 35px;
  overflow-y: auto;
}

.ref-modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.ref-modal__gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

/* ========================================= */
/* == LIGHTBOX PRO ZVĚTŠENÍ FOTEK S ŠIPKAMI == */
/* ========================================= */
.lightbox {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  opacity: 1;
}

.lightbox__content {
  max-width: calc(100% - 140px);
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  z-index: 3001;
}

.lightbox__close:hover {
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Šipky pro Lightbox */
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3001;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--color-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__prev {
  left: 20px;
}
.lightbox__next {
  right: 20px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Kurzory pro fotky v modalu */
.ref-modal__gallery img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.ref-modal__gallery img:hover {
  opacity: 0.7;
}

/* Responsivita šipek na mobilech */
@media (max-width: 768px) {
  .lightbox__content {
    max-width: 100%;
    max-height: 80vh;
  }
  .lightbox__prev {
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .lightbox__next {
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
