/* ------------------------------------------------------------------
   RESET & NORMALIZE
-------------------------------------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #12395B;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: 0.01em;
  position: relative;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #12395B;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 { font-size: 2.25rem; line-height: 1.17; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; line-height: 1.22; }
h3 { font-size: 1.125rem; margin-bottom: 12px; line-height: 1.24; }
h4, h5, h6 { margin-bottom: 6px; }

p, ul, ol, dl {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 1.4em;
}
dl dt {
  font-weight: 700;
}
dl dd {
  margin-bottom: 10px;
  margin-left: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #12395B;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F29D35;
  text-decoration: none;
}

/* ------------------------------------------------------------------
   GEOMETRIC_STRUCTURED BRAND PALETTE
-------------------------------------------------------------------*/
:root {
  --color-primary: #12395B;
  --color-secondary: #E7F0F9;
  --color-accent: #F29D35;
  --color-text: #12395B;
  --color-bg: #fff;
  --color-border: #d5dce3;
  --color-shadow: rgba(18,57,91,0.07);
  --color-shadow-deep: rgba(18,57,91,0.10);
  --color-success: #22b573;
  --color-error: #e15656;
}

/* ------------------------------------------------------------------
   CONTAINER, SECTIONS, STRUCTURE
-------------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 20px;
  box-shadow: 0 6px 32px var(--color-shadow);
  border: 1.5px solid var(--color-secondary);
}
main > section:last-child { margin-bottom: 0; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.content-wrapper.cta {
  align-items: center;
  text-align: center;
  background: var(--color-secondary);
  border-radius: 24px;
  padding: 40px 24px;
  gap: 24px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ------------------------------------------------------------------
   NAVIGATION & HEADER: GEOMETRIC/BLOCKY FLEX LAYOUT
-------------------------------------------------------------------*/
header {
  background: var(--color-bg);
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
  position: relative;
}
header nav > a img {
  height: 38px;
  width: auto;
  min-width: 104px;
}
header nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-text);
  letter-spacing: 0.01em;
  padding: 8px 14px 8px 14px;
  border-radius: 12px;
  transition: background .18s, color .18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.btn.btn-primary, .btn.btn-secondary {
  border: none;
  padding: 12px 32px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  box-shadow: 0 3px 16px var(--color-shadow);
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  letter-spacing: 0.085em;
  outline: none;
  margin-left: 20px;
  margin-top: 0;
}
.btn.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.btn.btn-primary:hover, 
.btn.btn-primary:focus {
  background: #07213a;
  color: #F29D35;
  transform: scale(1.04);
}
.btn.btn-secondary:hover, 
.btn.btn-secondary:focus {
  background: #db8727;
  color: #fff;
  transform: scale(1.04);
}

/* ------------------------------------------------------------------
   MOBILE NAVIGATION & HAMBURGER MENU
-------------------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 16px;
  padding: 9px 12px;
  font-size: 2rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 111;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg);
  box-shadow: 0 12px 38px var(--color-shadow-deep);
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.77,0,.18,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 26px 0 0;
  background: var(--color-secondary);
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  color: var(--color-primary);
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background .18s, color .18s;
  z-index: 202;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-secondary);
  padding: 14px 20px;
  border-radius: 16px;
  transition: background .18s, color .18s;
  margin-right: 0;
  margin-bottom: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 1000px) {
  header nav ul {
    display: none;
  }
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  .btn.btn-primary {
    margin-top: 10px;
  }
}

/* ------------------------------------------------------------------
   FLEXBOX GRIDS & GEOMETRIC CARDS
-------------------------------------------------------------------*/
.card-container,
.feature-grid,
.benefits-grid,
.service-cards,
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
  justify-content: flex-start;
}
.card,
.service-card,
.course-detail,
.workshop-detail {
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 3px 14px var(--color-shadow);
  border: 1.5px solid var(--color-border);
  padding: 26px 24px;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 390px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .service-card:hover, .course-detail:hover, .workshop-detail:hover {
  box-shadow: 0 6px 32px var(--color-shadow-deep);
  transform: translateY(-5px) scale(1.015);
}

.feature-grid {
  gap: 24px;
  flex-wrap: wrap;
}
.feature-grid li {
  background: #fff;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid var(--color-secondary);
  gap: 16px;
  min-width: 230px;
  flex: 1 1 180px;
  box-shadow: 0 2px 8px var(--color-shadow);
  font-size: 1rem;
  margin-bottom: 0;
  margin-right: 0;
  transition: box-shadow .16s;
}
.feature-grid li img {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}
.service-cards { gap: 24px; }
.service-card strong {
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 6px;
}
.course-list, .benefits-grid {
  gap: 24px;
  justify-content: stretch;
  flex-wrap: wrap;
}
.course-detail, .workshop-detail {
  box-shadow: 0 2px 10px var(--color-shadow);
  background: #fff;
  padding: 28px 22px 20px 22px;
  border-radius: 19px;
  flex: 1 1 270px;
}
.benefits-grid li {
  flex: 1 1 200px;
  background: var(--color-secondary);
  padding: 18px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}

/* ------------------------------------------------------------------
   TABLES – FLAT GRID-LIKE USING FLEXBOX
-------------------------------------------------------------------*/
.service-comparison {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 24px;
  margin-top: 10px;
}
.service-comparison th, .service-comparison td {
  border: 1.5px solid var(--color-border);
  padding: 14px 10px;
  text-align: left;
  font-size: 0.98rem;
}
.service-comparison th {
  background: var(--color-secondary);
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing:0.05em;
}
.service-comparison tr:nth-child(even) td {
  background: #f9fbfd;
}
.service-comparison strong {
  color: var(--color-accent);
}

/* ------------------------------------------------------------------
   SECTION, TEXT-IMAGE FLEX-BOX
-------------------------------------------------------------------*/
.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) {
  .content-grid { flex-direction: column; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
}

/* ------------------------------------------------------------------
   TESTIMONIALS – FLEX, HIGH CONTRAST, GEOMETRIC CARDS
-------------------------------------------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #12395B;
  border-radius: 16px;
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 3px 16px var(--color-shadow);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 560px;
  transition: box-shadow .17s;
  font-size: 1.04rem;
}
.testimonial-card p {
  flex: 1 1 auto;
  font-size: 1.04rem;
  font-style: italic;
  font-family: 'Open Sans',Arial,sans-serif;
  line-height: 1.5;
  margin-bottom: 0;
  color: #12395B;
}
.testimonial-card span {
  font-family: 'Montserrat',sans-serif;
  font-style: normal;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 1rem;
  min-width: 120px;
  text-align: right;
}

/* ------------------------------------------------------------------
   FOOTER – FLEX, BLOCKY, STRUCTURED
-------------------------------------------------------------------*/
footer {
  background: var(--color-secondary);
  padding: 40px 20px 18px 20px;
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-radius: 32px 32px 0 0;
}
footer .container {
  padding: 0;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 44px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .content-wrapper > div:first-child img {
  margin-bottom: 12px;
  max-height: 45px;
}
footer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav ul li a {
  text-decoration: none;
  color: #12395B;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  padding: 7px 0;
  transition: color .18s;
}
footer nav ul li a:hover,
footer nav ul li a:focus {
  color: var(--color-accent);
}
footer ul {
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.98rem;
}
footer ul li img { width: 20px; height: 20px; }
footer .content-wrapper > div:last-child p {
  color: #425262;
  font-size: 0.99rem;
  margin-top: 11px;
}
@media (max-width: 950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
  }
}

/* ------------------------------------------------------------------
   PRICE & FEATURE-LIST
-------------------------------------------------------------------*/
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list li {
  background: var(--color-secondary);
  border-radius: 14px;
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  font-size: 1.02rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-list .service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-accent);
  margin-left: 10px;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------------
   MAP/LOCATION
-------------------------------------------------------------------*/
.map-location {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--color-secondary);
  border-radius: 16px;
  padding: 18px 24px;
  margin-top: 16px;
}
.map-location p {
  font-size: 0.96rem;
}

/* ------------------------------------------------------------------
   FAQ (Definition Lists)
-------------------------------------------------------------------*/
dl {
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
dl dt {
  color: var(--color-accent);
  font-weight: 700;
  font-family: 'Montserrat',Arial,sans-serif;
  margin-bottom: 1px;
  font-size: 1rem;
}
dl dd {
  margin-left: 0;
  color: #40505f;
}

/* ------------------------------------------------------------------
   GEOMETRIC EFFECTS & MICRO-ANIMATIONS
-------------------------------------------------------------------*/
.section, .card, .service-card, .course-detail, .workshop-detail, .testimonial-card, .feature-grid li {
  transition: box-shadow 0.18s, transform 0.14s;
}
.section:hover, .card:hover, .service-card:hover, .feature-grid li:hover {
  box-shadow: 0 12px 48px var(--color-shadow-deep);
  transform: translateY(-2px) scale(1.012);
}

.btn,
input[type="submit"],
button {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform .13s;
}

/* ------------------------------------------------------------------
   RESPONSIVE & MOBILE-FIRST
-------------------------------------------------------------------*/
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .section, main > section {
    padding: 30px 5vw;
  }
}
@media (max-width: 850px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.13rem; }
  .btn { font-size: 1rem; padding: 11px 24px; }
  .footer .content-wrapper { gap: 21px !important; }
}
@media (max-width: 650px) {
  .section, main > section {
    border-radius: 11px;
    padding: 24px 5vw;
    margin-bottom: 36px;
  }
  .content-wrapper.cta {
    border-radius: 14px;
    padding: 24px 9px;
  }
  .feature-grid, .card-container, .card, .service-cards, .course-list, .benefits-grid {
    gap: 16px;
  }
  .testimonial-card {
    padding: 13px;
    border-radius: 11px;
    font-size: 0.98rem;
  }
  .service-card, .card {
    min-width: 160px;
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 0.99rem; }
  .btn { font-size: 0.97rem; padding: 10px 16px; }
}

/* ------------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-secondary);
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -6px 32px var(--color-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1001;
  padding: 17px 32px 17px 32px;
  font-size: 1rem;
  transition: transform .28s;
}
.cookie-banner.hide { transform: translateY(110%); }
.cookie-banner p {
  margin-bottom: 0;
  color: #12395B;
  flex: 1 1 220px;
  max-width: 80vw;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner .btn {
  margin-left: 0;
  margin-top: 0;
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 20px;
}
.cookie-banner .btn-settings {
  background: none;
  color: var(--color-primary);
  border: 1.4px solid var(--color-primary);
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,57,91,0.14);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-inner {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 48px var(--color-shadow-deep);
  border: 1.5px solid var(--color-border);
  max-width: 96vw;
  min-width: 320px;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.03rem;
}
.cookie-modal-inner h3 {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  font-size: 1.13rem;
  text-transform: uppercase;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 24px;
  height: 24px;
}
.cookie-category.essential label {
  font-weight: 700;
  color: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  transition: color .15s;
  z-index: 1004;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 8vw 17px 6vw;
    gap: 15px;
  }
  .cookie-banner p { max-width: 99vw; }
  .cookie-modal-inner { padding: 17px 7vw 18px 7vw; min-width: 0; }
}

/* ------------------------------------------------------------------
   FORM ELEMENTS
-------------------------------------------------------------------*/
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  border: 1.5px solid var(--color-border);
  background: var(--color-secondary);
  padding: 12px 14px;
  outline: none;
  margin-bottom: 14px;
  width: 100%;
  transition: border .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

/* ------------------------------------------------------------------
   MISC GEOMETRIC DECORATIVE SHAPES (minimal so only a suggestion)
-------------------------------------------------------------------*/
.section:before {
  content: '';
  display: none; /* optionally enabled for background geometric styling */
}

/* ------------------------------------------------------------------
   UTILITY CLASSES & OVERRIDES
-------------------------------------------------------------------*/
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* ------------------------------------------------------------------
   GEOMETRIC FONTS & TYPOGRAPHY
-------------------------------------------------------------------*/
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  color: #425262;
  font-weight: 400;
  margin-bottom: 6px;
}

strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}

/* ------------------------------------------------------------------
   ACCESSIBILITY
-------------------------------------------------------------------*/
:focus-visible {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   PRINT (no mobile nav/cookie)
-------------------------------------------------------------------*/
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle, header, footer {display:none !important;}
  .section, main > section { border:none !important; box-shadow:none !important; padding:0 !important; }
}
