/* Montserrat served from this website (not from Google) – no visitor data goes to Google */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/montserrat-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;
}

:root {
  --ink: #141311;
  --paper: #FAFAF7;
  --paper-2: #F1EEE7;
  --line: #E1DDD3;
  --muted: #75726A;
  --gold: #A8813A;
  --gold-deep: #8F6E31;
  --gold-bright: #D8B45F;
  --dark: #17140F;
  --nav-bg: rgba(250,250,247,.92);
}

:root[data-theme="dark"] {
  --ink: #F2F1ED;
  --paper: #3B3B3A;
  --paper-2: #464645;
  --line: #5A5A58;
  --muted: #B6B4AE;
  --gold: #D8B45F;
  --gold-deep: #C9A24E;
  --gold-bright: #F0CB7A;
  --dark: #17140F;
  --nav-bg: rgb(30 30 30 / 75%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}

/* Backgrounds live in a position:fixed ::before layer (works on iOS Safari, which ignores background-attachment: fixed) */
/* Dark theme: very quiet warm tone + barely visible chevron parquet instead of flat grey – a faint gold light at the top
   and a slightly deeper bottom, plus fine grain so the gradients never show rings (banding) */
:root[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1300px 700px at 80% -15%,
      rgba(240, 203, 122, .06) 0%, rgba(240, 203, 122, .045) 20%, rgba(240, 203, 122, .028) 38%,
      rgba(240, 203, 122, .012) 55%, rgba(240, 203, 122, 0) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .06) 75%, rgba(0, 0, 0, .12) 100%),
    /* very faint chevron parquet (French herringbone) */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' viewBox='0 0 120 96'%3E%3Cg fill='%23ffffff' stroke='%23ffffff' stroke-opacity='.006' stroke-width='1'%3E%3Cpolygon points='0,-36 60,-96 60,-72 0,-12' fill-opacity='0.0045'/%3E%3Cpolygon points='60,-96 120,-36 120,-12 60,-72' fill-opacity='0.0025'/%3E%3Cpolygon points='0,-12 60,-72 60,-48 0,12' fill-opacity='0'/%3E%3Cpolygon points='60,-72 120,-12 120,12 60,-48' fill-opacity='0.0007'/%3E%3Cpolygon points='0,12 60,-48 60,-24 0,36' fill-opacity='0.0025'/%3E%3Cpolygon points='60,-48 120,12 120,36 60,-24' fill-opacity='0.0045'/%3E%3Cpolygon points='0,36 60,-24 60,0 0,60' fill-opacity='0.0007'/%3E%3Cpolygon points='60,-24 120,36 120,60 60,0' fill-opacity='0'/%3E%3Cpolygon points='0,60 60,0 60,24 0,84' fill-opacity='0.0045'/%3E%3Cpolygon points='60,0 120,60 120,84 60,24' fill-opacity='0.0025'/%3E%3Cpolygon points='0,84 60,24 60,48 0,108' fill-opacity='0'/%3E%3Cpolygon points='60,24 120,84 120,108 60,48' fill-opacity='0.0007'/%3E%3Cpolygon points='0,108 60,48 60,72 0,132' fill-opacity='0.0025'/%3E%3Cpolygon points='60,48 120,108 120,132 60,72' fill-opacity='0.0045'/%3E%3Cpolygon points='0,132 60,72 60,96 0,156' fill-opacity='0.0007'/%3E%3Cpolygon points='60,72 120,132 120,156 60,96' fill-opacity='0'/%3E%3Cpolygon points='0,156 60,96 60,120 0,180' fill-opacity='0.0045'/%3E%3Cpolygon points='60,96 120,156 120,180 60,120' fill-opacity='0.0025'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* Light theme: the same barely visible chevron parquet, in dark ink */
:root:not([data-theme="dark"]) body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' viewBox='0 0 120 96'%3E%3Cg fill='%23000000' stroke='%23000000' stroke-opacity='.009' stroke-width='1'%3E%3Cpolygon points='0,-36 60,-96 60,-72 0,-12' fill-opacity='0.004'/%3E%3Cpolygon points='60,-96 120,-36 120,-12 60,-72' fill-opacity='0.002'/%3E%3Cpolygon points='0,-12 60,-72 60,-48 0,12' fill-opacity='0'/%3E%3Cpolygon points='60,-72 120,-12 120,12 60,-48' fill-opacity='0.0006'/%3E%3Cpolygon points='0,12 60,-48 60,-24 0,36' fill-opacity='0.002'/%3E%3Cpolygon points='60,-48 120,12 120,36 60,-24' fill-opacity='0.004'/%3E%3Cpolygon points='0,36 60,-24 60,0 0,60' fill-opacity='0.0006'/%3E%3Cpolygon points='60,-24 120,36 120,60 60,0' fill-opacity='0'/%3E%3Cpolygon points='0,60 60,0 60,24 0,84' fill-opacity='0.004'/%3E%3Cpolygon points='60,0 120,60 120,84 60,24' fill-opacity='0.002'/%3E%3Cpolygon points='0,84 60,24 60,48 0,108' fill-opacity='0'/%3E%3Cpolygon points='60,24 120,84 120,108 60,48' fill-opacity='0.0006'/%3E%3Cpolygon points='0,108 60,48 60,72 0,132' fill-opacity='0.002'/%3E%3Cpolygon points='60,48 120,108 120,132 60,72' fill-opacity='0.004'/%3E%3Cpolygon points='0,132 60,72 60,96 0,156' fill-opacity='0.0006'/%3E%3Cpolygon points='60,72 120,132 120,156 60,96' fill-opacity='0'/%3E%3Cpolygon points='0,156 60,96 60,120 0,180' fill-opacity='0.004'/%3E%3Cpolygon points='60,96 120,156 120,180 60,120' fill-opacity='0.002'/%3E%3C/g%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.disp {
  font-family: 'Montserrat', sans-serif;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s ease, border-color .4s ease;
}

.nav-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  position: relative;
  display: block;
  height: 84px;
  aspect-ratio: 3000 / 1296;
}

.nav-logo img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  transition: opacity .5s ease;
}

.nav-logo .logo-for-light { opacity: 1; }
.nav-logo .logo-for-dark { opacity: 0; }
:root[data-theme="dark"] .nav-logo .logo-for-light { opacity: 0; }
:root[data-theme="dark"] .nav-logo .logo-for-dark { opacity: 1; }

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

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -1px;
  height: 1px;
  background: var(--gold-deep);
  transition: right .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a.active { color: var(--gold-deep); }

/* Desktop: menu links centred in the bar, as in v6 (logo left, theme toggle right) */
@media (min-width: 1001px) {
  .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  height: 1px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.theme-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .25s ease;
}

.theme-toggle:hover { background: var(--paper-2); }

.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  stroke: var(--muted);
  transition: stroke .3s ease, transform .5s ease, opacity .3s ease;
}

.theme-toggle:hover svg { stroke: var(--gold-deep); }

.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

/* Eyebrow */
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 12px;
}

/* Hero split */
.hero-split {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  min-height: 78vh;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px clamp(32px, 6vw, 80px);
}

.hero-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 18px;
}

.hero-text h1 strong { font-weight: 600; }

.hero-text p {
  color: var(--muted);
  max-width: 46ch;
  font-size: 18px;
  margin: 0 0 28px;
}

/* Hero photo in the open gold frame (motif from the logo, taken from v6) */
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(36px, 5vw, 64px) 0;
}
.frame-box { position: relative; width: 100%; padding: 34px 0 34px 34px; }
.frame-box::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 58%;
  border: 2px solid var(--gold-bright);
  border-right: 0;
  border-bottom: 0;
  pointer-events: none;
}
.frame-box::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  right: calc(-1 * clamp(20px, 4vw, 56px));
  height: 2px;
  background: var(--gold-bright);
  pointer-events: none;
}
.frame-box .photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-2);
  box-shadow: 0 40px 80px -34px rgba(20, 19, 17, .45);
}
.frame-box .badge {
  position: absolute;
  z-index: 2;
  right: calc(-1 * clamp(10px, 2vw, 28px));
  bottom: 0;
  max-width: 250px;
  padding: 20px 24px;
  background: #17140F;
  color: #F7F2E9;
  font-size: 13px;
  line-height: 1.5;
}
.frame-box .badge b {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: #D8B45F;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1.3s ease, transform 1.3s cubic-bezier(.16,.8,.3,1);
}
/* hidden only while JS is running (html.js) – without JS the photo is simply visible */
.js .hero-media img:not(.loaded) { opacity: 0; transform: scale(1.08); }

.hero-media img.loaded { opacity: 1; transform: scale(1); }

.hero-media:hover img.loaded { transform: scale(1.045); }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { transition: opacity .3s ease; transform: none !important; }
  .hero-media img.loaded { opacity: 1; }
}

/* Arrow / line links & buttons */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: color .2s ease, border-color .2s ease;
}

.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.arrow-link:hover span { transform: translateX(4px); }

.btn-fill {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 30px;
  transition: background .2s ease;
}

.btn-fill:hover { background: var(--gold-deep); }

/* Sections */
.section { padding: 64px 0; transition: background-color .4s ease; }
.section.tight { padding: 44px 0; }
/* Same gap on every subpage between the intro text and the first content block (as on Realizácie) */
.page-intro + .section,
.page-intro + .cat-block { padding-top: 8px; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--dark); color: #D8D5CC; }

.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 0;
  letter-spacing: -.01em;
}
.section-head p { color: var(--muted); margin: 10px 0 0; font-size: 17px; }

/* Values row */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value {
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}
.value:first-child { border-left: none; }

.values .value {
  transition: border-color .4s ease, background-color .35s ease, opacity 1.6s ease, transform 1.9s cubic-bezier(.22,1.4,.36,1);
}

.values .value:hover {
  background: var(--paper-2);
}

.value h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 19px;
  margin: 0 0 8px;
  transition: color .35s ease;
}

.value:hover h3 { color: var(--gold-deep); }

.value p { color: var(--muted); font-size: 15px; margin: 0; }

/* Editorial rows (sortiment preview, sluzby) */
.row {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}
.row:first-child { border-top: 1px solid var(--line); }

.section .row {
  transition: border-color .4s ease, background-color .35s ease, opacity 1.6s ease, transform 1.9s cubic-bezier(.22,1.4,.36,1);
}

.section .row:hover {
  background: var(--paper-2);
}

.row h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 0 0 6px;
  transition: color .35s ease;
}

.section .row:hover h3 { color: var(--gold-deep); }

.row p { color: var(--muted); margin: 0; max-width: 75ch; }

/* Category blocks with alternating media (sortiment.html) */
/* Sortiment rows – image size and spacing as in v6 */
.cat-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  max-width: 1240px; /* same column as .wrap, so it lines up with the page heading */
  margin: 0 auto;
  padding: clamp(36px, 5vw, 70px) 32px;
  border-bottom: 1px solid var(--line);
  transition: border-color .4s ease;
}

.cat-block:nth-child(even) { direction: rtl; }
.cat-block:nth-child(even) > * { direction: ltr; }

.cat-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: var(--paper-2);
  box-shadow: 0 40px 80px -34px rgba(20, 19, 17, .45);
}

.cat-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(.25,.46,.45,.94);
}

.cat-media:hover img { transform: scale(1.045); }

.cat-text { padding: 0; display: flex; flex-direction: column; justify-content: center; }
.cat-text .index { font-family: 'Montserrat', sans-serif; color: var(--gold-deep); font-size: 13px; letter-spacing: .1em; margin-bottom: 10px; }
.cat-text h3 { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; }
.cat-text p { color: var(--muted); margin: 0 0 12px; }
.cat-text ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); font-size: 15px; }
.cat-text li { margin-bottom: 4px; }

.catalog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.catalog-list-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-list a {
  font-size: 13px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.catalog-list a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* Tight image grid (realizacie) */
.grid-tight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.grid-tight .item {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-2);
}

.grid-tight .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}

.grid-tight .item:hover img { transform: scale(1.06); }

/* Realizácie placeholder tiles ("Fotografie pripravujeme") – open gold frame from the logo */
.grid-tight .item.ph { display: grid; place-items: center; background: var(--paper-2); }
.ph-frame {
  position: absolute;
  left: 16%; top: 18%; bottom: 18%;
  width: 46%;
  border: 2px solid var(--gold-bright);
  border-right: 0; border-bottom: 0;
}
.ph-frame::after {
  content: "";
  position: absolute;
  left: -2px; bottom: 0;
  width: calc((100% / .46) * .74);
  height: 2px;
  background: var(--gold-bright);
}
.ph-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--gold-deep); }
.ph-in svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ph-in span { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; line-height: 1.7; }
@media (max-width: 760px) {
  .ph-in svg { width: 26px; height: 26px; }
  .ph-in span { font-size: 9px; letter-spacing: .16em; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-grid dl { margin: 0; }

.contact-grid dt {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 18px;
}
.contact-grid dt:first-child { margin-top: 0; }

.contact-grid dd { margin: 6px 0 0; font-size: 17px; }
.contact-grid dd a { border-bottom: 1px solid var(--line); }
.contact-grid dd a:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.email-reveal {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  opacity: .8;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}

.email-reveal:hover { color: var(--gold-deep); border-color: var(--gold-deep); opacity: 1; }

.map-embed { border: 1px solid var(--line); height: 320px; transition: border-color .4s ease; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Click-to-load map placeholder */
.map-ph {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; background: var(--paper-2);
  transition: background-color .4s ease;
}
.map-pin { width: 34px; height: 34px; color: var(--gold); }
.map-addr { margin: 0; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 15px; line-height: 1.5; color: var(--ink); }
.map-load { border: 0; cursor: pointer; font-size: 12.5px; padding: 13px 26px; }
.map-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.map-note a { color: var(--gold-deep); }
:root[data-theme="dark"] .map-note a { color: var(--gold); }

/* Footer */
.footer {
  background: var(--dark);
  color: #B6B2A7;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  border-top: 1px solid rgba(216,180,95,.22);
  padding-top: 32px;
}

.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #D8D5CC;
  margin: 0 0 12px;
}

.footer p, .footer li { font-size: 14px; line-height: 1.7; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a:hover { color: var(--gold-bright); }
.footer-logo { height: 56px; margin-bottom: 14px; }

.footer-bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 16px 32px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: #7C7A73;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
}
.footer-bottom a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* Privacy page (ochrana osobných údajov) */
.legal > * { max-width: 780px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--gold); }
.legal h2 {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep);
  margin: 38px 0 12px; scroll-margin-top: 110px;
}
:root[data-theme="dark"] .legal h2 { color: var(--gold); }
.legal-lead { font-size: 18px !important; color: var(--ink); }
.legal a { border-bottom: 1px solid var(--line); }
.legal a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.legal .email-reveal { font-size: inherit; }
.legal-date { margin-top: 36px !important; font-size: 13px !important; color: var(--muted); }

.cat-block[id] { scroll-margin-top: 110px; }

/* Subpage hero: text + photo in gold frame (služby, from v6) */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.page-hero .frame-box::after { right: -32px; }
.page-hero.reverse { grid-template-columns: 1.1fr 1fr; }
.page-hero .frame-box .photo img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transform: none; }
.page-hero .frame-box:hover .photo img { transform: scale(1.04); }
.svc-illustration { display: block; width: 100%; height: 100%; }

/* Services 2×2 grid with gold icons (from v6) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  padding: clamp(28px, 3.4vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s ease, opacity 1.6s ease, transform 1.9s cubic-bezier(.22,1.4,.36,1);
}
.svc:hover { background: var(--paper-2); }
.svc .ic {
  width: 52px; height: 52px;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-bright);
  display: grid; place-items: center;
  transition: background-color .4s ease;
}
.svc:hover .ic { background: var(--gold-bright); }
.svc .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .ic svg { stroke: #17140F; }
.svc h3 { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: clamp(22px, 2.3vw, 30px); margin: 0 0 12px; transition: color .3s ease; }
.svc:hover h3 { color: var(--gold-deep); }
.svc p { color: var(--muted); margin: 0; max-width: 44ch; }

/* Dark CTA band with open gold frame (from v6) */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding: clamp(40px, 6vw, 84px);
  border-radius: 4px;
  background: #17140F;
  color: #D8D5CC;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 36px); top: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 36px);
  width: 40%;
  border: 2px solid #D8B45F;
  border-right: 0; border-bottom: 0;
  opacity: .6;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: clamp(18px, 3vw, 36px); right: 0; bottom: clamp(18px, 3vw, 36px);
  height: 2px;
  background: #D8B45F;
  opacity: .6;
}
.cta-band > * { position: relative; }
.cta-section { padding-top: 24px; padding-bottom: 72px; }
.cta-band h2 { font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; color: #F7F2E9; margin: 6px 0 14px; max-width: 18ch; }
.cta-band h2 strong { font-weight: 600; color: #D8B45F; }
.cta-band p { margin: 0; color: rgba(247, 242, 233, .7); }
@media (max-width: 900px) {
  .page-hero, .page-hero.reverse { grid-template-columns: 1fr; }
  .page-hero .frame-box { padding: 20px 0 20px 20px; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  /* CTA band on phones: more room for text, button full width so the label stays on one line */
  .cta-band { padding: 42px 26px 44px 34px; }
  /* gold frame closer to the edge, so it does not crowd the text and button */
  .cta-band::before { left: 14px; top: 14px; bottom: 14px; }
  .cta-band::after { left: 14px; bottom: 14px; }
  .cta-band .btn-fill {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 12.5px;
    letter-spacing: .05em;
    padding: 15px 14px;
  }
}
@media (max-width: 360px) {
  .cta-band { padding: 36px 18px 38px 26px; }
  .cta-band::before { left: 11px; top: 11px; bottom: 11px; }
  .cta-band::after { left: 11px; bottom: 11px; }
  .cta-band .btn-fill { font-size: 11px; letter-spacing: .02em; padding: 14px 8px; }
}

/* Kontakt – lunch break shown as a quieter note under the weekday hours */
.hours-break {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 3px 0 9px;
  padding-left: 10px;
  border-left: 2px solid var(--gold-bright);
  font-size: .86em;
  font-style: italic;
  color: var(--muted);
}

/* Category strip under the hero (from v6) */
.cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 clamp(32px, 6vw, 80px) clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 24px 0;
  border-right: 1px solid var(--line);
  -webkit-tap-highlight-color: transparent;
  /* opacity/translate are used by the scroll-in, background by hover/tap – listed together so neither overrides the other */
  transition: background-color .4s ease, opacity .7s ease var(--d, 0s), translate .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0s);
}
.cat:last-child { border-right: 0; }
.cat + .cat { padding-left: 18px; }
.cat:hover, .cat:active, .cat:focus-visible { background: var(--paper-2); }
.cat .th { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.cat .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.cat:hover .th img, .cat:active .th img, .cat:focus-visible .th img { transform: scale(1.15); }
.cat b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); transition: color .3s ease; }
.cat small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.cat:hover b, .cat:active b, .cat:focus-visible b { color: var(--gold-deep); }
/* gentle staggered slide-in when the strip scrolls into view (class added by JS, so no-JS stays visible) */
.cats.anim .cat { opacity: 0; translate: -16px 0; }
.cats.anim .cat.in-view { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .cats.anim .cat { opacity: 1; translate: none; }
}
@media (max-width: 1100px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { border-bottom: 1px solid var(--line); }
  .cat:nth-child(3n) { border-right: 0; }
  .cat:nth-child(3n + 1) { padding-left: 0; }
  .cat:nth-child(n + 4) { border-bottom: 0; }
}
@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; margin: 8px 20px 28px; }
  .cat, .cat + .cat { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cat:last-child { border-bottom: 0; }
}

/* Manufacturers / suppliers – slowly scrolling logo strip (homepage) */
.brands { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.brands-head { text-align: center; margin-bottom: 28px; }
.brands-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brands-track {
  display: flex;
  width: max-content;
  animation: brands-scroll 50s linear infinite;
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brand-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  transition: color .3s ease, opacity .3s ease;
}
.brand:hover { color: var(--ink); opacity: 1; }
/* Real supplier logos, all forced into one monochrome style (theme aware) */
.brand-logo {
  display: block;
  height: var(--h, 28px);
  width: auto;
  max-width: none;
  filter: grayscale(1) brightness(0);
  opacity: .5;
  transition: opacity .3s ease;
}
:root[data-theme="dark"] .brand-logo { filter: grayscale(1) brightness(0) invert(1); opacity: .55; }
.brand:hover .brand-logo { opacity: .9; }
@keyframes brands-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; width: auto; justify-content: center; }
  .brand-set { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0; }
  .brand-set[aria-hidden="true"] { display: none; }
}
@media (max-width: 760px) {
  .brand-set { gap: 48px; padding-right: 48px; }
  .brand-logo { height: calc(var(--h, 28px) * .82); }
}

/* Intro logo animation (index only, once per browser session) */
.intro-ov {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  background: var(--paper);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.76, 0, .24, 1);
  cursor: pointer;
}
html.intro .intro-ov { display: grid; }
html.intro body { overflow: hidden; }
html.intro-out .intro-ov { clip-path: inset(0 0 100% 0); }
.intro-logo {
  width: min(560px, 74vw);
  height: auto;
  overflow: visible;
  animation: intro-settle 2.6s cubic-bezier(.16, 1, .3, 1) both;
}
html.intro-out .intro-logo { opacity: 0; transform: translateY(-30px); transition: opacity .5s ease, transform .8s ease; }
.intro-logo .lf,
.intro-logo .lu {
  fill: none;
  stroke: var(--gold);
  stroke-width: 62.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: intro-draw 1.1s cubic-bezier(.65, 0, .35, 1) .15s forwards;
}
.intro-logo .lu { animation-duration: .6s; animation-delay: 1.15s; }
.intro-logo .lt,
.intro-logo .ls {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: intro-rise .8s cubic-bezier(.16, 1, .3, 1) forwards;
}
.intro-logo .lt { fill: var(--ink); animation-delay: calc(.5s + var(--i) * .07s); }
.intro-logo .ls { fill: var(--gold); animation-delay: calc(1.15s + var(--i) * .06s); }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(45%); } to { opacity: 1; transform: none; } }
@keyframes intro-settle { from { transform: scale(.94); } to { transform: none; } }

/* Reveal */
.reveal {
  transition: opacity 1.6s ease, transform 1.9s cubic-bezier(.22,1.4,.36,1);
}
/* hidden only while JS is running (html.js) – without JS the content is simply visible */
.js .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(70px) scale(.9);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { order: -1; padding: 28px 20px 8px 20px; }
  .frame-box { padding: 20px 0 20px 20px; }
  .frame-box::after { right: -20px; }
  .frame-box .badge { position: relative; right: auto; bottom: auto; max-width: none; margin: -30px 0 0 20px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: none; }
  .value:nth-child(1), .value:nth-child(2), .value:nth-child(3), .value:nth-child(4) { border-top: 1px solid var(--line); }
  .cat-block { grid-template-columns: 1fr; min-height: 0; direction: ltr !important; }
  .cat-block > * { direction: ltr !important; }
  .cat-block { gap: 24px; }
  .cat-media { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-tight { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-right { gap: 10px; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, background-color .4s ease, border-color .4s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { display: block; padding: 14px 32px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .row { padding: 22px 18px; }
}
