:root {
  --ink: #120C0B;
  --ink-2: #1A100E;
  --ink-3: #0C0807;
  --paper: #F5EFE7;
  --cream: #FFF6EC;
  --text: #F2E8DE;
  --text-dim: #CBBCAF;
  --text-faint: #A99A8D;
  --gold: #D9A93A;
  --gold-lit: #F0CE72;
  --gold-dim: #B99A62;
  --gold-dark: #7A5C22;
  --red: #B4231E;
  --red-deep: #8F1B16;
  --dark-on-paper: #1F1512;
  --body-on-paper: #4A3B33;
  --line: rgba(217,169,58,.22);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gut: 28px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
/* trieda s display: prebíja [hidden] z UA štýlov - bez tohto by sa .sent nikdy neskryl */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: 'Oswald', 'Source Sans 3', sans-serif; margin: 0; text-transform: uppercase; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- layout ------------------------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sec { padding-top: 88px; padding-bottom: 88px; }
section[id], #obsah { scroll-margin-top: calc(var(--nav-h) + 16px); }
.stack { display: flex; flex-direction: column; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; }

/* --- type --------------------------------------------------- */
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dim); }
.h1 { font-weight: 600; font-size: clamp(31px, 5.2vw, 52px); line-height: 1.06; letter-spacing: -.005em; color: var(--cream); text-wrap: balance; }
.h2 { font-weight: 600; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; color: var(--cream); text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-dim); }
/* 54ch ~ 66 realnych znakov; ch pri Source Sans 3 podhodnocuje, overene meranim */
.body { font-size: 17.5px; line-height: 1.68; color: var(--text-dim); max-width: 54ch; }
.small { font-size: 14px; color: var(--text-faint); }

/* --- buttons ------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 19px 30px;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, scale 160ms var(--ease);
}
.btn:active { scale: .97; }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-ghost { background: transparent; border-color: rgba(217,169,58,.5); color: #E8DCCF; }
.btn-light { background: var(--cream); color: var(--red-deep); border-color: var(--cream); }
.btn-sm { padding: 12px 22px; font-size: 13px; letter-spacing: .12em; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--gold); color: #1A0F0D; }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-lit); }
  .btn-light:hover { background: #1A0F0D; color: var(--cream); border-color: #1A0F0D; }
  a:hover, .info-row a:hover { color: var(--gold-lit); }
}

/* --- nav ---------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(18,12,11,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.brand b { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.brand span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dim); }
.nav-right { display: flex; align-items: center; gap: 30px; min-width: 0; }
/* min-width:0 - bez neho flex položka nezmenší pod šírku obsahu a roztiahne celú stránku */
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { color: #D8CCC0; white-space: nowrap; transition: color 150ms ease; }
.nav .btn { white-space: nowrap; flex: none; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600;
  transition: top 160ms var(--ease);
}
.skip:focus { top: 16px; color: var(--ink); }

/* --- hero --------------------------------------------------- */
.hero-img { width: 100%; height: auto; outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; }
.hero-body { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-end; justify-content: space-between; padding-top: 64px; padding-bottom: 84px; }
.hero-cta { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }

/* --- panels ------------------------------------------------- */
.band { background: var(--ink-2); border-top: 1px solid rgba(217,169,58,.2); border-bottom: 1px solid rgba(217,169,58,.2); }
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.q-card {
  background: var(--ink-2);
  border: 1px solid rgba(217,169,58,.16);
  border-top: 2px solid var(--gold);
  padding: 32px 26px;
  display: flex; align-items: center;
  min-height: 150px;
}
.q-card p { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 25px; line-height: 1.24; color: var(--cream); }

.on-paper { background: var(--paper); color: var(--dark-on-paper); }
.on-paper .h2 { color: var(--dark-on-paper); }
.on-paper .body { color: var(--body-on-paper); }
.on-paper .eyebrow { color: var(--gold-dark); }

.facts { display: flex; flex-direction: column; gap: 1px; background: rgba(31,21,18,.14); align-self: start; }
.fact { background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.fact b { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 600; color: var(--red); line-height: 1; }
.fact span { font-size: 15px; color: var(--body-on-paper); }

.quote-card { border: 1px solid rgba(217,169,58,.3); background: var(--ink-2); padding: 44px 40px; display: flex; flex-direction: column; gap: 20px; }
.quote-card p:first-child { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 27px; line-height: 1.3; color: var(--cream); }
.rule { height: 1px; background: rgba(217,169,58,.25); }

.bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--text-dim); }
.bullets li::before { content: "-"; color: var(--gold); font-weight: 700; flex: none; }

.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: baseline; }
.step b { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; color: rgba(255,246,236,.8); min-width: 26px; }
.step span { font-size: 17px; line-height: 1.5; }

/* --- contact ------------------------------------------------ */
.info { display: flex; flex-direction: column; gap: 1px; background: var(--line); margin: 0; }
.info-row { background: var(--ink-2); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.info-row dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dim); }
.info-row dd { margin: 0; font-size: 16.5px; color: var(--text); }
.info-row dd.alt { font-size: 15px; color: var(--text-faint); }
.info-row a { color: inherit; }
.hours { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.hours div { display: flex; justify-content: space-between; gap: 18px; }
.map { border: 1px solid rgba(217,169,58,.25); height: 300px; overflow: hidden; background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; border: 0; }


.form-card { border: 1px solid rgba(217,169,58,.3); background: var(--ink-2); padding: 40px 36px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dim); }
.field input, .field textarea {
  background: var(--ink);
  border: 1px solid rgba(217,169,58,.28);
  color: var(--text);
  padding: 14px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,169,58,.22); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--text-faint); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-msg {
  font-size: 15px; color: #FF9C97;
  opacity: 1; translate: 0 0;
  transition: opacity 160ms var(--ease), translate 160ms var(--ease);
}
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* karta si drzi vysku (nastavi ju JS), aby vymena nepreskocila layout */
.form-card form { transition: opacity 180ms var(--ease), translate 180ms var(--ease); }
.sent {
  display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
  min-height: 400px; justify-content: center;
  opacity: 1; translate: 0 0;
  transition: opacity 240ms var(--ease), translate 240ms var(--ease);
}
.sent b { font-family: 'Oswald', sans-serif; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.sent p { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 30px; line-height: 1.25; color: var(--cream); }

/* --- footer ------------------------------------------------- */
footer { background: var(--ink-3); border-top: 1px solid rgba(217,169,58,.18); }
.foot { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start; padding-top: 52px; padding-bottom: 52px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 34px; font-size: 14px; }
.foot-legal { border-top: 1px solid rgba(217,169,58,.12); padding-top: 24px; padding-bottom: 40px; display: grid; gap: 10px; }
.foot-legal p.foot-legal-h { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dim); opacity: 1; margin-top: 8px; }
.foot-legal p { font-size: 12.5px; line-height: 1.65; color: var(--text-faint); opacity: .82; max-width: 92ch; }

/* --- reveal on scroll --------------------------------------- */
.reveal { opacity: 0; translate: 0 12px; transition: opacity 500ms var(--ease), translate 500ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; translate: 0 0; }

/* --- responsive --------------------------------------------- */
@media (max-width: 960px) {
  :root { --gut: 18px; --nav-h: 64px; }
  .brand span { display: none; }
  .nav-right { gap: 16px; }
  .nav-links { gap: 18px; font-size: 12px; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .grid-2 { gap: 40px; }
  .hero-body { padding-top: 48px; padding-bottom: 60px; gap: 36px; }
  .quote-card, .form-card { padding: 32px 24px; }
}
@media (max-width: 620px) {
  .sec { padding-top: 54px; padding-bottom: 54px; }
  .nav .btn { display: none; }
  .nav-links { margin-left: auto; }
  .hero-cta { min-width: 100%; }
  .q-card p { font-size: 22px; }
  .quote-card p:first-child { font-size: 23px; }
  .sent { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: none; }
}
