/* --- CSS RESET & NORMALIZE --- */
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, button, input, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #2D4356;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
:focus-visible {
  outline: 2px solid #F5C16C;
  outline-offset: 2px;
}

/*--- BRAND FONTS & BASE TYPOGRAPHY ---*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #2D4356;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 18px;
  color: #2D4356;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
p, ul, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2D4356;
}
p {
  margin-bottom: 20px;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}
.small {
  font-size: 0.94rem;
}

/*--- CONTAINER AND LAYOUT ---*/
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  padding: 0 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(45, 67, 86, 0.04);
  padding: 32px 24px;
  transition: box-shadow 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 24px rgba(45, 67, 86, 0.10);
}

.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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(45,67,86,0.06);
  color: #2D4356;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.15s, transform 0.21s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 24px rgba(45,67,86,0.11);
  transform: translateY(-2px) scale(1.025);
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 18px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION --- */
.hero {
  background: #EBECF3;
  padding: 68px 0 54px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 32px 0 0 0;
}
.feature-grid li {
  flex: 1 1 200px;
  background: #fff;
  padding: 32px 20px 22px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(45,67,86,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 320px;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px rgba(45,67,86,0.10);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/*--- SERVICE LIST ---*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 10px rgba(45,67,86,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.2s;
}
.service-list li:hover {
  box-shadow: 0 6px 24px rgba(45,67,86,0.10);
}
.service-price {
  display: inline-block;
  background: #F5C16C;
  color: #2D4356;
  border-radius: 12px;
  padding: 2px 14px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
  align-self: flex-start;
}

/*--- WORKSHOP LIST ---*/
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.workshop-list li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 10px rgba(45,67,86,0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.2s;
}
.workshop-list li:hover {
  box-shadow: 0 6px 24px rgba(45,67,86,0.10);
}

/*--- RESOURCE LIST ---*/
.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.resource-list li {
  background: #fff;
  border-radius: 16px;
  padding: 26px 18px 18px 18px;
  box-shadow: 0 2px 10px rgba(45,67,86,0.06);
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 340px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
}

/*--- CTA SECTION ---*/
.cta-section {
  background: #2D4356;
  color: #fff;
  border-radius: 24px;
  margin-bottom: 48px;
  padding: 54px 0 54px 0;
}
.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
}
.cta-section p {
  color: #fff;
  opacity: 0.95;
}

/*--- BUTTONS ---*/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(45,67,86,0.05);
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.18s;
  border: none;
  outline: none;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-primary {
  background: #F5C16C;
  color: #2D4356;
}
.btn-primary:hover, .btn-primary:focus {
  background: #e4ad59;
  color: #2D4356;
  box-shadow: 0 3px 12px rgba(45,67,86,0.12);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  background: #fff;
  color: #2D4356;
  border: 2px solid #F5C16C;
  font-weight: 700;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F5C16C;
  color: #2D4356;
  border-color: #e4ad59;
  box-shadow: 0 3px 12px rgba(245,193,108,0.16);
  transform: translateY(-2px) scale(1.04);
}

/*--- MAIN NAVBAR ---*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(45, 67, 86, 0.04);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #2D4356;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  color: #F5C16C;
}
.main-nav .btn-primary {
  margin-left: 12px;
}

/*--- MOBILE MENU ---*/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #2D4356;
  cursor: pointer;
  display: none;
  z-index: 102;
  margin-left: 18px;
  transition: color 0.18s;
  padding: 6px 12px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #F5C16C;
  background: #EBECF3;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  box-shadow: -3px 0 24px rgba(45,67,86,0.14);
  padding-top: 34px;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: #2D4356;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1112;
  border-radius: 8px;
  padding: 3px 10px;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5C16C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 68px 0 0 28px;
}
.mobile-nav a {
  color: #2D4356;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 0;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5C16C;
  color: #2D4356;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/*--- FOOTER ---*/
footer {
  background: #fff;
  border-top: 1px solid #EBECF3;
  margin-top: 80px;
  padding: 44px 0 28px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav, .footer-contact, .footer-social, .footer-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  gap: 8px;
}
.footer-nav a {
  color: #2D4356;
  font-size: 1rem;
  opacity: 0.9;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5C16C;
}
.footer-contact p {
  font-size: 1rem;
  opacity: 0.87;
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 3px;
  color: #2D4356;
  transition: background 0.14s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #F5C16C;
}
.footer-logo img {
  height: 48px;
  margin-top: 10px;
  opacity: 0.98;
}

/*--- LINKS ---*/
a {
  cursor: pointer;
}
a:not(.btn-primary):not(.btn-secondary):hover {
  color: #F5C16C;
}

/*--- FORM INPUTS (for future forms, not present yet, but CSS needed) ---*/
input[type="text"], input[type="email"], textarea {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #EBECF3;
  padding: 14px 12px;
  width: 100%;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #2D4356;
  transition: border 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #F5C16C;
}

/*--- UTILITY FLEX CLASSES ---*/
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/*--- SPACING EXTRAS & OVERRIDES ---*/
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
@media (max-width: 700px) {
  section {
    margin-bottom: 36px;
    padding: 28px 0 0 0;
  }
}

/*--- RESPONSIVE DESIGN ---*/
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid,
  .service-list,
  .workshop-list,
  .testimonial-list,
  .resource-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-grid li,
  .service-list li,
  .workshop-list li,
  .resource-list li {
    min-width: 0;
    max-width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1, .hero h1 {
    font-size: 2.07rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section, section, .hero, .cta-section {
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .hero .container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 420px) {
  .main-nav, .footer-nav, .footer-contact, .footer-social, .footer-logo {
    font-size: 0.95rem;
  }
}

/*--- TESTIMONIALS STARS ---*/
.testimonial-card span {
  color: #F5C16C;
  font-size: 1.38rem;
  letter-spacing: 2px;
  align-self: flex-end;
}

/*--- MISC MINIMALIST RULES ---*/
::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #EBECF3;
  border-radius: 3px;
}

/*------------------- COOKIE CONSENT BANNER -------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1800;
  width: 100vw;
  padding: 18px 24px;
  background: #fff;
  border-top: 1.5px solid #EBECF3;
  box-shadow: 0 -3px 14px rgba(45,67,86,0.13);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  transition: transform 0.34s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: #2D4356;
  flex: 1 1 260px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  border: none;
  margin-right: 3px;
}
.cookie-btn.accept {
  background: #F5C16C;
  color: #2D4356;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #e4ad59;
}
.cookie-btn.reject {
  background: #EBECF3;
  color: #2D4356;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #d9d9ea;
}
.cookie-btn.settings {
  background: none;
  color: #2D4356;
  border: 2px solid #F5C16C;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F5C16C;
  color: #2D4356;
}

/*--- COOKIE PREFERENCES MODAL ---*/
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,67,86,0.10);
  z-index: 3999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(45,67,86,0.17);
  max-width: 410px;
  width: 96vw;
  padding: 44px 30px 28px 30px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #2D4356;
  cursor: pointer;
  border-radius: 6px;
  padding: 1px 7px;
  transition: background 0.18s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #F5C16C;
  color: #fff;
}
.cookie-modal h3 {
  color: #2D4356;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.switch {
  position: relative;
  width: 40px;
  height: 22px;
  display: inline-block;
}
.switch input {
  display: none;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #EBECF3;
  border-radius: 22px;
  transition: background 0.2s;
}
.switch input:checked + .slider {
  background-color: #F5C16C;
}
.slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(45,67,86,0.11);
  transition: transform 0.2s;
}
.switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-category input[disabled] + .slider {
  opacity: 0.64;
  cursor: not-allowed;
}

.cookie-modal__footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}

/*----------------- END COOKIE CSS --------------*/

/*--- PRINT ---*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .container { max-width: 100vw; }
  .section, section { padding: 0 !important; margin-bottom: 20px !important; }
  .card, .feature-grid li, .service-list li, .workshop-list li, .resource-list li {
    box-shadow: none !important;
    border: 1px solid #eee;
    padding: 10px !important;
  }
}
