/* ----------------------
   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, 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F6F1;
  color: #222;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

:root {
  --color-primary: #275E37;
  --color-secondary: #6DAC7C;
  --color-accent: #F9F6F1;
  --color-highlight: #FFD859;
  --color-creative1: #EA5187;
  --color-creative2: #3993B8;
  --color-creative3: #FAB740;
  --color-bg: #F9F6F1;
  --radius-md: 18px;
  --radius-lg: 36px;
  --shadow-card: 0 4px 24px 0 rgba(73, 95, 60, 0.11);
  --shadow-hover: 0 8px 32px 4px rgba(39,94,55,0.11);
  --font-display: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* FONT LOAD - fallback safety */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

/* -------------------------------
   BODY/BASIC LAYOUT CONTAINERS
------------------------------- */
body {
  background: var(--color-bg);
  font-family: var(--font-body);
  min-height: 100vh;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Section spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Content wrapper flex-init */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* Horizontal white card containers (optionally for layouts) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 28px 22px 28px;
  transition: box-shadow .25s, transform .22s;
  z-index: 1;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
}

.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, .content-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

/***************************
   CREATIVE ARTISTIC STYLE
***************************/

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-creative2);
  letter-spacing: 0.01em;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-primary);
  border-left: 6px solid var(--color-creative1);
  padding-left: 16px;
  margin-bottom: 18px;
}
h3 {
  color: var(--color-creative1);
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 10px;
}
p, ul, li, blockquote, cite {
  font-family: var(--font-body);
  font-size: 1rem;
}
p {
  color: #3d3d3d;
  margin-bottom: 14px;
}
strong, b {
  color: var(--color-creative1);
  font-weight: bold;
}
.text-section {
  max-width: 650px;
  font-size: 1.02rem;
}

.text-section ul {
  margin: .3em 0 .8em 1em;
  padding-left: 0;
}
.text-section ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
}
.text-section ul li:before {
  content: '';
  position: absolute;
  left: 0; top: .65em;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg,var(--color-creative2),var(--color-secondary));
  border-radius: 50%;
}

/* Hero area artistic styling */
section:first-of-type {
  background: linear-gradient(90deg, #fff 64%, rgba(106,172,124,0.15) 100%);
  border-radius: 0 0 64px 64px;
  box-shadow: 0 16px 64px rgba(39,94,55,0.05);
  margin-top: 0;
}

/* Tagline, brand marks */
.brand-tagline {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--color-creative1);
  font-style: italic;
  letter-spacing: .02em;
}

/* -----------------------
   HEADER & NAVIGATION
------------------------ */
header {
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(106,172,124,0.11);
  padding: 8px 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 30;
}
header > a img {
  display: block;
  height: 46px;
  width: auto;
  margin-left: 10px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  margin-right: 12px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary) !important;
  font-size: 1rem;
  padding: 5px 13px;
  border-radius: var(--radius-md);
  transition: background .18s, color .17s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-creative1);
  color: #fff !important;
  outline: none;
}

/* --------------------
   MOBILE NAVIGATION
--------------------- */
.mobile-menu-toggle {
  display: none;
  margin-left: 10px;
  font-size: 2.1rem;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 5px 8px;
  transition: color .18s;
  border-radius: 12px;
  z-index: 71;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--color-creative1);
  background: var(--color-creative2);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(110deg, #fff 60%, var(--color-secondary) 100%);
  z-index: 99;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform .44s cubic-bezier(.87,.21,.63,1.12), opacity .28s;
  box-shadow: 0 12px 64px 0 rgba(39,94,55,.10);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 18px 0 28px 24px;
  padding: 7px 14px;
  font-size: 2.2rem;
  border-radius: 16px;
  color: var(--color-primary);
  background: var(--color-creative3);
  align-self: flex-start;
  transition: background .18s, color .18s;
  z-index: 2;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-creative1);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0 34px 30px 34px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  padding: 10px 0 10px 12px;
  border-radius: var(--radius-md);
  background: none;
  transition: color .15s, background .18s;
  min-width: 180px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-creative2);
  color: #fff;
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

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

/* -----------------------------------
   BUTTONS & CALL-TO-ACTIONS (CTA)
------------------------------------ */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-creative1);
  color: #fff;
  font-size: 1.16rem;
  border-radius: 34px;
  padding: 14px 34px;
  box-shadow: var(--shadow-card);
  letter-spacing: .01em;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background .18s, color .18s, box-shadow .18s,
    transform .18s;
  border: 3px solid transparent;
}
.cta.primary {
  background: var(--color-creative2);
  color: #fff;
  border-color: var(--color-creative2);
}
.cta.secondary {
  background: var(--color-creative3);
  color: var(--color-primary);
  border-color: var(--color-creative3);
}
.cta:hover,
.cta:focus {
  background: var(--color-highlight);
  color: var(--color-creative1);
  box-shadow: var(--shadow-hover);
  outline: none;
  transform: scale(1.04);
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--color-creative1);
  color: #fff;
  border-color: var(--color-creative1);
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--color-creative2);
  color: #fff;
  border-color: var(--color-creative2);
}

/* --------------
   CARD/BOXES
-------------- */
.advice-box {
  background: var(--color-creative3);
  color: #27390e;
  border-radius: var(--radius-md);
  padding: 24px 26px;
  box-shadow: 0 4px 18px 0 rgba(250,183,64,.08);
  border-left: 5px solid var(--color-creative1);
  margin-bottom: 20px;
}

/* -----------
   TESTIMONIALS
------------- */
.content-wrapper > .testimonial-card {
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  color: #242424;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 18px 0 rgba(39,94,55,0.13);
  border-left: 7px solid var(--color-creative1);
  min-width: 260px;
  max-width: 535px;
  font-size: 1.06rem;
  position: relative;
  transition: box-shadow .21s, transform .20s;
}
.testimonial-card blockquote {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.11rem;
  margin-bottom: 6px;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card cite {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: var(--color-creative1);
  font-style: normal;
  font-weight: 600;
  margin-left: 6px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 28px 0 rgba(234,81,135,.13);
  transform: translateY(-3px) scale(1.03);
}

/*****************************
   LINK STYLES (underline)
*****************************/
a:not([class]) {
  color: var(--color-creative2);
  border-bottom: 1.5px dashed var(--color-creative1);
  transition: border-color .19s, color .24s;
}
a:not([class]):hover,
a:not([class]):focus {
  color: var(--color-creative1);
  border-bottom: 1.5px solid var(--color-creative1);
}

/**************************
   ICONS (in text/ footer)
***************************/
.text-section img,
footer .text-section img {
  height: 1.22em;
  width: auto;
  margin-right: 6px;
  vertical-align: middle;
  filter: hue-rotate(70deg) brightness(0.92) saturate(1.55) opacity(0.86);
}

/***************************
   LISTS WITH ICONS ETC.
****************************/
ul > li > img:first-child {
  height: 1.6em;
  width: 1.6em;
  vertical-align: middle;
  margin-right: 10px;
}
ul > li {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.04rem;
}

/********************
   FEATURE ITEMS
*********************/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe9;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(250,183,64,.09);
  padding: 22px 30px 22px 22px;
  min-width: 220px;
  margin-bottom: 20px;
}

/*************************
   FOOTER
**************************/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 42px 0 24px;
  border-radius: 54px 54px 0 0;
}
footer .container {
  max-width: 1120px;
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.06rem;
  opacity: .90;
  position: relative;
  padding: 5px 10px;
  border-radius: 10px;
  transition: background .17s, color .19s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-creative3) !important;
  background: rgba(250,183,64, .14);
}
footer .text-section p {
  margin-bottom: 7px;
  color: #e5fde9;
  font-family: var(--font-body);
  font-size: 0.98em;
}
footer .brand-tagline {
  color: var(--color-creative3);
  font-size: 1.02rem;
  margin-top: 8px;
  font-style: italic;
  letter-spacing: .01em;
}
@media (min-width: 768px) {
  footer .content-wrapper {
    flex-direction: row;
    gap: 46px;
    align-items: flex-start;
  }
  footer .text-section {
    min-width: 240px;
  }
}
@media (max-width: 600px) {
  footer .brand-tagline {
    font-size: 0.96rem;
  }
}

/*********************
   COOKIE CONSENT
**********************/
.cookie-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff6e9;
  border-top: 3px solid var(--color-creative3);
  padding: 18px 22px 18px 24px;
  box-shadow: 0 -2px 24px 0 rgba(234,81,135,0.10);
  z-index: 130;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  animation: cookiebanner-fade-in .65s;
}
.cookie-banner__msg {
  flex: 2 1 350px;
  max-width: 600px;
}
.cookie-banner .cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 9px 22px;
  background: var(--color-creative1);
  color: #fff;
  border: 2px solid var(--color-creative1);
  box-shadow: 0 4px 18px 0 rgba(234,81,135,0.08);
  margin-right: 2px;
  margin-bottom: 2px;
  transition: background .17s, color .17s, border-color .13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-creative2);
  border-color: var(--color-creative2);
  color: #fff;
}
.cookie-btn.settings-btn {
  background: var(--color-creative2);
  color: #fff;
  border-color: var(--color-creative2);
}
.cookie-btn.settings-btn:hover, .cookie-btn.settings-btn:focus {
  background: #fff;
  color: var(--color-creative1);
  border-color: var(--color-creative1);
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(.99);
  z-index: 150;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px 0 rgba(234,81,135,0.17);
  padding: 40px 32px 30px;
  max-width: 430px;
  min-width: 285px;
  width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .19s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1.03);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  margin-bottom: 17px;
  font-size: 1.07rem;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--color-creative1);
  margin-right: 12px;
  transform: scale(1.3);
}
.cookie-modal .cookie-btn {
  margin-top: 20px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--color-creative1);
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 16px;
  transition: background .12s;
}
.cookie-modal__close:hover {
  background: var(--color-creative2);
  color: #fff;
}
@keyframes cookiebanner-fade-in {
  from { opacity: 0; transform: translateY(32px);
  } to { opacity: 1; transform: none;}
}

/* Hide cookie banner on accept */
.cookie-banner[hidden] {
  display: none;
}

/********************
   MEDIA QUERIES
********************/
@media (max-width: 850px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  section {
    padding: 32px 4vw;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.10rem;
    padding-left: 9px;
    border-width: 4px;
  }
  section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
  .card, .testimonial-card, .advice-box {
    padding: 16px 10px;
  }
  .cta {
    font-size: 1rem;
    padding: 11px 20px;
  }
}
@media (max-width: 540px) {
  .brand-tagline {
    font-size: 0.90rem;
    margin-top: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 6px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 9px;
  }
}

/********************
   UTILITY CLASSES
********************/
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.pt-12 { padding-top: 12px; }
.pb-12 { padding-bottom: 12px; }
.flex-center { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/***********************************
   EXTRA: ACCESSIBLE FOCUS STATES
***********************************/
a:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2.5px solid var(--color-creative2);
  outline-offset: 1px;
}

/****************************************
   ARTISTIC/DECORATIVE CREATIVITY
*****************************************/
section {
  position: relative;
}
section::after {
  content: '';
  display: block;
  position: absolute;
  right: -30px; bottom: 8px;
  width: 80px; height: 70px;
  background: url('../assets/decorative-doodle.svg') no-repeat center/contain;
  opacity: 0.16;
  z-index: 0;
  pointer-events: none;
}
section:nth-of-type(even)::after {
  left: -20px;
  right: auto;
  transform: rotate(-14deg);
}
@media (max-width: 640px){
  section::after {
    display: none;
  }
}

/********************
   ANIMATIONS
********************/
.cta, .card, .testimonial-card, .advice-box, .mobile-menu, .mobile-nav a, .cookie-btn, .cookie-modal {
  transition: all .19s cubic-bezier(.58,1.05,.81,1.01), box-shadow .16s cubic-bezier(.39,1.08,.79,1);
}

/**********************
   ENSURE FLEXBOX ONLY
***********************/
/* All major container classes are flex-based only! */

/* No grid, no multi-column CSS, no absolute for content! */
