/* =========================================================
   Yummuno — prodejní web v1
   Brand styly. Barvy a fonty pochazi z brand-brief.md.
   Vse, co se da menit (barvy), je nahore jako CSS promenne.
   ========================================================= */

:root {
  /* Barevna paleta (podklady/brand-brief.md) */
  --sage: #6B8E6F;        /* Primarni — salvejova zelen, zdravi, prirodni */
  --terracotta: #D98A5E;  /* Sekundarni / CTA — teplo, jidlo, chut */
  --honey: #E9B949;       /* Akcent — medova zluta */
  --cream: #FAF6EF;       /* Krémové pozadi */
  --charcoal: #33312E;    /* Text */
  --leaf-soft: #EBF1EA;   /* Jemne plochy / karty */

  /* Odvozene tony */
  --sage-dark: #557159;
  --sage-soft: rgba(107, 142, 111, 0.10);
  --terracotta-soft: rgba(217, 138, 94, 0.14);
  --honey-soft: rgba(233, 185, 73, 0.18);
  --charcoal-soft: rgba(51, 49, 46, 0.66);
  --card-bg: #FFFDF8;
  --line: rgba(51, 49, 46, 0.12);

  /* Fonty */
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(51, 49, 46, 0.10);
  --shadow-sm: 0 6px 18px rgba(51, 49, 46, 0.08);
}

/* ---------- Reset / zaklad ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.62;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.16;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1em; }

a { color: var(--sage-dark); }

strong { font-weight: 800; }

img, svg { max-width: 100%; }

/* ---------- Layout pomocnici ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }

.section--tint { background: var(--leaf-soft); }

.section__lead {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.section__lead p {
  color: var(--charcoal-soft);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}

.center { text-align: center; }

/* ---------- Tlacitka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

/* hlavni CTA = terakota */
.btn--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 22px rgba(217, 138, 94, 0.36);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 138, 94, 0.46);
}

.btn--sage {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 8px 22px rgba(107, 142, 111, 0.30);
}
.btn--sage:hover {
  transform: translateY(-2px);
  background: var(--sage-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--sage-dark);
  border: 2px solid var(--sage);
}
.btn--ghost:hover {
  background: var(--sage);
  color: #fff;
}

.btn--block { width: 100%; }
.btn--lg { padding: 17px 38px; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark { flex: 0 0 auto; }
.wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--sage-dark);
}
.wordmark .w-accent { color: var(--terracotta); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--charcoal);
  text-decoration: none;
}
.nav a:hover { color: var(--sage-dark); }
.nav__cta { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 85% -10%, var(--honey-soft), transparent 60%),
    radial-gradient(90% 70% at 0% 110%, var(--sage-soft), transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 76px 0 84px;
}
.hero__title { margin-bottom: 0.35em; }
.hero__title .accent { color: var(--terracotta); }
.hero__sub {
  font-size: 1.2rem;
  color: var(--charcoal-soft);
  max-width: 36ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__note {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--honey-soft);
  color: #8a6b1a;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Hero karta: ukazka "vyfot lednici" */
.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__card {
  background: var(--card-bg);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 24px;
  width: 100%;
  max-width: 360px;
}
.hero__card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--sage-dark);
  margin-bottom: 14px;
}
.hero__fridge {
  background: var(--leaf-soft);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.hero__chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: 700;
}
.hero__arrow {
  text-align: center;
  font-size: 1.3rem;
  color: var(--terracotta);
  margin: 2px 0 10px;
}
.hero__recipe {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--terracotta-soft);
  border-radius: 14px;
  padding: 12px 14px;
}
.hero__recipe-emoji { font-size: 1.6rem; flex: 0 0 auto; }
.hero__recipe-text { font-size: 0.95rem; line-height: 1.4; }
.hero__recipe-text b { color: var(--charcoal); }

/* ---------- Pas duvery ---------- */
.trust-strip { background: var(--sage); color: #fff; }
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  padding: 18px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.98rem;
}

/* ---------- Problem (seznam bolesti) ---------- */
.pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.pain {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  font-size: 1.04rem;
}
.pain b { color: var(--terracotta); }

/* ---------- Reseni / 3 kroky ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step__num {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.step__num::before { content: counter(step); }
.step__emoji { font-size: 1.4rem; }
.step h3 { margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--charcoal-soft); }

/* ---------- Co clen dostane (USP grid) ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.usp {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sage);
}
.usp:nth-child(2) { border-top-color: var(--terracotta); }
.usp:nth-child(3) { border-top-color: var(--honey); }
.usp__icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.usp h3 { margin-bottom: 0.35em; }
.usp p { margin: 0; color: var(--charcoal-soft); font-size: 1.02rem; }

/* ---------- Zakladajici clenstvi (nabidka Brana 1) ---------- */
.offer {
  background: var(--card-bg);
  border: 2px solid var(--terracotta);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 680px;
  margin: 0 auto;
  padding: 8px;
  overflow: hidden;
}
.offer__badge {
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.offer__body { padding: 30px 30px 34px; }
.offer__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 6px;
}
.offer__price {
  text-align: center;
  margin: 14px 0 6px;
}
.offer__price .now {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 1;
}
.offer__price .was {
  color: var(--charcoal-soft);
  text-decoration: line-through;
  font-size: 1.25rem;
  margin-left: 10px;
}
.offer__price-hint {
  text-align: center;
  color: var(--charcoal-soft);
  font-size: 0.96rem;
  margin-bottom: 20px;
}
.offer__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.offer__list li {
  position: relative;
  padding: 9px 0 9px 34px;
  border-bottom: 1px solid var(--line);
}
.offer__list li:last-child { border-bottom: none; }
.offer__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 24px; height: 24px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.offer__scarcity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--honey-soft);
  color: #8a6b1a;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 22px;
  text-align: center;
  font-size: 0.98rem;
}

/* ---------- Health disclaimer ---------- */
.disclaimer {
  background: var(--sage-soft);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: var(--charcoal-soft);
}
.disclaimer strong { color: var(--charcoal); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.12rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sage-dark);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--charcoal-soft); }
.faq-item__body p { margin: 0 0 0.8em; }
.faq-item__body p:last-child { margin: 0; }

/* ---------- Kitchen soft signal (volitelny dotaznik) ---------- */
.kitchen {
  background: var(--terracotta-soft);
  border-radius: var(--radius);
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 30px 34px;
  text-align: center;
}
.kitchen h3 { margin-bottom: 0.4em; }
.kitchen p { color: var(--charcoal-soft); max-width: 520px; margin: 0 auto 18px; }
.kitchen__form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.kitchen__form input {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
}
.kitchen__form input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px var(--terracotta-soft);
}
.kitchen__done {
  display: none;
  font-weight: 800;
  color: var(--sage-dark);
  margin-top: 6px;
}
.kitchen__done.is-visible { display: block; }
.kitchen__note { font-size: 0.86rem; color: var(--charcoal-soft); margin-top: 14px; }

/* ---------- Zaverecne CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.82);
  padding: 48px 0 30px;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; opacity: 0.85; }
.footer-links a:hover { opacity: 1; }
.footer-contact { font-size: 0.96rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Objednavka ---------- */
.order-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.order-main { flex: 1; padding: 56px 0 72px; }
.order-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--charcoal);
}
.field input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
}
.field__hint { font-size: 0.85rem; color: var(--charcoal-soft); margin-top: 5px; }
.field__error {
  color: #b3402a;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}
.field--invalid input { border-color: #b3402a; }
.field--invalid .field__error { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  color: var(--charcoal-soft);
}
.checkbox-row input { width: auto; margin-top: 3px; flex: 0 0 auto; }

.summary-card {
  position: sticky;
  top: 96px;
  background: var(--leaf-soft);
  border-radius: var(--radius);
  padding: 26px;
  border: 2px solid rgba(107,142,111,0.2);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid var(--sage);
}
.summary-total .amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--terracotta);
}

/* Platebni instrukce (zobrazi se po odeslani) */
.pay-instructions { display: none; }
.pay-instructions.is-visible { display: block; }
.order-block.is-hidden { display: none; }

.pay-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 6px;
}
.pay-table th,
.pay-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pay-table th {
  width: 42%;
  font-weight: 700;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}
.pay-table td { font-weight: 700; font-size: 1.05rem; }
.pay-table .mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.02em;
}

.placeholder {
  display: inline-block;
  background: var(--honey-soft);
  color: #8a6b1a;
  font-weight: 800;
  border: 1.5px dashed var(--honey);
  border-radius: 8px;
  padding: 2px 9px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92rem;
}

.notice {
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.96rem;
  margin: 20px 0;
}
.notice--amber {
  background: var(--honey-soft);
  color: #8a6b1a;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-weight: 800;
  font-family: var(--font-body);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Responsivita ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__sub { max-width: none; }
  .usp-grid,
  .steps { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 54px 0; }
  .nav { display: none; }
  .pain-list { grid-template-columns: 1fr; }
  .pay-table th { width: 38%; }
  .offer__price .now { font-size: 2.4rem; }
}

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