/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 93.75%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #333333;
  background: #fff;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}
a { color: #1d3f4d; text-decoration: none; }
a:hover { color: #c10fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'ABeeZee', sans-serif;
  font-weight: 400;
  color: #1d3f4d;
}
h2 { font-size: 2.8rem; line-height: 1.1; }
h3 { font-size: 1.5rem; line-height: 1.3; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}
section { padding: 60px 0; scroll-margin-top: 60px; }

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  background: #1d3f4d;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.btn:hover { background: #35617a; color: #f9f6fe; }
.btn-outline {
  background: transparent;
  border: 2px solid #1d3f4d;
  color: #1d3f4d;
}
.btn-outline:hover { background: #1d3f4d; color: #fff; }
.btn-white {
  background: #fff;
  color: #1d3f4d;
}
.btn-white:hover { background: #f0f5f8; color: #1d3f4d; }

/* ===== NAVIGATION ===== */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s;
}
#masthead.scrolled {
  background: #1d3f4d;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
}
.site-title-nav {
  font-family: 'ABeeZee', sans-serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 400;
}
.site-title-nav:hover { color: #fff; }
nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}
nav ul li a {
  color: rgba(242,245,247,0.76);
  font-size: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li a.active { color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* ===== HERO ===== */
#hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(29, 63, 77, 0.55);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2rem;
}
.hero-content h1 {
  font-family: 'ABeeZee', sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-content .tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== STATS CARDS SEKCE ===== */
#stats {
  background: #fff;
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  padding: 2rem 1.5rem;
  color: #333;
  text-align: center;
}
.stat-card h1 {
  font-size: 3.5rem;
  color: #1d3f4d;
  margin-bottom: 0.8rem;
}
.stat-card .stat-number {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #1d3f4d;
  display: block;
  margin-bottom: 0.3rem;
}
.stat-card .stat-label {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: block;
}
.stat-card .stat-intro {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}



/* ===== ELFSIGHT / GOOGLE REVIEWS ===== */
#reviews {
  background: #fff;
  padding: 60px 0;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  background: rgba(29,63,77,0.08);
  color: #1d3f4d;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

/* ===== MŮJ PŘÍBĚH ===== */
#pribeh {
  background: linear-gradient(135deg, rgb(26,70,96) 0%, rgb(29,63,77) 26%, rgb(29,63,77) 63%, rgb(0,0,0) 100%);
  color: #fff;
  padding: 60px 0;
}
#pribeh h2 { color: #fff; }
.pribeh-inner {
  max-width: 100%;
}
.pribeh-inner blockquote {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 1.8rem;
}
.pribeh-inner p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
}
.pribeh-inner em {
  color: rgba(255,255,255,0.9);
  font-style: italic;
}

/* ===== BLOG ===== */
#blog { background: #f5f7f9; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 1.2rem; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.blog-card-body h3 a { color: #1d3f4d; }
.blog-card-body h3 a:hover { color: #c10fff; }
.blog-card-body p { font-size: 1rem; color: #666; line-height: 1.5; }

/* ===== SECTION HEADER ===== */
.section-alt { background: #f5f7f9; }
.section-header {
  text-align: left;
  margin-bottom: 3rem;
}
.section-header .quote {
  font-style: italic;
  color: #666;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.section-header .quote::before { content: '„'; }
.section-header .quote::after { content: '"'; }

/* ===== ACCORDION ===== */
.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: 'ABeeZee', sans-serif;
  font-size: 1.1rem;
  color: #1d3f4d;
  user-select: none;
}
.accordion-header:hover { background: #f0f5f8; }
.accordion-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #1d3f4d;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: #555;
  line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { margin-bottom: 0.8rem; }
.accordion-tools {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}
.two-col-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.two-col-text h3 {
  margin-bottom: 1rem;
}
.two-col-text p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.fin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.fin-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.fin-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.fin-card h3 {
  font-size: 1.05rem;
  margin: 1.2rem 1.4rem 0.6rem;
}
.fin-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin: 0 1.4rem 1.4rem;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .fin-cards { grid-template-columns: 1fr; }
}

/* ===== INVESTICE GRID ===== */
.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.invest-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.invest-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.invest-card h3 {
  font-size: 1.05rem;
  margin: 1.2rem 1.4rem 0.6rem;
}
.invest-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin: 0 1.4rem 1.4rem;
}
@media (max-width: 768px) {
  .invest-grid { grid-template-columns: 1fr; }
}

/* ===== NÁSTROJE ===== */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.tool-card {
  text-align: center;
}
.tool-card a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.2s;
}
.tool-card a:hover { opacity: 0.85; }
.tool-card img {
  width: 100%;
  height: auto;
  display: block;
}
.tool-card p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #555;
}
@media (max-width: 600px) {
  .tools-grid { grid-template-columns: 1fr; }
}

/* ===== SECTION INTRO ===== */
.section-intro {
  margin-bottom: 2.5rem;
  color: #555;
}

/* ===== KONTAKT TITLE ===== */
.kontakt-title {
  margin-top: 0.5rem;
}

/* ===== SECTION CTA ===== */
.section-cta {
  margin-top: 2rem;
  text-align: center;
}
.section-cta .btn {
  width: 75%;
  display: inline-block;
  text-align: center;
}

/* ===== VZDĚLÁVÁNÍ - ÚROVNĚ ===== */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.level-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 6px solid #1d3f4d;
  transition: transform 0.2s;
}
.level-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.level-card h3 { margin: 1.2rem 1.4rem 0.6rem; }
.level-card p { font-size: 1rem; color: #666; line-height: 1.6; margin: 0 1.4rem 1.4rem; }
.level-card.bronze { border-color: #cd7f32; }
.level-card.silver { border-color: #a8a9ad; }
.level-card.gold   { border-color: #d4af37; }
.level-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.bronze .level-badge { background: #cd7f32; }
.silver .level-badge { background: #a8a9ad; }
.gold   .level-badge { background: #d4af37; }
.uvod { border-color: #1d3f4d; }

/* ===== FAQ ===== */
#faq { background: #fff; }
.faq-intro {
  font-style: italic;
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.faq-card strong {
  display: block;
  font-style: italic;
  color: #1d3f4d;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
}
.faq-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.kontakt-info p { margin-bottom: 1rem; color: #555; }
.kontakt-info .kontakt-quote::before,
.kontakt-info .kontakt-quote::after { content: ''; }
.kontakt-info .kontakt-quote {
  font-style: italic;
  color: #666;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}
.kontakt-details { margin-bottom: 2rem; }
.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: #555;
}
.kontakt-detail svg { flex-shrink: 0; margin-top: 3px; color: #1d3f4d; }
.kontakt-detail a { color: #1d3f4d; }
.kontakt-detail a:hover { color: #35617a; }

/* ===== ARTICLE PAGE ===== */
.article-hero {
  height: 18vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(29, 63, 77, 0.55);
}
.article-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.article-hero-content h1 {
  font-family: 'ABeeZee', sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1.2;
}
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.article-body p {
  margin-bottom: 1.2rem;
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
}
.article-body strong { color: #1d3f4d; }
.article-body a { color: #1d3f4d; text-decoration: underline; }
.article-body a:hover { color: #35617a; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #1d3f4d;
  font-size: 1rem;
  margin-bottom: 2rem;
  text-decoration: none;
}
.article-back:hover { color: #35617a; }

/* ===== COOKIE BAR ===== */
#cookieBar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #1d3f4d;
  color: rgba(255,255,255,0.9);
  padding: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
#cookieBar p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-btns {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}
#cookieAccept {
  background: #fff;
  color: #1d3f4d;
  border: none;
  padding: 8px 20px;
  border-radius: 30px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
#cookieAccept:hover { background: #f0f5f8; }
#cookieReject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 30px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
#cookieReject:hover { border-color: #fff; color: #fff; }

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, rgb(26,70,96) 0%, rgb(29,63,77) 26%, rgb(29,63,77) 63%, rgb(0,0,0) 100%);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
}
footer a { color: rgba(255,255,255,0.6); }
footer a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .stat-card h1 { font-size: 2rem; }
  .stat-card .stat-number { font-size: 2rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  h2 { font-size: 2rem; }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #1d3f4d;
    padding: 1rem 2rem;
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-inner { padding: 1rem; }
  section { padding: 40px 0; }
  #stats { padding: 40px 0; }
  #reviews { padding: 0 0 40px; }
}
@media (max-width: 480px) {
  .levels-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
