/* ===== Brand proměnné (skutečné tokeny loveofraw.cz – Avada) ===== */
:root {
  --coral: #e96656;          /* button_gradient / accent */
  --coral-dk: #d6503f;
  --coral-soft: #ed6c6c;
  --green: #11af4b;          /* primary_color */
  --green-dk: #0e9842;
  --cream: #fef6e9;
  --cream-2: #f3efe8;
  --ink: #343434;            /* body_typography-color */
  --ink-soft: #6f6f6f;
  --heading: #333333;        /* h2_typography-color */
  --heading-warm: #5b4949;   /* h1_typography-color */
  --line: #e7e0d6;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(52, 52, 52, 0.08);
  --shadow-sm: 0 4px 18px rgba(52, 52, 52, 0.07);

  /* loveofraw.cz používá Josefin Sans pro nadpisy i text */
  --font-head: "Josefin Sans", Arial, Helvetica, sans-serif;
  --font-body: "Josefin Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 720px; }

.accent { color: var(--coral); }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 84px 0 120px;
  overflow: hidden;
  text-align: center;
}
.hero__logo {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 20px;
}
.hero__kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--coral);
  background: rgba(233, 102, 86, 0.1);
  padding: 7px 18px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--heading-warm);
  font-size: clamp(2.2rem, 6.2vw, 3.9rem);
  line-height: 1.1;
  margin: 0 auto 24px;
  max-width: 15ch;
}
.hero__lead {
  max-width: 60ch;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--ink-soft);
}
.hero__cta {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 36px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(233, 102, 86, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.hero__cta:hover {
  transform: translateY(-2px);
  background: var(--coral-dk);
  box-shadow: 0 14px 30px rgba(233, 102, 86, 0.4);
}
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ===== Sekce ===== */
.section { padding: 76px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--white); }
.section--close {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  text-align: center;
  padding: 90px 0;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--coral);
  margin: 0 0 10px;
}
.eyebrow--light { color: var(--coral-soft); }

.section__title {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--heading);
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  line-height: 1.18;
  margin: 0 0 12px;
}
.section__title--light { color: var(--white); }
.section__sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 40px;
}
.section--ink .section__sub { color: rgba(255,255,255,0.75); }

.assumption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.85;
  margin-top: 26px;
  font-style: italic;
}

/* ===== KALKULAČKA ===== */
.calc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.calc__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.calc__weight {
  display: flex;
  align-items: center;
  gap: 22px;
}
.calc__weight input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--cream-2) 100%);
  outline: none;
}
.calc__weight input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(233,102,86,0.4);
  cursor: pointer;
}
.calc__weight input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral);
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(233,102,86,0.4);
  cursor: pointer;
}
.calc__weightval {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--coral);
  min-width: 92px;
  text-align: right;
}
.calc__note { font-size: 0.85rem; color: var(--ink-soft); margin: 12px 0 0; }

.calc__results {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  margin-top: 34px;
}
.vs {
  align-self: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.result {
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  border: 2px solid var(--line);
}
.result--win { border-color: var(--green); background: #edf9f1; }
.result--lose { border-color: var(--coral); background: #fdf3f1; }
.result__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.result__icon { font-size: 1.5rem; }
.result__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  margin: 0;
  flex: 1 1 auto;
}
.badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--win { background: var(--green); color: var(--white); }
.badge--lose { background: var(--coral); color: var(--white); }

.result__stats {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.result__stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.result__stats .big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}
.result--win .big { color: var(--green-dk); }
.result--lose .big { color: var(--coral-dk); }
.result__stats .lbl { font-size: 0.78rem; color: var(--ink-soft); }
.result__plus, .result__minus { font-size: 0.86rem; margin: 0; }
.result__plus { color: var(--green-dk); }
.result__minus { color: var(--coral-dk); }

/* ===== HRST vs LŽÍCE ===== */
.handful {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.handful__side {
  flex: 1 1 280px;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
}
.handful__visual {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.handful__pills { align-content: center; gap: 10px 12px; }
.spoon { font-size: 5rem; line-height: 1; }
.pill {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 5px rgba(50, 55, 60, 0.18));
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.handful__caption { font-size: 1rem; color: var(--ink-soft); margin: 0; }
.handful__caption strong { color: var(--ink); font-size: 1.15rem; font-family: var(--font-head); }
.handful__equals {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--coral);
}

/* ===== TABULKA ===== */
.table-wrap { overflow-x: auto; }
table.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}
table.cmp th, table.cmp td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.cmp thead th {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  vertical-align: bottom;
}
table.cmp tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
table.cmp .col-win {
  background: #edf9f1;
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}
table.cmp thead .col-win { border-top: 2px solid var(--green); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
table.cmp tbody tr:last-child .col-win { border-bottom: 2px solid var(--green); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.col-win .prodname { color: var(--green-dk); }
.tag-win {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 6px;
}
.cell-yes { color: var(--green-dk); font-weight: 700; }
.cell-no { color: var(--coral); font-weight: 700; }
.prodname { font-family: var(--font-head); }

/* ===== GRAF ===== */
.chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  min-height: 320px;
  padding-top: 20px;
}
.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 130px;
}
.bar__val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.bar__fill {
  width: 100%;
  border-radius: 14px 14px 0 0;
  transition: height 0.5s cubic-bezier(0.16,1,0.3,1);
  min-height: 8px;
}
.bar--win .bar__fill { background: linear-gradient(180deg, var(--green) 0%, var(--green-dk) 100%); }
.bar--win .bar__val { color: var(--green-dk); }
.bar--lose .bar__fill { background: linear-gradient(180deg, var(--coral-soft) 0%, var(--coral-dk) 100%); }
.bar--lose .bar__val { color: var(--coral-dk); }
.bar__label {
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}
.bar__label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.82rem; }
.chart__delta {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 28px;
}
.chart__delta strong { color: var(--coral); font-family: var(--font-head); font-size: 1.3rem; }

/* ===== KARTY ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
}
.card__icon { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ===== FÉROVÝ REALITY CHECK ===== */
.fair {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.fair__col {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px;
}
.fair__col--accent { border-color: var(--coral); background: rgba(233,102,86,0.12); }
.fair__col h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 14px;
  color: var(--white);
}
.fair__col p, .fair__col li { color: rgba(255,255,255,0.82); }
.fair__col ul { margin: 0 0 14px; padding-left: 20px; }
.fair__col li { margin-bottom: 6px; }
.fair__punch { font-weight: 600; color: var(--white) !important; }

/* ===== ZÁVĚR ===== */
.close__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0 0 8px;
  color: var(--ink-soft);
}
.close__big {
  font-family: var(--font-head);
  font-weight: 300;
  color: var(--heading);
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  line-height: 1.14;
  margin: 0 0 22px;
}
.close__sub { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  font-size: 0.85rem;
}
.footer p { margin: 0 0 10px; max-width: 70ch; }
.footer__brand { margin-top: 6px; }
.footer__logo { width: 150px; height: auto; filter: brightness(0) invert(1); opacity: 0.75; }

/* ===== RESPONSIVITA ===== */
@media (max-width: 720px) {
  .calc { padding: 24px; }
  .calc__results { grid-template-columns: 1fr; }
  .vs { justify-self: center; }
  .fair { grid-template-columns: 1fr; }
  .handful__side { flex-basis: 100%; }
  .chart { gap: 28px; }
  .bar { width: 110px; }
  .result__stats { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 420px) {
  .pill { width: 26px; height: 26px; }
  .spoon { font-size: 4rem; }
}
