/* --- CSS RESET & NORMALIZING --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #FFF4E3;
  color: #222831;
  overflow-x: hidden;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #3A4750;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFA600;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #222831;
  margin-bottom: 16px;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }
@media (min-width: 600px) {
  h1 { font-size: 2.6rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2rem; }
}
.subheadline {
  font-size: 1.14rem;
  color: #3A4750;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

/* --- LAYOUT STRUCTURE & SPACING --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

main {
  margin-top: 16px;
  margin-bottom: 32px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
footer {
  background: #FFF8C1;
  color: #222831;
  font-size: 0.96rem;
  padding: 32px 0 16px 0;
  border-top: 4px solid #FFD369;
  margin-top: 40px;
}
footer nav {
  margin-bottom: 10px;
}
footer a { font-weight: bold; }
footer a:hover { color: #FFA600; }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 800px) {
  .content-wrapper { flex-direction: row; gap: 32px; align-items: flex-start; }
  .text-section { flex: 2; }
}

.text-section img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffce6; /* playful, gentle shade */
  border-radius: 24px;
  box-shadow: 0 3px 14px 0 rgba(34, 40, 49, 0.13);
  padding: 28px 20px 24px 20px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 30px 0 rgba(255, 211, 105, 0.21);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  color: #222831;
  border-radius: 22px;
  box-shadow: 0 5px 24px rgba(34, 40, 49, 0.11);
  margin-bottom: 20px;
  border-left: 8px solid #FFD369;
  position: relative;
  min-width: 0;
  flex: 1 1 320px;
  transition: box-shadow 0.23s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 24px #FFD36933;
  transform: translateY(-3px) scale(1.02) rotate(0.5deg);
}

.rating {
  font-size: 1.2em;
  color: #FFA600;
  margin-left: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- DYNAMIC, PLAYFUL GRIDS --- */
.feature-grid, .service-highlight-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-highlight-grid > div {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255, 211, 105, 0.09);
  padding: 24px 18px 18px 18px;
  min-width: 220px; 
  flex: 1 1 260px;
  transition: box-shadow 0.21s, transform 0.16s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-highlight-grid > div:hover {
  box-shadow: 0 10px 24px #FFD36922, 0 4px 16px #22283111;
  transform: scale(1.04) rotate(-0.7deg);
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 8px;
  animation: playful-bounce 2.3s infinite cubic-bezier(.8,-0.2,.24,1.8);
}
@keyframes playful-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  18% { transform: translateY(-10px) scale(1.06); }
  27% { transform: translateY(1px) scale(0.98); }
  45% { transform: translateY(-8px) scale(1.04) rotate(-2deg); }
  80% { transform: translateY(0) scale(1.01); }
}

/* --- BUTTONS + CTAs --- */
.btn-primary {
  background: #FFD369;
  color: #222831;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  padding: 13px 34px;
  border-radius: 19px;
  box-shadow: 0 4px 20px #FFD36933;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.19s, box-shadow 0.2s, transform 0.13s;
  margin-right: 12px;
  display:inline-block;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB549;
  color: #222831;
  box-shadow: 0 8px 28px #FFD36955;
  transform: scale(1.036) translateY(-2px) rotate(-2deg);
}

.btn-secondary {
  background: #fff;
  color: #222831;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border: 2px solid #FFD369;
  border-radius: 19px;
  padding: 13px 33px;
  margin-right: 10px;
  margin-top: 10px;
  box-shadow: 0 2px 8px #FFD36921;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
  letter-spacing: 0.03em;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFD369;
  color: #222831;
  box-shadow: 0 8px 20px #FFD36977;
  transform: scale(1.03) translateY(-1px) rotate(1deg);
}

/* --- HEADER + NAVIGATION --- */
header {
  background: #FFF9CC;
  border-bottom: 5px solid #FFD369;
  position: relative;
  z-index: 120;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px 18px 20px;
}
header img {
  width: 135px;
  max-width: 70vw;
  margin-right: 20px;
  margin-bottom: 0;
  animation: playful-logo-flip 9s infinite linear alternate;
}
@keyframes playful-logo-flip {
  0% { filter: drop-shadow(0 0 0 #FFD36900); transform: rotate(-2deg); }
  38% { filter: drop-shadow(0 5px 0 #FFD369); }
  78% { filter: drop-shadow(0 1px 0 #ffd36956); }
  100% { filter: drop-shadow(0 0 0 #FFD36900); transform: rotate(0deg); }
}
header nav {
  display: flex;
  gap: 18px;
  margin-right: 18px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #3A4750;
  border-radius: 11px;
  padding: 7px 18px;
  position: relative;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #FFD369;
  color: #222831;
  outline: none;
  box-shadow: 0 2px 16px #FFD36933;
}

/* --- MOBILE MENU (BURGER, SLIDING MENU) --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 250;
  background: #FFD369;
  color: #222831;
  font-size: 2.2em;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 18px #FFD36977;
  cursor: pointer;
  border: none;
  transition: background 0.13s, box-shadow 0.18s, transform 0.11s;
  align-items: center;
  justify-content: center;
  outline: none;
}
.mobile-menu-toggle:active {
  background: #FFB549;
  transform: scale(0.97);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255, 244, 227, 0.98);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.53,1.38,.53,1);
  box-shadow: 0 2px 44px #FFD36966;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2em;
  background: #FFD369;
  color: #222831;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  margin: 23px 18px 23px 12px;
  cursor: pointer;
  align-self: flex-end;
  box-shadow: 0 4px 18px #FFD36977;
  transition: background 0.14s, transform 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFB549;
  transform: scale(1.06);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-left: 34px;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 0 10px 4px;
  color: #222831;
  border-radius: 11px;
  transition: background 0.15s, box-shadow 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD369;
  color: #222831;
  box-shadow: 0 2px 14px #FFD36944;
}

@media (max-width: 1024px) {
  header .container { flex-wrap: wrap; gap: 10px; }
  header nav { gap: 6px; margin-right: 0; }
}
@media (max-width: 900px) {
  header nav { display: none !important; }
  .btn-primary { margin-left: auto; margin-right: 0; }
  .mobile-menu-toggle { display: flex !important; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.19rem; }
  header .container { flex-direction: column; align-items: flex-start; padding: 20px 8px 12px 8px; }
  nav, header nav { flex-direction: column; gap: 2px; }
  main, section, .section { padding: 17px 5vw; }
  .card, .feature-grid > div, .service-highlight-grid > div, .testimonials-card { padding: 15px 9px 16px 9px; }
}

/* --- GENERAL TYPOGRAPHY (PLAYFUL DYNAMIC) --- */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222831;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  text-shadow: 1px 2px #FFD36909;
  font-weight: 900;
}
h1 {
  letter-spacing: -0.01em;
  color: #49300e;
  word-break: break-word;
  background: linear-gradient(90deg, #FFD369 0%, #FFA600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  color: #E57F00;
  font-weight: 800;
}
h3 {
  color: #222831;
  font-weight: 800;
  text-shadow: 1px 1.5px #FFD36917;
}

strong, b { font-weight: 700; color: #E57F00; }
em { font-style: italic; color: #3A4750; }

/* --- PLAYFUL DECORATIVE --- */
.feature-grid > div, .service-highlight-grid > div {
  border-top: 5px solid #FFD369;
  border-bottom: 3px solid #FFA60044;
  box-shadow: 0 2px 12px #FFD36923;
}

/* --- RESPONSIVE FLEX CONTAINERS --- */
@media (max-width: 768px) {
  .content-wrapper,
  .text-image-section {
    flex-direction: column !important;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: #222831;
  color: #FFD369;
  padding: 22px 20px 26px 22px;
  font-size: 1.08rem;
  box-shadow: 0 -4px 32px #FFD36933, 0 1px 0 #FFD369;
  animation: cookie-fade-in 0.9s cubic-bezier(.8,0,.64,1);
}
@keyframes cookie-fade-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  border: none;
  outline: none;
  border-radius: 16px;
  padding: 10px 30px;
  font-size: 1rem;
  background: #FFD369;
  color: #222831;
  margin-left: 2px;
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
  cursor: pointer;
  box-shadow: 0 4px 18px #FFD36955;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #FFB549;
  color: #222831;
}
.btn-cookie-secondary {
  background: #fff;
  color: #FFA600;
  border: 2px solid #FFD369;
}
.btn-cookie-secondary:hover, .btn-cookie-secondary:focus {
  background: #FFD369;
  color: #222831;
}

.cookie-modal {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 50%;
  top: 50%;
  width: 98vw;
  max-width: 410px;
  background: #fffbe6;
  border-radius: 22px;
  box-shadow: 0 8px 44px #FFD36999, 0 1px 0 #FFD369;
  padding: 30px 26px 18px 27px;
  z-index: 5555;
  transform: translate(-50%, -50%) scale(0.96);
  transition: transform 0.34s, opacity 0.37s;
  opacity: 0;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: cookie-modal-in 0.35s cubic-bezier(.8,0,.6,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translate(-50%, -60%) scale(0.93); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3, .cookie-modal h4 {
  color: #222831;
  margin-bottom: 10px;
  margin-top: 9px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 11px; right: 14px;
  background: transparent;
  border: none;
  font-size: 1.6em;
  color: #E57F00;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-modal .cookie-toggle {
  width: 46px; height: 26px;
  appearance: none;
  background: #FFD36955;
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background 0.23s;
  margin-right: 7px;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #FFD369;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 2.5px;
  box-shadow: 0 2px 6px #FFD36966;
  transition: left 0.19s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 23px;
}
.cookie-modal .cookie-description {
  font-size: 0.97em;
  color: #666;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.98rem;
  }
}

/* --- UTILITY: FLEX ONLY NO ABSOLUTE FOR CARDS --- */
.card-container, .content-grid, .feature-grid, .service-highlight-grid, .text-image-section, .testimonial-cards, .content-wrapper {
  gap: 20px;
}
.card, .feature-grid>div, .service-highlight-grid>div, .testimonial-card { margin-bottom: 20px; }

/* --- MISC/UTILITY BUTTON STYLES --- */
button, [type="button"], [type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  outline: none;
}
button:focus {
  outline: 2px solid #FFD369;
  outline-offset: 2px;
}

/* --- ACCESSIBILITY: HIGH CONTRAST FOR TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #222831;
  border-left: 8px solid #FFD369;
}
.testimonial-card strong { color: #3A4750; font-weight: 700; }
.testimonial-card .rating { color: #FFD369; text-shadow: 0 1px 1px #22283119; }

/* --- BOLD, DYNAMIC, PLAYFUL FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;600;700&display=swap');

/* --- PLAYFUL MICRO-ANIMATIONS --- */
a, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .feature-grid > div, .service-highlight-grid > div, .testimonial-card {
  transition: box-shadow 0.13s, transform 0.13s, color 0.16s, background 0.14s;
}

/* --- CUSTOM SCROLLBARS --- */
body::-webkit-scrollbar { width: 10px; background: #FFF4E3; }
body::-webkit-scrollbar-thumb { background: #FFD36991; border-radius: 6px; }

/* --- BADGES / TAGS / PRICES --- */
.price-badge {
  background: #FFD369;
  color: #222831;
  display: inline-block;
  padding: 3px 14px;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 2px 8px #FFD36971;
}

/* --- PRINT FRIENDLY (AVOID HIDDEN NAV ETC.) --- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display:none!important; }
}

/* --- END OF CSS --- */
