/* ==========================================================
   Analýzy profesí – sdílený styl pro stránky pod /analyza/
   Vychází z komponent, hlavičky a patičky stránky /thinktank.
   ========================================================== */

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #E8913A;
  --orange-btn: #C67A25;
  --magenta: #C4275D;
  --black: #1A1A1A;
  --light-bg: #F5F3EF;
  --white: #FFFFFF;
  --warm-gray: #6B6963;
  --gradient: linear-gradient(135deg, #E8913A, #C4275D);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26,26,26,0.08);
  --shadow-lg: 0 12px 48px rgba(26,26,26,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Kotvy (#objednat, #jak-vznikaji) se nesmí schovat pod lepivou hlavičku (80 px) */
[id] { scroll-margin-top: 96px; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1rem, 2vw, 1.15rem); }

.section-header { margin-bottom: 2.5rem; }

.section-subtitle {
  color: var(--warm-gray);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin-top: 0.75rem;
}

/* ========== BUTTONS & LINKS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--orange-btn);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(198,122,37,0.35);
}
.btn-primary:hover {
  background: #b06c1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198,122,37,0.45);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--orange-btn);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.arrow-link:hover {
  color: #b06c1f;
  border-color: #b06c1f;
}

.cta-wrap { margin-top: 1.75rem; }

.cta-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E8E5E0;
  height: 80px;
  display: flex;
  align-items: center;
}

.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo-wrap {
  display: flex;
  align-items: center;
  height: 58px;
  overflow: hidden;
}
.navbar-logo-wrap img { height: 92px; width: auto; }

.navbar-label {
  font-size: 0.875rem;
  color: var(--warm-gray);
  font-weight: 500;
}

/* ========== SECTIONS ========== */
section { padding: 96px 0; }
section.bg-light { background: var(--light-bg); }
section.bg-white { background: var(--white); }

/* ========== HERO ========== */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #FDF8F2 0%, #F5F3EF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232,145,58,0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(196,39,93,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  padding: 6px 16px;
  background: rgba(196,39,93,0.09);
  border-radius: 60px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--warm-gray);
  max-width: 700px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

/* Drobečková navigace (produktové stránky) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--orange-btn);
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #B5B0A8; }

/* Lišta důvěry (produktové stránky) */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-gray);
  margin: -1rem 0 2.25rem;
}
.trust-bar li { display: inline-flex; align-items: center; }
.trust-bar li + li::before {
  content: '·';
  margin: 0 10px;
  color: #B5B0A8;
}

/* ========== PROSE (textové sekce) ========== */
.prose { max-width: 760px; }

.prose p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.85;
}
.prose p + p { margin-top: 1.1rem; }
.prose strong { color: var(--black); }
.prose .arrow-link { margin-top: 1.5rem; }

.fineprint {
  margin-top: 4rem;
  font-size: 0.825rem;
  color: var(--warm-gray);
}

/* ========== KARTY ANALÝZ (hub) ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid #E8E5E0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-btn);
}

.product-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
  padding: 4px 12px;
  background: rgba(196,39,93,0.09);
  border-radius: 60px;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.65;
  flex-grow: 1;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E8E5E0;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-link {
  font-weight: 700;
  color: var(--orange-btn);
}

/* ========== VRSTVY ANALÝZY (hub) ========== */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.layer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  border: 1px solid #E8E5E0;
  border-left: 4px solid var(--orange);
}

.layer-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.65;
}
.layer-card strong { color: var(--black); }

/* ========== PRO KOHO JE ========== */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #E8E5E0;
}
.fit-card.fit-yes { border-left: 4px solid var(--orange); }
.fit-card.fit-no { border-left: 4px solid #C8C4BE; }

.fit-card p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.fit-card strong { color: var(--black); }

/* ========== CO V ANALÝZE NAJDETE ========== */
.contents-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  max-width: 980px;
}

.contents-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.65;
}

.contents-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ========== TŘI ROZHODNUTÍ (pro firmy) ========== */
.decisions {
  counter-reset: decision;
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.decisions li {
  counter-increment: decision;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #E8E5E0;
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.decisions li::before {
  content: counter(decision);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decisions strong { color: var(--black); }

.decisions-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--warm-gray);
}

/* ========== AUTOR ========== */
.author-box {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 820px;
  background: var(--white);
  border: 1px solid #E8E5E0;
  border-radius: var(--radius);
  padding: 28px 32px;
}

.author-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

.author-box p {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.75;
}
.author-box strong { color: var(--black); }

/* ========== OBJEDNAT ========== */
.order-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--orange-btn);
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(198,122,37,0.15);
  padding: 48px 40px;
}

.order-box h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 0.5rem;
}

.order-meta {
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.order-price {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 1.5rem;
}

.order-price-note {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 0.35rem;
}

.order-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin: 1.5rem auto 1.75rem;
  max-width: 460px;
}

/* Boxy s odkazy pod objednávkou */
.cross-box {
  max-width: 620px;
  margin: 2rem auto 0;
  background: var(--white);
  border: 1px solid #E8E5E0;
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.cross-box a {
  font-weight: 700;
  color: var(--orange-btn);
}
.cross-box a:hover { text-decoration: underline; }

.cross-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 2.5rem auto 0;
}
.cross-grid .cross-box { margin: 0; max-width: none; }

/* ========== ČASTÉ OTÁZKY ========== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-item {
  background: var(--white);
  border: 1px solid #E8E5E0;
  border-radius: var(--radius);
  padding: 24px 28px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.page-footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 56px 24px 32px;
  text-align: center;
}

.footer-logo {
  width: 280px;
  margin: 0 auto 32px;
}

.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-back:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.footer-linkedin {
  display: inline-flex;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-linkedin:hover { color: #0A66C2; }

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .product-grid,
  .layer-grid,
  .fit-grid,
  .contents-list,
  .cross-grid { grid-template-columns: 1fr; }
  .author-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .order-box { padding: 36px 24px; }
  .decisions li { padding: 18px 20px; }
  .trust-bar { font-size: 0.8rem; }
  .navbar-label { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 72px; }
  .btn { padding: 14px 28px; font-size: 1rem; }
}
