/* Podklady — Moderník brand */
:root {
  --navy: #111827;
  --navy-mid: #1e293b;
  --navy-dark: #0b1120;
  --navy-deep: #0b1120;
  --gold: #c9a64a;
  --gold-light: #d4b76a;
  --gold-dark: #a8872a;
  --bg: #0b1524;
  --bg2: #102038;
  --surface: #ffffff;
  --text: #f5f0e6;
  --muted: rgba(245, 240, 230, 0.72);
  --line: rgba(201, 166, 74, 0.28);
  --line-soft: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --s16: 1rem;
  --s20: 1.25rem;
  --s24: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 20, 34, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-light);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.brand-lockup img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-link:hover { color: var(--gold-light); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(201, 166, 74, 0.28);
}
.btn-primary:hover { color: var(--navy-dark); }
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--gold-light);
}
.btn-secondary:hover {
  background: rgba(201, 166, 74, 0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn-block { width: 100%; }

.brief-section--alt { background: rgba(255,255,255,0.02) !important; }
.brief-h2 { color: var(--gold-light) !important; }
.brief-intro { color: var(--muted) !important; }
.brief-section { color: var(--text); }
.brief-hero {
  background: linear-gradient(135deg, #081422 0%, #172c49 100%) !important;
  border-bottom: 1px solid var(--line-soft);
}
.brief-card {
  background: #fff !important;
  color: #0f1f35;
  border-color: rgba(15,31,53,0.08) !important;
}

.brief-example,
.brief-popis,
.brief-doplnkove {
  max-width: 920px;
  margin: 0 auto;
}

.brief-example__block h3,
.brief-popis h3 {
  color: #0f1f35 !important;
}

.brief-example__block p,
.brief-popis p,
.brief-doplnkove ul,
.brief-doplnkove li {
  color: #334155 !important;
}

.brief-example__block a,
.brief-popis a,
.brief-doplnkove a {
  color: #8a6d1f !important;
  text-decoration: underline;
}

.brief-popis__btn-row {
  margin: 0.85rem 0 1.25rem;
}

.brief-doplnkove__item-with-btn .brief-doplnkove__linkbtn {
  background: rgba(15, 31, 53, 0.04) !important;
  border-color: rgba(15, 31, 53, 0.16) !important;
  color: #0f1f35 !important;
}
.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.82rem;
}
.site-footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.82rem;
}
.site-footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.thanks-card {
  background: rgba(15, 31, 53, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.thanks-card h1 { color: var(--gold-light) !important; }
.thanks-card p { color: var(--muted) !important; }
.thanks-meta a { color: var(--gold-light) !important; }


.brief-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-captcha,
.lp-form-captcha {
  margin: 1rem 0 1.25rem;
}

.form-captcha-note,
.lp-form-captcha__note {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.form-captcha-wrap,
.lp-form-captcha__wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.form-captcha-img-wrap,
.lp-form-captcha__img-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.form-captcha-img,
.lp-form-captcha__img,
.brief-form__captcha-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

@media (min-width: 640px) {
  .form-captcha-img,
  .lp-form-captcha__img,
  .brief-form__captcha-img {
    width: 120px;
    height: 120px;
  }
}

.form-captcha-refresh,
.lp-form-captcha__refresh {
  font: inherit;
  font-size: 0.8rem;
  padding: 0.2rem 0;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-captcha-refresh:hover,
.lp-form-captcha__refresh:hover { color: var(--navy); }

.form-captcha-input,
.lp-form-captcha__input,
.brief-form__captcha-input {
  width: 5rem !important;
  padding: 0.75rem !important;
  font-size: 1.25rem !important;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.contact-form.is-locked input,
.contact-form.is-locked textarea,
.contact-form.is-locked select,
.contact-form.is-locked button,
.brief-form.is-locked input,
.brief-form.is-locked textarea,
.brief-form.is-locked select,
.brief-form.is-locked button {
  opacity: 0.55;
  pointer-events: none;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}

.brief-klient {
  padding-bottom: 3rem;
}

.brief-hero {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
}

.brief-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}

.brief-lead,
.brief-hero__goal {
  color: rgba(255,255,255,0.88);
  max-width: 40rem;
  line-height: 1.55;
}

.brief-hero__goal { margin: 0.85rem 0 1.15rem; }

.brief-hero__toc {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 40rem;
}

.brief-hero__toc a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: none;
}

.brief-hero__toc a:hover { text-decoration: underline; }

.brief-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brief-section {
  padding: 2.75rem 0;
}

.brief-section--alt {
  background: var(--bg);
}

.brief-h2 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  color: var(--navy-dark);
  text-align: center;
}

.brief-intro {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}

.brief-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 20px rgba(15,31,53,0.06);
}

.brief-submit {
  width: 100%;
  max-width: 400px;
}

.thanks-page {
  padding: 4rem 0;
  min-height: 50vh;
}

.thanks-card {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.thanks-card h1 { margin: 0 0 0.75rem; color: var(--navy-dark); }
.thanks-card p { color: var(--muted); }
.thanks-meta { margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.thanks-meta a { color: var(--navy); font-weight: 600; }


.brief-klient .brief-card{
  max-width: 920px;
  margin: 0 auto;
}
.brief-form__row{
  margin-bottom: 1.25rem;
}
.brief-form__row > label:first-child{
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.brief-form__row input[type="text"],
.brief-form__row input[type="email"],
.brief-form__row textarea{
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(11,42,60,.18);
  background: #fff;
  color: #1a2332;
  line-height: 1.5;
}
.brief-form__row textarea{
  resize: vertical;
  min-height: 120px;
}
.brief-form__row textarea.brief-form__textarea--tall{ min-height: 160px; }
.brief-form__row textarea.brief-form__textarea--xlarge{ min-height: 240px; }
.brief-form__fieldset{
  border: 1px solid rgba(11,42,60,.12);
  border-radius: var(--radius);
  padding: 1rem var(--s20);
  margin: 0 0 1.25rem;
}
.brief-form__fieldset legend{
  font-weight: 700;
  color: var(--navy);
  padding: 0 8px;
}
.brief-form__fieldset-intro{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a5568;
}
.brief-form__row-hint{
  margin: -4px 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #718096;
  font-weight: 400;
}
.brief-form__radios{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.brief-form__radios label{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #1a2332;
  cursor: pointer;
}
.brief-form__radios input[type="radio"],
.brief-form__checks input[type="checkbox"]{
  margin-top: 0.2em;
  flex-shrink: 0;
  /* Globální CSS má input { width:100% } — u radio/checkbox to rozhází layout */
  width: auto !important;
  max-width: none;
  min-width: 1.1em;
  min-height: 1.1em;
  accent-color: var(--navy);
}
.brief-form__checks{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.brief-form__checks label{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #1a2332;
  cursor: pointer;
}
.brief-form__checks label a{ word-break: break-word; }
.brief-form__checks input:disabled{ cursor: not-allowed; opacity: 0.55; }
.brief-form__hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.brief-example{
  max-width: 920px;
  margin: 0 auto;
  padding: 1.25rem;
  background: rgba(11,42,60,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(11,42,60,.1);
  font-size: 15px;
  line-height: 1.65;
  color: #1a2332;
  word-break: break-word;
}
.brief-example__block{
  padding-bottom: var(--s20);
  margin-bottom: var(--s20);
  border-bottom: 1px solid rgba(11,42,60,.1);
}
.brief-example__block:last-child{
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.brief-example__block h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.brief-example__block p{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
}
.brief-hero .container{
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.brief-hero .brief-lead{
  max-width: none;
}
.brief-hero__goal{
  margin: 0 0 var(--s20);
  font-size: 17px;
  line-height: 1.55;
  color: rgba(234,242,246,.92);
  max-width: none;
}
@media (max-width: 900px){
  .brief-hero .container{ text-align: left; }
  .brief-hero .brief-lead{ margin-left: 0; margin-right: 0; }
  .brief-hero-actions{ justify-content: flex-start; flex-wrap: wrap; }
}
.brief-hero__toc{
  margin: 1rem 0 1.25rem;
  padding-left: 1.25em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.brief-hero__toc a{
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brief-hero__toc a:hover{ color: #fff; }
.brief-popis h3{
  margin: var(--s28) 0 var(--s12);
  font-size: 18px;
  color: var(--navy);
}
.brief-popis h3:first-child{ margin-top: 0; }
.brief-popis p{
  margin: 0 0 0.85em;
  font-size: 15px;
  line-height: 1.6;
  color: #4a5568;
}
.brief-popis__btn-row{
  margin: 6px 0 1rem;
}
.brief-popis__btn-row .btn{
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.brief-doplnkove ul{
  margin: 0;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5568;
}
.brief-doplnkove li{ margin-bottom: 0.65em; }
.brief-doplnkove__item-with-btn .brief-doplnkove__linkbtn{
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 6px;
  border: 1px solid rgba(11,42,60,.16);
  background: rgba(11,42,60,.04);
  color: var(--navy);
  text-decoration: none;
  box-shadow: none;
  transition: background .15s ease, border-color .15s ease;
}
.brief-doplnkove__item-with-btn .brief-doplnkove__linkbtn:hover{
  background: rgba(11,42,60,.07);
  border-color: rgba(11,42,60,.22);
  color: var(--navy);
}
.brief-doplnkove__home-row{
  margin-top: 1.5rem;
}
.brief-form__uschovna-btn,
.brief-form__colorhunt-row{
  margin: 0 0 14px;
}
.brief-form__uschovna-btn .btn,
.brief-form__colorhunt-row .btn{
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
/* Podklady pro web: větší CAPTCHA obrázek než na LP */
.brief-klient .brief-form__captcha-img{
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
}
@media (min-width: 640px){
  .brief-klient .brief-form__captcha-img{
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
  }
}
.brief-klient .brief-form__captcha-input{
  width: 96px;
  font-size: 22px;
}
.brief-form.is-locked .brief-form__row input,
.brief-form.is-locked .brief-form__row textarea,
.brief-form.is-locked fieldset,
.brief-form.is-locked .lp-form-captcha__input,
.brief-form.is-locked .lp-form-captcha__refresh,
.brief-form.is-locked button[type="submit"]{
  opacity: 0.6;
  pointer-events: none;
}

