/* ============================================================
   Cinderworks — Marketingová poradna
   Palette:
   Umbra Black #252932 · Deep Emerald #355B4A · Ivory White #FBFAF8
   Graphite Gray #555C65 · Gold Accent #C9A24C
   ============================================================ */

:root {
  --umbra: #252932;
  --umbra-2: #2e333e;
  --emerald: #355B4A;
  --emerald-2: #2a4a3c;
  --ivory: #FBFAF8;
  --graphite: #555C65;
  --gold: #C9A24C;
  --gold-soft: #E4C778;
  --line: rgba(251, 250, 248, 0.10);
  --line-dark: rgba(37, 41, 50, 0.12);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-head: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--umbra);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 108px 0; position: relative; }
.section--tight { padding: 84px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin: 16px 0 14px; }
.section-head p { color: var(--graphite); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--umbra); box-shadow: 0 12px 30px -14px rgba(201,162,76,.9); }
.btn--gold:hover { transform: translateY(-3px); background: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--umbra); color: var(--ivory); }
.btn--dark:hover { transform: translateY(-3px); background: var(--emerald); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 20px 0;
}
.site-header.scrolled {
  background: rgba(37, 41, 50, 0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 12px 40px -22px rgba(0,0,0,.7);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: .01em; }
.brand-name b { color: var(--gold); font-weight: 600; }
.brand-tag { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: rgba(251,250,248,.55); margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: rgba(251,250,248,.82);
  font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { color: var(--ivory); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 8px; }
.nav-phone span { color: var(--gold); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ivory); transition: .3s var(--ease); border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  padding: 150px 0 90px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80");
  background-size: cover; background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(37,41,50,.96) 0%, rgba(37,41,50,.82) 42%, rgba(53,91,74,.55) 100%);
}
.hero-inner { max-width: 720px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin: 22px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 1.18rem; color: rgba(251,250,248,.86); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 44px; flex-wrap: wrap;
  margin-top: 62px; padding-top: 34px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat b { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; }
.hero-stats .stat span { font-size: .85rem; letter-spacing: .04em; color: rgba(251,250,248,.7); }

/* ---------- Trust bar ---------- */
.trust { background: var(--umbra); color: rgba(251,250,248,.7); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust p { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.trust ul { list-style: none; display: flex; gap: 40px; flex-wrap: wrap; }
.trust li { font-family: var(--font-head); font-size: 1.25rem; color: var(--ivory); letter-spacing: .02em; opacity: .85; }

/* ---------- Services ---------- */
.services { background: var(--ivory); }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold);
  transition: width .4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-ico {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--emerald); color: var(--gold);
  display: grid; place-items: center; margin-bottom: 22px;
}
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.service-card p { color: var(--graphite); font-size: .98rem; }
.service-card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.service-card ul li { font-size: .9rem; color: var(--umbra); padding-left: 22px; position: relative; }
.service-card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: -26px; right: -18px;
  background: var(--umbra); color: var(--ivory);
  border-radius: var(--radius); padding: 22px 26px;
  box-shadow: var(--shadow); max-width: 240px;
  border: 1px solid var(--line);
}
.split-badge b { font-family: var(--font-head); color: var(--gold); font-size: 2.2rem; display: block; line-height: 1; }
.split-badge span { font-size: .85rem; color: rgba(251,250,248,.75); }
.split-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 18px; }
.split-content p { color: var(--graphite); margin-bottom: 16px; }
.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi {
  flex: none; width: 34px; height: 34px; border-radius: 8px;
  background: rgba(53,91,74,.12); color: var(--emerald);
  display: grid; place-items: center;
}
.feature-list .fi svg { width: 18px; height: 18px; }
.feature-list h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.feature-list p { font-size: .92rem; margin: 0; }

/* ---------- Process ---------- */
.process { background: var(--umbra); color: var(--ivory); }
.process .section-head p { color: rgba(251,250,248,.72); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; background: var(--umbra-2);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--gold); }
.step .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: rgba(251,250,248,.72); font-size: .93rem; }

/* ---------- Pricing ---------- */
.pricing { background: var(--ivory); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 38px 32px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  background: var(--umbra); color: var(--ivory); border-color: var(--gold);
  position: relative; box-shadow: var(--shadow);
}
.price-card.featured .price-name,
.price-card.featured .price-desc { color: rgba(251,250,248,.82); }
.price-tag-top {
  position: absolute; top: 18px; right: 18px;
  background: var(--gold); color: var(--umbra);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.price-name { font-family: var(--font-body); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--graphite); }
.price-amount { font-family: var(--font-head); font-size: 3rem; margin: 14px 0 2px; line-height: 1; }
.price-amount small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--graphite); }
.price-card.featured .price-amount small { color: rgba(251,250,248,.7); }
.price-desc { color: var(--graphite); font-size: .93rem; min-height: 46px; margin-bottom: 18px; }
.price-feats { list-style: none; display: grid; gap: 12px; margin: 8px 0 28px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.price-feats li svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; margin-top: 32px; color: var(--graphite); font-size: .92rem; }
.price-note strong { color: var(--umbra); }

/* ---------- Testimonials ---------- */
.testi { background: var(--emerald); color: var(--ivory); }
.testi .section-head p { color: rgba(251,250,248,.78); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: rgba(251,250,248,.06); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); background: rgba(251,250,248,.10); }
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.testi-card blockquote { font-family: var(--font-head); font-size: 1.28rem; line-height: 1.4; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.testi-author b { display: block; font-family: var(--font-body); font-size: .95rem; }
.testi-author span { font-size: .82rem; color: rgba(251,250,248,.7); }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-dark); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-family: var(--font-head); font-size: 1.3rem; color: var(--umbra);
}
.faq-q .ico { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); font-size: 1.2rem; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--gold); color: var(--umbra); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--graphite); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact { background: var(--umbra); color: var(--ivory); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 16px; }
.contact-info > p { color: rgba(251,250,248,.78); margin-bottom: 34px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail .ci { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(201,162,76,.14); color: var(--gold); display: grid; place-items: center; }
.contact-detail .ci svg { width: 20px; height: 20px; }
.contact-detail span { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,250,248,.55); }
.contact-detail a, .contact-detail p { color: var(--ivory); font-weight: 500; }
.contact-detail a:hover { color: var(--gold); }
.hours { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: rgba(251,250,248,.72); }
.hours b { color: var(--ivory); }

.form-card { background: var(--ivory); color: var(--umbra); border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--graphite); font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; letter-spacing: .02em; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--umbra);
  padding: 13px 15px; border: 1px solid rgba(85,92,101,.28); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,76,.16);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.row .field { margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--graphite); margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--emerald); flex: none; }
.consent a { color: var(--emerald); text-decoration: underline; }
.form-error { border-color: #b3452f !important; }
.field .err-msg { color: #b3452f; font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid .err-msg { display: block; }
.form-success {
  display: none; background: rgba(53,91,74,.10); border: 1px solid var(--emerald);
  color: var(--emerald-2); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .92rem; margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #1d2026; color: rgba(251,250,248,.7); padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: .92rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .84rem; }
.footer-bottom .legal-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90;
  max-width: 560px; margin: 0 auto;
  background: var(--umbra); color: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
  padding: 24px 26px;
  transform: translateY(160%); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cookie.show { transform: translateY(0); opacity: 1; }
.cookie h4 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 8px; }
.cookie p { font-size: .88rem; color: rgba(251,250,248,.78); margin-bottom: 18px; }
.cookie p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: .88rem; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--umbra); color: var(--ivory); padding: 150px 0 70px; }
.legal-hero .eyebrow { margin-bottom: 14px; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero p { color: rgba(251,250,248,.7); margin-top: 12px; }
.legal-body { padding: 70px 0 100px; background: var(--ivory); }
.legal-body .container { max-width: 860px; }
.legal-body h2 { font-size: 1.7rem; margin: 40px 0 14px; color: var(--umbra); }
.legal-body h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; }
.legal-body p { color: var(--graphite); margin-bottom: 14px; }
.legal-body ul { margin: 0 0 16px 22px; color: var(--graphite); display: grid; gap: 7px; }
.legal-body a { color: var(--emerald); text-decoration: underline; }
.legal-body .updated { color: var(--graphite); font-size: .9rem; font-style: italic; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; margin-bottom: 10px; font-size: .9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-services, .steps, .price-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-badge { position: static; margin-top: 20px; max-width: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    background: var(--umbra); flex-direction: column; align-items: flex-start;
    padding: 100px 34px 40px; gap: 22px; transform: translateX(105%);
    transition: transform .4s var(--ease); box-shadow: -20px 0 60px -30px rgba(0,0,0,.9);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
  .burger { display: flex; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-stats { gap: 28px; }
  .grid-services, .steps, .price-grid, .testi-grid, .footer-top { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .field.row { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .trust-inner { justify-content: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
