/* =============================================================
   CSS 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, 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}
body {
  background: #FFF;
  color: #2C3345;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #A68C5B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e76f51;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin: 0.5em 0 1.2em 0;
}
strong, b {
  font-weight: bold;
}

/* =============================================================
   BRAND VARIABLES & FONTS (Google Fonts, fallback)
============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-primary: #2C3345;
  --color-secondary: #A68C5B;
  --color-accent: #F1E9DC;
  --color-fun1: #FFE156;
  --color-fun2: #3DDC97;
  --color-fun3: #FF6F6F;
  --color-fun4: #5FA5F7;
  --header-height: 68px;
  --radius: 18px;
  --shadow-main: 0 4px 16px 0 rgba(44, 51, 69, 0.13);
  --shadow-card: 0 2px 8px 0 rgba(44, 51, 69, 0.10);
  --transition: 0.22s cubic-bezier(.61,1,.88,1);
}

/* =============================================================
   GENERAL CONTAINER CLASSES & SPACING
============================================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  transition: transform 0.18s, box-shadow 0.18s;
  min-width: 240px;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.01) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(44,51,69,0.16);
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFDEB;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(248,195,34,0.08);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-fun1);
  font-size: 1rem;
  color: #2C3345;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card strong {
  color: #FF6F6F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

/* =============================================================
   HEADER & NAVIGATION
============================================================= */
header {
  background: var(--color-accent);
  height: var(--header-height);
  box-shadow: var(--shadow-main);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  transition: background 0.3s;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 32px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .032em;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--color-primary);
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: var(--color-fun1);
  color: #FF6F6F;
}
.btn-primary {
  background: linear-gradient(90deg, var(--color-fun2) 55%, var(--color-fun3) 80%);
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: 12px 26px;
  font-family: 'Merriweather', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 3px 10px 0 rgba(93,220,151,0.08);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.2s, transform 0.15s;
  margin-left: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-fun3) 40%, var(--color-fun2) 80%);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(255,111,111,0.13);
  transform: translateY(-2px) scale(1.06);
  outline: none;
}
/* Mobile Burger Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-fun3);
  color: #fff;
  font-size: 1.9rem;
  border: none;
  border-radius: 40px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  margin-left: 14px;
  z-index: 101;
  box-shadow: 0 1px 8px 0 rgba(255,111,111,0.10);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-fun1);
  color: var(--color-primary);
  transform: scale(1.08) rotate(-4deg);
  outline: none;
}

/* HIDE DESKTOP Nav, SHOW BURGER on Mobile */
@media (max-width: 992px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* =============================================================
   MOBILE MENU OVERLAY
============================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255, 255, 248, 0.97);
  box-shadow: -8px 0 32px 0 rgba(44,51,69,0.08);
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.28s var(--transition);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-fun2);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 2.3rem;
  margin: 18px 18px 0 0;
  padding: 0 17px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.13s;
  z-index: 150;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-fun3);
  color: #ffe156;
  transform: scale(1.15) rotate(10deg);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: center;
  margin-top: 48px;
  gap: 16px;
}
.mobile-nav a {
  font-family: 'Merriweather', 'Roboto', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-primary);
  background: #ffe15640;
  border-radius: 30px;
  padding: 16px 34px;
  margin: 4px 0;
  min-width: 210px;
  text-align: center;
  box-shadow: 0 1px 6px 0 rgba(255, 225, 86, 0.05);
  transition: background 0.18s, color 0.17s, transform 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-fun2);
  color: #fff;
  transform: scale(1.06) rotate(-2deg);
  outline: none;
}

/* =============================================================
   TYPOGRAPHY & PLAYFUL FONTS
============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  color: #FF6F6F;
  letter-spacing: 0.02em;
  line-height: 1.14;
}
h1 {
  font-size: 2.45rem;
  margin-bottom: 18px;
  color: var(--color-fun3);
  text-shadow: 1px 7px 80px rgba(255,111,111,0.09);
}
h2 {
  font-size: 1.99rem;
  color: var(--color-fun2);
}
h3 {
  font-size: 1.28rem;
  color: var(--color-fun4);
  letter-spacing: .03em;
}
h4, h5, h6 {
  font-size: 1.06rem;
  color: var(--color-fun1);
}
/* Fun bouncy font for playful headings */
h1, h2 {
  animation: playfulHead 1.1s cubic-bezier(.69,1.23,.42,.74) both;
}
@keyframes playfulHead {
  0%   { transform: scale(0.92) rotate(-2deg); opacity: 0; }
  68%  { transform: scale(1.15) rotate(3deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
p, li, ul, ol, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  color: #2C3345;
}
blockquote {
  background: #e9fafd;
  border-left: 5px solid var(--color-fun2);
  padding: 18px 24px;
  font-style: italic;
  border-radius: 12px;
  color: #3DDC97;
  margin-bottom: 16px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 16px;
  margin-bottom: 12px;
}
.text-section p {
  margin-bottom: 8px;
}

/* Code for visual balance between headings/sections */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}

/* =============================================================
   FEATURE SECTIONS/CARDS
============================================================= */
.features-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 22px;
}
.features-grid > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 210px;
  min-width: 196px;
  max-width: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 27px 18px 26px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.16s;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(93,220,151,0.17);
  transform: translateY(-5px) scale(1.03) rotate(-2deg);
  z-index: 4;
}
.features-grid img {
  width: 49px;
  height: 49px;
  margin-bottom: 8px;
  background: var(--color-fun1);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 3px 8px 0 rgba(255, 225, 86, 0.16);
  animation: iconBounce 1.1s cubic-bezier(.61,1.04,.54,.81) both;
}
@keyframes iconBounce {
  0% { transform: translateY(-30px) scale(0.87) rotate(-6deg); opacity: 0; }
  62% { transform: scale(1.09) rotate(6deg); }
  85% { transform: scale(1) rotate(2deg) translateY(0); }
  100% { opacity: 1; }
}
.features-grid h3 {
  margin: 10px 0 6px 0;
}
/* Cards / Testimonials / Visuals */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Contacts */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--color-primary);
  background: #F1E9DC80;
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 1px 7px 0 rgba(44,51,69,0.04);
  transition: box-shadow 0.16s;
  margin-bottom: 12px;
}
.contact-info img {
  width: 28px;
  height: 28px;
  opacity: 0.96;
  margin-right: 2px;
  filter: drop-shadow(0 1.5px 5px #ffe15657);
}

/* =============================================================
   FOOTER
============================================================= */
footer {
  background: var(--color-accent);
  box-shadow: 0 -3px 14px 0 rgba(44,51,69,0.09);
  padding: 32px 0 16px 0;
  margin-top: 36px;
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: var(--color-secondary);
  background: #fff0;
  padding: 4px 10px;
  font-size: 1rem;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: #FF6F6F;
  background: var(--color-fun1);
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Merriweather', serif;
  color: var(--color-primary);
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0;
}
.brand-info img {
  width: 34px;
  height: 34px;
  background: #ffe15672;
  border-radius: 12px;
}
.social-links {
  display: flex;
  gap: 18px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 3px #3DDC9740);
  transition: transform 0.13s;
}
.social-links a:hover img,
.social-links a:focus img {
  transform: scale(1.14) rotate(-14deg);
}

/* =============================================================
   COOKIE CONSENT BANNER (Animated)
============================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #ffe156;
  color: var(--color-primary);
  font-family: 'Roboto', Arial,sans-serif;
  z-index: 2000;
  box-shadow: 0 -2px 32px 0 rgba(44,51,69,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 16px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.24s var(--transition), transform 0.28s var(--transition);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner__desc {
  margin-right: 14px;
  font-size: 1.08rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Merriweather', 'Roboto', Arial,sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  box-shadow: 0 1px 8px 0 rgba(44,51,69,0.07);
  cursor: pointer;
  margin: 2px 0;
  transition: background 0.17s, color 0.13s, transform .13s;
}
.cookie-btn.accept {
  background: var(--color-fun2);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-fun1);
  color: var(--color-primary);
  transform: scale(1.08);
}
.cookie-btn.reject {
  background: var(--color-fun3);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: var(--color-fun3);
  border: 1.5px solid var(--color-fun3);
  transform: scale(1.05) rotate(-2deg);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-fun1);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-fun2);
  color: #fff;
  border-color: var(--color-fun2);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 90vw;
  max-width: 400px;
  background: #fffbe9;
  border-radius: 20px;
  box-shadow: 0 6px 29px 0 rgba(44,51,69,0.16);
  z-index: 3000;
  transform: translate(-50%,180%) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--transition), transform 0.33s var(--transition);
  padding: 38px 18px 22px 18px;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  color: var(--color-fun2);
  font-size: 1.19rem;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.cookie-modal .cookie-switch {
  width: 44px;
  height: 26px;
  background: #f1e0a6;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  margin-left: 13px;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal .cookie-slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 22px; height: 22px;
  background: #ffe156;
  border-radius: 50%;
  transition: left 0.19s;
  box-shadow: 0 1.6px 6px 0 rgba(93,220,151,0.09);
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked + .cookie-slider {
  left: 20px;
  background: var(--color-fun2);
}
.cookie-modal .essential {
  color: #a88900;
  font-weight: 700;
  opacity: 0.7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal .cookie-btn {
  padding: 9px 20px;
  font-size: 1rem;
}

/* =============================================================
   RESPONSIVE DESIGN – MOBILE FIRST
============================================================= */
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .features-grid > div {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 27px 5px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .features-grid {
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 6px;
    font-size: 0.99rem;
    padding: 14px 13px;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .contact-info {
    flex-direction: column;
    gap: 14px 0;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.69rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .features-grid > div {
    padding: 19px 6px 16px 6px;
  }
  .btn-primary {
    font-size: 0.99rem;
    padding: 11px 15px;
  }
}
@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    width: 96vw;
    padding: 21px 6px 16px 6px;
  }
}
/* Responsive: Flex direction for text-image, testimonials, and easy column layout on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* =============================================================
   PLAYFUL MICRO-INTERACTIONS
============================================================= */
.btn-primary, .cookie-btn, .features-grid > div, .mobile-menu-toggle, .mobile-nav a {
  transition: transform 0.13s cubic-bezier(.61,1,.88,1), box-shadow .19s;
}

.btn-primary:active {
  transform: scale(0.94) rotate(1deg);
}
.features-grid > div:active {
  transform: translateY(2px) scale(0.97) rotate(1deg);
}
.mobile-nav a:active {
  transform: scale(0.98) rotate(2deg);
}
.cookie-btn:active {
  transform: scale(0.93) rotate(-1deg);
}

/* =============================================================
   COLORFUL BORDERS AND DECORATIVE ELEMENTS
============================================================= */
.features-grid > div {
  border-top: 5px solid var(--color-fun4);
}
.features-grid > div:nth-child(2) {
  border-top-color: var(--color-fun3);
}
.features-grid > div:nth-child(3) {
  border-top-color: var(--color-fun2);
}
.features-grid > div:nth-child(4) {
  border-top-color: var(--color-fun1);
}

/* Bouncy icon animation on hover */
.features-grid img:hover, .contact-info img:hover {
  animation: iconBounce 0.6s backwards;
}

/* =============================================================
   ACCESSIBLE FOCUS STATES
============================================================= */
*:focus-visible {
  outline: 3px dashed var(--color-fun2);
  outline-offset: 3px;
}

/* REMOVE number input arrows for consistency */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* =============================================================
   MISC - SCROLLBAR
============================================================= */
::-webkit-scrollbar {
  width: 8px;
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: #ffe156bb;
  border-radius: 6px;
}

/* =============================================================
   END OF STYLE.CSS
============================================================= */
