/* ============================================================
   Monika Rousová — osobní web
   Paleta: teplé zemité tóny (krém, béžová, café-au-lait, greige)
   ============================================================ */

:root {
  /* zemitá paleta */
  --cream:      #f5efe3;   /* hlavní pozadí */
  --cream-soft: #efe7d8;   /* hero */
  --greige:     #e6dccb;   /* střídavá sekce */
  --sand:       #d9cbb2;   /* linky, rámečky */
  --coffee:     #7a6a55;   /* akcent, kicker */
  --coffee-dk:  #5e503e;   /* tlačítka */
  --espresso:   #3a3127;   /* text – kontrast AA na krému */
  --ink-soft:   #6a5f50;   /* sekundární text */
  --white-warm: #fbf8f1;   /* karty */

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(58, 49, 39, 0.45);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  color: var(--espresso);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1.1em; }

a { color: var(--coffee-dk); text-underline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- HLAVIČKA ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(245, 239, 227, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}
.brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--espresso);
  text-decoration: none;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s;
}
.nav a:hover { color: var(--espresso); }
.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--coffee-dk);
  color: var(--white-warm) !important;
}
.nav-cta:hover { background: var(--espresso); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 8vw, 100px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 1.1em;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; }
.hero-text h1 { margin-bottom: 0.45em; }

.hero-photo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid var(--white-warm);
}

/* ---------- SEKCE ---------- */
.section { padding: clamp(54px, 8vw, 100px) 0; position: relative; }
.section--cream  { background: var(--cream); }
.section--greige { background: var(--greige); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coffee);
  margin-bottom: 0.6em;
}
.muted { color: var(--ink-soft); }

/* ---------- KARTY SLUŽEB ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: var(--white-warm);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { color: var(--coffee-dk); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- SEZNAM SLUŽEB ---------- */
.services, .reasons {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.services li {
  background: var(--white-warm);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.services li strong { color: var(--coffee-dk); }
.reasons li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--sand);
  color: var(--espresso);
}
.reasons li:last-child { border-bottom: 0; }
.reasons li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coffee);
}
.subhead { margin-top: 2em; }

/* ---------- CENÍK ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 32px;
}
.price-item {
  background: var(--white-warm);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.price-item h3 {
  color: var(--coffee-dk);
  margin-bottom: 0.6em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--sand);
}
.price-item ul { list-style: none; margin: 0; padding: 0; }
.price-item li {
  color: var(--ink-soft);
  font-size: 0.98rem;
  padding: 5px 0;
}
.price-item li strong {
  color: var(--espresso);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------- TIMELINE VZDĚLÁNÍ ---------- */
.timeline { list-style: none; margin: 34px 0 0; padding: 0; }
.timeline li {
  display: flex;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--sand);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .year {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--coffee);
  flex: 0 0 110px;
  font-size: 1.02rem;
}
.timeline .desc { color: var(--espresso); }

/* ---------- TLAČÍTKA ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.cta-row--center { justify-content: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--coffee-dk);
  color: var(--white-warm);
  box-shadow: 0 12px 24px -14px rgba(94, 80, 62, 0.9);
}
.btn--primary:hover { background: var(--espresso); }
.btn--ghost {
  background: transparent;
  color: var(--coffee-dk);
  border: 1.5px solid var(--coffee-dk);
}
.btn--ghost:hover { background: var(--coffee-dk); color: var(--white-warm); }

/* ---------- KONTAKT ---------- */
.section--contact {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  overflow: hidden;
}
.contact-inner { position: relative; z-index: 2; text-align: center; }
.contact-inner .lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
.contact-list {
  list-style: none;
  margin: 42px auto 0;
  padding: 26px 30px;
  max-width: 520px;
  background: var(--white-warm);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-align: left;
}
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-label {
  flex: 0 0 130px;
  font-weight: 700;
  color: var(--coffee);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.note { margin-top: 26px; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- PATIČKA ---------- */
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: 48px 0 40px;
}
.footer-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 0.2em;
  color: var(--cream);
}
.footer-sub { margin: 0 0 1.4em; color: var(--sand); font-size: 0.98rem; }
.footer-credit { margin: 0; font-size: 0.82rem; color: #a99c86; }

/* ---------- RESPONZIVITA ---------- */
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 280px; margin: 0 auto; border-radius: var(--radius); }
  .lead { max-width: none; }
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .cta-row .btn { width: 100%; }
  .timeline li { flex-direction: column; gap: 2px; }
  .contact-label { flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- FOCUS (přístupnost) ---------- */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--coffee);
  outline-offset: 3px;
  border-radius: 4px;
}
