/* CeskaCart — sidebar layout, flexbox only */
:root {
  --paper: #f6f1e7;
  --paper-deep: #ece3d2;
  --ink: #1f2a2e;
  --ink-soft: #4a575b;
  --green: #2f5d50;
  --green-deep: #1d3d34;
  --mustard: #d99a2b;
  --mustard-soft: #f3d9a4;
  --rose: #b4553f;
  --line: #d8ccb5;
  --white: #fffdf8;
  --sidebar-w: 270px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--rose); }

img { display: block; max-width: 100%; height: auto; object-fit: cover; }

.img-frame { background-color: var(--paper-deep); overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Shell ---------- */
.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--green-deep);
  color: var(--paper);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  z-index: 40;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.brand:hover { color: var(--mustard-soft); }
.brand svg { flex-shrink: 0; }

.sidebar-tag { font-size: .88rem; color: #b9cbc3; margin-bottom: 34px; }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  color: var(--paper);
  text-decoration: none;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background .2s, border-color .2s;
}
.side-nav a:hover { background: rgba(255,255,255,.07); border-left-color: var(--mustard); color: var(--white); }
.side-nav a.is-active { border-left-color: var(--mustard); background: rgba(255,255,255,.1); font-weight: 600; }

.side-cta {
  margin-top: 30px;
  display: inline-flex;
  justify-content: center;
  background: var(--mustard);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s;
}
.side-cta:hover { background: var(--mustard-soft); color: var(--ink); }

.side-foot { margin-top: auto; padding-top: 30px; font-size: .82rem; color: #a7bab2; }
.side-foot span { display: block; }

.main-col {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 40px;
  background: var(--mustard-soft);
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  position: sticky;
  top: 0;
  z-index: 30;
}
.ad-label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ad-label b {
  background: var(--ink);
  color: var(--mustard-soft);
  font-size: .72rem;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 3px;
}
.topline-links { display: flex; gap: 18px; }
.topline-links a { color: var(--ink); }

.nav-toggle {
  display: none;
  background: var(--ink);
  color: var(--white);
  border: 0;
  padding: 8px 14px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle:hover { background: var(--green); }

main { flex: 1; }

.wrap { padding: 0 56px; max-width: 1180px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  border: 2px solid transparent;
  padding: 13px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--green); color: var(--white); }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: var(--white); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 8px 16px; font-size: .92rem; }

.link-arrow { font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 14px;
}

/* ---------- Index: opening ---------- */
.opening { padding: 64px 0 90px; position: relative; }
.opening .wrap { display: flex; align-items: flex-start; gap: 48px; }
.opening-text { flex: 1 1 52%; padding-top: 20px; }
.opening-text .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; }
.opening-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

.opening-visual { flex: 1 1 48%; position: relative; }
.opening-visual .img-frame { height: 520px; border-radius: 120px 6px 6px 6px; }
.receipt {
  position: absolute;
  left: -54px;
  bottom: -40px;
  width: 240px;
  background: var(--white);
  padding: 18px 20px;
  font-family: "Courier New", monospace;
  font-size: .85rem;
  box-shadow: 0 18px 40px rgba(31,42,46,.18);
  border-top: 4px dashed var(--line);
}
.receipt-row { display: flex; justify-content: space-between; gap: 10px; }
.receipt-total { border-top: 1px dashed var(--ink-soft); margin-top: 8px; padding-top: 8px; font-weight: 700; }
.receipt small { display: block; margin-top: 8px; color: var(--ink-soft); font-family: inherit; }

/* ---------- Index: breakdown ---------- */
.breakdown { background: var(--white); padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.breakdown .wrap { display: flex; gap: 60px; align-items: center; flex-direction: row-reverse; }
.breakdown-text { flex: 1 1 40%; }
.breakdown-bars { flex: 1 1 60%; display: flex; flex-direction: column; gap: 14px; }
.bar { display: flex; align-items: center; gap: 14px; }
.bar-label { width: 190px; flex-shrink: 0; font-weight: 600; font-size: .95rem; }
.bar-track { flex: 1; height: 26px; background: var(--paper); border-radius: 3px; overflow: hidden; display: flex; }
.bar-fill { background: var(--green); height: 100%; }
.bar-fill.w34 { width: 34%; }
.bar-fill.w27 { width: 27%; background: var(--rose); }
.bar-fill.w12 { width: 12%; background: var(--mustard); }
.bar-fill.w11 { width: 11%; background: #6f8f86; }
.bar-fill.w8a { width: 8%; background: var(--ink); }
.bar-fill.w8b { width: 8%; background: #a99c84; }
.bar-val { width: 48px; text-align: right; font-weight: 700; }
.note { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.breakdown-img { margin-top: 26px; height: 220px; border-radius: var(--radius); }

/* ---------- Index: calculator ---------- */
.calc { padding: 90px 0; }
.calc .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.calc-intro { max-width: 640px; }
.calc-box {
  margin-top: 30px;
  width: 100%;
  max-width: 860px;
  background: var(--paper-deep);
  border-radius: 14px;
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  text-align: left;
}
.calc-field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.calc-field input {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.calc-actions { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.calc-result { flex: 1; font-size: 1.05rem; min-height: 1.6em; }
.calc-result strong { color: var(--green); }

/* ---------- Index: process ---------- */
.process { background: var(--green); color: var(--paper); padding: 90px 0; position: relative; overflow: hidden; }
.process .wrap { display: flex; gap: 56px; align-items: stretch; }
.process h2 { color: var(--white); }
.process-steps { flex: 1 1 58%; display: flex; flex-direction: column; }
.step { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(246,241,231,.2); }
.step:last-child { border-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--mustard);
  color: var(--mustard);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.step h3 { color: var(--white); margin-bottom: .3em; }
.step p { margin: 0; color: #d4e0da; }
.process-aside { flex: 1 1 42%; display: flex; flex-direction: column; gap: 22px; }
.process-aside .img-frame { flex: 1; min-height: 300px; border-radius: var(--radius); background-color: var(--green-deep); }
.process-aside blockquote {
  margin: 0;
  background: var(--mustard);
  color: var(--ink);
  padding: 22px 24px;
  border-radius: var(--radius);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
}
.process-aside cite { display: block; font-family: "Source Sans 3", Arial, sans-serif; font-style: normal; font-size: .88rem; margin-top: 8px; }

/* ---------- Services list ---------- */
.pricing { padding: 90px 0 70px; }
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.pricing-head p { max-width: 430px; color: var(--ink-soft); margin: 0; }
.svc-list { display: flex; flex-direction: column; gap: 18px; }
.svc {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.svc:nth-child(even) { flex-direction: row-reverse; }
.svc .img-frame { flex: 0 0 230px; min-height: 180px; }
.svc-body { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }
.svc-body p { margin: 0; color: var(--ink-soft); }
.svc-meta { font-size: .85rem; color: var(--rose); font-weight: 700; margin-bottom: 4px; }
.svc-price {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border-left: 1px dashed var(--line);
  text-align: center;
}
.svc:nth-child(even) .svc-price { border-left: 0; border-right: 1px dashed var(--line); }
.price { font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; font-weight: 700; line-height: 1; }
.price small { display: block; font-family: "Source Sans 3", Arial, sans-serif; font-size: .78rem; font-weight: 400; color: var(--ink-soft); margin-top: 6px; }
.svc.is-picked { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,93,80,.25); }

/* ---------- Order form ---------- */
.order { padding: 90px 0; background-color: var(--ink); background-image: linear-gradient(rgba(29,61,52,.92), rgba(31,42,46,.95)), url("https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?w=1400&q=80"); background-size: cover; background-position: center; color: var(--paper); }
.order .wrap { display: flex; gap: 60px; align-items: flex-start; }
.order-text { flex: 1 1 38%; }
.order-text h2 { color: var(--white); }
.order-text ol { padding-left: 20px; margin: 0 0 1em; }
.order-text li { margin-bottom: 8px; }
.form-card { flex: 1 1 62%; background: var(--white); color: var(--ink); padding: 36px; border-radius: 12px; }
.form-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .93rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.field.has-error input, .field.has-error select { border-color: var(--rose); }
.field-error { color: var(--rose); font-size: .82rem; min-height: 1em; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; margin-bottom: 20px; }
.consent input { margin-top: 5px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form-foot small { color: var(--ink-soft); }

/* ---------- Voices ---------- */
.voices { padding: 90px 0; position: relative; }
.voices .wrap { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.voices-title { flex: 1 1 100%; }
.voice { background: var(--white); padding: 28px; border-radius: var(--radius); border-left: 4px solid var(--mustard); }
.voice p { font-size: 1.02rem; }
.voice footer { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.voice-lg { flex: 1 1 52%; font-family: "Fraunces", Georgia, serif; }
.voice-lg p { font-size: 1.3rem; line-height: 1.5; }
.voice-sm { flex: 1 1 36%; margin-top: 60px; border-left-color: var(--green); }
.voice-wide { flex: 1 1 70%; margin-left: 12%; border-left-color: var(--rose); background: var(--paper-deep); }

/* ---------- Model + FAQ ---------- */
.model { padding: 80px 0; background: var(--paper-deep); }
.model .wrap { display: flex; gap: 50px; }
.model-box { flex: 1 1 45%; background: var(--white); padding: 32px; border-radius: var(--radius); border-top: 5px solid var(--green); }
.faq { flex: 1 1 55%; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--ink);
}
.faq-q:hover { color: var(--green); }
.faq-q span { transition: transform .2s; }
.faq-item.is-open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 18px; color: var(--ink-soft); }
.faq-item.is-open .faq-a { display: block; }

/* ---------- Generic page head ---------- */
.page-head { padding: 64px 0 40px; }
.page-head .wrap { display: flex; flex-direction: column; }
.page-head .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; }

/* ---------- About ---------- */
.about-story { padding: 30px 0 70px; }
.about-story .wrap { display: flex; gap: 50px; align-items: flex-start; }
.about-story .img-frame { flex: 0 0 42%; height: 460px; border-radius: 6px 6px 90px 6px; }
.about-story-text { flex: 1; }
.facts { display: flex; flex-wrap: wrap; gap: 0; background: var(--ink); color: var(--paper); }
.fact { flex: 1 1 200px; padding: 40px 32px; border-right: 1px solid rgba(255,255,255,.12); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; color: var(--mustard); line-height: 1.1; }
.values { padding: 80px 0; }
.values .wrap { display: flex; flex-direction: column; gap: 30px; }
.value { display: flex; gap: 30px; align-items: center; }
.value:nth-child(odd) { padding-left: 10%; }
.value h3 { flex: 0 0 240px; margin: 0; color: var(--green); }
.value p { margin: 0; flex: 1; }
.team-band { padding: 0 0 90px; }
.team-band .wrap { display: flex; gap: 36px; align-items: center; flex-direction: row-reverse; }
.team-band .img-frame { flex: 1 1 50%; height: 380px; border-radius: var(--radius); }
.team-band-text { flex: 1 1 50%; }

/* ---------- Services page ---------- */
.svc-detail { padding: 20px 0 70px; }
.svc-detail .wrap { display: flex; flex-direction: column; gap: 0; }
.svc-row { display: flex; gap: 36px; padding: 34px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.svc-row-price { flex: 0 0 170px; }
.svc-row-main { flex: 1; }
.svc-row-main ul { margin: 0 0 1em; padding-left: 20px; color: var(--ink-soft); }
.svc-row-act { flex: 0 0 170px; display: flex; justify-content: flex-end; }
.svc-strip { display: flex; gap: 0; height: 260px; }
.svc-strip .img-frame { flex: 1; }
.svc-strip .img-frame:nth-child(2) { flex: 1.6; }

/* ---------- Contact ---------- */
.contact-wrap { padding: 20px 0 90px; }
.contact-wrap .wrap { display: flex; flex-direction: column; gap: 40px; }
.contact-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.contact-card { flex: 1 1 240px; background: var(--white); padding: 28px; border-radius: var(--radius); border-bottom: 4px solid var(--mustard); }
.contact-card h3 { font-size: 1.05rem; color: var(--rose); }
.contact-card p { margin: 0; }
.mail-text { font-weight: 700; user-select: all; }
.contact-visual { display: flex; gap: 30px; align-items: center; }
.contact-visual .img-frame { flex: 1 1 55%; height: 340px; border-radius: var(--radius); }
.contact-visual-text { flex: 1 1 45%; }

/* ---------- Legal ---------- */
.legal { padding: 10px 0 80px; }
.legal .wrap { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; }

/* ---------- Thanks ---------- */
.thanks { padding: 70px 0 90px; }
.thanks .wrap { display: flex; gap: 50px; align-items: center; }
.thanks-text { flex: 1 1 55%; }
.thanks .img-frame { flex: 1 1 45%; height: 380px; border-radius: 100px 6px 6px 6px; }
.thanks-box { background: var(--white); border-left: 4px solid var(--green); padding: 18px 22px; margin: 20px 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7cfcf; padding: 56px 0 30px; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 30px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1 1 200px; }
.footer-col h4 { color: var(--white); font-size: 1rem; }
.footer-col a { color: #e3e8e6; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: var(--mustard); }
.disclaimer { border: 1px solid rgba(255,255,255,.15); padding: 18px 20px; border-radius: var(--radius); font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8f9a9a; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  background: var(--rose);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
}
.sticky-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta:hover { background: var(--green); color: var(--white); }

/* ---------- Cookie ---------- */
.cookie {
  position: fixed;
  left: calc(var(--sidebar-w) + 24px);
  bottom: 24px;
  max-width: 420px;
  background: var(--white);
  color: var(--ink);
  padding: 22px 24px;
  border-radius: 10px;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 14px;
  font-size: .92rem;
}
.cookie.is-shown { display: flex; }
.cookie p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .wrap { padding: 0 32px; }
  .opening .wrap, .breakdown .wrap, .process .wrap, .order .wrap, .model .wrap,
  .about-story .wrap, .team-band .wrap, .contact-visual, .thanks .wrap { flex-direction: column; }
  .opening-visual, .about-story .img-frame, .team-band .img-frame, .contact-visual .img-frame, .thanks .img-frame { width: 100%; flex-basis: auto; }
  .receipt { left: 16px; }
  .voice-sm { margin-top: 0; }
  .voice-wide { margin-left: 0; }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s; }
  .sidebar.is-open { transform: none; }
  .main-col { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .topline { padding: 10px 20px; }
  .topline-links { display: none; }
  .cookie { left: 16px; right: 16px; max-width: none; }
  .svc, .svc:nth-child(even) { flex-direction: column; }
  .svc .img-frame { flex-basis: 180px; }
  .svc-price, .svc:nth-child(even) .svc-price { border: 0; border-top: 1px dashed var(--line); flex-basis: auto; }
  .pricing-head { flex-direction: column; align-items: flex-start; }
  .svc-row { flex-direction: column; gap: 12px; }
  .svc-row-price, .svc-row-act { flex-basis: auto; justify-content: flex-start; }
  .value { flex-direction: column; align-items: flex-start; gap: 8px; }
  .value:nth-child(odd) { padding-left: 0; }
  .value h3 { flex-basis: auto; }
  .bar-label { width: 130px; font-size: .85rem; }
  .svc-strip { height: 180px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .opening-visual .img-frame { height: 340px; }
  .form-card, .calc-box { padding: 22px; }
  .ad-label { font-size: .78rem; }
}
.svc-row.is-picked { background: var(--white); box-shadow: inset 4px 0 0 var(--green); padding-left: 20px; }
