/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════ */
:root {
  --navy:        #111b30;
  --navy-mid:    #1a2744;
  --navy-light:  #1e3058;
  --gold:        #c9a84c;
  --gold-light:  #d4b96a;
  --gold-glow:   rgba(201,168,76,0.38);
  --cream:       #f5f2ec;
  --cream-dark:  #edeae2;
  --white:       #ffffff;
  --text:        #111b30;
  --text-mid:    #3d4a60;
  --text-muted:  #6b7690;
  --border:      rgba(17,27,48,0.1);

  --ff-serif: 'Playfair Display', 'Times New Roman', serif;
  --ff-sans:  'Inter', Arial, system-ui, sans-serif;

  --nav-h:     68px;
  --max-w:     1100px;
  --pad-h:     clamp(20px, 4vw, 48px);
  --sec-pad:   clamp(72px, 9vw, 112px);
  --radius:    12px;
  --radius-lg: 999px;
}

/* ═══════════════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; }
body {
  font-family: var(--ff-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ═══════════════════════════════════════════════════════
   KONTEJNER
═══════════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

/* ═══════════════════════════════════════════════════════
   FADE IN
═══════════════════════════════════════════════════════ */
.fi { opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.fi.visible { opacity:1; transform:none; }
.fd1 { transition-delay:.08s; }
.fd2 { transition-delay:.18s; }
.fd3 { transition-delay:.28s; }
.fd4 { transition-delay:.38s; }
.fd5 { transition-delay:.48s; }

/* ═══════════════════════════════════════════════════════
   TLAČÍTKA
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease,
              color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px var(--gold-glow);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px var(--gold-glow);
}

/* ═══════════════════════════════════════════════════════
   NAVIGACE
═══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
#nav .container {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(16px, 4vw, 60px);
  padding-right: clamp(16px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 28px rgba(0,0,0,.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: filter .2s ease, transform .2s ease;
  padding: 4px;
}
.nav-logo:hover {
  filter: drop-shadow(0 0 8px var(--gold-glow)) brightness(1.15);
  transform: translateY(-2px);
}
.nav-logo img { width: 38px; height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  letter-spacing: 0.01em;
  transition: color .2s;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.nav-cta {
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy) !important;
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 10px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
  border-bottom: 10px solid var(--gold) !important;
}
.nav-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light) !important;
  box-shadow: 0 6px 22px var(--gold-glow);
  transform: translateY(-3px);
}

.nav-burger {
  display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px;
  background: transparent;
  border: none;
}
.nav-burger span {
  display:block; width:24px; height:2px; background:#fff; border-radius:2px;
  transition:transform .28s, opacity .28s;
}
.nav-burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity:0; }
.nav-burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display:none; position:fixed; inset:var(--nav-h) 0 auto 0;
  background:var(--navy); flex-direction:column; padding:18px 28px 28px;
  gap:0; z-index:199; border-top:1px solid rgba(255,255,255,.07);
}
.nav-mobile.open { display:flex; }
.nav-mobile a {
  font-family:var(--ff-sans); font-size:15px; font-weight:500;
  color:rgba(255,255,255,.82); padding:13px 0;
  border-bottom:1px solid rgba(255,255,255,.06); transition:color .2s;
}
.nav-mobile a:hover { color:var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/Katerina_Homolova_financni_poradkyne.jpg');
  background-size: cover;
  background-position: center 15%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,16,30,.65) 0%,
    rgba(10,16,30,.60) 50%,
    rgba(10,16,30,.80) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(60px, 8vh, 100px);
}
.hero-body .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
}

.hero-h1 {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 18px;
}
.hero-h1 .name-first {
  font-weight: 600;
  font-style: normal;
}
.hero-h1 .name-last {
  font-weight: 600;
  font-style: italic;
  color: var(--gold-light);
}

.hero-headline {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,.85);
  line-height: 1.2;
  margin-bottom: 6px;
}
.hero-headline-italic {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,.85);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-role {
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 8px;
}

.hero-quote-line {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 2.2vw, 20px);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: var(--navy);
  padding: 36px var(--pad-h);
}
.hero-stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}
.stat-item { display:flex; flex-direction:column; align-items:center; gap:6px; }
.stat-num {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-num-word {
  font-family: var(--ff-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-align: center;
}
.stat-sep {
  width: 1px; height: 44px;
  background: rgba(255,255,255,.1);
  align-self: center;
}

/* ═══════════════════════════════════════════════════════
   SPOLEČNÉ TYPOGRAFICKÉ UTILITY
═══════════════════════════════════════════════════════ */
.sec-eyebrow {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.sec-title {
  font-family: var(--ff-serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.sec-lead {
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════
   SLUŽBY – FLIP KARTY
═══════════════════════════════════════════════════════ */
#sluzby {
  background: var(--cream);
  padding: var(--sec-pad) 0;
}
.sluzby-hdr {
  text-align: center;
  margin-bottom: 52px;
}
.sluzby-hdr .sec-title { color: var(--navy); }
.sluzby-hdr .sec-lead  { max-width: 500px; margin: 12px auto 0; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flip-card {
  perspective: 1200px;
  height: 272px;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.4,.2,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: var(--navy);
  padding: 32px 28px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flip-back {
  background: var(--gold);
  transform: rotateY(180deg);
  padding: 0 32px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.card-icon-wrap {
  width: 42px; height: 42px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-wrap svg { width: 100%; height: 100%; }
.flip-front .card-icon-wrap svg path,
.flip-front .card-icon-wrap svg polyline,
.flip-front .card-icon-wrap svg rect { stroke: var(--gold) !important; }
.flip-front .card-icon-wrap svg circle { fill: var(--gold) !important; stroke: none !important; }

.card-name-front {
  font-family: var(--ff-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  text-align: center;
}

.card-desc {
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.72;
}

/* ═══════════════════════════════════════════════════════
   O MNĚ
═══════════════════════════════════════════════════════ */
#o-mne {
  background: var(--white);
  padding: var(--sec-pad) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}
.about-content .sec-title { color: var(--navy); margin-bottom: 18px; }
.about-quote {
  font-family: var(--ff-sans);
  font-size: clamp(15px, 1.8vw, 18px);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 22px;
}
.about-text {
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
}
.about-text p + p { margin-top: 14px; }

/* ═══════════════════════════════════════════════════════
   PRŮBĚH SPOLUPRÁCE
═══════════════════════════════════════════════════════ */
#prubeh {
  background: var(--navy);
  padding: var(--sec-pad) 0;
}
#prubeh .sec-title { color: var(--white); }
.prubeh-hdr { margin-bottom: 52px; }
.prubeh-hdr .sec-lead { color: rgba(255,255,255,.5); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color .25s, background .25s;
}
.step-card:hover {
  background: var(--navy-mid);
  border-color: rgba(201,168,76,.3);
}
.step-num {
  font-family: var(--ff-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--ff-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,.62);
  line-height: 1.72;
}

/* ═══════════════════════════════════════════════════════
   HYPOTEČNÍ KALKULAČKA
═══════════════════════════════════════════════════════ */
#kalkulacka {
  background: var(--cream);
  padding: var(--sec-pad) 0;
  box-shadow: 0 8px 32px rgba(17,27,48,.10);
  position: relative;
  z-index: 1;
}
.calc-hdr { margin-bottom: 44px; }
.calc-hdr .sec-title { color: var(--navy); }

.calc-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 48px);
}
.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
  margin-bottom: 32px;
}
.ci-label {
  font-family: var(--ff-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ci-val {
  font-family: var(--ff-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2px;
  background: var(--cream-dark);
  border-radius: 2px; outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); cursor: pointer;
  box-shadow: 0 0 0 3px rgba(201,168,76,.18);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: none; cursor: pointer;
}
.ci-select {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  width: 100%; outline: none; cursor: pointer;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.ci-select:focus { border-color: var(--gold); }

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.cr-item {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.cr-label {
  font-family: var(--ff-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cr-value {
  font-family: var(--ff-sans);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.cr-sub {
  font-family: var(--ff-sans);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-cta {
  display: block;
  width: auto;
  margin: 0 auto 10px;
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.calc-cta:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px var(--gold-glow);
  transform: translateY(-3px);
}
.calc-note {
  font-family: var(--ff-sans);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.amort-toggle {
  display: flex; align-items: center; gap: 6px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  cursor: pointer;
  margin-top: 20px;
  transition: border-color .2s, color .2s;
}
.amort-toggle:hover { border-color: var(--gold); color: var(--gold); }

.amort-wrap { margin-top: 22px; overflow-x: auto; display:none; }
.amort-wrap table { width:100%; border-collapse:collapse; font-family:var(--ff-sans); font-size:13px; }
.amort-wrap th {
  font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-muted); padding:10px 12px; text-align:right;
  border-bottom:1px solid var(--border);
}
.amort-wrap th:first-child { text-align:left; }
.amort-wrap td {
  padding:9px 12px; text-align:right; color:var(--text-mid);
  border-bottom:1px solid rgba(0,0,0,.04);
}
.amort-wrap td:first-child { text-align:left; color:var(--text-muted); }
.amort-wrap tr:hover td { background:rgba(201,168,76,.04); }

/* ═══════════════════════════════════════════════════════
   KONTAKT
═══════════════════════════════════════════════════════ */
#kontakt {
  background: var(--cream);
  padding: var(--sec-pad) 0;
  position: relative;
  z-index: 0;
}

#kokontakt {
  background: var(--cream);
  padding: 10px 22px;
  position: relative;
  z-index: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-info .sec-title { color: var(--navy); margin-bottom: 12px; }
.contact-lead {
  font-family: var(--ff-sans);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.ci-items {     display:flex; flex-direction:column; gap:18px; }
.ci-row-contact { display:flex; align-items:center; gap:16px; }
.ci-icon-box {
  width: 42px; height: 42px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon-box svg { width:20px; height:20px; }
.ci-icon-box svg path,
.ci-icon-box svg polyline,
.ci-icon-box svg rect { stroke: rgba(255,255,255,.9) !important; }

.ci-contact-label {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.ci-contact-val {
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.ci-contact-val a { color: var(--navy); transition: color .2s; }
.ci-contact-val a:hover { color: var(--gold); }

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}
.ff {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.ff label {
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ff input,
.ff textarea {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  width: 100%;
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}
.ff input::placeholder,
.ff textarea::placeholder { color: rgba(17,27,48,.3); }
.ff input:focus,
.ff textarea:focus { border-color: var(--gold); }

.form-submit {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 13px 32px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  margin-top: 6px;
}
.form-submit:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 24px var(--gold-glow);
  transform: translateY(-3px);
}
.form-submit:disabled { opacity:.65; cursor:not-allowed; transform:none; box-shadow:none; }

.form-status { margin-top:12px; font-family:var(--ff-sans); font-size:13px; min-height:18px; }
.form-status.ok  { color: #2a7d4f; }
.form-status.err { color: #c0392b; }

/* ═══════════════════════════════════════════════════════
   PATIČKA
═══════════════════════════════════════════════════════ */
footer {
  background: var(--navy);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
footer .container {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.foot-name {
  font-family: var(--ff-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}
.foot-name em { font-style:italic; color:var(--gold-light); }
.foot-role {
  font-family: var(--ff-sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-top: 2px;
}
.foot-copy {
  font-family: var(--ff-sans);
  font-size: 12px;
  color: rgba(255,255,255,.22);
}

/* ═══════════════════════════════════════════════════════
   RESPONZIVITA
═══════════════════════════════════════════════════════ */
@media (max-width: 920px) {
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid   { grid-template-columns: 1fr; }
  .about-photo  { max-width: 360px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr 1fr; }
  .calc-results .cr-item:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .nav-links   { display:none; }
  .nav-burger  { display:flex; }

  .hero-quote-line { display: none; }

  .hero-stats-bar { padding: 22px 20px; }
  .hero-stats-bar .container { gap: 20px; }
  .stat-sep { height: 36px; }

  .cards-grid  { grid-template-columns: 1fr 1fr; }
  .flip-card   { height: 200px; }
  .card-name-front { font-size: 21px; }
  .flip-front  { padding: 22px 16px; }
  .flip-back   { padding: 0 20px; }

  .steps-grid  { grid-template-columns: 1fr 1fr; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; }
  .calc-results .cr-item:last-child { grid-column: span 1; }
  .hero-btns   { flex-direction: column; align-items: center; }
  footer .container { flex-direction:column; align-items:center; text-align:center; gap:6px; }
}
@media (max-width: 420px) {
  .cards-grid { grid-template-columns: 1fr; }
  .flip-card  { height: 180px; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   GDPR TEXT POD FORMULÁŘEM
═══════════════════════════════════════════════════════ */
.form-gdpr {
  font-family: var(--ff-sans);
  font-size: 11.5px;
  color: var(--text-muted);
  opacity: 0.72;
  margin-top: 10px;
  line-height: 1.5;
  text-align: center;
}
.gdpr-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.gdpr-link:hover {
  color: var(--gold);
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   GDPR MODÁLNÍ OKNO
═══════════════════════════════════════════════════════ */
.gdpr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(10, 16, 30, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--pad-h);
  backdrop-filter: blur(4px);
}
.gdpr-modal-overlay[hidden] { display: none; }

.gdpr-modal-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 660px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(10,16,30,.45);
  overflow: hidden;
}

.gdpr-modal-header {
  position: relative;
  background: var(--navy);
  padding: 28px 36px 24px;
  flex-shrink: 0;
  border-bottom: 2px solid var(--gold);
}
.gdpr-modal-header .sec-eyebrow { color: var(--gold); }
.gdpr-modal-title {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.gdpr-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.5);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.gdpr-modal-close:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.gdpr-modal-body {
  overflow-y: auto;
  padding: 28px 36px;
  flex: 1;
  scroll-behavior: smooth;
}
.gdpr-modal-body h3 {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 22px;
  margin-bottom: 8px;
}
.gdpr-modal-body h3:first-child { margin-top: 0; }
.gdpr-modal-body p {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 8px;
}
.gdpr-modal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}
.gdpr-modal-body ul li {
  font-family: var(--ff-sans);
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 4px;
}
.gdpr-modal-body strong { color: var(--navy); }

.gdpr-modal-footer {
  padding: 16px 36px 24px;
  flex-shrink: 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.gdpr-modal-btn {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 10px 28px;
  font-family: var(--ff-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gdpr-modal-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px var(--gold-glow);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .gdpr-modal-header { padding: 22px 20px 18px; }
  .gdpr-modal-body   { padding: 20px 20px; }
  .gdpr-modal-footer { padding: 14px 20px 20px; }
}
