/*
Theme Name:  TCM Clinic
Theme URI:   https://tcmclinic.sk
Author:      TCM Clinic
Description: Téma pre prax tradičnej čínskej medicíny. Čistý dizajn, zemité a zelené farby, dôraz na harmóniu a prirodzenosť.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: tcm-clinic
Tags:        health, wellness, green, minimal, responsive
*/

/* ═══════════════════════════════════════
   CSS PREMENNÉ
═══════════════════════════════════════ */
:root {
  --sage:              #7a9e7e;
  --sage-light:        #a8c5a0;
  --sage-dark:         #4e7251;
  --earth:             #8b6f47;
  --earth-light:       #c4a882;
  --earth-pale:        #f0e8da;
  --moss:              #3d5a3e;
  --cream:             #faf7f2;
  --warm-white:        #f5f0e8;
  --charcoal:          #2c2c2c;
  --muted:             #6b6b6b;
  --border:            #ddd5c8;
  --disclaimer-bg:     #f7f4ef;
  --disclaimer-border: #b8a898;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ═══════════════════════════════════════
   DISCLAIMER BAR
═══════════════════════════════════════ */
.disclaimer-bar {
  background: var(--disclaimer-bg);
  border-bottom: 1px solid var(--disclaimer-border);
  padding: 10px 0;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.disclaimer-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.disclaimer-bar strong {
  color: var(--earth);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 201;
  /* backdrop-filter odstraňujeme — vytvára stacking context
     ktorý obmedzuje position:fixed elementov vnútri (mobilné menu) */
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .site-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0.04em;
}
.logo-text .site-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth);
  font-weight: 400;
}

/* Hlavná navigácia */
.main-navigation { display: flex; gap: 0; align-items: center; }
.main-navigation a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  padding: 8px 16px;
  font-weight: 400;
  position: relative;
  transition: color 0.2s;
}
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-navigation a:hover { color: var(--sage-dark); }
.main-navigation a:hover::after { transform: scaleX(1); }
.main-navigation .nav-cta {
  background: var(--sage-dark);
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  transition: background 0.2s !important;
  margin-left: 8px;
}
.main-navigation .nav-cta:hover { background: var(--moss) !important; }
.main-navigation .nav-cta::after { display: none !important; }

/* Mobilné menu */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--moss);
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   LAYOUT UTILITY
═══════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: 96px 0; }

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--earth);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--moss);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; }
.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* ═══════════════════════════════════════
   TLAČIDLÁ
═══════════════════════════════════════ */
.btn-primary {
  background: var(--sage-dark);
  color: white;
  padding: 14px 32px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--moss);
  color: white;
  transform: translateY(-1px);
}
.btn-secondary {
  color: var(--sage-dark);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--sage-light);
  padding-bottom: 2px;
  transition: color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { color: var(--moss); }

/* ═══════════════════════════════════════
   HERO SEKCIA (homepage)
═══════════════════════════════════════ */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
}
.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--earth);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--earth-light);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--moss);
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}
.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 44px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-right {
  position: relative;
  overflow: visible;
}
.hero-illustration {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8f0e4 0%, #d4e8cc 40%, #c2d9b8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.botanical-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}
.hero-badge {
  position: absolute;
  bottom: 48px;
  left: -48px;
  background: var(--earth-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--earth);
  padding: 20px 28px 20px 24px;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 3;
  min-width: 160px;
}
.hero-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--moss);
  line-height: 1;
  white-space: nowrap;
}
.hero-badge .label {
  font-size: 12px;
  color: var(--earth);
  letter-spacing: 0.08em;
  margin-top: 6px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.trust-bar {
  background: var(--moss);
  color: rgba(255,255,255,0.75);
  padding: 20px 0;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.trust-item svg { opacity: 0.7; flex-shrink: 0; }

/* ═══════════════════════════════════════
   O NÁS SEKCIA
═══════════════════════════════════════ */
.about { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; height: 480px; }
.about-visual-main {
  width: 75%;
  height: 100%;
  background: linear-gradient(140deg, #c8ddc4, #a8c9a0);
  border-radius: 2px;
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual-accent {
  width: 48%;
  height: 52%;
  background: var(--earth-pale);
  border: 1px solid var(--border);
  border-left: 4px solid var(--earth);
  border-radius: 2px;
  position: absolute;
  left: 0;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 24px;
}
.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--earth);
  line-height: 1.5;
  text-align: center;
}
.about-quote cite {
  display: block;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 10px;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.85;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--sage-dark);
  line-height: 1;
}
.stat-item .lbl {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ═══════════════════════════════════════
   SLUŽBY
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--cream);
  padding: 40px 36px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--sage);
  transition: height 0.3s ease;
}
.service-card:hover { background: var(--warm-white); }
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--sage-dark);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--moss);
  margin-bottom: 12px;
  font-weight: 400;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
}
.service-link:hover { color: var(--moss); }

/* ═══════════════════════════════════════
   ČLÁNKY
═══════════════════════════════════════ */
.articles { background: var(--warm-white); }
.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.article-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.article-img {
  height: 220px;
  background: linear-gradient(135deg, #c8ddc4, #9dbf96);
  overflow: hidden;
  position: relative;
}
.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card:first-child .article-img { height: 280px; }
.article-body { padding: 28px; }
.article-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth);
  margin-bottom: 10px;
}
.article-body h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--moss);
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 400;
}
.article-card:first-child .article-body h4 { font-size: 26px; }
.article-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--earth-light);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   JEDNOTLIVÝ ČLÁNOK (single.php)
═══════════════════════════════════════ */
.single-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 40px;
}
.single-article .article-header { margin-bottom: 48px; }
.single-article .article-header .article-cat { margin-bottom: 16px; }
.single-article .article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--moss);
  line-height: 1.15;
  margin-bottom: 20px;
}
.single-article .article-header .article-meta { margin-bottom: 32px; }
.single-article .article-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 48px;
}
.single-article .article-content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--charcoal);
}
.single-article .article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--moss);
  margin: 48px 0 16px;
  font-weight: 400;
}
.single-article .article-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--sage-dark);
  margin: 36px 0 12px;
  font-weight: 400;
}
.single-article .article-content p { margin-bottom: 24px; }
.single-article .article-content a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
}
.single-article .article-content blockquote {
  border-left: 4px solid var(--earth);
  background: var(--earth-pale);
  padding: 24px 32px;
  margin: 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--earth);
}

/* Medicínsky disclaimer pod článkom */
.article-disclaimer {
  background: var(--disclaimer-bg);
  border: 1px solid var(--disclaimer-border);
  border-left: 4px solid var(--earth-light);
  border-radius: 2px;
  padding: 24px 28px;
  margin-top: 56px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.article-disclaimer strong { color: var(--earth); }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-section { background: var(--cream); }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 20px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--moss);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  user-select: none;
}
.faq-q:hover { color: var(--sage-dark); }
.faq-q .toggle {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 16px;
  color: var(--sage);
}
.faq-item.open .faq-q .toggle {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}
.faq-item.open .faq-a {
  max-height: 2000px;
  padding-bottom: 20px;
}
.faq-aside {
  background: linear-gradient(160deg, #e8f0e4, #d4e8cc);
  padding: 48px 40px;
  border-radius: 2px;
  position: sticky;
  top: 100px;
}
.faq-aside h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--moss);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.25;
}
.faq-aside p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   KONTAKT
═══════════════════════════════════════ */
.contact-section { background: var(--moss); color: white; }
.contact-section .section-title { color: var(--sage-light); }
.contact-section .section-label { color: var(--earth-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row svg { color: var(--sage-light); flex-shrink: 0; margin-top: 2px; }
.contact-row .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-light);
  opacity: 0.7;
  margin-bottom: 4px;
}
.contact-row .value { font-size: 15px; color: rgba(255,255,255,0.85); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
  padding: 12px 16px;
  color: white;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--sage-light); }
.form-group textarea { resize: none; height: 100px; }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: #1e2e1f;
  color: rgba(255,255,255,0.5);
  padding: 40px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand p {
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--sage-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-disclaimer {
  max-width: 600px;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════ */
.breadcrumbs {
  background: var(--warm-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.breadcrumbs a { color: var(--sage-dark); }
.breadcrumbs a:hover { color: var(--moss); }
.breadcrumbs span { margin: 0 8px; opacity: 0.5; }

/* ═══════════════════════════════════════
   PAGINOVANIE
═══════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 48px 0;
}
.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.2s;
}
.pagination a:hover,
.pagination .current {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: white;
}

/* ═══════════════════════════════════════
   ANIMÁCIE
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * { animation: fadeUp 0.7s ease both; }
.hero-eyebrow  { animation-delay: 0.1s; }
.hero h1       { animation-delay: 0.2s; }
.hero-desc     { animation-delay: 0.3s; }
.hero-actions  { animation-delay: 0.4s; }

/* ═══════════════════════════════════════
   RESPONZÍVNOSŤ
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 320px; }
  .hero-left { padding: 60px 32px; }
  .about-grid,
  .faq-layout,
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .main-navigation { display: none !important; }
  .menu-toggle { display: block; }

  /* Štruktúra: nav > ul#primary-nav > a (nav-walker bez li)
                nav > a.nav-cta */
  .main-navigation.is-open {
    display: block !important;
    position: fixed;
    top: 72px; /* JS prepíše na správnu hodnotu */
    left: 0;
    right: 0;
    height: calc(100vh - 72px); /* JS prepíše */
    background: var(--cream);
    z-index: 200;
    overflow-y: auto;
    padding-top: 8px;
    padding-bottom: 24px;
  }
  .main-navigation.is-open #primary-nav {
    display: block !important;
    list-style: none;
    padding: 0; margin: 0;
  }
  /* Položky menu — <a> priamo v <ul> */
  .main-navigation.is-open #primary-nav > a {
    display: block !important;
    padding: 14px 32px !important;
    font-size: 13px !important;
    font-family: 'Jost', sans-serif !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--charcoal) !important;
    border-bottom: 1px solid var(--border) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: none !important;
    border-radius: 0 !important;
  }
  .main-navigation.is-open #primary-nav > a::after { display: none !important; }
  /* CTA tlačidlo — <a> priamo v <nav> */
  .main-navigation.is-open > a.nav-cta {
    display: block !important;
    margin: 16px 32px 0 !important;
    padding: 14px 20px !important;
    text-align: center !important;
    background: var(--sage-dark) !important;
    color: white !important;
    border-radius: 2px !important;
    width: calc(100% - 64px) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 24px; }
  section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .header-inner { padding: 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   FRONT PAGE — pridať na koniec style.css
   ============================================================= */

/* =============================================================
   PRÍHOVOR (nahrádza hero na homepage)
   Pridať na koniec style.css — nahradí starý .fp-* blok
   ============================================================= */

.prihovor {
  padding: 72px 0 56px;
  background: var(--cream);
}

.prihovor-grid {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 3.5rem;
  align-items: start;
}

.prihovor-text p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 1.1rem;
  color: var(--charcoal);
  text-align: justify;
}

.prihovor-lead strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--moss);
  line-height: 1.3;
  display: block;
  margin-bottom: 20px;
}

.prihovor-text a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
  transition: color 0.2s;
}
.prihovor-text a:hover { color: var(--moss); }

.prihovor-signature {
  margin-top: 2rem;
}
.prihovor-signature__img {
  max-width: 220px;
  height: auto;
  display: block;
}

/* Qi — vpravo, sticky */
.prihovor-qi {
  position: sticky;
  top: 96px;
  text-align: center;
}
.prihovor-qi__img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.65;
}

/* Responzívne */
@media (max-width: 680px) {
  .prihovor-grid {
    grid-template-columns: 1fr;
  }
  .prihovor-qi {
    position: static;
    order: -1;
    margin-bottom: 1.5rem;
  }
  .prihovor-qi__img {
    width: 90px;
  }
}

/* Odstrániť staré .fp-* štýly ak existujú (nie sú potrebné) */
.fp-main, .fp-content, .fp-text, .fp-qi, .fp-signature,
.fp-lead, .fp-qi__img, .fp-signature__img { display: none !important; }

/* =============================================================
   STRÁNKA O NÁS — pridať na koniec style.css
   ============================================================= */
 
.onas-main {
  padding: 64px 0 96px;
}
 
.onas-header {
  margin-bottom: 48px;
}
.onas-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--earth);
  margin-top: -8px;
}
 
/* Dvojstĺpcový layout — text vľavo, foto vpravo */
.onas-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 64px;
}
 
/* Text */
.onas-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.onas-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--moss);
  margin: 2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
 
/* Špecializácia — definičný zoznam */
.onas-spec {
  margin-bottom: 0.5rem;
}
.onas-spec dt {
  font-weight: 500;
  color: var(--moss);
  margin-top: 1rem;
  font-size: 15px;
}
.onas-spec dd {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-left: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--sage-light);
}
 
/* Vzdelanie — zoznam s bodkou */
.onas-edu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.onas-edu li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.25rem;
  position: relative;
}
.onas-edu li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--sage);
}
 
/* Foto — sticky vpravo */
.onas-photo {
  position: sticky;
  top: 96px;
}
.onas-photo__img {
  width: 100%;
  border-radius: 2px;
  display: block;
  margin-bottom: 1rem;
}
.onas-photo__caption {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.onas-photo__caption strong {
  display: block;
  color: var(--moss);
  font-size: 14px;
  margin-bottom: 2px;
}
.onas-photo__caption a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
}
.onas-photo__caption a:hover {
  color: var(--moss);
}
 
/* Školenia — plná šírka, dvojstĺpcový grid */
.onas-courses h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--moss);
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.onas-courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
}
.onas-course-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.onas-course-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--earth);
  min-width: 40px;
  flex-shrink: 0;
  line-height: 1.5;
}
.onas-course-item strong {
  font-size: 14px;
  color: var(--charcoal);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
}
.onas-course-item span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
 
/* Responzívne */
@media (max-width: 760px) {
  .onas-grid {
    grid-template-columns: 1fr;
  }
  .onas-photo {
    position: static;
    max-width: 260px;
  }
  .onas-courses-grid {
    grid-template-columns: 1fr;
  }
}
 
/* =============================================================
   STRÁNKA KONTAKT — pridať na koniec style.css
   ============================================================= */

.kontakt-main {
  padding: 64px 0 96px;
}

.kontakt-header {
  margin-bottom: 48px;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Osoba */
.kontakt-person {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.kontakt-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--moss);
  font-weight: 500;
  margin-bottom: 4px;
}
.kontakt-role {
  font-size: 13px;
  color: var(--earth);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Riadky kontaktov */
.kontakt-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.kontakt-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.kontakt-row svg {
  color: var(--sage-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-row__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--earth);
  margin-bottom: 4px;
}
.kontakt-row__value {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.7;
}
.kontakt-row__value a {
  color: var(--charcoal);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.kontakt-row__value a:hover {
  color: var(--sage-dark);
  border-color: var(--sage-light);
}
.kontakt-row__note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* Tlačidlá akcií */
.kontakt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  width: fit-content;
}
.kontakt-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  width: fit-content;
}
.kontakt-btn--vcf {
  background: var(--sage-dark);
  color: white;
}
.kontakt-btn--vcf:hover {
  background: var(--moss);
  color: white;
  transform: translateY(-1px);
}
.kontakt-btn--nav {
  background: transparent;
  color: var(--sage-dark);
  border: 1px solid var(--sage-dark);
}
.kontakt-btn--nav:hover {
  background: var(--sage-dark);
  color: white;
  transform: translateY(-1px);
}

/* Mapa */
#tcm-map {
  width: 100%;
  height: 420px;
  border-radius: 2px;
  border: 1px solid var(--border);
  z-index: 1;
}
.kontakt-mapa__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.kontakt-mapa__note svg {
  color: var(--sage);
  flex-shrink: 0;
}

/* Marker na mape */
.tcm-marker {
  width: 20px;
  height: 20px;
  background: var(--moss);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responzívne */
@media (max-width: 760px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
  #tcm-map {
    height: 300px;
  }
}
.kontakt-actions { width: fit-content; }
.kontakt-btn { width: 100%; }

/* =============================================================
   STRÁNKA NOVINKY — pridať na koniec style.css
   ============================================================= */

/* Breadcrumbs — bez pozadia, bez oddeľovača */
.novinky-breadcrumbs {
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.novinky-breadcrumbs a {
  color: var(--sage-dark);
}
.novinky-breadcrumbs a:hover {
  color: var(--moss);
}
.novinky-breadcrumbs span {
  margin: 0 6px;
  opacity: 0.5;
}
.novinky-breadcrumbs span:last-child {
  opacity: 1;
  color: var(--charcoal);
  margin-left: 0;
}

/* Novinky main */
.novinky-main {
  padding: 64px 0 96px;
}

.novinky-header {
  margin-bottom: 48px;
}

/* Náhľady článkov */
.novinky-previews {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.novinky-preview {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.novinky-preview:first-child {
  border-top: 1px solid var(--border);
}

.novinky-preview__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.novinky-preview__cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--earth);
}
.novinky-preview__read {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.novinky-preview__read::before {
  content: '·';
  margin-right: 8px;
  color: var(--border);
}

.novinky-preview__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--moss);
  line-height: 1.25;
  margin-bottom: 14px;
}
.novinky-preview__title a {
  color: inherit;
  transition: color 0.2s;
}
.novinky-preview__title a:hover {
  color: var(--sage-dark);
}

.novinky-preview__source {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--earth);
  margin-bottom: 10px;
}

.novinky-preview__excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 780px;
}

.novinky-preview__more {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.novinky-preview__more:hover {
  color: var(--moss);
}

/* Zoznam ďalších článkov */
.novinky-list {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.novinky-list__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--earth);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.novinky-list ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.novinky-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.novinky-list__item:last-child {
  border-bottom: none;
}
.novinky-list__link {
  font-size: 15px;
  color: var(--charcoal);
  transition: color 0.2s;
  flex: 1;
}
.novinky-list__link:hover {
  color: var(--sage-dark);
}
.novinky-list__read {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* Paginácia */
.novinky-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 48px 0 0;
}

.novinky-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  background: var(--cream);
}
.novinky-page-btn:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: white;
}
.novinky-page-btn--current {
  background: var(--moss);
  border-color: var(--moss);
  color: white;
  font-weight: 500;
}
.novinky-page-btn--disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.novinky-page-btn--dots {
  border: none;
  background: none;
  cursor: default;
  pointer-events: none;
  color: var(--muted);
}

/* Responzívne */
@media (max-width: 600px) {
  .novinky-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* =============================================================
   SINGLE ČLÁNOK — pridať na koniec style.css
   ============================================================= */
 
.single-main {
  padding-bottom: 96px;
}
 
/* Hlavička */
.single-article-wrap {
  max-width: 960px;
}
 
.single-article__header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
 
.single-article__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--moss);
  line-height: 1.2;
  margin-bottom: 16px;
}
 
.single-article__meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
 
/* Telo článku — text vľavo, obrázok vpravo */
.single-article__body {
  display: block;
}
 
.single-article__body.has-thumbnail {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
 
/* Obrázok — sticky vpravo, rovnako ako O nás / Príhovor */
.single-article__thumbnail {
  position: sticky;
  top: 96px;
  order: 2;
}
 
.single-article__img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}
 
/* Obsah článku */
.single-article__content {
  order: 1;
  font-size: 15px;
  line-height: 1.9;
  color: var(--charcoal);
}
 
.single-article__content p {
  margin-bottom: 1.25rem;
}
 
.single-article__content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--moss);
  margin: 2.5rem 0 1rem;
}
 
.single-article__content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--sage-dark);
  margin: 2rem 0 0.75rem;
}
 
.single-article__content strong {
  font-weight: 500;
  color: var(--charcoal);
}
 
.single-article__content em {
  font-style: italic;
  color: var(--earth);
}
 
.single-article__content a {
  color: var(--sage-dark);
  border-bottom: 1px solid var(--sage-light);
}
 
.single-article__content a:hover {
  color: var(--moss);
}
 
.single-article__content ul,
.single-article__content ol {
  margin: 0 0 1.25rem 1.5rem;
}
 
.single-article__content li {
  margin-bottom: 0.4rem;
}
 
.single-article__content blockquote {
  border-left: 4px solid var(--earth);
  background: var(--earth-pale);
  padding: 20px 28px;
  margin: 1.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--earth);
}
 
/* Navigácia prev/next — minimalistická, bez rámčekov */
.single-nav {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 960px;
}
 
.single-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
 
.single-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  padding: 0;
  border: none;
  background: none;
  transition: none;
}
 
.single-nav__item:hover .single-nav__title {
  color: var(--sage-dark);
}
 
.single-nav__item--empty {
  pointer-events: none;
}
 
.single-nav__item--next {
  text-align: right;
}
 
.single-nav__label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--earth);
}
 
.single-nav__item--next .single-nav__label {
  justify-content: flex-end;
}
 
.single-nav__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--moss);
  line-height: 1.35;
  transition: color 0.2s;
}
 
@media (max-width: 600px) {
  .single-nav__inner {
    grid-template-columns: 1fr;
  }
  .single-nav__item--next {
    text-align: left;
  }
  .single-nav__item--next .single-nav__label {
    justify-content: flex-start;
  }
}

/* =============================================================
   STRÁNKA FAQ — pridať na koniec style.css
   ============================================================= */

.faq-page-main {
  padding-bottom: 96px;
}

.faq-page-header {
  padding: 48px 0 40px;
}

/* Dvojstĺpcový layout — otázky vľavo, aside vpravo */
.faq-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.faq-page-list {
  min-width: 0;
}

/* Aside — sticky */
.faq-page-aside {
  position: sticky;
  top: 96px;
}

/* Responzívne */
@media (max-width: 860px) {
  .faq-page-layout {
    grid-template-columns: 1fr;
  }
  .faq-page-aside {
    position: static;
  }
}

/* =============================================================
   STRÁNKA SLUŽBY — pridať na koniec style.css
   ============================================================= */

.sluzby-main {
  padding-bottom: 96px;
}

.sluzby-header {
  padding: 48px 0 40px;
}

/* Horná časť — intro + accordion */
.sluzby-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border);
}

.sluzby-intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1rem;
}

.sluzby-accordion {
  min-width: 0;
}

/* Cenník */
.sluzby-cennik {
  max-width: 720px;
}

.sluzby-cennik__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--moss);
  margin-bottom: 28px;
}

.sluzby-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 15px;
}

.sluzby-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--earth);
  font-weight: 400;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid var(--border);
}

.sluzby-table th:last-child {
  padding-right: 0;
}

.sluzby-table td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  vertical-align: middle;
}

.sluzby-table td:last-child {
  padding-right: 0;
}

.sluzby-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 400;
  color: var(--moss);
}

.sluzby-table td:nth-child(3) {
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
}

.sluzby-table tbody tr:last-child td {
  border-bottom: none;
}

.sluzby-table tbody tr:hover td {
  background: var(--warm-white);
}

.sluzby-cennik__note {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.75;
  margin: 20px 0 32px;
  padding: 16px 20px;
  background: var(--earth-pale);
  border-left: 3px solid var(--earth-light);
  border-radius: 2px;
}

/* Responzívne */
@media (max-width: 760px) {
  .sluzby-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sluzby-table {
    font-size: 13px;
  }
  .sluzby-table th,
  .sluzby-table td {
    padding: 12px 8px 12px 0;
  }
  .sluzby-table td:nth-child(2),
  .sluzby-table td:nth-child(3) {
    white-space: normal;
  }
}

/* =============================================================
   TČM V KOCKE — pridať na koniec style.css
   ============================================================= */

.tcm-main {
  padding-bottom: 96px;
}

.tcm-header {
  padding: 48px 0 48px;
}

/* ACCORDION KAPITOL */
.tcm-accordion {
  max-width: 860px;
}

.tcm-chapter {
  border-top: 1px solid var(--border);
}
.tcm-chapter:last-child {
  border-bottom: 1px solid var(--border);
}

/* Hlavička kapitoly */
.tcm-chapter__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.tcm-chapter__header:hover .tcm-chapter__title {
  color: var(--sage-dark);
}

.tcm-chapter__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.tcm-chapter__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--earth-light);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.tcm-chapter__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--moss);
  line-height: 1.2;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.tcm-chapter__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Toggle ikona */
.tcm-chapter__toggle {
  flex-shrink: 0;
  color: var(--sage);
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.tcm-chapter.open .tcm-chapter__toggle {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: white;
}
.tcm-chapter__toggle .icon-minus { display: none; }
.tcm-chapter.open .tcm-chapter__toggle .icon-plus  { display: none; }
.tcm-chapter.open .tcm-chapter__toggle .icon-minus { display: block; }

/* Telo kapitoly — animované */
.tcm-chapter__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.tcm-chapter.open .tcm-chapter__body {
  max-height: 800px;
  padding-bottom: 28px;
}

/* Zoznam článkov v kapitole */
.tcm-chapter__list {
  list-style: none;
  border-left: 2px solid var(--sage-light);
  margin-left: 3.5rem;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tcm-chapter__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.tcm-chapter__item:last-child {
  border-bottom: none;
}

.tcm-chapter__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  gap: 1rem;
}
.tcm-chapter__link:hover .tcm-chapter__link-title {
  color: var(--sage-dark);
}
.tcm-chapter__link:hover .tcm-chapter__link-arrow {
  transform: translateX(4px);
}

.tcm-chapter__link-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--moss);
  transition: color 0.2s;
}

.tcm-chapter__link-arrow {
  font-size: 14px;
  color: var(--sage);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.tcm-chapter__link-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 4px;
}

/* =============================================================
   SIDEBAR pre single.php — zobrazí sa pri článkoch TČM v kocke
   ============================================================= */

.single-with-sidebar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}

.tcm-sidebar {
  position: sticky;
  top: 96px;
}

.tcm-sidebar__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--earth);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.tcm-sidebar__chapter {
  margin-bottom: 20px;
}

.tcm-sidebar__chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--moss);
  font-weight: 500;
  margin-bottom: 6px;
  padding: 4px 0;
}

.tcm-sidebar__links {
  list-style: none;
  border-left: 1px solid var(--border);
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tcm-sidebar__link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 3px 0;
  display: block;
  transition: color 0.2s;
  line-height: 1.4;
}
.tcm-sidebar__link:hover {
  color: var(--sage-dark);
}
.tcm-sidebar__link.active {
  color: var(--moss);
  font-weight: 500;
  border-left: 2px solid var(--sage);
  margin-left: -13px;
  padding-left: 11px;
}

/* Responzívne */
@media (max-width: 900px) {
  .single-with-sidebar {
    grid-template-columns: 1fr;
  }
  .tcm-sidebar {
    position: static;
    order: -1;
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 20px;
    background: var(--warm-white);
  }
}

@media (max-width: 600px) {
  .tcm-chapter__list {
    margin-left: 1rem;
  }
}

@media (max-width: 600px) {
  .disclaimer-bar__inner {
    padding: 0 24px;
  }
}

/* =============================================================
   FOOTER — inline štýly presunuté do CSS
   ============================================================= */

/* Logo v päte — flex layout (nahradza style="display:flex...") */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 16px;
}

/* Logo obrázok v päte — svetlejší filter */
.footer-logo__img {
  filter: brightness(1.6) saturate(0.7);
}

/* Názov webu v päte */
.footer-site-name {
  color: #a8c5a0;
}

/* Tagline v päte */
.footer-site-tagline {
  color: #c4a882;
}

/* Privacy link v päte */
.footer-privacy-link {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-privacy-link:hover {
  color: var(--sage-light);
}

/* =============================================================
   NAVIGÁCIA — aktívna položka menu
   ============================================================= */
.main-navigation .current-menu-item > a {
  color: var(--sage-dark);
}
.main-navigation .current-menu-item > a::after {
  transform: scaleX(1);
}

/* =============================================================
   MOBILNÉ MENU — SVG hamburger s animáciou → ×
   ============================================================= */

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--moss);
  border-radius: 2px;
  line-height: 0;
  position: relative;
  z-index: 201;
}

/* Animácia čiar SVG */
.menu-toggle__icon .line-top,
.menu-toggle__icon .line-mid,
.menu-toggle__icon .line-bottom {
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Otvorený stav — hamburger → × */
.menu-toggle.is-active .line-top {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.is-active .line-mid {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-active .line-bottom {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
}

/* =============================================================
   v1.1 OPRAVY
   ============================================================= */

/* 4. Príhovor — text zarovnať vľavo (nie justify) */
.prihovor-text p {
  text-align: left;
}

/* 5. Paginácia — horizontálne scrollovateľná na mobile */
@media (max-width: 600px) {
  .novinky-pagination {
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .novinky-pagination::-webkit-scrollbar { display: none; }
  .novinky-page-btn {
    flex-shrink: 0;
  }
}

/* 6. Článok s obrázkom — na mobile obrázok hore, text nižšie */
@media (max-width: 760px) {
  .single-article__body.has-thumbnail {
    display: flex;
    flex-direction: column;
  }
  .single-article__thumbnail {
    position: static;
    order: -1;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .single-article__img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
  }
  .single-article__content {
    width: 100%;
  }
}

/* =============================================================
   v1.5.1 — Formátovanie obsahu v accordione a článkoch
   ============================================================= */

/* Odseky <p> v accordione (Služby, FAQ, TČM v kocke) */
.faq-a p,
.tcm-chapter__body p,
.sluzby-accordion .faq-a p {
  display: block;
  margin-top: 0;
  margin-bottom: 0.9rem;
}
.faq-a p:last-child,
.tcm-chapter__body p:last-child {
  margin-bottom: 0;
}

/* Zoznamy <ul> a <ol> v accordione */
.faq-a ul,
.faq-a ol,
.tcm-chapter__body ul,
.tcm-chapter__body ol {
  margin: 0.5rem 0 0.85rem 1.5rem;
}
.faq-a ul { list-style: disc; }
.faq-a ol { list-style: decimal; }
.tcm-chapter__body ul { list-style: disc; }
.tcm-chapter__body ol { list-style: decimal; }
.faq-a li,
.tcm-chapter__body li {
  margin-bottom: 0.3rem;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Odseky, zoznamy v článkoch (single.php) */
.single-article__content p {
  margin-bottom: 1.2rem;
}
.single-article__content p:last-child {
  margin-bottom: 0;
}
.single-article__content ul,
.single-article__content ol {
  margin: 0.5rem 0 1.2rem 1.5rem;
}
.single-article__content ul { list-style: disc; }
.single-article__content ol { list-style: decimal; }
.single-article__content li {
  margin-bottom: 0.4rem;
  line-height: 1.8;
}

/* Odseky v stránkach (page.php, O nás, Kontakt, atď.) */
.single-article__content > p + p {
  margin-top: 0;
}



/* Globálne: <p> vždy ako blok s odsadením */
.faq-a p + p,
.tcm-chapter__body p + p,
.single-article__content p + p,
.sluzby-accordion .faq-a p + p {
  margin-top: 0.9rem;
}

/* =============================================================
   KONTAKT — nový dvojstĺpcový layout bez formulára
   ============================================================= */

.contact-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-col {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Pravý stĺpec — zarovnanie Telefón na úroveň Adresy
   Výška spaceru = section-label(11px+16px) + h2(~58px+20px) + subtitle(~52px+56px) ≈ 213px
   Použijeme flexbox s prázdnym spacer elementom v PHP */
.contact-col--right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact-col__spacer {
  display: block;
  height: 250px;
  flex-shrink: 0;
}

.contact-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Telefón a Email — link štýl v tmavej sekcii */
.contact-section .contact-col .value a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s;
}
.contact-section .contact-col .value a:hover {
  border-color: var(--sage-light);
  color: white;
}

@media (max-width: 760px) {
  .contact-grid-new {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-col--right {
    padding-top: 0;
    margin-top: 28px;
  }
  .contact-col__spacer {
    display: none;
  }
}
