/* Studio Daja — vizuální styl
   Varianta: jemný přírodní minimalismus s navázáním na fialovou identitu studia. */

:root {
  --sand: #faf6f0;
  --sand-deep: #f2ebe1;
  --surface: #ffffff;
  --ink: #2c2729;
  --muted: #6c6360;
  --line: #e5dbcf;

  --plum: #6c4b7c;
  --plum-deep: #533a60;
  --plum-soft: #f1e9f3;
  --sage: #7b8c6e;
  --sage-soft: #eef1e9;

  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(44, 39, 41, .05), 0 12px 32px rgba(44, 39, 41, .06);
  --shadow-sm: 0 1px 2px rgba(44, 39, 41, .05), 0 6px 16px rgba(44, 39, 41, .05);

  --wrap: 1120px;
  --narrow: 760px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- základ ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--plum-deep); }
a:hover { color: var(--plum); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .5em; }

strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.narrow { max-width: var(--narrow); }
.center { text-align: center; margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--plum);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--plum);
}

.brand-tagline {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: .25rem; }

.nav a {
  display: inline-block;
  padding: .55rem .7rem;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: .95rem;
}

.nav a:hover { background: var(--plum-soft); color: var(--plum-deep); }
.nav a[aria-current="page"] { color: var(--plum); font-weight: 600; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .6rem .85rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-deep); color: #fff; }

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--sand-deep); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--plum-deep);
  border-color: var(--plum);
}
.btn-ghost:hover { background: var(--plum-soft); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

/* ---------- sekce ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-alt { background: var(--sand-deep); }
.section-plum { background: var(--plum-soft); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
  margin-bottom: .9rem;
}

.lead { font-size: 1.18rem; color: var(--ink); }
.muted { color: var(--muted); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(60rem 32rem at 78% -10%, var(--plum-soft), transparent 60%),
    radial-gradient(48rem 28rem at 6% 108%, var(--sage-soft), transparent 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: .5em; }

.hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--plum-soft), var(--sage-soft));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: .9rem;
}

.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero-facts div { min-width: 120px; }

.hero-facts dt {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .2rem;
}

.hero-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

/* ---------- karty ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-sm);
}

.card h3 { margin-bottom: .5em; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.card-link::after { content: "→"; transition: transform .15s ease; }
.card-link:hover::after { transform: translateX(3px); }

.card-quiet {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
}

/* ---------- profily ---------- */

.person {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.person + .person { margin-top: 2rem; }

.person-portrait {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--plum-soft), var(--sage-soft));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: .85rem;
  overflow: hidden;
}

.person-portrait img { width: 100%; height: 100%; object-fit: cover; }

.person-role {
  color: var(--plum);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- citát ---------- */

.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  line-height: 1.35;
  text-align: center;
  color: var(--plum-deep);
  margin: 0 auto;
  max-width: 26ch;
}

/* ---------- seznam odrážek s ikonou ---------- */

.check-list { list-style: none; padding: 0; }

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  border: 2px solid var(--sage);
}

/* ---------- kroky ---------- */

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3.4rem;
  margin: 0;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--plum-soft);
  color: var(--plum-deep);
  font-family: var(--font-display);
  font-weight: 600;
  display: grid;
  place-items: center;
}

.steps h3 { margin-bottom: .25em; font-size: 1.12rem; }

/* ---------- ceník ---------- */

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card.is-highlight {
  border-color: var(--plum);
  background: linear-gradient(180deg, var(--plum-soft), var(--surface) 55%);
}

.price-card h3 { margin-bottom: .35em; }

.price-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--plum-deep);
  margin: 0 0 .2em;
}

.price-note { color: var(--muted); font-size: .95rem; }

.price-list { list-style: none; padding: 0; margin: 0; }

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.price-list li:last-child { border-bottom: 0; }

.price-list .price-amount {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--plum-deep);
  white-space: nowrap;
}

/* ---------- kurzy ---------- */

.event {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.event + .event { margin-top: 1.5rem; }

.event-date {
  background: var(--plum-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  align-self: start;
}

.event-day {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--plum-deep);
  display: block;
}

.event-time { color: var(--muted); font-size: .95rem; }

.event-meta { list-style: none; padding: 0; margin: 1.15rem 0 0; }

.event-meta li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: .45rem;
}

.event-meta li::before {
  content: "•";
  position: absolute;
  left: .45rem;
  color: var(--plum);
}

/* ---------- kontaktní pruh ---------- */

.contact-strip {
  background: var(--plum);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-strip h2 { color: #fff; margin-bottom: .35em; }
.contact-strip p { color: rgba(255, 255, 255, .88); margin-bottom: 0; }

.contact-strip .btn-primary {
  background: #fff;
  color: var(--plum-deep);
}
.contact-strip .btn-primary:hover { background: var(--sand); color: var(--plum-deep); }

.contact-strip .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.contact-strip .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- kontaktní karty ---------- */

.contact-card { display: flex; flex-direction: column; gap: .35rem; }

.contact-card .contact-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-line {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  flex-wrap: wrap;
}

.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- formulář ---------- */

.form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: .4rem; }

.field label { font-weight: 600; font-size: .95rem; }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem .95rem;
  min-height: 48px;
  width: 100%;
}

.field textarea { min-height: 140px; resize: vertical; }

.field-hint { color: var(--muted); font-size: .88rem; }

.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--muted);
}

.form-consent input { margin-top: .35rem; width: 18px; height: 18px; }

/* ---------- právní text ---------- */

.legal h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.legal h3 { font-size: 1.1rem; margin-top: 1.75rem; }

/* ---------- disclaimer ---------- */

.disclaimer {
  background: var(--sage-soft);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  color: var(--ink);
  font-size: .98rem;
}

/* ---------- patička ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
}

.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .9em;
}

.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .55rem; }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline { color: rgba(255, 255, 255, .6); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
}

/* ---------- mobilní volací lišta ---------- */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250, 246, 240, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}

.callbar .btn { flex: 1; padding: .7rem .9rem; font-size: .95rem; }

/* ---------- kontrolní režim překlepů ----------
   Zobrazí se jen po přidání ?preklepy do adresy. Návštěvník web vidí bez toho. */

mark.preklep {
  background: #ffe9a8;
  color: inherit;
  border-bottom: 2px solid #d99b12;
  border-radius: 3px;
  padding: 0 .12em;
  cursor: help;
}

#preklepy-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(340px, calc(100vw - 2rem));
  max-height: min(60vh, 520px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid #d99b12;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  font-size: .9rem;
  line-height: 1.5;
}

#preklepy-panel h2 {
  font-size: 1rem;
  margin-bottom: .4em;
}

#preklepy-panel ul {
  list-style: none;
  padding: 0;
  margin: .9rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}

#preklepy-panel li {
  margin-bottom: .7rem;
  font-size: .85rem;
}

#preklepy-panel li span { color: var(--muted); }

.preklepy-zavrit {
  position: absolute;
  top: .5rem;
  right: .6rem;
  background: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

@media (max-width: 760px) {
  #preklepy-panel { bottom: 84px; }
}

/* ---------- responzivita ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16 / 10; order: -1; }
  .person { grid-template-columns: 1fr; }
  .person-portrait { max-width: 260px; aspect-ratio: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }

  body { padding-bottom: 76px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: .9rem .75rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }

  .nav a:last-child { border-bottom: 0; }

  .callbar { display: flex; }

  .event { grid-template-columns: 1fr; }

  .price-list li { flex-direction: column; gap: .25rem; }

  .btn-row .btn { width: 100%; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .callbar, .contact-strip, .btn-row { display: none; }
  body { background: #fff; padding: 0; }
}
