/* RESET & BASE STYLES */
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%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #E9E7E1;
  color: #274060;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
  box-sizing: border-box;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: -.02em;
  color: #274060;
}
h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
p, ul, ol, li, span { font-size: 1rem; margin-bottom: 8px; }
.signature { font-style: italic; font-size: 1.1rem; color: #F7882F; margin-top: 24px; }
strong { font-weight: 700; }

body, p, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #274060;
}

/* FUN HEADINGS */
h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 2px 4px 0 #F4C09560;
}

/* COLORS & BRAND */
:root {
  --primary: #274060;
  --secondary: #E9E7E1;
  --accent: #F4C095;
  --fun-pink: #FF77A9;
  --fun-mint: #3FFFD7;
  --fun-blue: #1B9AAA;
  --fun-yellow: #FFC93C;
  --text-dark: #274060;
  --text-light: #fff;
  --shadow: 0 4px 24px rgba(39,64,96,0.06), 0 2px 4px rgba(39,64,96,0.04);
  --border-radius: 22px;
  --transition: 200ms cubic-bezier(.5,1,.3,1.2) all;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .3s;
  position: relative;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 40px 0 #F4C09565, var(--shadow);
  z-index: 2;
}
.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;
}

/* BUTTONS */
.cta-button, .cookie-banner button, .cookie-modal button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--fun-yellow) 60%, var(--fun-pink) 100%);
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 15px 36px;
  border-radius: 36px;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #27406022;
  margin: 8px 0;
  transition: background .18s, color .15s, transform .15s, box-shadow .2s;
  outline: none;
}
.cta-button:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: linear-gradient(90deg, var(--fun-pink) 20%, var(--fun-mint) 100%);
  color: var(--text-light);
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 28px 0 #FF77A950, var(--shadow);
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 2px 16px #F4C09528;
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 20px 0 12px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.main-nav img {
  height: 44px;
  margin-right: 22px;
}
.main-nav a {
  color: var(--primary);
  position: relative;
  padding: 6px 10px;
  border-radius: 18px;
  transition: background .12s, color .1s;
}
.main-nav a:not(.cta-button):hover {
  background: var(--fun-mint);
  color: var(--primary);
}
.main-nav .cta-button {
  margin-left: auto;
}

/* FOOTER NAVIGATION */
footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 36px 0 14px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 16px #F4C09522;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0 2px;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 1rem;
  transition: background .14s, color .15s;
}
.footer-nav a:hover {
  background: var(--fun-pink);
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--fun-yellow);
}
.contact-footer img {
  height: 1.1em;
  display: inline;
  margin-right: 4px;
  vertical-align: middle;
}
.copyright {
  text-align: center;
  color: #d7d7d7;
  font-size: 0.96rem;
  margin-top: 8px;
  padding-bottom: 4px;
}

/* HERO BANNER + CTA SECTION */
.hero {
  background: linear-gradient(105deg, var(--accent) 30%, var(--secondary) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 36px #FFC93C34;
  margin-bottom: 60px;
  padding: 40px 0 24px 0;
  z-index: 1;
  position: relative;
  animation: heroFadeIn .9s .35s backwards;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(-40px) scale(.98); }
  100% { opacity: 1; transform: none; }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero h1 {
  color: var(--primary);
  line-height: 1.13;
  font-size: 2.7rem;
  text-shadow: 0 4px 16px #fff0, 1px 6px 0 #F4C09580;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
  max-width: 560px;
}
.hero .cta-button {
  font-size: 1.15rem;
  padding: 16px 44px;
  font-weight: bold;
  margin-top: 8px;
}
.cta {
  background: linear-gradient(102deg, var(--fun-mint) 0%, var(--accent) 80%);
  border-radius: 38px;
  margin-bottom: 40px;
  box-shadow: 0 4px 22px #3FFFD727;
  animation: ctaPop .5s .3s backwards;
}
@keyframes ctaPop {
  0% { opacity: 0; transform: scale(.97) translateY(12px); }
  100% { opacity: 1; transform: none; }
}
.cta .cta-button {
  margin-top: 12px;
}

/* FEATURE LISTS */
.features, .services, .about, .contact, .legal {
  margin-bottom: 60px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.features ul, .services ul, .about ul, .contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-left: 0;
  margin: 12px 0 0 0;
}
.features ul li, .services ul li, .about ul li, .contact ul li {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff6;
  border-radius: 18px;
  box-shadow: 0 1px 7px #FFC93C18;
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .17s, background .2s, transform .2s;
  position: relative;
  border: 2px solid transparent;
  cursor: pointer;
}
.features ul li:hover, .services ul li:hover, .about ul li:hover {
  background: var(--fun-mint);
  box-shadow: 0 4px 20px #FFC93C26, var(--shadow);
  border-color: var(--fun-yellow);
  transform: scale(1.035) rotate(-1.5deg);
  z-index: 1;
}
.features ul li img, .services ul li img, .about ul li img {
  height: 52px;
  width: 52px;
  margin-bottom: 8px;
  filter: drop-shadow(1px 3px 0 #FFC93C66) drop-shadow(2px 0px 0 #FF77A944);
}
.features ul li h3, .services ul li h3, .about ul li h3 {
  margin-top: 8px;
  color: var(--fun-pink);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.features ul li p,
.services ul li p,
.about ul li p {
  color: var(--primary);
  font-size: 1.01rem;
}

/* TESTIMONIALS */
.testimonials {
  padding: 40px 0;
  margin-bottom: 60px;
  background: var(--fun-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px #FFC93C14, var(--shadow);
}
.testimonials h2 {
  color: var(--primary);
  font-size: 2.1rem;
  margin-bottom: 18px;
  text-shadow: none;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #F4C09523;
  font-size: 1.12rem;
  border-left: 8px solid var(--fun-pink);
  color: var(--primary);
  position: relative;
  min-width: 220px;
  max-width: 580px;
  transition: box-shadow .19s, border-left .19s, transform .15s;
}
.testimonial-card img {
  height: 26px;
  align-self: flex-end;
  margin-top: -14px;
}
.testimonial-card span {
  color: var(--fun-blue);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 8px 40px 0 #F4C09559, var(--shadow);
  border-left-color: var(--fun-mint);
  background: #fcffe5;
}

/* FORMS (for contact page if needed) */
input, select, textarea {
  border: 2px solid var(--fun-pink);
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  background: #fff;
  transition: border .15s, box-shadow .2s;
}
input:focus, textarea:focus {
  border-color: var(--fun-yellow);
  box-shadow: 0 2px 12px #FFD52E30;
}

/* ORDERED LISTS (contact steps) */
ol {
  padding-left: 26px;
  margin-bottom: 20px;
}
ol li {
  margin-bottom: 10px;
  list-style: decimal inside;
  font-size: 1.07rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--accent);
  border-radius: 24px;
  box-shadow: 0 4px 24px #F4C09545;
  padding: 24px 18px 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: cookieSlideIn .8s cubic-bezier(.38,.1,.14,1.12);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(80px) scale(.96); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 220px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 11px 24px;
  min-width: 112px;
  font-size: 1.03rem;
  font-family: 'Montserrat';
  font-weight: 700;
}
.cookie-banner .cookie-actions button {
  box-shadow: none;
}
.cookie-banner .accept {
  background: var(--fun-mint);
  color: var(--primary);
}
.cookie-banner .accept:hover { background: var(--fun-yellow); color: var(--text-dark); }
.cookie-banner .reject {
  background: var(--fun-pink);
  color: #fff;
}
.cookie-banner .reject:hover { background: var(--primary); color: #fff; }
.cookie-banner .settings {
  background: #fff;
  color: var(--fun-pink);
  border: 1px solid var(--fun-pink);
  transition: background .16s;
}
.cookie-banner .settings:hover { background: var(--fun-yellow); color: var(--primary); border-color: var(--fun-yellow); }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(247, 136, 47, 0.16);
  z-index: 101;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn .3s;
}
.cookie-modal {
  background: #fff;
  border-radius: 32px;
  padding: 40px 32px 30px 32px;
  box-shadow: 0 8px 40px #f4c09560, 0 2px 4px #27406014;
  min-width: 320px;
  min-height: 240px;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop .35s cubic-bezier(.34,1.58,.54,.96);
}
@keyframes modalPop {
  0% { transform: scale(0.9) translateY(60px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 { color: var(--fun-pink); margin-bottom: 8px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .switch {
  width: 52px;
  height: 26px;
  border-radius: 23px;
  background: #E9E7E1;
  position: relative;
  cursor: pointer;
  transition: background .15s;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  left: 2px; top: 2px;
  background: #F7882F;
  border-radius: 20px;
  width: 22px; height: 22px;
  transition: .2s cubic-bezier(.24,1.54,.52,.96) all;
}
.cookie-modal .switch input:checked + .slider {
  left: 28px;
  background: var(--fun-pink);
}
.cookie-modal .category-title {
  font-family: 'Montserrat';
  font-weight: 700;
}
.cookie-modal .category-desc {
  font-size: 0.98em;
  opacity: 0.7;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: var(--fun-pink);
  font-size: 1.65rem;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  transition: color .17s;
}
.cookie-modal .close-modal:hover { color: var(--fun-yellow); }

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 17px;
  right: 32px;
  z-index: 51;
  background: var(--fun-mint);
  color: var(--primary);
  border-radius: 18px;
  border: none;
  font-size: 2.3rem;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  transition: background .17s, color .17s, box-shadow .2s, transform .15s;
  box-shadow: 0 2px 8px #27406018;
}
.mobile-menu-toggle:hover {
  background: var(--fun-yellow);
  color: #fff;
  transform: scale(1.08) rotate(5deg);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 99;
  transform: translateX(-110%);
  transition: transform .34s cubic-bezier(.66,1.5,.5,1);
  box-shadow: 0 6px 40px #F4C09545;
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 21px 17px auto;
  font-size: 2.1rem;
  color: var(--fun-pink);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .17s, transform .17s;
}
.mobile-menu-close:hover {
  color: var(--fun-yellow);
  transform: rotate(-10deg) scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 30px;
}
.mobile-nav a {
  color: var(--primary);
  padding: 14px 12px;
  font-size: 1.19rem;
  font-family: 'Montserrat';
  font-weight: 700;
  border-radius: 22px;
  margin: 2px 0;
  transition: background .16s, color .13s, transform .13s;
}
.mobile-nav a:hover {
  background: var(--fun-mint);
  color: var(--fun-pink);
  transform: scale(1.03);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .container { max-width: 97vw; }
  .main-nav {
    gap: 11px;
    font-size: 0.93rem;
  }
}
@media (max-width: 800px) {
  .container { max-width: 99vw; padding: 0 7px; }
  .main-nav a {
    padding: 6px 6px;
  }
}
@media (max-width: 900px) {
  .testimonials .content-wrapper, .features .content-wrapper, .about .content-wrapper, .services .content-wrapper, .contact .content-wrapper, .legal .content-wrapper {
    gap: 12px;
  }
}

/* =========== RESPONSIVE MOBILE ============= */
@media (max-width: 768px) {
  body { font-size: 0.96rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .contact-footer {
    flex-direction: column;
    gap: 2px;
  }
  .section, .hero, .cta, .features, .about, .services, .contact, .legal, .testimonials {
    padding: 18px 3vw 15px 3vw;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .hero h1 { font-size: 1.7rem; }
  .features ul, .services ul, .about ul,
  .contact ul {
    flex-direction: column;
    gap: 20px;
  }
  .features ul li, .services ul li, .about ul li {
    min-width: 0;
    width: 100%;
    padding: 20px 12px 15px 12px;
  }
  .testimonial-card { max-width: 100%; }
  .testimonials h2, .features h2 { font-size: 1.13rem; }
  .cta .content-wrapper { gap: 9px; }
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    left: 4vw; right: 4vw;
    padding: 14px 8px 12px 15px;
  }
  .cookie-modal {
    min-width: 90vw;
    padding: 24px 10px;
    font-size: .98rem;
  }
  .legal .content-wrapper {
    padding: 0 3vw;
  }
  .text-image-section { flex-direction: column; gap: 15px; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .features ul li, .testimonial-card, .cta-button, .footer-nav a, .mobile-nav a {
  transition: box-shadow .16s, transform .16s, border-color .15s, background .16s, color .16s;
}
.cta-button::after {
  content: '→';
  margin-left: 9px;
  display: inline-block;
  font-size: 1.09em;
  color: var(--fun-pink);
  transform: translateX(0); transition: transform .18s;
}
.cta-button:hover::after { transform: translateX(5px) rotate(-10deg); }

/* PLAYFUL ACCENTS */
h2 {
  position: relative;
}
h2::before {
  content: '';
  display: block;
  width: 48px;
  height: 6px;
  background: var(--fun-yellow);
  border-radius: 7px;
  position: absolute;
  bottom: -14px;
  left: 0;
  z-index: 0;
  opacity: 0.44;
}
.hero h1::after {
  content: '🥳';
  font-size: 1.1em;
  vertical-align: middle;
  margin-left: 8px;
  animation: emojiBounce .9s infinite alternate;
}
@keyframes emojiBounce {
  0% { transform: rotate(-4deg) translateY(0); }
  100% { transform: rotate(10deg) translateY(-8px); }
}
.features ul li:hover img, .services ul li:hover img {
  animation: wiggle .4s;
}
@keyframes wiggle {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-13deg); }
  50% { transform: rotate(11deg); }
  70% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

/* CARD PATTERNS (ex. for testimonials, features, services) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 22px 16px;
  border-radius: 16px;
  background: #fff;
  border-left: 5px solid var(--fun-yellow);
  transition: box-shadow .14s, border .14s;
}

/* SHARED PATTERNS */
.short-example {
  background: var(--fun-mint);
  border-radius: 14px;
  padding: 10px 18px;
  color: var(--primary);
  font-style: italic;
  margin: 16px 0 0 0;
  font-size: 1.02rem;
}

/* MISC ELEMENTS */
.legal {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding-top: 30px;
  padding-bottom: 30px;
}
.legal .content-wrapper ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.legal h2 {
  margin-top: 22px;
}

/* UTILITY CLASSES */
.hide { display: none !important; }
.flex { display: flex; }
.align-center { align-items: center; }
.gap-24 { gap: 24px; }

/* ---- END ---- */