/* ═══════════════════════════════════════════════════════════════════
   GLOBÁLNÍ PROMĚNNÉ & RESET
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --accent:      #0B2035;
  --accent-mid:  #153050;
  --cyan:        #10B9E8;
  --bg:          #F7F5F0;
  --bg-white:    #FFFFFF;
  --text:        #1A1A1A;
  --muted:       #6B6866;
  --border:      #E0DDD6;
  --ff-display:  'Outfit', sans-serif;
  --ff-body:     'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247,245,240,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex; align-items: center;
  padding: 0 48px;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-links {
  display: flex; gap: 36px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  font-size: 11px !important;
}
.nav-cta:hover { background: var(--accent-mid); color: #fff !important; }
.nav-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-back:hover { color: var(--accent); }
.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text);
}

/* ═══════════════════════════════════════════════════════════════════
   TLAČÍTKA
   ═══════════════════════════════════════════════════════════════════ */
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-solid:hover { background: var(--accent-mid); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--accent);
  padding: 14px 32px; border: 1px solid var(--accent);
  font-family: var(--ff-body); font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════
   SEKCE — SPOLEČNÉ
   ═══════════════════════════════════════════════════════════════════ */
.section { padding: 100px 48px; }
.section-white { background: var(--bg-white); }

.section-lead {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.section-lead::before {
  content: ''; width: 36px; height: 1px; background: var(--accent);
}
.section-h {
  font-family: var(--ff-display);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.01em; color: var(--text);
  margin-bottom: 56px;
}
.section-h em { font-style: normal; font-weight: 600; color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════
   HERO — index.php — fullscreen slider
   ═══════════════════════════════════════════════════════════════════ */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-bg-slide.active { opacity: 1; }
.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,32,53,.84) 40%, rgba(11,32,53,.4) 100%);
  z-index: 1;
}
.hero-col-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 120px 48px 80px;
  max-width: 720px;
}
.hero-bg { display: none; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--cyan);
}
.hero-h {
  font-family: var(--ff-display);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 300; line-height: 1.02;
  letter-spacing: -0.02em; color: #fff;
  margin-bottom: 32px;
}
.hero-h em { font-style: normal; font-weight: 600; color: var(--cyan); }
.hero-sub {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.72);
  max-width: 520px; line-height: 1.85; margin-bottom: 48px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-fullscreen .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.hero-fullscreen .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════
   O NÁS — index.html
   ═══════════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-body p {
  color: var(--muted); font-size: 16px; line-height: 1.9;
  margin-bottom: 20px;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 48px;
}
.stat { border-top: 1px solid var(--border); padding-top: 18px; }
.stat-n {
  font-family: var(--ff-display); font-size: 52px; font-weight: 300;
  color: var(--cyan); line-height: 1; margin-bottom: 4px;
}
.stat-l {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.about-img {
  aspect-ratio: 4/5; background: var(--accent);
  overflow: hidden; position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 140px; font-weight: 300;
  color: rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════════════════════════════
   REFERENCE GRID — index.html
   ═══════════════════════════════════════════════════════════════════ */
.ref-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.ref-card {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--accent); display: block; text-decoration: none;
  cursor: pointer;
}
.ref-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease, opacity .35s; opacity: .72;
}
.ref-card:hover img { transform: scale(1.06); opacity: .5; }
.ref-card-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
}
.ref-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: #fff; transform: translateY(6px);
  transition: transform .3s ease;
}
.ref-card:hover .ref-card-info { transform: translateY(0); }
.ref-tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: .72; margin-bottom: 6px;
}
.ref-name {
  font-family: var(--ff-display); font-size: 22px; font-weight: 400; line-height: 1.2;
}
.ref-cta { text-align: center; margin-top: 52px; }

/* ═══════════════════════════════════════════════════════════════════
   GALERIE — index.html
   ═══════════════════════════════════════════════════════════════════ */
.gal-grid { columns: 3; column-gap: 3px; }
.gal-item { break-inside: avoid; margin-bottom: 3px; overflow: hidden; }
.gal-item img {
  width: 100%; display: block;
  transition: transform .45s ease, opacity .3s;
  opacity: .88; cursor: zoom-in;
}
.gal-item img:hover { transform: scale(1.04); opacity: 1; }
.gal-ph {
  width: 100%; background: #E8E5DE;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════════
   KONTAKT — index.html
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h3 {
  font-family: var(--ff-display); font-size: 30px; font-weight: 300;
  margin-bottom: 36px; line-height: 1.2;
}
.contact-row {
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-row:first-of-type { border-top: 1px solid var(--border); }
.contact-lbl {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 5px;
}
.contact-val { font-size: 15px; color: var(--text); }
.contact-val a { color: var(--cyan); text-decoration: none; }
.contact-form .fg { margin-bottom: 16px; }
.contact-form label {
  display: block; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%; background: transparent;
  border: none; border-bottom: 1px solid var(--border);
  padding: 10px 0; font-family: var(--ff-body);
  font-size: 15px; font-weight: 300; color: var(--text);
  outline: none; transition: border-color .2s;
  border-radius: 0; box-shadow: none; height: auto;
}
.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: var(--cyan); box-shadow: none; }
.contact-form textarea { resize: none; min-height: 64px; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.main-footer {
  background: var(--accent);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.footer-top {
  padding: 48px 48px 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap { display: flex; flex-direction: column; gap: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-company {
  font-family: var(--ff-display); font-size: 18px; font-weight: 300;
  color: #fff; letter-spacing: 0.02em; margin-bottom: 4px;
}
.footer-contact-row { display: flex; gap: 6px; }
.footer-contact-lbl { color: rgba(255,255,255,0.4); min-width: 60px; }
.footer-contact-val { color: rgba(255,255,255,0.75); }
.footer-contact-val a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
.footer-contact-val a:hover { opacity: .75; }
.footer-ids { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; }
.footer-bottom {
  padding: 20px 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 20px; }

/* ═══════════════════════════════════════════════════════════════════
   STRÁNKA REFERENCÍ — reference/prehled.html
   ═══════════════════════════════════════════════════════════════════ */
.page-header {
  padding: 140px 48px 72px;
  border-bottom: 1px solid var(--border);
}
.page-header-lead {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.page-header-lead::before { content: ''; width: 36px; height: 1px; background: var(--accent); }
.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 300; line-height: 1.05;
  color: var(--text); letter-spacing: -0.01em;
}
.page-header h1 em { font-style: normal; font-weight: 600; color: var(--cyan); }

.filter-bar {
  padding: 24px 48px;
  display: flex; gap: 8px; flex-wrap: wrap;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  background: transparent; border: 1px solid var(--border);
  padding: 8px 20px; font-family: var(--ff-body);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

.ref-list {
  padding: 48px 48px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 3px;
}
.ref-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--accent);
  display: block; text-decoration: none; cursor: pointer;
}
.ref-item.featured { grid-column: span 2; aspect-ratio: 16/7; }
.ref-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease, opacity .35s; opacity: .72;
}
.ref-item:hover img { transform: scale(1.05); opacity: .5; }
.ref-item-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
}
.ref-item-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: #fff; transform: translateY(8px);
  transition: transform .3s ease;
}
.ref-item:hover .ref-item-info { transform: translateY(0); }
.ref-item-tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: .72; margin-bottom: 6px;
}
.ref-item-name {
  font-family: var(--ff-display); font-size: 26px;
  font-weight: 400; line-height: 1.15;
}
.ref-item-year { font-size: 12px; opacity: .6; margin-top: 6px; }
.ref-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition: opacity .3s ease;
}
.ref-item:hover .ref-arrow { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════
   DETAIL PROJEKTU — reference/projekt-detail.html
   ═══════════════════════════════════════════════════════════════════ */
.project-hero {
  margin-top: 64px; aspect-ratio: 21/9;
  overflow: hidden; background: var(--accent); position: relative;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.project-hero-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: clamp(80px, 15vw, 200px);
  font-weight: 300; color: rgba(255,255,255,0.1);
}
.project-meta {
  background: var(--bg-white); padding: 48px;
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 32px;
  border-bottom: 1px solid var(--border);
}
.project-title-block { flex: 1; min-width: 260px; }
.project-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.project-name {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300; line-height: 1.05;
  color: var(--text); letter-spacing: -0.01em;
}
.project-name em { font-style: normal; font-weight: 600; color: var(--cyan); }
.project-info-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.info-col { min-width: 120px; }
.info-lbl {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.info-val { font-size: 15px; color: var(--text); }
.info-val a { color: var(--cyan); text-decoration: none; }

.project-body { max-width: 860px; padding: 72px 48px; }
.project-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300; margin-bottom: 24px; margin-top: 56px; color: var(--text);
}
.project-body h2:first-child { margin-top: 0; }
.project-body h2 em { font-style: normal; font-weight: 600; color: var(--cyan); }
.project-body p {
  font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 20px;
}
.project-body p strong { font-weight: 500; color: var(--text); }

.project-gallery { padding: 0 0 72px; }
.gallery-full {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: var(--accent); margin-bottom: 3px;
}
.gallery-full img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.gallery-full-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-mid) 0%, var(--accent) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 80px; font-weight: 300;
  color: rgba(255,255,255,0.08);
}
.gallery-two { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.gallery-two-item {
  aspect-ratio: 4/3; overflow: hidden; background: var(--accent);
}
.gallery-two-item img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.gallery-two-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.project-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.project-nav-item {
  padding: 40px 48px; text-decoration: none; color: var(--text);
  transition: background .2s;
  display: flex; flex-direction: column; gap: 8px;
}
.project-nav-item:hover { background: var(--bg-white); }
.project-nav-item:first-child { border-right: 1px solid var(--border); }
.project-nav-dir {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.project-nav-name {
  font-family: var(--ff-display); font-size: 24px; font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMACE
   ═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONZIVNÍ
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .section { padding: 80px 28px; }
  .main-nav { padding: 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px 28px; }
  .footer-bottom { padding: 16px 28px; }
  .hero-col-text { padding: 100px 28px 80px; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img { aspect-ratio: 16/9; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { columns: 2; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .page-header, .filter-bar, .ref-list { padding-left: 28px; padding-right: 28px; }
  .ref-item.featured { grid-column: span 1; aspect-ratio: 4/3; }
  .project-meta, .project-body { padding: 32px 28px; }
  .project-hero { aspect-ratio: 16/9; }
  .project-nav-item { padding: 28px; }
}
@media (max-width: 600px) {
  .ref-grid { grid-template-columns: 1fr; }
  .gal-grid { columns: 1; }
  .about-stats { grid-template-columns: 1fr; }
  .ref-list { grid-template-columns: 1fr; padding: 28px 16px 80px; }
  .gallery-two { grid-template-columns: 1fr; }
  .project-nav { grid-template-columns: 1fr; }
  .project-nav-item:first-child { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ═══════════════════════════════════════════════════════════════════
   VÝKRES — INFORMATIVNÍ PÁS
   ═══════════════════════════════════════════════════════════════════ */
.plan-strip {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.plan-strip-label {
  padding: 48px;
  border-right: 1px solid var(--border);
}
.plan-strip-eyebrow {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.plan-strip-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.plan-strip-label p {
  font-size: 14px; color: var(--muted); line-height: 1.75;
}
.plan-strip-img {
  overflow: hidden; max-height: 280px;
}
.plan-strip-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block; filter: contrast(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   PROMO KARTY — REFERENCE + GALERIE
   ═══════════════════════════════════════════════════════════════════ */
.promo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.promo-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  min-height: 520px;
  cursor: pointer;
}
.promo-card-img {
  position: absolute; inset: 0;
}
.promo-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  filter: brightness(0.65);
}
.promo-card:hover .promo-card-img img {
  transform: scale(1.05);
  filter: brightness(0.5);
}
.promo-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,32,53,0.85) 0%, rgba(11,32,53,0.2) 60%, transparent 100%);
  transition: opacity .3s;
}
.promo-card:hover .promo-card-overlay {
  background: linear-gradient(to top, rgba(11,32,53,0.92) 0%, rgba(11,32,53,0.4) 70%, rgba(11,32,53,0.1) 100%);
}
.promo-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px;
  color: #fff;
  transform: translateY(8px);
  transition: transform .35s ease;
}
.promo-card:hover .promo-card-body { transform: translateY(0); }
.promo-card-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.promo-card-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--cyan);
}
.promo-card-title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300; line-height: 1.1;
  color: #fff; margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.promo-card-text {
  font-size: 15px; color: rgba(255,255,255,0.75);
  line-height: 1.7; margin-bottom: 24px;
  max-width: 400px;
}
.promo-card-link {
  display: inline-flex; align-items: center;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); font-weight: 400;
  border-bottom: 1px solid rgba(16,185,232,0.4);
  padding-bottom: 3px;
  transition: border-color .2s, color .2s;
}
.promo-card:hover .promo-card-link {
  border-bottom-color: var(--cyan);
}

/* Oddělovač mezi kartami */
.promo-card:first-child { border-right: 2px solid rgba(255,255,255,0.08); }

@media (max-width: 960px) {
  .promo-cards { grid-template-columns: 1fr; }
  .promo-card { min-height: 420px; }
  .promo-card-body { padding: 32px 28px; }
  .promo-card:first-child { border-right: none; border-bottom: 2px solid rgba(255,255,255,0.08); }
  .plan-strip { grid-template-columns: 1fr; }
  .plan-strip-label { border-right: none; border-bottom: 1px solid var(--border); padding: 32px 28px; }
  .plan-strip-img { max-height: 200px; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOTOGALERIE — výpis (fotogalerie.html)
   ═══════════════════════════════════════════════════════════════════ */
.gal-list {
  padding: 48px 48px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gal-box {
  display: block; text-decoration: none; color: var(--text);
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s;
  background: var(--bg-white);
}
.gal-box:hover {
  box-shadow: 0 8px 32px rgba(11,32,53,0.1);
  transform: translateY(-3px);
}
.gal-box-img {
  aspect-ratio: 3/2; overflow: hidden;
  background: var(--accent);
}
.gal-box-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s;
  opacity: .88;
}
.gal-box:hover .gal-box-img img {
  transform: scale(1.05); opacity: 1;
}
.gal-box-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 80px; font-weight: 300;
  color: rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
}
.gal-box-info {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}
.gal-box-name {
  font-family: var(--ff-display); font-size: 20px; font-weight: 300;
  color: var(--text); margin-bottom: 6px; line-height: 1.3;
}
.gal-box-meta {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); letter-spacing: 0.05em;
}
.gal-box-count { color: var(--cyan); }

/* ═══════════════════════════════════════════════════════════════════
   FOTOGALERIE — detail (fotogalerie-detail.html)
   ═══════════════════════════════════════════════════════════════════ */
.gal-detail-grid {
  padding: 48px 48px 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1px;
  gap: 6px;
  align-items: start;
}
.gal-detail-item {
  position: relative;
  overflow: hidden; background: transparent;
  break-inside: avoid;
}
.gal-detail-item img {
  width: 100%; height: auto; display: block; transition: transform .45s ease, opacity .3s;
  opacity: .9;
}
.gal-detail-item:hover img { transform: scale(1.05); opacity: .7; }
.gal-detail-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.gal-detail-overlay .material-icons { font-size: 36px; }
.gal-detail-item:hover .gal-detail-overlay { opacity: 1; }

@media (max-width: 960px) {
  .gal-list { grid-template-columns: 1fr 1fr; padding: 32px 28px 80px; gap: 16px; }
  .gal-detail-grid { grid-template-columns: repeat(2, 1fr); padding: 28px 28px 80px; }
}
@media (max-width: 600px) {
  .gal-list { grid-template-columns: 1fr; }
  .gal-detail-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   KONTAKT — rozšířená sekce
   ═══════════════════════════════════════════════════════════════════ */

/* Hlavní kontakt */
.contact-main {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.contact-main-role {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.contact-main-name {
  font-family: var(--ff-display); font-size: 36px; font-weight: 300;
  color: var(--text); line-height: 1.1; margin-bottom: 6px;
}
.contact-main-title {
  font-size: 13px; color: var(--muted); margin-bottom: 0;
}

/* Pobočky */
.contact-branches {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; margin-bottom: 48px;
}
.contact-branch {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 28px 24px;
}
.contact-branch-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.contact-branch-addr {
  font-size: 15px; color: var(--text); line-height: 1.7;
}

/* Tým */
.contact-team { margin-bottom: 64px; }
.contact-team-title,
.contact-form-title {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.contact-team-title::before,
.contact-form-title::before {
  content: ''; width: 28px; height: 1px; background: var(--accent);
}
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 20px;
  transition: border-color .2s;
}
.team-card:hover { border-color: var(--cyan); }
.team-role {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; line-height: 1.5;
}
.team-name {
  font-family: var(--ff-display); font-size: 18px; font-weight: 300;
  color: var(--text); margin-bottom: 8px; line-height: 1.2;
}
.team-mail {
  font-size: 12px; color: var(--cyan); text-decoration: none;
  transition: opacity .2s; display: block; word-break: break-all;
}
.team-mail:hover { opacity: .7; }

/* Formulář wrap */
.contact-form-wrap .contact-grid { grid-template-columns: 1fr; max-width: 600px; }

@media (max-width: 960px) {
  .contact-main { grid-template-columns: 1fr; gap: 28px; }
  .contact-branches { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   KONTAKT — 3 sloupce
   ═══════════════════════════════════════════════════════════════════ */
.contact-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
.contact-col { display: flex; flex-direction: column; }
.contact-form-box {
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 0;
}
.contact-col-title {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.contact-col-title::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}

/* Tým block — bez fixed aspect-ratio, výška podle obsahu */
.team-block {
  aspect-ratio: unset !important;
  flex: 1;
}

/* ── Jednatel — artistický styl ─────────────────── */
.jednatel-block {
  display: flex; flex-direction: column;
  position: relative;
  background: var(--accent);
  padding: 32px;
  overflow: hidden;
  aspect-ratio: 9 / 5;
}
.jednatel-deco {
  position: absolute; right: -12px; bottom: -16px;
  font-family: var(--ff-display);
  font-size: 120px; font-weight: 300; line-height: 1;
  color: rgba(255,255,255,0.06);
  letter-spacing: -4px;
  pointer-events: none; user-select: none;
}
.jednatel-role {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px; position: relative;
}
.jednatel-name {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300; line-height: 1.1;
  color: #fff; letter-spacing: -0.01em;
  margin-bottom: 6px; position: relative;
}
.jednatel-name em { font-style: normal; font-weight: 600; color: var(--cyan); }
.jednatel-cert {
  font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.6;
  margin-bottom: 24px; position: relative;
}
.jednatel-divider {
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.2); margin-bottom: 22px; position: relative;
}
.jednatel-contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; position: relative; }
.jednatel-row {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: rgba(255,255,255,0.75);
  font-size: 13px; transition: color .2s;
}
.jednatel-row:hover { color: #fff; }
.jednatel-icon {
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.jednatel-row:hover .jednatel-icon {
  background: var(--cyan); border-color: var(--cyan); color: var(--accent);
}
.jednatel-ids {
  display: flex; gap: 20px;
  font-size: 11px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

/* Tým — boxíky */
.team-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.team-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px;
  transition: border-color .2s;
}
.team-item:hover { border-color: var(--cyan); }
.team-role {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 4px; line-height: 1.4;
}
.team-name {
  font-family: var(--ff-display); font-size: 17px; font-weight: 300;
  color: #fff; margin-bottom: 3px;
}
.team-mail {
  font-size: 11px; color: var(--cyan); text-decoration: none;
  transition: opacity .2s; display: block;
}
.team-mail:hover { opacity: .7; }

@media (max-width: 960px) {
  .contact-3col { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-box { padding: 28px; }
  .team-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   O NÁS — rozšířený obsah
   ═══════════════════════════════════════════════════════════════════ */
.about-since {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 300;
  color: var(--muted); margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.about-since em { font-style: normal; font-weight: 600; color: var(--accent); }

.about-services { margin: 32px 0 40px; }
.about-services-title {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.about-services-title::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}
.about-services-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.about-services-list li {
  font-size: 13px; color: var(--muted);
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 10px;
  line-height: 1.45;
}
.about-services-list li::before {
  content: '—'; color: var(--cyan);
  font-size: 11px; flex-shrink: 0;
}

@media (max-width: 960px) {
  .about-services-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   POBOČKY — tlačítko mapy + modal
   ═══════════════════════════════════════════════════════════════════ */
.branch-map-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  background: none; border: 1px solid var(--border);
  padding: 7px 14px; cursor: pointer;
  font-family: var(--ff-body); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: all .2s;
}
.branch-map-btn .material-icons { font-size: 15px; color: var(--cyan); }
.branch-map-btn:hover {
  border-color: var(--accent); color: var(--accent);
}

/* Modal overlay */
.map-modal {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(11,32,53,0.7);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 24px;
}
.map-modal.active { display: flex; }

.map-modal-box {
  background: var(--bg-white);
  width: 100%; max-width: 900px;
  max-height: 90vh; overflow-y: auto;
}
.map-modal-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.map-modal-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.map-modal-addr {
  font-family: var(--ff-display); font-size: 20px; font-weight: 300;
  color: var(--text);
}
.map-modal-close {
  background: none; border: 1px solid var(--border);
  width: 32px; height: 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); flex-shrink: 0; transition: all .2s;
}
.map-modal-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.map-modal-close .material-icons { font-size: 18px; }

.map-modal-embed {
  width: 100%;
  height: 460px;
}
.map-modal-embed iframe {
  width: 100%; height: 100%;
  display: block; border: none;
}

.map-modal-parking {
  padding: 16px 24px;
  font-size: 13px; color: var(--muted); line-height: 1.7;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.map-modal-parking strong { color: var(--text); margin-right: 4px; }

.map-modal-ext {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background .2s;
}
.map-modal-ext:hover { background: var(--bg); color: var(--accent); }

@media (max-width: 600px) {
  .map-modal { padding: 0; align-items: flex-end; }
  .map-modal-box { max-height: 85vh; }
}

/* ═══════════════════════════════════════════════════════════════════
   SLUŽBY — sekce
   ═══════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 16px;
  align-items: center;
}
.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.service-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.service-card:hover .service-icon {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.service-icon .material-icons { font-size: 20px; }
.service-name {
  font-family: var(--ff-display); font-size: 20px; font-weight: 300;
  color: var(--text); line-height: 1.2;
}
.service-desc {
  font-size: 13px; color: var(--muted); line-height: 1.75;
  grid-column: 1 / -1;
}

/* Promo karta přes celou šířku */
.promo-single { grid-template-columns: 1fr; }
.promo-single .promo-card { min-height: 420px; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* Materialize .row negative margin fix */
.row { margin-left: 0 !important; margin-right: 0 !important; }

/* Statistiky — 3 sloupce vystředěné */
.about-stats-center {
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  text-align: center;
}
.about-stats-center .stat {
  width: 100%;
  text-align: center;
}

.stat-note {
  font-size: 11px; color: var(--muted);
  line-height: 1.5; margin-top: 6px;
  font-style: normal;
}
.stat-note em { font-style: normal; font-weight: 600; color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   O NÁS — klíčoví lidé
   ═══════════════════════════════════════════════════════════════════ */
.about-team { margin-top: 64px; }
.about-team-title {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.about-team-title::before { content: ''; width: 22px; height: 1px; background: var(--accent); }

.about-team-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
}
.about-person {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 0; background: var(--bg-white); border: 1px solid var(--border);
  overflow: hidden; transition: border-color .25s;
}
.about-person:hover { border-color: var(--cyan); }
.about-person-photo {
  aspect-ratio: 3/4; overflow: hidden; background: var(--accent);
}
.about-person-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.about-person:hover .about-person-photo img { transform: scale(1.04); }
.about-person-info {
  padding: 28px 24px; display: flex; flex-direction: column;
}
.about-person-role {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.about-person-name {
  font-family: var(--ff-display); font-size: 26px; font-weight: 300;
  color: var(--text); line-height: 1.1; margin-bottom: 4px;
}
.about-person-name em { font-style: normal; font-weight: 600; color: var(--accent); }
.about-person-cert {
  font-size: 11px; color: var(--muted); margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.about-person-short {
  font-size: 13px; color: var(--muted); line-height: 1.75;
  flex: 1; margin-bottom: 20px;
}
.about-person-more {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border);
  padding: 8px 16px; cursor: pointer;
  font-family: var(--ff-body); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); transition: all .2s; align-self: flex-start;
}
.about-person-more:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* BIO MODAL */
.bio-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(11,32,53,0.75); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.bio-modal.active { display: flex; }
.bio-modal-box {
  background: var(--bg-white); width: 100%; max-width: 780px;
  max-height: 90vh; overflow-y: auto;
}
.bio-modal-header {
  display: grid; grid-template-columns: 120px 1fr auto;
  gap: 24px; align-items: center;
  padding: 24px; border-bottom: 1px solid var(--border);
  background: var(--accent);
}
.bio-modal-photo {
  width: 120px; height: 140px; overflow: hidden; flex-shrink: 0;
}
.bio-modal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bio-modal-role {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 6px;
}
.bio-modal-name {
  font-family: var(--ff-display); font-size: 28px; font-weight: 300;
  color: #fff; line-height: 1.1; margin-bottom: 4px;
}
.bio-modal-name em { font-style: normal; font-weight: 600; color: var(--cyan); }
.bio-modal-cert { font-size: 12px; color: rgba(255,255,255,0.5); }
.bio-modal-close {
  background: none; border: 1px solid rgba(255,255,255,0.2);
  width: 32px; height: 32px; cursor: pointer; align-self: flex-start;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all .2s; flex-shrink: 0;
}
.bio-modal-close:hover { background: rgba(255,255,255,0.15); color: #fff; }
.bio-modal-close .material-icons { font-size: 18px; }
.bio-modal-body {
  padding: 32px;
}
.bio-modal-body p {
  font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 16px;
}
.bio-projects-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 24px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.bio-projects-title::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.bio-projects {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0;
}
.bio-projects li {
  font-size: 13px; color: var(--muted); padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--border); position: relative; line-height: 1.5;
}
.bio-projects li::before {
  content: '—'; position: absolute; left: 0; color: var(--cyan); font-size: 11px;
}

@media (max-width: 960px) {
  .about-team-grid { grid-template-columns: 1fr; }
  .about-person { grid-template-columns: 140px 1fr; }
  .bio-modal-header { grid-template-columns: 80px 1fr auto; gap: 16px; }
  .bio-modal-photo { width: 80px; height: 90px; }
}
@media (max-width: 600px) {
  .about-person { grid-template-columns: 1fr; }
  .about-person-photo { aspect-ratio: 16/9; }
  .bio-modal { padding: 0; align-items: flex-end; }
  .bio-modal-box { max-height: 90vh; }
  .bio-modal-body { padding: 20px; }
}

/* Tým — pod sebou, fotka vlevo */
.about-team-stack {
  grid-template-columns: 1fr;
  gap: 3px;
}
.about-team-stack .about-person {
  grid-template-columns: 280px 1fr;
}
.about-team-stack .about-person-photo {
  aspect-ratio: 3/4;
}

@media (max-width: 960px) {
  .about-team-stack .about-person { grid-template-columns: 160px 1fr; }
}
@media (max-width: 600px) {
  .about-team-stack .about-person { grid-template-columns: 1fr; }
  .about-team-stack .about-person-photo { aspect-ratio: 16/9; }
}

/* ═══════════════════════════════════════════════════════════════════
   SLUŽBY — layout s fotkou vlevo
   ═══════════════════════════════════════════════════════════════════ */
.sluzby-layout {
  display: grid;
  grid-template-columns: 426px 1fr;
  gap: 48px;
  align-items: start;
}
.sluzby-photo {
  position: sticky; top: 88px;
}
.sluzby-photo img {
  width: 100%; display: block;
  object-fit: cover;
}
.sluzby-layout .services-grid {
  grid-template-columns: repeat(4, 1fr);
}
.service-spacer {
  background: transparent;
  border: 1px dashed var(--border);
  opacity: .4;
}

/* ═══════════════════════════════════════════════════════════════════
   O NÁS — kompaktní layout, vše na první pohled
   ═══════════════════════════════════════════════════════════════════ */
.about-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.about-grid-new .about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-grid-new .about-body > p,
.about-grid-new .about-body > .about-since {
  grid-column: 1 / -1;
}
.about-grid-new .about-stats {
  grid-column: 1 / -1;
  margin-top: 32px;
}

/* Person karty vedle sebe — kompaktní */
.about-team-inline {
  grid-template-columns: 1fr 1fr !important;
  gap: 3px;
}
.about-team-inline .about-person {
  grid-template-columns: 140px 1fr;
}
.about-team-inline .about-person-photo {
  aspect-ratio: 3/4;
}
.about-team-inline .about-person-info {
  padding: 20px 18px;
}
.about-team-inline .about-person-name {
  font-size: 20px;
}
.about-team-inline .about-person-short {
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .sluzby-layout { grid-template-columns: 1fr; }
  .sluzby-photo { position: static; }
  .sluzby-layout .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .about-grid-new .about-body { grid-template-columns: 1fr; }
  .about-team-inline { grid-template-columns: 1fr !important; }
  .about-team-inline .about-person { grid-template-columns: 120px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   O NÁS — row layout: text vlevo, tým vpravo
   ═══════════════════════════════════════════════════════════════════ */
.onas-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.onas-col-text { }
.onas-col-text p {
  font-size: 15px; color: var(--muted); line-height: 1.85; margin-bottom: 18px;
}
.onas-col-text .about-stats {
  margin-top: 36px;
  grid-template-columns: repeat(3, 1fr);
}
.onas-col-text .stat-n { font-size: 40px; }

.onas-col-team .about-team-title {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.onas-col-team .about-team-title::before {
  content: ''; width: 22px; height: 1px; background: var(--accent);
}

/* Person karty v pravém sloupci — pod sebou, přirozená velikost */
.onas-col-team .about-team-stack {
  grid-template-columns: 1fr;
  gap: 3px;
}
.onas-col-team .about-person {
  grid-template-columns: 160px 1fr;
}
.onas-col-team .about-person-photo { aspect-ratio: 3/4; }
.onas-col-team .about-person-name { font-size: 22px; }
.onas-col-team .about-person-short { font-size: 13px; }

@media (max-width: 960px) {
  .onas-row { grid-template-columns: 1fr; gap: 40px; }
  .onas-col-team .about-person { grid-template-columns: 130px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   O NÁS — 3 sloupce
   ═══════════════════════════════════════════════════════════════════ */
.onas-3col {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3px;
  align-items: start;
}
.onas-col-text {
  padding-right: 32px;
}
.onas-col-text p {
  font-size: 14px; color: var(--muted); line-height: 1.85; margin-bottom: 16px;
}
.onas-col-text .about-stats {
  margin-top: 32px;
  grid-template-columns: 1fr;
  gap: 0;
}
.onas-col-text .about-stats .stat {
  padding: 14px 0;
}
.onas-col-text .stat-n { font-size: 38px; }

/* Bio karta — kontrastní tmavá */
.bio-card {
  background: var(--accent);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bio-card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.bio-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  mix-blend-mode: luminosity;
  opacity: .75;
  transition: opacity .4s, transform .5s;
}
.bio-card:hover .bio-card-photo img {
  opacity: .9; transform: scale(1.03);
}
/* Lukáš — flip + zachování zoom na hover */
.bio-card-photo img.img-flip {
  transform: scaleX(-1);
}
.bio-card:hover .bio-card-photo img.img-flip {
  opacity: .9; transform: scaleX(-1) scale(1.03);
}
.bio-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex; flex-direction: column;
  position: relative;
}
.bio-card-role {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.bio-card-name {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300; line-height: 1.1;
  color: #fff; margin-bottom: 6px;
}
.bio-card-name em { font-style: normal; font-weight: 600; color: var(--cyan); }
.bio-card-cert {
  font-size: 11px; color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}
.bio-card-divider {
  width: 32px; height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 10px 0;
}
.bio-card-text {
  font-size: 12px; color: rgba(255,255,255,0.6);
  line-height: 1.75; flex: 1; margin-bottom: 20px;
}
.bio-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; cursor: pointer;
  font-family: var(--ff-body); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: all .2s; align-self: flex-start;
}
.bio-card-btn:hover {
  background: var(--cyan); border-color: var(--cyan); color: var(--accent);
}

@media (max-width: 960px) {
  .onas-3col { grid-template-columns: 1fr 1fr; gap: 3px; align-items: stretch; }
  .onas-col-text { grid-column: 1 / -1; padding-right: 0; }
  .onas-col-text .about-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .onas-3col { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   KONTAKT — CTA boxy telefon + email
   ═══════════════════════════════════════════════════════════════════ */
.contact-cta-boxes {
  display: flex; flex-direction: column; gap: 3px;
}
.contact-cta-box {
  display: flex; flex-direction: row;
  align-items: center; gap: 24px;
  background: var(--accent);
  padding: 28px;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: background .25s;
}
.contact-cta-box:hover { background: var(--accent-mid); }
.contact-cta-box::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.contact-cta-box:hover::after { transform: scaleX(1); }
.contact-cta-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  transition: background .2s, border-color .2s;
}
.contact-cta-box:hover .contact-cta-icon {
  background: var(--cyan); border-color: var(--cyan); color: var(--accent);
}
.contact-cta-icon .material-icons { font-size: 28px; }
.contact-cta-text {
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.contact-cta-top {
  display: flex; align-items: baseline; gap: 14px;
  flex-wrap: nowrap; white-space: nowrap;
}
.contact-cta-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); flex-shrink: 0;
}
.contact-cta-value {
  font-size: 20px; font-weight: 400;
  color: #fff; letter-spacing: 0.01em; white-space: nowrap;
}
.contact-cta-hint {
  font-size: 13px; color: rgba(255,255,255,0.45);
}

/* anotace reference, popis galerie, prokliky */
.project-anotace { font-size:18px; line-height:1.8; color:var(--text); margin-bottom:32px; }
.page-header-desc { max-width:720px; margin-top:16px; font-size:16px; line-height:1.8; color:var(--muted); }
.gallery-two-item a { display:block; width:100%; height:100%; }

/* ── Detail reference — překopaný layout ── */
.ref-topnav {
  margin-top: 72px; display: flex; justify-content: space-between;
  gap: 16px; padding: 16px 48px; border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.ref-topnav-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none; font-size: 13px;
  max-width: 45%; transition: color .2s;
}
.ref-topnav-item:hover { color: var(--cyan); }
.ref-topnav-next { margin-left: auto; }
.ref-topnav-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ref-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 56px 48px; background: var(--bg-white);
  align-items: start; border-bottom: 1px solid var(--border);
}
.ref-top-info .project-tag { margin-bottom: 12px; }
.ref-top-info .project-name { margin-bottom: 28px; }
.ref-meta-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.ref-meta-row { display: flex; flex-direction: column; gap: 2px; }
.ref-top-photo { overflow: hidden; border-radius: 2px; }
.ref-top-photo img { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .ref-top { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .ref-topnav { padding: 14px 28px; }
}

/* ── Detail reference — text vlevo, galerie vpravo ── */
.ref-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 48px 100px; align-items: start; }
.ref-bottom-text { max-width: none; padding: 0; }
.ref-bottom-gal .gal-detail-grid { padding: 0; }

@media (max-width: 860px) {
  .ref-bottom { grid-template-columns: 1fr; gap: 32px; padding: 32px 28px 80px; }
  .gal-detail-grid--2 .gal-detail-item { flex: 0 0 calc(50% - 3px); }
}
.gal-detail-grid--2 { display: flex; flex-wrap: wrap; gap: 6px; }
.gal-detail-grid--2 .gal-detail-item {
  flex: 0 0 calc(50% - 3px);
  overflow: hidden;
}
.gal-detail-grid--2 .gal-detail-item img {
  width: 100%; height: auto; object-fit: cover; display: block;
}
