/* ============================================
   IVETA SMOLKOVÁ - LP DESIGN SYSTEM v2
   1:1 s prodej.ivetasmolkova.cz
   ============================================ */

:root {
  --olive: #A89958;
  --olive-dark: #8C7E45;
  --olive-light: #D4C68A;
  
  --bg-cream: #F5EFE4;
  --bg-cream-soft: #FAF6EE;
  --bg-white: #FFFFFF;
  --bg-section-alt: #F0E9DA;
  
  --ink: #0F1419;
  --ink-soft: #4A5359;
  --ink-muted: #8A8F95;
  
  --border: #E5DDC9;
  --border-light: #EFE9D8;
  
  --success: #5C8E5A;
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  
  --shadow-card: 0 4px 20px rgba(15, 20, 25, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(15, 20, 25, 0.10);
  --shadow-floating: 0 10px 40px rgba(15, 20, 25, 0.08);
  --shadow-cta: 0 8px 24px rgba(168, 153, 88, 0.30);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  
  --container: 1240px;
  --container-narrow: 880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-cream);
  padding: 20px 0;
  transition: box-shadow 0.2s, background 0.2s;
}
.site-header.scrolled {
  background: rgba(245, 239, 228, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(15, 20, 25, 0.04);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

.logo { display: flex; align-items: center; gap: 14px; }
.logo-image {
  height: 72px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 56px; height: 56px;
  border: 1.8px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-logo);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  transform: rotate(-6deg);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-logo);
  font-size: 22px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.logo-tagline {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--olive);
  text-transform: lowercase;
  font-weight: 500;
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--olive); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--olive); color: var(--bg-white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 153, 88, 0.40);
}
.btn-outline {
  background: var(--bg-white); color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--olive); color: var(--olive); }
.btn-large { padding: 22px 40px; font-size: 17px; }
.btn-arrow::after { content: '→'; font-size: 20px; font-weight: 400; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-cream-soft) 100%);
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
}
.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: '●'; color: var(--olive); font-size: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 1.02;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-title .accent { color: var(--olive); display: block; }

.hero-lead {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-bullets {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 32px;
}
.hero-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; color: var(--ink); font-weight: 500;
}
.hero-bullets li::before {
  content: '✓'; color: var(--success); font-weight: 700; font-size: 18px;
}

.hero-visual { position: relative; }
.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--border);
}
.hero-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-floating);
  min-width: 200px;
}
.hero-card-top { top: 24px; right: -32px; }
.hero-card-bottom { bottom: 32px; left: -32px; }
.hero-card-label {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}
.hero-card-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.hero-card-value .accent { color: var(--olive); }

/* === SECTIONS === */
section { padding: 100px 0; }
section.alt { background: var(--bg-section-alt); }
section.tight { padding: 60px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--olive-dark); font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  max-width: 800px;
}
.section-title .accent { color: var(--olive); }
.section-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 56px;
  line-height: 1.55;
}

/* === PROBLEMS GRID === */
.problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 60px;
}
.problem-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.25s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.problem-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.problem-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.problem-desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* === STEPS === */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.step {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.step-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}
.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step-desc { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* === REFERENCES === */
.references {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.reference-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.reference-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 28px;
  font-family: var(--font-logo);
  font-size: 80px;
  color: var(--olive);
  opacity: 0.25;
  line-height: 1;
}
.reference-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 500;
}
.reference-author { font-size: 14px; color: var(--ink-muted); font-weight: 600; }
.reference-author strong {
  display: block; color: var(--ink); font-size: 15px;
  margin-bottom: 2px; font-weight: 700;
}

/* === ABOUT === */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) { .about { grid-template-columns: 1fr; gap: 40px; } }
.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--border);
}
.about-eyebrow {
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--olive-dark); font-weight: 600;
  margin-bottom: 12px;
}
.about-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.about-partner {
  font-size: 15px; color: var(--ink-muted);
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.about-text {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.7; margin-bottom: 16px;
}
.about-text strong { color: var(--ink); font-weight: 700; }
.about-bullets { list-style: none; margin: 24px 0 32px; }
.about-bullets li {
  display: flex; gap: 12px; padding: 10px 0;
  color: var(--ink); font-size: 16px;
  border-bottom: 1px solid var(--border-light);
}
.about-bullets li::before { content: '✓'; color: var(--success); font-weight: 700; }
.about-contact { display: flex; gap: 16px; flex-wrap: wrap; }
.about-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: all 0.2s;
}
.about-contact a:hover { border-color: var(--olive); color: var(--olive); }

/* === FAQ === */
.faq-list { max-width: 800px; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--shadow-card-hover); }
.faq-question {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 18px;
  color: var(--ink);
  padding: 24px 28px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}
.faq-arrow {
  font-size: 24px; color: var(--olive); font-weight: 400;
  transition: transform 0.2s; flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-answer {
  padding: 0 28px 24px;
  color: var(--ink-soft); font-size: 16px; line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* === FINAL CTA === */
.cta-final {
  background: linear-gradient(135deg, var(--bg-section-alt) 0%, var(--bg-cream) 100%);
  text-align: center;
}
.cta-final .section-title { margin-left: auto; margin-right: auto; }
.cta-final-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 32px;
}
.cta-final-or { color: var(--ink-muted); font-size: 15px; margin: 20px 0 8px; }
.cta-final-phone {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 700;
  color: var(--ink);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-section-alt);
  color: var(--ink);
  padding: 64px 0 32px;
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.site-footer .container {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
@media (max-width: 768px) { .site-footer .container { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--ink-soft); max-width: 400px; line-height: 1.6; }
.footer-block h4 {
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-block ul { list-style: none; }
.footer-block li { margin-bottom: 10px; }
.footer-block a, .footer-block li {
  color: var(--ink-soft); line-height: 1.6;
  transition: color 0.2s;
}
.footer-block a:hover { color: var(--olive); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px; padding-top: 24px;
  text-align: center; font-size: 13px; color: var(--ink-muted);
}

/* ============================================
   MULTI-STEP FORM
   ============================================ */

.msf-container {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  transition: transform 0.2s;
}
.msf-container.msf-shake { animation: msf-shake 0.4s; }
@keyframes msf-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.msf-progress { margin-bottom: 40px; }
.msf-progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 12px;
}
.msf-progress-fill {
  height: 100%; background: var(--olive);
  border-radius: var(--radius-pill);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.msf-progress-label {
  font-size: 13px; color: var(--ink-muted);
  font-weight: 600; letter-spacing: 0.5px;
}

.msf-step { margin-bottom: 32px; min-height: 200px; }
.msf-question {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.msf-hint { color: var(--ink-muted); font-size: 15px; margin-bottom: 24px; }

.msf-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; margin-top: 24px;
}
.msf-option {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 20px;
  background: var(--bg-cream-soft);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  transition: all 0.2s;
  text-align: center;
  position: relative;
}
.msf-option:hover { border-color: var(--olive-light); background: var(--bg-cream); }
.msf-option-selected {
  border-color: var(--olive); background: var(--bg-white);
  box-shadow: 0 4px 16px rgba(168, 153, 88, 0.20);
}
.msf-option input { position: absolute; opacity: 0; pointer-events: none; }

.msf-input {
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-cream-soft);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  transition: all 0.2s;
}
.msf-input:focus { outline: none; border-color: var(--olive); background: var(--bg-white); }
.msf-input-large { font-size: 24px; font-weight: 700; padding: 22px 24px; }

.msf-contact { display: grid; gap: 16px; }
.msf-field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px; letter-spacing: 0.3px;
}

.msf-summary {
  background: var(--bg-cream-soft);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.msf-summary-row { padding: 6px 0; font-size: 14px; color: var(--ink-soft); }
.msf-summary-row strong { color: var(--ink); }
.msf-gdpr {
  display: flex; gap: 12px;
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.5; cursor: pointer; padding: 12px;
  align-items: flex-start;
}
.msf-gdpr input {
  margin-top: 3px; width: 18px; height: 18px;
  accent-color: var(--olive); flex-shrink: 0;
}

.msf-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}
.msf-btn {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
}
.msf-btn-back { background: transparent; color: var(--ink-soft); }
.msf-btn-back:hover { color: var(--ink); }
.msf-btn-next {
  background: var(--olive); color: white;
  padding: 14px 32px;
  box-shadow: var(--shadow-cta);
}
.msf-btn-next:hover { background: var(--olive-dark); transform: translateY(-1px); }

.msf-loading { text-align: center; padding: 80px 32px; }
.msf-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border-light);
  border-top-color: var(--olive);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: msf-spin 0.8s linear infinite;
}
@keyframes msf-spin { to { transform: rotate(360deg); } }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 40px 0 80px; }
  section { padding: 64px 0; }
  .hero-card-top, .hero-card-bottom { display: none; }
  .main-nav { display: none; }
  .msf-container { padding: 32px 24px; }
  .hero-bullets { flex-direction: column; gap: 12px; }
  .container, .container-narrow { padding: 0 20px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
