/* ==========================================================================
   LEDKÁRNA / obsahové sekce
   Univerzální design systém pro obsah kategorií, článků a produktových řad
   Prefix: lk-
   ========================================================================== */


/* --------------------------------------------------------------------------
   ZÁKLADNÍ KONTEJNER
   -------------------------------------------------------------------------- */

.lk-content {
  --lk-accent: #00eda5;
  --lk-accent-dark: #00b77f;
  --lk-text: #222;
  --lk-muted: #5f646d;
  --lk-border: #e8ecef;
  --lk-soft: #f6f8fa;
  --lk-card: #ffffff;
  --lk-dark: #111827;
  --lk-radius: 18px;
  --lk-radius-lg: 26px;
  --lk-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  --lk-shadow-hover: 0 18px 46px rgba(15, 23, 42, 0.14);

  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 70px;
  color: var(--lk-text);
  font-family: inherit;
}

.lk-content *,
.lk-content *::before,
.lk-content *::after {
  box-sizing: border-box;
}

.lk-section {
  margin: 0 0 64px;
}

.lk-section:last-child {
  margin-bottom: 0;
}

.lk-section h2 {
  position: relative;
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 5px solid var(--lk-accent);
  color: var(--lk-text);
  font-size: clamp(2.4rem, 2.2vw, 3.4rem);
  line-height: 1.22;
  font-weight: 700;
}

.lk-section h3 {
  margin: 0 0 12px;
  color: var(--lk-text);
  font-size: 1.9rem;
  line-height: 1.32;
  font-weight: 700;
}

.lk-section p,
.lk-section li {
  color: var(--lk-muted);
  font-size: 1.65rem;
  line-height: 1.75;
}

.lk-section p {
  margin: 0 0 16px;
}

.lk-section p:last-child {
  margin-bottom: 0;
}

.lk-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--lk-accent-dark);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lk-label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lk-accent);
  border-radius: 999px;
}


/* --------------------------------------------------------------------------
   ÚVODNÍ SEKCE
   -------------------------------------------------------------------------- */

.lk-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(0, 237, 165, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f6f8fa 100%);
  box-shadow: var(--lk-shadow);
}

.lk-intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(0, 237, 165, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.lk-intro h2 {
  max-width: 850px;
  margin-bottom: 18px;
  padding-left: 0;
  border-left: none;
  font-size: clamp(3rem, 4vw, 4.8rem);
}

.lk-intro p {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #3b414b;
  font-size: 1.8rem;
}


/* --------------------------------------------------------------------------
   FEATURES / PŘÍNOSY / TECHNICKÉ VLASTNOSTI
   -------------------------------------------------------------------------- */

.lk-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.lk-features__item {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 26px 24px;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  background: var(--lk-card);
  box-shadow: var(--lk-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lk-features__item::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lk-accent), rgba(0, 237, 165, 0.18));
}

.lk-features__item::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 237, 165, 0.08);
  transition: transform 0.22s ease;
}

.lk-features__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 237, 165, 0.45);
  box-shadow: var(--lk-shadow-hover);
}

.lk-features__item:hover::after {
  transform: scale(1.18);
}

.lk-features__item h3 {
  position: relative;
  z-index: 1;
}

.lk-features__item p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.65;
}

.lk-features--icons .lk-features__item {
  text-align: center;
}

.lk-features__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lk-features__icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   IKONKOVÝ GRID / TYPICKÉ POUŽITÍ
   -------------------------------------------------------------------------- */

.lk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.lk-grid__item {
  position: relative;
  min-height: 220px;
  padding: 28px 22px;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  text-align: center;
  box-shadow: var(--lk-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lk-grid__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 237, 165, 0.45);
  box-shadow: var(--lk-shadow-hover);
}

.lk-grid__item img {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
}

.lk-grid__item h3 {
  margin-bottom: 10px;
}

.lk-grid__item p {
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.58;
}

/* --------------------------------------------------------------------------
   USE CASES / TYPICKÉ POUŽITÍ S FOTOGRAFIEMI
   -------------------------------------------------------------------------- */

.lk-use-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.lk-use-cases__item {
  overflow: hidden;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  background: var(--lk-card);
  box-shadow: var(--lk-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lk-use-cases__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 237, 165, 0.45);
  box-shadow: var(--lk-shadow-hover);
}

.lk-use-cases__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.lk-use-cases__item h3 {
  padding: 22px 22px 0;
  margin: 0;
}

.lk-use-cases__item p {
  padding: 8px 22px 24px;
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   OBRÁZKOVÝ GRID / INSTALACE / INSPIRACE
   -------------------------------------------------------------------------- */

.lk-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.lk-image-grid__item {
  overflow: hidden;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  background: var(--lk-card);
  box-shadow: var(--lk-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lk-image-grid__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 237, 165, 0.45);
  box-shadow: var(--lk-shadow-hover);
}

.lk-image-grid__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.lk-image-grid__item:hover img {
  transform: scale(1.05);
}

.lk-image-grid__item h3 {
  padding: 22px 22px 0;
}

.lk-image-grid__item p {
  padding: 0 22px 24px;
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   TABULKY
   -------------------------------------------------------------------------- */

.lk-table {
  width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  background: var(--lk-card);
  box-shadow: var(--lk-shadow);
}

.lk-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  margin: 0;
}

.lk-table th,
.lk-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--lk-border);
  text-align: left;
  vertical-align: top;
  font-size: 1.5rem;
  line-height: 1.5;
}

.lk-table th {
  background: #f3f6f8;
  color: #1f2933;
  font-weight: 800;
}

.lk-table td {
  color: var(--lk-muted);
}

.lk-table tr:last-child td {
  border-bottom: none;
}

.lk-table tbody tr:hover td {
  background: rgba(0, 237, 165, 0.04);
}


/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.lk-faq {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius-lg);
  background: #fff;
  box-shadow: var(--lk-shadow);
}

.lk-faq h2 {
  margin-bottom: 6px;
}

.lk-faq__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--lk-border);
}

.lk-faq__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.lk-faq__item h3 {
  position: relative;
  padding-left: 34px;
}

.lk-faq__item h3::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lk-accent);
  color: #0b1f18;
  font-size: 1.5rem;
  line-height: 24px;
  text-align: center;
  font-weight: 900;
}

.lk-faq__item p {
  margin: 0;
  padding-left: 34px;
}


/* --------------------------------------------------------------------------
   CTA / POPTÁVKA
   -------------------------------------------------------------------------- */

.lk-cta {
  position: relative;
  overflow: hidden;
  margin: 70px 0 0;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--lk-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(0, 237, 165, 0.24), transparent 34%),
    linear-gradient(135deg, #101820 0%, #111827 58%, #0b1117 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.20);
}

.lk-cta::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(0, 237, 165, 0.09);
  border-radius: 50%;
}

.lk-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: #fff !important;
  font-size: clamp(2.6rem, 3vw, 3.8rem);
  line-height: 1.25;
}

.lk-cta p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.7rem;
  line-height: 1.7;
}

.lk-cta .btn,
.lk-cta .btn-primary,
.lk-cta a.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--lk-accent);
  color: #062019 !important;
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 237, 165, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lk-cta .btn:hover,
.lk-cta .btn-primary:hover,
.lk-cta a.btn:hover {
  transform: translateY(-2px);
  background: #32f2b8;
  box-shadow: 0 15px 34px rgba(0, 237, 165, 0.34);
}


/* --------------------------------------------------------------------------
   POMOCNÉ BLOKY
   -------------------------------------------------------------------------- */

.lk-note {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--lk-accent);
  border-radius: 0 var(--lk-radius) var(--lk-radius) 0;
  background: rgba(0, 237, 165, 0.08);
}

.lk-note p {
  margin: 0;
  color: #2d373f;
}

.lk-check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lk-check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 34px;
}

.lk-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lk-accent);
  transform: translateY(-50%);
}

.lk-check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.62em;
  width: 6px;
  height: 10px;
  border-right: 2px solid #063527;
  border-bottom: 2px solid #063527;
  transform: translateY(-62%) rotate(45deg);
}


/* --------------------------------------------------------------------------
   KOMPATIBILITA SE SHOPTETEM
   -------------------------------------------------------------------------- */

.category-perex .lk-content h2,
#description .lk-content h2 {
  color: var(--lk-text);
}

.category-perex .lk-content h3,
#description .lk-content h3 {
  color: var(--lk-text);
}


/* --------------------------------------------------------------------------
   RESPONZIVITA
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .lk-features,
  .lk-grid,
  .lk-image-grid,
  .lk-use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lk-content {
    padding-bottom: 44px;
  }

  .lk-section {
    margin-bottom: 46px;
  }

  .lk-section h2 {
    font-size: 2.35rem;
  }

  .lk-section p,
  .lk-section li {
    font-size: 1.55rem;
  }

  .lk-intro,
  .lk-faq,
  .lk-cta {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .lk-features,
  .lk-grid,
  .lk-image-grid,
  .lk-use-cases {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lk-intro {
    padding: 26px 22px;
  }

  .lk-grid__item,
  .lk-features__item {
    min-height: auto;
  }

  .lk-table th,
  .lk-table td {
    padding: 14px 15px;
  }

  .lk-cta {
    text-align: left;
  }

  .lk-cta p {
    margin-left: 0;
    margin-right: 0;
  }
}


/* --------------------------------------------------------------------------
   STARÉ TŘÍDY
   Původní features-box, icon-grid, gallery-grid, symbol-grid a media-block
   nejsou v nové šabloně potřeba. Nový systém používá pouze prefix lk-.
   -------------------------------------------------------------------------- */
