/* =================== CSS 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;
  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;
}
html {
  font-size: 16px;
  height: 100%;
}
body {
  min-height: 100vh;
  color: #1C2127;
  background: #F4F6F0; /* Brand accent as subtle background */
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #285238;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C8A758;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================== TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  color: #285238;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.22;
}
h4 {
  font-size: 1.2rem;
  line-height: 1.3;
}
p, ul, ol, dl, a, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1C2127;
}
.text-section > p, .text-section ul, .text-section ol {
  max-width: 700px;
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: #fff;
  border-bottom: 2px solid #E6EBEF;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 20px;
}
.brand-logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: #285238;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F6F0;
  color: #C8A758;
}
.cta-button {
  background: #285238;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 8px rgba(40,82,56,0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: #C8A758;
  color: #285238;
  box-shadow: 0 6px 14px rgba(40,82,56,0.13);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #285238;
  cursor: pointer;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 52;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4F6F0;
}

/* ========== MOBILE MENU STYLES ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 18px rgba(40,82,56,0.10);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #285238;
  align-self: flex-end;
  margin: 18px 24px 0 0;
  cursor: pointer;
  z-index: 210;
  transition: color 0.15s, background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4F6F0;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 54px;
  align-items: start;
  padding: 0 38px;
}
.mobile-nav a {
  color: #285238;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 5px;
  padding: 12px 6px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #C8A75811;
  color: #C8A758;
}

/* HIDE MAIN NAV ON MOBILE, SHOW BURGER */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== LAYOUT SECTIONS & FLEXBOX HELPERS ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 1px rgba(40,82,56,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(40,82,56,0.07);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 2px rgba(40,82,56,0.16);
  transform: translateY(-4px) 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;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f6faf8;
  border: 1.5px solid #E6EBEF;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(40,82,56,0.08);
  min-width: 250px;
  flex: 1 1 320px;
}
.testimonial-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #285238;
}
.testimonial-card p {
  font-size: 1rem;
  color: #223038;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-weight: 500;
  color: #285238;
  font-family: 'Oswald', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(40,82,56,0.06);
  padding: 21px 20px;
  min-width: 220px;
}
.features-grid, .products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .product {
  flex: 1 1 220px;
  min-width: 240px;
  max-width: 350px;
  background: #f4f6f8;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(40,82,56,0.07);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .22s;
}
.feature:hover, .product:hover {
  box-shadow: 0 6px 22px 1px rgba(40,82,56,0.10);
}
.feature img, .product img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}
.feature h3, .product h3 {
  font-size: 1.15rem;
  font-family: 'Oswald', Arial, sans-serif;
  color: #285238;
}
.products-list .product ul {
  padding-left: 18px;
}
.products-list .product li {
  font-size: 0.98rem;
  color: #285238;
  margin-bottom: 4px;
}

/* Hero Section (index and other pages) */
.hero {
  background: linear-gradient(94deg, #F4F6F0 70%, #E6EBEF 100%);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 1px 10px 0 rgba(40,82,56,0.07);
  min-height: 330px;
  margin-bottom: 40px;
  padding: 35px 0 55px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
  gap: 20px;
}
.hero h1 {
  color: #285238;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  color: #223038;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

/* Call to Action Banner */
.cta-banner {
  background: #285238;
  color: #fff;
  border-radius: 14px;
  margin: 50px 0 0 0;
  box-shadow: 0 2px 12px 0 rgba(40,82,56,0.10);
  padding: 36px 0;
}
.cta-banner h2,
.cta-banner p {
  color: #fff;
}
.cta-banner .cta-button {
  background: #C8A758;
  color: #285238;
  margin-top: 18px;
  box-shadow: 0 1px 4px 0 rgba(200,167,88,0.14);
}
.cta-banner .cta-button:hover, .cta-banner .cta-button:focus {
  background: #fff;
  color: #C8A758;
  box-shadow: 0 8px 24px 2px rgba(40,82,56,0.12);
}

/* =================== FOOTER =================== */
footer {
  background: #F4F6F0;
  border-top: 2px solid #E6EBEF;
  padding-top: 32px;
  padding-bottom: 32px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer .brand-logo img {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #285238;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
  margin-bottom: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C8A758;
}
footer .text-section p {
  color: #223038;
  font-size: 0.99rem;
  line-height: 1.6;
}

/* =================== COOKIES CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 -4px 18px 0 rgba(40,82,56,0.09);
  border-top: 1.5px solid #E6EBEF;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  animation: bannerFadeIn 0.85s cubic-bezier(.22,.68,.57,1);
}
@keyframes bannerFadeIn {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #285238;
  flex: 2 1 380px;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 6px;
  padding: 8px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
  font-weight: 600;
}
.cookie-btn.accept {
  background: #285238;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C8A758;
  color: #285238;
}
.cookie-btn.reject {
  background: #fff;
  color: #285238;
  border: 2px solid #285238;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f4f6f0;
  color: #C8A758;
  border-color: #C8A758;
}
.cookie-btn.settings {
  background: #F4F6F0;
  color: #285238;
  border: 1.5px solid #E6EBEF;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #C8A758;
  border-color: #C8A758;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,82,56,0.14);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalOverlayAppear 0.28s cubic-bezier(.3,.7,.4,1);
}
@keyframes modalOverlayAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 32px 26px;
  border-radius: 16px;
  min-width: 310px;
  max-width: 97vw;
  box-shadow: 0 6px 30px 6px rgba(40,82,56,0.18);
  position: relative;
  animation: modalPopIn 0.4s cubic-bezier(.3,1.34,.72,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.82); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.29rem;
  margin-bottom: 18px;
  color: #285238;
}
.cookie-modal .modal-section {
  margin-bottom: 22px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1C2127;
  font-weight: 500;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #E6EBEF;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  transition: background 0.2s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s, background 0.22s;
  box-shadow: 0 2px 6px 0 rgba(40,82,56,0.08);
}
.cookie-toggle input:checked + span {
  transform: translateX(20px);
  background: #C8A758;
}
.cookie-category.essential label {
  color: #285238;
  font-weight: 700;
}
.cookie-category.essential .cookie-toggle {
  background: #C8A758;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #285238;
  cursor: pointer;
  line-height: 1;
  transition: background 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F6F0;
  border-radius: 50%;
}


/* =================== FORMS =================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #E6EBEF;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fff;
  color: #1C2127;
  outline: none;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #C8A758;
}
button, input[type=submit] {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  background: #285238;
  color: #fff;
  border-radius: 5px;
  padding: 10px 18px;
  border: none;
  box-shadow: 0 1.5px 8px 0 rgba(40,82,56,0.08);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
button:hover, input[type=submit]:hover {
  background: #C8A758;
  color: #285238;
  box-shadow: 0 5px 18px 0 rgba(40,82,56,0.10);
}

/* =================== TABLES & DEFINITION LISTS =================== */
dt {
  font-family: 'Oswald', Arial, sans-serif;
  color: #285238;
  font-weight: 600;
  margin-bottom: 5px;
}
dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: #223038;
  margin-bottom: 16px;
  margin-left: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 14px;
}
th, td {
  padding: 10px 14px;
  border-bottom: 1.5px solid #E6EBEF;
  text-align: left;
}
th {
  background: #F4F6F0;
  color: #285238;
  font-family: 'Oswald', Arial, sans-serif;
}

dl {
  margin-bottom: 16px;
}
/* =================== UTILITY CLASSES =================== */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 16px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mt-4 {
  margin-top: 32px;
}
.mb-4 {
  margin-bottom: 32px;
}

/* =================== RESPONSIVE DESIGN =================== */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 22px 6px;
    border-radius: 10px;
  }
  .content-wrapper,
  .text-section {
    gap: 18px;
  }
  .features-grid, .products-list, .card-container,
  .testimonials, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .hero .container {
    flex-direction: column;
    min-height: unset;
    padding: 0 10px;
  }
  .cta-banner {
    padding: 20px 6px;
    border-radius: 10px;
  }
  .footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer .brand-logo img {
    margin-bottom: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 0.97rem;
    padding: 18px 10px;
    align-items: flex-start;
  }
}
@media (max-width: 570px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .hero {
    min-height: 180px;
    padding: 18px 0 24px 0;
  }
  .footer .container {
    gap: 12px;
    padding: 0 6px;
  }
  .feature, .product, .testimonial-card, .card {
    min-width: 0;
    max-width: 98vw;
    padding: 11px 7px;
  }
  .cta-button {
    padding: 10px 12px;
    font-size: 1rem;
  }
}

/* =================== ANIMATIONS & MICRO-INTERACTIONS =================== */
.card, .feature, .product, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .feature:hover, .product:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px 2px rgba(40,82,56,0.11);
  transform: translateY(-2px) scale(1.008);
}
.cta-button, .cookie-btn, button, input[type=submit] {
  transition: background 0.18s, color 0.19s, box-shadow 0.20s, transform 0.13s;
}
.cta-button:active, .cookie-btn:active, button:active, input[type=submit]:active {
  transform: scale(0.97);
}

/* Hide visually but keep accessible (for modal toggle etc) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =================== SPECIAL COMPONENTS =================== */
.products-list {
  margin-top: 8px;
}
.products-list .product {
  background: #fdfcf9;
  border: 1.5px solid #E6EBEF;
}
.products-list .product ul {
  margin-top: 4px;
}

/* Contact, Support, About details */
ul li img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  display: inline-block;
}

/* Map icon image (Find Us) */
section img[alt="Map Icon"] {
  margin-top: 14px;
  border-radius: 10px;
  box-shadow: 0 2px 14px 0 rgba(40,82,56,0.08);
  max-width: 440px;
}

/* Emphasis in FAQs/Details */
main em {
  color: #285238;
  font-style: italic;
  background: #f4f6f0;
  padding: 2px 6px;
  border-radius: 7px;
}

/* =================== ACCESSIBILITY & FOCUS STATES =================== */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #C8A758;
  outline-offset: 1.5px;
}

/* =============== PRINT (optional) =============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  .section, .hero, .cta-banner {
    box-shadow: none !important;
    background: #fff !important;
  }
}

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