/* RESET & BASELINE ----------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F6F1;
  color: #292d27;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #1B365D;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #E7A318;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.125em;
}
li {
  margin-bottom: 0.4em;
}

/* COLOR PALETTE ----------------------------------------- */
:root {
  --color-primary: #1B365D;
  --color-secondary: #EEEEEE;
  --color-accent: #E7A318;
  --color-green: #4B684E;
  --color-earth: #887150;
  --color-bg: #F6F6F1;
  --color-night: #232B22;
  --color-shadow: rgba(75, 104, 78, 0.11);
}

/* TYPOGRAPHY ----------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.19;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}
blockquote {
  font-style: italic;
  position: relative;
  color: var(--color-night);
  background: #F8F6ED;
  padding: 20px 32px 20px 36px;
  border-radius: 16px;
  box-shadow: 0 2px 11px 0 var(--color-shadow);
}
blockquote:before {
  content: '\201C';
  font-size: 3.2rem;
  color: var(--color-green);
  position: absolute;
  left: 12px;
  top: 4px;
}
blockquote span {
  font-size: 0.95em;
  font-style: normal;
  color: var(--color-earth);
}

strong { font-weight: 700; }
em { font-style: italic; }
small { font-size: 0.96em; color: var(--color-green); }

hr {
  border: none;
  border-bottom: 1.5px solid var(--color-secondary);
  margin: 32px 0;
  height: 1px;
}

/* LAYOUT: CONTAINER & CONTENT ------------------------ */
.container {
  width: 100%;
  max-width: 1150px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* SECTIONS & SPACING ----------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 36px 36px 31px 31px/42px 39px 36px 29px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  position: relative;
}
main > section:first-child {
  background: #F8F6ED;
  box-shadow: 0 8px 32px 0 var(--color-shadow);
}

/* CARDS, FLEX, SECTIONS -------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 28px 40px 27px 32px/36px 34px 27px 25px;
  box-shadow: 0 3px 22px 0 rgba(146, 126, 100, 0.10);
  padding: 30px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 6px 44px 0 rgba(75,104,78,0.18);
  transform: translateY(-3px) scale(1.015);
}

.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;
  border-radius: 32px 41px 34px 26px/37px 36px 30px 29px;
  margin-bottom: 20px;
  background: #FAFAF4;
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(75,104,78,0.19);
  transform: translateY(-2px) scale(1.011);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
  border-left: 5px solid var(--color-green);
  padding-left: 18px;
}

/* Call to Action Button --------------------------------- */
.cta,
button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 32px;
  background: var(--color-green);
  color: #FCFCFC;
  font-size: 1.12rem;
  font-weight: 700;
  border-radius: 68px 44px 42px 60px/35px 30px 45px 49px;
  box-shadow: 0 3px 16px 0 var(--color-shadow);
  border: none;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 12px;
  outline: none;
  transition: background 0.20s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  text-align: center;
  gap: 7px;
}
.cta:hover,
.cta:focus,
button.cta:hover,
button.cta:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 7px 28px 0 rgba(231, 163, 24, 0.13);
  transform: translateY(-1px) scale(1.022);
}

/* NAVIGATION - DESKTOP & MOBILE -------------------- */
header {
  background: #F8F6ED;
  padding: 0;
  box-shadow: 0 1.5px 10px 0 rgba(75,104,78,0.11);
  position: relative;
  z-index: 120;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 9px;
  border-radius: 22px 22px 13px 17px/19px 13px 17px 19px;
  transition: background 0.12s, color 0.16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-green);
  background: #F2EBDD;
}
.main-nav .cta {
  background: var(--color-green);
  color: #FCFCFC;
  margin-left: 12px;
}
.main-nav .cta:hover,
.main-nav .cta:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

.main-nav img {
  max-height: 38px;
  height: 38px;
  margin-right: 21px;
}

/* MOBILE NAV TOGGLE --------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #FCFCFC;
  color: var(--color-green);
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: none;
  position: absolute;
  right: 18px;
  top: 16px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  cursor: pointer;
  z-index: 3001;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-green);
  color: #FCFCFC;
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F8F6ED;
  box-shadow: 0 14px 44px 0 var(--color-shadow);
  z-index: 4000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  font-size: 2.2rem;
  color: var(--color-green);
  border: none;
  padding: 20px 22px 0 0;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 4001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 18px;
  margin-left: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  color: var(--color-primary);
  font-size: 1.16rem;
  background: none;
  border-radius: 19px 23px 17px 22px/19px 16px 17px 20px;
  transition: background 0.13s, color 0.16s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-green);
  background: #F2EBDD;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
  }
}
@media (max-width: 830px) {
  .main-nav a {
    font-size: 0.99rem;
    padding: 5px 5px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* FOOTER ---------------------------------------------------- */
footer {
  background: #265533;
  color: #F7F7EF;
  padding: 0;
  margin-top: 50px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 18px 22px 18px;
  max-width: 1200px;
}
footer img {
  height: 44px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #FDFDF7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  margin-bottom: 3px;
  font-weight: 500;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.98rem;
  color: #E0E6D7;
  line-height: 1.55;
}
.footer-contact a { color: var(--color-accent); }
.footer-newsletter {
  margin-top: 4px;
}
.footer-newsletter h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: #FFE7B5;
}
.footer-social {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #FFE7B5;
  font-size: 1.01rem;
}
.footer-social img {
  width: 30px; height: 30px;
  filter: grayscale(0.20) brightness(0.95);
  border-radius: 8px;
  transition: filter 0.13s;
}
.footer-social img:hover {
  filter: brightness(1.23) grayscale(0%);
  box-shadow: 0 1px 6px rgba(75,104,78,0.12);
}
@media (max-width: 910px) {
  footer .container { flex-direction: column; gap: 24px; }
}

/* TEXT-IMAGE SECTION & TEXT BLOCKS -------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  section { padding: 28px 4vw; }
}

/* RESPONSIVE SPACING/PADDING ------------------------- */
@media (max-width: 600px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  section {
    padding: 20px 3vw;
    margin-bottom: 32px;
  }
  .card { padding: 18px 12px; border-radius: 22px 28px 20px 19px/20px 18px 18px 23px; }
}

/* LISTS & ICONIZATION ------------------------------------ */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 0.8em;
  position: relative;
  font-size: 1.01rem;
}
ul li:before {
  content: '';
  position: absolute;
  left: -1.2em;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 2px 7px 0 var(--color-shadow);
}

/* ORDERED LISTS */
ol li:before { content: none; }
ol { padding-left: 1.1em; margin-bottom: 12px; }

/* TABLES -------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid var(--color-secondary);
}
th {
  background: #E8E6D2;
  color: var(--color-green);
  font-weight: 700;
}

/* MICRO-ANIMATIONS & TRANSITIONS -------------------- */
a, button, .cta, .card, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(.52,.11,.39,.98), color 0.18s, background 0.16s, transform 0.17s;
}

/* FORMS (FOR NEWSLETTER) ---------------------------- */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 1em;
  border-radius: 18px 22px 15px 17px/23px 21px 19px 19px;
  border: 1.6px solid var(--color-secondary);
  background: #F2EFE7;
  margin-bottom: 14px;
  font-family: inherit;
  transition: border 0.15s, box-shadow 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.6px solid var(--color-green);
  outline: none;
  box-shadow: 0 3px 9px 0 var(--color-shadow);
}
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}

/* COOKIE CONSENT BANNER ----------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #E5F0E0;
  color: var(--color-night);
  box-shadow: 0 -5px 18px 0 var(--color-shadow);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 12px 22px 15px;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: transform 0.29s cubic-bezier(.66,.13,.62,.96), opacity 0.16s;
}
.cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-btn {
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  padding: 10px 19px;
  border-radius: 29px 22px 21px 28px/16px 17px 19px 18px;
  outline: none;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
  cursor: pointer;
  background: var(--color-green);
  color: #FAFAF4;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
}
.cookie-consent-banner .cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-consent-banner .cookie-btn.reject {
  background: #FFE7B5;
  color: var(--color-green);
}
.cookie-consent-banner .cookie-btn:hover,
.cookie-consent-banner .cookie-btn:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 7px 23px 0 rgba(231,163,24,0.10);
}
.cookie-consent-banner .cookie-btn.settings:hover,
.cookie-consent-banner .cookie-btn.settings:focus {
  background: var(--color-green);
  color: #FCFCFC;
}

/* COOKIE MODAL ------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,43,34,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s cubic-bezier(.66,.13,.62,.96);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  background: #F8F6ED;
  border-radius: 31px 45px 28px 25px/40px 38px 36px 37px;
  box-shadow: 0 7px 37px 0 var(--color-shadow);
  padding: 38px 28px 25px 30px;
  min-width: 305px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-green);
  cursor: pointer;
  z-index: 10;
  transition: color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 19px; height: 19px;
  margin-top: 3px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: var(--color-green);
  font-weight: 700;
}
.cookie-category .essential {
  font-weight: 600;
  color: var(--color-earth);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  padding: 9px 15px;
  font-size: 0.96rem;
}
@media (max-width: 650px) {
  .cookie-modal-dialog { padding: 18px 5vw; }
}

/* RESPONSIVE FONT SIZES ---------------------- */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
  .footer-newsletter h3 { font-size: 1rem; }
  .footer-social { font-size: 0.98rem; }
}

/* VISUAL ORGANIC/SHAPES (DECORATIVE) ------------------- */
section, .card, .testimonial-card, .cookie-modal-dialog {
  /* Already styled above with organic border-radius */
}

/* 100% FLEXBOX FOR ALL GRID/LAYOUT - NO CSS GRID */
/* All .container, .content-wrapper, .card-container, etc are flex implementations as in code above. */

/* ACCESSIBILITY ------------------------------------------------- */
:focus {
  outline: 2px solid var(--color-earth);
  outline-offset: 2px;
}

/* HELPER CLASSES ------------------------------------------------ */
.hidden {
  display: none !important;
}
@media (max-width: 420px) {
  h1, h2, h3, h4, h5, h6 { word-break: break-word; }
}

/* END OF CSS */
