/* ===================================================
  RESET & BASELINE (Normalize/Reset)
=================================================== */
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: #FFFFFF;
  color: #1B4636;
}
*, *::before, *::after {
  box-sizing: inherit;
}
ul, ol {list-style: none;}
a {text-decoration: none; color: inherit;transition: color .2s;}
img {max-width:100%; display:block;}
button, input, select, textarea {font-family: inherit; font-size: inherit;}

/* ===================================================
  FONTS
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@400;600;700&display=swap');
:root {
  --brand-primary: #1B4636;
  --brand-secondary: #EFEFEF;
  --brand-white: #FFFFFF;
  --brand-accent: #C0994D;
  --brand-accent-dark: #9C7A2A;
  --brand-grey: #F7F7F5;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, Helvetica, sans-serif;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(27,70,54,0.04), 0 1.5px 4px rgba(192,153,77,0.12);
  --transition: 0.25s cubic-bezier(.39,.58,.57,1);
  --gap-section: 60px;
  --gap-card: 24px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--brand-primary);
  background: var(--brand-white);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0;
  margin-bottom: 16px;
}
h1 {font-size: 2.75rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.35rem; margin-bottom: 12px;}
h4 {font-size: 1.15rem;}

p, ul, ol, li, a, span {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-primary);
}
strong {font-weight: 600;}
em {font-style: italic;}

/* ===================================================
  CONTAINER & LAYOUT
=================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: var(--gap-section);
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-card);
}
.card {
  background: var(--brand-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 12px 36px rgba(27,70,54,0.19);
  transform: translateY(-4px) scale(1.02);
}
.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;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  background: var(--brand-secondary);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin-bottom: 18px;
  flex: 1 1 260px;
  font-size: 1.07rem;
}

@media (max-width: 1024px) {
  .container { max-width: 950px; }
  .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .section { padding: 32px 8px; margin-bottom: 36px; }
  .container { padding: 0 8px; }
  .content-wrapper,
  .card-container,
  .content-grid,
  .team-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.42rem;}
  .card {padding: 16px 8px;}
}

/* ===================================================
  HEADER & MAIN NAVIGATION
=================================================== */
header {
  background: var(--brand-white);
  border-bottom: 1.5px solid #E5E5DF;
  box-shadow: 0 1.5px 16px rgba(27, 70, 54, 0.015);
  width: 100%;
  position: sticky;
  top: 0; left: 0; z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 20px;
  gap: 0;
}
header img { height: 54px; width: auto; min-width: 110px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: 7px 8px;
  color: var(--brand-primary);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-grey);
  color: var(--brand-accent-dark);
}
.cta-primary {
  background: var(--brand-accent);
  color: var(--brand-white)!important;
  padding: 8px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  box-shadow: 0 2px 12px rgba(192, 153, 77, 0.09);
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.cta-secondary {
  background: var(--brand-white);
  color: var(--brand-accent);
  border: 1.5px solid var(--brand-accent);
  padding: 7px 20px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1.02rem;
  transition: background var(--transition), color var(--transition);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F4EDE0;
  color: var(--brand-primary);
}

/* ===================================================
  MOBILE NAVIGATION & MENU
=================================================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  cursor: pointer;
  padding: 8px 8px 2px 8px;
  z-index: 52;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--brand-accent-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 100vh;
  background: rgba(235, 235, 230, 0.99);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.76,.09,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: -4px 0 32px rgba(31,57,28,0.09);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: var(--brand-primary);
  margin: 22px 32px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--brand-accent-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 50px 40px 0 38px;
  width: 80vw;
  max-width: 360px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--brand-primary);
  padding: 12px 0 4px 0;
  border-radius: 0 0 7px 7px;
  background: none;
  transition: color var(--transition), background var(--transition);
  width: 100%;
  display: block;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: var(--brand-accent);
  color: var(--brand-white);
}

@media (max-width: 1100px) {
  .main-nav {gap: 18px;}
}
@media (max-width: 900px) { 
  .main-nav {gap: 11px; font-size: 0.99rem;}
  header .container {padding: 12px 8px;}
}
@media (max-width: 820px) {
  .main-nav {gap: 5px;}
}
@media (max-width: 768px) {
  .main-nav {display: none !important;}
  .mobile-menu-toggle {display: inline-block;}
}

@media (max-width: 480px) {
  .mobile-menu {max-width: 100vw;}
  .mobile-nav {margin: 35px 10vw 0 16px;max-width:unset;}
}

/* ===================================================
  HERO SECTION
=================================================== */
.hero {
  background: linear-gradient(120deg, #F4F5F3 85%, rgba(192, 153, 77, 0.11) 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.hero .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  gap: 0;
}
@media (max-width: 768px) {
  .hero {
    min-height: 130px;
    padding-bottom: 14px;
    margin-bottom: 12px;
  }
  .hero .container {
    min-height: 100px;
    padding: 0 6px;
  }
}

/* ===================================================
  BUTTONS, LINKS, INTERACTIVES
=================================================== */
button, a.cta-primary, a.cta-secondary {
  cursor: pointer;
  outline: none;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform .07s;
}
button:active, .cta-primary:active, .cta-secondary:active {
  box-shadow: 0 4px 12px rgba(27, 70, 54, 0.10);
  transform: scale(0.98);
}

/* Alternate List Style */
ul, ol {
  list-style-type: none;
  margin-bottom: 10px;
  padding-left: 0;
}
li {
  padding-bottom: 11px;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.04rem;
  color: var(--brand-primary);
}
li img {
  width: 25px; height: 25px; margin-right: 5px;
  flex-shrink: 0;
  opacity: 0.96;
}
ul li strong, ol li strong {
  color: var(--brand-accent-dark);
  font-family: var(--font-display);
}

/* ===================================================
  TESTIMONIALS
=================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px 28px;
  margin-bottom: 28px;
  background: var(--brand-grey);
  border-radius: var(--radius);
  box-shadow: 0 2px 22px rgba(27, 70, 54, 0.09);
  border-left: 5px solid var(--brand-accent);
  font-style: italic;
  max-width: 560px;
  min-width: 210px;
  color: #173426;
  font-size: 1.09rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  margin-top: 12px;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 36px rgba(27,70,54,0.12);
  transform: translateY(-4px) scale(1.01);
}

/* ===================================================
  FOOTER
=================================================== */
footer {
  background: var(--brand-secondary);
  border-top: 1.5px solid #E5E5DF;
  box-shadow: 0 -2px 16px rgba(27,70,54,0.04);
  padding: 45px 0 22px 0;
  font-size: 0.99rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.footer-nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 4px;
}
.footer-nav a, .footer-links a {
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.99rem;
  opacity: 0.92;
  transition: color var(--transition), opacity var(--transition);
}
.footer-nav a:hover, .footer-links a:hover {
  color: var(--brand-accent-dark);
  opacity: 1;
}
.footer-brand-note {
  color: #969B8B;
  font-size: 0.96rem;
  margin: 7px 0 0 0;
}
.footer-social {
  display: flex; gap: 13px; align-items: center; margin-top: 8px;
}
.footer-social img {
  width: 27px; height: 27px; opacity: 0.75; transition: opacity .18s; cursor: pointer;
}
.footer-social img:hover {opacity: 1;}

@media (max-width: 700px) {
  footer .container {padding: 0 8px;}
  .footer-nav, .footer-links {gap: 10px;}
}

/* ===================================================
  COOKIE CONSENT BANNER
=================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1900;
  background: #F6F6F4;
  color: var(--brand-primary);
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 20px 20px 20px 20px;
  box-shadow: 0 -2px 20px rgba(27, 70, 54, 0.08);
  border-top: 1.5px solid #E5E5DF;
  font-size: 1.02rem;
  transition: transform 0.33s cubic-bezier(.76,.09,.18,1), opacity .23s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .btn-settings {
  border-radius: 6px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 8px 18px;
  margin: 0 1px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .btn-accept {
  background: var(--brand-accent);
  color: var(--brand-white);
}
.cookie-banner .btn-accept:hover {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.cookie-banner .btn-reject {
  background: transparent;
  border: 1.5px solid var(--brand-accent);
  color: var(--brand-accent);
}
.cookie-banner .btn-reject:hover {
  background: #F7ECD6;
  color: var(--brand-primary);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid #E1E1D9;
}
.cookie-banner .btn-settings:hover {
  background: var(--brand-accent);
  color: var(--brand-white);
  border-color: var(--brand-accent);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 12px 20px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-banner-buttons {
    gap: 7px;
    flex-wrap: wrap;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2002;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(44, 51, 41, 0.49);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--brand-white);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 4px 32px rgba(27,70,54,0.19);
  max-width: 430px; width: 99vw;
  padding: 34px 24px;
  min-height: 210px;
  margin-bottom: 5vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-pop .32s cubic-bezier(.53,.1,.25,.98);
}
@keyframes modal-pop {
  0% {transform: translateY(45px) scale(.97);opacity: 0;}
  80% {transform: translateY(-4px) scale(1.025); opacity: 0.98;}
  100% {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 13px; top: 7px;
  background: none; border: none;
  font-size: 1.8rem;
  color: var(--brand-primary);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-modal-close:hover {color: var(--brand-accent-dark);}
.cookie-modal h2 {font-size: 1.30rem; margin-bottom: 10px;}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  gap: 12px; margin-bottom: 10px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"][disabled] {
  accent-color: var(--brand-accent);
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 19px; height: 19px;
  margin-right: 6px;
}
.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-modal button {
  margin-top: 10px;
}

/* ===================================================
  MISC
=================================================== */
::-webkit-scrollbar { width: 8px; background: #F2F2F2; }
::-webkit-scrollbar-thumb { background: #ECEAE1; border-radius: 8px; }

 hr {
  border: none; height: 1.5px;
  background: #E5E5DF;
  margin: 30px 0 22px 0;
 }

/* Micro-interactions */
a, button, .cta-primary, .cta-secondary {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform .13s;
}
input, textarea, select {
  border-radius: 7px;
  border: 1.5px solid #E7E7DE;
  padding: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  width: 100%;
  background: #FBFBF6;
  margin-bottom: 12px;
}
input:focus, textarea:focus, select:focus {
  outline: 1.5px solid var(--brand-accent);
  background: #FFFBE5;
}

/* ===================================================
  SPACING & FLEX UTILITIES
=================================================== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.section {margin-bottom: 60px; padding: 40px 20px;} /* Repeated for emphasis */
.card-container {display: flex; flex-wrap: wrap; gap: 24px;}
.card {margin-bottom: 20px; position: relative;}
.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;}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

/* Responsive Adjustments for spacing */
@media (max-width: 600px) {
  .section {margin-bottom: 30px; padding: 20px 4px;}
  .card-container, .content-grid, .team-grid {gap: 14px;}
  .testimonial-card {padding: 14px 10px;}
}

/* Preventing overlap and enforcing minimum spacing */
.card, .testimonial-card, .feature-item, .text-section {
  margin-bottom: 20px;
}

/* --- End CSS --- */
