/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAF7;
  color: #2C3226;
  min-height: 100vh;
  font-size: 16px;
}

:root {
  --primary: #22543D;
  --secondary: #71816D;
  --accent: #F8E1A1;
  --white: #FFFFFF;
  --offwhite: #FAFAF7;
  --text-primary: #2C3226;
  --text-dark: #212721;
  --muted: #909889;
  --shadow-1: 0 3px 12px rgba(34,84,61,0.08);
  --shadow-2: 0 8px 24px rgba(34,84,61,0.10);
  --radius-card: 18px;
  --radius-btn: 30px;
  --font-display: 'Quicksand', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* FONT FACE (google fonts assumed loaded) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700;500&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li, dl, dd, dt {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 28px;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
a {
  color: var(--primary);
  text-decoration: underline wavy var(--accent) 1.5px;
  text-underline-offset: 3px;
  transition: color .18s, background .18s;
}
a:hover, a:focus {
  color: var(--secondary);
  background: var(--accent);
  text-decoration: none;
}
.link {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px dashed var(--secondary);
  background: none;
  transition: border,.18s;
}
.link:hover, .link:focus {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}


/* LAYOUT: CONTAINER */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* HEADER */
header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: var(--shadow-1);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: transform .18s cubic-bezier(.4,1.7,.6,.9);
}
.logo:hover img {
  transform: scale(1.08) rotate(-2deg);
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  border-radius: 5px;
  padding: 5px 10px;
  transition: background .18s, color .18s;
  text-decoration: none;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

.cta.primary {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 9px 28px;
  box-shadow: 0 2px 6px 0 rgba(248,225,161,0.18);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .14s;
  margin-left: 18px;
  margin-right: 6px;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 16px 0 rgba(34,84,61,0.16);
  transform: translateY(-1.5px) scale(1.04) rotate(-2deg);
}
.cta.secondary {
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  border-radius: var(--radius-btn);
  padding: 9px 25px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  margin-top: 22px;
  transition: background .16s, color .16s, box-shadow .18s;
  display: inline-block;
  box-shadow: 0 2px 14px 0 rgba(113,129,109,0.12);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: var(--accent);
}

button {
  font-family: var(--font-display);
  cursor: pointer;
  outline: none;
  border: none;
  background: none;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--accent);
  background: transparent;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
  z-index: 1003;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--white);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(112deg, var(--primary) 85%, var(--accent) 110%);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.32,1.65,.43,.99);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--accent);
  background: transparent;
  border: none;
  position: absolute;
  top: 26px;
  right: 24px;
  z-index: 1201;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 70px 0 0 38px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.38rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  padding: 9px 0;
  border-radius: var(--radius-btn);
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 1024px) {
  header .main-nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS */
main {
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 14px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--offwhite);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  min-width: 230px;
  flex: 1 1 230px;
  padding: 22px 18px 22px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  transition: box-shadow .22s, transform .17s;
  border: 1.5px solid #E6E8DE;
  z-index: 1;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px) scale(1.015) rotate(-1.5deg);
  border-color: var(--accent);
  z-index: 3;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1.5px 6px #F8E1A170);
}
.text-section {
  max-width: 760px;
  margin: 0 auto 24px auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    min-width: 0;
    flex: 1 1 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
}

/* CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 22px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .18s, border .17s;
  border: 1.5px solid #E6E8DE;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-2);
  border-color: var(--accent);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* SPECIAL SECTIONS */
.highlight {
  background: var(--accent);
  color: var(--primary);
  padding: 17px 23px;
  border-radius: var(--radius-card);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 4px 20px 0 #F8E1A166;
  margin: 18px 0;
  font-size: 1.12rem;
}

.newsletter-signup {
  background: var(--accent);
  border-radius: var(--radius-card);
  padding: 19px 26px 17px 19px;
  box-shadow: 0 4px 16px 0 #F8E1A1A2;
  margin-top: 23px;
  color: var(--primary);
}
.newsletter-signup h3, .newsletter-signup h4 {
  color: var(--secondary);
}
.newsletter-signup p {
  color: var(--primary);
}

.quick-tips, .quick-wins ul {
  list-style: disc inside;
  margin-left: 12px;
  margin-bottom: 12px;
}
.quick-tips li, .quick-wins li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--secondary);
  font-family: var(--font-display);
}
.partner-logos {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}
.partner-logos img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 9px #22543D25);
  opacity: .92;
}
.next-steps ul {
  list-style: square inside;
  margin-left: 12px;
  margin-bottom: 18px;
}
.next-steps p strong {
  color: var(--primary);
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 0;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  box-shadow: 0 -3px 12px rgba(34,84,61,0.07);
}
footer .container {
  flex-direction: column;
  gap: 23px;
  align-items: stretch;
  padding: 32px 18px 24px 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 7px;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  padding: 0 4px;
  transition: color .13s;
}
.footer-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-nav span {
  color: var(--accent);
  padding: 0 9px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1.5px 6px #F8E1A170);
  opacity: 0.92;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  transition: box-shadow .13s, opacity .13s;
}
.footer-social a:hover img {
  box-shadow: 0 2px 9px 0 #F8E1A199;
  opacity: 1;
}
footer .text-section {
  color: var(--accent);
  font-size: 1rem;
  text-align: center;
}

/* TESTIMONIAL CARD - not in sample HTML but included for reviews/testimonials sections in future */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--offwhite);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  color: var(--text-primary);
  border: 1.5px solid #E6E8DE;
  min-width: 220px;
  transition: box-shadow .17s, background .17s;
}
.testimonial-card .testimonial-text {
  color: var(--text-dark);
  font-weight: 500;
}
.testimonial-card .testimonial-author {
  color: var(--secondary);
  font-size: .98rem;
  font-style: italic;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  background: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-2);
}

/*.feature-item - used in feature lists*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 11px;
  }
  h3 {
    font-size: 1.06rem;
    margin-bottom: 5px;
  }
  .logo img {
    height: 36px;
  }
  .newsletter-signup {
    padding: 12px 9px 12px 9px;
  }
  .highlight {
    padding: 11px 13px;
    font-size: .99rem;
  }
  footer .container {
    padding: 21px 5px 11px 5px;
  }
  .footer-social {
    gap: 9px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--secondary);
  color: var(--accent);
  padding: 19px 28px 17px 22px;
  box-shadow: 0 -4px 28px 0 #71816D55;
  font-size: 1rem;
  font-family: var(--font-display);
  animation: fadeInUp 0.7s cubic-bezier(.41,1.09,.37,.98);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: var(--accent);
  margin-right: 36px;
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  letter-spacing: 0.01em;
}
.cookie-banner .cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 20px;
  margin: 0 4px;
  cursor: pointer;
  box-shadow: 0 2px 9px #F8E1A170;
  transition: background .17s, color .17s, box-shadow .13s;
}
.cookie-banner .cookie-btn.reject {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .cookie-btn.settings {
  background: var(--white);
  color: var(--primary);
  border: 1.2px solid var(--accent);
}
.cookie-banner .cookie-btn:hover, 
.cookie-banner .cookie-btn:focus {
  background: var(--secondary);
  color: var(--accent);
  box-shadow: 0 2px 16px #71816D66;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 6px 13px 8px;
    gap: 14px;
  }
  .cookie-banner .cookie-text {
    margin-right: 0;
    margin-bottom: 9px;
    font-size: .97rem;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: rgba(34,84,61, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .33s cubic-bezier(.2,1.1,.4,1.01);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: var(--offwhite);
  color: var(--primary);
  border-radius: 18px;
  padding: 34px 28px 24px 28px;
  max-width: 420px;
  box-shadow: 0 10px 32px #22543D44;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 19px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin-bottom: 12px;
}
.cookie-modal-content .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0 6px 0;
  font-size: 1rem;
}
.cookie-modal-content label {
  font-weight: 500;
  color: var(--secondary);
}
.cookie-modal-content input[type=checkbox][disabled] {
  opacity: 0.65;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 11px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.19rem;
  cursor: pointer;
  opacity: 0.84;
  transition: color .13s, opacity .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
  opacity: 1;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 26px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal-content .cookie-btn {
  padding: 7px 19px;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 21px 8px 19px 8px;
    max-width: 97vw;
  }
  .cookie-modal-content .cookie-modal-actions {
    gap: 12px;
  }
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
  background: #e5e5df;
}
body::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 16px;
}

/* MICRO-INTERACTIONS (for cards, buttons, etc.) */
.card, .feature-grid > div, .cta.primary, .cta.secondary, .newsletter-signup, .footer-social a img {
  transition: box-shadow .19s, transform .13s, background .15s, color .15s;
}

/* ACCESSIBILITY: FOCUS STYLES */
a:focus, button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Z-INDEX LAYERING */
.mobile-menu, .mobile-menu-close, .cookie-modal, .cookie-banner {
  z-index: 1200;
}

/* UTILITY SPACING CLASSES */
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-40 { margin-top: 40px; }

/* Hidden utility */
.hidden { display: none !important; }

/* END */
