/* OTTE Reality, styl webu v4 */
:root {
  --ink: #1c1a17;
  --dark: #211f1b;
  --muted: #6b665f;
  --paper: #ffffff;
  --stone: #f1eee9;
  --bronze: #9a7a4e;
  --line: rgba(28, 26, 23, .14);
  --line-light: rgba(255, 255, 255, .45);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

/* Pojistka proti posouvání stránky do stran, jen na body (neruší posouvání okna) */
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .82rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bronze); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* Odkazy a tlačítka */
.text-link {
  font-size: .95rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--bronze); }
.text-link.light { color: #fff; }
.text-link.light:hover { color: #e3cfae; }
.btn {
  display: inline-block; padding: 15px 34px; border: 1px solid var(--ink); color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: .95rem; letter-spacing: .02em; transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }

/* Hlavička */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff;
  background: transparent; transition: background .3s, box-shadow .3s;
}
.header-bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  margin: 0 var(--pad); min-height: 104px; border-bottom: 1px solid var(--line-light); transition: min-height .3s, border-color .3s;
}
.header-solid, .site-header.is-scrolled { background: var(--dark); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.site-header.is-scrolled .header-bar, .header-solid .header-bar { min-height: 80px; border-bottom-color: transparent; }
.h-left { display: flex; align-items: center; min-width: 0; }
.menu-btn {
  display: flex; align-items: center; gap: 12px; background: none; border: 0; color: inherit;
  font: 500 1rem var(--sans); cursor: pointer; padding: 8px 0;
}
.burger { display: flex; flex-direction: column; gap: 4px; }
.burger i { display: block; width: 20px; height: 2px; background: currentColor; }
.logo img { width: 116px; height: auto; transition: width .3s; }
.is-scrolled .logo img, .header-solid .logo img { width: 96px; }
.h-right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
.icon-link { display: flex; color: inherit; opacity: .9; }
.icon-link:hover { opacity: 1; color: #e3cfae; }
.sep { width: 1px; height: 26px; background: var(--line-light); }
.h-cta { text-decoration: none; font-weight: 500; white-space: nowrap; }
.h-cta:hover { color: #e3cfae; }
.header-solid + .menu-overlay + main { padding-top: 80px; }

/* Menu přes celou obrazovku */
.menu-overlay {
  position: fixed; inset: 0; z-index: 150; background: var(--dark); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; overflow-x: hidden;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.overlay-inner {
  min-height: 100%; padding: 40px var(--pad) 48px; display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 40px 64px;
}
.menu-close {
  grid-column: 1 / -1; justify-self: start; background: none; border: 0; color: #fff;
  font: 500 1rem var(--sans); cursor: pointer; padding: 8px 0; border-bottom: 1px solid var(--line-light);
}
.overlay-nav > ul { list-style: none; margin: 0; padding: 0; }
.overlay-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px 0; }
.overlay-nav > ul > li > a {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.8rem); text-decoration: none; line-height: 1.2;
  transition: color .2s;
}
.overlay-nav > ul > li > a:hover, .overlay-nav a.is-active { color: #e3cfae; }
.overlay-sub { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.overlay-sub a { font-size: .92rem; color: rgba(255,255,255,.7); text-decoration: none; }
.overlay-sub a:hover { color: #fff; }
.overlay-contact { align-self: end; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,.75); }
.overlay-contact a { color: #fff; text-decoration: none; font-size: 1.1rem; }
.overlay-contact a:hover { color: #e3cfae; }
.overlay-contact p { margin: 10px 0; font-size: .92rem; }
body.menu-open { overflow: hidden; }

/* Hero */
.hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: #fff; background: var(--dark); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,.35) 45%, rgba(20,18,15,.6) 100%); }
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad) 80px;
}
.hero h1 { max-width: 15em; margin-bottom: 1.2em; }
.hero-links {
  display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%;
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); padding: 16px 0;
}
.hero-links a { text-decoration: none; padding: 2px 30px; position: relative; font-size: 1.02rem; }
.hero-links a + a::before {
  content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; transform: translateY(-50%);
}
.hero-links a:hover { color: #e3cfae; }
.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; margin-left: -1px;
  width: 1px; height: 56px; background: var(--line-light); overflow: hidden;
}
.scroll-hint span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { to { top: 100%; } }

/* Úvod */
.intro { padding: clamp(80px, 11vw, 150px) 0; }
.intro h2 { margin-bottom: .8em; }
.intro p { font-size: 1.12rem; font-weight: 300; color: #3a3631; }
.intro strong { color: var(--ink); }
.intro-end { font-family: var(--serif); font-style: italic; font-size: 1.4rem !important; color: var(--ink) !important; margin-top: 1.6em; }

/* Hlavičky sekcí */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 48px; }
.section-head h2 { margin: 0; }

/* Reference */
.refs { padding: 0 0 clamp(80px, 10vw, 140px); }
.refs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; }
.ref { min-width: 0; }
.ref-img { display: block; overflow: hidden; background: var(--stone); }
.ref-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s ease; }
.ref:hover .ref-img img { transform: scale(1.04); }
.ref-body { padding-top: 22px; }
.ref-type { font-size: .88rem; color: var(--bronze); margin-bottom: .4em; font-weight: 500; }
.ref h3 { margin-bottom: .5em; }
.ref h3 a { text-decoration: none; }
.ref h3 a:hover { color: var(--bronze); }
.ref blockquote { margin: 0 0 .8em; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: #3a3631; }
.ref-author { font-size: .92rem; color: var(--muted); margin: 0; }

/* Dva bloky */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar {
  position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; min-width: 0;
  background: var(--dark) var(--bg) center / cover no-repeat;
}
.pillar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,.25) 70%); }
.pillar-inner { position: relative; padding: clamp(28px, 5vw, 64px); max-width: 560px; }
.pillar p { color: rgba(255,255,255,.85); font-weight: 300; }

/* Tým */
.team { padding: clamp(80px, 10vw, 140px) 0; background: var(--stone); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.person { min-width: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #e2ddd5; margin-bottom: 22px; }
.person h3 { margin-bottom: .2em; }
.role { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.person a { text-decoration: none; font-weight: 500; }
.person a:hover { color: var(--bronze); }

/* Služby */
.services { padding: clamp(80px, 10vw, 140px) 0; }
.services-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 40px; }
.service { padding: 32px 28px 8px 0; text-decoration: none; min-width: 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { font-size: 1.25rem; transition: color .2s; }
.service:hover h3 { color: var(--bronze); }
.service p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Nabídka */
.offer { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.offer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.offer h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.offer-links { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* Výzva */
.cta { background: var(--dark); color: #fff; padding: clamp(90px, 12vw, 160px) 0; }
.cta p { color: rgba(255,255,255,.8); font-weight: 300; font-size: 1.1rem; margin: 0 auto 2em; max-width: 600px; }
.cta p a { color: #fff; white-space: nowrap; }

/* Patička */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 80px 0 32px; font-size: .95rem; text-align: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #e3cfae; }
.footer-logo { display: inline-block; margin-bottom: 36px; }
.footer-logo img { width: 116px; }
.footer-nav { list-style: none; padding: 22px 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-cols h3 { font-family: var(--sans); font-weight: 500; font-size: .95rem; color: #fff; margin-bottom: .6em; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0 0 6px; }

/* Dokumenty ke stažení (pro podstránky) */
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.docs li { border-bottom: 1px solid var(--line); }
.docs a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; text-decoration: none; }
.docs a:hover .doc-name { color: var(--bronze); }
.doc-name { font-weight: 500; }
.doc-meta { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.doc-desc { display: block; color: var(--muted); font-size: .92rem; font-weight: 400; }

/* Plovoucí tlačítko (mobil) */
.call-float { display: none; }

/* Responzivita */
@media (max-width: 1000px) {
  .refs-grid { gap: 56px 28px; }
  .services-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .overlay-inner { grid-template-columns: minmax(0, 1fr); }
  .overlay-contact { align-self: start; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-bar { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 84px; }
  .logo { justify-self: center; }
  .logo img { width: 92px; }
  .icon-link:nth-child(2), .sep, .h-cta { display: none; }
  .menu-btn span:first-child { display: none; }
  .hero-links a { padding: 2px 14px; font-size: .95rem; }
  .refs-grid, .pillars, .team-grid, .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 440px; }
  .services-row { grid-template-columns: minmax(0, 1fr); }
  .service, .service + .service { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; }
  .services-row .service:first-child { border-top: 0; }
  .section-head { flex-direction: column; gap: 10px; margin-bottom: 32px; }
  .team-grid { gap: 48px; }
  .docs a { flex-direction: column; gap: 4px; }
  .call-float {
    display: flex; align-items: center; gap: 8px; position: fixed; right: 16px; bottom: 16px; z-index: 90;
    background: var(--bronze); color: #fff; padding: 13px 20px; border-radius: 40px; font-weight: 500; text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .site-footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}