/* --- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {line-height: 1;}
ol, ul {list-style: none;}
a {text-decoration: none; color: inherit;}
table {border-collapse: collapse; border-spacing: 0;}
img {max-width: 100%; height: auto; display: block;}
button, select, input, textarea {font-family: inherit; font-size: 100%;}

/* --- Variables (with fallbacks for legacy) --- */
:root {
  --color-primary: #143250;
  --color-secondary: #3CA4DC;
  --color-accent: #E2EAF2;
  --color-green: #3b6e47; /* Earthy green accent */
  --color-leaf: #78a176; /* Soft green for highlights */
  --color-earth: #c6bb9c; /* Sand/light earth background */
  --color-brown: #786953;
  --color-bg: #f7f6f3; /* Near-white with a hint of natural warmth */
  --color-text: #21342b;
  --color-muted: #56685a;
  --shadow-card: 0 6px 32px rgba(30, 62, 47, 0.09);
  --radius-lg: 1.5em;
  --radius-md: 1em;
  --radius-sm: 0.5em;
  --transition: 0.2s cubic-bezier(.48,.4,.37,1.3);
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--color-bg, #f7f6f3);
  color: var(--color-text, #21342b);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', serif;
  color: var(--color-primary, #143250);
  margin-bottom: 8px;
  font-weight: 700;
}
h1 {font-size: 2.5rem; margin-bottom: 16px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.35rem; margin-bottom: 8px;}
h4, h5, h6 {font-size: 1.1rem;}

.subtitle {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-green, #3b6e47);
  font-size: 1.15rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: rgba(232, 236, 220, 0.18);
}

/* --- Header & Navigation --- */
header {
  background: #f2f6ef;
  border-bottom: 1px solid #dbe6d3;
  box-shadow: 0 2px 16px rgba(60, 100, 50, 0.03);
  position: sticky; top: 0; z-index: 60;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 18px;
}
header img {height: 48px; width: auto;}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  padding: 8px 0;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  position: relative;
  transition: background var(--transition), color var(--transition);
}
nav a:hover,
nav a:focus {
  background: var(--color-leaf);
  color: #fff;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1.08rem;
  font-family: 'Roboto Slab',serif;
  font-weight: 600;
  border-radius: 999px;
  background: var(--color-leaf);
  color: #fff;
  box-shadow: 0 2px 16px rgba(50,90,60,.08);
  cursor: pointer;
  border: none;
  outline: none;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
.cta.primary {
  background: var(--color-green, #3b6e47);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--color-brown);
  color: var(--color-accent);
  box-shadow: 0 4px 18px rgba(80,110,88,.10);
  text-decoration: none;
}

header .cta {
  margin-left: 12px;
}

.mobile-menu-toggle {
  display: none;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #eaeee2;
  box-shadow: -4px 0 28px rgba(56, 107, 72, 0.16);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(0);
  transition: left 0.35s cubic-bezier(.7,.2,.22,1.2);
  will-change: left;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  left: 0;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none; border: none;
  font-size: 2.3rem;
  color: var(--color-green);
  padding: 20px 18px 10px 18px;
  margin-left: auto;
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 4px;
}
.mobile-nav a {
  font-size: 1.18rem;
  padding: 18px 28px;
  border-bottom: 1px solid #d2dccc;
  color: var(--color-primary, #143250);
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-leaf);
  color: #fff;
}

@media (max-width: 1024px) {
  nav {gap:14px;}
  header .cta {padding: 11px 24px; font-size: 1rem;}
}
@media (max-width: 900px) {
  nav, header .cta {display: none;}
  .mobile-menu-toggle {
    display: inline-flex;
    background: none;
    border: none;
    color: var(--color-green);
    font-size: 2.1rem;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    z-index: 1002;
  }
  .mobile-menu {
    display: flex;
  }
}
/* --- HERO --- */
.hero {
  background: linear-gradient(110deg, #f7f6f3 80%, #e4efe2 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {font-size: 2.3rem; color: var(--color-green);}
.hero .subtitle {font-size:1.18rem;}
.hero .cta {margin-top: 20px;}

@media (max-width: 600px) {
  .hero h1 {font-size: 1.54rem;}
  .hero .content-wrapper {gap: 14px;}
}

/* --- Features & Cards --- */
.features {
  background: #f3f7ee;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  box-shadow: 0 2px 18px rgba(70,95,70,.07);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 22px 20px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  border: 1.5px solid #e0e8d5;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-item img {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #e7eee2;
  box-shadow: 0 1px 4px rgba(70, 100, 70, .09);
}
.feature-item:hover,
.feature-item:focus-within {
  border-color: var(--color-leaf);
  box-shadow: 0 4px 20px rgba(99,119,98,.09);
}
.features h2 {margin-bottom:10px;}

/* --- Cards & Card Containers --- */
.card-container, .company-cards, .summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.summary-card, .company-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 22px 18px 22px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1.5px solid #e0e8d5;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.summary-card:hover, .company-card:hover {
  border-color: var(--color-leaf);
  box-shadow: 0 6px 32px rgba(99,130,99,0.10);
}
.summary-card ul, .company-card ul {
  margin-top: 10px;
}
.summary-card li, .company-card li {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 1px;
}

/* --- Profile Tabs --- */
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.profile-tabs .tab {
  background: #f5fbe9;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  box-shadow: 0 1px 12px rgba(160,200,150,0.05);
  margin-bottom: 20px;
}
.profile-tabs .tab h3 {margin-bottom: 4px;}

/* --- Testimonials --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8fbf3;
  border: 2px solid #e2e8d6;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(110,125,90,0.04);
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-family: 'Roboto Slab', serif;
  color: #2a3f2e;
  quotes: '“' '”' '‘' '’';
}
.testimonial-card strong {
  color: var(--color-green);
}
.testimonial-card span {
  display: inline-block;
  margin-left: 20px;
  font-size: 1rem;
  color: var(--color-green);
}

@media (max-width: 900px) {
  .card-container, .company-cards, .summary-cards, .profile-tabs {
    flex-direction: column;
  }
  .feature-grid {
    flex-direction: column;
  }
  .features > .container > .content-wrapper {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .testimonial-card {flex-direction: column; gap: 10px;}
  .summary-card, .company-card, .feature-item, .profile-tabs .tab {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* --- Info/Chart/Graph Panels --- */
.chart, .graph, .highlight-panel, .details {
  background: #e9efe4;
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  box-shadow: 0 1px 8px rgba(80,115,89,.05);
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--color-muted);
}
.graph ul, .chart ul, .details ul {margin-top: 10px;}
.graph li, .chart li {margin-bottom: 4px;}

/* --- Equipment Table --- */
.equipment-table, .comparison-table table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(100,130,100,0.06);
  margin-bottom: 22px;
  border-collapse: separate;
}
.equipment-table th,
.comparison-table th {
  background: #e6f3e0;
  color: var(--color-primary);
  text-align: left;
  padding: 13px 14px;
  font-size: 1.05rem;
  font-weight: 600;
}
.equipment-table td,
.comparison-table td {
  background: #fff;
  padding: 12px 14px;
  color: var(--color-text);
}
.equipment-table tr:not(:first-child):hover td,
.comparison-table tr:not(:first-child):hover td {
  background: #e9f6e8;
  transition: background 0.18s;
}

/* --- News Feed --- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.news-item {
  background: #f7fbf1;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(110,135,90,0.06);
  padding: 22px 14px 18px 14px;
  border-left: 5px solid var(--color-leaf);
  transition: border-color var(--transition);
}
.news-item:hover { border-left: 5px solid var(--color-green);}
.news-item .tags {
  color: var(--color-green);
  display: inline-block;
  margin-top: 6px;
  font-size: 0.96rem;
  font-style: italic;
}

.article-preview {
  background: #f9f6e9;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 10px rgba(160,150,100,0.04);
  padding: 18px 10px 16px 16px;
  margin-bottom: 16px;
  border-left: 3px solid var(--color-brown);
}

/* --- FAQ Accordion --- */
.faq-section .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #e9efdd;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 8px rgba(100,110,85,0.04);
  border-left: 5px solid var(--color-leaf);
  padding: 18px 14px 12px 18px;
  margin-bottom: 6px;
}
.faq-answer {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 1rem;
}

/* --- Cookie Banner (Fixed Bottom) --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #e7f2df;
  border-top: 3px solid var(--color-green);
  box-shadow: 0 -2px 16px rgba(61,103,83,0.10);
  padding: 24px 20px 16px 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  font-size: 1.1rem;
  transition: transform 0.33s cubic-bezier(.68,.12,.22,1.15);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  min-width: 110px;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 600;
  font-family: 'Roboto Slab',serif;
  cursor: pointer;
  background: var(--color-green);
  color: #fff;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .cookie-settings {
  background: var(--color-leaf);
  color: #fff;
}
.cookie-banner button.reject {
  background: #B29366;
  color: #fff;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-brown);
  color: var(--color-accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,56,32,0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #f3f8e8;
  border-radius: var(--radius-lg);
  padding: 38px 24px 20px 24px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 6px 36px rgba(70,95,70,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.07rem;
}
.cookie-modal-content label {font-weight: 500;}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--color-green);
  width: 20px;
  height: 20px;
}
.cookie-modal-content .cookie-essential[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal-close {
  position: absolute;
  right: 22px; top: 16px;
  background: none;
  border: none;
  font-size: 1.82rem;
  color: var(--color-green);
  cursor: pointer;
}
.cookie-modal-close:hover { color: var(--color-primary);}

@media (max-width: 600px) {
  .cookie-modal-content {padding: 22px 9px 16px 11px; min-width: unset;}
}

/* --- Forms, Selects, Inputs (minimal) --- */
select {
  appearance: none;
  background: #e9f5e4 url('data:image/svg+xml;utf8,<svg fill="%233b6e47" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center/18px 18px;
  border: 1.5px solid #bccfb6;
  border-radius: var(--radius-sm);
  padding: 10px 38px 10px 12px;
  color: var(--color-primary);
  font-size: 1.05rem;
  outline: none;
  transition: border-color var(--transition);
  margin-left: 10px;
}
select:focus {
  border-color: var(--color-green);
}
label {font-weight: 500; color:var(--color-muted);}

input, textarea {
  border: 1.5px solid #d0ddc1;
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-size: 1.09rem;
  color: var(--color-primary);
  outline: none;
  background: #fbfcf7;
  transition: border-color var(--transition);
}
input:focus, textarea:focus {
  border-color: var(--color-green);
}

/* --- About/Team Cards --- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom:20px;
}
.bio {
  background: #f9f6e9;
  border-radius: var(--radius-md);
  padding: 18px 14px 18px 20px;
  flex: 1 1 220px;
  min-width: 160px;
  box-shadow: 0 2px 10px rgba(80,100,62,0.05);
}
.value-icons, .trust-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.value-icons img, .trust-icons img {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: #e3f1e1;
  box-shadow: 0 0.5px 4px rgba(111,130,90,0.06);
}

/* --- Contact Page Blocks --- */
.address-block, .phone-block, .email-link, .opening-hours {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #f7fbf2;
  border-radius: var(--radius-sm);
  padding: 13px 9px;
  margin-bottom: 8px;
  box-shadow: 0 1px 8px rgba(120,140,100,0.04);
  font-weight: 500;
}
.address-block strong {color: var(--color-primary);}
.email-link a, .phone-block a {color: var(--color-green);}

/* --- Section Banners & CTAs --- */
.cta-banner {
  background: linear-gradient(115deg, #e6f3e2 65%, #dff2ea 120%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  margin-bottom: 40px;
}
.cta-banner h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
  color: var(--color-green);
}
.cta-banner p {
  font-size: 1.08rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}
.cta-banner .cta {margin-bottom: 0;}

/* --- Focus/Analysis Panels --- */
.focus-analysis .article-preview {
  background: #e5f1de;
  border-left: 3px solid var(--color-green);
}

/* --- Thank You Section --- */
.thank-you-section {
  background: #f4fde3;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 20px rgba(111,150,80,.09);
  text-align: center;
}
.confirmation-message {
  background: #e7efdb;
  padding: 22px 10px;
  border-radius: var(--radius-sm);
  font-size:1.1rem;
  color: var(--color-green);
  margin-bottom: 24px;
}

/* --- Footer --- */
footer {
  background: #eaf0e4;
  padding: 28px 0 18px 0;
  border-top: 1.5px solid #cbd9c2;
  font-size: 1.02rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: var(--color-primary);
  background: #e2eedd;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-leaf);
  color: #fff;
}
.contact-info {
  color: var(--color-green);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.55;
  font-weight: 500;
}
.contact-info img {
  width: 18px; height:18px;vertical-align:middle;margin-right:4px;}
footer .brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  font-size: 0.97rem;
  color: var(--color-muted);
}
footer .brand img {
  width: 33px; height:33px;
  margin-bottom: 2px;
}

@media (max-width: 900px) {
  footer .container {flex-direction: column; gap: 24px; align-items: flex-start;}
  .footer-nav {flex-direction: row; gap:11px;flex-wrap:wrap;}
  footer .brand {align-items: flex-start;}
}
@media (max-width: 600px) {
  footer .container {flex-direction: column; gap: 18px;}
  .footer-nav {flex-direction: column;gap:7px;}
}

/* --- Responsive Utilities for Organic/Nature Visual Rhythm --- */
@media (max-width: 768px) {
  .content-wrapper {gap: 16px;}
  .feature-grid, .card-container, .summary-cards, .company-cards, .profile-tabs, .team-bios {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {flex-direction: column;align-items: flex-start;gap: 16px;}
  .testimonial-card {flex-direction: column; gap: 10px;}
  .section {margin-bottom:38px;padding:22px 10px;}
}

/* --- Micro-interactions & Transitions --- */
a, .cta, button, .feature-item, .summary-card, .company-card, .profile-tabs .tab, .faq-item {
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), filter var(--transition);
}

/* Decorations: Add Leafy/Organic Visuals (as subtle shapes if desired) */
/* For future SVG backgrounds or small absolute leaves. No position: absolute for content! */

/* --- Print-friendly adjustments, in case --- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {display: none;}
  .container {max-width: none;}
  body {background: #fff; color: #111;}
}
