/* ============================================================
   KUP SI FIRMU – Design System
   Vychází z designu EQUITY LEGAL
   Paleta: Navy #1E2941 | Burgundy #904E55 | Off-white #F9F9F7
   Typografie: Montserrat (nadpisy) · Verdana (text)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --navy:           #1E2941;
  --navy-light:     #263452;
  --burgundy:       #904E55;
  --burgundy-hover: #7a4249;
  --bg:             #F9F9F7;
  --bg-alt:         #f0efed;
  --surface:        #ffffff;
  --text:           #222222;
  --text-muted:     #666666;
  --border:         #e0dedd;
  --shadow:         0 2px 20px rgba(30,41,65,.08);
  --shadow-lg:      0 8px 40px rgba(30,41,65,.14);

  --font-h: 'Montserrat', Arial, sans-serif;
  --font-b: Verdana, Geneva, Tahoma, sans-serif;

  --r:  4px;
  --tr: .2s ease;
  --mw: 1180px;
  --nh: 128px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  padding-top: var(--nh);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--burgundy-hover); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem,4.2vw,3.1rem); }
h2 { font-size: clamp(1.5rem,2.8vw,2.2rem); }
h3 { font-size: clamp(1.1rem,1.8vw,1.35rem); }
p  { font-size: .97rem; margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section-label {
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: .75rem;
  text-align: center;
}
.section-title { margin-bottom: 1.25rem; text-align: center; }
.section-lead { font-size: 1.05rem; max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.divider { width: 48px; height: 2px; background: var(--burgundy); margin: 1rem auto 2rem; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nh); background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; transition: box-shadow var(--tr);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(30,41,65,.10); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 24px;
}
.nav__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav__logo-img { height: 120px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-family: var(--font-h); font-size: .88rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: var(--navy);
  position: relative; padding-bottom: 2px;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--burgundy); transition: width var(--tr);
}
.nav__link:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .75rem; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); }

.nav__mobile {
  display: none; position: fixed; top: var(--nh); left: 0; right: 0;
  background: #fff; padding: 1.5rem 24px; flex-direction: column; gap: 1.25rem;
  border-top: 1px solid var(--border); z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { font-size: .9rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-h); font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .9rem 2.1rem; border-radius: var(--r);
  transition: opacity var(--tr), transform var(--tr);
  cursor: pointer;
}
.btn--primary { background: var(--burgundy); color: #fff; border: 2px solid var(--burgundy); }
.btn--primary:hover { color: #fff; opacity: .9; }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { color: var(--navy); opacity: .85; }
.btn--outline-white { background: transparent; color: rgba(255,255,255,.92); border: 2px solid rgba(255,255,255,.4); }
.btn--outline-white:hover { color: #fff; opacity: .85; }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: .55rem 1.4rem; font-size: .72rem; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  background-image: radial-gradient(circle at 80% 20%, rgba(144,78,85,.25), transparent 55%),
                     radial-gradient(circle at 10% 90%, rgba(255,255,255,.06), transparent 45%);
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero__label {
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy);
  margin-bottom: 1.25rem;
}
.hero__title { color: #fff; max-width: 820px; margin: 0 auto 1.5rem; }
.hero__title em { font-style: normal; color: var(--burgundy); }
.hero__desc { color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.75; }
.hero__cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Why grid ── */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2rem; border-left: 3px solid var(--burgundy);
  flex: 0 1 calc(33.333% - 1rem);
  width: calc(33.333% - 1rem);
  min-width: 260px;
}
.why-card__num {
  font-family: var(--font-h); font-weight: 800; font-size: 1.6rem;
  color: var(--burgundy); opacity: .35; margin-bottom: .75rem;
}
.why-card__title { font-family: var(--font-h); font-weight: 600; font-size: .98rem; color: var(--navy); margin-bottom: .5rem; }
.why-card p { font-size: .88rem; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; margin-top: 3rem; counter-reset: step; }
.step { text-align: center; position: relative; }
.step__circle {
  width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  font-family: var(--font-h); font-weight: 700; font-size: 1.4rem;
}
.step__title { font-family: var(--font-h); font-weight: 600; font-size: 1rem; color: var(--navy); margin-bottom: .5rem; }
.step p { font-size: .88rem; max-width: 280px; margin: 0 auto; }

/* ── Included list ── */
.included {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.5rem; max-width: 720px; margin: 3rem auto 0;
}
.included__item {
  display: flex; align-items: flex-start; gap: .85rem; padding: .9rem 0;
  border-bottom: 1px solid var(--border); font-size: .95rem; color: var(--text);
}
.included__item:last-child { border-bottom: none; }
.included__check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--burgundy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; margin-top: .1rem;
}

/* ── FAQ ── */
.faq { max-width: 780px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; font-family: var(--font-h); font-weight: 600; font-size: .98rem; color: var(--navy);
}
.faq-item__icon { flex-shrink: 0; color: var(--burgundy); font-size: 1.2rem; transition: transform var(--tr); }
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--tr); }
.faq-item.open .faq-item__a { max-height: 220px; }
.faq-item__a p { padding-bottom: 1.4rem; font-size: .9rem; }

/* ── CTA Banner ── */
.cta-banner { background: var(--navy); padding: 80px 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.65); margin-bottom: 2rem; }

/* ── Contact form ── */
.contact-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.5rem; max-width: 640px; margin: 3rem auto 0; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block; font-family: var(--font-h); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: .5rem;
}
.form-row input, .form-row textarea {
  width: 100%; font-family: var(--font-b); font-size: .95rem; color: var(--text);
  padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--r);
  background: var(--bg); transition: border-color var(--tr);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--burgundy); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-msg { margin-top: 1rem; font-size: .9rem; display: none; }
.form-msg.show { display: block; }
.form-msg--ok { color: #2e7d32; }
.form-msg--err { color: #b3261e; }

/* ── Footer ── */
.footer { background: var(--navy-light); padding: 3rem 0 2rem; }
.footer__inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer__logo { display: flex; align-items: center; gap: .6rem; }
.footer__logo-img { height: 46px; }
.footer__brand { font-family: var(--font-h); font-weight: 700; color: #fff; font-size: 1rem; }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,.65); font-size: .85rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; text-align: center; color: rgba(255,255,255,.35); font-size: .78rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer__partner { color: rgba(255,255,255,.4); }
.footer__partner a { color: rgba(255,255,255,.55); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .why-card { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 90px 0 70px; }
  .included, .contact-wrap { padding: 1.5rem; }
}

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
