@font-face {
    font-family: 'DINNextLTPro-Regular';
    src: url('./assets/fonts/DINNextLTPro-Regular.eot');
    src: url('./assets/fonts/DINNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/DINNextLTPro-Regular.woff2') format('woff2'),
         url('./assets/fonts/DINNextLTPro-Regular.woff') format('woff'),
         url('./assets/fonts/DINNextLTPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
  --brand: #a81a22;
  --brand-2: #b22430;
  --back-white: #F2F4F4;
  --text: #0f172a;
  --line: rgba(15, 23, 42, 0.28);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  --footer-h: 320px;
  --okraje: 56px;
  --odskok_horni_obsah: 60px;
  --content-max: 1400px;
  --anim: 280ms cubic-bezier(.2,.7,.2,1);
  --logo-size: 250px;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'DINNextLTPro-Regular', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #e9e9eb;
}


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

.site {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background-color: #efefef;
  /* background-image: linear-gradient(rgba(255,255,255,0.22), rgba(255,255,255,0.22)), url('./assets/bg-site.webp'); */
  background-image: url('./assets/bg-site.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, rgba(255,255,255,0.44) 0%, rgba(255,255,255,0.18) 40%, rgba(255,255,255,0.08) 100%); */
  pointer-events: none;
  z-index: -1;
}


/* uprava iterovanim start */

.shell {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 24px 0px;

  display: flex;
  flex-direction: column;

  text-shadow:
    0 1px 2px  rgba(0, 0, 0, 0.95),
    0 0  12px  rgba(0, 0, 0, 0.85),
    0 0  28px  rgba(0, 0, 0, 0.60);
}

.uvod:not(.page-active),
.about:not(.page-active),
.contact:not(.page-active) {
  display: none;
}


/* mobilni verze */

@media (max-width: 991.98px) {
  body {
    overflow: visible;
  }

  .site {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .shell {
    flex: none;
    overflow: visible;
  }

  .contact-card-wrapper {
    width: 100%!important;
  }

}



/* uprava iterovanim end */




/* contact start */

.contact {
  color: white;
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-content: center;
  gap: 60px;
  padding-top: var(--odskok_horni_obsah);
  font-weight: 400;
  overflow: hidden;
}

.contact-intro {
  /* padding-top: 16px; */
  font-weight: 300;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.4;
  padding-left: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  padding-right: calc(var(--logo-size) / 5 * 2 + var(--okraje));
}

.contact-card-wrapper {
  background-color: rgba(242, 244, 244, 0.88);
  color: var(--text);
  width: 55%;
  padding-right: 26px;
  text-shadow: none;
}

.contact-card {
  background: transparent;
  padding: clamp(6px, 1vh, 18px) 8px clamp(6px, 1vh, 18px) 26px;
  margin-top: clamp(6px, 1vh, 18px);
  margin-bottom: clamp(6px, 1vh, 18px);
  margin-left: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  border-left: 2px solid var(--line);
}

.contact-card h2 {
  margin: 0 0 clamp(6px, 1.5vh, 22px);
  font-size: clamp(22px, min(3vw, 5vh), 48px);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(1px, 0.4vh, 4px);
  font-size: clamp(14px, min(1.45vw, 2vh), 22px);
  line-height: 1.4;
}

.contact-list strong {
  display: inline-block;
  width: 22px;
  /* font-weight: 700; */
}

.contact-block {
  margin-top: clamp(8px, 1.5vh, 28px);
  font-size: clamp(14px, min(1.45vw, 2vh), 22px);
  line-height: 1.45;
}

/* contact end */

/* footer start */

/* header start*/

.hero {
  width: 100%;
  flex: 0 0 auto; /* výška podle obsahu */

  position: relative;
  padding: 0px var(--okraje);
}

/* Header přes obrázek / hero */
.hero-header {
  position: relative;
  inset: 0 0 auto 0;
  z-index: 20;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  box-sizing: border-box;
}

.hero-left-wrapper {
  display: flex;
  align-items: center;
}

/* Logo jako odkaz */
.hero-header__logo-link {
  width: var(--logo-size);
  /* aspect-ratio: 1 / 1; */

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  padding: clamp(10px, 1vw, 14px);
  box-sizing: border-box;

  flex: 0 0 auto;

  background: transparent;
  padding: 0;
}

/* SVG obrázek */
.hero-header__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover / focus */
.hero-header__logo-link:hover {
  filter: brightness(1.05);
}

.hero-header__logo-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    /* --logo-size: 72px; */
    --okraje: 56px;
  }
  .contact {
    padding-left: 0px;
  }
  .shell {
    padding: 24px 0px;
  }
  .hero, .uvod, .about, .contact-intro {
    padding-left: var(--okraje)!important;
    padding-right: var(--okraje)!important;
  }

  .about-intro {
    /* margin-top: 28px; */
  }
  .contact-card-wrapper {
    width: 100%;
  }
  .contact-card {
    margin-left: 20%;
  }
  
}

/* header end */



/* menu start */

.nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: relative;
}

.nav-wrap.is-open .menu {
  max-height: 200px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--anim), background var(--anim);
}

.menu-toggle:hover {
  transform: translateY(-1px);
  background: var(--brand-2);
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform var(--anim), opacity var(--anim);
  content: "";
}

.menu-toggle__bars::before { position: absolute; top: -8px; left: 0; }
.menu-toggle__bars::after { position: absolute; top: 8px; left: 0; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

.menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  min-width: 154px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;

  transform: translateY(-8px);
  transform-origin: top right;

  transition:
    max-height var(--anim),
    opacity var(--anim),
    transform var(--anim);
}

.menu__link {
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--text);
  padding: 9px 18px;
  min-height: 0;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--anim), color var(--anim), transform var(--anim);
  border-left: 6px solid transparent;
}

.menu__link:hover,
.menu__link.is-active {
  background: var(--brand);
  color: #fff;
  border-left-color: rgba(255,255,255,0.18);
}

/* menu end */


/* uvod start */

.uvod {
  display: flex;
  flex: 1 1 auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  /* gap: 48px; */
  padding-top: var(--odskok_horni_obsah);
  padding-left: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  padding-right: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  
  font-weight: 400;
  color: #ffffff;
  text-shadow: 
    3px 5px 10px rgba(0,0,0,0.80);

}

.uvod-intro {
  align-self: start;
  align-items: start;

  /* margin: 0 0 22px; */
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.15;
  letter-spacing: 0.01em;

  margin-bottom: 28px;

}

/* uvod i about spolu */

.uvod-content, .about-content {
  /* margin: 0; */
  /* padding: 0; */
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.4;
}

.uvod-par, .about-par {
  margin-bottom: 16px;
}

/* about start */

.about {
  display: flex;
  flex: 1 1 auto;
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;

  gap: 60px;
  padding-top: var(--odskok_horni_obsah);
  padding-left: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  padding-right: calc(var(--logo-size) / 5 * 2 + var(--okraje));
  
  font-weight: 400;
  color: white;

}

.about-intro {
  align-self: start;
  align-items: start;

  /* margin: 0 0 22px; */
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.4;

  /* letter-spacing: 0.01em; */

  /* margin-bottom: 28px; */
}



/* logo band start */

:root {
  --band-height: 90px;     /* výška bílého pruhu na desktopu */
  --band-max-width: 1400px; /* maximální šířka obsahu */
  --band-fade: 10%;         /* síla ztracení okrajů */
  --logo-max-height: 42px;  /* maximální výška log */
  --logo-gap: 48px;
}

.logo-band {
  position: relative;
  min-height: var(--band-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  margin-left: calc(-1 * var(--logo-size) / 5 * 2);
  margin-right: calc(-1 * var(--logo-size) / 5 * 2);
  width: calc(100% + 2 * var(--logo-size) / 5 * 2);
  padding-left: var(--okraje);
  padding-right: var(--okraje);
}

/* bílý pruh se ztracenými okraji */
.logo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.92) var(--band-fade),
    #ffffff 20%,
    #ffffff 80%,
    rgba(255,255,255,0.92) calc(100% - var(--band-fade)),
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.logo-band__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--band-max-width);
  min-height: var(--band-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--logo-gap);
}

.logo-band__item {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-band__item img {
  display: block;
  max-width: 100%;
  max-height: var(--logo-max-height);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* mobil */
@media (max-width: 768px) {
  :root {
    --band-height: auto;
    --logo-gap: 24px;
    --logo-max-height: 38px;
  }

  .logo-band {
    padding: 20px 16px;
    background: rgba(255,255,255,0.96);
    padding-left: 0px;
    padding-right: 0px;
    width: calc(100% + 2 * var(--okraje));
  }

  .logo-band::before {
    display: none;
    background: rgba(255,255,255,0.96);
  }

  .logo-band__inner {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    gap: var(--logo-gap);
  }

  .logo-band__item {
    width: 100%;
  }

  .logo-band__item img {
    max-width: 80%;
  }
}

/* logo band end */


.footer-text {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;

    width: 100%;
    height: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 24px 56px 48px 56px;

  }

  .footer-claim {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
    color: var(--text);
  }

  .claim-text {
    line-height: 1.3;
    /* text-shadow: 
      3px 5px 10px rgba(0,0,0,0.80); */
  }

  .claim-title {
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.15;
  }

  .claim-content {
    font-size: clamp(10px, 1.05vw, 18px);
    line-height: 1.4;
  }

  .footer-logo-band__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--band-max-width);
    min-height: var(--band-height);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--logo-gap);
  }

.footer-info-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--back-white);
}

.budovy-linka {
  position: absolute;
  top: 124px;
  
  height: 10px;
  width: 100%;
  
  background-color: var(--brand);
}

.footer-logo-band {
  position: relative;
  min-height: var(--band-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

@media (max-width: 480px) {
  .hero-header__logo-link {
    width: calc(0.8 * var(--logo-size));
  }
}

@media (max-width: 380px) {
  .hero-header__logo-link {
    width: calc(0.7 * var(--logo-size));
  }
}

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

@media (min-width: 1200px) {
  :root {
    --footer-h: 300px;
  }

}


.site-footer {
  position: relative;
  width: 100%;
  height: var(--footer-h);
  flex: 0 0 var(--footer-h);

  display: flex;
  flex-direction: column;
}

.footer-wave-wrapper {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;

  flex: 0 0 auto;

  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 56px;

  text-align: end;
}

.footer-wave-wrapper img {
  height: 100%;
}