/* ============================================================
   KAROL KORMAN — SPOLOČNÝ CSS PRE VŠETKY PROJEKTY
   ============================================================ */

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F1EC;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --muted: #6B6B66;
  --line: #D8D6CF;
  --accent: #C2410C;
  --accent-soft: #E8DDD3;
  --green: #2D5A3F;
  --green-soft: #DCE8E0;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 48px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(250, 250, 247, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.logo svg { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-phone {
  font-size: 14px; color: var(--ink); text-decoration: none;
  padding: 8px 16px; border: 1px solid var(--ink); border-radius: 100px;
}
.nav-phone:hover { background: var(--ink); color: var(--bg); }

/* ── HERO ── */
.project-header { max-width: var(--max); margin: 0 auto; padding: 126px 48px 34px; }
.breadcrumb { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 10px; opacity: .45; }
.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  gap: 50px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.status-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 100px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.project-location { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.project-lead { font-size: 17px; color: var(--ink-soft); line-height: 1.58; max-width: 62ch; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid var(--ink);
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.project-hero-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.project-hero-photo { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.project-key-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.project-key-fact { background: var(--bg); padding: 16px 18px; min-height: 82px; }
.project-key-fact small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 5px; }
.project-key-fact strong { font-size: 18px; font-weight: 600; }

/* ── SEKCIE ── */
.section { max-width: var(--max); margin: 0 auto; padding: 50px 48px; }
.section.compact { padding-top: 38px; padding-bottom: 38px; }
.section.alt { max-width: 100%; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt > .section-inner { max-width: var(--max); margin: 0 auto; padding: 50px 48px; }
.section-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); margin-bottom: 12px; }
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 18px;
}
.section-lead { font-size: 16px; color: var(--ink-soft); line-height: 1.62; max-width: 72ch; margin-bottom: 28px; }

/* ── SUMMARY ── */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.info-list { display: grid; gap: 10px; }
.info-row { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.info-row strong { font-weight: 600; color: var(--ink); }

/* ── SPECS ── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table td { padding: 14px 0; vertical-align: top; font-size: 15px; }
.specs-table td:first-child { width: 38%; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; }
.specs-table strong { font-weight: 600; color: var(--ink); }

/* ── KARTY (cards / chip-cards) ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; text-decoration: none; }
.card h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chip-card { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.chip-card h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 18px; margin-bottom: 8px; }
.chip-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ── FOTKY ── */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-card { min-height: 230px; border: 1px solid var(--line); border-radius: 10px; background-size: cover; background-position: center; background-color: var(--bg-alt); }
.photo-card.featured { min-height: 472px; }
.photo-caption { margin-top: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ── CENOVÉ KARTY ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.price-card small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.price-card strong { font-family: Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 300; letter-spacing: -.02em; }
.price-card p { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }

/* ── DOWNLOADS ── */
.downloads-list { display: grid; gap: 10px; }
.download-item {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); text-decoration: none;
}
.download-item:hover { background: var(--bg-alt); }
.download-item .meta { font-size: 13px; color: var(--muted); }

/* ── LOKALITA ── */
.location-section { max-width: 100%; padding: 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-inner { max-width: var(--max); margin: 0 auto; padding: 56px 48px; }
.location-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: 34px; align-items: stretch; }
.location-copy { display: flex; flex-direction: column; justify-content: center; }
.location-map { min-height: 520px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.location-links a { font-size: 14px; text-decoration: none; border: 1px solid var(--line); border-radius: 100px; padding: 9px 14px; background: var(--bg); }
.location-links a:hover { border-color: var(--ink); }

/* ── INTERNÝ PRÍSTUP ── */
.internal-card { max-width: 520px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.internal-card .ic-eyebrow { display: flex; align-items: center; gap: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 14px; }
.internal-card .ic-title { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 300; letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.internal-card .ic-desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.internal-card input[type="password"] { display: block; width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; font-family: inherit; background: var(--bg-alt); margin-bottom: 12px; outline: none; transition: border-color .2s; box-sizing: border-box; }
.internal-card input[type="password"]:focus { border-color: var(--ink); }
.internal-card button { width: 100%; padding: 13px; border: 0; border-radius: 100px; background: var(--ink); color: var(--bg); font-size: 14px; font-family: inherit; font-weight: 600; cursor: pointer; letter-spacing: .02em; transition: opacity .2s; }
.internal-card button:hover { opacity: .82; }
.internal-error { display: none; color: #B42318; font-size: 13px; margin-top: 10px; }

/* ── KONTAKT ── */
.contact-section { background: var(--ink); color: var(--bg); padding: 58px 48px; }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-section h2, .contact-section p, .contact-section a { color: var(--bg); }
.contact-section .section-eyebrow { color: var(--accent-soft); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-direct a { text-decoration: none; padding: 13px 18px; border: 1px solid rgba(255,255,255,.32); border-radius: 100px; }
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px 18px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--bg); border-radius: 8px; font-family: inherit; font-size: 15px; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button { padding: 15px 22px; border: 0; border-radius: 100px; background: var(--accent); color: var(--bg); font-family: inherit; font-size: 15px; cursor: pointer; }

footer { padding: 34px 48px; text-align: center; background: var(--ink); color: rgba(250,250,247,.68); font-size: 13px; border-top: 1px solid rgba(255,255,255,.1); }
footer a { color: var(--bg); }

/* ── MOBILNÉ MENU ── */
.kk-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid #0A0A0A !important; border-radius: 999px;
  background: #FAFAF7 !important; color: #0A0A0A !important;
  font-size: 22px !important; line-height: 1 !important;
  z-index: 10001; cursor: pointer;
  flex: 0 0 auto !important; position: relative !important;
}
.kk-mobile-toggle.is-open { background: #0A0A0A !important; color: #FAFAF7 !important; }
.kk-mobile-panel {
  display: none; position: fixed; inset: 0;
  background: #FAFAF7; z-index: 10000;
  padding: 92px 28px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.kk-mobile-panel.is-open { display: block; }
.kk-mobile-panel a {
  display: block !important; color: #0A0A0A !important; text-decoration: none !important;
  font-size: 22px !important; font-family: Georgia, 'Times New Roman', serif !important;
  padding: 16px 0 !important; border-bottom: 1px solid #D8D6CF !important;
  background: transparent !important;
}
.kk-mobile-panel a:first-child { border-top: 1px solid #D8D6CF !important; }
.kk-mobile-panel a:hover { color: #C2410C !important; }
body.kk-menu-open { overflow: hidden !important; }

/* ── RESPONZÍVNOSŤ ── */
@media (max-width: 900px) {
  .project-header { padding: 112px 22px 28px; }
  .project-hero-grid, .summary-grid, .location-grid, .contact-inner { grid-template-columns: 1fr; }
  .section, .section.alt > .section-inner, .location-inner, .contact-section { padding-left: 22px; padding-right: 22px; }
  .location-map { min-height: 380px; }
  .cards, .chip-grid, .photo-strip, .price-grid { grid-template-columns: 1fr; }
  .photo-card.featured { min-height: 320px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  h1 { font-size: clamp(22px, 6vw, 30px); }
}
@media (max-width: 768px) {
  body > nav { padding: 16px 22px; }
  nav .nav-links, nav .nav-phone { display: none !important; }
  .kk-mobile-toggle { display: flex !important; }
}
