/* RESET & BASE: Remove default inconsistencies, set box model, and font smoothing */
html, body, div, span, ap, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, 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;
}
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FFF8F3;
  color: #2C3C1F;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #6D9B7B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EB6440;
  text-underline-offset: 8px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}


/* ===== PLAYFUL DYNAMIC COLORS & STYLE ===== */
:root {
  --color-primary: #2C3C1F;
  --color-secondary: #6D9B7B;
  --color-accent: #FFE1A8;
  --color-bg: #FFF8F3;
  --color-bright: #F9C74F;
  --color-funblue: #32A6EF;
  --color-orange: #EB6440;
  --color-pink: #FF63C3;
  --color-card: #FFFFFF;
  --color-shadow: rgba(45, 81, 65, 0.08);
}

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #2C3C1F;
  font-weight: 900;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 18px var(--color-shadow);
  line-height: 1.12;
  position: relative;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-funblue);
  font-weight: 700;
}
@media (max-width:600px) {
  h1 {
    font-size: 2rem;
  }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}
strong, b {
  font-weight: 700;
}
subheadline, .subheadline {
  font-family: 'Roboto', sans-serif;
  display: block;
  color: var(--color-secondary);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

p {
  margin-bottom: 18px;
  font-size: 1rem;
}
ul, ol {
  margin: 0 0 18px 22px;
  font-size: 1rem;
  line-height: 1.7;
}
li {
  margin-bottom: 10px;
  list-style-type: disc;
  font-family: 'Roboto', sans-serif;
}

/* ===== BRAND CONTAINER & LAYOUT STYLES ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-card);
  border-radius: 18px;
  box-shadow: 0 3px 14px var(--color-shadow);
  padding: 32px 28px 28px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(50,166,239,.13);
  transform: translateY(-4px) scale(1.018);
}
@media (max-width: 600px) {
  .card {
    padding: 18px 10px;
    border-radius: 12px;
  }
}

.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: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #FFE1A8;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #23271b;
  transition: box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  color: #23271B;
  font-style: italic;
  flex: 1;
  margin-bottom:0;
}
.testimonial-card strong {
  font-family: 'Merriweather', serif;
  color: var(--color-secondary);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px 8px;
    border-radius: 9px;
    font-size: 1rem;
  }
}

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

/* ===== MAIN PLAYFUL DYNAMIC SECTION STYLES ===== */
.feature-grid, .article-list, .topics-list, .feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid li, .feature-icons li {
  background: var(--color-card);
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 24px 16px;
  border-radius: 16px;
  min-width: 170px;
  max-width: 280px;
  flex: 1 1 200px;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-grid li:hover, .feature-icons li:hover {
  box-shadow: 0 6px 28px rgba(255, 99, 195, 0.16);
  transform: translateY(-6px) scale(1.03);
}
.feature-grid img, .feature-icons img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 9px #ffe1a8aa);
}

.topics-list {
  gap: 12px;
  flex-wrap: wrap;
}
.topics-list li {
  display: inline-flex;
  align-items: center;
  background: var(--color-bright);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 16px;
  padding: 5px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.97rem;
  margin-bottom: 0;
  border: 2px solid #fffbe8;
  box-shadow: 0 1px 6px #ffe1a82a;
}

.article-list {
  flex-direction: column;
  gap: 18px;
  margin-left: 0;
  list-style:none;
}
.article-list li {
  background: #fff;
  box-shadow: 0 2px 9px var(--color-shadow);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.article-list li:hover {
  box-shadow: 0 4px 20px rgba(50,166,239,0.09);
  transform: translateY(-4px) scale(1.009);
}

.feature-icons {
  gap: 18px;
}
.feature-icons li {
  flex-direction: row;
  align-items: center;
  min-width: 160px;
  color: var(--color-secondary);
  font-family: 'Roboto', sans-serif;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 1px 8px var(--color-shadow);
  background: #fff;
  transition: box-shadow 0.15s, background 0.18s;
  margin-bottom: 0;
}
.feature-icons img {
  margin-right: 10px;
}

/* ====== HEADER & NAVIGATION (DESKTOP) ====== */
header {
  background: #fff;
  box-shadow: 0 2px 18px var(--color-shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  min-height: 72px;
  gap: 18px;
}
header a img {
  height: 48px;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 12px;
}
.main-nav a {
  font-family: 'Roboto', sans-serif;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.15s, color 0.22s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cta-btn {
  background: linear-gradient(90deg, #F9C74F 44%, #FF63C3 96%);
  color: #2C3C1F;
  font-family: 'Merriweather', serif;
  font-weight:900;
  font-size: 1.1rem;
  border:none;
  border-radius: 15px;
  padding: 10px 26px;
  margin-left: auto;
  box-shadow: 0 2px 19px #ffe1a81c;
  cursor: pointer;
  position:relative;
  z-index:1;
  text-decoration:none;
  transition: background 0.22s, transform 0.13s;
  outline:none;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FF63C3 40%, #F9C74F 90%);
  color: #23271B;
  transform: scale(1.04) translateY(-2px);
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  border: none;
  color: var(--color-primary);
  font-size: 2.1rem;
  border-radius: 10px;
  padding: 2px 14px 2px 14px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 109;
  transition: background .14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-orange);
  background: var(--color-bright);
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
  header .container {
    gap:7px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 8px 14px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 0;
    order: 5;
  }
}
/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  background: #FFF8F3;
  box-shadow: 8px 0 45px #EB644011;
  z-index: 1100;
  transition: transform 0.36s cubic-bezier(.7,.05,.37,1), left 0s 0.35s;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(.7,.05,.37,1), left 0s;
}
.mobile-menu {
  transform: translateX(-100vw);
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  margin: 14px 24px 0 0;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1111;
  transition: color 0.18s;
}
.mobile-menu .mobile-menu-close:hover, .mobile-menu .mobile-menu-close:focus {
  color: var(--color-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  padding: 10px 28px;
  gap: 20px;
  width: 100vw;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--color-primary);
  border-radius: 12px;
  padding: 12px 15px;
  margin-right: 0;
  transition: background 0.15s, color 0.16s, transform 0.15s;
}
.mobile-nav a:hover {
  background: var(--color-bright);
  color: var(--color-funblue);
  transform: translateX(10px) scale(1.06);
}

@media (min-width:801px) {
  .mobile-menu, .mobile-menu.open {
    display:none!important;
  }
}
@media (max-width:600px) {
  .mobile-nav {
    padding:10px 5vw;
    gap:13px;
  }
  .mobile-menu .mobile-menu-close {
    margin: 10px 10px 0 0;
  }
}

/* ========== FOOTER LAYOUT ========== */
footer {
  background: #fff;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -1px 18px #ffe1a839;
  padding: 36px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
  align-items: center;
  max-width:890px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  justify-content:center;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .17s, color .19s;
}
.footer-nav a:hover {
  background: var(--color-accent);
  color: var(--color-orange);
}
.legal-info {
  text-align: center;
  color: #564c3d;
  font-size: 0.97rem;
}
.legal-info address {
  font-style: normal;
  color:#7e8460;
  margin-top: 4px;
  line-height: 1.44;
  font-size: 0.97rem;
}
.legal-info img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width:660px) {
  footer .container {
    padding: 0 10px;
    gap:13px;
  }
  .footer-nav {
    gap: 8px;
    font-size: .94rem;
    flex-wrap: wrap;
  }
  footer {
    padding: 22px 0 12px 0;
  }
}

/* ========= CONTACT BRIEF ========== */
.contact-brief {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 1.12rem;
  font-family: 'Roboto', sans-serif;
}
.contact-brief img {
  width: 22px;
  height: 22px;
  margin-right: 4px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8f3;
  box-shadow: 0 -2px 24px #Eb644030;
  border-top: 4px solid #ff63c3;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 22px 18px;
  font-size: 1rem;
  animation: slideUp .48s cubic-bezier(.63,.11,.69,.99);
}
@keyframes slideUp {
  from {transform: translateY(100%); opacity: 0.1;}
  to   {transform: none; opacity: 1;}
}
.cookie-banner__text {
  flex:1;
  color: #2C3C1F;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn, .cookie-btn-settings {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size:1.1rem;
  border: none;
  background: #ff63c3;
  color: #fff;
  border-radius: 10px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 0.19s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2c3c1f;
  color: #ffe1a8;
}
.cookie-btn.cookie-reject {
  background: #EB6440;
}
.cookie-btn.cookie-reject:hover {
  background: #2C3C1F;
  color:#fff0ee;
}
.cookie-btn-settings {
  background: #F9C74F;
  color: #23271B;
}
.cookie-btn-settings:hover {
  background: #32A6EF;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(38,49,31, 0.53);
  z-index: 2021;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .31s;
}
@keyframes fadein { from {opacity:0;} to {opacity:1;} }

.cookie-modal__dialog {
  background: #fffbe8;
  border-radius: 18px;
  box-shadow: 0 4px 40px #FFE1A866;
  padding: 32px 30px 30px 30px;
  min-width: 355px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position:relative;
}
@media (max-width:600px) {
  .cookie-modal__dialog {
    padding:18px 11px;
    min-width:220px;
  }
}
.cookie-modal__close {
  position: absolute;
  top:10px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #EB6440;
  cursor: pointer;
  opacity:.8;
  transition: color .14s, opacity .17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #2C3C1F;
  opacity:1;
}

.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-cat-label {
  font-family: 'Roboto', sans-serif;
  font-size: 1.07rem;
  color: #2c3c1f;
}
.cookie-cat-toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  border-radius: 22px;
  background: #eee;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
  vertical-align:middle;
}
.cookie-cat-toggle:checked {
  background: #6D9B7B;
}
.cookie-cat-toggle[disabled] {
  background: #ddd;
  opacity: 0.65;
  pointer-events: none;
}
.cookie-toggle-dot {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
  box-shadow: 0 2px 5px rgba(50,166,239,0.07);
}
.cookie-cat-toggle:checked + .cookie-toggle-dot {
  left: 20px;
}

/* ========== MICRO-INTERACTIONS & ANIMATION FX ========== */
.cta-btn, .feature-grid li, .card, .feature-icons li, .topics-list li, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.14s, background 0.17s, color 0.16s, transform 0.14s;
}
/* Bouncy intro headline effect */
section h1, .feature-grid li, .article-list li, .testimonial-card {
  animation: fadeinup .7s cubic-bezier(.75, .13, .28, .89);
}
@keyframes fadeinup {
  0% {opacity:0; transform: translateY(14px) scale(.95);}
  70% {opacity: 1; transform: translateY(-3px) scale(1.01);}
  100% {opacity:1; transform:none;}
}

/* ========== RESPONSIVE DISPLAY ========== */
@media (max-width: 900px) {
  .container {
    max-width:97vw;
    width: 97vw;
  }
  .feature-grid, .feature-icons {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .feature-grid li, .feature-icons li {
    min-width: 120px;
    max-width: 97vw;
    font-size: .99rem;
    padding: 12px 6px;
  }
  .card-container {
    gap: 10px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.08rem; }
}
@media (max-width:500px) {
  .cta-btn {
    font-size:.97rem;
    padding: 7px 10px;
    border-radius:9px;
  }
}

/* ========== UTILITIES & GENERIC ========== */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }

/* ========== FORM ELEMENTS (If used in contact, gdpr, cookie) ========== */
input, select, textarea {
  font: inherit;
  padding: 10px 12px;
  border:2px solid #d3d1bc;
  border-radius: 9px;
  margin-bottom: 16px;
  background: #fff;
  transition: border 0.14s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-funblue);
  outline: none;
}
label {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 7px;
  display:block;
}

/* === General Lists reset === */
ul, ol {
  padding-left: 24px;
}

/* ========== SPACING & FLEX CONTAINER RULES (MANDATORY) ========== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 2.5px dashed #32A6EF;
  outline-offset: .2em;
  border-radius: 4px;
}

/* ========== PRINT FRIENDLY STYLES ========== */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cta-btn, .cookie-banner, .cookie-modal, header, footer {
    display: none!important;
  }
  body { background: #fff; color: #111; }
}

/* ========== END CSS ========== */
