/* ===== 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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #FDF7EF;
  color: #222;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #285441;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #B87C1F;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  font-weight: 700;
  color: #285441;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: bold;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ====== BRAND COLORS as CSS VARIABLES ====== */
:root {
  --color-primary: #285441;
  --color-secondary: #FDF7EF;
  --color-accent: #B87C1F;
  --color-bg-card: #fff;
  --color-text-dark: #232B25;
  --color-text-light: #fff;
  --color-gray-medium: #E5E3DF;
  --color-gray-700: #4B4B4B;
  --shadow-elevate: 0 2px 16px rgba(61,72,54,0.06);
  --radius-large: 20px;
  --radius-medium: 12px;
  --radius-small: 8px;
}


/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ====== HEADER & NAV ====== */
header {
  background: var(--color-secondary);
  border-bottom: 1px solid var(--color-gray-medium);
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 20px;
}
nav {
  display: flex;
  align-items: center;
  width: 100%;
}
nav > a img {
  height: 44px;
  margin-right: 24px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
nav ul li {
  display: flex;
}
nav ul li a {
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-small);
  transition: background 0.18s,color 0.18s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--color-accent);
  color: var(--color-text-light);
}
nav ul li a.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-large);
  margin-left: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 2px 12px rgba(40,84,65,0.08);
}
nav ul li a.cta-primary:hover,
nav ul li a.cta-primary:focus {
  background: var(--color-accent);
}

/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-medium);
  height: 44px;
  width: 44px;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
  box-shadow: 0 2px 12px rgba(40,84,65,0.09);
  transition: background 0.15s, color 0.15s;
  z-index: 2002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-secondary);
  box-shadow: 0 0 32px rgba(30,40,32,0.18);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.76,0.01,0.45,1.01);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  gap: 25px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  margin-left: 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--color-primary);
  padding: 16px 32px 16px 22px;
  border-radius: var(--radius-medium);
  transition: background 0.21s, color 0.21s;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Hide mobile toggle on desktop, hide nav on mobile */
@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 999px) {
  nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(102deg, #FDF7EF 70%, #fff 100%);
  padding: 40px 0 0 0;
}
.hero .container {
  min-height: 310px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 620px;
  gap: 14px;
}
.hero h1, .hero p {
  color: var(--color-primary);
}
.hero a.cta-primary {
  margin-top: 18px;
}

/* ========== COMMON CTA BUTTONS ========== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-large);
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.17s, box-shadow .21s;
  box-shadow: 0 2px 18px rgba(40,84,65,0.08);
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(184,124,31,0.16);
}

/* ================== MAIN SECTION PATTERNS ================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ====== FEATURES GRID STYLE ====== */
.features {
  width: 100%;
}
.features .container {
  padding-top: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* Use minimum 20px between cards */
  align-items: stretch;
  justify-content: flex-start;
  margin-top: 25px;
  width: 100%;
}
.feature-grid li {
  flex: 1 1 250px;
  background: var(--color-bg-card);
  box-shadow: var(--shadow-elevate);
  border-radius: var(--radius-large);
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 200px;
  gap: 12px;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 1px solid var(--color-gray-medium);
}
.feature-grid li img {
  width: 48px;
  margin-bottom: 12px;
  object-fit: contain;
}
.feature-grid li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.11rem;
  margin-bottom: 6px;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 8px 28px rgba(40,84,65,0.10);
  transform: translateY(-2px) scale(1.02);
}

/* ========== CARD/GRID PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  box-shadow: var(--shadow-elevate);
  border-radius: var(--radius-large);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  border: 1px solid var(--color-gray-medium);
  transition: box-shadow .18s, transform .14s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 30px rgba(40,84,65,0.13);
  transform: translateY(-1.5px) scale(1.01);
}

.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;
  background: #fff;
  box-shadow: 0 2px 12px rgba(40,84,65,0.08);
  border-radius: var(--radius-medium);
  margin-bottom: 20px;
  margin-top: 18px;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--color-gray-medium);
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.08rem;
  line-height: 1.5;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-gray-700);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ======= ABOUT & ABOUT VALUES ======= */
.about .text-section {
  background: var(--color-bg-card);
  border-radius: var(--radius-large);
  padding: 32px 28px 24px 28px;
  box-shadow: var(--shadow-elevate);
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--color-gray-medium);
}
.about .text-section ul {
  margin-top: 12px;
  margin-left: 0;
  padding-left: 10px;
}
.about .text-section li {
  margin-bottom: 10px;
}

/* ======== CTA/DISCOVER & NEWSLETTER SECTIONS ======== */
.cta-discover, .cta-newsletter, .cta {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-elevate);
  max-width: 800px;
  margin: 0 auto 60px auto;
}
.cta-discover .content-wrapper,
.cta .content-wrapper,
.cta-newsletter .content-wrapper {
  padding: 32px 20px 28px 20px;
  align-items: center;
}
.cta-discover h2, .cta h2, .cta-newsletter h2 {
  color: var(--color-primary);
}


/* ===== SERVICES & FAQ SECTIONS ===== */
.services .text-section, .contact .text-section, .faq .text-section {
  background: var(--color-bg-card);
  border-radius: var(--radius-large);
  padding: 32px 28px 24px 28px;
  box-shadow: var(--shadow-elevate);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--color-gray-medium);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services .text-section ul,
.contact .text-section ul,
.faq .text-section ul {
  margin-top: 12px;
}
.services nav,
.services .text-section nav {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.services nav a {
  background: none;
  color: var(--color-primary);
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-medium);
  transition: background 0.17s, color 0.17s;
}
.services nav a:hover, .services nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

.trust-signals {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.trust-signals img {
  height: 30px;
}


/* ============ THANK YOU ============ */
.thank-you-message .content-wrapper {
  align-items: center;
  padding: 50px 0 60px 0;
  border-radius: var(--radius-large);
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-elevate);
}

/* ============ FOOTER ============ */
footer {
  background: var(--color-secondary);
  border-top: 1px solid var(--color-gray-medium);
  padding: 32px 0 12px 0;
  width: 100%;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-accent);
}
footer img {
  max-height: 40px;
}
footer .content-wrapper > div:first-child img {
  margin-bottom: 12px;
}
footer .content-wrapper > div:nth-child(3) a {
  margin-right: 10px;
}
footer .content-wrapper > div:nth-child(3) img {
  height: 26px;
}

@media (min-width: 800px) {
  footer .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 36px;
  }
}

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 1000px) {
  .features .container,
  .section,
  .about .text-section,
  .services .text-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 0 6px;
  }
  .feature-grid {
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
  .hero {
    padding-bottom: 0;
  }
  .about .text-section,
  .services .text-section,
  .cta-discover .content-wrapper,
  .cta-newsletter .content-wrapper,
  .cta .content-wrapper {
    padding: 20px 9px 18px 9px;
  }
}
@media (max-width: 600px) {
  .feature-grid li, .card {
    min-width: 130px;
    padding: 18px 8px 14px 8px;
  }
  .hero h1 { font-size: 1.5rem; }
}

/* HERO: Center align on mobile */
@media (max-width: 768px) {
  .hero .container { padding: 20px 0 0 0; }
  .hero .content-wrapper { align-items: center; text-align: center; }
  .about .text-section, .services .text-section, .cta-newsletter .content-wrapper, .cta .content-wrapper, .cta-discover .content-wrapper {
    align-items: stretch;
    text-align: left;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 14px;
    gap: 8px;
    margin-bottom: 18px;
  }
}

/* ============ COOKIE CONSENT BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 -2px 28px rgba(40,84,65,0.06);
  z-index: 3002;
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.6,.19,.34,.98);
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner .cookie-text {
  color: var(--color-primary);
  max-width: 700px;
  flex: 2 1 350px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 8px 22px;
  border-radius: var(--radius-medium);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.15s, box-shadow .13s;
  box-shadow: 0 2px 10px rgba(40,84,65,0.04);
  margin-left: 0;
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #ECE3D6;
  color: var(--color-primary);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #dacba8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 12px; } 
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 10px; }
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,84,65,0.24);
  z-index: 3003;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: 0 8px 28px rgba(30,40,32,0.16);
  padding: 36px 26px 28px 26px;
  min-width: 320px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.06rem;
  color: var(--color-primary);
  z-index: 3004;
  position: relative;
  animation: fadeinModal 0.33s cubic-bezier(.66,0,.46,1) 1;
}
@keyframes fadeinModal {
  0% { transform:scale(0.97) translateY(38px); opacity: 0; } 
  99% { opacity: 1; } 
  100% { transform:scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat',Arial,sans-serif;
  color: var(--color-primary);
  margin-bottom: 19px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: var(--color-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-gray-medium);
  width: 100%;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  margin-right: 7px;
  min-width: 160px; 
}
.cookie-modal .category-switch {
  appearance: none;
  width: 40px;
  height: 24px;
  background: #e5e3df;
  border-radius: 14px;
  outline: none;
  position: relative;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal .category-switch:checked {
  background: var(--color-accent);
}
.cookie-modal .category-switch::after {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 6px rgba(10,10,10,.07);
  transition: left 0.21s;
}
.cookie-modal .category-switch:checked::after {
  left: 20px;
}
.cookie-modal .category-desc {
  font-size: .97rem;
  color: #666;
  margin-top: 6px;
}
.cookie-modal .category-switch[disabled],
.cookie-modal .category-switch[aria-disabled='true'] {
  background: #bbb;
  cursor: not-allowed;
  opacity: 0.6;
}
.cookie-modal .modal-actions {
  margin-top: 26px;
  width: 100%;
  display: flex;
  gap: 12px;
  flex-direction: row;
  justify-content: flex-end;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 20px 7px 18px 7px;
    min-width: 95vw;
  }
  .cookie-modal .modal-actions {
    flex-direction: column;
    gap: 7px;
  }
}

/* ===== GENERAL MOBILE ADJUSTMENTS ===== */
@media (max-width: 480px) {
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1rem; }
  .testimonial-card { padding: 8px; }
}

/* =========== Utility & Microinteractions =========== */
[tabindex]:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #A3A3A3; }
::-moz-placeholder { color: #A3A3A3; }
:-ms-input-placeholder { color: #A3A3A3; }
::placeholder { color: #A3A3A3; }

/* Subtle card shadow effect on hover */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.14s, transform 0.14s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(184,124,31,0.07), 0 12px 40px rgba(40,84,65,0.08);
  transform: translateY(-2px) scale(1.01);
}

/* Hide visually */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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