@charset "UTF-8";

* {
  box-sizing: border-box;
}

/* variables */

:root {
  --font-primary: "aktiv-grotesk", sans-serif;
  --font-heading: "Inter", sans-serif;
  --font-secondary: "Cormorant Garamond", serif;
  --light-brown: #ebe5e3;
  --primary-color: #3a2923;
  --padding-from-sides: 6vw;
  --light-blue: #c3dbdf;
  --light-blue-rgb: 195, 219, 223;
  --blue: #30b6be;
  --dark-brown: #27140d;
  --darker-brown: #a49583;
  --lighter-brown: #cdc6c3;
  --gray: #ccc;
  --light-gray: #eee;
  --beige: #d7c8b4;
  --size-primary: 1.3rem;
  /* Mobilní pozicování obrázků pro specialization_item komponenty */
  /*
   * PŘÍKLADY POUŽITÍ:
   * --mobile-image-1-x: left;     // Obrázek zarovnán vlevo
   * --mobile-image-1-x: right;    // Obrázek zarovnán vpravo
   * --mobile-image-1-x: 30%;      // Obrázek posunut na 30% zleva
   * --mobile-image-1-y: top;      // Obrázek zarovnán nahoře
   * --mobile-image-1-y: bottom;   // Obrázek zarovnán dole
   * --mobile-image-1-y: 20%;      // Obrázek posunut na 20% shora
   */
  --mobile-image-1-x: 32%;
  --mobile-image-1-y: center;
  --mobile-image-2-x: 45%;
  --mobile-image-2-y: center;
  --mobile-image-3-x: 25%;
  --mobile-image-3-y: center;
  --mobile-image-4-x: center;
  --mobile-image-4-y: center;
}

@media (max-width: 1199px) {
  :root {
    --padding-from-sides: 3vw;
  }
}

.large_paragraph {
  font-size: 1.6rem;
}

.brown_header .menu:not(.scrolled) {
  background: var(--light-brown) !important;
}

.beige_header {
  background: var(--beige) !important;
}

.beige_header .menu:not(.scrolled) {
  background: var(--beige) !important;
}

.lightblue_header {
  background: var(--light-blue) !important;
}

.lightblue_header .menu:not(.scrolled) {
  background: var(--light-blue) !important;
}

/* Oprava pro reference stránku - zajistit brown header */

.brown_header {
  background: var(--light-brown) !important;
}

.brown_header .menu:not(.scrolled) {
  background: var(--light-brown) !important;
}

.background_beige {
  background: var(--beige) !important;
}

.background_brown {
  background: var(--light-brown) !important;
}

.transparent_header .menu:not(.scrolled) {
  background: transparent !important;
}

.default_padding_top_bottom {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.default_padding_bottom {
  padding-bottom: 10rem;
}

.margin_none {
  margin: 0 !important;
}

html {
  background: #fff;
}

body {
  font-family: var(--font-primary);
  font-optical-sizing: auto;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-style: normal;
  font-size: var(--size-primary);
  color: var(--primary-color);
  background: var(--light-brown);
  max-width: 2400px;
  margin: 0 auto;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 107px;
}

@media (min-width: 991px) and (max-width: 1199px) {
  body {
    padding-top: 80px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 60px;
  }
}

table {
  width: 100%;
}

table tr td {
  padding: 1rem;
  padding-left: 0;
  line-height: 1;
  position: relative;
}

table tr td:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 1rem + 1px);
  height: 1px;
  background: var(--primary-color);
}

table tr:last-child td:after {
  display: none;
}

a {
  transition: 0.3s;
}

a:hover {
  text-decoration: none !important;
}

img {
  max-width: 100%;
}

ul {
  list-style-position: outside;
  padding-left: 1rem;
}

.img_cover {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.block_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  transition: 0.5s;
}

/* Specifický z-index pro Experiences video overlay */

.experiences_video_container .block_overlay {
  z-index: 2;
}

.section_effect_grow_text {
  transition: 0.5s;
  opacity: 0;
}

.block_overlay__right {
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.block_overlay__left {
  background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
}

button,
a {
  cursor: pointer;
  font-family: var(--font-primary);
  color: var(--primary-color);
  text-decoration: none;
}

button:not(.btn):hover,
button:not(.btn):focus,
button:not(.btn):active,
a:not(.btn):hover,
a:not(.btn):focus,
a:not(.btn):active {
  text-decoration: underline;
}

.spacer {
  height: 8rem;
}

.indented-line {
  margin-left: 5.5rem;
}

.center_content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

.image_paralax__bottom_top {
  transform: translateY(10vh);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: 4rem;
  max-width: 90%;
}

h2,
.h2 {
  font-size: 3.8rem;
}

h3,
.h3 {
  font-size: 2.5rem;
}

h4,
.h4 {
  font-size: 2.2rem;
}

.little_heading {
  font-size: 1rem !important;
  font-weight: 600;
}

.section_heading,
.footer,
.form_container {
  padding-left: var(--padding-from-sides);
  padding-right: var(--padding-from-sides);
}

@media (max-width: 768px) {
  .section_heading {
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: 3rem !important;
  }
}

@media (max-width: 480px) {
  .section_heading {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 2rem !important;
  }
}

section {
  min-height: 100dvh;
  position: relative;
  z-index: 1;
}

.section_paddinged {
  padding-left: var(--padding-from-sides);
  padding-right: var(--padding-from-sides);
}

.overflow-hidden {
  overflow: hidden;
}

.arrow-white-path {
  fill: #ffffff;
}

.path-logo-empate-white {
  fill: #ffffff;
}

/* buttons */

.btn {
  border: 1px solid var(--primary-color);
  padding: 8px 20px;
  line-height: 1;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 2rem;
  text-transform: uppercase;
  position: relative;
  background: transparent;
  display: inline-block;
}

.btn .btn_inner {
  display: flex;
  align-items: center;
}

.btn svg {
  width: 20px;
  margin-left: 5px;
}

.btn svg path {
  fill: var(--primary-color);
}

.btn.btn_text {
  display: inline-block;
}

.btn.btn_arrow_diagon svg {
  rotate: -45deg;
}

.btn.btn_big {
  padding: 12.7px 20px;
}

.btn.btn_big svg {
  width: 26px;
  margin-left: 10px;
}

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

.btn.btn_dark svg path {
  fill: var(--light-brown);
}

.btn.btn_white {
  color: #fff;
  border-color: #fff;
}

.btn.btn_white svg path {
  fill: #fff;
}

.btn_arrow {
  width: 20px;
  display: inline-block;
  height: 10px;
  margin: 0 5px;
}

.btn_arrow_round {
  border: 1px solid;
  border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
  border-radius: 2rem;
  padding: 14px 32px;
  display: inline-block;
  transition: border-color 0.3s ease;
}

.btn_arrow_round:hover {
  border-color: var(--primary-color);
}

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

.btn_arrow_round a > div:first-child {
  position: relative;
  top: 1px;
}

.btn_arrow_round .btn_inner {
  padding: 0 0 0 40px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.btn_arrow_round .btn_inner .text {
  display: block;
  line-height: 1;
  transform: translateX(0) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round .next-arrow {
  position: absolute;
  left: 25px;
  top: 50%;
  width: 6px;
  transform: translateY(calc(-50% + 0.5px)) translateX(0) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round .next-arrow polyline {
  stroke: currentColor;
  stroke-dashoffset: 140px;
  stroke-dasharray: 140px;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round .line {
  height: 1px;
  width: 27px;
  position: absolute;
  left: 0;
  display: block;
  top: 50%;
  background-color: currentColor;
  transform: translateY(calc(-50% + 0.5px)) translateZ(0);
  transform-origin: left;
  transform: scaleX(1) translateY(calc(-50% + 0.5px)) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round:hover .text {
  transform: translateX(6px) translateZ(0);
  transition-delay: 0.2s;
}

.btn_arrow_round:hover .next-arrow {
  transform: translateY(calc(-50% + 0.5px)) translateX(-3px) translateZ(0);
  transition-delay: 0.2s;
}

.btn_arrow_round:hover .next-arrow polyline {
  stroke-dashoffset: 10px;
  transition-delay: 0.2s;
}

.btn_arrow_round:hover .line {
  animation: lineRedraw 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) forwards;
}

.btn_arrow_round_reference {
  border: 1px solid;
  border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
  border-radius: 2rem;
  padding: 14px 32px;
  display: inline-block;
  transition: border-color 0.3s ease;
}

.btn_arrow_round_reference:hover {
  border-color: var(--primary-color);
}

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

.btn_arrow_round_reference a > div:first-child {
  position: relative;
  top: 1px;
}

.btn_arrow_round_reference .btn_inner {
  padding: 0 0 0 40px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.btn_arrow_round_reference .btn_inner .text {
  display: block;
  line-height: 1;
  transform: translateX(0) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round_reference .next-arrow {
  position: absolute;
  left: 25px;
  top: 50%;
  width: 6px;
  transform: translateY(calc(-50% + 0.5px)) translateX(3px) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round_reference .next-arrow polyline {
  stroke: currentColor;
  stroke-dashoffset: 140px;
  stroke-dasharray: 140px;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round_reference .line {
  height: 1px;
  width: 27px;
  position: absolute;
  left: 0;
  display: block;
  top: 50%;
  background-color: currentColor;
  transform: translateY(calc(-50% + 0.5px)) translateZ(0);
  transform-origin: left;
  transform: scaleX(1) translateY(calc(-50% + 0.5px)) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

.btn_arrow_round_reference:hover .text {
  transform: translateX(6px) translateZ(0);
  transition-delay: 0.2s;
}

.btn_arrow_round_reference:hover .next-arrow {
  transform: translateY(calc(-50% + 0.5px)) translateX(8px) translateZ(0);
  transition-delay: 0.2s;
}

.btn_arrow_round_reference:hover .next-arrow polyline {
  stroke-dashoffset: 10px;
  transition-delay: 0.2s;
}

.btn_arrow_round_reference:hover .line {
  animation: lineRedraw 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) forwards;
}

.btn_arrow_round_white {
  border-color: color-mix(in srgb, white 40%, transparent);
  color: white;
}

.btn_arrow_round_white:hover {
  border-color: white;
}

.btn_arrow_round_white .next-arrow {
  left: 30px;
}

.btn_arrow_round_white .next-arrow polyline {
  stroke: white;
}

.btn_arrow_round_white .line {
  background-color: white;
}

@keyframes lineRedraw {
  0% {
    transform: scaleX(1) translateY(calc(-50% + 0.5px)) translateZ(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(0) translateY(calc(-50% + 0.5px)) translateZ(0);
    transform-origin: right;
  }

  51% {
    transform-origin: left;
  }

  100% {
    transform: scaleX(1.2) translateY(calc(-50% + 0.5px)) translateZ(0);
    transform-origin: left;
  }
}

.link {
  text-decoration: none;
  color: var(--primary-color);
  text-transform: uppercase;
}

.link span:first-child {
  display: inline-block;
  position: relative;
}

.link span:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
}

/* menu */

.menu_hamburger {
  display: none;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--light-blue);
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

.menu.scrolled {
  background: rgba(255, 255, 255, 0) !important;
  -webkit-backdrop-filter: blur(15px) !important;
          backdrop-filter: blur(15px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.menu.scrolled .menu_content {
  padding: 0.6rem var(--padding-from-sides);
}

.menu.scrolled .menu_logo svg {
  height: 40px;
  width: 136px;
}

.menu_logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu_logo a {
  display: flex;
  align-items: center;
  line-height: 1;
}

.menu_logo svg {
  width: 170px;
  height: 50px;
  transition: height 0.3s ease, width 0.3s ease;
  display: block;
}

.menu_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--padding-from-sides);
  transition: padding 0.3s ease;
}

@media (max-width: 768px) {
  .menu_content {
    padding: 0.8rem var(--padding-from-sides);
  }
}

@media (max-width: 480px) {
  .menu_content {
    padding: 0.6rem var(--padding-from-sides);
  }
}

.menu_links > ul {
  display: flex;
  gap: 2rem;
}

.menu_links > ul > li {
  display: inline-block;
}

.menu_links > ul > li a {
  text-decoration: none;
  color: var(--primary-color);
  text-transform: uppercase;
  padding: 0 2rem;
  position: relative;
  font-size: 1.1rem;
  font-weight: 400;
}

.menu_links > ul > li a:hover {
  color: #000;
}

.menu_links > ul > li a:last-child {
  padding-right: 0;
}

.menu_links > ul > li a.active,
.menu_links > ul > li a:hover,
.menu_links > ul > li a:focus,
.menu_links > ul > li a:active {
  text-decoration: none;
}

.menu_links > ul > li a.active::after,
.menu_links > ul > li a:hover::after,
.menu_links > ul > li a:focus::after,
.menu_links > ul > li a:active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2rem;
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--primary-color);
}

.mobile_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--light-blue);
  padding: 30px 5vw;
  overflow-y: auto;
  z-index: 1000;
  text-align: left;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
}

.mobile_menu .mobile_menu__header {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 2rem;
  padding-left: 2rem;
}

.mobile_menu .mobile_menu__close {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 10px 0;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.mobile_menu .mobile_menu__close:hover {
  background-color: rgba(var(--primary-color-rgb), 0.1);
}

.mobile_menu .mobile_menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile_menu ul li {
  display: block;
}

.mobile_menu ul li a {
  display: block;
  padding: 15px 0;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 20px;
  border-bottom: 1px solid var(--primary-color);
  text-transform: uppercase;
  text-align: left;
}

.mobile_menu ul li:last-child a {
  border-bottom: none;
}

.mobile_menu.active {
  transform: translateX(0);
}

/* main */

#main {
  min-height: 0;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
  background: var(--light-blue);
  /* height: 100dvh; */
}

#main .section_heading {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.main_title__label {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  top: 3rem;
}

.main_title {
  margin-bottom: 1rem;
}

/* Animovaný nadpis - písmena vyplují zleva doprava nahoru */

.animated-title {
  overflow: hidden;
}

.animated-line {
  display: inline-block;
}

.animated-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animated-letter.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Zachování mezer mezi slovy */

.animated-letter.space {
  width: 0.3em;
}

/* Zabránění rozdělování slov na mobilních zařízeních */

@media (max-width: 768px) {
  .animated-title {
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-hyphens: none;
            hyphens: none;
  }

  .animated-word {
    display: inline-block;
    white-space: nowrap;
  }
}

.main_subtitle__block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.main_subtitle__block p {
  width: 48%;
}

@media (max-width: 768px) {
  .main_subtitle__block {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .main_subtitle__block p {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .main_subtitle__block {
    gap: 1rem;
  }

  .main_subtitle__block p {
    width: 100% !important;
  }
}

.main_subtitle {
  font-weight: 300;
  font-size: 1.9rem;
  line-height: 1;
}

.main_slider {
  width: 100%;
  height: 50dvh;
}

.main_slider img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.main_slider .contact-main-image {
  -o-object-position: center top;
     object-position: center top;
}

/* Oprava pro mobilní zařízení - použití vh místo dvh kvůli problémům s adresní lištou */

@media (max-width: 768px) {
  #main .main_slider {
    height: 70vh !important;
  }

  #main.main_contact .main_slider {
    height: 50vh !important;
  }
}

#main.main_products__background_image {
  height: 100dvh;
  max-height: 1080px;
  position: relative;
  top: -107px;
  margin-bottom: -107px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  overflow: hidden;
}

#main.main_products__background_image .section_heading {
  width: 40%;
  padding-bottom: 6rem !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  #main.main_products__background_image .section_heading {
    width: 60%;
  }
}

@media (max-width: 768px) {
  #main.main_products__background_image .section_heading {
    width: 80%;
  }
}

@media (max-width: 480px) {
  #main.main_products__background_image .section_heading {
    width: 100%;
  }
}

/* Background image s preload efektem */

.main_products__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main_products__background_img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* about */

#about {
  padding: 6rem var(--padding-from-sides);
  min-height: auto;
}

.about_heading {
  display: flex;
  justify-content: space-between;
}

.about_heading__content {
  width: 60%;
  padding-right: 3%;
  margin-top: 3rem;
  padding-bottom: 4rem;
}

.about_heading__content p {
  width: 80%;
}

.about_heading__home {
  display: flex;
  justify-content: center;
  /*   @media (max-width: 768px) {
    width: 100%;
    padding-bottom: 4rem;
  } */
  /*   @media (max-width: 480px) {
    width: 100%;
    padding-bottom: 3rem;
  } */
}

.about_heading__content__homepage {
  width: 75%;
  padding-bottom: 6rem;
}

@media (max-width: 768px) {
  .about_heading__content__homepage {
    width: 100%;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .about_heading__content__homepage {
    width: 100%;
    padding-bottom: 3rem;
  }
}

.about_heading__content__home {
  width: 75%;
  /* padding-bottom: 2rem; */
}

@media (max-width: 768px) {
  .about_heading__content__home {
    width: 100%;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .about_heading__content__home {
    width: 100%;
    padding-bottom: 3rem;
  }
}

.about_heading__content__home___wider {
  width: 100%;
}

.about_heading__content__home___wider_text {
  display: block;
  /* Změna z flex na block pro normální tok */
  /* justify-content: space-between; - odstraněno */
  /* gap: 5%; - odstraněno */
}

.about_heading__content__home___wider_text > * {
  width: 100%;
  /* Obsah na plnou šířku */
}

.about_heading__label {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  top: -1rem;
}

.about_heading__image {
  margin-top: 3rem;
  width: 37%;
  height: 70vh;
  max-height: calc(100vw * 0.7);
  position: relative;
}

.about_heading__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.about_heading__image svg {
  width: 180px;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
}

.about_items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6rem;
  flex-wrap: wrap;
}

.about_item {
  display: flex;
  flex-direction: column;
  width: 24%;
}

.about_item h3 {
  line-height: 1.5;
  font-size: 3rem;
  margin: 0;
  border-bottom: 2px solid var(--primary-color);
}

.about_item p {
  margin: 0;
  margin-top: 0.5rem;
}

.about_subheading {
  width: 100%;
  margin-top: 4rem;
}

.about_subheading h3 {
  font-size: 4rem;
  text-transform: uppercase;
  margin: 0;
}

.about_items__product {
  justify-content: start;
  gap: 1.5rem;
  flex-direction: column;
  margin-top: 4rem;
}

.about_items__product .about_item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  align-items: baseline;
  border-bottom: 2px solid var(--primary-color);
  width: 100%;
}

.about_items__product .about_item h4 {
  text-transform: none;
  margin: 0 0 1.5rem;
  font-weight: 300;
}

/* citation */

#citation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: auto;
  background-size: cover;
  background-position: center;
  padding: 0 var(--padding-from-sides);
  min-height: 80dvh;
  position: relative;
  overflow: hidden;
  padding: 0 var(--padding-from-sides);
}

#citation.citation_text__left {
  justify-content: flex-start;
}

/* Video styling - padding se zachovává z #citation */

.citation_background_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

/* Overlay styling - skrýt pro video, ale zobrazit když je text */

#citation.citation_video .block_overlay {
  display: block;
}

/* Experiences video section */

.experiences_video_section {
  margin-top: 4rem;
  padding: 0 var(--padding-from-sides);
}

@media (max-width: 768px) {
  .experiences_video_section {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .experiences_video_section {
    padding: 0;
  }
}

.experiences_video_container {
  width: 100%;
  height: 700px;
  /*   margin-bottom: 4rem; */
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Video placeholder s blur efektem */

.video_placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.video_placeholder.hidden {
  opacity: 0;
  pointer-events: none;
}

.video_poster {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.video_poster_fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  display: block;
  position: relative;
}

.video_poster_fallback::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video_poster_fallback::after {
  content: "\25B6";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  z-index: 1;
}

/* Video */

.experiences_video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: relative;
  z-index: 1;
}

.experiences_video.video-loaded {
  opacity: 1;
}

/* Video overlay s textem - posunuto nahoru */

.experiences_video_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 8rem var(--padding-from-sides);
  z-index: 5;
  pointer-events: none;
}

.experiences_video_text {
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
}

/* Responzivní šířka textu na videu */

@media (max-width: 768px) {
  .experiences_video_overlay {
    padding: 8rem 5vw;
  }

  .experiences_video_text {
    width: 100%;
  }
}

.experiences_video_subtitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.subtitle_line {
  width: 40px;
  height: 2px;
  background: white;
}

.subtitle_text {
  font-size: 20.8px;
  font-weight: 300;
  letter-spacing: 2px;
}

.experiences_video_title {
  font-size: 5.8rem;
  font-weight: 250;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

@media (max-width: 480px) {
  .experiences_video_title {
    font-size: 3.2rem;
  }
}

/* Loading overlay */

.video_loading_overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.video_loading_overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video_spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.video_loading_overlay p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.experiences_items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.experiences_item {
  text-align: start;
}

.experiences_item p {
  font-size: 20.8px;
  font-weight: 250;
  color: var(--dark);
  margin: 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

/* Responsive */

@media (max-width: 768px) {
  .experiences_items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .experiences_item h4 {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .experiences_items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Nový styl filtrů s odrážkami */

.filter_group {
  padding: 2rem var(--padding-from-sides) 0 var(--padding-from-sides);
}

.filter_content_bullets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.filter_item_bullet {
  text-align: start;
}

.filter_item_bullet input {
  display: none;
}

.filter_bullet_label {
  font-size: 20.8px;
  font-weight: 250;
  color: var(--dark);
  margin: 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

/* Specifický selektor pro aktivní filtr - používá vlastní třídu filter_active */

#filter
.filter_content_bullets
.filter_item_bullet
.filter_bullet_label.filter_active {
  font-weight: 450 !important;
  color: var(--dark-brown) !important;
  border-bottom: 2px solid var(--primary-color);
}

#filter .filter_content_bullets .filter_item_bullet .filter_bullet_label:hover {
  color: var(--dark-brown) !important;
}

/* Zajistit, že navigace zůstane nezměněná při kliknutí na filtry - pouze když není scrolled */

.brown_header .menu:not(.scrolled),
.brown_header .menu:not(.scrolled) .menu_content,
.brown_header .menu:not(.scrolled) .menu_content .menu_item {
  background: var(--light-brown) !important;
  color: inherit !important;
}

/* Responsive pro filtry */

@media (max-width: 1200px) {
  .filter_bullet_label {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .filter_content_bullets {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .filter_bullet_label {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .filter_content_bullets {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .filter_bullet_label {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .filter_bullet_label {
    font-size: 1.5rem;
  }
}

.citation_section_heading {
  width: 35%;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  color: #fff;
}

.citation_section_title {
  display: flex;
  flex-direction: column;
}

.citation_section_title__content {
  display: flex;
  flex-direction: column;
}

.citation_section_title__content p {
  width: 80%;
}

/* Responzivní úpravy pro citation sekci na notebook/tablet */

@media (max-width: 1440px) and (min-width: 769px) {
  .citation_section_heading {
    width: 45%;
    /* O 1/4 širší než původních 35% */
  }

  .citation_section_title__content p {
    width: 100%;
    /* O 1/4 širší než původních 80% */
  }
}

/* Mobilní responzivita pro citation sekci */

@media (max-width: 768px) {
  .citation_section_heading {
    width: 100%;
    padding: 2rem var(--padding-from-sides);
  }

  .citation_section_title__content p {
    width: 100%;
  }
}

/* Specialization */

#specialization {
  position: relative;
  padding-top: 4rem;
  z-index: 0;
}

.specialization_items {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.specialization_item {
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  margin-bottom: 100dvh;
  overflow: hidden;
}

.specialization_item .specialization_item__content {
  min-height: 100dvh;
  max-height: 100dvh;
}

.specialization_item:last-child {
  max-height: 0;
  min-height: auto;
}

.specialization_item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.specialization_item__header {
  padding: 0 var(--padding-from-sides);
  background: var(--light-brown);
  min-height: 8dvh;
  max-height: 8dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.specialization_item__header h3 {
  line-height: 1;
  margin: 0;
}

.specialization_item__content {
  background-size: cover;
  padding: 0 var(--padding-from-sides);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

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

.specialization_item__content_text {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  color: #fff;
  position: relative;
  z-index: 10;
}

.specialization_item__content_heading {
  font-size: 6rem;
  font-weight: 300;
  font-family: var(--font-primary);
  color: #fff;
  line-height: 1;
}

.specialization_item__content_text_p {
  width: 55%;
}

.specialization_item__content_text_h {
  margin-bottom: 0;
}

.specialization_item__content_button,
.specialization_item__content_text_p,
.specialization_item__content_text_h,
.specialization_item__overlay {
  opacity: 0;
  transition: 0.3s;
}

/* showroom */

#specialization.specialization_showroom .specialization_item {
  min-height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  background: var(--beige);
}

#specialization.specialization_showroom .specialization_item .specialization_item__content {
  display: flex;
  min-height: 100dvh;
  max-height: 100dvh;
  padding: 0;
}

#specialization.specialization_showroom .specialization_item .specialization_item__content > div {
  width: 50%;
  height: 100dvh;
}

#specialization.specialization_showroom .specialization_item .specialization_item__content > div img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.showroom_item__content___text {
  padding: 6rem 8rem 6rem var(--padding-from-sides);
}

/* Slide references */

.slide_references {
  padding: 6rem var(--padding-from-sides);
  min-height: auto;
}

.slide_references__inner {
  display: flex;
  flex-direction: column;
}

.slide_references__item {
  padding: 2rem 0;
  border-top: 2px solid var(--dark-brown);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.slide_references__item:last-child {
  border-bottom: 2px solid var(--dark-brown);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.slide_references__item__full-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
}

.slide_references__item__images {
  width: 30%;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.slide_references__item__images__image {
  aspect-ratio: 7/5;
}

.slide_references__item__images__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.slide_references__item___inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transform: translateX(calc(-30% - 2rem));
  transition: transform 0.5s ease-out;
}

.slide_references__item___inner:last-child {
  padding-bottom: 0;
}

.slide_references__item___inner::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  left: calc(30% + 2rem);
  height: 100%;
  top: 0;
}

.slide_references__item__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 1rem;
}

.slide_references__item__content__title h3.h2,
.slide_references__item__content__title h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.slide_references__item__content__place {
  font-weight: 600;
}

.slide_references__item__button {
  margin-top: auto;
  /* Zajistit, že animace funguje ve slide komponentách */
}

.slide_references__item__button .btn_arrow_round {
  position: relative;
  z-index: 10;
}

.slide_references__item__button .btn_arrow_round:hover .text {
  transform: translateX(6px) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
  transition-delay: 0.2s !important;
}

.slide_references__item__button .btn_arrow_round:hover .next-arrow {
  transform: translateY(calc(-50% + 0.5px)) translateX(3px) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
  transition-delay: 0.2s !important;
}

.slide_references__item__button .btn_arrow_round:hover .next-arrow polyline {
  stroke-dashoffset: 10px !important;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
  transition-delay: 0.2s !important;
}

.slide_references__item__button .btn_arrow_round:hover .line {
  animation: lineRedraw 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) forwards !important;
}

.slide_references__item__link {
  position: absolute;
  width: 2rem;
  height: 2rem;
  top: 2rem;
  right: 0;
  transform: rotate(-45deg);
}

.slide_references__item__link svg {
  width: 100%;
  height: 100%;
}

.slide_references__item__link svg path {
  fill: var(--dark-brown);
}

.slide_references__item__full-link {
  text-decoration: none !important;
}

.slide_references__item__full-link:hover,
.slide_references__item__full-link:focus,
.slide_references__item__full-link:active {
  text-decoration: none !important;
  outline: none;
}

.slide_references__item__full-link h3,
.slide_references__item__full-link p,
.slide_references__item__full-link span {
  text-decoration: none !important;
}

.slide_references .slide_references__item__full-link {
  cursor: default;
}

.slide_products .slide_references__item__full-link {
  cursor: pointer;
}

.slide_references .slide_references__item:hover,
.slide_references .slide_references__item__full-link:hover {
  background: color-mix(in srgb, var(--light-brown) 80%, white 20%);
  border-top-color: color-mix(in srgb, var(--light-brown) 80%, white 20%);
  border-bottom-color: color-mix(in srgb, var(--light-brown) 80%, white 20%);
}

.slide_references .slide_references__item:hover .slide_references__item___inner,
.slide_references .slide_references__item__full-link:hover .slide_references__item___inner {
  transform: translateX(calc(2rem + 2px));
  transition: transform 0.5s ease-out;
}

.slide_references .slide_references__item:hover .slide_references__item___inner .slide_references__item__images,
.slide_references .slide_references__item__full-link:hover .slide_references__item___inner .slide_references__item__images {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.slide_references .slide_references__item:hover + .slide_references__item,
.slide_references .slide_references__item__full-link:hover + .slide_references__item {
  border-top-color: color-mix(in srgb, var(--light-brown) 80%, white 20%);
  transition: border-color 0.3s ease;
}

.slide_products .slide_references__item:hover,
.slide_products .slide_references__item__full-link:hover {
  background: color-mix(in srgb, var(--light-blue) 80%, white 20%);
  border-top-color: color-mix(in srgb, var(--light-blue) 80%, white 20%);
  border-bottom-color: color-mix(in srgb, var(--light-blue) 80%, white 20%);
}

.slide_products .slide_references__item:hover .slide_references__item___inner,
.slide_products .slide_references__item__full-link:hover .slide_references__item___inner {
  transform: translateX(calc(2rem + 2px));
  transition: transform 0.5s ease-out;
}

.slide_products .slide_references__item:hover .slide_references__item___inner .slide_references__item__images,
.slide_products .slide_references__item__full-link:hover .slide_references__item___inner .slide_references__item__images {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.slide_products .slide_references__item:hover + .slide_references__item,
.slide_products .slide_references__item__full-link:hover + .slide_references__item {
  border-top-color: color-mix(in srgb, var(--light-blue) 80%, white 20%);
  transition: border-color 0.3s ease;
}

.slide_products.brown-bg .slide_references__item:hover,
.slide_products.brown-bg .slide_references__item__full-link:hover {
  background: color-mix(in srgb, var(--beige) 80%, white 20%) !important;
  border-top-color: color-mix(in srgb, var(--beige) 80%, white 20%) !important;
  border-bottom-color: color-mix(in srgb, var(--beige) 80%, white 20%) !important;
}

.slide_products.brown-bg .slide_references__item:hover .slide_references__item___inner,
.slide_products.brown-bg .slide_references__item__full-link:hover .slide_references__item___inner {
  transform: translateX(calc(2rem + 2px));
  transition: transform 0.5s ease-out;
}

.slide_products.brown-bg .slide_references__item:hover .slide_references__item___inner .slide_references__item__images,
.slide_products.brown-bg .slide_references__item__full-link:hover .slide_references__item___inner .slide_references__item__images {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.slide_products.brown-bg .slide_references__item:hover + .slide_references__item,
.slide_products.brown-bg .slide_references__item__full-link:hover + .slide_references__item {
  border-top-color: color-mix(in srgb, var(--beige) 80%, white 20%) !important;
  transition: border-color 0.3s ease;
}

.slide_products .slide_references__title h2 {
  font-size: var(--size-primary);
  font-weight: 400;
  text-transform: none;
}

/* Responzivní úpravy pro SlideProducts na notebook/tablet */

@media (max-width: 1440px) and (min-width: 769px) {
  .slide_products .slide_references__item__content__title h3.h2 {
    font-size: 2.5rem;
    /* Použít velikost h3 místo h2 */
  }

  .slide_products .slide_references__item__content__title p {
    font-size: 19.2px;
    /* Menší velikost textu pod nadpisem */
  }
}

/* Product Tiles */

#tiles {
  min-height: auto;
  padding-bottom: 1rem;
}

#tiles::before {
  content: "";
}

.tiles_items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tiles_item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5/1;
}

.tiles_item__content {
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tiles_item__content_text {
  color: #fff;
}

.tiles_item__header > * {
  margin: 0;
}

.tiles_item__content_text_p {
  margin-bottom: 0;
}

/* Product tiles slides */

.tiles_slide_items {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  margin-bottom: 10rem;
}

.zabradli_tiles_slide .tiles_slide_items {
  margin-bottom: 0;
}

.tiles_slide_item {
  display: flex;
}

.tiles_slide_item:nth-child(even) {
  flex-direction: row-reverse;
}

.tiles_slide_item:nth-child(even) .tiles_slide_item__image img {
  left: initial;
  right: 0;
}

.tiles_slide_item__image {
  overflow: hidden;
  width: 0;
  transition: width 1s;
  position: relative;
  height: 70dvh;
}

.tiles_slide_item__image.active {
  width: 60dvw;
}

.tiles_slide_item__image img {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60dvw;
  max-width: initial;
  height: 70dvh;
  -o-object-fit: cover;
     object-fit: cover;
}

.tiles_slide_item__content {
  width: 35dvw;
  padding: 0 4rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.tiles_slide_item__content h2 {
  margin-bottom: 1rem;
}

.tiles_slide_item__content p {
  margin-bottom: 2rem;
}

.tiles_slide_item__content.active {
  opacity: 1;
}

/* prototype */

.prototype_products .section_heading {
  width: 70%;
}

@media (max-width: 1024px) {
  .prototype_products .section_heading {
    width: 85%;
  }
}

@media (max-width: 768px) {
  .prototype_products .section_heading {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .prototype_products .section_heading {
    width: 100%;
  }
}

#prototype {
  padding-top: 8rem;
  padding-bottom: 8rem;
  overflow: hidden;
  background: var(--beige);
}

.prototype_content {
  margin: 16px var(--padding-from-sides) 0;
  position: relative;
}

.prototype_content .experiences-swiper {
  overflow: visible;
  width: 100%;
}

.prototype_content .experiences-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  transition-property: transform;
}

.prototype_content .experiences-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.prototype_item {
  width: 29dvw;
  height: 700px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.prototype_item h3 {
  font-size: var(--size-primary);
  text-transform: none;
  font-weight: 400;
}

.prototype_item_image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.prototype_item_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Statické barevné překrytí do půlky fotky */

.prototype_item_background_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  pointer-events: none;
  z-index: 1;
}

/* Overlay s popisky uvnitř obrázků */

.prototype_item_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 3rem 1.5rem 2rem;
  transform: translateY(calc(100% - 120px));
  transition: transform 0.4s ease;
  z-index: 2;
}

.prototype_item:hover .prototype_item_overlay {
  transform: translateY(0);
}

.prototype_item_content .prototype_item_title {
  font-size: 30px;
  font-weight: 250;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.prototype_item_content .prototype_item_description {
  font-size: 18px;
  font-weight: 250;
  letter-spacing: 0.5px;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  line-height: 1.4;
}

.prototype_item:hover .prototype_item_description {
  opacity: 1;
  transform: translateY(0);
}

/* Kulaté navigační tlačítka pro experiences swiper */

.experiences-nav-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  color: #1d202e;
}

.experiences-nav-btn:hover {
  background: white;
}

.experiences-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Swiper Navigation Styles */

.custom-swiper-next,
.custom-swiper-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-swiper-next svg,
.custom-swiper-prev svg {
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
}

.custom-swiper-next svg path[fill="white"],
.custom-swiper-prev svg path[fill="white"] {
  transition: fill-opacity 0.3s ease;
}

.custom-swiper-next:hover svg path[fill="white"],
.custom-swiper-prev:hover svg path[fill="white"] {
  fill-opacity: 1 !important;
}

.custom-swiper-next:disabled,
.custom-swiper-next.swiper-button-disabled,
.custom-swiper-prev:disabled,
.custom-swiper-prev.swiper-button-disabled {
  display: none;
}

.custom-swiper-next {
  right: 10px;
}

.custom-swiper-prev {
  left: 10px;
}

/* Swiper Pagination Styles */

.experiences-swiper-pagination {
  display: none;
}

/* Responsive Styles for Experiences Swiper */

@media (max-width: 768px) {
  .prototype_content {
    margin: 5rem var(--padding-from-sides) 0;
  }

  .prototype_item {
    width: 80vw;
    height: 500px;
    margin: 0 auto;
  }

  .custom-swiper-next,
  .custom-swiper-prev {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .prototype_item {
    width: 45vw;
    height: 600px;
  }
}

@media (min-width: 1025px) {
  .prototype_item {
    width: 29dvw;
    height: 700px;
  }
}

/* Desktop grid layout pro Experiences - 4 fotky ve 2x2 gridu */

.experiences_grid_desktop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem var(--padding-from-sides) 0;
  height: 1000px;
}

@media (max-width: 768px) {
  .experiences_grid_desktop {
    display: none;
  }
}

.experiences_grid_item {
  position: relative;
  overflow: hidden;
}

.experiences_grid_item .prototype_item_image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.experiences_grid_item .prototype_item_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.experiences_grid_item .prototype_item_background_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
  z-index: 1;
}

.experiences_grid_item .prototype_item_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 2rem;
  transform: translateY(calc(100% - 120px));
  transition: transform 0.4s ease;
  z-index: 2;
}

.experiences_grid_item:hover .prototype_item_overlay {
  transform: translateY(0);
}

.experiences_grid_item .prototype_item_content .prototype_item_title {
  font-size: 30px;
  font-weight: 250;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}

.experiences_grid_item .prototype_item_content .prototype_item_description {
  font-size: 18px;
  font-weight: 250;
  letter-spacing: 0.5px;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  line-height: 1.4;
}

.experiences_grid_item:hover .prototype_item_description {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile grid layout pro Experiences - každá fotka na celý řádek */

.experiences_grid_mobile {
  display: none;
}

@media (max-width: 768px) {
  .experiences_grid_mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 5vw 0;
  }
}

.experiences_grid_item_mobile {
  position: relative;
  overflow: hidden;
}

.experiences_grid_item_mobile .prototype_item_image_mobile {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.experiences_grid_item_mobile .prototype_item_image_mobile img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.experiences_grid_item_mobile .prototype_item_background_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.experiences_grid_item_mobile .prototype_item_overlay_mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  padding: 1rem;
  z-index: 2;
}

.experiences_grid_item_mobile .prototype_item_content_mobile .prototype_item_title_mobile {
  font-size: 1.5rem;
  font-weight: 250;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
}

.experiences_grid_item_mobile .prototype_item_content_mobile .prototype_item_description_mobile {
  font-size: 14px;
  font-weight: 250;
  letter-spacing: 0.3px;
  margin: 0;
  line-height: 1.3;
  opacity: 0.9;
}

/* references */

#references {
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--light-brown);
}

.references-page #references {
  padding-top: 1.5rem;
}

.references_content {
  margin: 0 var(--padding-from-sides);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .references_content {
    margin: 0 6vw;
  }
}

@media (max-width: 480px) {
  .references_content {
    margin: 0 5vw;
  }
}

.reference_section_title__content___author {
  padding-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reference_section_title__content___citation {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.4;
  font-family: var(--font-secondary);
}

.project {
  display: flex;
  flex-direction: column;
  margin-top: 5rem;
  border-bottom: 2px solid var(--lighter-brown);
}

.project:nth-child(1),
.project:nth-child(2) {
  margin-top: 0;
}

.project:nth-child(1),
.project:nth-child(4),
.project:nth-child(5),
.project:nth-child(8),
.project:nth-child(9) {
  width: 30%;
}

.project:nth-child(2),
.project:nth-child(3),
.project:nth-child(6),
.project:nth-child(7),
.project:nth-child(10) {
  width: 69%;
}

.project h3 {
  font-size: var(--size-primary);
  text-transform: none;
  font-weight: 400;
}

.project_image {
  width: 100%;
  height: 700px;
}

.project_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.references_homepage .project {
  border-bottom-color: var(--darker-brown);
}

.references_content__linear {
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.references_content__linear .project {
  width: initial !important;
  margin-top: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

.pagination_inner {
  display: flex;
  gap: 1rem;
}

.pagination_item {
  border: 1px solid var(--primary-color);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.pagination_item.active,
.pagination_item:hover {
  background: var(--primary-color);
  color: var(--light-brown);
  text-decoration: none !important;
}

.references_more {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

/* form */

#form {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: var(--light-brown);
}

#form h2 {
  margin: 0;
}

#form p {
  width: 80%;
}

#form .form {
  padding-right: 5%;
}

#form .section_heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.form_container {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
}

.form_content {
  width: 45%;
}

.form_content .btn_call {
  display: inline-block;
}

/* Responzivní úpravy pro footer form na notebook/tablet */

@media (max-width: 1440px) and (min-width: 769px) {
  .form_content {
    width: 60%;
  }

  /* .form_image {
    width: 45%; 
  } */
}

.form_image {
  width: 60%;
}

.form_image img {
  width: 100%;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
  position: sticky;
  top: 6rem;
}

.form {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
}

.form_group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.form_group.required label::after {
  content: "*";
}

.form_group label {
  margin-bottom: 0.5rem;
}

.form_group input,
.form_group textarea {
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--gray);
  padding: 10px 0;
  color: var(--primary-color);
  font-size: var(--size-primary);
}

.form_group input:focus,
.form_group textarea:focus {
  outline: none;
}

.form_group .btn {
  font-size: 1.5rem;
  padding: 14px 60px;
}

.form_row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.form_row label {
  display: flex;
  align-items: baseline;
}

.form_row label[for="file"] {
  cursor: pointer;
}

.upload_icon {
  position: relative;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  float: left;
  border: 2px solid var(--primary-color);
  min-width: 70px;
  height: 70px;
  margin-right: 10px;
  border-radius: 100%;
}

.upload_icon svg {
  width: 30px;
  position: absolute;
  rotate: -90deg;
}

.upload_icon svg path {
  fill: var(--primary-color);
}

.form_contact_items {
  display: flex;
  flex-direction: column;
  padding: 2rem var(--padding-from-sides);
}

.form_contact_items__item {
  padding: 2rem 0 4rem;
  border-top: 2px solid var(--lighter-brown);
  display: flex;
  justify-content: space-between;
}

.form_contact_items__item__label {
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}

.form_contact_items__item__links {
  font-family: var(--font-heading);
  font-weight: 250;
  letter-spacing: 0;
  font-size: 2.5rem;
  line-height: 1;
}

.form_contact_items__item__links a:hover {
  position: relative;
}

.form_contact_items__item__links a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark-brown);
}

/* footer */

footer {
  font-size: 1rem;
  background: var(--dark-brown);
  color: var(--light-brown);
  font-weight: 300;
}

footer a {
  color: var(--light-brown);
  text-decoration: none;
}

footer h3 {
  font-size: 1rem;
  text-transform: none;
  color: var(--blue);
}

.footer {
  padding: 6rem var(--padding-from-sides) 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer_logo {
  margin-bottom: 4rem;
}

.footer_logo svg {
  width: 40%;
  height: auto;
}

.footer_content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10rem;
}

.footer_content_item {
  width: 17%;
}

.footer_content_item a {
  display: inline-block;
  padding: 0.5rem 0;
}

.footer_content_item:nth-child(3) {
  width: 24%;
}

.footer_content_item:nth-child(5) {
  width: 10%;
}

.footer_content_item__menu {
  text-transform: uppercase;
}

.footer_content_item__social a {
  text-decoration: underline;
}

.footer_copyright {
  color: var(--blue);
}

/* PRODUCTS */

#main.main_products {
  background: var(--light-blue);
}

#main.main_products .section_heading {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#main.main_products .main_subtitle__block p {
  width: 55%;
}

.beige_header #main.main_products {
  background: var(--beige);
}

.brown_header #main.main_contact {
  background: var(--light-brown);
}

#main .main_slider {
  height: 70dvh;
}

/* Contact Info Section Styles */

#contact-info {
  background: var(--white);
}

#contact-info .container {
  padding: 0 var(--padding-from-sides);
}

#contact-info .contact-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 6rem;
  /*  &:nth-child(2) {
      .contact-info-item {
        &:nth-child(3) h3 {
          padding-top: 3.3rem; 
        }
      }
    } */
}

#contact-info .contact-info-row:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  #contact-info .contact-info-row:nth-child(2) .contact-info-item:nth-child(3) h3 {
    padding-top: 0;
  }
}

#contact-info .contact-info-item {
  text-align: left;
}

#contact-info .contact-info-item h3 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 250;
  text-transform: uppercase;
}

#contact-info .contact-info-item .contact-location-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  /* margin-bottom: 0.5rem; */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#contact-info .contact-info-item .contact-location-subtitle {
  font-size: 1rem;
  color: var(--text-muted, #666);
  margin-bottom: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

#contact-info .contact-info-divider {
  border: none;
  height: 1px;
  background: var(--primary-color);
  opacity: 0.2;
  margin: 1rem 0 1.5rem 0;
  width: 100%;
}

#contact-info .contact-info-main-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 300;
  font-family: var(--font-heading);
  position: relative;
  display: inline-block;
}

#contact-info .contact-info-main-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

#contact-info .contact-info-main-link:hover {
  text-decoration: none;
}

#contact-info .contact-info-main-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#contact-info .contact-info-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 350;
  font-family: var(--font-heading);
  line-height: 1;
  position: relative;
  display: inline-block;
}

#contact-info .contact-info-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

#contact-info .contact-info-link:hover {
  text-decoration: none;
}

#contact-info .contact-info-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#contact-info .social-links {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

#contact-info .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

#contact-info .social-link:hover {
  background: var(--primary-color);
  color: white;
}

#contact-info .social-link svg {
  width: 28px;
  height: 28px;
}

#contact-info .address-info p {
  margin-top: 0.65rem;
  margin-bottom: 0.1rem;
  color: var(--dark-gray);
}

#contact-info .address-info p:first-of-type {
  margin-top: 0;
}

#contact-info .address-info p:last-of-type {
  margin-bottom: 0.1rem;
}

#contact-info .address-info p.contact-person {
  margin-top: 0.7rem;
  margin-bottom: 0.05rem;
}

#contact-info .contact-button {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

#contact-info .contact-button:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

#contact-info .contact-function {
  /* font-size: calc(1rem - 1pt); */
  font-size: 18px;
  opacity: 0.8;
}

/* Footer link hover animations */

.footer-link {
  color: inherit;
  text-decoration: none;
  display: inline;
  transition: all 0.3s ease;
}

.footer-link:hover {
  text-decoration: underline !important;
}

/* Footer contact links (telefony a emaily) - bez paddingu */

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  display: inline !important;
  padding: 0 !important;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  text-decoration: underline !important;
}

/* Footer menu links - underline efekt při hoveru */

.footer_content_item__menu li {
  margin-bottom: 0.8rem;
}

.footer_content_item__menu a {
  color: inherit;
  text-decoration: none;
  display: inline;
  transition: all 0.3s ease;
}

.footer_content_item__menu a:hover {
  text-decoration: underline !important;
}

/* Footer social links  */

.footer_content_item__social li {
  margin-bottom: 0.8rem;
}

.footer_content_item__social a {
  color: inherit;
  text-decoration: none !important;
  display: inline;
  transition: all 0.3s ease;
}

.footer_content_item__social a:hover {
  text-decoration: underline !important;
}

/* Contact Wide Section Styles */

#contact-wide-section {
  min-height: 70vh;
  position: relative;
  z-index: 1;
}

#contact-wide-section .contact-wide-image {
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

#contact-wide-section .contact-wide-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#contact-wide-section .contact-wide-map {
  width: 100%;
  height: 70vh;
  position: relative;
}

#contact-wide-section .contact-wide-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Styles for Contact Info */

@media (max-width: 768px) {
  #contact-info .contact-info-row {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
  }

  #contact-info .contact-info-item {
    text-align: left;
  }

  #contact-info .social-links {
    justify-content: flex-start;
  }

  /*   #contact-wide-section {
    .contact-wide-image {
      height: 70vh;
    }
  } */
}

/* Specific positioning for contact page images */

.contact-main-image {
  -o-object-position: center center !important;
     object-position: center center !important;
}

.contact-wide-image-element {
  -o-object-position: center 25% !important;
     object-position: center 25% !important;
}

.category_item {
  padding: 6rem var(--padding-from-sides) 0;
  background: var(--beige);
}

.category_item:last-child {
  padding-bottom: 6rem;
}

.category_item_heading__text {
  display: flex;
  justify-content: space-between;
  gap: 10%;
}

.category_item_heading__text_about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.category_item_heading__text_about .about_item {
  width: 100%;
}

.category_item_gallery {
  margin-top: 6rem;
}

.category_item_gallery__content {
  display: flex;
  justify-content: space-between;
  gap: 1%;
}

.category_item_gallery__image {
  overflow: hidden;
  height: 600px;
  width: 24.5%;
  transition: width 0.8s;
}

.category_item_gallery__image.focused {
  width: 65%;
}

.category_item_gallery__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.subcategory_items_gallery {
  margin-top: 6rem;
}

.subcategory_items_gallery__content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.subcategory_items_gallery__image {
  overflow: hidden;
  transition: all 0.8s;
  height: 700px;
  width: 50%;
  position: relative;
}

.subcategory_items_gallery__image.focused {
  width: 70%;
}

.subcategory_items_gallery__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.subcategory_items_gallery__image__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  color: #fff;
  padding: 1rem 4rem;
}

.subcategory_items_gallery__image.focused .subcategory_items_gallery__image__text {
  background: rgba(0, 0, 0, 0);
}

.reference_section__products {
  background: var(--beige);
  padding-top: 0rem;
  padding-bottom: 10rem;
  min-height: auto;
}

.reference_section__products .reference_section_title__content___author {
  display: block;
}

.reference_section__products.reference_section__reversed .reference_section_title {
  width: 40%;
}

#types {
  padding: 6rem var(--padding-from-sides);
  background: var(--beige);
  min-height: auto;
}

/* PRODUCT */

#about.about_product {
  padding-top: 4rem;
  padding-bottom: 12rem;
  min-height: auto;
}

#about.about_product h2 {
  margin-bottom: 1rem;
}

#about.about_products {
  /*   padding-bottom: 0; */
  min-height: auto;
}

#about.about_products h2 {
  margin-bottom: 3rem;
}

#why {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
  background: var(--light-blue);
}

#main.main_references {
  background: var(--light-brown);
}

#reference_main {
  padding: 6rem 0 10rem;
}

.reference_main_heading {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.reference_main_title {
  width: 40%;
  padding-left: var(--padding-from-sides);
  padding-right: var(--padding-from-sides);
}

.reference_main_title__content {
  position: sticky;
  top: 3rem;
  padding-bottom: 3rem;
}

.reference_main_title__content figure.table {
  margin: 0;
}

.reference_main_image {
  width: 60%;
  height: 100dvh;
}

.reference_main_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.reference_section {
  min-height: auto;
  margin-bottom: 10rem;
}

.reference_section_heading {
  display: flex;
  justify-content: space-between;
  gap: 5%;
}

.reference_section:not(.section_paddinged) .reference_section_heading {
  padding-left: var(--padding-from-sides);
}

.reference_section_title {
  width: 30%;
  display: flex;
}

.reference_section_image {
  width: 70%;
  height: 140dvh;
  max-height: 1300px;
}

.reference_section_image__wider {
  width: 50%;
}

.reference_section__reversed .reference_section_heading {
  flex-direction: row-reverse;
}

.reference_section__reversed .reference_section_title {
  padding-right: 0;
  width: 45%;
}

.reference_section__reversed .reference_section_image {
  width: 50%;
  height: 100dvh;
  max-height: 900px;
}

.reference_section__reversed .reference_section_image__wider {
  width: 50%;
}

/* Responzivní úpravy pro notebook/tablet rozlišení */

@media (max-width: 1440px) and (min-width: 769px) {
  .reference_section_title {
    width: 37.5%;
    /* O 1/4 širší než původních 30% */
  }

  .reference_section_image {
    width: 62.5%;
    /* Odpovídající zmenšení obrázku */
  }

  .reference_section__reversed .reference_section_title {
    width: 50%;
    /* Proporcionálně upraveno i pro reversed */
  }

  .reference_section__reversed .reference_section_image {
    width: 50%;
  }
}

/* Mobilní responzivita */

@media (max-width: 768px) {
  .reference_section_heading {
    flex-direction: column !important;
  }

  .reference_section_title {
    width: 100% !important;
    margin-bottom: 2rem;
  }

  .reference_section_image {
    width: 100% !important;
    height: 60vh;
    max-height: 500px;
  }

  .reference_section_title__content___author {
    padding-top: 2rem;
  }
}

.reference_gallery {
  min-height: auto;
}

.reference_gallery_content {
  display: block;
  overflow: hidden;
  /* dragable with mouse */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.reference_gallery_content::-webkit-scrollbar {
  display: none;
}

.reference_gallery_item {
  width: 100%;
  height: 100dvh;
  max-height: 1080px;
  display: inline-block;
  margin-bottom: 1rem;
}

.reference_gallery__simple .reference_gallery_content {
  display: flex;
  gap: 1rem;
  overflow: auto;
}

@media (max-width: 768px) {
  .reference_gallery__simple .reference_gallery_content {
    flex-direction: column;
  }
}

#filter {
  min-height: auto;
}

.filer_group {
  display: flex;
  align-items: center;
  padding: 1rem var(--padding-from-sides);
}

.filer_group:nth-child(2n) {
  background: var(--beige);
}

.filter_title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 200;
  font-size: 2.5rem;
  margin-right: 1rem;
  width: 20%;
}

.filter_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 80%;
}

.filer_item {
  display: flex;
  align-items: center;
}

.filer_item input {
  display: none;
}

.filter_radio label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.filter_radio__check {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--dark-brown);
  background: #fff;
  border-radius: 50%;
  margin-right: 10px;
}

.filter_radio__check::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--dark-brown);
  opacity: 0;
}

.filter_radio input:checked + label .filter_radio__check::after {
  opacity: 1;
}

.filter_radio__text {
  white-space: nowrap;
}

/* Contacts */

.contact_item:first-child {
  margin-top: 5rem;
}

.contact_item h2 {
  margin-bottom: 0;
}

.contacts_item_position {
  margin-top: 0;
}

.contacts_item_link {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.contacts_item_link span {
  display: flex;
  align-items: center;
}

.contacts_item_link svg {
  fill: var(--primary-color);
}

.contacts_item_text {
  color: var(--text-color);
  font-style: italic;
  opacity: 0.8;
}

.partners_section {
  margin-top: 10rem;
  padding: 0;
  min-height: auto;
  height: auto;
  background: transparent;
}

@media (max-width: 768px) {
  .partners_section {
    margin-top: 4rem;
  }
}

.partners_section h2 {
  margin-bottom: 0.5rem;
}

.partners_section .subtitle_text {
  font-size: 20.8px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.partners_section .partners_section_heading {
  text-align: center;
  margin-bottom: 3rem;
}

.partners_section .partners_section_heading .section_title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.partners_section .partners_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partners_section .partners_grid:has(.partner_item:nth-child(1):last-child) {
  justify-content: center;
  grid-template-columns: auto;
}

.partners_section .partners_grid:has(.partner_item:nth-child(2):last-child),
.partners_section .partners_grid:has(.partner_item:nth-child(3):last-child),
.partners_section .partners_grid:has(.partner_item:nth-child(4):last-child),
.partners_section .partners_grid:has(.partner_item:nth-child(5):last-child) {
  justify-content: space-around;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.partners_section .partners_grid .partner_item {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners_section .partners_grid .partner_item .partner_link,
.partners_section .partners_grid .partner_item .partner_no_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1rem 0;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.partners_section .partners_grid .partner_item .partner_link:hover,
.partners_section .partners_grid .partner_item .partner_no_link:hover {
  transform: translateY(-2px);
}

.partners_section .partners_grid .partner_item .partner_logo {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partners_section .partners_grid .partner_item .partner_logo:hover {
  filter: grayscale(0%);
}

.partners_section .partners_grid .partner_item .partner_logo.partner_logo_black {
  filter: none;
}

.partners_section .partners_grid .partner_item .partner_logo.partner_logo_black:hover {
  filter: none;
}

.partners_section .partners_grid .partner_item .partner_placeholder {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  text-align: center;
  opacity: 0.7;
}

/* Map */

#map {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
  background: var(--gray);
}

#our_story_main {
  padding: 0 var(--padding-from-sides);
  background: var(--light-brown);
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
}

#our_story_main .our_story_main__text {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#our_story_main .about_paragraph {
  font-size: 1.6rem;
  width: 70%;
}

.our_story_main__text h2,
.our_story_about__text h2 {
  position: relative;
}

@media (min-width: 1200px) {
  .our_story_main__text h2,
  .our_story_about__text h2 {
    left: -4rem;
  }
}

.our_story_main__text h2 .our_story_main__text__subtitle,
.our_story_about__text h2 .our_story_main__text__subtitle {
  display: block;
  position: relative;
}

@media (min-width: 1200px) {
  .our_story_main__text h2 .our_story_main__text__subtitle,
  .our_story_about__text h2 .our_story_main__text__subtitle {
    left: 8rem;
    font-size: 3.5rem;
  }
}

#our_story_about {
  min-height: auto;
  padding: 0 var(--padding-from-sides);
  background: var(--light-brown);
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
}

#our_story_about .our_story_about__text {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#our_story_about .about_items__shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--beige);
  z-index: -1;
}

#our_story_about .about_items {
  padding-top: 0;
  margin: 0;
}

#our_story_about .about_items h4 {
  font-size: 3.5rem;
  font-weight: 250;
  margin-top: 1.5rem;
}

#our_story_about .about_paragraph {
  font-size: 1.6rem;
  width: 70%;
}

#our_story_about_2 {
  padding: 8rem var(--padding-from-sides) 8rem var(--padding-from-sides);
  background: var(--beige);
  min-height: auto;
}

#our_story_about_2 .about_items .about_item {
  width: 24%;
}

#our_story_about_2 .about_items .about_item h3 {
  font-size: 3rem;
}

.our_story_about__texts {
  display: flex;
  justify-content: space-between;
  gap: 5%;
}

.our_story_about__texts > * {
  width: 45%;
}

.our_story_about__image {
  margin: 6rem auto 0;
  aspect-ratio: 3/2;
  width: 60%;
}

.our_story_about__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#our_story_video {
  aspect-ratio: 2/1;
  min-height: auto;
  margin-bottom: -10px;
  background: var(--light-brown);
  padding-top: 8rem;
}

#our_story_video img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#contacts {
  padding: 12rem 0 12rem;
  background: var(--beige);
  min-height: auto;
}

.contacts_inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  padding: 0 var(--padding-from-sides);
}

.contact_card {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  padding: 0;
  /*   background: var(--light-gray); */
  background: #ebdecc;
}

.contact_card h2 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.contact_card_photo {
  margin-bottom: 1rem;
}

.contact_card_photo .contact_photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  /* Poměr 3:2 (šířka:výška) */
  -o-object-fit: cover;
     object-fit: cover;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); */
}

.contact_card_photo .contact_photo_placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  /* Poměr 3:2 (šířka:výška) */
  background: linear-gradient(135deg, var(--primary-color), var(--light-brown));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact_card_photo .contact_initials {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact_card_inner {
  width: 100%;
  padding: 0 2.5rem 2.5rem;
}

#address {
  padding: 0 var(--padding-from-sides) 6rem;
  background: var(--light-brown);
  min-height: auto;
  position: relative;
}

#address::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  background: var(--gray);
  z-index: 0;
}

.address_inner {
  display: flex;
  justify-content: space-between;
  gap: 5%;
  position: relative;
  z-index: 10;
}

.map_block {
  width: 45%;
  aspect-ratio: 1/1.2;
  background: var(--light-gray);
}

.map_block .map {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}

.address_block {
  width: 45%;
  margin-top: 10rem;
}

.address_block p {
  padding-top: 2rem;
  position: sticky;
  top: 2rem;
}

.big_contact {
  display: flex;
  font-size: 2.5rem;
  font-weight: 250;
  font-family: var(--font-heading);
  margin-top: 2rem;
  line-height: 1;
}

.contact_main {
  position: relative;
}

.contact_main::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--gray);
  z-index: 0;
}

.contact_main .reference_main_title__content {
  margin-bottom: calc(30% + 10rem);
}

.parallax_image__move {
  position: relative;
  top: 400px;
}

.big_image {
  padding-left: var(--padding-from-sides);
  padding-right: var(--padding-from-sides);
  background: var(--beige);
  min-height: auto;
}

.big_image__content {
  width: 100%;
  height: 90dvh;
}

.big_image__content img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 992px) {
  .section_effect_grow {
    transform: scale(67%);
  }
}

/* Contacts section heading with side padding */

.contacts_section_heading {
  padding: 0 var(--padding-from-sides);
  margin-bottom: 4rem;
}

.contacts_section_heading .main_title {
  margin: 0;
  /* Odstraní výchozí margin z h1 */
}

/* GDPR stránka styling */

.gdpr_content {
  padding: 4rem 0;
  background: var(--light-brown);
}

.gdpr_content .container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 var(--padding-from-sides);
}

.gdpr_content .gdpr_section {
  margin-bottom: 3rem;
}

.gdpr_content .gdpr_section h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.gdpr_content .gdpr_section h3 {
  font-size: 1.8rem;
  font-weight: 350;
  color: var(--color-text);
  margin-bottom: 1rem;
  margin-top: 2rem;
  line-height: 1.3;
}

.gdpr_content .gdpr_section p {
  font-size: 20.8px;
  /* 20.8px */
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.gdpr_content .gdpr_section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.gdpr_content .gdpr_section ul li {
  font-size: 20.8px;
  /* 20.8px */
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.gdpr_content .gdpr_subsection {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.gdpr_content .gdpr_text {
  margin-bottom: 1.5rem;
}

.gdpr_content .gdpr_table_wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

.gdpr_content .gdpr_table {
  width: 100%;
  border-collapse: collapse;
  background: var(--light-brown);
  border: 1px solid #ccc;
  /* Specifické šířky sloupců */
  /* Zrušeno střídavé zvýraznění řádků */
  /* tr:nth-child(even) td {
      background: #f9f9f9;
    } */
  /* Vertikální centrování pro sloučené buňky */
  /* Oprava borderů pro druhý řádek s rowspan */
}

.gdpr_content .gdpr_table th {
  background: var(--darker-brown);
  color: white;
  padding: 1rem;
  font-weight: 300;
  font-size: 1.4rem;
  text-align: left;
  border: 1px solid #ccc;
  vertical-align: top;
}

.gdpr_content .gdpr_table td {
  padding: 1rem;
  border: 1px solid #ccc;
  font-size: 1.3rem;
  line-height: 1.4;
  vertical-align: top;
  background: var(--light-brown);
}

.gdpr_content .gdpr_table th:nth-child(1),
.gdpr_content .gdpr_table td:nth-child(1) {
  width: 15%;
  /* Kategorie subjektů údajů */
}

.gdpr_content .gdpr_table th:nth-child(2),
.gdpr_content .gdpr_table td:nth-child(2) {
  width: 20%;
  /* Účel zpracování */
}

.gdpr_content .gdpr_table th:nth-child(3),
.gdpr_content .gdpr_table td:nth-child(3) {
  width: 40%;
  /* Právní základ a zpracovávané osobní údaje */
}

.gdpr_content .gdpr_table th:nth-child(4),
.gdpr_content .gdpr_table td:nth-child(4) {
  width: 25%;
  /* Doba zpracování */
}

.gdpr_content .gdpr_table .gdpr_table_merged {
  vertical-align: middle !important;
  text-align: left;
}

.gdpr_content .gdpr_table tbody tr:nth-child(3) td {
  border-top: 1px solid #ccc !important;
  border-bottom: 1px solid #ccc !important;
}

.gdpr_content .gdpr_footer {
  text-align: start;
  padding: 2rem 0;
  border-top: 2px solid var(--color-accent);
  margin-top: 3rem;
}

.gdpr_content .gdpr_footer p {
  font-size: 20.8px;
  line-height: 1.6;
  letter-spacing: 0.5;
  color: var(--color-primary);
}

/* Zrušení obecných table stylů pro GDPR tabulku */

.gdpr_content .gdpr_table td:after {
  display: none !important;
}

/* Zrušení .link stylů v tabulce - silnější selektor */

.gdpr_content .gdpr_table td *::-moz-selection, .gdpr_content .gdpr_table td ::-moz-selection {
  background: #b3d4fc !important;
  text-decoration: none !important;
}

.gdpr_content .gdpr_table td *::selection,
.gdpr_content .gdpr_table td ::selection {
  background: #b3d4fc !important;
  text-decoration: none !important;
}

.gdpr_content .gdpr_table .link span:first-child::after,
.gdpr_content .gdpr_table a span:first-child::after {
  display: none !important;
  content: none !important;
}

/* Responzivní úpravy pro GDPR */

@media (max-width: 768px) {
  .gdpr_content {
    padding: 2rem 0;
  }

  .gdpr_content .gdpr_section h2 {
    font-size: 2rem;
  }

  .gdpr_content .gdpr_section h3 {
    font-size: 1.6rem;
  }

  .gdpr_content .gdpr_section p,
  .gdpr_content .gdpr_section li {
    font-size: 1.8rem;
    /* Zachovat proporce i na mobilu */
  }

  .gdpr_content .gdpr_table {
    /* Na mobilu zrušit fixní šířky sloupců */
  }

  .gdpr_content .gdpr_table th,
  .gdpr_content .gdpr_table td {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
  }

  .gdpr_content .gdpr_table th,
  .gdpr_content .gdpr_table td {
    width: auto !important;
  }

  .gdpr_content .gdpr_subsection {
    padding-left: 0.5rem;
  }
}

/* ExperiencesContent module title responsive width */

.experiences-module-title {
  max-width: 70%;
  /* Desktop - 70% šířky */
}

@media (max-width: 1200px) {
  .experiences-module-title {
    max-width: 80%;
    /* Tablet landscape - 80% šířky */
  }
}

@media (max-width: 992px) {
  .experiences-module-title {
    max-width: 90%;
    /* Tablet portrait - 90% šířky */
  }
}

@media (max-width: 768px) {
  .experiences-module-title {
    max-width: 100%;
    /* Mobil - 100% šířky */
  }
}

/* ExperiencesContent module title responsive width */

.experiences-module-title {
  max-width: 70%;
}

@media (max-width: 1200px) {
  .experiences-module-title {
    max-width: 80%;
  }
}

@media (max-width: 992px) {
  .experiences-module-title {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .experiences-module-title {
    max-width: 100%;
  }
}

/* ===== RESPONZIVNÍ NADPISY PRO ABOUT SEKCI ===== */

/* Desktop nadpis - zobrazit pouze na desktop zařízeních (768px+) */

section#about.about_products .about_heading__content__home .about-title-desktop {
  display: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  section#about.about_products .about_heading__content__home .about-title-desktop {
    display: block !important;
  }
}

/* Mobilní nadpis - zobrazit pouze na mobilních zařízeních (do 767px) */

section#about.about_products .about_heading__content__home .about-title-mobile {
  display: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  section#about.about_products .about_heading__content__home .about-title-mobile {
    display: block !important;
  }
}

/* ===== SPECIFICKÉ STYLY PRO ABOUT SEKCI V SERVICES ===== */

/* Pouze pro section#about.about_products - velmi specifický selektor */

section#about.about_products {
  padding-top: 8rem !important;
  /* Ještě větší padding z vrchu pro celou sekci */
}

@media (max-width: 768px) {
  section#about.about_products {
    padding-top: 2rem !important;
    /* Na mobilu menší padding */
  }
}

section#about.about_products .about_heading__content__home {
  /* Obecné odstranění mezer u About nadpisů */
  /* Mezera mezi textem a tlačítkem Reference */
}

section#about.about_products .about_heading__content__home .about-title-desktop + .about_heading__content__home___wider_text,
section#about.about_products .about_heading__content__home .about-title-mobile + .about_heading__content__home___wider_text {
  margin-top: -0.5rem !important;
  /* Nadpis ještě blíž - záporný margin */
  margin-bottom: 1rem !important;
  /* Menší mezera mezi textem a tlačítkem */
  /* Odstranění margin z prvního elementu uvnitř */
  /* Odstranění margin z posledního elementu uvnitř */
}

section#about.about_products .about_heading__content__home .about-title-desktop + .about_heading__content__home___wider_text > *:first-child,
section#about.about_products .about_heading__content__home .about-title-mobile + .about_heading__content__home___wider_text > *:first-child {
  margin-top: 0 !important;
}

section#about.about_products .about_heading__content__home .about-title-desktop + .about_heading__content__home___wider_text > *:last-child,
section#about.about_products .about_heading__content__home .about-title-mobile + .about_heading__content__home___wider_text > *:last-child {
  margin-bottom: 0 !important;
}

section#about.about_products .about_heading__content__home .about-title-desktop,
section#about.about_products .about_heading__content__home .about-title-mobile {
  margin-bottom: 0 !important;
  /* Odstranění margin z CKEditor paragrafů uvnitř nadpisu */
}

section#about.about_products .about_heading__content__home .about-title-desktop p,
section#about.about_products .about_heading__content__home .about-title-mobile p {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

section#about.about_products .about_heading__content__home .btn_arrow_round_reference {
  margin-top: 1rem !important;
  /* Menší mezera */
}

/* About title responsive styles - Services & Categories - Override existing styles */

/* Desktop nadpis - zobrazit pouze na desktop zařízeních */

/* Pro Services - obsah je v následujícím elementu (h2, h3, h4, atd.) */

section#about.about_products .about_heading__content__home .about-title-desktop {
  display: block !important;
}

section#about.about_products .about_heading__content__home .about-title-desktop + * {
  display: block !important;
}

section#about.about_products .about_heading__content__home .about-title-mobile {
  display: none !important;
}

section#about.about_products .about_heading__content__home .about-title-mobile + * {
  display: none !important;
}

/* Pro Services Categories - obsah je uvnitř h2 elementu s třídou */

section#about.about_products .about_heading__content__home .about-title-desktop p,
section#about.about_products .about_heading__content__home .about-title-desktop * {
  display: block !important;
}

section#about.about_products .about_heading__content__home .about-title-mobile p,
section#about.about_products .about_heading__content__home .about-title-mobile * {
  display: none !important;
}

@media (max-width: 768px) {
  /* Pro Services - obsah je v následujícím elementu (h2, h3, h4, atd.) */

  section#about.about_products .about_heading__content__home .about-title-desktop {
    display: none !important;
  }

  section#about.about_products .about_heading__content__home .about-title-desktop ~ h1,
  section#about.about_products .about_heading__content__home .about-title-desktop ~ h2,
  section#about.about_products .about_heading__content__home .about-title-desktop ~ h3,
  section#about.about_products .about_heading__content__home .about-title-desktop ~ h4,
  section#about.about_products .about_heading__content__home .about-title-desktop ~ h5,
  section#about.about_products .about_heading__content__home .about-title-desktop ~ h6 {
    display: none !important;
  }

  section#about.about_products .about_heading__content__home .about-title-mobile {
    display: block !important;
  }

  section#about.about_products .about_heading__content__home .about-title-mobile ~ h1,
  section#about.about_products .about_heading__content__home .about-title-mobile ~ h2,
  section#about.about_products .about_heading__content__home .about-title-mobile ~ h3,
  section#about.about_products .about_heading__content__home .about-title-mobile ~ h4,
  section#about.about_products .about_heading__content__home .about-title-mobile ~ h5,
  section#about.about_products .about_heading__content__home .about-title-mobile ~ h6 {
    display: block !important;
  }

  /* Pro Services Categories - obsah je uvnitř h2 elementu s třídou */

  section#about.about_products .about_heading__content__home .about-title-desktop p,
  section#about.about_products .about_heading__content__home .about-title-desktop * {
    display: none !important;
  }

  section#about.about_products .about_heading__content__home .about-title-mobile p,
  section#about.about_products .about_heading__content__home .about-title-mobile * {
    display: block !important;
  }
}

.slide_zabradli .slide_references__item:hover,
.slide_zabradli .slide_references__item__full-link:hover {
  background: color-mix(in srgb, var(--lighter-brown) 80%, white 20%);
  border-top-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%);
  border-bottom-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%);
}

.slide_zabradli .slide_references__item:hover .slide_references__item___inner,
.slide_zabradli .slide_references__item__full-link:hover .slide_references__item___inner {
  transform: translateX(calc(2rem + 2px));
  transition: transform 0.5s ease-out;
}

.slide_zabradli .slide_references__item:hover .slide_references__item___inner .slide_references__item__images,
.slide_zabradli .slide_references__item__full-link:hover .slide_references__item___inner .slide_references__item__images {
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.slide_zabradli .slide_references__item:hover + .slide_references__item,
.slide_zabradli .slide_references__item__full-link:hover + .slide_references__item {
  border-top-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%);
  transition: border-color 0.3s ease;
}

.slide_zabradli.slide_products .slide_references__item:hover,
.slide_zabradli.slide_products .slide_references__item__full-link:hover {
  background: color-mix(in srgb, var(--lighter-brown) 80%, white 20%) !important;
  border-top-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%) !important;
  border-bottom-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%) !important;
}

.slide_zabradli.slide_products .slide_references__item:hover + .slide_references__item,
.slide_zabradli.slide_products .slide_references__item__full-link:hover + .slide_references__item {
  border-top-color: color-mix(in srgb, var(--lighter-brown) 80%, white 20%) !important;
  transition: border-color 0.3s ease;
}

/* ExperiencesContent section - styling podle about sekce */

.experiences_content_section {
  padding: 1.6rem var(--padding-from-sides) 6rem;
  min-height: auto;
}

@media (max-width: 767px) {
  .experiences_content_section {
    padding-top: 4rem;
    /* Menší padding na mobilu */
    padding-bottom: 4rem;
  }
}

.experiences_content_heading {
  display: flex;
  justify-content: center;
}

.experiences_content_wrapper {
  width: 75%;
}

@media (max-width: 768px) {
  .experiences_content_wrapper {
    width: 100%;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .experiences_content_wrapper {
    width: 100%;
    padding-bottom: 3rem;
  }
}

.experiences_content {
  font-size: 18.8px;
}

.experiences_content p {
  margin-bottom: 1rem;
}

/* Legacy styling pro starší implementace */

.experiences-module-title {
  max-width: 63% !important;
}

@media (max-width: 1200px) {
  .experiences-module-title {
    max-width: 70% !important;
  }
}

@media (max-width: 992px) {
  .experiences-module-title {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .experiences-module-title {
    max-width: 100% !important;
  }
}

.page_banner {
  padding-bottom: 2.5rem;
  /*  padding: 0 var(--padding-from-sides); */
}

.page_banner__inner {
  position: relative;
  min-height: 200px;
}

@media (min-width: 768px) {
  .page_banner__inner {
    min-height: 250px;
  }
}

.page_banner__image {
  width: 100%;
  height: 100%;
}

.page_banner__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

#blog_listing {
  padding: 0 0 12rem;
  background: var(--beige);
  min-height: auto;
}

#blog_listing .blog_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  padding: 0 var(--padding-from-sides);
}

@media (max-width: 1200px) {
  #blog_listing .blog_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  #blog_listing .blog_grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

#blog_listing .blog_card {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  padding: 0;
  background: #ebdecc;
}

#blog_listing .blog_card h2 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

#blog_listing .blog_card_link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

#blog_listing .blog_card_image {
  margin-bottom: 1rem;
}

#blog_listing .blog_card_image .blog_image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
}

#blog_listing .blog_card_content {
  width: 100%;
  padding: 0 2.5rem 2.5rem;
}

#blog_listing .blog_card_meta {
  margin-bottom: 0.5rem;
}

#blog_listing .blog_card_meta .blog_date {
  /* font-weight: 500; */
  color: var(--primary-color);
  margin-right: 1rem;
}

#blog_listing .blog_card_meta .blog_category {
  color: #999;
  font-weight: 400;
}

#blog_listing .blog_card_title {
  font-size: 1.8rem;
  margin: 0;
}

#blog_listing .blog_card_excerpt {
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: calc(1.5em * 3);
}

#blog_listing .blog_read_more {
  color: var(--primary-color);
  /* font-weight: 500; */
  text-decoration: underline;
}

#blog_listing .pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

#blog_listing .pagination .pagination_inner {
  display: flex;
  gap: 0.5rem;
}

#blog_listing .pagination .pagination_item {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--color-text-primary, #333);
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#blog_listing .pagination .pagination_item:hover,
#blog_listing .pagination .pagination_item.active {
  background-color: var(--color-primary, #8B4513);
  color: white;
  border-color: var(--color-primary, #8B4513);
}

.blog_header {
  padding: 0 var(--padding-from-sides);
  margin-bottom: 4rem;
}

.blog_header .blog_title {
  color: var(--primary-color);
  text-align: left;
}

.blog_detail_header {
  /*  padding: 0 var(--padding-from-sides); */
  margin: 4rem 0;
  text-align: left;
}

.blog_detail_header .blog_detail_title {
  margin: 0 0 2rem 0;
}

.blog_detail_header .blog_detail_meta {
  display: flex;
  gap: 2rem;
}

@media (max-width: 767px) {
  .blog_detail_header .blog_detail_meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.blog_detail_header .blog_detail_meta .blog_date {
  /*  font-weight: 500; */
  color: var(--primary-color);
  font-size: 1.1rem;
}

.blog_detail_header .blog_detail_meta .blog_category {
  color: #999;
  font-weight: 400;
}

#blog_detail .blog_detail_container {
  padding: 0 var(--padding-from-sides);
}

#blog_detail .blog_text_block {
  margin-bottom: 4rem;
}

#blog_detail .blog_text_block h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: 0;
}

#blog_detail .blog_image_block {
  margin-bottom: 4rem;
}

#blog_detail .blog_image_block img {
  width: 100%;
  height: auto;
}

#blog_detail .blog_text_image_block {
  margin-bottom: 4rem;
}

#blog_detail .blog_text_image_block h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

#blog_detail .blog_text_image_block p {
  margin-bottom: 1rem;
}

#blog_detail .blog_text_image_block .blog_text_image_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  #blog_detail .blog_text_image_block .blog_text_image_content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

#blog_detail .blog_text_image_block .blog_text_image_content.reverse .blog_image_part {
  order: -1;
}

#blog_detail .blog_text_image_block .blog_image_part {
  display: flex;
  align-items: flex-start;
}

#blog_detail .blog_text_image_block .blog_image_part img {
  width: 100%;
  height: auto;
}

#blog_detail .blog_text_image_block .blog_text_part {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#blog_detail .blog_text_image_block .blog_text_part > *:first-child {
  margin-top: 0;
}

#blog_detail .blog_text_image_block .blog_text_part > *:last-child {
  margin-bottom: 0;
}

#blog_detail .blog_navigation {
  margin-top: 4rem;
  text-align: left;
}

#blog_detail .blog_navigation .blog_back_link {
  border: 1px solid;
  border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
  border-radius: 2rem;
  padding: 14px 32px;
  display: inline-block;
  transition: border-color 0.3s ease;
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  background: transparent;
}

#blog_detail .blog_navigation .blog_back_link:hover {
  border-color: var(--primary-color);
  text-decoration: none;
}

#blog_detail .blog_navigation .blog_back_link:hover .text {
  transform: translateX(6px) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
  transition-delay: 0.2s !important;
}

#blog_detail .blog_navigation .blog_back_link:hover .next-arrow {
  transform: translateY(calc(-50% + 0.5px)) translateX(3px) translateZ(0);
  transition-delay: 0.2s;
}

#blog_detail .blog_navigation .blog_back_link:hover .next-arrow polyline {
  stroke-dashoffset: 10px;
  transition-delay: 0.2s;
}

#blog_detail .blog_navigation .blog_back_link:hover .line {
  animation: lineRedraw 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) forwards;
}

#blog_detail .blog_navigation .blog_back_link .btn_inner {
  padding: 0 0 0 40px;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

#blog_detail .blog_navigation .blog_back_link .btn_inner .text {
  display: block;
  line-height: 1;
  transform: translateX(0) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
}

#blog_detail .blog_navigation .blog_back_link .next-arrow {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 6px;
  transform: translateY(calc(-50% + 0.5px)) translateX(0) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

#blog_detail .blog_navigation .blog_back_link .next-arrow polyline {
  stroke: currentColor;
  stroke-dashoffset: 140px;
  stroke-dasharray: 140px;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

#blog_detail .blog_navigation .blog_back_link .line {
  height: 1px;
  width: 24px;
  position: absolute;
  left: 0;
  display: block;
  background-color: var(--primary-color);
  top: 50%;
  transform: scaleX(1) translateY(calc(-50% + 0.5px)) translateZ(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1);
}

#blog_detail .blog_gallery_block {
  margin-bottom: 5rem;
}

#blog_detail .blog_gallery_block h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

#blog_detail .blog_gallery_block p {
  margin-bottom: 0.8rem;
}

#blog_detail .blog_gallery_block .blog_gallery_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  #blog_detail .blog_gallery_block .blog_gallery_content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

#blog_detail .blog_gallery_block .blog_gallery_content:has(.blog_gallery_images:only-child) {
  grid-template-columns: 1fr;
}

#blog_detail .blog_gallery_block .blog_gallery_content:not(:has(.blog_gallery_text)),
#blog_detail .blog_gallery_block .blog_gallery_content.gallery-only {
  grid-template-columns: 1fr;
}

#blog_detail .blog_gallery_block .blog_gallery_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  #blog_detail .blog_gallery_block .blog_gallery_grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

#blog_detail .blog_gallery_block .blog_gallery_item img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

#blog_detail .blog_gallery_block .blog_gallery_text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#blog_detail .blog_gallery_block .blog_gallery_text > *:first-child {
  margin-top: 0;
}

#blog_detail .blog_gallery_block .blog_gallery_text > *:last-child {
  margin-bottom: 0;
}

#blog_detail .blog_video_block {
  margin-bottom: 5rem;
  width: 100%;
}

#blog_detail .blog_video_block h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 250;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}

#blog_detail .blog_video_block p {
  margin-bottom: 0.8rem;
}

#blog_detail .blog_video_block .blog_video_wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

#blog_detail .blog_video_block .blog_video_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

#blog_detail .blog_navigation .blog_back_link:hover .text {
  transform: translateX(6px) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
  transition-delay: 0.2s !important;
}

#blog_detail .blog_navigation .blog_back_link .text {
  transform: translateX(0) translateZ(0) !important;
  transition: transform 0.45s cubic-bezier(0.23, 0.46, 0.4, 1) !important;
}

/* responsive */

@media screen and (max-width: 1600px) {
  .category_item_gallery__image {
    height: 500px;
  }
}

@media screen and (max-width: 1440px) {
  .category_item_gallery__image {
    height: 400px;
  }

  .menu_links > ul {
    gap: 0;
  }

  .menu_links > ul > li a {
    font-size: 1.1rem;
  }

  .tiles_slide_item__image.active {
    width: 60dvw;
  }

  .tiles_slide_item__content {
    width: 40dvw;
  }
}

/* Menu collapse - původně 1199 */

@media screen and (max-width: 1105px) {
  .menu_links {
    display: none;
  }

  .menu_hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    width: 25px;
    height: 30px;
    cursor: pointer;
    padding: 5px 0;
  }

  .menu_hamburger {
    margin-bottom: 0.3rem;
  }

  .menu_hamburger span {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .menu_hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }

  .menu_hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu_hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .category_item_heading__text {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .category_item_heading__text_about {
    margin-top: 1rem;
    width: 100%;
  }

  .category_item_gallery__image {
    height: 300px;
  }

  .about_subheading {
    margin-top: 4rem;
    width: 100%;
  }

  .about_subheading h3 {
    font-size: 3rem;
  }

  .big_contact {
    font-size: 2rem;
  }

  .contacts_inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }

  .contact_card {
    width: auto;
  }

  .form_contact_items__item__links {
    font-size: 2rem;
  }

  .tiles_slide_items {
    gap: 6rem;
    margin-bottom: 6rem;
  }

  .tiles_slide_item__content {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 991px) {
  .hidden-mobile {
    display: none;
  }

  #main .section_heading {
    padding-bottom: 2rem;
  }

  .main_title__label {
    top: 2rem;
  }

  .main_products .main_subtitle__block {
    flex-direction: column;
    align-items: flex-start;
  }

  .main_products .main_subtitle__block p {
    width: 100%;
  }

  body {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2.8rem;
    max-width: 100%;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  #about .about_heading__content__homepage h2.h3,
  #about .about_heading__content__home h2.h3 {
    font-size: 1.5rem;
  }

  .menu_content {
    padding: 5vw;
  }

  .menu.scrolled .menu_content {
    padding: 5vw;
  }

  .menu_logo svg {
    width: 140px;
    height: 42px;
  }

  .menu.scrolled .menu_logo svg {
    width: 120px;
    height: 36px;
  }

  h4 {
    font-size: 1.5rem;
  }

  #form h2 {
    width: 100%;
  }

  #form p {
    width: 100%;
  }

  #form .section_heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 1rem;
  }

  #form .form {
    width: 100%;
  }

  .form_container {
    margin-top: 2rem;
  }

  .form_content {
    width: 100%;
  }

  .form_image {
    display: none;
  }

  .main_subtitle {
    font-size: 1.5rem;
    max-width: 50%;
  }

  .about_heading__content {
    margin-top: 0;
  }

  .about_heading__content p {
    width: 100%;
  }

  .about_items {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
  }

  .about_item {
    width: calc(50% - 0.5rem);
    text-align: start;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
  }

  .about_item h3 {
    border-width: 1px;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
  }

  .citation_text {
    font-size: 2rem;
    text-indent: 10%;
  }

  .project_image {
    height: 300px;
  }

  .footer_content {
    flex-direction: column;
    align-items: center;
  }

  .footer_content_item {
    width: 100%;
    margin-bottom: 2rem;
  }

  .category_item_gallery__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .category_item_gallery__image {
    width: 100%;
  }

  .about_subheading h3 {
    font-size: 2.5rem;
  }

  .about_items__product .about_item {
    flex-direction: column;
  }

  .about_items__product .about_item h4 {
    margin-bottom: 0;
  }

  .about_items__product .about_item p {
    padding-left: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .citation_section_heading {
    flex-direction: column;
    gap: 2rem;
    padding-right: var(--padding-from-sides);
  }

  .citation_section_heading > div {
    width: 100%;
  }

  .citation_section_image {
    display: none;
  }

  #citation {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .our_story_about__image {
    width: auto;
  }

  #reference_main {
    padding: 4rem var(--padding-from-sides);
    min-height: auto;
  }

  .reference_main_heading {
    flex-direction: column;
  }

  .reference_main_heading > div {
    width: 100%;
  }

  .reference_main_image {
    height: 50dvh;
  }

  #contacts {
    padding: 4rem var(--padding-from-sides);
  }

  .contacts_inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact_card_photo .contact_photo,
  .contact_card_photo .contact_photo_placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    /* Poměr 3:2 (šířka:výška) */
  }

  .contact_card_photo .contact_photo_placeholder .contact_initials {
    font-size: 2.5rem;
  }

  .partners_section .partners_grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .partners_section .partners_grid .partner_item {
    height: 100px;
  }

  .partners_section .partners_section_heading .section_title {
    font-size: 2rem;
  }

  .our_story_about__texts {
    flex-direction: column;
  }

  #our_story_video {
    aspect-ratio: 1.5/1;
  }

  .contact_main .reference_main_title__content {
    margin-bottom: 0;
  }

  .address_inner {
    flex-direction: column;
    gap: 1rem;
  }

  .address_inner > div {
    width: 100%;
  }

  .map_block {
    aspect-ratio: 1.3 / 1;
  }

  .address_block {
    margin-top: 0;
  }

  #specialization.specialization_showroom .specialization_item {
    min-height: auto;
  }

  #specialization.specialization_showroom .specialization_item .specialization_item__content {
    min-height: auto;
  }

  #specialization.specialization_showroom .specialization_item .specialization_item__content .showroom_item__content___text {
    padding-right: 1rem;
  }

  /* Product Tiles */

  .tiles_item__content {
    justify-content: center;
  }

  .about_heading__content__home___wider_text {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }

  .about_heading__content__home___wider_text > * {
    width: 100%;
  }

  .specialization_item__content_text_p {
    width: 90%;
  }

  .prototype_products .section_heading {
    width: 100%;
  }

  .prototype_item {
    width: 45dvw;
  }

  #form {
    min-height: auto;
  }

  .form_contact_items__item {
    padding: 2rem 0;
    flex-direction: column;
    justify-content: center;
  }

  .form_contact_items__item__label {
    margin-bottom: 1rem;
  }

  .tiles_slide_item__image {
    height: 500px;
  }

  .tiles_slide_item__image img {
    height: 500px;
  }
}

@media screen and (max-width: 767px) {
  .prototype_item {
    width: 90dvw;
  }

  .block_overlay__right,
  .block_overlay__left {
    background: rgba(0, 0, 0, 0.5);
  }

  .parallax_image__move {
    top: 0;
  }

  section {
    min-height: 0;
  }

  #why {
    padding: 4rem 0;
  }

  #main {
    height: auto;
  }

  #main .section_heading {
    max-height: none;
  }

  .main_slider {
    display: flex;
  }

  h1 {
    font-size: 2.2rem;
  }

  .main_title--stairs-special {
    font-size: 3.8rem;
  }

  .main_subtitle__block {
    flex-wrap: wrap;
  }

  .main_subtitle {
    font-size: 1.2rem;
    max-width: 100%;
  }

  .main_slider {
    min-height: 0;
  }

  #citation {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 5vw;
    padding-right: 5vw;
    justify-content: center;
  }

  .citation_section_heading {
    width: 100%;
    padding: 0;
  }

  .citation_section_heading .citation_header {
    font-size: 1.5rem;
  }

  .citation_section_title__content p {
    width: 100%;
  }

  #citation {
    justify-content: flex-start !important;
    padding: 4rem 5vw !important;
  }

  #citation .citation_section_heading {
    width: 100% !important;
    text-align: left !important;
    z-index: 10;
    position: relative;
    background: none !important;
    padding: 0 !important;
  }

  #citation .citation_section_title__content {
    color: white !important;
  }

  #citation .citation_section_title__content .citation_header {
    color: white !important;
    font-size: 1.8rem !important;
  }

  #citation .citation_section_title__content p {
    color: white !important;
    opacity: 1 !important;
  }

  .section_effect_grow_text {
    opacity: 1 !important;
  }

  #our_story_main,
  #our_story_about {
    padding: 4rem 5vw !important;
    text-align: left !important;
  }

  #our_story_main .our_story_main__text,
  #our_story_main .our_story_about__text,
  #our_story_about .our_story_main__text,
  #our_story_about .our_story_about__text {
    width: 100% !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
  }

  #our_story_main .our_story_main__text h2,
  #our_story_main .our_story_about__text h2,
  #our_story_about .our_story_main__text h2,
  #our_story_about .our_story_about__text h2 {
    font-size: 1.6rem !important;
    text-align: left !important;
    left: 0 !important;
  }

  #our_story_main .our_story_main__text h2 .our_story_main__text__subtitle,
  #our_story_main .our_story_about__text h2 .our_story_main__text__subtitle,
  #our_story_about .our_story_main__text h2 .our_story_main__text__subtitle,
  #our_story_about .our_story_about__text h2 .our_story_main__text__subtitle {
    font-size: 1.6rem !important;
    left: 0 !important;
    margin-top: 1rem;
  }

  #our_story_main .our_story_main__text .about_paragraph,
  #our_story_main .our_story_about__text .about_paragraph,
  #our_story_about .our_story_main__text .about_paragraph,
  #our_story_about .our_story_about__text .about_paragraph {
    font-size: 1.2rem !important;
    text-align: left !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    width: 100% !important;
  }

  #our_story_about {
    padding-top: 0 !important;
  }

  #our_story_video {
    padding-top: 0 !important;
    aspect-ratio: 4/3 !important;
  }

  #our_story_about_2 {
    padding: 1rem 5vw 4rem !important;
  }

  #our_story_about_2 .our_story_about__text,
  #our_story_about_2 .about_paragraph {
    width: 100% !important;
  }

  #our_story_about_2 .about_items {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    align-items: flex-start !important;
  }

  #our_story_about_2 .about_items .about_item {
    width: calc(50% - 0.5rem) !important;
    text-align: start !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #our_story_about_2 .about_items .about_item h3 {
    border-width: 1px !important;
    min-height: 4.5rem !important;
    display: flex !important;
    align-items: center !important;
    font-size: 3rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    border-bottom: 2px solid var(--primary-color) !important;
  }

  .our_story_about__texts {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .our_story_about__texts > * {
    width: 100% !important;
  }

  .filter_group {
    padding: 2rem 5vw 0 5vw !important;
  }

  .filter_bullet_label {
    font-size: 1.4rem;
  }

  .default_padding_top_bottom {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  #contact-info .container {
    padding: 0 5vw;
  }

  #contact-info .contact-info-row {
    gap: 2rem;
  }

  #contact-info .contact-info-main-link {
    font-size: 1.8rem;
  }

  #about {
    padding: 2rem 6vw 4rem;
  }

  #specialization {
    padding-top: 0;
  }

  .specialization_item {
    min-height: 100vh !important;
    max-height: 100vh !important;
    margin-bottom: 100vh !important;
  }

  .specialization_item .specialization_item__content {
    min-height: 100vh !important;
    max-height: 100vh !important;
  }

  .specialization_item__header {
    min-height: 8vh !important;
    max-height: 8vh !important;
  }

  #specialization.specialization_showroom .specialization_item {
    min-height: 100vh !important;
    max-height: 100vh !important;
  }

  #specialization.specialization_showroom .specialization_item .specialization_item__content {
    min-height: 100vh !important;
    max-height: 100vh !important;
  }

  #specialization.specialization_showroom .specialization_item .specialization_item__content > div {
    height: 100vh !important;
  }

  #references {
    padding-top: 0;
  }

  #prototype {
    padding-top: 0;
    padding-bottom: 4rem;
  }

  .form_container {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .form_contact_items {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .form_contact_items .btn_arrow_round {
    width: auto;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .about_heading {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .about_heading__content {
    width: 100%;
  }

  .about_heading__image {
    width: 100%;
    height: 30vh;
  }

  .project {
    margin-top: 3rem;
  }

  .project_image {
    height: 230px;
  }

  .about_heading__content {
    padding-bottom: 0;
  }

  .contacts_inner {
    grid-template-columns: 1fr;
  }

  .contact_card_photo .contact_photo,
  .contact_card_photo .contact_photo_placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    /* Poměr 3:2 (šířka:výška) */
  }

  .contact_card_photo .contact_photo_placeholder .contact_initials {
    font-size: 2.2rem;
  }

  .partners_section {
    margin-top: 3rem;
  }

  .partners_section .partners_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .partners_section .partners_grid .partner_item {
    height: 80px;
  }

  .partners_section .partners_section_heading {
    margin-bottom: 2rem;
  }

  .partners_section .partners_section_heading .section_title {
    font-size: 1.8rem;
  }

  .tiles_items {
    grid-template-columns: 1fr;
  }

  .tiles_slide_item__image.active {
    width: 50dvw;
  }

  .tiles_slide_item__image img {
    width: 50dvw;
  }

  .tiles_slide_item__content {
    width: 50dvw;
  }
}

@media screen and (max-width: 600px) {
  #empate {
    min-height: 70dvh;
  }

  .empate_logo {
    top: 30%;
  }

  .empate_subtitle {
    white-space: wrap;
    text-align: center;
  }

  .projects_content {
    margin: 0 7vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .project {
    width: 100% !important;
  }

  .project:nth-child(2) {
    margin-top: 3rem;
  }

  .category_item_gallery__content {
    grid-template-columns: 1fr;
  }

  .category_item_gallery__image {
    height: 200px;
  }

  .tiles_slide_item {
    flex-direction: column;
  }

  .tiles_slide_item:nth-child(even) {
    flex-direction: column;
  }

  .tiles_slide_item__image {
    height: 50dvh;
  }

  .tiles_slide_item__image.active {
    width: 100dvw;
  }

  .tiles_slide_item__image img {
    width: 100dvw;
    height: 50dvh;
  }

  .tiles_slide_item__content {
    width: 100dvw;
  }
}

@media screen and (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }

  .indented-line {
    margin-left: 0;
  }

  .specialization_item__content___image {
    -o-object-position: var(--mobile-image-position-x, center) var(--mobile-image-position-y, center);
       object-position: var(--mobile-image-position-x, center) var(--mobile-image-position-y, center);
  }

  .specialization_item:nth-child(1) .specialization_item__content___image {
    --mobile-image-position-x: var(--mobile-image-1-x, center);
    --mobile-image-position-y: var(--mobile-image-1-y, center);
  }

  .specialization_item:nth-child(2) .specialization_item__content___image {
    --mobile-image-position-x: var(--mobile-image-2-x, center);
    --mobile-image-position-y: var(--mobile-image-2-y, center);
  }

  .specialization_item:nth-child(3) .specialization_item__content___image {
    --mobile-image-position-x: var(--mobile-image-3-x, center);
    --mobile-image-position-y: var(--mobile-image-3-y, center);
  }

  .specialization_item:nth-child(4) .specialization_item__content___image {
    --mobile-image-position-x: var(--mobile-image-4-x, center);
    --mobile-image-position-y: var(--mobile-image-4-y, center);
  }

  .slide_references {
    padding: 4rem 5vw;
  }

  .slide_references__item___inner {
    flex-direction: column;
    transform: none !important;
    gap: 1rem;
  }

  .slide_references__item__images {
    width: 100%;
    opacity: 1 !important;
    order: 1;
  }

  .slide_references__item__content {
    width: 100%;
    order: 2;
  }

  .slide_references__item__content__title h3,
  .slide_references__item__content__title h3.h2 {
    font-size: 2.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .slide_references .slide_references__item:hover,
  .slide_references .slide_references__item__full-link:hover,
  .slide_products .slide_references__item:hover,
  .slide_products .slide_references__item__full-link:hover,
  .slide_products.brown-bg .slide_references__item:hover,
  .slide_products.brown-bg .slide_references__item__full-link:hover {
    background: transparent !important;
    border-top-color: var(--dark-brown) !important;
    border-bottom-color: transparent !important;
  }

  .slide_references .slide_references__item:hover .slide_references__item___inner,
  .slide_references .slide_references__item__full-link:hover .slide_references__item___inner,
  .slide_products .slide_references__item:hover .slide_references__item___inner,
  .slide_products .slide_references__item__full-link:hover .slide_references__item___inner,
  .slide_products.brown-bg .slide_references__item:hover .slide_references__item___inner,
  .slide_products.brown-bg .slide_references__item__full-link:hover .slide_references__item___inner {
    transform: none !important;
  }

  .slide_references .slide_references__item:hover + .slide_references__item,
  .slide_references .slide_references__item__full-link:hover + .slide_references__item,
  .slide_products .slide_references__item:hover + .slide_references__item,
  .slide_products .slide_references__item__full-link:hover + .slide_references__item,
  .slide_products.brown-bg .slide_references__item:hover + .slide_references__item,
  .slide_products.brown-bg .slide_references__item__full-link:hover + .slide_references__item {
    border-top-color: var(--dark-brown) !important;
  }

  #main.main_products__background_image {
    height: auto;
    top: -60px;
    margin-bottom: -60px;
    flex-direction: column;
    align-items: stretch;
  }

  #main.main_products__background_image .main_products__background {
    height: 50vh;
    max-height: 400px;
    position: relative;
    order: 1;
  }

  #main.main_products__background_image .section_heading {
    width: 100% !important;
    background: var(--light-blue);
    padding: 4rem 5vw !important;
    position: relative;
    z-index: 2;
    order: 2;
  }

  #main.main_products__background_image + #about {
    margin-top: -60px;
  }

  .main_button {
    margin-top: 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .btn.btn_big {
    border-width: 2px;
    font-size: inherit;
    font-weight: 300;
  }

  .btn.btn_big svg {
    width: 20px;
  }

  .about_items {
    margin-top: 4rem;
  }

  .citation_text {
    font-size: 1.5rem;
  }

  .specialization_item__content_heading {
    font-size: 4rem;
  }

  .empate_logo {
    top: 20%;
  }

  #projects {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .projects_more {
    margin-top: 3rem;
  }

  #form {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .form_row label[for="file"] {
    font-size: 0.9rem;
  }

  .form_group .btn {
    padding: 10px 20px;
  }

  .upload_icon {
    min-width: 40px;
    height: 40px;
    top: 10px;
  }

  .upload_icon svg {
    width: 20px;
  }

  .footer {
    padding-top: 4rem;
    text-align: center;
  }

  .footer_logo {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer_logo svg {
    width: 80%;
    height: auto;
  }

  .footer_content {
    margin-bottom: 1rem;
  }

  .footer_content_item {
    width: 100% !important;
    margin-bottom: 1rem;
  }

  .about_subheading h3 {
    font-size: 2.2rem;
  }

  #about {
    padding: 2rem 5vw 0;
  }
}


/*# sourceMappingURL=main.css.map*/