/* --------------------------------------
   CSS RESET & BASE STYLES
--------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #18191b;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:active, a:focus { outline: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: none; }
button, input, select { font-family: inherit; }
button { background: none; border: none; cursor: pointer; }

/* --------------------------------------
   FONT SETUP
--------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 18px; }
h3 { font-size: 1.22rem; line-height: 1.22; margin-bottom: 14px; }
h4 { font-size: 1.05rem; margin-bottom: 10px; }
p, li, label, input, select, button, span {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}
p { margin-bottom: 18px; }
strong { font-weight: bold; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.33rem; }
}

/* --------------------------------------
   COLORS (Monochrome + Brand) and SHARED VARS
--------------------------------------- */
:root {
  --color-bg: #fff;
  --color-bg-alt: #F6F6F8;
  --color-primary: #1a1b1e;
  --color-secondary: #fff;
  --color-accent: #1671b3;
  --color-grey-100: #f1f2f6;
  --color-grey-200: #d4d7dd;
  --color-grey-300: #b0b3bb;
  --color-grey-700: #454649;
  --color-grey-900: #18191b;
}

/* --------------------------------------
   LAYOUT CONTAINERS & FLEX LAYOUTS (NO GRID)
--------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-alt);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px 0 rgba(32,32,32,0.075);
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1), transform .2s cubic-bezier(.4,0,.2,1);
}
.card:hover, .service-card:hover {
  box-shadow: 0 6px 28px 0 rgba(32,32,32,0.18);
  transform: translateY(-2px) scale(1.023);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 9px 0 rgba(0,0,0,0.08);
  margin-bottom: 20px;
  color: #18191b;
  min-width: 260px;
  max-width: 440px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------
   HEADER & NAVIGATION
--------------------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--color-grey-200);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.logo img { height: 40px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: #18191b;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color .18s cubic-bezier(.4,0,.2,1), border-bottom .2s;
  padding: 6px 0 5px;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #18191b;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.06rem;
  letter-spacing: .01rem;
  margin-left: 20px;
  box-shadow: 0 2px 12px rgba(40,40,40,0.06);
  border: none;
  outline: none;
  transition: background .18s, color .15s, box-shadow .18s, transform .13s;
   text-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(32,83,117,.12);
  transform: translateY(-1px) scale(1.04);
}
.cta-btn.accent {
  background: #fff;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cta-btn.accent:hover, .cta-btn.accent:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ----- Mobile Navigation Burger ----- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  font-size: 2rem;
  color: #18191b;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 150;
  margin-left: 18px;
  transition: color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(140deg, #fff 91%, #d4d7dd 100%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 38px;
  padding-left: 26px;
  box-shadow: 0 2px 36px 0 rgba(24,25,27,0.2);
  transform: translateX(100vw);
  transition: transform .33s cubic-bezier(.61,.01,.45,1.01);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  font-size: 2.1rem;
  color: #18191b;
  border: none;
  position: absolute;
  top: 24px;
  right: 38px;
  cursor: pointer;
  z-index: 151;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #18191b;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0 9px 0;
  border-radius: 8px;
  transition: background .18s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #eff3f7;
}

@media (min-width: 1001px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1000px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    justify-content: flex-start;
  }
}

/* --------------------------------------
   HERO & CORE SECTIONS
--------------------------------------- */
.hero, .hero-blog, .hero-support {
  background: #fff;
  padding: 60px 0 48px 0;
}
.hero .content-wrapper, .hero-blog .content-wrapper, .hero-support .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  text-align: left;
}
.hero h1, .hero-blog h1, .hero-support h1 {
  color: #18191b;
  font-size: 3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 14px;
}
.hero p, .hero-blog p, .hero-support p {
  color: #454649;
  font-size: 1.18rem;
}

@media (max-width: 768px) {
  .hero, .hero-blog, .hero-support {
    padding: 34px 0 18px 0;
  }
  .hero .content-wrapper, .hero-blog .content-wrapper, .hero-support .content-wrapper {
    gap: 16px;
  }
  .hero h1, .hero-blog h1, .hero-support h1 {
    font-size: 2.1rem;
  }
}

/* --------------------------------------
   FEATURE LISTS
--------------------------------------- */
.feature-list, .value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 10px;
  margin-bottom: 34px;
}
.feature-list li, .value-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #18191b;
  font-size: 1.02rem;
  background: #f8f8f9;
  border-radius: 10px;
  padding: 11px 20px 11px 13px;
  box-shadow: 0 1px 6px 0 rgba(44,45,46,0.04);
  font-weight: 500;
  min-width: 210px;
}
.feature-list img, .value-list img {
  width: 30px; height: 30px;
  filter: grayscale(95%) contrast(1.2);
}
@media (max-width:768px) {
  .feature-list, .value-list {
    gap: 14px; flex-direction: column;
  }
}

/* --------------------------------------
   COURSE CARDS & SERVICES
--------------------------------------- */
.service-cards, .detailed-course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  margin-bottom: 20px;
}
.service-card {
  background: #f7f7f9;
  border-radius: 15px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 1.5px 10px 0 rgba(30,32,40,.06);
  min-width: 270px;
  max-width: 360px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .16s;
  border: 1px solid #edeef1;
}
.service-card h3 {
  color: #18191b;
  font-size: 1.18rem;
}
.service-card p {
  font-size: 1.05rem;
  color: #3c3d41;
  margin-bottom: 19px;
}
.course-price {
  color: var(--color-accent);
  background: #e9f2fb;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
  padding: 6px 18px;
  border-radius: 12px;
  font-size: 1rem;
}
@media (max-width:900px) {
  .service-cards, .detailed-course-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* --------------------------------------
   TESTIMONIALS & REVIEWS
--------------------------------------- */
.testimonials {
  background: #f6f7f9;
  padding: 46px 0 32px 0;
}
.testimonials .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 14px;
}
.testimonial-card {
  background: #fff;
  color: #18191b;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 370px;
  min-width: 220px;
  box-shadow: 0 2px 16px 0 rgba(44,45,46,.10);
  border-radius: 14px;
  padding: 22px 24px 18px 24px;
  position: relative;
  margin-bottom: 20px;
  font-size: 1.03rem;
}
.testimonial-card strong {
  padding-top: 9px;
  color: #323235;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 1000px) {
  .testimonials .testimonial-cards {
    flex-direction: column;
    gap: 18px;
  }
}

/* --------------------------------------
   FOOTER
--------------------------------------- */
footer {
  background: #18191b;
  color: #f1f1f1;
  padding-top: 32px;
  padding-bottom: 18px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 14px;
}
.footer-main a img { height: 35px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px 28px;
}
.footer-nav a {
  color: #f1f1f1;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.99rem;
  opacity: .88;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  opacity: 1.0;
}
.footer-bottom {
  text-align: left;
  font-size: 0.97rem;
  opacity: 0.76;
}
@media (max-width:800px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
 }

/* --------------------------------------
   BLOG LISTS, CATEGORY FILTER, ARTICLE GRID
--------------------------------------- */
.blog-list {
  background: #fff;
  padding: 38px 0 40px 0;
}
.category-filter, .course-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 22px 0;
  flex-wrap: wrap;
  font-size: .98rem;
}
.category-filter label {
  font-weight: 700;
  margin-right: 8px;
}
.category-filter select {
  padding: 7px 20px 7px 9px;
  border-radius: 10px;
  border: 1px solid #e2e4e8;
  background: #fff;
  font-size: 1rem;
  color: #18191b;
}
.course-filter span {
  font-weight: 600; color: #202224; margin-right: 8px;
}
.course-filter button {
  background: #e5f1fa;
  color: #1671b3;
  border: 1.2px solid #b0b3bb;
  padding: 9px 17px;
  border-radius: 9px;
  font-size: .98rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 4px;
  margin-bottom: 6px;
  transition: background .18s, color .16s, border .19s;
}
.course-filter button:hover, .course-filter button:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.blog-grid article {
  background: #fafbfc;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px 0 rgba(32,53,117,.04);
  padding: 24px 22px 16px 22px;
  max-width: 340px;
  min-width: 200px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border: 1px solid #f1f2f6;
  transition: box-shadow .19s, transform .15s;
}
.blog-grid article h3 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.blog-grid article a {
  color: var(--color-accent);
  font-family: 'Montserrat',sans-serif;
  font-weight:600;
  font-size: 1.01rem;
  text-decoration: underline;
  transition: color .17s;
}
.blog-grid article a:hover {
  color: #18191b;
}

@media (max-width:900px) {
  .blog-grid {
    flex-direction: column;
    gap: 14px;
  }
}


/* --------------------------------------
   FORM (SUPPORT SEARCH, FAQ)
--------------------------------------- */
.search-faq-input {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.search-faq-input label {
  font-weight: 600;
}
.search-faq-input input {
  border: 1.1px solid #d4d7dd;
  border-radius: 9px;
  padding: 11px 19px 11px 13px;
  font-size: .98rem;
  background: #fafcfe;
  transition: border .17s;
}
.search-faq-input input:focus {
  outline: none;
  border:1.2px solid var(--color-accent);
}


/* --------------------------------------
   TIMELINE & STEPS ("jak-to-funguje")
--------------------------------------- */
.step-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 0;
  margin-bottom: 30px;
}
.step-timeline li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8fafd;
  border-left: 4px solid var(--color-accent);
  padding: 17px 24px 17px 18px;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 1px 9px 0 rgba(32,53,117,.03);
}
.step-timeline li strong {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.02rem;
  margin-bottom: 2px;
}

@media (max-width:650px) {
 .step-timeline li {
   border-left-width: 3px;
   padding: 12px 10px 12px 11px;
 }
}

/* --------------------------------------
   TEAM OVERVIEW, FAQ HIGHLIGHTS, VALUES
--------------------------------------- */
.team-overview, .faq-highlights {
  margin-top: 8px;
  margin-bottom: 8px;
  background: #f5f7fa;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(32,53,117,.03);
  padding: 18px 22px;
}
.team-overview h3, .faq-highlights h3 {
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.team-overview ul, .faq-highlights ul {
  margin-left: 0;
}
.team-overview li, .faq-highlights li {
  font-size: .98rem;
  margin-bottom: 6px;
  color: #191b1e;
}

/* --------------------------------------
   SHORT STATS ON "o-nas"
--------------------------------------- */
.short-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  margin-top: 16px;
}
.short-stats > div {
  min-width: 100px;
  background: #f2f4f8;
  border-radius: 8px;
  box-shadow: 0 1px 7px 0 rgba(32,53,117,0.03);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.short-stats strong {
  font-size: 1.4rem;
  font-family: 'Montserrat',sans-serif;
}
.short-stats span {
  font-size: 1rem;
  opacity: .77;
}
@media (max-width:700px) {
  .short-stats { flex-direction: column; gap: 14px; }
}

/* --------------------------------------
   CONTACT PAGE UTILITY
--------------------------------------- */
.contact-details, .map-location, .address-block, .office-hours, .social-links {
  margin-bottom: 22px;
}
.address-block p, .office-hours ul li {
  font-size: 1rem;
  color: #28292b;
}
.office-hours ul { padding-left: 0; margin: 0; }
.social-links img { height: 22px; width: 22px; margin-left: 5px; filter: grayscale(1); }

/* --------------------------------------
   LEGAL PAGES
--------------------------------------- */
.legal {
  background: #f8fafd;
  padding: 38px 0 44px 0;
}
.legal h1 {
  color: #18191b;
  margin-bottom: 18px;
}
.legal ul li {
  margin-bottom: 9px;
  color: #36373c;
  font-size: 1rem;
}

/* --------------------------------------
   THANK YOU PAGE
--------------------------------------- */
.thank-you {
  padding: 54px 0 44px 0;
  background: #fff;
}
.thank-you h1 {
  color: #1671b3;
  font-family: 'Montserrat',sans-serif;
  font-size: 2.4rem;
}
.thank-you .cta-btn {
  margin-top: 22px;
}
@media (max-width: 600px) {
  .thank-you h1 { font-size: 1.4rem; }
}

/* --------------------------------------
   CTA BANNER/FINAL
--------------------------------------- */
.cta-final, .cta {
  padding: 44px 0 42px 0;
  background: #18191b;
  color: #fff;
}
.cta-final h2, .cta h2 {
  color: #fff;
  font-size: 2rem;
}
.cta-final p, .cta p {
  color: #d4d7dd;
}
.cta-final .cta-btn, .cta .cta-btn {
  background: var(--color-accent);
  color: #fff;
  margin-top: 7px;
}
.cta-final .cta-btn:hover, .cta .cta-btn:hover {
  background: #fff;
  color: var(--color-accent);
}

/* --------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #18191b;
  color: #fff;
  border-top: 2px solid #b0b3bb;
  box-shadow: 0 -4px 24px rgba(24,25,27,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 16px 18px 16px;
  animation: fadein-banner .5s;
}
@keyframes fadein-banner {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}
.cookie-banner button {
  padding: 10px 26px;
  border-radius: 20px;
  background: #fff;
  color: #18191b;
  border: 1.2px solid var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
  margin-right: 6px;
  margin-bottom: 0;
  transition: background .17s, color .15s, border .15s, box-shadow .19s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent);
  color: #fff;
  border: 1.4px solid var(--color-accent);
  box-shadow: 0 2px 8px 0 #3ea8ff24;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(25,25,25,.4);
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadein .27s;
}
.cookie-modal-inner {
  background: #fff;
  color: #18191b;
  border-radius: 16px;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 8px 48px rgba(32, 83, 117, .17);
  min-width: 320px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.8rem;
  background: none;
  color: #b0b3bb;
  border: none;
  cursor: pointer;
  z-index: 2120;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-category label {
  margin-left: 10px;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin-left: 0;
}
.cookie-category.essential input[type='checkbox'] {
  accent-color: #b0b3bb;
}
.cookie-category.essential label {
  color: #9ea6af;
}
.cookie-modal-inner .cookie-save {
  margin-top: 10px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  padding: 10px 26px;
  border: none;
  border-radius: 18px;
  transition: background .13s;
}
.cookie-modal-inner .cookie-save:hover {
  background: #205375;
}
@media (max-width:430px) {
  .cookie-modal-inner {
    min-width: 90vw; padding: 17px 5vw 14px 5vw;
  }
}

/* --------------------------------------
   RESPONSIVE DESIGN (Mobile-First)
--------------------------------------- */
@media (max-width: 700px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .footer-main {
    gap: 14px;
  }
  h1 {font-size: 1.4rem;}
  h2 {font-size: 1.21rem;}
  .section { padding: 18px 4px; margin-bottom: 36px;}
}

/* --------------------------------------
   GENERAL MICRO-INTERACTIONS/ANIMATIONS
--------------------------------------- */
button, a.cta-btn {
  transition: background .18s, color .17s, box-shadow .15s, transform .15s;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* Subtle hover for cards */
.service-card, .card, .blog-grid article {
  cursor: pointer;
}
.service-card:active, .blog-grid article:active {
  transform: scale(0.98);
}

/* --------------------------------------
   Z-INDEX MANAGEMENT
--------------------------------------- */
header {
  z-index: 100;
}
.mobile-menu {
  z-index: 140;
}
.cookie-modal {z-index: 2100;}
.cookie-banner {z-index: 2000;}

/* --------------------------------------
   NARROWER MAINTENANCE ON ALL COMPONENTS
--------------------------------------- */
.section, .card, .testimonial-card, .service-card, .blog-grid article, .legal, .cta-final, .cta {
  margin-bottom: 20px;
}

/* Ensures NO OVERLAPPING and FLEX SPACING */
.section, .card-container, .card, .content-grid, .testimonial-cards, .service-cards, .detailed-course-list, .blog-grid {
  gap: 20px;
}

/* Prevents cards and feature boxes overlapping on wrap */
@media (max-width: 500px) {
  .card, .testimonial-card, .service-card, .blog-grid article {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding-left: 7px;
    padding-right: 7px;
  }
}
