/* RESET & NORMALIZE */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FFF;
  color: #283F47;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #86521A; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #A67C52; outline: none; }
ul, ol { margin-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #283F47;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
h1 { font-size: 32px; margin-bottom: 20px; }
h2 { font-size: 24px; margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 14px; }
@media (min-width: 600px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
}
input, textarea, button {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
}

/* BRAND COLORS */
:root {
  --color-primary: #283F47;
  --color-secondary: #E2DED7;
  --color-accent: #A67C52;
  --color-accent-bright: #F9B233;
  --color-card-bg: #FFFFFF;
  --color-card-shadow: rgba(40, 63, 71, 0.10);
  --color-fun1: #FF92A9;
  --color-fun2: #7FE7D5;
  --color-fun3: #FFD45B;
  --color-dark: #283F47;
  --color-white: #ffffff;
  --color-grey-light: #F6F4F3;
  --color-grey: #878787;
}

/* LAYOUT, CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (min-width: 800px) {
  .section { padding: 40px 0; }
}
.text-section {
  background: var(--color-fun2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 24px var(--color-card-shadow), 0 1.5px 5px rgba(249, 178, 51, .08);
  transition: background .3s;
}

/* HEADER */
header {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
}
header .container {
  padding: 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header img { height: 42px; width: auto; }
.main-nav {
  display: none;
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: center;
  }
  .mobile-menu-toggle { display: none !important; }
}
.main-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent-bright);
  color: var(--color-dark);
}
.cta-btn {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 30px;
  box-shadow: 0 2px 8px var(--color-card-shadow);
  letter-spacing: 0.03em;
  transition: background .2s, color .2s, transform .18s, box-shadow .2s;
  margin-left: 8px;
  cursor: pointer;
  border: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-btn:hover,.cta-btn:focus {
  background: var(--color-fun1);
  color: var(--color-dark);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 18px var(--color-card-shadow);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1111;
  background: var(--color-accent-bright);
  border: none;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 19px rgba(166, 124, 82, 0.09);
  cursor: pointer;
  transition: background .2s, color .2s, transform .18s;
}
.mobile-menu-toggle:active {
  transform: scale(.9) rotate(7deg);
}
/* Hamburger visible only on mobile */
@media (max-width: 899px) {
  .mobile-menu-toggle { display: flex; }
  .main-nav { display: none !important; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: var(--color-fun1);
  z-index: 2222;
  transform: translateX(100vw);
  transition: transform .4s cubic-bezier(.7,.2,.3,1), box-shadow .18s;
  box-shadow: -10px 0 40px rgba(40,63,71,0.13);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 32px;
  background: var(--color-fun3);
  color: var(--color-primary);
  border-radius: 50%;
  border: none;
  width: 48px; height: 48px;
  margin: 12px 28px 0 0;
  cursor: pointer;
  transition: background .19s, color .2s;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun2);
  color: var(--color-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 46px 38px 20px 38px;
  align-items: flex-end;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  background: var(--color-fun2);
  padding: 8px 28px 8px 20px;
  margin-right: 0;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-card-shadow);
  transition: background .2s, color .2s, transform .12s;
  margin-bottom: 4px;
  min-width: 190px;
  text-align: right;
  letter-spacing: 0.02em;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: var(--color-fun1);
  color: var(--color-accent);
}

/* HERO */
.hero {
  background: linear-gradient(100deg, var(--color-secondary) 80%, var(--color-fun2) 120%);
  padding: 60px 0 40px 0;
  min-height: 285px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  border-radius: 0 0 48px 0;
  box-shadow: 0 6px 32px rgba(255,210,107,.05);
}
.hero .container {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 32px;
  letter-spacing: .005em;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-shadow: 1px 2px 0px var(--color-fun3), 0px 4px 12px rgba(249,178,51,0.10);
  animation: popSlide .8s cubic-bezier(.34,1.56,.64,1) both;
}
.hero p.subheadline, .cover-slogan {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 26px;
  opacity: 0.78;
}
@media (min-width: 700px) {
  .hero h1 {
    font-size: 46px;
    margin-bottom: 14px;
  }
}

@keyframes popSlide {
  0% { opacity: 0; transform: translateX(-32px) scale(.8) skewY(-4deg); }
  80% { opacity: 1; transform: translateX(6px) scale(1.04) skewY(2deg); }
  100% { opacity:1; transform: none; }
}

/* FEATURES and CARD GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 15px;
  margin-bottom: 10px;
}
.feature-card {
  background: var(--color-card-bg);
  border-radius: 22px;
  box-shadow: 0 3px 14px var(--color-card-shadow);
  padding: 32px 24px 28px 24px;
  width: 100%;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  border: 3.5px dashed var(--color-fun3);
  transition: border .22s, transform .19s, box-shadow .23s;
}
.feature-card:hover {
  border-color: var(--color-fun1);
  box-shadow: 0 7px 28px var(--color-card-shadow);
  transform: scale(1.05) rotate(-1deg);
}
.feature-card img {
  height: 54px;
  margin-bottom: 12px;
}
.feature-card h3 {
  color: var(--color-accent);
  margin-bottom: 9px;
  font-size: 20px;
  font-family: 'Montserrat', cursive, sans-serif;
  text-shadow: 0 0.5px var(--color-fun3);
}
.feature-card p {
  color: var(--color-primary);
  font-size: 16px;
  line-height: 1.5;
}

/* FLEX + GRID CONTAINERS Rules from Prompt */
.card-container, .feature-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--color-card-shadow);
  padding: 24px;
}
.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: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--color-fun3);
  color: var(--color-primary);
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 520px;
  font-size: 18px;
  letter-spacing: .01em;
  transition: box-shadow .22s, transform .14s;
  border: 2.5px solid var(--color-fun2);
  position: relative;
}
.testimonial-card strong {
  color: var(--color-dark);
  font-size: 16px;
}
.testimonial-card .stars { margin-top: 4px; }
.testimonial-card .stars img { width: 22px; display: inline-block; }
.testimonial-card:hover {
  box-shadow: 0 7px 25px var(--color-card-shadow);
  transform: translateY(-3px) scale(1.02) rotate(-2deg);
}

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

/**** OFFERS, CALLOUTS, CTA BANNERS ****/
.cta-banner, .callout {
  background: var(--color-fun2);
  border-radius: 32px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 28px var(--color-card-shadow), 0 1.2px 2px rgba(127,231,213, 0.10);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: ctaPop 0.8s cubic-bezier(.65,1.6,.38,1.25) both;
}
@keyframes ctaPop {
  0% { opacity: 0; transform: scale(.91) translateY(40px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.callout {
  background: var(--color-fun1);
  box-shadow: 0 4px 32px var(--color-card-shadow), 0 1.2px 2px rgba(255,146,169, 0.07);
}

/**** FORMS, SEARCH BOX ****/
input[type="text"], textarea {
  background: #fff;
  border-radius: 17px;
  padding: 12px 18px;
  border: 2px solid var(--color-fun2);
  margin-bottom: 12px;
  font-size: 17px;
  color: var(--color-primary);
  width: 100%;
  outline: none;
  box-shadow: 0 1px 7px var(--color-card-shadow);
  transition: border .19s, box-shadow .19s;
}
input[type="text"]:focus, textarea:focus {
  border: 2px solid var(--color-accent);
  box-shadow: 0 3px 19px var(--color-card-shadow);
}

/**** NEWSLETTER ****/
.newsletter input[type="email"] {
  background: #fff;
  border-radius: 15px;
  padding: 11px 19px;
  border: 2px solid var(--color-accent);
  font-size: 17px;
  color: var(--color-primary);
  margin-right: 12px;
}

/**** PRIVACY/NOTICE BLOCKS ****/
.privacy-notice {
  background: var(--color-grey-light);
  border-radius: 14px;
  padding: 14px 17px;
  margin-top: 17px;
  color: var(--color-dark);
  font-size: 15px;
}
.privacy-notice a {
  color: var(--color-accent);
  text-decoration: underline;
}

/**** BLOG CATEGORIES ****/
.categories {
  margin-top: 22px;
  color: var(--color-primary);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.categories span {
  background: var(--color-fun3);
  color: var(--color-dark);
  border-radius: 8px;
  padding: 3px 11px;
  font-weight: 600;
  margin-right: 4px;
  font-size: 15px;
}

/**** FOOTER ****/
footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 38px;
  padding-bottom: 32px;
  margin-top: 60px;
  border-radius: 48px 0 0 0;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-weight: 500;
  opacity: .86;
  font-size: 15px;
  border-radius: 10px;
  padding: 3px 12px;
  background: none;
  transition: background .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-fun2);
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-contact img {
  width: 19px; height: 19px; margin-right: 9px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}
.footer-logo {
  margin-top: 8px;
  text-align: right;
}
.footer-logo img {
  width: 52px; height: auto;
}

/**** RESPONSIVE & MOBILE WIDTHS ****/
@media (max-width: 1050px) {
  .container { max-width: 96vw; }
}
@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  footer .container, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner, .callout { padding: 22px 10px; }
  .text-section { padding: 20px 10px; }
}
@media (max-width: 600px) {
  .hero { border-radius: 0 0 22px 0; padding: 28px 0 15px 0; }
  .section { margin-bottom: 34px; padding: 23px 5px; }
  .feature-card, .testimonial-card { padding: 19px 10px 19px 10px; max-width: 100%; }
  .cta-btn { font-size: 15px; padding: 7px 19px; }
}

/* ANIMATIONS, HOVER, FUN EFFECTS */
.section, .feature-grid, .cta-banner, .callout, .testimonial-card {
  transition: box-shadow .19s, transform .16s;
}
.card:hover, .feature-card:hover, .testimonial-card:hover, .cta-banner:hover, .callout:hover {
  box-shadow: 0 10px 35px var(--color-card-shadow);
}
li {
  position: relative;
  padding-left: 17px;
  list-style: none;
  font-size: 16px;
}
li:before {
  content: '\2022';
  color: var(--color-fun1);
  position: absolute;
  left: 0; top: 0;
  font-size: 20px;
  font-weight: bold;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 8020;
  background: var(--color-fun3);
  color: var(--color-dark);
  padding: 27px 14px 17px 14px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  box-shadow: 0 -2px 24px rgba(166,124,82,0.17);
  font-size: 16px;
  border-radius: 24px 24px 0 0;
  animation: cookieSlideIn .67s cubic-bezier(.69,2.2,.41,1.1) both;
}
@keyframes cookieSlideIn {
  from { transform: translateY(200px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 28px;
  font-size: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-fun2);
  color: var(--color-primary);
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: var(--color-fun1);
  color: var(--color-accent);
}
.cookie-btn.reject:hover {
  background: var(--color-accent-bright);
  color: var(--color-dark);
}
.cookie-btn.settings {
  background: var(--color-fun2);
  color: var(--color-primary);
}
.cookie-btn.settings:hover {
  background: #fff6;
  color: var(--color-dark);
}

/**** COOKIE MODAL SETTINGS ****/
.cookie-modal {
  position: fixed;
  z-index: 8042;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,63,71,0.46);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s cubic-bezier(.49,2.1,.54,1.05) both;
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal-content {
  background: var(--color-card-bg);
  color: var(--color-dark);
  border-radius: 24px;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 5px 32px var(--color-card-shadow);
  min-width: 265px;
  max-width: 99vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: popModal .45s cubic-bezier(.45,2.2,.38,1.12) both;
}
@keyframes popModal {
  from { transform:scale(.75); opacity:0; }
  to { transform:scale(1); opacity:1; }
}
.cookie-modal-content h3 {
  font-size: 22px; margin-bottom: 13px; color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  font-size: 16px;
}
.cookie-category input[type=checkbox] {
  width: 19px; height: 19px;
  accent-color: var(--color-fun3);
  margin-right: 8px;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #CCC;
  opacity: 0.5;
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 9px;
  background: var(--color-fun3);
  border: none;
  color: var(--color-primary);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s, color .14s;
}
.cookie-modal-close:hover {
  background: var(--color-fun1); color: var(--color-accent);
}

/**** UTILITY CLASSES ****/
.hide-mobile { display: none !important; }
@media (min-width: 800px) { .hide-mobile { display: flex !important; } }
.hide-desktop { display: flex !important; }
@media (min-width: 800px) { .hide-desktop { display: none !important; } }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.flex-center { justify-content: center; align-items: center; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }

/**** SCROLLBAR & SELECTION ****/
::selection {
  background: var(--color-fun1);
  color: var(--color-primary);
}
::-webkit-scrollbar { width: 10px; background: var(--color-fun2); border-radius: 7px; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 7px; }

/**** FUN, PLAYFUL FONTS & ELEMENTS ****/
.hero h1, .cta-banner h2, .callout h2, .feature-card h3, .mobile-nav a {
  font-family: 'Montserrat', cursive, sans-serif;
  letter-spacing: .02em;
  font-weight: 800;
}
.cta-banner h2, .callout h2 {
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 7px;
  text-shadow: 1.2px 2.8px var(--color-fun1);
}
@media (min-width: 800px) {
  .cta-banner h2, .callout h2 { font-size: 36px; }
}

/**** ANIMATED DECORATIVE ELEMENTS (example for playful touch) ****/
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: 24px;
  bottom: -31px;
  width: 56px;
  height: 56px;
  border-radius: 65% 35% 60% 40% / 54% 35% 65% 46%;
  background: var(--color-fun3);
  opacity: .19;
  z-index: 1;
  animation: blobBounce 2.7s infinite alternate ease-in-out;
  pointer-events: none;
}
@keyframes blobBounce {
  0% { transform: scale(1) rotate(0deg) translateY(0); }
  30% { transform: scale(.95,1.04) rotate(9deg) translateY(-8px); }
  60% { transform: scale(1,0.96) rotate(-8deg) translateY(5px); }
  100% { transform: scale(1.05) rotate(7deg) translateY(0); }
}

/**** SPACING and CUSTOM BUTTON EFFECTS ****/
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .card-grid, .content-grid {
  gap: 24px;
}
.card, .feature-card, .testimonial-card { margin-bottom: 20px; }
@media (max-width: 700px) {
  section, .section { padding: 16px 4px; margin-bottom: 28px; }
  .cta-banner, .callout { padding: 14px 6px; }
}

/**** VISUAL HIERARCHY ****/
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 700;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}

/**** ENSURE NO OVERLAPPING ****/
.card, .feature-card, .testimonial-card, .cta-banner, .callout{
  margin-bottom: 24px;
}

