/* Kolibosauna Šajba — zdieľané štýly (vychádza z odsúhlaseného dizajnu "Organický redesign") */

/* ---------- self-hosted fonty (žiadny request na Google) ---------- */
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/assets/fonts/bitter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url('/assets/fonts/bitter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/figtree-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 {
  --color-bg: #f5ead8;
  --color-surface: #ebddc5;
  --color-text: #201e1d;
  --color-accent: #c67139;
  --color-accent-2: #7a8a5e;
  --color-divider: rgba(32, 30, 29, 0.16);

  --color-neutral-100: #f9f4ed;
  --color-neutral-300: #dcd3c4;
  --color-neutral-800: #474238;

  --color-accent-100: #fff2eb;
  --color-accent-200: #ffe1d0;
  --color-accent-700: #8c491a;
  --color-accent-800: #643312;

  --color-accent-2-100: #f0fae1;
  --color-accent-2-700: #56633f;
  --color-accent-2-800: #3d472b;

  --space-2: 8.8px;
  --space-3: 13.2px;
  --space-4: 17.6px;

  --shadow-sm: 0 1px 2px rgba(46, 43, 37, 0.14);

  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-700); }
img { display: block; max-width: 100%; }
figure { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ---------- notch corner (matches design's clipped-corner motif) ---------- */
.notch {
  --n: 8px;
  border-radius: 0;
  clip-path: polygon(var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%, 0 var(--n));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Bitter', serif; font-weight: 800; font-size: 14px;
  padding: 11px 22px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-700); color: var(--color-bg); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: rgba(32, 30, 29, 0.07); color: var(--color-text); }

/* ---------- tags ---------- */
.tag {
  --n: 8px;
  display: inline-flex; align-items: center;
  font-family: 'Figtree', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 12px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); font-weight: 500; }

/* ---------- icon badge ---------- */
.icon-badge {
  --n: 9px;
  flex: 0 0 auto; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-accent-100); color: var(--color-accent-700);
}
.icon-badge-2 { background: var(--color-bg); color: var(--color-accent-2-700); }

/* ---------- cards ---------- */
.card {
  --n: 16px;
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--space-4);
  background: var(--color-surface);
  position: relative;
}
.card-title { font-size: 19px; }
.card-body { font-size: 14px; color: rgba(32, 30, 29, 0.78); flex: 1; }
.elev-sm { box-shadow: var(--shadow-sm); }
.corner-dot {
  position: absolute; top: -8px; right: -8px;
  width: 14px; height: 14px;
  background: var(--color-accent-2-700);
  transform: rotate(45deg);
}

/* ---------- grid helpers ---------- */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }

/* ---------- header / nav ---------- */
.site-header { padding: 20px 0; }
.nav-bar { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--color-text); flex: 0 0 auto; }
.brand-logo { height: 54px; width: auto; display: block; }
.footer-logo { height: 44px; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: none; cursor: pointer; padding: 6px; color: var(--color-text);
}

.nav-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.nav-link {
  --n: 9px;
  font-size: 14px; font-weight: 500;
  padding: 7px 14px;
  border: 1.5px solid var(--color-divider);
  text-decoration: none; color: var(--color-text); white-space: nowrap;
}
.nav-link:hover { color: var(--color-accent); }
.nav-link.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-100);
  color: var(--color-text);
}
.nav-cta {
  --n: 14px;
  flex: 0 0 auto; margin-left: auto;
}

/* ---------- footer ---------- */
.site-footer { background: var(--color-surface); }
.footer-top {
  padding-top: 56px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-brand { gap: 14px; max-width: 280px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; color: rgba(32, 30, 29, 0.65); }
.footer-heading {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(32, 30, 29, 0.55);
}
.footer-col a, .footer-col span { color: var(--color-text); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--color-accent); }
.social-row { display: flex; gap: 10px; }
.social-icon {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-divider);
  display: flex; align-items: center; justify-content: center; color: var(--color-text);
}
.copyright { text-align: center; margin: 0; padding: 0 20px 28px; font-size: 12px; color: rgba(32, 30, 29, 0.5); }

/* ---------- section helpers ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-tight { padding: clamp(20px, 4vw, 36px) 0 clamp(24px, 4vw, 40px); }
.lede { display: flex; flex-direction: column; gap: 16px; }
.lede p { color: rgba(32, 30, 29, 0.78); font-size: 16.5px; line-height: 1.65; }
.text-muted { color: rgba(32, 30, 29, 0.78); }

/* ---------- hero (index) ---------- */
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(280px, 38vw, 420px); object-fit: cover; }

/* ---------- stat panel (index — Kde sme teraz) ---------- */
.stat-panel {
  --n: 24px;
  background: var(--color-accent-2-100);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 28px; position: relative;
}
.stat-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.stat-box {
  --n: 12px;
  flex: 1; min-width: 150px;
  background: var(--color-bg);
  padding: 22px; display: flex; flex-direction: column; gap: 4px;
}
.stat-value { font-family: 'Bitter', serif; font-weight: 800; font-size: 30px; color: var(--color-accent-700); }
.stat-label { font-size: 13px; color: rgba(32, 30, 29, 0.65); }

/* ---------- image compare pair (index) ---------- */
.compare-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.compare-figure { flex: 1; min-width: 260px; position: relative; }
.compare-figure img { width: 100%; height: 300px; object-fit: cover; }
.compare-arrow {
  --n: 10px;
  flex: 0 0 auto; width: 40px; height: 40px;
  background: var(--color-accent-100); color: var(--color-accent-700);
  display: flex; align-items: center; justify-content: center;
}
.compare-caption { flex: 1; min-width: 260px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(32, 30, 29, 0.55); }
.compare-caption.is-accent { color: var(--color-accent-700); }
.compare-labels { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- quote (index) ---------- */
.quote-panel {
  --n: 24px;
  background: var(--color-surface);
  padding: clamp(32px, 5vw, 48px) clamp(28px, 5vw, 52px);
  display: flex; gap: 24px; align-items: flex-start; position: relative; max-width: 820px;
}
.quote-mark { flex: 0 0 auto; font-family: 'Bitter', serif; font-weight: 800; font-size: 56px; line-height: 0.6; color: var(--color-accent); }
.quote-panel blockquote { font-family: 'Bitter', serif; font-weight: 700; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; max-width: 34ch; margin: 0; }

/* ---------- callout panels (accent / accent-2) ---------- */
.callout {
  --n: 24px;
  background: var(--color-accent-100);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  display: flex; flex-direction: column; gap: 18px;
}
.callout-2 { background: var(--color-accent-2-100); }

/* ---------- timeline (postup výstavby) ---------- */
.timeline { display: flex; flex-direction: column; max-width: 800px; }
.tl-item { display: flex; gap: 22px; }
.tl-rail { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); margin-top: 6px; flex: 0 0 auto; }
.tl-dot-muted { background: var(--color-neutral-300); }
.tl-line { flex: 1; width: 2px; background: var(--color-divider); margin-top: 6px; }
.tl-content { flex: 1; padding-bottom: 36px; display: flex; flex-direction: column; gap: 8px; }
.tl-date { align-self: flex-start; }
.tl-content h3 { font-size: 19px; }
.tl-content p { font-size: 15px; line-height: 1.7; color: rgba(32, 30, 29, 0.78); }

/* ---------- map placeholder (podporte-nas QR box) ---------- */
.map-placeholder {
  --n: 20px;
  min-height: 260px; background: var(--color-surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}

.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link { display: flex; align-items: center; gap: 10px; color: var(--color-text); font-size: 15.5px; font-weight: 600; }

/* ---------- IBAN box ---------- */
.iban {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 16px; letter-spacing: 0.02em;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column; align-items: stretch;
    padding: 12px clamp(20px, 5vw, 64px) 20px; gap: 10px;
    border-bottom: 1px solid var(--color-divider);
    z-index: 20;
  }
  .nav-menu.is-open { display: flex; }
  .nav-cta { margin-left: 0; }
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { gap: 14px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-col-brand { max-width: none; }
}
