/* --- CSS RESET & BASE --- */
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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #EFF4EC;
  color: #174951;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174951;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.44,.68,.48,.98);
}
a:focus { outline: 2px solid #F6D36D; outline-offset: 2px; }
a:hover { color: #F6D36D; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #174951;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.18; color:#174951; }
h2 { font-size: 2rem; line-height: 1.2; color:#174951; }
h3 { font-size: 1.375rem; line-height:1.3; }
h4 { font-size: 1.125rem; font-weight:600; }
h5, h6 { font-size: 1rem; font-weight:500; }

.text-section p, p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}
p { margin-bottom: 16px; }
strong { font-weight: 700; }

.text-section ul, ul, ol {
  margin-left: 1.6em;
  margin-bottom: 20px;
}
ul { list-style: disc inside; }
ol { list-style: decimal inside; }
li { margin-bottom: 6px; }

/* --- BUTTONS & CTA --- */
.cta-btn, button, input[type="submit"], .cookie-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  display: inline-block;
  padding: 13px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  color: #174951;
  background: #F6D36D;
  box-shadow: 0 2px 16px 0 rgba(246,211,109,0.15);
  cursor: pointer;
  transition: background 0.18s cubic-bezier(.36,.92,.67,.97), transform 0.2s cubic-bezier(.44,.68,.48,.98), box-shadow 0.22s cubic-bezier(.44,.68,.48,.98);
  margin-top: 10px;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus, button:hover, .cookie-btn:hover, input[type="submit"]:hover {
  background: #B3C9A6;
  color: #174951;
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
  box-shadow: 0 6px 26px 0 rgba(53,96,103,0.18);
}
.cta-btn:active {
  background: #f2bf2e;
  color: #174951;
  transform: scale(0.99);
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #174951;
  color: #fff;
  position: relative;
  z-index: 30;
  box-shadow: 0 4px 20px rgba(23,73,81,0.06);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
}
header nav > a {
  display: flex;
  align-items: center;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #EFF4EC;
  letter-spacing: 0.012em;
  padding: 0 12px;
  border-radius: 4px;
  transition: color .17s, background .19s, box-shadow .18s;
  height: 48px;
  line-height: 48px;
}
header nav > a.cta-btn {
  background: #F6D36D;
  color: #174951;
  font-size: 1.04rem;
  font-weight: 700;
  margin-left: 20px;
  padding: 11px 26px;
  box-shadow: 0 2px 13px 0 rgba(246,211,109,0.18);
}
header nav > a:not(.cta-btn):hover, header nav > a:not(.cta-btn):focus {
  background: #B3C9A6;
  color: #174951;
}
header nav img {
  height: 42px;
  margin-right: 4px;
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F6D36D;
  font-size: 2.2rem;
  position: absolute;
  right: 18px;
  top: 23px;
  z-index: 41;
  padding: 4px 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B3C9A6;
  color: #174951;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  z-index: 50;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #174951;
  transform: translateX(100vw);
  transition: transform 0.53s cubic-bezier(.36,.92,.57,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F6D36D;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s;
  z-index: 51;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B3C9A6;
  color: #174951;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 62px 0 0 0;
  padding-left: 30px;
  width: 100vw;
}
.mobile-nav a {
  color: #F6D36D;
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 7px;
  transition: background .21s;
  margin-right: 38px;
  display: block;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B3C9A6;
  color: #174951;
}

@media (max-width: 1130px) {
  header nav {
    gap: 18px;
  }
  header nav > a {
    padding: 0 8px;
    font-size: 1rem;
  }
}
@media (max-width:980px) {
  header nav {
    gap: 12px;
    font-size: 1rem;
  }
}
@media (max-width:860px) {
  header nav > a { font-size: 0.99rem; }
}
@media (max-width: 790px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Artistic layered backgrounds */
section {
  background: #fff;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 36px rgba(179,201,166,0.12), 0 1.5px 3px 0 rgba(23,73,81,.07);
  position: relative;
}

@media (max-width: 600px) {
  section {
    padding: 24px 8px;
    margin-bottom: 34px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 24px;
  background: #EFF4EC;
  box-shadow: 0 4px 19px 0 rgba(23,73,81,0.07);
  padding: 32px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 230px;
  flex: 1 0 280px;
  z-index: 2;
  overflow: hidden;
  border: 2.5px solid #B3C9A644;
  transition: box-shadow 0.18s, border 0.16s, transform 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 39px rgba(53,96,103,0.12);
  border: 2.5px solid #F6D36D;
  transform: scale(1.018) rotate(-1deg);
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 19px 0 rgba(23,73,81,0.09);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 540px;
  border-left: 7px solid #B3C9A6;
  transition: box-shadow 0.17s, border-color 0.15s;
  color: #174951;
}
.testimonial-card .star-rating {
  font-size: 1.34rem;
  color: #F6D36D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #174951;
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-style: italic;
  font-weight: 600;
}
.testimonial-card:hover {
  border-left: 7px solid #F6D36D;
  box-shadow: 0 10px 34px 0 rgba(23,73,81,0.13);
}

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

.content-wrapper.text-section {
  align-items: flex-start;
  padding: 16px 0 0 0;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 960px) {
  .container { max-width: 98vw; }
  .card-container, .content-grid { gap: 16px; }
  .card { min-width:160px; padding: 20px 12px; }
  .testimonial-card { max-width: 99vw; padding: 18px; }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 3vw; }
  .content-wrapper { padding:0; }
  .testimonial-card { padding: 13px 7px; }
  .card { padding:16px 8px; }
}

/* --- FOOTER --- */
footer {
  background: #174951;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 60px;
  border-radius: 28px 28px 0 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 8px;
  align-items: center;
}
footer nav a {
  color: #F6D36D;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: background .18s, color .14s;
}
footer nav a:hover,footer nav a:focus { background: #B3C9A6; color: #174951; }
footer .text-section {
  text-align: center;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-top: 8px;
}

/* --- ARTISTIC/CREATIVE VISUALS --- */
section {
  border: 3px solid #B3C9A622;
  box-shadow: 0 8px 48px 0 #B3C9A633, 0 2px 7px #F6D36D11;
  position: relative;
  overflow: visible;
}
section:before {
  content: "";
  display: block;
  position: absolute;
  left: -24px;
  top: -24px;
  width: 72px;
  height: 72px;
  border-radius: 38px 22px 62px 33px;
  background: #F6D36D44;
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
}
section:after {
  content: "";
  display: block;
  position: absolute;
  right: -22px;
  bottom: -12px;
  width: 48px;
  height: 48px;
  background: #B3C9A644;
  border-radius: 18px 38px 31px 9px;
  filter: blur(11px);
  z-index: 0;
  pointer-events: none;
}
/* Add dotted border or hand-drawn effect for artistic accent on some sections */
section .container:before {
  content: "";
  display: none;
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 1px 2px 4px #B3C9A611;
  letter-spacing: 0.005em;
}
h1 {
  background: linear-gradient(90deg, #174951 70%, #B3C9A6 90%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 2.45rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2.0rem;
  color: #174951;
  margin-bottom: 12px;
  position: relative;
}
h2:after {
  display: block;
  content: "";
  width: 80px;
  height: 5px;
  border-radius: 2px;
  background: #F6D36D;
  margin-top: 8px;
  position: absolute;
  left: 0;
}

@media (max-width: 540px) {
  h1 { font-size: 1.64rem; }
  h2 { font-size: 1.21rem; }
  h2:after { width: 46px; height: 3px; }
}

/* --- MICRO INTERACTIONS --- */
.card, .testimonial-card, .cta-btn, button, .cookie-btn {
  transition: box-shadow .18s cubic-bezier(.44,.69,.42,1), background .18s, border .18s, transform .21s;
}
.card:active, .testimonial-card:active {
  transform: scale(.99) rotate(-1.5deg);
  border-color: #F6D36D;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  border: 2px solid #B3C9A6;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  background: #fff;
  width: 100%;
  transition: border 0.17s, box-shadow 0.19s;
  box-shadow: 0 1px 3px #B3C9A629 inset;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #F6D36D;
  box-shadow: 0 2px 9px #B3C9A64a;
  outline: 0;
}

/* --- SPECIAL: COOKIE CONSENT --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbea;
  color: #174951;
  box-shadow: 0 -2px 24px 0 #B3C9A644;
  border-top: 3px solid #F6D36D;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 14vw 18px 26px;
  z-index: 98;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookie-fade-in 0.5s .15s cubic-bezier(.33,.99,.62,.72) backwards;
}
.cookie-consent-banner .cookie-btn {
  margin-left: 18px;
  padding: 10px 23px;
  min-width: 100px;
  border-radius: 22px;
  font-size: 1.06rem;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #B3C9A6;
  color: #174951;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #F6D36D;
  color: #174951;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  color: #174951;
  border: 1.5px dashed #B3C9A6;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  box-shadow: 0 3px 10px 0 #B3C9A644;
  background: #B3C9A6;
  color: #174951;
}
@media (max-width: 930px) {
  .cookie-consent-banner { padding: 20px 6vw 10px 9vw; font-size: 0.99rem; }
}
@media (max-width: 580px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 11px 2vw 8px 2vw;
    font-size: 0.93rem;
    border-radius: 16px 16px 0 0;
  }
  .cookie-consent-banner .cookie-btn { margin: 10px 5px; min-width: 90px; }
}
@keyframes cookie-fade-in {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: none; }
}

/* Cookie modal popup */
.cookie-modal {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,73,81,.60);
  z-index: 120;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active { display: flex; }
.cookie-modal-content {
  background: #fffbea;
  border: 4px solid #B3C9A6;
  border-radius: 20px;
  max-width: 400px;
  width: 96vw;
  padding: 38px 22px 28px 22px;
  box-shadow: 0 8px 44px #B3C9A655;
  animation: cookie-modal-in 0.43s cubic-bezier(.36,.92,.47,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(90px) scale(.85); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal-content h3 {
  color: #174951;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.31rem;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  margin-bottom: 12px;
  font-size: 1.08rem;
  font-family:'Open Sans', Arial, sans-serif;
  color: #174951;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-content input[type="checkbox"] {
  margin-right: 6px;
}
.cookie-modal-content .essential {
  font-weight: 700;
  color: #B3C9A6;
}
.cookie-modal-content .cookie-btn {
  margin-top: 14px;
  min-width: 90px;
  font-size: 1.01rem;
  border-radius: 19px;
}
.cookie-modal-content .cookie-btn.close {
  background: #F6D36D;
  margin-left: 12px;
}

/* --- EXTRAS --- */
::-webkit-scrollbar {
  width: 8px;
  background: #F6D36D22;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #B3C9A6cc;
  border-radius: 6px;
}

/* --- ARTISTIC FONTS & ELEMENTS --- */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.text-section strong {
  color: #B3C9A6;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.section-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: #F6D36D;
  border-radius: 70% 30% 30% 70%/60% 60% 40% 40%;
  margin-right: 10px;
  border: 2.5px solid #B3C9A6;
  box-shadow: 0 0 11px 1px #F6D36D44;
}

/* --- SPACING ENFORCEMENT --- */
.section { margin-bottom: 60px; padding: 40px 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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #F6D36D;
  outline-offset: 2px;
  z-index: 4;
}

/* --- PRINT --- */
@media print {
  body { background: #fff; color: #000; }
  section, header, footer, .card, .testimonial-card {
    box-shadow: none !important;
    background: #fff !important;
    border: none !important;
  }
  .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
}
.testimonial-card.pre-fade.fade-in {
    max-width: 100%;
}