/* ============================================================
   DESIGN TOKENS — Verze 1: Krémová minimalistická
   ============================================================ */
:root {
  --color-primary:      #C17A5A;
  --color-primary-dark: #A85E3E;
  --color-primary-light:#E8C5AF;
  --color-accent:       #8B5E3C;
  --color-text:         #1A1A1A;
  --color-text-muted:   #6B6057;
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F5EDE3;
  --color-bg-dark:      #2C1F17;
  --color-border:       #E8DDD5;

  --font-sans:   'Lato', system-ui, sans-serif;
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-lg:     1.125rem;
  --text-xl:     1.25rem;
  --text-2xl:    1.5rem;
  --text-3xl:    1.875rem;
  --text-4xl:    2.25rem;
  --text-5xl:    3rem;

  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;

  --container:   1200px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================================
   TYPOGRAFIE
   ============================================================ */
.h1 { font-size: var(--text-5xl); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.h2 { font-size: var(--text-3xl); font-weight: 700; line-height: 1.25; }
.h3 { font-size: var(--text-xl); font-weight: 600; line-height: 1.3; }
.accent { color: #8B5E3C; }
.perex  { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 540px; }

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.section-desc { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 560px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--color-primary-dark); color: #fff; }
.btn-primary:hover { background: #8B4A2E; }
.btn-secondary { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.btn-white { background: #fff; color: var(--color-primary); }
.btn-white:hover { background: var(--color-bg-alt); }

/* ============================================================
   PLACEHOLDER
   ============================================================ */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================================
   NAV
   Elementor: Section (full-width, sticky, bílé pozadí, spodní border)
     - Container: Flex, space-between
       - Image widget (logo / název webu, vlevo)
       - Nav Menu widget (vpravo, horizontální)
       - Button widget (CTA, vpravo)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: var(--text-xl); font-weight: 700; color: var(--color-text); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a { color: var(--color-text-muted); font-weight: 400; transition: color 0.2s; font-size: var(--text-base); }
.nav-links a:hover { color: var(--color-text); }
.nav-back { color: var(--color-text-muted) !important; font-size: var(--text-sm); border-right: 1px solid var(--color-border); padding-right: var(--space-lg); margin-right: calc(-1 * var(--space-xs)); }

/* ============================================================
   HERO — centered, typografický
   Elementor: Section (full-width, krémové pozadí #F5EDE3)
     - Heading widget (velký nadpis H1, zarovnání na střed)
     - Text Editor widget (perex, zarovnání na střed)
     - Button widget (CTA tlačítko, zarovnání na střed)
     - Image widget (foto kotě ve svetru, max-width 860px, zarovnání na střed)
   Poznámka: vše v jednom sloupci, žádný nested grid
   ============================================================ */
.hero {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-bg-alt);
  text-align: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.hero-actions { display: flex; gap: var(--space-sm); justify-content: center; }
.hero-visual { max-width: 860px; margin: 0 auto; height: 460px; }

/* ============================================================
   ABOUT (O nás / krátký popis projektu)
   Elementor: Section (bílé pozadí)
     - Inner Section / Columns: 2 sloupce (50% / 50%)
       Levý sloupec: Heading widget + Text Editor widget + Button widget
       Pravý sloupec: Image widget (foto materiálu nebo výroby)
   ============================================================ */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.about-visual { height: 420px; }

/* ============================================================
   PRODUCTS / NABÍDKA (typy svetrů)
   Elementor: Section (krémové pozadí #F5EDE3)
     - Heading widget (nadpis sekce H2, na střed)
     - Text widget (popis sekce, na střed)
     - Inner Section / 3 sloupce (33% / 33% / 33%)
       Každý sloupec: Image widget + Heading widget (H3) + Text widget
   ============================================================ */
.products {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-img { height: 240px; }
.product-img .placeholder-img { border-radius: 0; border: none; min-height: 240px; }
.product-info { padding: var(--space-md); }
.product-info .h3 { margin-bottom: 0.5rem; }
.product-info p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   HOW IT WORKS / JAK NA TO
   Elementor: Section (bílé pozadí)
     - Heading widget (H2, na střed)
     - Inner Section / 3 sloupce (33% / 33% / 33%)
       Každý sloupec: Icon Box widget nebo
         Icon widget + Heading widget (H3) + Text widget
   ============================================================ */
.how-it-works {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
}
.step p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 220px; }

/* ============================================================
   CTA BANNER
   Elementor: Section (barva pozadí: #C17A5A, full-width)
     - Heading widget (H2, bílá barva textu, na střed)
     - Text widget (popis, bílá, na střed)
     - Button widget (bílé tlačítko, na střed)
   ============================================================ */
.cta-banner {
  padding: var(--space-2xl) 0;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.cta-banner .container { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); }
.cta-banner .h2 { color: #fff; }
.cta-banner p { font-size: var(--text-lg); opacity: 0.85; max-width: 480px; }

/* ============================================================
   FOOTER
   Elementor: Section (barva pozadí: #2C1F17)
     - Inner Section / 3 sloupce (40% / 30% / 30%)
       Levý: Text Editor widget (název + popis)
       Střed: Heading widget + Nav Menu widget (vertikální)
       Pravý: Heading widget + Text widget (email, telefon)
     - Divider widget (bílý, 10% opacity)
     - Text widget (copyright, na střed, světlá barva)
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-md);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-brand .logo { color: #fff; font-size: var(--text-xl); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: var(--text-sm); max-width: 280px; }
.footer-links, .footer-contact-col { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-links strong, .footer-contact-col strong { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: var(--space-xs); display: block; }
.footer-links a, .footer-contact-col a { color: rgba(255,255,255,0.65); font-size: var(--text-sm); transition: color 0.2s; }
.footer-links a:hover, .footer-contact-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: var(--text-sm); color: rgba(255,255,255,0.3); }
.footer-dw-credit { font-size: var(--text-sm); color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-dw-credit:hover { color: rgba(255,255,255,0.75); }

.text-muted { color: var(--color-text-muted); }

@media (max-width: 768px) {
  body { min-width: unset; }
  .about-inner, .hero-inner, .cta-inner { grid-template-columns: 1fr; }
  .products-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-inner, .footer-top { grid-template-columns: 1fr; }
  .h1 { font-size: 2rem; }
  .h2 { font-size: 1.5rem; }
  .section { padding: 3rem 1.5rem; }
  nav { padding: 1rem 1.5rem; }
}
