/* 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #294769;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', 'Roboto', Arial, sans-serif;
  color: #294769;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
p, li, dl, dt, dd, th, td {
  font-size: 1rem;
  color: #294769;
  line-height: 1.6;
  margin-bottom: 16px;
}
.lead {
  font-size: 1.25rem;
  color: #294769;
  margin-bottom: 24px;
  font-family: 'Baloo 2', 'Roboto', Arial, sans-serif;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  .lead { font-size: 1.05rem; }
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(41, 71, 105, 0.04);
  transition: box-shadow 0.2s;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 10px;
    border-radius: 12px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
}
header nav a {
  font-size: 1rem;
  padding: 6px 8px;
  color: #294769;
  opacity: 0.85;
  border-radius: 4px;
  transition: background 0.15s, opacity 0.2s;
  font-family: 'Roboto', Arial, sans-serif;
}
header nav a:hover, header nav a:focus {
  background: #F2BB05;
  color: #294769;
  opacity: 1;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 16px;
}
.cta-btn {
  background: #294769;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(41, 71, 105, 0.05);
  transition: background 0.19s, box-shadow 0.22s, transform 0.19s;
  letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F2BB05;
  color: #294769;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(41, 71, 105, 0.09);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #294769;
  padding: 8px 12px;
  margin-left: 16px;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 41;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2BB05;
  color: #294769;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px 48px 24px;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 0 60px rgba(41,71,105,0.18);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #294769;
  align-self: flex-end;
  padding: 5px 10px;
  margin-bottom: 24px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F2BB05;
  color: #294769;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #294769;
  font-weight: 500;
  padding: 10px 0 10px 10px;
  border-radius: 4px;
  transition: background 0.15s;
  letter-spacing: 0.02em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2BB05;
  color: #294769;
}

@media (max-width: 992px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS */
main {
  margin-top: 16px;
}
section {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
  }
}

/* FLEX UTILITIES & PATTERNS */
.features-grid, .values-list, .benefit-list, .advice-grid, .blog-list, .workshop-list, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .features-grid, .values-list, .benefit-list, .advice-grid, .blog-list, .workshop-list, .services-list {
    flex-direction: column;
    gap: 20px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FFFAFB;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(41, 71, 105, 0.07);
  border: 1px solid #ebeef4;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border-color 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(41, 71, 105, 0.13);
  border-color: #F2BB05;
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #294769;
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #294769;
  opacity: 0.82;
}
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 0;
  }
}
.feature-item, .value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(41, 71, 105, 0.06);
  padding: 22px 20px 20px 20px;
  min-width: 200px;
  flex: 1 1 min(220px, 100%);
  transition: box-shadow 0.18s;
}
.feature-item img, .value-item img {
  height: 50px;
  width: auto;
  margin-bottom: 8px;
}
.feature-item:hover, .value-item:hover {
  box-shadow: 0 4px 18px 0 rgba(41, 71, 105, 0.13);
}

/* SERVICES, CARDS & TABLES */
.service-card, .workshop-card, .advice-item, .blog-teaser {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 8px 0 rgba(41, 71, 105, 0.04);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
}
.service-card strong, .workshop-card strong {
  margin-top: 12px;
  color: #F2BB05;
  font-size: 1.05rem;
  font-weight: 700;
}
.service-card:hover, .blog-teaser:hover, .advice-item:hover, .workshop-card:hover {
  box-shadow: 0 4px 16px 0 rgba(41,71,105,0.09);
  transform: translateY(-1px) scale(1.01);
}
.services-pricing-table {
  width: 100%;
  margin: 32px 0 20px 0;
  border-collapse: collapse;
  font-size: 1rem;
  color: #294769;
  background: #fff;
}
.services-pricing-table th, .services-pricing-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f5f6f9;
  text-align: left;
}
.services-pricing-table th {
  background: #FFFAFB;
  color: #294769;
  font-weight: 700;
}
.services-pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .services-pricing-table { font-size: 0.96rem; }
  .services-pricing-table th, .services-pricing-table td { padding: 8px 6px; }
}

/* BENEFITS, ADVICE & BLOG */
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  padding: 18px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(41, 71, 105, 0.04);
  color: #294769;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.benefit-list img {
  width: 36px;
  height: auto;
}

.advice-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.advice-item, .blog-teaser {
  min-width: 210px;
  max-width: 360px;
}

.blog-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
  font-size: 1rem;
  color: #294769;
  opacity: 0.86;
}
.blog-categories a {
  color: #294769;
  background: #FFFAFB;
  padding: 3px 12px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.blog-categories a:hover, .blog-categories a:focus {
  background: #F2BB05;
  color: #294769;
}

/* FAQ LIST */
.faq-list {
  margin-top: 22px;
  margin-bottom: 12px;
}
.faq-list dt {
  font-family: 'Baloo 2', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #294769;
  font-weight: 700;
  margin-bottom: 5px;
}
.faq-list dd {
  font-size: 1rem;
  margin-left: 0;
  margin-bottom: 17px;
  color: #294769;
  opacity: 0.84;
  border-left: 3px solid #F2BB05;
  padding-left: 11px;
}

/* LOCATION MAP */
.location-map {
  margin: 18px 0;
  background: #FFFAFB;
  border-radius: 10px;
  padding: 18px 12px;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 40px 0 20px 0;
  border-top: 1px solid #edecef;
  margin-top: 32px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #294769;
  opacity: 0.83;
  padding: 3px 0;
  transition: opacity 0.19s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2BB05;
  opacity: 1;
}
.footer-contact p { font-size: 0.97rem; margin-bottom: 8px; color: #294769; opacity: 0.75; }
.footer-logo img { height: 36px; width: auto; }
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-logo { margin-top: 14px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1.5px solid #edecef;
  box-shadow: 0 -4px 24px 0 rgba(41,71,105,0.07);
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 100vw;
  transition: transform 0.42s cubic-bezier(.62,.28,.38,.88), opacity 0.15s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: #294769;
  font-size: 0.98rem;
  flex: 1 1 200px;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.cookie-btn {
  background: #294769;
  color: #fff;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 8px 20px;
  border-radius: 20px;
  transition: background 0.16s, color 0.13s, transform 0.15s;
  border: none;
}
.cookie-btn.secondary {
  background: #F2BB05;
  color: #294769;
}
.cookie-btn.settings {
  background: #FFFAFB;
  color: #294769;
  border: 1.5px solid #F2BB05;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F2BB05;
  color: #294769;
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F2BB05;
  color: #294769;
  border-color: #294769;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 370px;
  background: #fff;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 200;
  border-radius: 18px;
  box-shadow: 0 10px 48px 0 rgba(41,71,105,0.13);
  padding: 36px 24px 28px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.39s cubic-bezier(.62,.28,.38,.88), transform 0.36s cubic-bezier(.62,.28,.38,.88);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal__header {
  font-family: 'Baloo 2', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #294769;
  margin-bottom: 0px;
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #294769;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #FFFAFB;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 7px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.03rem;
  color: #294769;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 36px;
  height: 19px;
}
.cookie-switch input {
  opacity: 0;
  width: 36px;
  height: 19px;
  position: absolute;
  left: 0;
  top: 0;
}
.cookie-switch span {
  display: block;
  width: 36px;
  height: 19px;
  background: #edecec;
  border-radius: 11px;
  position: relative;
  transition: background 0.16s;
}
.cookie-switch input:checked + span {
  background: #F2BB05;
}
.cookie-switch span::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px 0 rgba(41,71,105,0.04);
  transition: left 0.14s;
}
.cookie-switch input:checked + span::after {
  left: 17px;
}
.cookie-modal__essential {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* FORMS (minimalist for future use) */
input, textarea, select {
  background: #FFFAFB;
  border: 1.3px solid #ebeef4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #294769;
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F2BB05;
  outline: none;
}

/* QUOTES, BLOCKQUOTES */
blockquote {
  border-left: 4px solid #F2BB05;
  padding-left: 18px;
  color: #294769;
  font-style: italic;
  background: #FFFAFB;
  border-radius: 8px;
  margin: 18px 0 18px 0;
}

/* SCROLLBAR FOR MODAL */
.cookie-modal::-webkit-scrollbar {
  width: 8px;
  background: #F2BB05;
  border-radius: 6px;
}

/* MISC */
::-webkit-scrollbar {
  width: 9px;
  background: #edecef;
}
::-webkit-scrollbar-thumb {
  background: #F2BB05;
  border-radius: 7px;
}

/* ANIMATIONS */
@keyframes fade-in {
  from { opacity: 0; transform: scale(0.98) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@media (max-width: 500px) {
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1rem; }
  .section, section {
    padding: 14px 0px;
    border-radius: 7px;
  }
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #F2BB05;
  outline-offset: 2px;
}

/* SPACING MINIMUMS */
.card, .service-card, .value-item, .feature-item, .workshop-card, .advice-item, .blog-teaser, .testimonial-card {
  margin-bottom: 20px;
}
.features-grid > *, .values-list > *, .benefit-list > *, .advice-grid > *, .blog-list > *, .workshop-list > *, .card-container > * {
  margin-bottom: 0; /* margins handled by gap */
}

/* PREVENT OVERLAPPING */
main, section, .content-wrapper, .container, .features-grid, .testimonial-slider, .services-list, .advice-grid, .workshop-list, .blog-list {
  min-width: 0;
  min-height: 0;
}

/* DARK TEXT ON LIGHT BG FOR TESTIMONIALS & REVIEW CARDS */
.testimonial-card, .faq-list dt, .faq-list dd { color: #294769; }

/* Z-INDEX LAYERING */
header { z-index: 35; }
.mobile-menu { z-index: 99; }
.cookie-banner { z-index: 120; }
.cookie-modal { z-index: 200; }

/* Hide elements for screen readers if needed */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}
