@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  padding-top: 79px;
}

.container-fluid {
  padding: 0 80px;
}

.center {
  text-align: center;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
}

h1.line:before,
h2.line:before,
h3.line:before,
h4.line:before,
h5.line:before {
  content: "";
  width: 80px;
  height: 2px;
  background-color: var(--navy);
  display: block;
}

h1.line:before,
h2.line:before {
  margin-bottom: 30px;
}

h3.line:before {
  margin-bottom: 25px;
}

h4.line:before,
h5.line:before {
  margin-bottom: 20px;
}

h1.line-60:before,
h2.line-60:before,
h3.line-60:before,
h4.line-60:before,
h5.line-60:before {
  width: 60px;
}

h1.line-center,
h2.line-center,
h3.line-center,
h4.line-center,
h5.line-center {
  text-align: center;
}


h1.line-center:before,
h2.line-center:before,
h3.line-center:before,
h4.line-center:before,
h5.line-center:before {
  margin: auto;
}

h1.line-center:before,
h2.line-center:before {
  margin-bottom: 30px;
}

h3.line-center:before {
  margin-bottom: 25px;
}

h4.line-center:before,
h5.line-center:before {
  margin-bottom: 20px;
}

.nadpis-h1 {
  padding-top: 80px;
}

.banner.subpage .breadcrumbs {
  text-align: center !important;
  margin-bottom: 0 !important;
}

.breadcrumbs {
  font-size: 0.8em;
  color: #9dc1e1;
  margin-top: 25px;
  margin-bottom: -44px;
  text-align: right;
}

.breadcrumbs>a {
  color: #9dc1e1;
}

.breadcrumbs>a:hover {
  text-decoration: none;
}

.breadcrumbs>i {
  padding: 0 5px 0 5px;
}

a,
button {
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}

html,
body {
  overflow-x: hidden;
}

.bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.8s;
  -moz-transition: all 0.8s;
  -webkit-transition: all 0.8s;
  -o-transition: all 0.8s;
}

@media (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 1400px) {
  main {
    padding-top: 79px;
  }
}

@media (max-width: 991px) {
  .container-fluid {
    padding: 0 20px;
  }



  .breadcrumbs {
    text-align: center;
  }
}

.btn-my {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 30px;
  background-color: transparent;
  text-align: center;
}

.btn-my:hover {
  text-decoration: none !important;
}

.btn-my.lh-60 {
  line-height: 60px;
}

.btn-my.lh-50 {
  line-height: 50px;
}

.btn-my.lh-40 {
  line-height: 40px;
}

.btn-my.w-160 {
  width: 160px;
}

.btn-my.w-270 {
  width: 270px;
}

.btn-my.w-240 {
  width: 240px;
}

.btn-my-blue {
  background-color: var(--navy);
  color: #FFFFFF;
}

.btn-my-blue:hover {
  background-color: #3a589e;
  color: #FFFFFF;
}

.btn-my-dark {
  color: #FFFFFF;
  background-color: #000000;
}

.btn-my-dark:hover {
  background-color: #333333;
  color: #FFFFFF;
}

.error label {
  color: red !important;
}

.error input[type='text'],
.error input[type='email'],
.error textarea {
  border: 1px solid red !important;
}

.nav-item.poptavka .count {
  color: white;
  display: inline-block;
  background-color: #002f4c;
  border-radius: 50%;
  width: 30px;
  line-height: 30px;
  text-align: center;
  color: white;
  font-weight: bold;
  margin-left: 10px;
}

.banner.subpage {
  color: #fff;
  background-size: cover;
  min-height: 250px;
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin-right: auto;
  margin-left: auto;
  background-image: url("/template/img/content/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: 0;
  position: relative;
}

.banner.subpage::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background: transparent linear-gradient(90deg, var(--navy) 0%, var(--navy) 100%) 0% 0% no-repeat padding-box;
}

.banner.subpage h1 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(34px, 3.4vw, 49px);
}

.banner.subpage .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90vw;
}

@media (max-width: 575px) {
  .banner.subpage .content {
    position: inherit !important;
    width: 100%;
    left: unset;
    top: unset;
    transform: none !important;
    padding: 40px 0 !important;
  }

  .sekce-2 .container.bar {
    padding: 0 20px !important;
    gap: 10px !important;
  }

  .submenu-item a {
    text-align: left;
  }

  .submenu-items {
    min-width: 100% !important;
  }

  .banner.subpage {
    min-height: fit-content;
  }

  .banner.subpage .breadcrumbs {
    position: relative;
    z-index: 99;
  }
}

@media (max-width: 390px) {
  .header-actions {
    display: none !important;
  }
}

:root {
  --navy: #0A2540;
  --navy-2: #0C2B4D;
  --blue-cta: #123E6B;
  --blue-cta-hover: #0D2F52;
  --blue: #2C6BAF;
  --yellow: #F2B705;
  --slate: #33475B;
  --muted: #647587;
  --cloud: #F4F7FA;
  --line: #E3E9F0;
  --white: #FFFFFF;
  --shadow: 0 18px 40px -22px rgba(10, 37, 64, .25);
  --shadow-sm: 0 6px 18px -12px rgba(10, 37, 64, .30);
}

* {
  box-sizing: border-box
}

html {
  font-size: 18px;
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Archivo", sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.4px
}

p {
  margin: 0
}

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

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

.container {
  width: min(1400px, 92%);
  margin-inline: auto
}

.mark {
  position: relative;
  background-color: transparent;
  padding: 0;
  white-space: nowrap
}

.mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 2px;
  height: 12px;
  background: var(--yellow);
  z-index: -1;
  opacity: .9;
  transform: skewX(-6deg);
  border-radius: 2px;
}

.btn {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 18px;
  padding: 15px 26px;
  border-radius: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .28s ease, color .2s ease;
}

/* signaturový hover: žlutá "geodetická" linka se natáhne zleva doprava */
.btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .36s cubic-bezier(.65, .05, .2, 1);
  z-index: 2;
  pointer-events: none
}

.btn:hover::after {
  transform: scaleX(1)
}

.btn svg {
  width: 20px;
  height: 20px;
  transition: transform .25s ease
}

.btn--arrow:hover svg {
  transform: translateX(5px)
}

.btn--primary {
  background: var(--blue-cta);
  color: #fff
}

.btn--primary:hover {
  background: var(--blue-cta-hover);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(10, 37, 64, .75)
}

.btn--ghost {
  background: transparent;
  color: var(--blue-cta);
  border-color: var(--line)
}

.btn--ghost:hover {
  border-color: var(--blue-cta);
  background: #f1f6fb
}

.btn--light {
  background: #fff;
  color: var(--navy)
}

.btn--light:hover {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .55)
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .45)
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12)
}

/* HEADER */
.site-header {
  top: 0;
  z-index: 60;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.brand__mark {
  width: 36px;
  height: 36px;
  flex: 0 0 auto
}

.brand__name {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 23px;
  color: var(--navy);
  letter-spacing: .3px;
  line-height: 1
}

.brand__sub {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px
}

.nav a {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  padding: 6px 0 !important;
}

.navbar-collapse {
  justify-content: center;
}

.nav a:hover {
  color: var(--blue-cta)
}

.nav .has-drop {
  position: relative
}

.nav .has-drop>a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer
}

.caret {
  width: 11px;
  height: 11px;
  transition: transform .2s
}

.drop {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 262px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
}

.nav .has-drop:hover .drop,
.nav .has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.nav .has-drop:hover .caret {
  transform: rotate(180deg)
}

.submenu-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 16px;
  font-weight: 500
}

.submenu-item a:hover {
  background: var(--cloud);
  color: var(--blue-cta)
}

.drop a.is-spec {
  color: var(--blue-cta)
}

.submenu a .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto
}

.submenu a.is-spec .dot {
  background: var(--yellow)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px
}

.tel {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: right
}

.tel span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase
}

.tel strong {
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  color: var(--navy)
}

.tel:hover strong {
  color: var(--blue-cta)
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 7px;
  cursor: pointer
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: .2s
}

/* HERO — celoplošná fotka + obsah vycentrovaný na střed */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  text-align: center
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 20, 36, .55) 0%, rgba(6, 20, 36, .42) 42%, rgba(6, 20, 36, .74) 100%),
    radial-gradient(120% 90% at 50% 42%, rgba(6, 20, 36, 0) 40%, rgba(6, 20, 36, .45) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 0;
  color: #fff
}

.hero__content {
  max-width: 860px;
  margin: 0 auto
}

.hero h1,
.hero .claim {
  color: #fff;
  font-size: clamp(46px, 5.4vw, 76px);
  font-weight: 800;
  display: block;
  line-height: 1;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4)
}

.hero__sub {
  font-size: 22px;
  color: #e4edf6;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4)
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  justify-content: center
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .24);
  justify-content: center
}

.trust div {
  display: flex;
  flex-direction: column
}

.trust b {
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  color: #fff;
  line-height: 1
}

.trust small {
  font-size: 15px;
  color: #c3d2e4;
  margin-top: 5px
}

.hero__note {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 2;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(219, 230, 242, .65);
  background: rgba(10, 37, 64, .35);
  padding: 5px 9px;
  border-radius: 0;
  backdrop-filter: blur(4px)
}

/* DATUM signature divider */
.datum {
  position: relative;
  height: 0;
  border-top: 2px solid var(--navy);
  margin: 0
}

.datum::before {
  content: "▽";
  position: absolute;
  left: 0;
  top: -15px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
  background: #fff;
  padding-right: 8px
}

.datum::after {
  content: "±0,00 / DATUM";
  position: absolute;
  left: 28px;
  top: -13px;
  background: #fff;
  padding: 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 2.4px;
  color: var(--muted)
}

/* SECTIONS */
.section {
  padding: 96px 0
}

.section#kontakt {
  padding-top: 0;
}

.section--cloud {
  background: var(--cloud)
}

.sec-head {
  max-width: 560px;
  margin-bottom: 44px !important;
  margin: auto;
  text-align: center;
}

.sec-head h2,
.sec-head h1 {
  font-size: clamp(34px, 3.4vw, 49px);
  font-weight: 700;
  margin: 0 0 14px
}

.sec-head p {
  font-size: 20px;
  color: var(--slate)
}

/* SERVICES — 8 jednotných dlaždic s obrázky */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.svc {
  position: relative;
  z-index: 0;
  color: inherit;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow);
  flex-direction: column;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.svc:hover {
  box-shadow: var(--shadow);
  border-color: #cfdaea
}

.svc__img {
  aspect-ratio: 4/3;
  background: var(--navy);
  overflow: hidden
}

.svc__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.2, .6, .2, 1)
}

.svc__body {
  padding: 22px 22px 26px
}

.svc__body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px
}

.svc__body p {
  font-size: 18px;
  color: var(--slate);
  line-height: 1.5
}

/* odkazové dlaždice: stejný rukopis jako tlačítka */
a.svc::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.65, .05, .2, 1);
  z-index: 3;
  pointer-events: none
}

a.svc:hover::after {
  transform: scaleX(1)
}

a.svc:hover .svc__img img {
  transform: scale(1.06)
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-cta)
}

.svc__more svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease
}

a.svc:hover .svc__more svg {
  transform: translateX(5px)
}

a.svc:hover .svc__more {
  color: var(--navy)
}

/* GALLERY (Fancybox) */
.proj-top {
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px !important;
  flex-wrap: wrap
}

.proj-top h2 {
  font-size: clamp(34px, 3.4vw, 49px);
  font-weight: 700;
  margin: 0 0 12px
}

.proj-top p {
  font-size: 20px;
  color: var(--slate);
  max-width: 560px
}

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

.gitem {
  position: relative;
  display: block;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  cursor: pointer
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.gitem:hover img {
  transform: scale(1.05)
}

.gitem figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 37, 64, .85), transparent);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gitem figcaption b {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  font-size: 12px;
  color: var(--yellow);
  letter-spacing: 1px
}

.gitem__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: rgba(10, 37, 64, .55);
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transition: .2s;
  backdrop-filter: blur(3px)
}

.gitem:hover .gitem__zoom {
  opacity: 1
}

/* CTA band */
.ctaband {
  background: var(--blue-cta);
  color: #fff;
  border-radius: 0;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow)
}

.ctaband h2 {
  color: #fff;
  font-size: clamp(31px, 3vw, 43px);
  font-weight: 700;
  margin-bottom: 12px
}

.ctaband p {
  color: #cfe0f2;
  font-size: 20px;
  max-width: 520px
}

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

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: #9db1c8;
  padding: 64px 0 32px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px
}

.foot-brand .brand__name {
  color: #fff
}

.foot-brand p {
  margin-top: 16px;
  font-size: 16px;
  color: #8fa5be;
  max-width: 320px
}

.foot h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #6f88a5;
  margin-bottom: 16px;
  font-weight: 600
}

.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.foot a:hover {
  color: #fff
}

.foot li {
  font-size: 16px
}

.foot .contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.foot .contact-line svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--yellow);
  flex: 0 0 auto
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 42px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 15px;
  color: #7c92ac
}

.foot-bottom a {
  color: #a9bcd2
}

.foot-bottom a:hover {
  color: #fff
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media(max-width:1000px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .proj-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:820px) {


  .nav.open a {
    font-size: 19px;
    padding: 9px 0
  }

  .nav.open .drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 16px;
    min-width: 0
  }

  .nav.open .has-drop {
    width: 100%
  }

  .hero {
    min-height: 540px
  }

  .hero__scrim {
    background: linear-gradient(180deg, rgba(6, 20, 36, .55), rgba(6, 20, 36, .82))
  }

  .ctaband {
    grid-template-columns: 1fr;
    padding: 36px
  }
}

@media(max-width:560px) {
  html {
    font-size: 17px
  }

  .svc-grid {
    grid-template-columns: 1fr !important
  }

  .proj-grid {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .hero__inner {
    padding: 0 20px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }

  html {
    scroll-behavior: auto
  }

  .gitem:hover img {
    transform: none
  }
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 0
}