/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
html {
  scroll-behavior: smooth;
}

/* ===== BRAND COLOR VARIABLES FOR COMPATIBILITY ===== */
:root {
  --primary: #216C3C;
  --secondary: #F2F2F2;
  --secondary-alt: #FFFFFF;
  --accent: #FFA500;
  --accent-darker: #B25A00;
  --bg: #FFFDF9;
  --text: #2B2F2B;
  --heading: #216C3C;
  --shadow-card: 0 2px 16px 0 rgba(33, 108, 60, 0.08);
  --shadow-soft: 0 1.5px 8px 0 rgba(33, 108, 60, 0.04);
}

/* ===== TYPOGRAPHY ===== */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--heading);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.13; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 600; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, li {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

/* ===== GLOBAL LAYOUTS ===== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ============== HEADER & NAVIGATION ============== */
header {
  background: var(--secondary-alt);
  box-shadow: 0 2px 10px rgba(33,108,60,0.05);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
  color: var(--primary);
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--secondary-alt);
}
.main-nav .btn-primary {
  background: var(--primary);
  color: var(--secondary-alt);
  border-radius: 32px;
  padding: 10px 22px;
  box-shadow: var(--shadow-soft);
  transition: background 0.18s, box-shadow 0.25s, color 0.18s;
  font-weight: 700;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: var(--accent);
  color: var(--secondary-alt);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--secondary-alt);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: background 0.15s, color 0.15s;
  z-index: 40;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent-darker);
  color: var(--accent);
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============== MOBILE MENU & OVERLAY ============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,242,242,0.98);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--primary);
  align-self: flex-end;
  background: none;
  border: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent-darker);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 12px;
  color: var(--primary);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary-alt);
  padding-left: 10px;
}

/* ============== HERO SECTIONS =============== */
.hero-section {
  background: linear-gradient(90deg, #FFFDF9 80%, rgba(255,165,0,0.07) 100%);
  border-radius: 0 0 24px 24px;
  padding: 60px 0 40px 0;
  box-shadow: 0 2px 16px 0 rgba(255,165,0,0.06);
  margin-bottom: 40px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-section .content-wrapper {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}
.hero-section h1 {
  color: var(--primary);
  font-size: 2.5rem;
}
.hero-section p {
  color: var(--primary);
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 35px 0 25px 0;
    margin-bottom: 18px;
    border-radius: 0 0 12px 12px;
  }
  .hero-section h1 { font-size: 1.5rem; }
  .hero-section p { font-size: 1rem; }
}

/* ============== BUTTONS =============== */
.btn-primary {
  background: var(--primary);
  color: var(--secondary-alt);
  padding: 12px 32px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: background 0.22s, color 0.16s, transform 0.1s;
  display: inline-block;
  border: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--secondary-alt);
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--accent);
  color: var(--secondary-alt);
  font-weight: 700;
  border-radius: 22px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: background 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
}

/* ============== FLEXBOX SPACING PATTERNS ============= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.card {
  margin-bottom: 20px;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  background: var(--secondary-alt);
  position: relative;
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(33,108,60,0.11);
  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;
  background: var(--secondary);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  min-width: 320px;
  flex: 1 1 300px;
  transition: box-shadow 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 20px 0 rgba(33,108,60,0.18);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ============== FEATURES & PRODUCT CATEGORIES GRIDS ============= */
.features-grid, .product-categories, .testimonials-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-start;
}
.features-grid .feature, .product-categories > div {
  flex: 1 1 240px;
  min-width: 230px;
  background: var(--secondary-alt);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.16s, background 0.14s;
}
.features-grid .feature:hover, .product-categories > div:hover {
  box-shadow: 0 8px 30px 0 rgba(255,165,0,0.10);
  background: #FFF5E6;
}
.features-grid .feature img, .product-categories > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .features-grid, .product-categories, .testimonials-grid {
    gap: 18px;
  }
  .features-grid .feature, .product-categories > div {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .features-grid, .product-categories, .testimonials-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid .feature, .product-categories > div, .testimonial-card {
    min-width: 40vw;
    width: 100%;
  }
}

/* ============== TESTIMONIALS ============= */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-content p {
  font-size: 1.08rem;
  color: #222;
  font-weight: 400;
  margin-bottom: 10px;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 3px;
}
.star-rating {
  color: var(--accent);
  font-size: 1.25rem;
}

/* ============== CONTACT DETAILS ============= */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 38px;
  margin: 20px 0 28px 0;
}
.contact-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary);
  border-radius: 12px;
  padding: 8px 18px;
  box-shadow: var(--shadow-soft);
}
.contact-info-block img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 18px 0;
  gap: 8px;
  background: var(--secondary);
  border-radius: 10px;
  padding: 15px;
  box-shadow: var(--shadow-soft);
}

/* ============== ARTICLES/BLOG ============= */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.articles-list li {
  background: var(--secondary-alt);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  transition: box-shadow 0.14s, background 0.12s;
}
.articles-list li:hover {
  box-shadow: 0 4px 18px 0 rgba(255,165,0,0.10);
  background: #FFF5E6;
}
.trending-topics {
  margin-top: 18px;
}
.trending-topics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trending-topics li {
  background: var(--accent);
  color: var(--secondary-alt);
  border-radius: 16px;
  padding: 7px 16px;
  font-size: 0.94rem;
}

/* ============== FAQ ACCORDION ============= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-item {
  border-radius: 14px;
  background: var(--secondary);
  box-shadow: var(--shadow-soft);
  padding: 18px 15px;
  transition: box-shadow 0.13s;
}
.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.faq-item p {
  color: #2b2f2b;
  margin-top: 4px;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 4px 14px 0 rgba(255,165,0,0.11);
}

/* ============== CTA SECTIONS ============= */
.cta-section {
  background: linear-gradient(90deg, #FFFDF9 78%, #FFA50010 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 36px 24px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-section .btn-primary {
  margin-top: 14px;
}

/* ============== FOOTER ============= */
footer {
  background: var(--primary);
  color: var(--secondary-alt);
  font-size: 1.02rem;
  padding: 24px 0 16px 0;
  margin-top: 36px;
  border-radius: 24px 24px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--secondary-alt);
  opacity: 0.97;
  transition: text-decoration 0.16s, opacity 0.17s;
}
.footer-links a:hover,
.footer-links a:focus {
  text-decoration: underline;
  opacity: 1;
}
.footer-copyright {
  font-size: 0.98rem;
  opacity: 0.85;
}

/* ============== MISC UTILS =============== */
a {
  transition: color 0.17s, background 0.15s;
  outline: none;
}
a:focus { box-shadow: 0 0 0 2px var(--accent, #FFA500); border-radius: 4px; }
.section ul {
  list-style: disc inside;
  margin: 0 0 16px 15px;
  color: var(--text);
}
.section li {
  margin-bottom: 8px;
}

.text-section {
  background: var(--secondary-alt);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

/* ============== RESPONSIVE ADJUSTMENTS ============== */
@media (max-width: 900px) {
  .container { padding: 0 12px; }
  .features-grid .feature, .product-categories > div { padding: 20px 13px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-image-section, .contact-details {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 26px;
  }
  .footer-copyright {
    font-size: 0.9rem;
  }
  .cta-section {
    padding: 20px 5px;
    border-radius: 8px;
    margin-bottom: 28px;
  }
  .hero-section {
    padding: 24px 0 14px 0;
    border-radius: 0 0 6px 6px;
  }
}

/* ============== COOKIE CONSENT BANNER ============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff9ea;
  color: #4B3917;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -3px 18px 0 rgba(224,157,24,0.15);
  padding: 22px 18px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.08rem;
  animation: cookie-slide-up 0.38s cubic-bezier(.39,1.65,.64,1) 1;
}
@keyframes cookie-slide-up {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1;   }
}
.cookie-banner-message {
  flex: 2 1 auto;
  min-width: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.cookie-banner .btn {
  padding: 10px 20px;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.17s, color 0.11s;
}
.cookie-banner .btn-accept {
  background: var(--primary);
  color: var(--secondary-alt);
}
.cookie-banner .btn-accept:hover {
  background: var(--accent);
  color: var(--secondary-alt);
}
.cookie-banner .btn-reject {
  background: #e8e8e8;
  color: var(--primary);
}
.cookie-banner .btn-reject:hover {
  background: #ffebc4;
  color: var(--accent-darker);
}
.cookie-banner .btn-settings {
  background: none;
  color: var(--accent-darker);
  border: 1.5px solid var(--accent-darker);
}
.cookie-banner .btn-settings:hover {
  background: var(--accent);
  color: var(--secondary-alt);
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 11px; padding: 15px 6px 10px 6px; }
  .cookie-banner-buttons { width: 100%; gap: 10px; }
}

/* ============== COOKIE PREFERENCES MODAL ============== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33, 108, 60, 0.16);
  z-index: 201;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal-dialog {
  background: #fff9ea;
  border-radius: 14px;
  box-shadow: 0 6px 34px 0 rgba(255,165,0,0.21);
  padding: 32px 22px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-fadein 0.22s cubic-bezier(.58,1.44,.28,1) 1;
}
@keyframes cookie-modal-fadein {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1;   }
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.33rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  color: var(--accent-darker);
  font-size: 2.1rem;
  border: none;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.cookie-modal-footer {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  padding: 10px 20px;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: background 0.14s, color 0.11s;
}
.cookie-modal .btn-save {
  background: var(--primary);
  color: var(--secondary-alt);
}
.cookie-modal .btn-save:hover {
  background: var(--accent);
  color: var(--secondary-alt);
}
.cookie-modal .btn-cancel {
  background: #eaeaea;
  color: var(--primary);
}
.cookie-modal .btn-cancel:hover {
  background: #ffebc4;
  color: var(--accent-darker);
}

/* ============== SCROLLBAR STYLING ============== */
html::-webkit-scrollbar {
  width: 10px;
  background: #faeee2;
}
html::-webkit-scrollbar-thumb {
  background: #d8c7b2;
  border-radius: 8px;
}

/* ============== CUSTOM FONTS (Google Fonts Inline Fallbacks) ============== */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_dJE3gTD_vx3rCubqg.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'),
    url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxM.woff2') format('woff2');
}

/* ============== PRINT FRIENDLY ============== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}
