/* =========================
   RESET & NORMALIZATION
   ========================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F8FB;
  color: #2B2B2B;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}
a {
  color: #195277;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FF8A3C;
}
ul, ol {
  margin: 0 0 24px 24px;
}
li {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* =========================
   COLOR & FONT VARIABLES
   ========================= */
:root {
  --primary: #195277;
  --secondary: #2B2B2B;
  --background: #F6F8FB;
  --accent: #FF8A3C;
  --success: #3e805a;
  --nature-green: #3e805a;
  --nature-earth: #907455;
  --nature-cream: #F6F8FB;
  --nature-light: #f9f9f4;
  --nature-border: #d7d9cc;
  --shadow: 0 2px 8px 0 rgba(60,40,20,0.07), 0 0.5px 2px 0 rgba(60,60,40,0.03);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-pill: 90px;
  --transition: 0.18s cubic-bezier(.42,0,.58,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =========================
   LAYOUT & CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.header-row, .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
}
.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--nature-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* FLEX PATTERNS / NATURE ORGANIC REQUIREMENTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
  border: 1px solid var(--nature-border);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--nature-green);
  transition: box-shadow var(--transition);
}
.testimonial-card p {
  color: #2B2B2B;
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 0;
  flex: 1;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  align-self: flex-end;
  margin-left: 16px;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

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

/* =========================
   TYPOGRAPHY
   ========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
}
@media (max-width: 500px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}
p, ul, ol {
  font-family: var(--font-body);
  color: #2B2B2B;
  margin-bottom: 16px;
}

.highlight {
  background-color: #e2ecd3;
  color: var(--nature-green);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  font-weight: 600;
  font-size: 1em;
}

/* =========================
   BUTTONS & LINKS
   ========================= */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .cookie-pref-modal .cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 11px 32px;
  font-size: 1.125rem;
  color: #fff;
  background: var(--nature-green);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 2px 10px -2px #9bb79311;
  transition: background 0.18s, transform 0.18s, color 0.18s;
  margin-top: 12px;
  display: inline-block;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}
a.cta-btn {
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

/* Alt & secondary button states (e.g. for cookie modals) */
.cookie-btn.cookie-btn-secondary {
  background: #fff;
  color: var(--nature-green);
  border: 2px solid var(--nature-green);
}
.cookie-btn.cookie-btn-secondary:hover {
  background: var(--nature-green);
  color: #fff;
}
.cookie-btn.cookie-btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}
.cookie-btn.cookie-btn-accent:hover {
  background: #d96f14;
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  margin: 0 17px 0 0;
  padding: 6px 0;
  border-radius: var(--radius-pill);
  font-size: 1.07rem;
  position: relative;
  display: inline-block;
  transition: background 0.14s, color 0.15s;
}
.main-nav a:last-child { margin-right: 0; }
.main-nav a:hover, .main-nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: #e2ecd3;
}

/* MOBILE NAVIGATION & BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--nature-green);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  line-height: 44px;
  text-align: center;
  transition: background 0.17s, color 0.16s, transform 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #efefe4;
  z-index: 1000;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.6,.01,.24,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  align-self: flex-end;
  margin: 22px 26px 10px 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 1021;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-align: center;
  line-height: 52px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--accent); background: #e2ecd3; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 34px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  padding: 12px 0;
  border-radius: var(--radius-pill);
  transition: background 0.14s, color 0.12s;
  font-weight: 700;
  margin-bottom: 6px;
}
.mobile-nav a:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .main-nav, .header-row .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
  }
  .header-row {
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .main-nav {
    display: none !important;
  }
  .header-row .cta-btn {
    display: none !important;
  }
}

/* Restore main header items on desktop */
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Responsive text-image section alignment */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* =========================
   ORGANIC SHAPE/FEEL
   ========================= */
.section {
  /* Subtle background for nature feel */
  background: linear-gradient(115deg,#f7f9f3 65%,#e2ecd3 100%);
  border-radius: 28px 70px 34px 48px/28px 40px 50px 36px;
}

.card {
  border-radius: 28px 38px 32px 22px;
  border-left: 6px solid #e2ecd3;
  margin-bottom: 20px;
  background: #fffbe7;
}

/* =========================
   HEADER
   ========================= */
header {
  background: #fff;
  border-bottom: 1.5px solid #e2ecd3;
  padding: 0;
  position: relative;
}
header .container {
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 16px;
  box-shadow: none;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #F6F8FB;
  border-top: 1.5px solid #e2ecd3;
  padding: 40px 0 10px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-row nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.footer-row nav a {
  font-family: var(--font-body);
  color: var(--nature-green);
  font-size: 1rem;
  opacity: .85;
  transition: color 0.13s;
}
.footer-row nav a:hover, .footer-row nav a:focus {
  color: var(--accent);
}
.footer-row img {
  height: 38px;
}
.footer-info {
  margin-left: 16px;
  font-size: .98rem;
  color: #948C78;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  footer {
    padding: 24px 0 8px 0;
  }
  .footer-row {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-row nav {
    flex-direction: column;
    gap: 9px;
  }
  .footer-info { margin-left: 0; }
}

/* =========================
   SPACING & GAPS
   ========================= */
section { margin-bottom: 52px; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { gap: 24px; }
.card { margin-bottom: 20px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; margin-bottom: 20px; }
.feature-item { gap: 15px; }

/* ============
   FORMS (if any appear in contact)
   ============ */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
input, textarea, select {
  padding: 11px 16px;
  border: 1.5px solid var(--nature-border);
  border-radius: var(--radius-sm);
  background: #f6f8eb;
  font-size: 1.05rem;
  font-family: inherit;
  margin-bottom: 10px;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--nature-green);
  outline: none;
  box-shadow: 0 0 0 2px #e2ecd3;
}
label {
  font-family: var(--font-body);
  font-size: 1em;
  color: #86784d;
  font-weight: 600;
}
button, input[type=submit] {
  cursor: pointer;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe7;
  color: #2B2B2B;
  border-top: 2px solid #e2ecd3;
  box-shadow: 0 2px 22px 2px #ccb77c25;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  gap: 18px;
  font-size: 1.07rem;
  border-radius: 26px 26px 0 0;
  animation: slideup-banner 0.45s ease;
}
@keyframes slideup-banner {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner .cookie-btn {
  margin: 0 10px 0 0;
  padding: 10px 27px;
  font-size: 1rem;
}
.cookie-consent-banner .cookie-btn:last-child { margin-right: 0; }
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 9px;
    gap: 12px;
    font-size: 0.97em;
  }
  .cookie-consent-banner .cookie-btn {
    width: 100%;
    margin: 4px 0 0 0;
  }
}

/* =========================
   COOKIE SETTINGS MODAL
   ========================= */
.cookie-pref-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 62, 36, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(.24, .61, .42, 1);
}
.cookie-pref-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-pref-modal {
  background: #fff;
  color: #2B2B2B;
  border-radius: 30px;
  padding: 38px 34px 24px 34px;
  box-shadow: 0 8px 40px 4px #bce9b455;
  min-width: 320px;
  max-width: 96vw;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: appear-modal 0.25s;
}
@keyframes appear-modal {
  0% { transform: scale(0.92); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-pref-modal h3 { color: var(--nature-green); margin-bottom: 13px; font-size: 1.35rem; }
.cookie-pref-option {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.cookie-pref-option label {
  color: var(--nature-earth);
  font-size: 1.08em;
}
.cookie-pref-toggle {
  appearance: none;
  width: 42px; height: 24px;
  background: #e2ecd3;
  border-radius: 24px;
  position: relative;
  transition: background-color 0.16s cubic-bezier(.38,0,.59,1);
  outline: none;
  border: none;
  cursor: pointer;
}
.cookie-pref-toggle:checked {
  background: var(--nature-green);
}
.cookie-pref-toggle:before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 2px 6px #1a522010;
  transition: left 0.16s cubic-bezier(.4,0,.2,1);
}
.cookie-pref-toggle:checked:before { left: 20px; background: #fffbe7; }
.cookie-pref-modal .cookie-btn {
  margin: 10px 7px 0 0;
  font-size: 1rem;
}
.cookie-pref-modal .cookie-btn:last-child { margin-right: 0; }
@media (max-width: 480px) {
  .cookie-pref-modal {
    padding: 20px 12px 16px 12px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* =========================
   MEDIA RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
    max-width: 100vw;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 46px;
    border-radius: 18px 40px 22px 30px/16px 26px 30px 14px;
  }
}
@media (max-width: 600px) {
  .content-wrapper {
    gap: 14px;
  }
  .section {
    gap: 14px;
    padding: 20px 4px 22px 4px;
    margin-bottom: 28px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px;
    gap: 10px;
  }
}

/* =========================
   INTERACTIONS & TRANSITIONS
   ========================= */
.card, .section, .testimonial-card { transition: box-shadow 0.15s, border-color 0.18s; }
.card:hover, .testimonial-card:hover {
  box-shadow: 0 3px 16px 0 #3e805a22, 0 1px 4px #bce9b410;
  border-left-color: var(--nature-green);
}
.cta-btn:focus, .cta-btn:active,
.cookie-btn:focus, .cookie-btn:active {
  outline: 2px solid var(--accent);
}

/* =========================
   ORGANIC/NATURE MICRO-ELEMENTS
   ========================= */
.section, .card, .testimonial-card {
  /* Subtle organic "blob" shadow via pseudo-element */
  position: relative;
  overflow: visible;
}
.section::after, .testimonial-card::after, .card::after {
  content: '';
  position: absolute;
  z-index: 0;
  bottom: -14px;
  right: -14px;
  width: 46px;
  height: 26px;
  background: #e2ecd31b;
  border-radius: 30px 70px 25px 33px;
  pointer-events: none;
  filter: blur(1px);
  opacity: .22;
}

/* Remove on very small screens: reduce clutter */
@media (max-width: 500px) {
  .section::after, .testimonial-card::after, .card::after { display: none; }
}

/* =========================
   UTILITY CLASSES
   ========================= */
.mb-0 { margin-bottom: 0 !important; }
.t-center { text-align: center !important; }
.t-right { text-align: right !important; }
.t-green { color: var(--nature-green) !important; }
.t-accent { color: var(--accent) !important; }
.bg-earth { background-color: var(--nature-earth) !important; color: #fff !important; }

/* =========================
   PRINT
   ========================= */
@media print {
  header, nav, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #111; }
}

/* ==============
   END
   ============== */
