/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background-color: #F5F2E6;
  color: #294857;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #294857;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dashed #DEC97C;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
h1 {font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.35rem;}

/* === GLOBAL CONTAINERS === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: 8px;
}
.text-section {
  align-items: flex-start;
  margin-bottom: 12px;
}

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

/* === FLEXBOX GRIDS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(41, 72, 87, 0.085), 0 2px 10px #DEC97C33;
  padding: 24px 20px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.feature-item:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 24px #DEC97C44,0 2px 12px #29485722;
  z-index: 2;
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 12px #29485715, 0 0.5px 3px #DEC97C55;
  padding: 24px 18px;
  flex:1 1 270px;
  min-width: 230px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: 0 9px 25px #2948572e, 0 1px 8px #DEC97C66;
  transform: translateY(-3px) scale(1.018);
}

.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 12px #29485715, 0 0.5px 3px #DEC97C55;
  padding: 20px;
  margin-bottom: 20px;
  color: #294857;
  min-width: 250px;
  max-width: 650px;
  font-size: 1.05rem;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px #DEC97C44,0 2px 12px #29485722;
  transform: scale(1.025) rotate(-0.5deg);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #DEC97C;
  margin-left: 12px;
  font-size: 1rem;
}

/* Footer contact */
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.footer-contact > img {
  width: 49px;
  height: 49px;
}
.footer-contact div {
  display: flex;
  flex-direction: row;
  gap: 6px;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1em;
  color: #294857;
}
.footer-contact img[alt^='icon-'] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 8px;
  filter: grayscale(20%) brightness(0.85) sepia(.1);
}
.footer-contact > div > div {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  min-height: 64px;
  background: #fff;
  box-shadow: 0 2px 10px #DEC97C24;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  z-index: 32;
  position: relative;
}
header > a img {
  width: 130px;
  height: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
header nav a {
  padding: 6px 12px;
  border-radius: 10px;
  color: #294857;
  transition: background 0.15s, color 0.19s;
  font-weight: 600;
}
header nav a:hover, header nav a:focus {
  background: #DEC97C;
  color: #fff;
}
.button-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #DEC97C;
  color: #294857;
  border: none;
  border-radius: 15px;
  padding: 14px 30px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 2px 8px #DEC97C33;
  transition: background .18s, color .18s, box-shadow 0.16s, transform 0.14s;
  margin-left: 18px;
  margin-top: 0;
  text-align: center;
  position: relative;
}
.button-primary:hover, .button-primary:focus {
  background: #294857;
  color: #DEC97C;
  box-shadow: 0 4px 16px #DEC97C44;
  transform: scale(1.03);
}
.button-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #294857;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 13px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  margin-right: 8px;
  box-shadow: 0 2px 7px #29485722;
  transition: background 0.18s, color 0.14s, transform .13s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #DEC97C;
  color: #294857;
  transform: scale(1.04);
}

/* Mobile toggle burger button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 103;
  width: 48px;
  height: 48px;
  background: #DEC97C;
  color: #294857;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #DEC97C33, 0 1px 5px #29485711;
  transition: background 0.13s, color 0.12s, transform 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #294857;
  color: #fff;
  transform: scale(1.09);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100dvh;
  background: #F5F2E6;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.95,0,.15,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-shadow: -2px 0 16px #DEC97C44;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  animation: mobileMenuOpen 0.25s ease;
}
@keyframes mobileMenuOpen {
  0% { transform: translateX(100%); opacity:0; }
  80% { transform: translateX(-3%); opacity:1; }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 10px 0;
  background: #294857;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, transform .13s;
  box-shadow: 0 2px 8px #29485722;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #DEC97C;
  color: #294857;
  transform: scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: flex-start;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #294857;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 18px;
  transition: background 0.16s, color 0.19s, transform 0.13s;
  margin-bottom: 0;
  text-align: center;
  width: 90%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DEC97C;
  color: #294857;
  transform: scale(1.05);
}
/* Main nav hide on mobile */
@media (max-width: 1000px) {
  header nav, header .button-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === SITE TYPOGRAPHY, BADGES & UTILS === */
strong, b { font-weight: 700; }
.section h2, .content-wrapper h2 { color: #294857; font-size: 2rem; margin-bottom: 10px;  }
.section h3, .content-wrapper h3 { color: #DEC97C; font-size: 1.28rem; letter-spacing: 0.3px; margin-bottom: 5px; margin-top: 10px; }

ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.7;
}
p { margin: 0 0 18px 0; }

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.feature-item, .card, .testimonial-card, .button-primary, .button-secondary, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: box-shadow 0.19s, transform 0.18s, background 0.18s, color 0.19s;
}

/* Fun, playful, dynamic touches */
h1, h2, h3 {
  /* bouncy reveal on scroll effect (for JS add class 'animated') */
  opacity: 0.95;
  transform: translateY(10px);
  animation: pop-title .9s cubic-bezier(.7,-0.6,.2,1.4) 0s 1 normal backwards;
}
@keyframes pop-title {
  0% { opacity: 0; transform: translateY(29px) scale(.96); }
  60% { opacity: .92; transform: translateY(-10px) scale(1.09); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

a.button-primary, a.button-secondary {
  text-decoration: none;
  vertical-align: middle;
  display: inline-block;
}

/* Playful font accents for headlines */
h1, h2 {
  letter-spacing: 0.6px;
  word-spacing: 1px;
  text-shadow: 1px 2px 0 #FFF9C7, 0 3px 7px #DEC97C11;
}

/* Accent highlights */
mark {
  background: #DEC97C99;
  color: #294857;
  font-weight: bold;
  border-radius: 6px;
  padding: 0 4px;
}

/* === RESPONSIVE (mobile-first) === */
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  header {
    padding: 10px 10px;
    flex-direction: row;
    min-height: 52px;
  }
  header > a img {
    width: 92px;
  }
  .content-wrapper, .text-section, .feature-grid, .card-container, .card-grid, .footer-contact {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 38px;
  }
  .feature-item, .card {
    min-width: 180px;
    max-width: 98vw;
    padding: 18px 12px;
    font-size: 0.99em;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    max-width: 98vw;
    font-size: 0.99em;
  }
  .footer-contact {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 6px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  main h1, main h2 { font-size: 1.35rem; }
}
@media (max-width: 424px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1.05rem; }
}

/* === FOOTER === */
footer {
  background: #fff;
  color: #294857;
  border-top: 5px solid #DEC97C;
  padding: 36px 0 22px 0;
  width: 100%;
  position: relative;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
footer nav a {
  color: #294857;
  transition: color 0.16s;
  margin: 0 4px;
}
footer nav a:hover, footer nav a:focus { color: #DEC97C; }
footer p {
  color: #777;
  font-size: 0.96em;
  margin-top: 10px;
}
footer .content-wrapper { align-items: flex-start; }

/* === COOKIE BANNER & MODAL === */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #DEC97C;
  color: #294857;
  font-size: 1.01rem;
  z-index: 300;
  box-shadow: 0 -2px 14px #29485722;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 24px;
  animation: cookieBannerShow 0.34s cubic-bezier(.85,0,.15,1);
}
@keyframes cookieBannerShow {
  0% { transform: translateY(50px); opacity:0 }
  70% { transform: translateY(-8px); opacity:1; }
  100% { transform: translateY(0); }
}
.cookie-consent-banner .cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
}
.cookie-consent-banner button {
  min-width: 38px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  background: #294857;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 7px;
  margin-right: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px #DEC97C44;
  transition: background .13s, color .16s, transform .11s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #fff;
  color: #294857;
  transform: scale(1.07);
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: #294857;
  border: 1px solid #DEC97C;
  font-weight: 700;
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: #294857;
  color: #DEC97C;
}
@media (max-width:600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    padding: 18px 8px;
    font-size: .99em;
  }
  .cookie-consent-banner .cookie-consent-buttons {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
  }
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(41,72,87,0.14);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #294857;
  border-radius: 20px;
  max-width: 400px;
  min-width: 240px;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 9px 22px #29485722, 0 2px 8px #DEC97C33;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: cookieModalPop .23s;
  position: relative;
}
@keyframes cookieModalPop {
  0% { transform: scale(0.93); opacity:0; }
  80% { transform: scale(1.06); opacity:1; }
  100% { transform: scale(1.01); }
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
  color: #294857;
}
.cookie-category {
  padding: 9px 0 7px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1em;
  border-bottom: 1px solid #F5F2E6;
  margin-bottom: 4px;
}
.cookie-category-toggle {
  display: flex; align-items: center;
  gap: 4px;
}
.cookie-toggle {
  width: 34px; height: 21px;
  background: #DEC97C;
  border-radius: 12px;
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: #294857;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px; left: 2px;
  transition: transform .16s;
  box-shadow: 0 1px 4px #DEC97C44;
}
.cookie-toggle[aria-checked="true"]::after {
  transform: translateX(14px);
}
.cookie-category .category-fixed {
  font-size: .96em;
  color: #838383;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 14px;
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-actions .btn-cancel {
  background: #fff;
  color: #294857;
  border: 1px solid #DEC97C;
  font-weight: 600;
}
.cookie-modal-actions .btn-cancel:hover, .cookie-modal-actions .btn-cancel:focus {
  background: #DEC97C;
  color: #294857;
}
.cookie-modal-actions .btn-save {
  background: #294857;
  color: #fff;
  border: none;
  font-weight: 700;
}
.cookie-modal-actions .btn-save:hover, .cookie-modal-actions .btn-save:focus {
  background: #DEC97C;
  color: #294857;
}

/* === OTHER === */
::-webkit-input-placeholder { color: #B1B1B1; }
::-moz-placeholder { color: #B1B1B1; }
:-ms-input-placeholder { color: #B1B1B1; }
::placeholder { color: #B1B1B1; }

hr {
  border: none;
  border-top: 1.5px solid #DEC97C55;
  margin: 18px 0 25px 0;
}

/* Highlight playful bullets */
ul > li::before {
  content: '\25CF';
  color: #DEC97C;
  margin-left: -18px;
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: middle;
  font-weight: bold;
}
ul {
  list-style: none;
  padding-left: 0;
}

/* === ACCESSIBILITY === */
a:focus, button:focus, input:focus {
  outline: 2px dashed #DEC97C;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  a:hover, .button-primary:hover, .button-secondary:hover {
    filter: brightness(1.04);
  }
}

/* === END === */
