/*----------------------------
  CSS 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,
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;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  background: #F1F0ED;
  scroll-behavior: smooth;
  color: #1A1E23;
}
body {
  background: #F1F0ED;
  color: #1A1E23;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #64564D;
  transition: color 0.2s;
  outline: 0;
}
a:visited {
  color: #64564D;
}
a:hover, a:focus {
  color: #F9B943;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin: 16px 0;
}
strong, b {
  font-weight: bold;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@400;700&display=swap');

/*----------------------------
  Brand Color Variables
-----------------------------*/
:root {
  --primary: #1A1E23;
  --secondary: #64564D;
  --accent: #F1F0ED;
  --playful-yellow: #F9B943;
  --playful-pink: #FF5AA7;
  --playful-mint: #37ECD4;
  --playful-blue: #2DABF9;
  --playful-orange: #FFB766;
  --white: #fff;
  --black: #191919;
  --shadow-base: 0 2px 16px 0 rgba(100,86,77,0.10);
  --shadow-elevated: 0 4px 18px 2px rgba(25,25,25,0.10);
}

/*----------------------------
  Typography
-----------------------------*/
h1, .hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--playful-pink);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  /* Playful shadow accent */
  text-shadow: 2px 4px 0 var(--playful-yellow), 1px 1px 0 #fff;
  animation: bounceIn 1s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes bounceIn {
  0% { transform: scale(0.95) translateY(20px); opacity: 0; }
  70% { transform: scale(1.03) translateY(-10px); opacity: 1; }
  100% { transform: scale(1) translateY(0); }
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--playful-blue);
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 1px 3px 0 var(--playful-mint);
}
h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--playful-orange);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 600;
}
.subtitle {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.125rem;
  color: var(--secondary);
  font-weight: 400;
  margin-bottom: 24px;
}
p, li, address {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
blockquote.brand-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--playful-mint);
  border-left: 4px solid var(--playful-yellow);
  margin: 24px 0;
  padding: 12px 24px 12px 20px;
  background: var(--white);
  box-shadow: var(--shadow-base);
  border-radius: 12px;
}

ol li, ul li {
  margin-bottom: 8px;
}

/*----------------------------
  Container & Section Layout
-----------------------------*/
.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*----------------------------
  Flex Layout Utilities
-----------------------------*/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-base);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-base);
  margin-bottom: 24px;
  border-left: 6px solid var(--playful-pink);
  animation: fadeInTestimonial 0.8s;
}
@keyframes fadeInTestimonial {
  from{ opacity:0; transform: translateY(40px);}
  to{opacity:1; transform:translateY(0);}
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(255,90,167,.04), var(--shadow-base);
  padding: 26px 20px 22px 20px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.feature-item img {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(61,210,237,0.1));
}
.feature-item h3 { font-size: 1.07rem; }
.feature-item strong {
  color: var(--playful-pink);
  margin-top: 4px;
}
.feature-item:hover {
  transform: translateY(-7px) scale(1.018) rotate(-1deg);
  box-shadow: 0 10px 38px 0 rgba(255,186,70,.16), 0 2px 15px 0 #ff5aa722;
  background: var(--white);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  background: transparent;
}
.info-box {
  background: var(--playful-mint);
  color: var(--primary);
  border-radius: 14px;
  padding: 20px 18px;
  margin: 22px 0 0 0;
  box-shadow: 0 2px 9px 0 rgba(45,171,249,0.09);
  font-size: 1.08em;
  font-family: 'Lato', Arial, sans-serif;
}

/* Distinctive meta below testimonials */
.testimonial-meta {
  font-family: 'Lato', Arial, sans-serif;
  color: var(--secondary);
  font-size: 0.98em;
  font-style: italic;
  margin-top: -10px;
}

/*----------------------------
  Hero Section
-----------------------------*/
.hero {
  min-height: 340px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #FFB766 0%, #F9B943 35%, #ff5aa7 100%);
  background-size: 200%;
  background-position: 0 50%;
  animation: bgMove 5s linear infinite alternate;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 20px 60px -6px rgba(249,185,67,.06);
  margin-bottom: 42px;
  width: 100%;
}
@keyframes bgMove {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 310px;
}
.hero h1, .hero .subtitle {
  color: var(--primary);
  text-shadow: none;
}
.hero .cta.primary {
  margin-top: 16px;
}

/*----------------------------
  Buttons and CTAs
-----------------------------*/
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.12rem;
  border: none;
  border-radius: 50px;
  background: var(--playful-pink);
  color: #fff;
  box-shadow: 0 2px 10px 0 #ffb7663f, 0 1.5px 10px 0 #ff5aa730;
  cursor: pointer;
  transition: background .3s, transform .2s, box-shadow 0.2s;
  outline: 0;
  gap: 10px;
  position: relative;
  margin-right: 14px;
}
.cta:hover, .cta:focus {
  background: var(--playful-yellow);
  color: var(--primary);
  transform: translateY(-2px) scale(1.045) rotate(-2deg);
  box-shadow: 0 6px 30px 0 rgba(255,186,70,.22);
  text-decoration: none;
}
.cta.primary {
  background: var(--playful-yellow);
  color: var(--primary);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--playful-pink);
  color: #fff;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: transparent;
  transition: all .2s;
}

/*----------------------------
  Header and Navigation
-----------------------------*/
header {
  width: 100%;
  background: var(--white);
  border-bottom: 2px solid var(--playful-yellow);
  box-shadow: var(--shadow-base);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 64px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  margin-left: 26px;
  flex: 1 0 auto;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01em;
  color: var(--primary);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  border-radius: 8px;
  transition: color .19s, background .16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--playful-pink);
  background: var(--accent);
}
.mobile-menu-toggle {
  display: none;
  background: var(--playful-yellow);
  color: var(--primary);
  border-radius: 40px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 24px;
  transition: background 0.3s, box-shadow 0.2s;
  box-shadow: 0 4px 8px 0 #ffb7662b;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--playful-pink);
  color: #fff;
  box-shadow: 0 6px 18px 0 #ff5aa735;
}

/*----------------------------
  Mobile Menu
-----------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #ffb766 0%, #ff5aa7 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 4000 !important;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.86,0,.07,1), opacity .34s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 8px 54px 0 #ff5aa724;
}
.mobile-menu-close {
  background: var(--white);
  color: var(--playful-pink);
  border-radius: 80px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 2.2rem;
  margin: 18px 18px 8px 18px;
  align-items: center;
  justify-content: center;
  display: flex;
  border: none;
  box-shadow: 0 4px 19px 0 #ff5aa71e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 35px;
  margin-top: 35px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  padding: 16px 0;
  border-radius: 8px;
  transition: background .21s, color .19s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--playful-mint);
  color: var(--playful-pink);
  outline: none;
}

/*----------------------------
  Footer
-----------------------------*/
footer {
  background: #fff;
  border-top: 2px solid var(--playful-yellow);
  margin-top: 50px;
  padding: 30px 0 16px 0;
  font-size: 0.98rem;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--playful-pink);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 0.98em;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 0;
  transition: color 0.18s, background .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--primary);
  background: var(--playful-mint);
}
.footer-info {
  color: var(--secondary);
  font-size: 0.97em;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 10px;
}

/*----------------------------
  Cookie Consent Banner
-----------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe6;
  color: var(--primary);
  z-index: 5000;
  box-shadow: 0 -3px 24px 0 #f9b94330;
  padding: 25px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.03em;
  animation: bounceBanner .7s;
}
@keyframes bounceBanner {
  0% { transform: translateY(100%); opacity:0 }
  60% { transform: translateY(-14px); opacity:1}
  100% { transform: translateY(0) }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 22px;
  border-radius: 40px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.04em;
  border: none;
  background: var(--playful-yellow);
  color: var(--primary);
  margin-left: 0;
  cursor: pointer;
  box-shadow: 0 1px 7px 0 #ffb76622;
  transition: background .19s, color .16s, transform .17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--playful-pink);
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .cookie-settings-btn {
  background: var(--playful-mint);
  color: var(--primary);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--playful-blue);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  z-index: 7000;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 70px 0 #ff5aa733, var(--shadow-elevated);
  max-width: 400px;
  min-width: 280px;
  width: 90vw;
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  animation: fadeInModal 0.5s;
}
@keyframes fadeInModal {
  from { opacity:0; transform: translate(-50%,-30%) scale(0.97); }
  to   { opacity:1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: var(--playful-pink);
  margin: 0 0 7px 0;
}
.cookie-modal .category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
}
.cookie-modal label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.01em;
  color: var(--primary);
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #f1f0ed;
  border-radius: 20px;
  transition: .3s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--playful-yellow);
  transition: .22s;
  border-radius: 50%;
  box-shadow: 0 2px 6px #f9b9433b;
}
.cookie-modal .switch input:checked + .slider {
  background: var(--playful-pink);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
  background: var(--playful-blue);
}
.cookie-modal .switch[aria-disabled="true"] .slider {
  background: #e4e2da;
  opacity: 0.6;
}
.cookie-modal .switch[aria-disabled="true"] input:checked + .slider:before {
  background: #aaaaaa;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 20px;
  font-size: 1.05em;
  border-radius: 22px;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  background: transparent;
  color: var(--playful-pink);
  border: none;
  cursor: pointer;
  opacity: 0.7;
}
.cookie-modal .close-modal-btn:hover { opacity: 1; }

/*----------------------------
  Misc & General Effects
-----------------------------*/
::-webkit-scrollbar {
  width: 10px; background: #f7f4ed;
}
::-webkit-scrollbar-thumb {
  background: #ffb76657; border-radius: 9px;
}
.section, section {
  box-sizing: border-box;
  margin-bottom: 60px;
}

/* Cards shared visuals */
.card, .testimonial-card, .feature-item {
  box-shadow: var(--shadow-base);
}

/*----------------------------
  Responsive Design
-----------------------------*/
@media (max-width: 992px) {
  .container {
    max-width: 92vw;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .main-nav {
    gap: 18px;
    margin-left: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 97%; }
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .main-nav { display: none; }
  .cta.primary { margin-right: 0; }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    min-height: 210px;
    border-radius: 0 0 26px 26px;
    margin-bottom: 26px;
    background-size: 300%;
  }
  .content-wrapper, .text-section, .content-grid, .card-container, .testimonial-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .feature-grid {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .hero h1 { font-size: 1.78rem; }
  h2 { font-size: 1.29rem; }
}
@media (max-width: 520px) {
  .container { padding-left: 2vw; padding-right: 2vw; }
  .hero {
    min-height: 110px;
    margin-bottom: 14px;
  }
  .feature-item, .testimonial-card {
    padding: 12px 8px;
    border-radius: 14px;
  }
  .cta, .cta.primary {
    font-size: 1rem;
    padding: 10px 18px;
  }
}

/*----------------------------
  Animations & Micro-Interactions
-----------------------------*/
.feature-item {
  cursor: pointer;
}
.feature-item::after {
  content: '';
  display: block;
  position: absolute;
  top: -18px; right: -18px;
  width: 58px; height: 58px;
  background: radial-gradient(circle at 40% 60%, #ff5aa745 60%, transparent 100%);
  border-radius: 48%;
  z-index: 1;
  pointer-events: none;
}
.feature-item:hover::after {
  animation: playfulBlob 0.97s infinite cubic-bezier(.39,1.49,.16,1.09) alternate;
}
@keyframes playfulBlob {
  0% { transform: scale(0.95) rotate(6deg); }
  100% { transform: scale(1.15) rotate(-10deg); }
}

.card::before {
  content: '';
  display: block;
  width: 32px; height: 8px;
  background: var(--playful-blue);
  border-radius: 12px;
  margin-bottom: 8px;
}
.testimonial-card {
  box-shadow: 0 4px 24px 0 #ff5aa712, 0 2px 7px 0 #ffb7661e;
  transition: box-shadow 0.22s, transform .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px 0 #2dabf931, 0 3px 14px 0 #ff5aa72a;
  transform: translateY(-4px) scale(1.023);
}

.info-box {
  animation: slideInInfo 0.7s both;
}
@keyframes slideInInfo {
  from{ opacity:0; transform: translateX(-60px);} to{ opacity:1; transform:translateX(0);}
}

/*----------------------------
  Accessible Focus Highlight
-----------------------------*/
:focus-visible {
  outline: 3px solid var(--playful-mint);
  outline-offset: 3px;
  background: #e2fbfa;
}

/*----------------------------
  Print Styles
-----------------------------*/
@media print {
  header,.main-nav,.mobile-menu,.cta,footer,.cookie-banner { display: none !important; }
  body, html { background: #fff !important; color: #000 !important; }
}

/*----------------------------
  Accessibility: Hide when JS toggling
-----------------------------*/
.mobile-menu,
.cookie-banner,
.cookie-modal {
  display: none;
}
.mobile-menu.open,
.cookie-banner.active,
.cookie-modal.active {
  display: flex;
}
