/* ============================================================
   DESIGN TOKENS — Verze 2: Světlá s terracottou
   ============================================================ */
:root {
  --color-primary:      #B85C38;
  --color-primary-dark: #9A4528;
  --color-primary-light:#E8AC95;
  --color-accent:       #D4845A;
  --color-text:         #3D2B1F;
  --color-text-muted:   #7A5C4E;
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #FDF7F3;
  --color-bg-dark:      #3D2B1F;
  --color-border:       #EDD9CE;

  --font-sans:   'Nunito', 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:   8px;
  --radius-md:   12px;
  --radius-lg:   24px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px 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.65;
}
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: 800; line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: var(--text-3xl); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: var(--text-xl); font-weight: 700; line-height: 1.3; }
.accent { color: var(--color-primary); }
.perex  { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 520px; line-height: 1.7; }

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.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.8rem 2rem;
  border-radius: 100px;
  font-size: var(--text-base);
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,92,56,0.3); }
.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: #fef3ee; }

/* ============================================================
   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);
  text-align: center;
  padding: 1rem;
}

/* ============================================================
   NAV
   Elementor: Section (bílé pozadí, spodní border, sticky)
     Container (flex, space-between):
       - Text/Image widget = logo (vlevo)
       - Nav Menu widget (vpravo, horizontální)
       - Button widget (kulaté tlačítko, vpravo)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-size: var(--text-xl); font-weight: 800; color: var(--color-text); letter-spacing: -0.03em; }
.logo span { color: var(--color-primary); }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a { color: var(--color-text-muted); font-weight: 600; 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 — split layout (text vlevo, obrázek vpravo)
   Elementor: Section (bílé pozadí, padding 80px)
     Inner Section / 2 sloupce (50% / 50%):
       Levý sloupec (vertikální, justify-center):
         - Text widget (badge/label, malý, barevný)
         - Heading widget H1
         - Text Editor widget (perex)
         - Button widget (kulaté, primární barva)
       Pravý sloupec:
         - Image widget (foto kočky ve svetru, výška 500px)
   ============================================================ -->
  */
.hero {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FCDEC9;
  color: #9A4528;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  width: fit-content;
}
.hero-actions { display: flex; gap: var(--space-sm); align-items: center; flex-wrap: wrap; }
.hero-visual { height: 500px; border-radius: var(--radius-lg); overflow: hidden; }
.hero-visual .placeholder-img { border-radius: var(--radius-lg); min-height: 500px; }

/* ============================================================
   FEATURES — 3 ikony v řadě
   Elementor: Section (teplé světlé pozadí #FDF7F3, padding 60px)
     Inner Section / 3 sloupce (33% / 33% / 33%):
       Každý sloupec:
         - Icon widget (nebo SVG v HTML widgetu)
         - Heading widget H3
         - Text widget (popis)
   ============================================================ */
.features {
  padding: var(--space-xl) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: #FEF0E9;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { color: var(--color-primary); }
.feature .h3 { font-size: var(--text-lg); }
.feature p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   PRODUCTS
   Elementor: Section (bílé pozadí, padding 80px)
     - Text widget (label nadpis, barevný, na střed)
     - Heading widget H2 (na střed)
     Inner Section / 3 sloupce (33% / 33% / 33%):
       Každý sloupec = karta (zaoblené rohy, border):
         - Image widget (foto)
         - Heading widget H3
         - Text widget (popis)
         - Button widget (outline, malý)
   ============================================================ */
.products {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}
.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, transform 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img { height: 240px; }
.product-img .placeholder-img { border-radius: 0; border: none; min-height: 240px; }
.product-info { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5rem; }
.product-info .h3 { font-size: var(--text-lg); }
.product-info p { font-size: var(--text-sm); color: var(--color-text-muted); }
.product-price { font-weight: 700; color: var(--color-primary); font-size: var(--text-base); }

/* ============================================================
   HOW IT WORKS
   Elementor: Section (teplé pozadí #FDF7F3, padding 80px)
     - Heading widget H2 (na střed)
     Inner Section / 3 sloupce (33% / 33% / 33%):
       Každý sloupec:
         - Text widget (číslo krok, velké, barevné)
         - Heading widget H3
         - Text widget
   ============================================================ */
.how-it-works {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.step {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}
.step p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   CTA BANNER
   Elementor: Section (barva pozadí #B85C38, full-width, padding 80px)
     2 sloupce (60% / 40%):
       Levý sloupec:
         - Heading widget H2 (bílý text)
         - Text widget (bílý, opacity 80%)
       Pravý sloupec (align-center, justify-center):
         - Button widget (bílé tlačítko, kulaté)
   ============================================================ */
.cta-banner {
  padding: var(--space-2xl) 0;
  background: var(--color-primary);
  color: #fff;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}
.cta-text { display: flex; flex-direction: column; gap: var(--space-sm); }
.cta-banner .h2 { color: #fff; }
.cta-banner p { opacity: 0.82; font-size: var(--text-lg); max-width: 480px; }

/* ============================================================
   FOOTER
   Elementor: Section (barva pozadí #3D2B1F)
     Inner Section / 2 sloupce (60% / 40%):
       Levý sloupec:
         - Text Editor widget (název tučně)
         - Text widget (krátký popis, šedá)
       Pravý sloupec (align-end):
         - Nav Menu widget (horizontální, 4 linky)
     - Divider widget
     Inner Section / 2 sloupce (50% / 50%):
       Levý: Text widget (copyright)
       Pravý: Text widget (email, zarovnání vpravo)
   ============================================================ */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-lg);
}
.footer-brand .logo { color: #fff; font-size: var(--text-xl); font-weight: 800; }
.footer-brand .logo span { color: var(--color-primary-light); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: var(--text-sm); margin-top: 0.75rem; max-width: 280px; }
.footer-nav { display: flex; justify-content: flex-end; gap: var(--space-xl); }
.footer-nav-col { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-nav-col strong { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; display: block; }
.footer-nav-col a { color: rgba(255,255,255,0.65); font-size: var(--text-sm); transition: color 0.2s; }
.footer-nav-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); }

@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; }
}
