/* --- CSS RESET & NORMALIZE (Mobile-first) --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #F7F2ED;
  color: #3D2B21;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #8D3D25;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23695A;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
:focus {
  outline: 2px solid #23695A;
  outline-offset: 2px;
}

/* --- BRAND COLORS & PLAYFUL DYNAMIC COLOR PALETTE EXTENSION --- */
:root {
  --color-primary: #8D3D25;
  --color-secondary: #F7F2ED;
  --color-accent: #23695A;
  --color-accent-light: #3D7068;
  --color-bright-yellow: #FFD93A;
  --color-bright-blue: #10BBFE;
  --color-playful-pink: #F9577B;
  --color-white: #FFFFFF;
  --color-black: #222024;
  --color-gray: #E7E2DD;
  --color-shadow: rgba(141,61,37,0.13);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  line-height: 1.15;
  text-shadow: 1px 2px 0 #FFD93A33, 3px 6px 14px #8D3D2512;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 13px;
  line-height: 1.19;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #314341;
  margin-bottom: 12px;
}
ul li, ol li {
  padding-left: 0.2em;
  margin-bottom: 7px;
}
strong {
  font-weight: 700;
  color: var(--color-playful-pink);
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content-wrapper {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 1px 20px 0 var(--color-shadow);
  padding: 32px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* --- MAIN NAV: playful, bright, dynamic --- */
header {
  background: linear-gradient(90deg, #FFD93A 0%, #F7F2ED 60%, #F9577B15 100%);
  padding: 0;
  box-shadow: 0 7px 15px -13px #F9577B33;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  background: none;
  border-radius: 16px;
  padding: 8px 18px;
  transition: background 0.25s, color 0.18s, box-shadow 0.22s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--color-playful-pink);
  color: #fff;
  box-shadow: 0 2px 13px 0 #F9577B33;
}
header a.cta-primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 10px 0 #8D3D2553;
  padding: 9px 27px 9px 29px;
  margin-left: 12px;
  transition: background 0.2s, transform 0.16s, box-shadow 0.22s;
}
header a.cta-primary:hover, header a.cta-primary:focus {
  background: var(--color-playful-pink);
  color: #FFD93A;
  transform: scale(1.08) rotate(-1.4deg);
  box-shadow: 0 5px 20px 0 #F9577B44;
}
header img {
  max-height: 54px;
}

/* --- BURGER MENU: Mobile toggle --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 55;
  background: var(--color-playful-pink);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2.2rem;
  box-shadow: 0 2px 8px 0 #F9577B55;
  border: none;
  transition: background 0.2s, transform 0.16s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-bright-yellow);
  color: var(--color-primary);
  transform: scale(1.09);
}

/* Hide desktop nav on mobile, show burger menu */
header nav, header a.cta-primary {
  display: none;
}
@media (min-width: 950px) {
  .mobile-menu-toggle {display: none !important;}
  header nav, header a.cta-primary {display: flex !important;}
  header .container {gap: 0;}
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(100deg, #FFD93A 33%, #F7F2ED 70%, #F9577B09 100%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateX(110vw);
  transition: opacity 0.28s cubic-bezier(.74,0,.26,1), transform 0.33s cubic-bezier(.74,0,.26,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 42px; height: 42px;
  font-size: 2rem;
  margin: 16px 18px 0 0;
  align-self: flex-end;
  transition: background 0.2s, color 0.14s, transform 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-playful-pink);
  color: var(--color-bright-yellow);
  transform: rotate(10deg) scale(1.09);
}
.mobile-nav {
  margin: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 90vw;
  max-width: 350px;
  align-items: flex-end;
}
.mobile-nav a {
  background: var(--color-accent-light);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  border-radius: 13px;
  padding: 12px 40px 12px 19px;
  margin-bottom: 4px;
  box-shadow: 0 1px 8px 0 #3D706866;
  min-width: 170px;
  text-align: right;
  transition: background 0.15s, color 0.15s, transform 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: #FFD93A;
  transform: scale(1.08) translateX(-7px);
}

@media (min-width: 950px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- MAIN BUTTON STYLES --- */
.cta-primary, button.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-primary) 75%, var(--color-playful-pink) 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.025em;
  border-radius: 19px;
  min-width: 164px;
  padding: 13px 34px;
  margin-top: 8px;
  text-align: center;
  box-shadow: 0 3px 12px 0 #23695A22;
  transition: background 0.18s, color 0.15s, box-shadow 0.19s, transform 0.12s;
  border: none;
}
.cta-primary:hover, .cta-primary:focus
{  background: linear-gradient(90deg, var(--color-playful-pink) 75%, #FFD93A 100%);
   color: #8D3D25;
   box-shadow: 0 7px 22px 0 #F9577B22;
   transform: scale(1.05) rotate(-1.5deg);
}

/* --- FLEXBOX-only LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 1px 13px 0 #8D3D2515;
  margin-bottom: 20px;
  padding: 22px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.19s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px 0 #FFD93A26;
  transform: translateY(-5px) scale(1.019);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffbea;
  border-radius: 18px;
  box-shadow: 0 3px 20px 0 #FFD93A25;
  padding: 20px 22px;
  margin-bottom: 20px;
  border-left: 7px solid var(--color-playful-pink);
  transition: box-shadow 0.19s, transform 0.14s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.014);
  box-shadow: 0 8px 28px 0 #10BBFE28;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card p {
  color: var(--color-black);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.testimonial-card img {
  width: 80px;
  margin-top: 4px;
  filter: saturate(1.7) drop-shadow(0 1px 2px #FFD93A);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bright-blue);
  color: #fff;
  border-radius: 15px;
  padding: 18px 14px;
  box-shadow: 0 4px 12px 0 #10BBFE22;
  margin-bottom: 20px;
}

.contact-info, .contact-map {
  margin: 18px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info span, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

/**** --- OFFER OVERVIEW CARD--- ****/
.offer-overview {
  display: flex;
  flex-direction: column;
  gap: 19px;
  background: #FFF6EC;
  border-radius: 17px;
  padding: 19px;
  box-shadow: 0 1px 12px 0 #FFD93A22;
}
.offer-overview h3 {
  margin-bottom: 2px;
  color: var(--color-primary);
}
.offer-overview p {
  margin-bottom: 5px;
}

/**** --- FOOTER --- ****/
footer {
  background: linear-gradient(90deg, #FFD93A 0%, #fff 75%, #3D706818 100%);
  color: var(--color-primary);
  box-shadow: 0 -5px 25px 0 #8D3D2516;
  font-size: 0.99rem;
  position: relative;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 33px 16px;
}
.footer-nav, .footer-contact {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  padding: 6px 13px;
  border-radius: 8px;
  transition: background 0.16s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-playful-pink);
  color: #fff;
}
.footer-contact span {
  background: #FFD93A33;
  border-radius: 9px;
  padding: 5px 10px;
  font-weight: 600;
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
}
.brand-footer {
  margin-top: 21px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-footer img {
  max-width: 60px;
  filter: drop-shadow(0 4px 7px #FFD93A66);
}

/**** --- ANIMATIONS & MICRO-INTERACTIONS --- ****/
.cta-primary, .card, .testimonial-card, .mobile-menu, .mobile-nav a {
  transition: background 0.18s, color 0.15s, box-shadow 0.16s, transform 0.16s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/**** --- RESPONSIVE MEDIA QUERIES --- ****/
@media (max-width: 950px) {
  header .container {gap: 0;}
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
    gap: 16px;
  }
  .content-wrapper {
    padding: 18px 8px 18px 8px;
    gap: 6px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 37px;
  }
  .card-container,
  .content-grid {
    gap: 10px;
  }
  .testimonial-card {
    padding: 14px 10px;
    gap: 10px;
  }
  .card {
    padding: 13px 7px;
  }
  .footer-nav, .footer-contact {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 14px;
  }
  .offer-overview {
    padding: 11px;
    gap: 10px;
  }
}
@media (max-width: 500px) {
h1, .h1 {font-size: 1.5rem;}
h2, .h2 {font-size: 1.1rem;}
h3, .h3 {font-size: 0.99rem;}
}

/* --- SPACING BETWEEN CARDS/ELEMENTS --- */
section > .container > *+*, .card-container > *+*, .content-grid > *+*, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px !important;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffbea;
  color: var(--color-primary);
  box-shadow: 0 -2px 16px 0 #FFD93A55;
  z-index: 300;
  padding: 24px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: opacity 0.28s cubic-bezier(.74,0,.26,1), transform 0.36s cubic-bezier(.74,0,.26,1);
  opacity: 1;
  pointer-events: all;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-text {
  font-size: 1rem;
  font-weight: 600;
  color: #3D2B21;
}
.cookie-banner-btns {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-banner-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 13px;
  margin-right: 3px;
  background: var(--color-accent-light);
  color: #fff;
  box-shadow: 0 2px 9px 0 #23695A22;
  border: none;
  transition: background 0.16s, color 0.13s, transform 0.15s;
}
.cookie-banner-btns button:hover, .cookie-banner-btns button:focus {
  background: var(--color-primary);
  color: #FFD93A;
  transform: scale(1.04) rotate(-1.5deg);
}
.cookie-banner-btns .cookie-settings-btn {
  background: #FFD93A;
  color: var(--color-primary);
  font-weight: 800;
  padding: 9px 23px;
  border-radius: 15px;
  margin-left: 4px;
}
.cookie-banner-btns .cookie-settings-btn:hover {
  background: var(--color-playful-pink);
  color: #FFD93A;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%,61%) scale(1);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 38px 8px #23695A45;
  z-index: 310;
  min-width: 320px;
  max-width: 87vw;
  width: 400px;
  padding: 32px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.74,.07,.26,1), transform 0.33s cubic-bezier(.74,.07,.26,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 13px;
  background: var(--color-playful-pink);
  color: #fff;
  border-radius: 7px;
  font-size: 1.45rem;
  padding: 4px 10px;
  box-shadow: 0 2px 7px 0 #F9577B29;
  border: none;
  cursor: pointer;
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-modal .category input[type=checkbox] {
  accent-color: var(--color-playful-pink);
  width: 19px; height: 19px;
}
.cookie-modal .category-label {
  font-weight: 600;
}
.cookie-modal .category.essential .category-label {
  color: var(--color-gray);
  font-style: italic;
  font-weight: 600;
}
.cookie-modal .category.essential input[type=checkbox] {
  accent-color: var(--color-gray);
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

/**** --- PLAYFUL DYNAMIC DECORATIVE ELEMENTS --- ****/
.section {
  position: relative;
  z-index: 1;
}
.section::before {
  content: '';
  position: absolute;
  top: -25px; right: -45px;
  width: 88px; height: 88px;
  background: #FFD93A77;
  border-radius: 60% 40% 60% 40%/60% 60% 40% 40%;
  z-index: 0;
  opacity: 0.3;
  filter: blur(5px);
  pointer-events: none;
  animation: floatBG 4s ease-in-out infinite alternate;
  mix-blend-mode: multiply;
}
.section:nth-child(even)::before {
  left: -35px;
  right: unset;
  background: #F9577B55;
  animation-delay: 1.1s;
}
@keyframes floatBG {
  to {transform: translateY(15px) scale(1.08) rotate(7deg); opacity: 0.23;}
}

/**** --- FUN HOVER EFFECTS FOR LI ITEMS --- ****/
ul li:hover, ol li:hover {
  background: #FFD93A33;
  border-radius: 10px;
  padding-left: 12px;
  transition: background 0.13s, padding 0.12s;
}

/* --- SUCCESS/THANKS PAGE --- */
.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/**** --- ACCESSIBILITY: CONTRAST FOR TESTIMONIAL CARDS ON ALL BACKGROUNDS --- ****/
.testimonial-card {
  color: #1B140E;
  background: #fffdea;
}
.testimonial-card p, .testimonial-card span {
  color: #222024;
}

/* --- PRINT FRIENDLY --- */
@media print {
  header, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, footer { display:none !important; }
  .container, .content-wrapper, .section {box-shadow: none !important; background: none !important;}
}

/* -- END -- */
