/* ============================================================
   Covaříme – prezentační web (FrontModule)
   Deep green + cream + tomato · Fraunces (display) + Manrope
   ============================================================ */

:root {
    --green-950: #0B241B;
    --green-900: #123B2B;
    --green-700: #1E5C40;
    --green-100: #DCE9DC;
    --cream: #F7F2E8;
    --cream-2: #EFE7D6;
    --white: #FFFFFF;
    --ink: #17251E;
    --muted: #5E6E64;
    --tomato: #E8543F;
    --tomato-dark: #C74331;
    --yellow: #F4C84B;
    --radius-l: 26px;
    --radius-m: 18px;
    --shadow-soft: 0 2px 6px rgba(18, 59, 43, .06), 0 18px 50px -18px rgba(18, 59, 43, .18);
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 242, 232, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(18, 59, 43, .08);
}
.site-header .wrap {
    display: flex; align-items: center; gap: 28px;
    height: 72px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.55rem; font-weight: 600;
    text-decoration: none; color: var(--ink);
    letter-spacing: -.02em;
}
.logo em { font-style: italic; color: var(--tomato); }
.site-nav { display: flex; gap: 26px; margin-left: 12px; }
.site-nav a {
    text-decoration: none; color: var(--muted);
    font-size: .95rem; font-weight: 600;
}
.site-nav a:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: none; cursor: pointer; text-decoration: none;
    font-family: var(--font-body); font-weight: 700;
    border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-size: .95rem; padding: 12px 22px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: var(--tomato); color: #fff;
    box-shadow: 0 10px 24px -10px rgba(232, 84, 63, .55);
}
.btn-primary:hover { background: var(--tomato-dark); transform: translateY(-1px); }
.btn-ghost {
    background: transparent; color: var(--ink);
    box-shadow: inset 0 0 0 1.5px rgba(23, 37, 30, .18);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(23, 37, 30, .4); transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--green-900); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-big { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 60px; }
.hero-blob {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero-blob.b1 { width: 480px; height: 480px; background: var(--green-100); top: -160px; right: -120px; }
.hero-blob.b2 { width: 360px; height: 360px; background: #FBE3B9; bottom: -140px; left: -140px; }
.hero .wrap {
    position: relative;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid rgba(18,59,43,.1); border-radius: 999px;
    padding: 7px 14px; font-size: .82rem; font-weight: 700; color: var(--green-700);
    box-shadow: var(--shadow-soft); margin-bottom: 22px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.2vw, 4.1rem);
    line-height: 1.04; letter-spacing: -.025em;
    margin: 0 0 20px; font-weight: 600;
}
.hero h1 .q { font-style: italic; color: var(--tomato); position: relative; white-space: nowrap; }
.hero h1 .q::after {
    content: ''; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .14em;
    background: var(--yellow); z-index: -1; border-radius: 3px; transform: rotate(-1deg);
}
.hero-sub {
    font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 30px;
}
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.hero-points li { font-size: .88rem; font-weight: 600; color: var(--muted); }

/* ---------- hero mockup ---------- */
.mockup { position: relative; min-height: 515px; }
.mock-card {
    background: var(--white); border-radius: var(--radius-l);
    box-shadow: var(--shadow-soft); border: 1px solid rgba(18,59,43,.07);
    padding: 22px; position: absolute; width: min(360px, 88%);
}
.mock-plan { top: 0; left: 0; z-index: 2; transform: rotate(-1.6deg); }
.mock-shop { bottom: 0; right: 0; transform: rotate(2deg); }
.mock-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.mock-title { font-weight: 800; font-size: .95rem; }
.mock-badge {
    font-size: .72rem; font-weight: 700; color: var(--green-700);
    background: var(--green-100); border-radius: 999px; padding: 3px 10px;
}
.mock-row {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px; border-radius: 12px; font-size: .88rem;
}
.mock-row + .mock-row { margin-top: 6px; }
.mock-row .day { font-weight: 800; width: 30px; color: var(--muted); font-size: .78rem; }
.mock-meal {
    background: var(--cream); border-radius: 9px; padding: 5px 11px;
    font-weight: 600; font-size: .84rem;
}
.mock-meal.hl { background: #FDE7E2; color: var(--tomato-dark); }
.mock-cont { color: var(--muted); font-style: italic; font-size: .82rem; }
.mock-check { display: flex; align-items: center; gap: 10px; padding: 8px 10px; font-size: .88rem; }
.mock-check + .mock-check { border-top: 1px dashed rgba(18,59,43,.1); }
.mock-check .box {
    width: 20px; height: 20px; border-radius: 7px; flex-shrink: 0;
    border: 2px solid rgba(18,59,43,.25);
}
.mock-check.done .box {
    background: var(--green-700); border-color: var(--green-700);
    position: relative;
}
.mock-check.done .box::after {
    content: '✓'; color: #fff; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800;
}
.mock-check.done .name { text-decoration: line-through; color: var(--muted); }
.mock-check .amount { margin-left: auto; font-weight: 800; color: var(--tomato-dark); font-size: .8rem; }
.mock-sticker {
    position: absolute; top: 46%; right: 4%; z-index: 3;
    background: var(--yellow); color: var(--green-950);
    font-weight: 800; font-size: .8rem; border-radius: 999px; padding: 9px 16px;
    transform: rotate(-6deg); box-shadow: var(--shadow-soft);
}

/* ---------- ticker ---------- */
.ticker {
    background: var(--green-900); color: var(--cream);
    overflow: hidden; padding: 13px 0; margin-top: 30px;
}
.ticker-track {
    display: flex; gap: 44px; white-space: nowrap; width: max-content;
    animation: ticker 36s linear infinite;
    font-weight: 700; font-size: .92rem;
}
.ticker-track span { opacity: .9; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- section base ---------- */
.section { padding: 84px 0 20px; }
.section-eyebrow {
    font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--tomato); margin: 0 0 10px;
}
.section h2 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.02em;
    margin: 0 0 14px; line-height: 1.1;
}
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 42px; font-size: 1.05rem; }

/* ---------- features ---------- */
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feature-card {
    background: var(--white); border-radius: var(--radius-l);
    border: 1px solid rgba(18,59,43,.07); box-shadow: var(--shadow-soft);
    padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 16px;
}
.fi-green { background: var(--green-100); }
.fi-peach { background: #FDE7E2; }
.fi-yellow { background: #FBEFC9; }
.fi-cream { background: var(--cream-2); }
.feature-card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
    position: relative; background: var(--white); border-radius: var(--radius-l);
    border: 1px solid rgba(18,59,43,.07); box-shadow: var(--shadow-soft);
    padding: 30px 26px 26px;
}
.step-num {
    font-family: var(--font-display); font-style: italic; font-weight: 600;
    font-size: 3rem; line-height: 1; color: var(--green-100);
    position: absolute; top: 18px; right: 22px;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 800; position: relative; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; position: relative; }

/* ---------- quote ---------- */
.quote {
    margin: 84px 0 0; text-align: center;
}
.quote blockquote {
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; letter-spacing: -.01em;
    margin: 0 auto; max-width: 34ch; color: var(--green-900);
}
.quote figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { margin: 90px 0 0; padding: 0 24px; }
.cta-inner {
    max-width: 1120px; margin: 0 auto;
    background: var(--green-900);
    border-radius: 34px; padding: 64px 32px; text-align: center;
    position: relative; overflow: hidden;
}
.cta-inner::before {
    content: '🍲'; position: absolute; font-size: 9rem; opacity: .1;
    left: -20px; bottom: -40px; transform: rotate(-14deg);
}
.cta-inner::after {
    content: '🥕'; position: absolute; font-size: 8rem; opacity: .1;
    right: -14px; top: -30px; transform: rotate(16deg);
}
.cta-inner h2 {
    font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em;
    color: var(--cream); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0 0 12px;
    position: relative; z-index: 1;
}
.cta-inner p { color: rgba(247,242,232,.75); margin: 0 0 30px; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.site-footer {
    margin-top: 40px; padding: 34px 0 44px;
    color: var(--muted); font-size: .88rem;
}
.site-footer .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-footer .logo { font-size: 1.15rem; }
.site-footer .domain { margin-left: auto; font-weight: 700; color: var(--green-700); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
    .mockup { min-height: 430px; max-width: 480px; margin: 0 auto; width: 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .site-nav { display: none; }
}
@media (max-width: 560px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 56px; }
    .hero h1 { font-size: 2.4rem; }
    .header-actions .btn-ghost { display: none; }
    .mock-card { position: relative; width: 100%; }
    .mock-plan, .mock-shop { transform: none; inset: auto; }
    .mock-shop { margin-top: 14px; }
    .mock-sticker { display: none; }
    .mockup { min-height: 0; }
}
