/* RESET & BASE ------------------------------------------------------- */
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;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #273e27;
  background: #FFFDF8;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #235730;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8a651a;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 1.2em;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #1e4733;
  margin-bottom: 0.5em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.15rem;
}
p, li, blockquote {
  font-size: 1rem;
  color: #273e27;
}
blockquote {
  background: #f6f3ee;
  color: #8a651a;
  padding: 18px 26px;
  margin-bottom: 24px;
  border-left: 4px solid #A68247;
  border-radius: 0 16px 16px 0;
  font-style: italic;
}

/* LAYOUT CONTAINERS -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(159,139,107,0.08), 0 1.5px 4px rgba(35,87,48,0.07);
  background: #fff;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 5px 32px rgba(35,87,48,0.12);
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 20px;
  background: #F6F3EE;
  box-shadow: 0 2px 10px rgba(35,87,48,0.05);
  margin-bottom: 20px;
  color: #1e4733;
  font-style: italic;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card strong {
  font-style: normal;
  color: #8a651a;
  font-size: 1rem;
  margin-left: auto;
  font-family: 'Merriweather', Georgia, serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35,87,48,0.06);
  padding: 20px 20px 28px 20px;
}

/* HERO SECTION --------------------------------------------------------- */
.hero-section {
  background: #E8DED1;
  padding: 60px 0 50px 0;
  border-bottom: 6px solid #A68247;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  max-width: 720px;
  padding: 0;
}
.hero-section h1 {
  color: #1e4733;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
}
.hero-section p {
  color: #60401b;
  font-size: 1.2rem;
}

/* FEATURES GRID */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  background: #fff;
  padding: 24px 18px 20px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35,87,48,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 24px rgba(162,130,71,0.14);
  transform: translateY(-4px) scale(1.03);
}
.features-grid img {
  width: 48px;
  height: 48px;
}
.features-grid h3 {
  color: #8a651a;
  font-size: 1.13rem;
  font-family: 'Merriweather', Georgia, serif;
  margin-bottom: 0.3em;
}

/* CTA BUTTON, BANNER -------------------------------------------------- */
.cta-btn {
  display: inline-block;
  background: #A68247;
  color: #fff;
  border-radius: 32px;
  border: none;
  padding: 14px 36px;
  font-size: 1.07rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(138,101,26,0.09);
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s, box-shadow 0.18s, transform 0.11s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8a651a;
  box-shadow: 0 8px 22px rgba(162,130,71,0.14);
  transform: translateY(-2px) scale(1.035);
  color: #fff;
}
.cta-banner {
  background: #235730;
  padding: 45px 20px 45px 20px;
  border-radius: 28px;
  margin-bottom: 50px;
  box-shadow: 0 6px 32px rgba(35,87,48,0.09);
  color: #fff;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
  margin-bottom: 0.45em;
}
.cta-banner .cta-btn {
  background: #A68247;
  color: #fff;
  box-shadow: 0 2px 10px rgba(162,130,71,0.13);
}
.cta-banner .cta-btn:hover{
  background: #fff;
  color: #A68247;
}

/* TEAM BIOS, STORY BLOCKS --------------------------------------------- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.team-bios > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(35,87,48,0.09);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
}
.story-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.story-blocks > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px rgba(35,87,48,0.08);
  padding: 20px;
  flex: 1 1 230px;
  min-width: 200px;
}

/* TEXT SECTION & COMMONS ---------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 8px;
  height: 20px;
  width: 20px;
}
.next-steps {
  font-weight: 600;
  margin: 14px 0 8px 0;
}

/* HEADER & NAVIGATION ------------------------------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(35,87,48,0.06);
  border-bottom: 4px solid #A68247;
  padding-top: 0px;
  z-index: 200;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  max-width: 1260px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #235730;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.18s, color 0.17s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8DED1;
  color: #8a651a;
}
.main-nav .cta-btn {
  background: #A68247;
  color: #fff;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 1rem;
  margin-left: 14px;
  box-shadow: 0 2px 7px rgba(162,130,71,0.09);
}
.main-nav .cta-btn:hover{
  background: #8a651a;
  color: #fff;
}

/* MOBILE MENU --------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #A68247;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 201;
  margin-left: 20px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8a651a;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #E8DED1;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 32px 32px 32px;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.8,0,0.4,1);
  box-shadow: 6px 0 28px rgba(35,87,48,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #A68247;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 302;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #8a651a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #235730;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 400;
  padding: 10px 0 10px 6px;
  border-radius: 14px;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8a651a;
  background: #fff6e9;
}

/* Hide nav menu on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER ------------------------------------------------------------- */
footer {
  background: #1e4733;
  color: #fff;
  padding: 40px 0 18px 0;
  border-top: 5px solid #A68247;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  opacity: 0.95;
  transition: color 0.15s, opacity 0.12s;
}
.footer-nav a:hover {
  color: #A68247;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 5px;
}
.footer-contact img {
  height: 40px;
  margin-right: 8px;
}
.footer-contact p {
  color: #fff;
  line-height: 1.6;
  font-size: 1rem;
}
.footer-contact a {
  color: #A68247;
  text-decoration: underline;
}
.copyright {
  font-size: 0.92rem;
  color: #e8ded1;
  margin-top: 12px;
  text-align: center;
}

/* COOKIES CONSENT BANNER & MODAL -------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8ee;
  color: #1e4733;
  padding: 24px 20px 16px 20px;
  box-shadow: 0 -2px 22px rgba(162,130,71,0.19), 0 -1px 8px rgba(162,130,71,0.1);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.36s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #A68247;
  color: #fff;
  border-radius: 24px;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Merriweather', Georgia, serif;
  cursor: pointer;
  box-shadow: 0 0.5px 4px rgba(138,101,26,0.07);
  margin-right: 4px;
  transition: background 0.19s, transform 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8a651a;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #8a651a;
  border: 1px solid #A68247;
}
.cookie-btn.cookie-settings:hover {
  background: #A68247;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 5100;
  inset: 0;
  background: rgba(38,36,33,0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff8ee;
  padding: 32px 18px 28px 18px;
  border-radius: 22px;
  box-shadow: 0 6px 40px rgba(138,101,26,0.14);
  min-width: 310px;
  max-width: 95vw;
  max-height: 99vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  animation: modalShow 0.25s ease 1;
}
@keyframes modalShow {
  0% { transform: scale(0.85) translateY(38px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2{
  font-size: 1.3rem;
  color: #1e4733;
  margin-bottom: 12px;
  font-family: 'Merriweather', Georgia, serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px 10px;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(162,130,71,0.04);
  color: #273e27;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A68247;
  width: 22px;
  height: 22px;
}
.cookie-category .essential {
  color: #8a651a;
  font-weight: 600;
  padding-left: 4px;
  font-size: 1rem;
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
}

/* ACCESSIBLE OUTLINE FOR FOCUS --------------------------------------- */
:focus {
  outline: 2.5px solid #A68247;
  outline-offset: 2.5px;
}

/* RESPONSIVE STYLES -------------------------------------------------- */
@media (max-width: 1120px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .features-grid, .team-bios, .story-blocks {
    flex-direction: column;
    gap: 22px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section, section {
    margin-bottom: 40px;
    padding: 24px 8px;
  }
  .card-container, .content-grid, .team-bios, .story-blocks, .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 13px;
    gap: 7px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 690px) {
  .footer-contact {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-contact img {
    margin-bottom: 8px;
    margin-right: 0;
  }
  .card, .team-bios > div, .features-grid > div {
    padding: 15px 8px 13px 10px;
    min-width: unset;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .hero-section {
    padding: 32px 0 22px 0;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.03rem;}
  .section, section {
    padding: 12px 5px;
  }
  .cta-btn, .cookie-btn {
    font-size: 0.97rem;
    padding: 10px 12px;
  }
}

/* MISC MICROINTERACTIONS & UTILS ------------------------------------- */
.card, .features-grid > div, .testimonial-card, .cta-btn, .cookie-btn {
  transition: box-shadow 0.18s, background 0.14s, color 0.14s, transform 0.13s;
}

/* Hide visually */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

/* SCROLLBAR STYLE FOR NICE FEEL -------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #F6F3EE;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #E8DED1;
  border-radius: 24px;
}

/* END --------------------------------------------------------------- */
