/* 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,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,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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F3EB;
  color: #204038;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

img,svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #204038;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #DF7437;
}
ul,ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}

/* BRAND FONTS AND COLORS --------------------------- */
:root {
  --primary: #204038;
  --secondary: #9FC197;
  --accent: #F6F3EB;
  --playful-1: #FFD166; /* Fun yellow */
  --playful-2: #FF6F91; /* Pinkish */
  --playful-3: #29C7AC; /* Mint bluecyan */
  --playful-4: #DF7437; /* Orange */
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --border-radius: 18px;
  --radius-circle: 999px;
  --shadow: 0 4px 16px rgba(32, 64, 56, 0.10);
  --shadow-strong: 0 6px 24px 0 rgba(32,64,56,0.13);
}


/* TYPOGRAPHY --------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #204038;
  text-shadow: 0 2px 10px rgba(255,229,112,0.06);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
body, p, li, ul, ol, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}
p {
  margin-bottom: 1em;
  color: #315f51;
}
strong, b {
  color: #204038;
  font-weight: 700;
}
.text-section strong {
  color: var(--playful-4);
  font-weight: 700;
}

/* CONTAINER & STRUCTURE --------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* LAYOUT GRIDS ------------------------------------ */
.features-grid,
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.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: 900px) {
  .features-grid, .card-container, .card-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .features-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* HEADER ------------------------------------------ */
header {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(32, 64, 56, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px 20px;
  position: relative;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}
.main-nav a {
  padding: 6px 10px;
  border-radius: 12px;
  color: #204038;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--playful-2);
  color: #fff;
  box-shadow: 0px 3px 8px rgba(255,111,145,0.08);
  outline: none;
}
header .btn.primary {
  margin-left: 14px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* MOBILE NAVIGATION ------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--playful-2);
  color: #fff;
  font-size: 2.1rem;
  border-radius: var(--radius-circle);
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: none;
  z-index: 120;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--playful-3);
  color: #fff;
  outline: none;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 32px rgba(32,64,56,0.09);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.55,.17,.22,1.12);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 22px 20px 0 0;
  align-self: flex-end;
  background: var(--playful-2);
  color: #fff;
  border-radius: var(--radius-circle);
  width: 36px;
  height: 36px;
  font-size: 1.8rem;
  border: none;
  box-shadow: var(--shadow);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--playful-3);
}
.mobile-nav {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0 26px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.27rem;
  background: none;
  color: #204038;
  border-radius: 12px;
  padding: 12px 8px;
  transition: background 0.14s, color 0.17s;
  width: 100%;
  /* Large tap targets */
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}
@media (max-width: 960px) {
  header .btn.primary {
    display: none;
  }
}

/* HERO, SECTION & CARDS --------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: transparent;
  z-index: 1;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  z-index: 2;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 26px 22px 18px 22px;
  box-shadow: var(--shadow);
  min-width: 210px;
  flex: 1 1 220px;
  margin-bottom: 0;
  border: 3px solid var(--secondary);
  transition: border-color 0.2s, box-shadow 0.18s, background 0.2s;
  position: relative;
  z-index: 1;
}
.feature-item img {
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius-circle);
  box-shadow: 0 3px 12px rgba(46,128,100,0.08);
  padding: 7px;
  margin-bottom: 8px;
  transition: background 0.2s, box-shadow 0.19s;
  border: 2px solid var(--playful-1);
}
.feature-item:hover {
  border-color: var(--playful-2);
  background: var(--playful-1);
  box-shadow: var(--shadow-strong);
  z-index: 3;
}
.feature-item:hover img {
  background: var(--playful-2);
  border-color: var(--playful-3);
}

@media (max-width: 950px) {
  .feature-item {
    flex: 1 1 240px;
  }
}
@media (max-width: 678px) {
  .feature-item {
    min-width: 0;
    width: 100%;
  }
}

/* TEXT CONTENT & SPACING -------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0;
}
.text-section p {
  color: #315f51;
}
.service-list, .value-list {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: disc inside;
}

/* TESTIMONIALS ------------------------------------ */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(32, 64, 56, 0.10);
  min-width: 220px;
  max-width: 370px;
  flex: 1 1 260px;
  border-top: 6px solid var(--playful-2);
  margin-bottom: 0;
  text-align: center;
  margin-right: 0;
  margin-left: 0;
  color: #2d3b36;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #204038;
  font-style: italic;
  font-family: var(--font-body);
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: 0.96rem;
  color: #29C7AC;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.15em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px 0 rgba(255,111,145,0.12);
  background: var(--accent);
  transform: scale(1.025) rotate(-0.5deg);
}

@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* BUTTONS ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  border-radius: var(--radius-circle);
  padding: 12px 26px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 3px 10px rgba(32, 64, 56, 0.10);
  transition: background 0.23s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  border: none;
  outline: none;
  text-align: center;
  letter-spacing: 0.02em;
}
.btn.primary {
  background: var(--playful-3);
  color: #fff;
  box-shadow: 0 3px 10px rgba(41,199,172,0.11);
}
.btn.primary:hover, .btn.primary:focus {
  background: var(--playful-2);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 25px rgba(41,199,172,0.18);
}
.btn.secondary {
  background: var(--playful-1);
  color: #204038;
  box-shadow: 0 3px 10px rgba(255,209,102,0.11);
}
.btn.secondary:hover, .btn.secondary:focus {
  background: var(--playful-4);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 24px rgba(223,116,55,0.15);
}

/* MAP PLACEHOLDER STYLE (contacts) ----------------- */
.map-placeholder {
  min-height: 130px;
  background: linear-gradient(90deg, #9fc19708 0%, #2040380d 100%);
  border-radius: 17px;
  border: 2px dashed var(--secondary);
  color: #204038;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 24px;
  font-size: 1.03rem;
}

/* FOOTER ------------------------------------------ */
footer {
  background: #F6F3EB;
  padding: 0px;
  box-shadow: 0 -2px 8px rgba(32, 64, 56, 0.05);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin: 10px 0 7px 0;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #315f51;
  font-size: 0.97rem;
  font-family: var(--font-display);
  border-radius: 10px;
  padding: 5px 10px;
  transition: background 0.13s color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}
footer img {
  height: 38px;
}
footer p {
  font-size: 0.98rem;
  color: #767676;
  margin: 5px 0 0 0;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
  }
  .footer-nav {
    justify-content: flex-start;
  }
}

/* COOKIE CONSENT BANNER --------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #204038;
  box-shadow: 0 4px 22px rgba(32,64,56,0.11);
  border-radius: var(--border-radius);
  padding: 24px 24px 22px 24px;
  width: 94vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5000;
  font-size: 1.02rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s, transform 0.33s;
  gap: 13px;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(100px);
}
.cookie-banner strong {
  color: var(--playful-4);
  font-family: var(--font-display);
  font-size: 1.12rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 5px;
}
.cookie-banner button {
  padding: 8px 17px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  border-radius: 20px;
  background: var(--secondary);
  color: #204038;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
  font-weight: 700;
}
.cookie-banner .cookie-accept {
  background: var(--playful-3);
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--playful-2);
  color: #fff;
}
.cookie-banner .cookie-decline {
  background: var(--playful-1);
  color: #204038;
}
.cookie-banner .cookie-decline:hover, .cookie-banner .cookie-decline:focus {
  background: var(--playful-4);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--accent);
  color: #204038;
  border: 2px solid var(--secondary);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL ------------------------ */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 6000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,64,56,0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s;
}
.cookie-modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 7px 33px rgba(32,64,56,0.15);
  width: 94vw; max-width: 450px;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: stretch;
  position: relative;
  z-index: 8000;
  animation: modalIn 0.49s cubic-bezier(.52,.1,.34,1.34);
}
@keyframes modalIn {
  0% { opacity:0; transform: translateY(60px) scale(0.96); }
  100% { opacity:1; transform: none; }
}
.cookie-modal h3 {
  font-size: 1.29rem;
  font-family: var(--font-display);
  color: var(--playful-2);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.03rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--playful-3);
  width: 19px; height: 19px;
  border-radius: 4px;
}
.cookie-modal .cookie-category {
  padding: 10px 0 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #204038;
}
.cookie-modal .category-essential label {
  opacity: 0.67;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal .btn {
  padding: 7px 17px;
  font-size: 1.01rem;
}
.cookie-modal .btn.save {
  background: var(--playful-3);
  color: #fff;
}
.cookie-modal .btn.save:hover, .cookie-modal .btn.save:focus {
  background: var(--playful-2);
  color: #fff;
}
.cookie-modal .btn.cancel {
  background: var(--accent);
  color: #204038;
  border: 1.5px solid var(--secondary);
}
.cookie-modal .btn.cancel:hover, .cookie-modal .btn.cancel:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px; right: 13px;
  background: var(--playful-1);
  color: #204038;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 6px rgba(32,64,56,0.09);
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .cookie-modal-close:hover {
  background: var(--playful-4);
  color: #fff;
}

@media (max-width: 639px) {
  .cookie-modal { padding: 24px 11px; }
}

/* MICRO-INTERACTIONS & ANIMATION ----------------- */
.feature-item, .testimonial-card, .btn, .mobile-menu, .cookie-banner, .card {
  transition: box-shadow 0.22s, background 0.24s, color 0.16s, border 0.16s, transform 0.19s;
}
.btn, .cookie-banner button, .cookie-modal .btn {
  transition: background 0.23s, color 0.19s, box-shadow 0.13s, transform 0.16s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  animation: jiggle 0.28s linear 1;
}
@keyframes jiggle {
  0% { transform: scale(1) rotate(0); }
  20% { transform: scale(1.03) rotate(-1.2deg); }
  40% { transform: scale(0.98) rotate(1.3deg); }
  60% { transform: scale(1.01) rotate(-0.7deg); }
  100% { transform: scale(1) rotate(0); }
}

/* SPACING & WHITE SPACE --------------------------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-item, .card, .testimonial-card {
  margin-bottom: 20px;
}
.features-grid, .card-container, .testimonials, .content-grid {
  gap: 24px;
}
@media (max-width: 768px) {
  section, .section { padding: 18px 7px; margin-bottom: 38px; }
  .feature-item,.card,.testimonial-card{margin-bottom:14px;}
  .features-grid, .card-container, .testimonials, .content-grid {gap: 15px;}
}

/* FORM ELEMENTS (if forms are added) --------------- */
input[type="text"], input[type="email"], textarea {
  padding: 11px 15px;
  border-radius: 12px;
  border: 1.7px solid var(--secondary);
  background: #f6f3eb;
  font-size: 1.05rem;
  margin-bottom: 19px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--playful-2);
  background: #fffbe8;
}

/* ACCESSIBILITY CONTRAST (esp. testimonials) --------- */
.testimonial-card, 
.cookie-banner, 
.cookie-modal, 
footer, 
.card, 
.feature-item {
  color: #204038;
}

/* BRAND PLAYFUL DYNAMIC ELEMENTS -------------------- */
h2:after {
  content: '';
  display: block;
  margin: 8px 0 0 0;
  width: 48px;
  height: 5px;
  background: var(--playful-2);
  border-radius: 8px 3px 8px 5px;
  opacity: 0.26;
  animation: h2line .8s cubic-bezier(.56,.03,.54,1.68) 1;
}
@keyframes h2line { 0%{width:0;opacity:0;} 100%{width:48px;opacity:.26;} }

/* Fun accent shapes (for dynamic playful look) -------- */
.section .container::before {
  content: '';
  position: absolute;
  left: -32px;
  top: -18px;
  width: 62px;
  height: 62px;
  background: var(--playful-1);
  border-radius: 60% 70% 56% 32%/60% 60% 41% 71%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.section .container::after {
  content: '';
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 34px;
  height: 34px;
  background: var(--playful-3);
  border-radius: 50% 54% 37% 43%/51% 49% 63% 61%;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.section, .container { position: relative; }

@media (max-width: 522px) {
  .section .container::before, .section .container::after { display: none; }
}

/* --- END --- */
