/* 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background-color: #232629;
  color: #E1E4DF;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #A0BD7A;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px dashed #85A857;
  outline-offset: 2px;
}
strong {
  font-weight: 700;
}
ul, ol {
  padding-left: 1.4em;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #232629;
}
::-webkit-scrollbar-thumb {
  background: #414446;
  border-radius: 8px;
}

/* COLOR VARIABLES (with fallbacks) */
:root {
  --primary: #295038;
  --secondary: #85A857;
  --accent: #F5F7E6;
  --bg: #232629;
  --card-bg: #313433;
  --metallic: #7B7C7A;
  --text: #E1E4DF;
  --text-light: #F5F7E6;
  --shadow-dark: rgba(40,51,38,0.14);
  --shadow-metal: 0 2px 16px 0 rgba(67,77,84,0.22);
  --border-metal: #5E6469;
  --border-light: #AEA881;
}

/* TYPOGRAPHY (INDUSTRIAL MODERN) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-light);
  line-height: 1.16;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }

p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  font-size: 1rem;
}
p {
  margin-bottom: 16px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-metal);
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border-metal);
  transition: box-shadow 0.22s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(137,145,114,.28);
  border-color: var(--secondary);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 20px 24px;
  background: #F5F7E6;
  color: #232629;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(70,80,90,0.11);
  margin-bottom: 20px;
  min-width: 220px;
  border-left: 4px solid var(--primary);
}

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

/* HERO SECTION */
.hero {
  background: linear-gradient(110deg, #232629 88%, #295038 100%);
  border-bottom: 1px solid var(--border-metal);
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--text-light);
  text-shadow: 1px 2px 8px rgba(41,80,56,0.08);
}
.hero p {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 20px;
}

/* FEATURE CARDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-metal);
  border-radius: 10px;
  box-shadow: var(--shadow-metal);
  padding: 30px 24px;
  flex: 1 1 260px;
  max-width: 322px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, border-color 0.2s, transform 0.18s;
  position: relative;
}
.feature-card img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  filter: grayscale(25%) brightness(1.2);
}
.feature-card h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.168rem;
}
.feature-card p {
  color: var(--text);
  font-size: 1rem;
}
.feature-card strong {
  color: var(--accent);
  font-weight: bold;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(133,168,87,0.17);
  border-color: var(--secondary);
  transform: translateY(-4px) scale(1.025);
  z-index: 8;
}

/* SERVICES PAGE */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-item {
  background: var(--card-bg);
  border-left: 4px solid var(--secondary);
  border-radius: 10px;
  box-shadow: var(--shadow-metal);
  padding: 24px 26px 18px 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.service-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.17rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
.service-item .price {
  background: var(--metallic);
  color: #232629;
  border-radius: 6px;
  font-size: .98rem;
  padding: 2px 12px;
  margin-left: 12px;
  font-weight: 600;
}
.service-item p {
  color: var(--text);
}
.service-item:hover, .service-item:focus-within {
  border-left: 4px solid var(--primary);
}

/* BLOG & POSTS */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.blog-post {
  background: var(--card-bg);
  border: 1px solid var(--border-metal);
  border-radius: 10px;
  box-shadow: var(--shadow-metal);
  padding: 24px 22px 20px 22px;
  min-width: 220px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.blog-post h3 {
  color: var(--secondary);
  font-size: 1.13rem;
}
.blog-post a {
  color: var(--secondary);
  font-weight: 600;
  margin-top: 10px;
  transition: color 0.18s;
}
.blog-post a:hover {
  color: var(--accent);
}
.blog-post:hover {
  box-shadow: 0 4px 22px 0 rgba(133,168,87,0.11);
}

/* CTA BUTTON */
.cta.primary, .cta.primary:visited {
  background: var(--secondary);
  color: #222;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 13px 30px;
  font-size: 1.19rem;
  letter-spacing: 0.6px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(130,160,90,.09);
  transition: background 0.18s, box-shadow 0.2s, transform 0.14s;
  display: inline-block;
  text-align: center;
  margin-top: 18px;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.025);
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #232629;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-metal);
  padding: 0 24px 0 16px;
  min-height: 72px;
  z-index: 1020;
}
.logo img {
  height: 44px;
  width: auto;
  filter: grayscale(10%) contrast(1.1);
  margin-right: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--text-light);
  font-family: 'Merriweather', serif;
  font-weight: 600;
  letter-spacing: .4px;
  font-size: 1.01rem;
  padding: 7px 3px 6px 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--accent);
}

header .cta.primary {
  margin: 0 0 0 26px;
  font-size: 1.01rem;
  padding: 9px 20px;
  border-radius: 6px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1301;
  padding: 9px 15px 9px 9px;
  margin-left: 18px;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0;
  bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,38,39,0.97);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.85,.01,.36,1.05);
  box-shadow: 8px 0 32px 0 rgba(41,80,56,0.12);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  font-size: 2.3rem;
  border: none;
  align-self: flex-end;
  margin: 16px 28px 18px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 30px;
  width: 100%;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Merriweather', serif;
  font-size: 1.38rem;
  padding: 11px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px; padding-right: 10px;
  }
  .hero {
    padding: 28px 0 26px 0;
  }
  h1 { font-size: 2rem; margin-bottom: 18px; }
  h2 { font-size: 1.38rem; margin-bottom: 13px; }
  .feature-grid, .blog-post-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .service-list {
    gap: 16px;
  }
  .section {
    padding: 26px 4px;
    margin-bottom: 38px;
  }
}

/* FLEXBOX RESPONSIVENESS */
@media (max-width: 900px) {
  .feature-grid, .content-grid, .blog-post-grid, .card-container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 18px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
/* Cards stack column on mobile */
@media (max-width: 600px) {
  .feature-card, .blog-post, .card {
    min-width: 100%;
    padding: 20px 8px;
  }
}

/* FOOTER */
footer {
  background: #191B1C;
  color: #B7BAAE;
  border-top: 1.5px solid var(--border-metal);
  padding: 28px 12px 28px 12px;
  margin-top: auto;
  font-size: .98rem;
  letter-spacing: .05em;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 7px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #C3CEC0;
  font-size: .97rem;
  font-family: 'Open Sans', sans-serif;
  transition: color .13s;
}
.footer-nav a:hover {
  color: var(--secondary);
}
footer address {
  color: #A4A69A;
  font-style: normal;
  margin-top: 6px;
  font-size: .96rem;
  letter-spacing: .02em;
}

/* FAQ, TIP, USP LISTS */
.usp-list, .brand-values, .faq-list, .feature-highlights, .tip-list {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--accent);
  font-size: 1em;
  padding-left: 1.1em;
}
.usp-list li, .brand-values li, .faq-list li, .feature-highlights li {
  color: var(--accent);
  list-style: square inside;
}
.tip-list li {
  color: var(--secondary);
  list-style: disc inside;
}
.project-desc {
  color: #5C644C;
  font-size: .98rem;
  font-style: italic;
  margin-top: -8px;
}

/* LEGAL SECTION */
.legal h1, .legal h2, .legal h3 {
  color: var(--secondary);
}
.legal .text-section h3 {
  margin-top: 16px;
}
.legal .text-section {
  background: #262B28;
  border-radius: 10px;
  padding: 28px 22px;
  color: var(--text);
  margin-bottom: 16px;
  box-shadow: 0 2px 9px 0 rgba(57,70,63,0.09);
}
.legal .text-section a {
  text-decoration: underline;
  color: var(--accent);
}
.legal .text-section a:hover {
  color: var(--secondary);
}

/* CONFIRMATION/THANK YOU */
.confirmation {
  background: linear-gradient(97deg, #232629 80%, #85A857 105%);
  padding: 56px 0 54px 0;
  border-bottom: 2px solid var(--secondary);
}
.confirmation h1 {
  color: var(--secondary);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #292C2E;
  color: var(--accent);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 22px 0 rgba(41,80,56,0.10);
  padding: 28px 34px;
  font-size: 1.08rem;
  width: 100vw;
  min-height: 50px;
  animation: slideUpCookie 0.6s cubic-bezier(.51,.68,.28,1) both;
}
@keyframes slideUpCookie {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  padding-right: 24px;
  color: #E7F7E6;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: flex-start;
}
.cookie-banner button {
  padding: 10px 23px;
  border-radius: 6px;
  border: none;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, color 0.18s, box-shadow 0.17s;
  margin-left: 0;
}
.cookie-banner .accept-btn {
  background: var(--secondary);
  color: #191B1C;
  box-shadow: 0 1px 7px 0 rgba(133,168,87,0.08);
}
.cookie-banner .accept-btn:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .reject-btn {
  background: var(--metallic);
  color: #222;
}
.cookie-banner .reject-btn:hover {
  background: #b2bcbb;
  color: #232629;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border-light);
}
.cookie-banner .settings-btn:hover {
  background: var(--accent);
  color: #222;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 8px;
    gap: 12px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-text { padding-right: 0; }
  .cookie-banner .cookie-actions { flex-wrap: wrap; gap: 10px; }
}
/* Cookie MODAL */
.cookie-modal {
  background: #242826;
  color: var(--accent);
  border-radius: 11px;
  box-shadow: 0 10px 44px 0 rgba(30,36,38,0.22);
  position: fixed;
  left: 50%; top: 50%;
  max-width: 90vw;
  width: 370px;
  z-index: 2200;
  transform: translate(-50%,-50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  padding: 38px 24px 28px 24px;
  font-size: 1rem;
}
.cookie-modal.active {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.22rem;
  margin-bottom: 13px;
}
.cookie-modal ul {
  margin-bottom: 18px;
}
.cookie-modal li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cookie-modal label {
  cursor: pointer;
  font-size: 1em;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  margin-right: 4px;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cookie-modal .modal-footer button {
  border-radius: 5px;
  padding: 8px 18px;
  font-size: .98rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 1.7rem;
  cursor: pointer;
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .card, .feature-card, .service-item, .blog-post, .testimonial-card, .cta.primary {
    transition: box-shadow 0.24s, background 0.14s, border-color 0.23s, transform 0.14s;
  }
  .main-nav a, .mobile-nav a {
    transition: color 0.26s, border-color 0.2s;
  }
  .cookie-banner, .cookie-modal {
    transition: transform 0.4s, opacity 0.4s;
  }
}

/* Utility & Misc */
.text-section {
  margin-bottom: 12px;
  background: #262B28;
  padding: 18px 16px;
  border-radius: 8px;
  color: var(--accent);
  font-size: 1em;
  box-shadow: 0 2px 7px 0 rgba(41,80,56,0.06);
}

/* Misc Margin for Card-Heavy Grids */
.card:not(:last-child), .feature-card:not(:last-child) {
  margin-bottom: 24px;
}

/* Hide scroll for background overlay when mobile menu/modal active */
html.mobile-menu-open, html.cookie-modal-open {
  overflow: hidden;
}

/* Accessibility Focus */
a:focus-visible,
button:focus-visible {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* Z-INDEX LAYERS */
header   { z-index: 1020; }
footer   { z-index: 500; }
.mobile-menu { z-index: 1300; }
.cookie-banner { z-index: 2000; }
.cookie-modal, .cookie-modal.active { z-index: 2200; }

/* End */