/* ==================================================  
   CSS RESET & NORMALIZATION (Mobile-first)  
================================================== */
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #FFFDF7;
  color: #244027;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ========== ROOT VARIABLES ========== */
:root {
  --color-primary: #244027;
  --color-secondary: #7D5E30;
  --color-accent: #EDEAE1;
  --color-green-light: #5eba7d;
  --color-yellow: #ffe671;
  --color-orange: #ffb85c;
  --color-blue: #48aee7;
  --color-pink: #ef88ad;
  --shadow-main: 0 4px 18px rgba(36, 64, 39, 0.08), 0 2px 6px rgba(125, 94, 48, 0.06);
  --radius-main: 18px;
  --radius-lg: 28px;
  --transition: all 0.25s cubic-bezier(0.68,0.08,0.32,1.68);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ========== GENERAL TYPOGRAPHY ========== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.17;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 2px 2px var(--color-yellow),0px 1px #ffffff88;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 1px 2px var(--color-accent);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
p, li {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #374A38;
  font-family: var(--font-body);
}
strong {
  color: var(--color-secondary);
  font-weight: bold;
}

/* playful fonts for highlight words */
.cta-primary, .card strong, h1 span:not(.no-playful) {
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, var(--font-display);
  letter-spacing: 0.09em;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
   SECTION SPACING & FLEX LAYOUTS
   =============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 10px rgba(36,64,39,0.09);
  transition: box-shadow 0.28s cubic-bezier(.47,1.64,.41,.8), transform 0.18s;
  padding: 0;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(125,94,48,0.13), 0 0px 0px #fff;
  transform: translateY(-3px) scale(1.035) rotate(-2deg);
  z-index: 6;
}
.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;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px #7D5E3033;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.10rem;
  color: #272727;
  overflow: visible;
  min-width: 0;
}
.testimonial-card p {
  font-family: var(--font-display);
  color: #244027;
  font-size: 1.13rem;
  margin-bottom: 4px;
  line-height: 1.5;
}
.testimonial-card span {
  color: #7D5E30;
  font-size: 1rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Icon & List playful styles */
ul li img, .feature-item img {
  width: 27px;
  height: 27px;
  margin-right: 12px;
  vertical-align: middle;
  filter: drop-shadow(0 2px 8px var(--color-yellow));
}
ul li, .text-section ul li {
  margin-bottom: 14px;
  padding-left: 6px;
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  position: relative;
}
ul li:before {
  content: '\2B50'; /* playful star bullet */
  color: var(--color-blue);
  font-size: 1rem;
  margin-right: 9px;
  opacity: 0.43;
}
ul li img + strong {
  margin-right: 2px;
}

/* ===============================
   HEADER, NAVBAR & MOBILE MENU
   =============================== */
header {
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 9px rgba(125,94,48,0.08);
  z-index: 19;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 46px;
  max-width: 180px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 24px;
  transition: background 0.2s, color 0.22s;
  position: relative;
  z-index: 1;
}
nav a:hover, nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
  font-weight: bold;
}
.cta-primary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Comic Sans MS', 'Comic Sans', cursive, var(--font-display);
  background: var(--color-yellow);
  color: var(--color-primary);
  font-size: 1.16rem;
  border-radius: 42px;
  letter-spacing: 0.07em;
  font-weight: bold;
  box-shadow: 0 2px 8px #ffb85c40;
  transition: var(--transition), box-shadow 0.18s;
  position: relative;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 6px 14px #48aee76e;
  transform: scale(1.07) rotate(-2deg);
}
.mobile-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: var(--color-secondary);
  background: var(--color-yellow);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 6px #ffe67155;
  position: relative;
  margin-left: 8px;
  z-index: 50;
  border: none;
  transition: background 0.18s, box-shadow 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 3px 14px #48aee733;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFDF7;
  z-index: 200;
  box-shadow: 0 4px 40px #7D5E3012;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.88,0.08,0.32,1.98);
  padding: 0 0 0 0;
  overflow-y: auto;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: var(--color-pink);
  color: #fff;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 260;
  border: none;
  box-shadow: 0 2px 10px #ef88ac22;
  transition: background 0.1s, box-shadow 0.13s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: var(--color-blue);
}
.mobile-nav {
  margin-top: 85px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  padding: 15px 18px 15px 6px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  border-radius: 32px;
  min-width: 210px;
  margin-bottom: 2px;
  transition: background 0.2s;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-yellow);
  color: var(--color-secondary);
}

/* Responsive menu: visible only on mobile */
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none; }
}
@media (max-width: 1023px) {
  header nav {display: none;}
  .mobile-menu-toggle { display: flex; }
}

/* ===================
   SECTION & CARDS
   =================== */

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
  background: none;
}
.section {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

.card {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 10px #7D5E3033;
  transition: box-shadow 0.28s cubic-bezier(.65,1.64,.41,.8), transform 0.14s;
  padding: 30px 26px;
  min-width: 255px;
}

.card strong {
  color: var(--color-green-light);
  font-size: 1.17rem;
  line-height: 1.23;
  font-weight: 900;
}

.service-price {
  display: inline-block;
  background: var(--color-green-light);
  color: #fff;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  margin-top: 7px;
  font-size: 1.02rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

/* ===================
   TESTIMONIALS
   =================== */
.testimonial-card {
  background: #fff;
  box-shadow: 0 8px 32px #48aee73b, 0 1.5px 2.5px #7D5E3065;
  border-radius: 32px;
  margin-bottom: 24px;
  padding: 32px 28px;
  font-size: 1.11rem;
  position: relative;
  z-index: 1;
  min-width: 220px;
}
.testimonial-card:before {
  content: '\1F33F';
  font-size: 2.12rem;
  position: absolute;
  top: -26px;
  left: 28px;
  opacity: 0.37;
  z-index: 0;
  pointer-events: none;
}
.testimonial-card p {
  color: #244027;
  font-size: 1.15rem;
  font-family: var(--font-display);
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 1.01rem;
  margin-left: 12px;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 12px 28px #ef88ad33,0 6px 24px #ffe67133;
  transform: scale(1.025) rotate(1deg);
}

/* ============================
   FOOTER
   ============================ */
footer {
  position: relative;
  width: 100%;
  background: #222;
  padding: 32px 0 12px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 14px #7D5E3036;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  flex-direction: row;
  gap: 18px;
}
footer nav a {
  font-size: 1rem;
  color: var(--color-yellow);
  font-family: var(--font-body);
  opacity: 0.93;
  transition: color 0.14s, opacity 0.18s;
  margin-right: 10px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-pink);
  text-decoration: underline;
}
.footer-meta {
  font-size: 0.95rem;
  color: #bbb;
  opacity: 0.7;
  margin-left: 8px;
  font-family: var(--font-body);
}
footer a img {
  height: 33px;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  header .container,
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  header nav, footer nav {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 0;
  }
  .section {
    padding: 30px 7px;
  }
  .testimonial-card {
    padding: 24px 10px 22px 16px;
  }
}
@media (max-width: 768px) {
  .container, .section {
    padding-left: 0;
    padding-right: 0;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 0;
  }
  .card {
    min-width: 0;
    width: 100%;
    padding: 22px 12px;
  }
}
@media (max-width: 480px) {
  h1,.h1{font-size:1.45rem;}
  h2,.h2{font-size:1.12rem;}
  h3,.h3{font-size:1rem;}
  .container { padding: 0 3px; }
  .section { padding: 16px 2px; }
  .cta-primary { font-size: 1.01rem; padding: 8px 14px; }
  .testimonial-card {padding:14px 2px 14px 6px;font-size:.99rem;}
}

/* ===================
   FORMS, LINKS
   =================== */
input, textarea, select {
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid var(--color-accent);
  background: #ffffff;
  font-size: 1.11rem;
  color: var(--color-primary);
  margin-bottom: 14px;
  box-shadow: 0 2px 6px #dedede21;
  padding: 12px 14px;
  transition: border 0.18s, box-shadow 0.12s;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--color-secondary);
  box-shadow: 0 3px 12px #7D5E3038;
}

/* ===================
   ANIMATIONS & PLAYFULNESS
   =================== */
@keyframes playful-bounce {
  0%   { transform: scale(1) rotate(0deg); }
  35%  { transform: scale(1.09) rotate(-2deg); }
  60%  { transform: scale(0.97) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cta-primary, .card:hover, .mobile-menu-toggle:active {
  animation: playful-bounce 0.7s cubic-bezier(.53,1.6,.24,1) 1;
}
.testimonial-card:hover {
  animation: playful-bounce 0.8s cubic-bezier(.38,1.6,.34,1.2) 1;
}
nav a:hover:after, .mobile-nav a:hover:after {
  content: '\1F338'; /* blossom emoji, adds playful underline */
  margin-left: 4px;
  font-size: 1.1em;
  vertical-align: -0.2em;
}
ul li:hover:before {
  color: var(--color-pink);
  opacity:1;
}

/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: #244027;
  box-shadow: 0 -4px 20px #7D5E3040;
  padding: 32px 18px 22px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  z-index: 9000;
  font-size: 1.06rem;
  border-radius: 24px 24px 0 0;
  min-height: 90px;
  animation: fadeInUp .48s cubic-bezier(.64,1.5,.22,1.1); 
}
@keyframes fadeInUp {
  0%   { opacity:0; transform: translateY(64px); }
  75%  { opacity:0.98; transform: translateY(-7px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-consent-banner p {
  flex: 1;
  font-size: 1.04rem;
  color: #244027;
  margin-bottom: 0;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 32px;
  margin-left: 14px;
  font-size: 1.01rem;
  background: var(--color-yellow);
  color: var(--color-primary);
  font-weight: bold;
  font-family: var(--font-body);
  box-shadow: 0 2px 10px #ffb85c33;
  border: none;
  cursor: pointer;
  margin-bottom: 7px;
  transition: background 0.13s, color 0.12s, box-shadow 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 2px 13px #48aee72a;
}
.cookie-btn.reject {
  background: var(--color-pink);
  color: #fff;
  margin-left: 0;
}
.cookie-btn.reject:hover {
  background: #fff;
  color: var(--color-pink);
  border: 2px solid var(--color-pink);
}
.cookie-btn.settings {
  background: var(--color-blue);
  color: #fff;
  margin-left: 0;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top:0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: #00000065;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
  animation: fadeInUp .37s cubic-bezier(.87,1.2,.22,1.1);
}
.cookie-modal {
  background: #fff;
  color: #244027;
  border-radius: 28px;
  box-shadow: 0 12px 60px #ef88ad21, 0 7px 21px #7D5E3040;
  min-width: 310px;
  max-width: 95vw;
  min-height: 200px;
  padding: 38px 28px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 11000;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal-category label {
  font-size: 1.08rem;
  font-family: var(--font-body);
}
.cookie-modal-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-green-light);
  border-radius: 8px;
  margin-left: 2px;
}
.cookie-modal-category .always {
  color: #7D5E30;
  font-size: 1rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-left: 6px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 34px;
  height: 34px;
  background: var(--color-pink);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px #ef88ad16;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-close:focus, .cookie-modal-close:active {
  background: var(--color-yellow);
  color: #244027;
}

@media (max-width: 700px) {
  .cookie-modal {
    max-width: 98vw;
    min-width: 0;
    padding: 20px 4vw 18px 3vw;
  }
}

/* =========== ACCESSIBILITY/FUNC =========== */
:focus {
  outline: 3px dashed var(--color-blue);
  outline-offset: 2px;
}

::-webkit-scrollbar {
    width: 10px;
    background: #f5f5e2;
  }
::-webkit-scrollbar-thumb {
    background: #ef88ad66;
    border-radius: 8px;
  }
::-webkit-scrollbar-track {background: #f5f5e2;}

/* =========== UTILITIES & MISCELLANEOUS =============== */
.hide { display: none !important; }

.divider {
  height: 3px;
  background: var(--color-yellow);
  width: 92px;
  border-radius: 5px;
  margin: 20px auto 20px auto;
}

/* ======================
   ENSURE NO OVERLAPPING
   ====================== */
section, .section, .card, .testimonial-card {
  margin-bottom: 24px;
}
.card, .testimonial-card, .feature-item,
.text-image-section, .content-grid, .card-container {
  gap: 20px;
}

/* ===========================
   VISUAL DECORATIVE ELEMENTS
   =========================== */
.section:after {
  content: "";
  position: absolute;
  bottom: -34px;
  right: 40px;
  width: 64px;
  height: 32px;
  background: var(--color-blue);
  border-radius: 29px 29px 0 0;
  opacity: 0.13;
  z-index: 0;
  pointer-events:none;
}

.section:before {
  content: "";
  position: absolute;
  top: -16px;
  left: 30px;
  width: 37px;
  height: 27px;
  background: var(--color-yellow);
  border-radius: 50% 38% 33% 54%/44% 35% 57% 41%;
  opacity: 0.23;
  z-index: 0;
  pointer-events:none;
}

/* ============ END ============ */
