/* 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;
  background: transparent;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #181B1B;
  color: #F2FFFB;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* BRAND FONTS - LOAD FROM GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #225D36;
  --primary-dark: #193F26;
  --secondary: #1C2220;
  --secondary-light: #282E2C;
  --accent: #146933;
  --brand-green: #397D52;
  --brand-bg: #181B1B;
  --metal: #BFC9CC;
  --light: #F2FFFB;
  --card-bg: #222826;
  --border-default: #343B3A;
  --shadow-dark: rgba(20,24,20,0.24);
  --shadow-metal: rgba(180,196,191,0.10);
  --danger: #E04644;
  --text-primary: #F2FFFB;
  --text-secondary: #BFC9CC;
  --text-dark: #191D19;
}

body {
  background: var(--brand-bg);
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-primary);
  font-size: 16px;
}

/* GENERAL STRUCTURE */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

main {
  min-height: 60vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border: none;
  box-shadow: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-weight: 900;
  color: var(--metal);
  line-height: 1.2;
}
h1 {
  font-size: 2.7rem;
  color: var(--light);
  margin-bottom: 16px;
  text-shadow: 0 1px 10px var(--shadow-background, rgba(28,33,32,0.36));
}
h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--brand-green);
  text-shadow: 0 2px 6px var(--shadow-dark);
}
h3 {
  font-size: 1.5rem;
  color: var(--light);
}
h4, h5 {
  font-size: 1.18rem;
  font-weight: 700;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
}
strong {
  color: var(--brand-green);
  font-weight: 700;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 12px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--border-default);
  margin: 32px 0;
}

/* BRAND BUTTONS & LINKS */
.cta,
button, .button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--accent), var(--brand-green));
  color: #F2FFFB;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 10px var(--shadow-metal);
  transition: background 0.25s, transform 0.2s, box-shadow 0.15s;
  cursor: pointer;
  outline: none;
  margin: 16px 0 0 0;
  letter-spacing: 0.03em;
  text-transform: none;
}
.cta:hover, .cta:focus,
button:hover, .button:hover, .btn:hover {
  background: linear-gradient(90deg, var(--primary), var(--brand-green));
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px var(--shadow-metal);
  text-decoration: none;
}
.cta:active, .button:active, .btn:active {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(1px) scale(0.98);
}
a.cta {
  margin-top: 20px;
}
a.button, a.btn {
  text-decoration: none;
}

/* HEADER */
header {
  background: var(--secondary-light);
  box-shadow: 0 2px 8px var(--shadow-dark);
  border-bottom: 2px solid var(--brand-green);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  gap: 16px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--metal);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 5px;
  transition: background .19s, color .16s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-green);
  color: var(--card-bg);
}
.main-nav a.cta {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  margin-left: 22px;
  border-radius: 28px;
  box-shadow: 0 2px 6px var(--shadow-dark);
}
.main-nav a.cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-green);
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 201;
  transition: background .2s, box-shadow .23s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
  box-shadow: 0 4px 14px var(--shadow-dark);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--secondary-light);
  box-shadow: 0 0 24px var(--shadow-dark);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.44,.16,.23,1.19);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-green);
  color: #fff;
  border: none;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 24px 24px 24px 0;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 210;
  transition: background .18s;
}
.mobile-menu-close:hover {
  background: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 0 40px;
  width: 80vw;
}
.mobile-nav a {
  color: var(--metal);
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 4px 12px 0px;
  border-bottom: 1px solid var(--border-default);
  width: 100%;
  transition: color .14s, background .14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-green);
  background: var(--secondary);
}

/* HERO */
.hero {
  background: linear-gradient(110deg, #181B1B 75%, var(--primary) 140%);
  min-height: 340px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--brand-green);
  margin-bottom: 32px;
  box-sizing: border-box;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  background: rgba(38,61,47,0.13);
  border-radius: 22px;
  padding: 48px 24px 42px 24px;
  box-shadow: 0 4px 40px 0 var(--shadow-background, rgba(30,30,30,0.19));
  max-width: 660px;
  flex-direction: column;
  gap: 22px;
}
.hero h1 {
  color: #F2FFFB;
  font-size: 2.9rem;
}
.hero p {
  color: var(--text-secondary);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

/* FEATURE GRID & ITEMS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin: 0;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 28px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: 0 2px 20px var(--shadow-metal);
  border: 1.5px solid var(--border-default);
  transition: box-shadow .18s, transform .16s;
}
.feature-grid > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 40px 0 var(--shadow-metal);
  background: var(--secondary);
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
  filter: grayscale(20%) brightness(1.1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD LAYOUTS */
.card-container, .service-cards, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .service-card, .blog-teaser {
  background: var(--card-bg);
  border-radius: 12px;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px var(--shadow-dark);
  padding: 28px 22px 20px 22px;
  min-width: 220px;
}
.card:hover, .service-card:hover, .blog-teaser:hover {
  background: var(--secondary-light);
  box-shadow: 0 8px 32px var(--shadow-metal);
  transform: translateY(-5px) scale(1.01);
}

/* Service Card Price */
.service-card span {
  display: block;
  margin-top: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 1rem;
}

/* Table Styling */
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--card-bg);
  margin: 30px 0 10px 0;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 1px 6px var(--shadow-metal);
}
th, td {
  padding: 14px 12px;
  text-align: left;
  color: var(--metal);
  border-bottom: 1px solid var(--border-default);
  font-size: 1rem;
}
th {
  background: var(--primary);
  color: #FFF;
  font-weight: 700;
  letter-spacing: 0.04em;
}
tr:last-child td {
  border-bottom: none;
}
table caption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 8px;
}

/* TESTIMONIALS (always dark text on light card) */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F2FFFB;
  color: #191D19;
  border-radius: 11px;
  padding: 20px;
  margin-bottom: 24px;
  min-width: 240px;
  box-shadow: 0 2px 18px var(--shadow-dark);
  border: 1.5px solid var(--border-default);
  font-size: 1.13rem;
  font-style: italic;
  position: relative;
}
.testimonial-card p {
  color: #232828;
  font-size: 1.07rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* BLOG TEASER */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-teaser {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 24px 16px 20px 16px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  box-shadow: 0 2px 14px var(--shadow-dark);
  transition: background .13s, box-shadow .13s;
}
.blog-teaser h3 {
  font-size: 1.2rem;
  color: var(--brand-green);
}
.blog-teaser:hover {
  background: var(--secondary-light);
  box-shadow: 0 8px 28px var(--shadow-metal);
}

/* CATEGORIES LIST */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 0 0;
}
.categories-list li {
  background: var(--metal);
  color: var(--primary);
  border-radius: 5px;
  padding: 5px 14px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
}

/* Text Image Section (for future use) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Content grid for any multi-column content (using flex only) */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #191D19;
  color: var(--metal);
  border: 1.5px solid var(--border-default);
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border .19s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-green);
  outline: none;
}
label {
  color: var(--metal);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: 4px;
}

/* FOOTER */
footer {
  background: var(--secondary);
  border-top: 2px solid var(--brand-green);
  margin-top: 60px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 20px 24px 20px;
}
.footer-logo {
  flex: 0 0 110px;
  margin-bottom: 12px;
}
.footer-logo img {
  width: 86px;
  height: auto;
}
.footer-contact, .footer-links, .footer-social {
  flex: 1 1 145px;
  margin-bottom: 8px;
}
.footer-contact {
  color: var(--text-secondary);
  font-size: 1rem;
}
.footer-links {
  margin: 12px 0;
  color: var(--metal);
}
.footer-links a {
  color: var(--metal);
  font-weight: 600;
  margin-right: 10px;
  font-size: 0.97rem;
}
.footer-links a:hover {
  color: var(--brand-green);
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  filter: grayscale(30%) brightness(1.07);
  transition: filter .14s, transform .13s;
}
.footer-social a:hover img {
  filter: grayscale(0%) brightness(1.18) drop-shadow(1px 1px 6px var(--brand-green));
  transform: scale(1.07);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--card-bg);
  color: #fff;
  box-shadow: 0 -3px 24px var(--shadow-metal);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  transition: transform .22s cubic-bezier(.63,.36,.38,1.08);
}
.cookie-consent-banner.collapsed {
  transform: translateY(100%);
}
.cookie-consent-banner__text {
  font-size: 1rem;
  color: #F2FFFB;
}
.cookie-consent-banner .cookie-btn {
  margin-left: 12px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .16s;
}
.cookie-consent-banner .cookie-btn.accept {
  background: var(--accent);
  margin-right: 5px;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #191D19;
  margin-right: 5px;
}
.cookie-consent-banner .cookie-btn.settings {
  background: var(--metal);
  color: var(--primary);
  margin-right: 8px;
}
.cookie-consent-banner .cookie-btn:hover {
  opacity: 0.89;
  box-shadow: 0 2px 10px var(--shadow-dark);
  background: var(--brand-green);
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,28,20,0.72);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.32s linear;
}
@keyframes fadeIn { from{ opacity:0;} to{opacity:1;} }
.cookie-modal {
  background: var(--card-bg);
  color: var(--light);
  border-radius: 13px;
  max-width: 410px;
  width: 96vw;
  padding: 36px 24px 24px 24px;
  box-shadow: 0 6px 48px #101515;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: popUp 0.23s cubic-bezier(.62,.19,0.43,1.19);
  position: relative;
}
@keyframes popUp {
  from { transform: scale(0.88) translateY(24px); opacity:0; }
  to   { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  color: var(--brand-green);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  color: var(--metal);
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  width: 48px;
  height: 24px;
  border-radius: 12px;
  background: var(--secondary-light);
  position: relative;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .toggle-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .toggle-switch .switch {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--metal);
  border-radius: 50%;
  transition: left .19s, background .13s;
}
.cookie-modal .toggle-switch input[type="checkbox"]:checked + .switch {
  left: 27px;
  background: var(--brand-green);
}
.cookie-modal .category-desc {
  font-size: .97rem;
  color: var(--text-secondary);
  margin-bottom: 7px;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 110px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--brand-green);
  font-size: 2.0rem;
  cursor: pointer;
  padding: 0;
  transition: color .17s;
}
.cookie-modal .close-modal:hover {
  color: var(--primary);
}

/* LISTS/ORDERED/UNORDERED */
ol, ul {
  color: var(--metal);
  font-size: 1.06rem;
  padding-left: 19px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    padding: 32px 16px 16px 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .blog-list, .card-container, .content-grid {
    gap: 14px;
  }
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
    padding: 12px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    min-height: 240px;
    padding-top: 15px;
  }
  .hero .content-wrapper {
    padding: 22px 6px 18px 10px;
    border-radius: 12px;
    max-width: 98vw;
    gap: 13px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .feature-grid, .service-cards, .blog-list, .card-container {
    flex-direction: column;
    gap: 11px;
  }
  .testimonial-card {
    font-size: 0.99rem;
    min-width: 100%;
    padding: 15px 11px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 31px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .footer-logo img {
    width: 64px;
  }
  .footer-links, .footer-contact, .footer-social {
    font-size: 0.95rem;
  }
}
@media (max-width: 580px) {
  .container {
    padding: 0 2vw;
  }
  h1 { font-size: 1.28rem; }
  h2 { font-size: 1.04rem; }
  .footer-logo img {
    width: 48px;
  }
}

/* MICRO-INTERACTIONS */
section, .card, .service-card, .blog-teaser, .testimonial-card {
  transition: box-shadow .17s, background .19s, transform .19s;
}
.card:focus-within, .service-card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 0 0 2px var(--brand-green);
}

/* SPECIAL CASES / UTILITIES */
.section:last-child, .content-wrapper > .cta:last-child {
  margin-bottom: 0;
}
.hide-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-mobile { display: none; }
}
/* UTILITY: Hide visually for accessibility */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* SPACING & LAYOUT MANDATES */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* NO GRID! ENFORCED FLEXBOX EVERYWHERE. */
/* (NO display:grid, grid-*, columns, etc anywhere in this file) */
