/* Mailbakers – sdílený styl landing pages (recepty.mailbakers.com), v2 2026-10 */
:root {
  --purple: #8D70FF;
  --purple-dark: #6f52e6;
  --purple-soft: #EFEAFF;
  --ink: #1E1E1F;
  --text: #3b3a40;
  --muted: #74727a;
  --bg: #FAF8F5;
  --cream: #F3EFEA;
  --white: #ffffff;
  --line: #E7E2DC;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(30,30,31,.04), 0 12px 40px -12px rgba(30,30,31,.14);
  --shadow-purple: 0 20px 50px -18px rgba(141,112,255,.55);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--purple-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Typografie */
h1, h2, h3 { font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(40px, 5.6vw, 66px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 21px; letter-spacing: -.01em; line-height: 1.25; }
.hl { color: var(--purple); }
.mark { background: linear-gradient(transparent 62%, rgba(141,112,255,.28) 62%); }
.lead { font-size: 19px; color: var(--text); max-width: 600px; margin: 0 0 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; padding: 7px 14px 7px 8px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow); }
.pill b { background: var(--purple); color: #fff; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.kicker { display: block; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--purple-dark); margin-bottom: 12px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hlavička */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250,248,245,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.logo img { height: 26px; width: auto; }
.top-right { display: flex; align-items: center; gap: 22px; }
.top-link { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.top-link:hover { color: var(--purple-dark); }

/* Tlačítka */
.btn { appearance: none; border: 0; background: var(--purple); color: #fff; font: 800 17px/1 "Manrope", sans-serif; padding: 19px 26px; border-radius: 14px; cursor: pointer; text-decoration: none; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: var(--shadow-purple); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn--sm { padding: 12px 18px; font-size: 15px; border-radius: 12px; box-shadow: none; }
.btn--ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn--ghost:hover { background: var(--purple-soft); }
.btn--dark { background: var(--ink); box-shadow: none; }
.btn--dark:hover { background: #000; }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -300px; background: radial-gradient(circle, rgba(141,112,255,.30), rgba(141,112,255,0) 65%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -260px; bottom: -280px; background: radial-gradient(circle, rgba(141,112,255,.16), rgba(141,112,255,0) 65%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 36px; position: relative; color: var(--text); }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f52e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--white); box-shadow: var(--shadow); }
.byline p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.byline b { color: var(--ink); display: block; }

.hero-cta { display: none; margin-top: 28px; width: 100%; }

/* Formulářová karta */
.form-card { position: relative; background: var(--white); border-radius: 28px; padding: 30px; box-shadow: 0 1px 2px rgba(30,30,31,.05), 0 30px 80px -24px rgba(30,30,31,.28); border: 1px solid var(--line); }
.form-card .preview { margin: -6px -6px 22px; border-radius: 18px; overflow: hidden; aspect-ratio: 16/8.6; background: var(--cream); position: relative; }
.form-card .preview img { width: 100%; height: 100%; object-fit: cover; }
.form-card .preview .badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.form-card .preview--brand { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 70% 20%, #3a2f63, var(--ink) 60%); }
.form-card .preview--brand img { width: 58%; height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.form-card h3 { font-size: 24px; margin-bottom: 4px; }
.form-card p.small { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.lm-form { display: grid; gap: 12px; }
.lm-form .row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.lm-form label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; color: var(--text); }
.lm-form input[type=email], .lm-form input[type=text] { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fcfbfa; transition: border-color .15s, box-shadow .15s, background .15s; }
.lm-form input:focus { outline: none; border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(141,112,255,.18); }
.lm-form .btn { width: 100%; margin-top: 4px; }
.assure { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; font-size: 13px; color: var(--muted); font-weight: 600; margin: 2px 0 0; padding: 0; list-style: none; }
.assure li::before { content: "✓ "; color: var(--purple-dark); font-weight: 800; }
.consent { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 4px 0 0; text-align: center; }
.consent a { color: var(--muted); }
.form-error { color: #c0392b; font-size: 14px; font-weight: 700; display: none; margin: 0; }
.hp { position: absolute; left: -9999px; }
.thanks { display: none; text-align: center; padding: 8px 0; }
.thanks.show { display: block; }
.thanks .big { font-size: 46px; line-height: 1; margin-bottom: 8px; }
.lm-form.hide { display: none; }
.thanks .btn { width: 100%; margin-top: 10px; }

/* Pruh log */
.logos { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.logos p { text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 36px; }
.logo-row img { height: 34px; width: auto; max-width: 128px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .62; transition: opacity .2s, filter .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
.logo-row img.tall { height: 46px; }
.logo-row img.mono { filter: brightness(0); opacity: .5; }
.logo-row img.mono:hover { opacity: .9; }
.logo-row img.short { height: 22px; }

/* Sekce */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Čísla */
.stats-band { padding: 72px 0; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.stat b { display: block; font-size: clamp(34px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--purple); margin-bottom: 10px; }
.stat span { display: block; font-size: 15px; line-height: 1.4; color: var(--text); font-weight: 600; }
.stat--dark { background: var(--ink); border-color: var(--ink); }
.stat--dark b { color: #fff; }
.stat--dark span { color: #cfc8ff; }
.source { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Video + citát */
.video-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: center; }
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 70px -28px rgba(30,30,31,.5); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid h2 { font-size: clamp(26px, 2.6vw, 34px); }
.quote { margin: 0; }
.quote .q { font-size: 64px; line-height: .6; color: var(--purple); font-weight: 800; display: block; height: 30px; }
.quote blockquote { margin: 0 0 20px; font-size: 21px; line-height: 1.45; font-weight: 700; letter-spacing: -.01em; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); font-size: 16px; }

/* Obsah studie */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(30,30,31,.04), 0 24px 50px -16px rgba(30,30,31,.22); }
.feature .shot { height: 240px; background: var(--cream); overflow: hidden; border-bottom: 1px solid var(--line); }
.feature .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.feature .body { padding: 24px 24px 26px; }
.feature .num { display: inline-block; font-size: 13px; font-weight: 800; color: var(--purple-dark); background: var(--purple-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.feature p { margin: 0; color: var(--text); font-size: 16px; }
.icon { width: 52px; height: 52px; border-radius: 16px; background: var(--purple-soft); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--text); }

/* Pruh CTA */
.cta-band { padding: 0; }
.cta-band .inner { background: var(--ink); color: #fff; border-radius: 32px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.cta-band .inner::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(141,112,255,.55), rgba(141,112,255,0) 65%); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin: 0; color: #cfc8ff; font-size: 17px; }
.cta-band .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* O nás */
.about-me { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.about-me .me { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; border-radius: 28px; box-shadow: 0 30px 70px -28px rgba(30,30,31,.45); }
.about-me .role { font-size: 18px; color: var(--muted); margin: -4px 0 22px; font-weight: 600; }
.about-me .contact { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.team-title { margin: 80px 0 26px; text-align: center; }
.team { display: grid; grid-template-columns: repeat(9, 1fr); gap: 16px; text-align: center; }
.team img { width: 100%; max-width: 96px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 3px solid var(--white); box-shadow: var(--shadow); }
.team b { display: block; font-size: 14.5px; }
.team span { font-size: 12.5px; color: var(--muted); }
.tools { margin-top: 64px; text-align: center; }
.tools p { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.tools .logo-row img { height: 28px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 17.5px; padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 600; color: var(--purple); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text); }

/* Závěr */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 40%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(141,112,255,.20), rgba(141,112,255,0) 62%); pointer-events: none; }
.final .wrap { position: relative; }
.final .form-card { max-width: 540px; margin: 0 auto; text-align: left; }

footer { padding: 36px 0 110px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }

/* Lepivá výzva na mobilu */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 16px 40px -10px rgba(30,30,31,.45); }

/* Animace při scrollu */
.reveal { opacity: 0; transform: translateY(18px); 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; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .hero .wrap, .grid-2, .video-grid, .about-me { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 28px 0 56px; }
  .hero .wrap { gap: 36px; }
  section { padding: 68px 0; }
  .about-me { gap: 32px; }
  .about-me .me { max-width: 320px; }
  .team { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .cta-band .btn { width: 100%; }
  .top-link { display: none; }
  .hero-cta { display: flex; }
}
@media (max-width: 760px) {
  .sticky-cta.show { display: block; }
  .logo-row { gap: 18px 30px; }
  .logo-row img { height: 26px; max-width: 110px; }
  .logo-row img.tall { height: 36px; }
  .logo-row img.short { height: 17px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .lead { font-size: 17.5px; }
  .form-card { padding: 22px; border-radius: 24px; }
  .lm-form .row2 { grid-template-columns: 1fr; }
  .grid-4 { gap: 12px; }
  .stat { padding: 20px 18px; }
  .feature .shot { height: 200px; }
  .top .btn--sm { padding: 10px 14px; font-size: 14px; }
}

/* Lišta souhlasu s cookies (assets/analytics.js) */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin-left: auto; display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--text); }
.consent-bar p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-actions button { font: inherit; font-weight: 700; border-radius: 999px; padding: 9px 16px; cursor: pointer; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.consent-actions .consent-yes { background: var(--purple); border-color: var(--purple); color: #fff; }
@media (max-width: 560px) { .consent-bar { flex-direction: column; align-items: stretch; } .consent-actions button { flex: 1; } }
