/* 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.6;
  min-height: 100vh;
  background: #F8F7F4;
  color: #352E24;
  font-family: 'Lato', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
a {
  color: #7B6E56;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #352E24;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}

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

/* COLOR PALETTE (Soft Pastel + Brand) */
:root {
  --brand-primary: #352E24;
  --brand-secondary: #9F8B63;
  --brand-accent: #F6F3EF;
  --pastel-mint: #B8E8DC;
  --pastel-blue: #D5EAFA;
  --pastel-pink: #F9DBE5;
  --pastel-yellow: #FDF6D0;
  --pastel-lilac: #EBE4F7;
  --text-main: #392F25;
  --text-dark: #261E13;
  --text-light: #ffffff;
  --shadow: 0 2px 16px 0 rgba(50,40,30,0.07);
  --shadow-elevated: 0 4px 32px 0 rgba(50,40,30,0.13);
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
}
h1 { font-size: 2.6rem; margin-bottom: 16px; }
h2 { font-size: 1.85rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.05rem; margin-bottom: 8px; }
p, .subheadline {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
}
.subheadline {
  font-size: 1.13rem;
  font-weight: 400;
  color: var(--brand-secondary);
}
strong, b {
  font-weight: 700;
  color: var(--brand-primary);
}
blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brand-primary);
  background: var(--pastel-yellow);
  border-left: 4px solid var(--brand-secondary);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background:
    linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 4vw;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/******************** HEADER & NAVIGATION *******************/
header {
  width: 100%;
  background: var(--brand-accent);
  box-shadow: 0 2px 12px rgba(50,40,30,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  z-index: 40;
  position: relative;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-left: 34px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--brand-primary);
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.19s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--brand-secondary);
}
.btn {
  display: inline-block;
  border: none;
  outline: none;
  border-radius: 18px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(60,59,115,0.09);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
}
.btn-primary {
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-mint) 100%);
  color: var(--brand-primary);
  border: 2px solid var(--pastel-mint);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-secondary);
  color: var(--text-light);
  box-shadow: 0 4px 24px rgba(159,139,99,0.14);
}

/* HAMBURGER (MOBILE) MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 8px 18px;
  border-radius: 50%;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: var(--shadow);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--pastel-mint);
  color: var(--brand-primary);
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, var(--pastel-blue) 0% 60%, var(--pastel-pink) 100%);
  width: 100vw;
  height: 100vh;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.72,.12,.32,1.00), opacity 0.26s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2rem;
  margin: 28px 30px 8px 0;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-mint);
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 32px 50px 0 50px;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}
@media (max-width: 480px) {
  .mobile-nav { padding: 28px 22px 0 22px; }
}


/*********************** MAIN & SECTIONS *********************/
main {
  min-height: 70vh;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding-top: 32px;
  padding-bottom: 32px;
}

/**************** FLEXBOX PATTERNS ********************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.012);
}
.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: var(--pastel-mint);
  border-radius: 18px;
  box-shadow: var(--shadow);
  flex-direction: column;
  margin-bottom: 20px;
  max-width: 650px;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-primary);
  font-size: 1.15rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--brand-primary);
  font-weight: 600;
}
.testimonial-card div {
  font-size: 1.3rem;
  color: #FFD56A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*************** HIGHLIGHTS/FEATURES ***************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 22px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--pastel-lilac);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px) scale(1.009);
}
.feature-grid h3 {
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.feature-grid p { color: var(--brand-secondary); }

/********************* CTA Section ********************/
.cta {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/****************** FOOTER ***********************/
footer {
  background: var(--brand-accent);
  color: var(--brand-secondary);
  padding: 28px 0 16px 0;
  margin-top: 45px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--brand-primary);
  font-family: 'Lato', Arial, sans-serif;
  transition: color 0.15s;
  padding: 4px 10px;
  border-radius: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: var(--brand-secondary);
}
footer p {
  font-size: 1rem;
}

/*************** COOKIE CONSENT BANNER ****************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-pink) 70%, var(--pastel-yellow) 100%);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 8vw 22px 8vw;
  z-index: 9999;
  font-size: 1rem;
  box-shadow: 0 -2px 16px rgba(44,36,0,0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.25s, transform 0.34s cubic-bezier(.63,.1,.47,1.03);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  border: none;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 12px;
  margin-left: 0;
  margin-right: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--pastel-mint);
  color: var(--brand-primary);
  transition: background 0.14s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--pastel-pink);
  color: var(--brand-primary);
}
.cookie-banner .cookie-settings:hover {
  background: var(--pastel-mint);
  color: var(--brand-primary);
}

/******** COOKIE MODAL OVERLAY (Banner settings) ********/
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(36,34,28,0.25);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: linear-gradient(120deg, var(--pastel-blue) 60%, var(--pastel-mint) 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-elevated);
  padding: 36px 30px;
  min-width: 335px;
  max-width: 96vw;
  color: var(--brand-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--brand-secondary);
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 21px;
  right: 26px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 21;
  transition: color 0.2s;
}
.cookie-modal-close:hover { color: var(--brand-secondary); }

/**********************************************/

/************** INTERACTIVE / MICRO-ACTIONS ************/
.btn-primary,
.cookie-banner button,
.card,
.feature-grid > div,
.testimonial-card {
  transition:
    background 0.19s,
    color 0.17s,
    box-shadow 0.18s,
    transform 0.22s;
}
.card:focus-within, .feature-grid > div:focus-within,
.card:hover, .feature-grid > div:hover {
  box-shadow: var(--shadow-elevated);
  outline: none;
}

/********** CUSTOM LISTS / ICONS IN HIGHLIGHTS *********/
ul li img {
  vertical-align: middle;
  height: 24px;
  width: 24px;
  margin-right: 8px;
}

/************ SPACING, GAPS & RESPONSIVE ************/
@media (max-width: 1024px) {
  .container { max-width: 99vw; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  header { flex-direction: column; gap: 16px; padding: 18px 8px; }
  .logo { align-self: flex-start; }
  .footer-nav { gap: 10px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.09rem; }
  section, .section { padding: 18px 0; margin-bottom: 22px; }
}

/********* HERO CTA BUTTON POSITIONING ON MOBILE ********/
@media (max-width: 550px) {
  main .btn-primary,
  .content-wrapper > .btn-primary,
  .cta .btn-primary {
    width: 100%;
    text-align: center;
    font-size: 1.09rem;
    padding: 14px 0;
  }
}

/******************** MISC ********************/
::-webkit-scrollbar {
  width: 8px;
  background: var(--pastel-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-mint);
  border-radius: 4px;
}

a:focus, button:focus, input:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* Accessibility for testimonial cards (text on light bg) */
.testimonial-card,
.testimonial-card blockquote {
  color: var(--brand-primary) !important;
}

/* Remove tap highlight color for mobile for btns/links */
.btn, a, button {
  -webkit-tap-highlight-color: rgba(159,139,99, 0.11);
}

/* Ensure adequate margin between cards/sections */
.card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px;
}
.section, section, .content-wrapper, .feature-grid, .card-container, .content-grid, .testimonial-card {
  gap: 20px;
}

/******************* ANIMATIONS ********************/
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(16px); } 
  to   { opacity:1; transform: translateY(0); }
}
.section, .feature-grid > div, .testimonial-card, .btn, .card {
  animation: fadeInUp 0.7s cubic-bezier(.66,.04,.44,1.00);
}

/***************** PRINT STYLES *********************/
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer, .btn, .section, .feature-grid, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
