/* EuroEnterprise s.r.o. – staticky web s povodnym obsahom
   Farby z firemnych viziek: tmavomodra + zlta. */

@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #16206a;
  --navy-deep: #0e1550;
  --navy-soft: #3a4590;
  --band: #04064f;       /* farba pozadia povodnej animacie */
  --yellow: #ffd400;
  --paper: #f3f4f6;
  --white: #ffffff;
  --line: #d6d9e0;
  --steel: #545c72;
  --ink: #1b2140;
  --on-navy: #dfe2f3;
  --wrap: 72rem;
  --gutter: 1rem;
  --wide: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 0.18em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 40em) { :root { --gutter: 2rem; } }

.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; background: var(--navy); color: var(--white); padding: 0.6rem 1rem; }
.skip:focus { top: 0.5rem; }

/* ---------------------------------------------------------------- hlavicka */
.top { background: var(--white); }
.top__in { display: flex; align-items: center; gap: 1rem; padding-block: 0.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; min-width: 0; }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { font-weight: 800; font-stretch: var(--wide); font-size: 1.15rem; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 30em) { .brand__name { font-size: 1rem; font-stretch: 112%; } .brand__mark { width: 2rem; height: 2rem; } }
.langs { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex: none; }
.langs li { margin: 0; }
.langs a { display: block; padding: 0.35rem 0.45rem; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--steel); }
.langs a:hover { text-decoration: underline; }
.langs a[aria-current] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); }

.nav { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav li { margin: 0; }
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0 1.4rem; overflow-x: auto; scrollbar-width: none;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block; padding-block: 0.75rem; white-space: nowrap;
  font-weight: 600; text-decoration: none; color: var(--navy);
}
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--yellow); }
@media (min-width: 64em) { .nav ul { flex-wrap: wrap; overflow: visible; } }

/* ---------------------------------------------------------------- pas s nadpisom */
.band { background: var(--band); color: var(--white); }
.band__in {
  display: grid; gap: 0; align-items: center;
  min-height: 118px;
}
.band h1 {
  color: var(--white); padding-block: 1.5rem;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem); font-weight: 800; font-stretch: var(--wide);
  letter-spacing: -0.01em;
}
.band__slogans { display: block; justify-self: end; width: 100%; max-width: 400px; }
.band__slogans img {
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%);
  mask-image: linear-gradient(to right, transparent, #000 18%);
}
@media (min-width: 48em) {
  .band__in { grid-template-columns: 1fr auto; gap: 2rem; }
  .band__slogans { width: 400px; }
}
@media (max-width: 47.99em) {
  .band__in { padding-inline: 0; }
  .band h1 { padding: 1.25rem var(--gutter) 0.75rem; }
  .band__slogans { max-width: none; justify-self: stretch; }
  .band__slogans img { -webkit-mask-image: none; mask-image: none; }
}

/* ---------------------------------------------------------------- obsah */
.main { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.content { max-width: 46rem; }
.content > * + *, .objdesc > * + * { margin-top: 1.1rem; }
p, ul, dl, figure { margin: 0; }
ul { padding-left: 1.25rem; }
.content li + li, .objdesc li + li { margin-top: 0.4rem; }
li::marker { color: var(--navy); }
strong { font-weight: 700; color: var(--navy); }

.kv > div { display: grid; gap: 0.1rem 1.25rem; padding-block: 0.55rem; border-bottom: 1px solid var(--line); }
.kv > div:first-child { border-top: 1px solid var(--line); }
.kv dt { color: var(--steel); font-size: 0.9375rem; }
.kv dd { margin: 0; font-weight: 600; }
@media (min-width: 34em) { .kv > div { grid-template-columns: 13rem 1fr; } }
.kv--2col { max-width: none; }
@media (min-width: 60em) {
  .content:has(.kv--2col) { max-width: none; }
  .kv--2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .kv--2col > div:nth-child(2) { border-top: 1px solid var(--line); }
  .kv--2col > div { grid-template-columns: 11rem 1fr; }
}

.gallery { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.9375rem; color: var(--steel); margin-top: 0.35rem; }
.gallery a { display: block; }
.gallery img { border: 1px solid var(--line); background: var(--white); }

/* referencie */
.card { display: flex; gap: 1.25rem; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--navy); padding: 1.25rem; }
.card + .card { margin-top: 1.5rem; }
.card__label { flex: none; align-self: flex-start; }
.card__body > * + * { margin-top: 0.8rem; }

/* ---------------------------------------------------------------- objekty */
.objects { display: grid; gap: 2rem; }
@media (min-width: 60em) {
  .objects { grid-template-columns: 16rem 1fr; gap: 3.5rem; align-items: start; }
  .objects__plan { position: sticky; top: 1rem; }
}
.planbox { background: var(--navy); padding: 1.1rem; border-radius: 3px; }
.plan { display: block; width: 100%; height: auto; }
.plan--tall { display: none; }
@media (min-width: 60em) {
  .plan--tall { display: block; max-height: calc(100vh - 8rem); }
  .plan--wide { display: none; }
}
.pb polygon { fill: var(--navy-soft); stroke: #8c95c8; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill 0.15s; }
.pb text { fill: var(--on-navy); font-size: 9px; font-weight: 800; font-stretch: 110%; text-anchor: middle; pointer-events: none; }
.pb.s text { font-size: 6.5px; }
.pb.is-cur polygon { fill: var(--yellow); stroke: var(--yellow); }
.pb.is-cur text { fill: var(--navy); }
.pb:hover polygon, .pb:focus polygon, .pb.is-hot polygon { fill: var(--white); stroke: var(--white); }
.pb:hover text, .pb:focus text, .pb.is-hot text { fill: var(--navy); }
.pb:focus { outline: none; }
.pb:focus-visible polygon { stroke: var(--yellow); stroke-width: 3; }
@media (prefers-reduced-motion: reduce) { .pb polygon { transition: none; } }

.back { margin-top: 1rem; font-weight: 600; }
.back a::before { content: "‹ "; }

.objlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.objlist li { margin: 0; border-bottom: 1px solid var(--line); }
.objlist a { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.5rem 0.6rem 0; text-decoration: none; color: var(--ink); }
.objlist a:hover span:last-child { text-decoration: underline; }
.objlist li.is-hot { background: var(--white); }
.num {
  flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-stretch: var(--wide); font-size: 1.1rem;
}
.objlist li.is-hot .num { background: var(--yellow); color: var(--navy); }

.sec-title { font-size: 1.35rem; font-weight: 800; font-stretch: var(--wide); padding-bottom: 0.5rem; border-bottom: 2px solid var(--navy); margin-bottom: 1.1rem; }
section + section { margin-top: 2.5rem; }
.objdesc { max-width: 46rem; }
.objdesc h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 112%; }
.gallery--photos { gap: 0.6rem; }

/* ---------------------------------------------------------------- pata */
.foot { background: var(--navy-deep); color: var(--on-navy); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 1.5rem; }
.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.cards li { margin: 0; }
.cards a { display: block; }
.cards img { border: 1px solid rgba(255, 255, 255, 0.25); }
.cards a:focus-visible, .foot a:focus-visible { outline-color: var(--yellow); }
.langs--foot { margin: 0; gap: 1rem; }
.langs--foot a { color: var(--on-navy); padding-inline: 0; }
.langs--foot a[aria-current] { color: var(--white); box-shadow: none; text-decoration: underline; }

@media print {
  .nav, .band__slogans, .planbox, .foot, .langs { display: none; }
  .band { background: none; }
  .band h1 { color: var(--ink); }
}
