/* ========================================================== */
/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #fff;
  color: #181818;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {color: inherit; text-decoration: none; transition: color 0.3s cubic-bezier(.35,.95,.15,1.5); outline: none;}
a:focus {outline: 2px solid #222; outline-offset: 2px;}
ul, ol {list-style: none;}
b, strong {font-weight: bold;}

/* ========================================================== */
/* ROOT THEME VARIABLES (MONOCHROME + BRAND ACCENTS)          */
/* ========================================================== */
:root {
  --color-bg: #fff;
  --color-bg-dark: #101010;
  --color-bg-light: #f6f6f6;
  --color-black: #181818;
  --color-gray: #646464;
  --color-gray-light: #b0b0b0;
  --color-border: #ebebeb;
  --color-primary: #266230; /* Brand green */
  --color-secondary: #74c182; /* Brand accent green */
  --color-accent: #f6f6f6; /* very light background */
  --color-link: #181818;
  --color-link-hover: #266230;
  --border-radius: 12px;
  --shadow-card: 0 2px 12px 0 rgba(24,24,24,0.07);
  --shadow-elevated: 0 4px 24px rgba(30,30,30,0.12);
}

/* ========================================================== */
/* TYPOGRAPHY                                                */
/* ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #101010;
  letter-spacing: -0.03em;
  font-weight: 700;
}
h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

.subtitle {
  display: block;
  font-size: 1.3rem;
  line-height: 1.4;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #646464;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.005em;
}

p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222;
  font-size: 1rem;
  font-weight: 400;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  color: #222;
  border-left: 4px solid #181818;
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--color-bg-light);
  border-radius: 0 12px 12px 0;
}

ul, ol {
  margin: 0 0 16px 1.3em;
  padding: 0;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li:before {
  content: '●';
  color: #101010;
  font-size: 0.82em;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-weight: bold;
}

@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .subtitle { font-size: 1.1rem; }
}

/* ========================================================== */
/* LAYOUT & GENERIC CONTAINERS (FLEX ONLY)                   */
/* ========================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--border-radius);
  box-shadow: none;
}

@media (max-width: 650px) {
  .section { padding: 32px 6px; margin-bottom: 32px; }
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  min-width: 250px;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }

.feature-grid,
.services-list,
.trust-icons,
.trust-indicators,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  min-width: 210px;
  flex: 1 1 210px;
  padding: 20px 18px;
  transition: box-shadow 0.2s;
}
.feature-item img {max-width:40px; margin-bottom: 7px; filter: grayscale(0.9);}
.feature-item h3 {font-size:1.1rem; margin-bottom:4px; color: #262626;}
.feature-item p {font-size:.98rem; color: #3a3a3a;}
.feature-item:hover {
  box-shadow: 0 4px 18px 0 rgba(24,24,24,0.14);
  background: #fafbfc;
  outline: 1.5px solid #222;
  z-index: 2;
}

@media (max-width: 900px) {
  .feature-grid, .services-list, .trust-icons, .trust-indicators { flex-direction: column; gap: 18px; align-items: stretch; }
}

.services-list {
  margin-top: 16px;
  margin-bottom: 8px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 20px 18px;
  gap: 10px;
  min-width: 210px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow .2s, border .2s;
}
.service-item img {max-width: 40px; margin-bottom: 6px; filter: grayscale(0.8);}
.service-item h3 {font-size:1.1rem; margin-bottom:4px; color:#262626;}
.service-item p {font-size:.97rem; color:#3a3a3a;}
.service-item .service-price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  color: #222;
  background: #fff;
  border-radius: 6px;
  margin-top: 3px;
}
.service-item:hover {
  box-shadow: 0 4px 18px 0 rgba(24,24,24,0.14);
  outline: 1.5px solid #181818;
  z-index:2;
}

.trust-icons img, .trust-indicators img {
  width: 38px; height: 38px;
  padding: 0; margin: 0 6px 0 0;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.95;
}

@media (max-width: 650px) {
  .feature-item, .service-item {
    min-width: 0;
    padding: 18px 10px;
  }
  .container { padding: 0 8px; }
}

/* ========================================================== */
/* HEADER & NAVIGATION (BURGER MENU)                         */
/* ========================================================== */
header {
  width: 100%; background: #fff; border-bottom: 1.5px solid #efefef; box-shadow: 0 2px 8px 0 rgba(24,24,24,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
header img {height: 44px; max-width: 115px;}
nav {display: flex; align-items: center; gap: 22px;}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #181818;
  padding: 7px 4px;
  border-radius: 4px;
  transition: color 0.24s, background 0.2s;
  position: relative;
}
nav a:hover, nav a:focus {
  color: #266230;
  background: #f1f6f2;
  text-decoration: underline;
}
.cta-btn.primary { margin-left: 16px; }

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  background: none;
  border: none;
  color: #181818;
  cursor: pointer;
  z-index: 120;
  margin-left: 12px;
  transition: color .2s;
  width: 43px;
  height: 43px;
  border-radius: 7px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
  outline: 2px solid #222;
}

/* HIDE nav for mobile */
@media (max-width: 950px) {
  header nav,
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(248,248,248,0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.41s cubic-bezier(.83,0,.17,1);
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.08);
}
.mobile-menu.active {
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(.7,1.5,.3,1);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 24px 0 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #181818;
  cursor: pointer;
  z-index: 2020;
  border-radius: 7px;
  width: 43px; height: 43px;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e5e5e5;
  color: #266230;
  outline: 2px solid #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  padding: 24px 38px 0 38px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.24rem;
  color: #181818;
  padding: 12px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
  background: transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ececec;
  color: #266230;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .mobile-nav { padding: 20px 10vw 0 10vw; }
  .mobile-menu-close { margin-right: 8vw; }
}

/* Lock body scroll when menu open */
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

/* ========================================================== */
/* BUTTONS & CTA                                             */
/* ========================================================== */
.cta-btn, .cta-btn.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 12px 30px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  background: #181818;
  color: #fff;
  box-shadow: var(--shadow-card);
  margin-top: 6px;
  letter-spacing: 0.01em;
  min-width: 180px;
  transition: background 0.22s, color 0.14s, box-shadow .22s;
  text-shadow: none;
}
.cta-btn.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus {
  background: #222;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(24,24,24,0.13);
  outline: 2px solid #181818;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #1d471f;
  color: #fff;
  outline: 2px solid #266230;
}

/* Cookie banner special button states */
.cookie-banner .cta-btn {
  background: #f6f6f6;
  color: #181818;
  border: 1px solid #c4c4c4;
}
.cookie-banner .cta-btn.accept {
  background: #266230;
  color: #fff;
  border: none;
}
.cookie-banner .cta-btn.reject {
  background: #181818;
  color: #fff;
}
.cookie-banner .cta-btn:focus {
  outline: 2px solid #181818;
}

/* ========================================================== */
/* TESTIMONIALS & CARDS                                      */
/* ========================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fafdff;
  color: #181818;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(24,24,24,0.08);
  border-left: 5px solid var(--color-primary);
  max-width: 640px;
  font-size: 1.04rem;
  transition: box-shadow .17s, border .2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(24,24,24,0.16);
  border-color: #181818;
}
.testimonial-meta {
  color: #646464;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-left: 3px;
}
.star-rating {
  color: #181818;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #ececec;
  padding: 4px 12px;
  border-radius: 9px;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 750px) {
  .testimonial-list { flex-direction: column; gap: 18px; }
  .testimonial-card { max-width: 100%; }
}

.case-study {
  background: #f7f7f7;
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  padding: 22px 22px 14px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* ========================================================== */
/* BLOG + CATEGORIES                                         */
/* ========================================================== */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post {
  flex: 1 1 320px;
  min-width: 210px;
  background: #fafafa;
  border-radius: 11px;
  box-shadow: var(--shadow-card);
  padding: 18px 15px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 3.5px solid #181818;
  transition: box-shadow .15s, border .19s;
}
.blog-post:hover {
  box-shadow: 0 4px 22px 0 rgba(24,24,24,0.15);
  border-left: 3.5px solid #266230;
}
.categories-filter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 16px 0 8px 0;
}
.categories-filter span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #101010;
  font-size: 1.08rem;
  font-weight: 500;
}
.categories-filter a {
  color: #222;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  background: #ececec;
  padding: 3px 13px;
  border-radius: 7px;
  font-size: .98rem;
  transition: background 0.19s, color 0.15s;
}
.categories-filter a:hover {
  background: #181818;
  color: #fff;
}

/* ========================================================== */
/* PRICING TABLES                                            */
/* ========================================================== */
.pricing-table {
  width: 100%;
  margin: 24px 0 16px 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1.5px solid #e0e0e0;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table th {
  background: #fafbfc;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #101010;
  font-size: 1.06rem;
  font-weight: 700;
}
.pricing-table td {
  color: #252525;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.callout-discounts {
  background: #eaeaea;
  color: #181818;
  border-left: 5px solid #266230;
  border-radius: 8px;
  padding: 15px 19px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: .98rem;
  box-shadow: var(--shadow-card);
}

/* ========================================================== */
/* MAP PLACEHOLDER                                           */
/* ========================================================== */
.map-placeholder {
  background: #ececec;
  border: 2px dashed #b0b0b0;
  border-radius: 9px;
  padding: 28px 16px;
  color: #646464;
  font-style: italic;
  text-align: center;
}

/* ========================================================== */
/* FOOTER                                                    */
/* ========================================================== */
footer {
  background: #111213;
  color: #f6f6f6;
  padding: 44px 0 36px 0;
}
footer .container {
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #ececec;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 400;
  opacity: .92;
  transition: color .17s, opacity .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #74c182;
  text-decoration: underline;
  opacity: 1;
}
.company-info {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
  margin-right: 12px;
}
.company-info img {height: 36px; opacity: 0.9; margin-bottom: 6px;}
.company-info p {
  color: #acacac; font-size: .98rem; font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-nav { margin-bottom: 12px; }
}

@media (max-width: 500px) {
  footer { padding: 28px 0 22px 0; }
  .company-info img { height: 30px; }
}

/* ========================================================== */
/* COOKIE CONSENT BANNER & MODAL                             */
/* ========================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #222;
  color: #fff;
  width: 100vw;
  padding: 24px 14px 22px 14px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  z-index: 3000;
  box-shadow: 0 -2px 12px 0 rgba(20,20,20,0.16);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .3s, transform .4s;
  gap: 40px;
}
.cookie-banner.hide {
  opacity: 0; pointer-events: none; transform: translateY(70px);
  transition: opacity .3s, transform .4s;
}
.cookie-banner-text {
  max-width: 560px;
  font-size: 1.04rem;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
@media (max-width:900px) {
  .cookie-banner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cookie-banner-buttons { flex-direction: column; gap: 8px; align-items: stretch; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; z-index: 3100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(12,12,12,0.61);
  display: flex; align-items: center; justify-content: center;
  opacity: 1; pointer-events: auto;
  transition: opacity .32s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}

.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: 14px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.17);
  max-width: 420px;
  width: 92vw;
  padding: 26px 20px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .4s cubic-bezier(.55,1.6,.25,1) both;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(60px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  color: #181818;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-modal-category:last-child { border-bottom: none; }
.cookie-modal-category label {
  flex: 1;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
}
.cookie-modal-toggle {
  accent-color: #266230;
  width: 23px; height: 23px;
}
.cookie-modal-toggle[disabled] {
  accent-color: #b0b0b0;
  opacity: 0.55;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 14px;
  background: none; border: none; color: #181818;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #266230;
  outline: 2px solid #181818;
}

/* ========================================================== */
/* MICRO-INTERACTIONS & STATES                               */
/* ========================================================== */
button, .cta-btn {
  transition: background .19s, color .13s, box-shadow .22s, outline-color .18s;
}
button:active, .cta-btn:active {
  transform: scale(0.97);
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  padding: 8px 11px;
  border-radius: 6px;
  border: 1.5px solid #dbdbdb;
  outline: none;
  background: #fafafa;
  color: #181818;
  transition: border-color .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #266230;
}

/* ========================================================== */
/* RESPONSIVE UTILITIES                                      */
/* ========================================================== */
@media (max-width: 600px) {
  .section, .content-wrapper, .card-container, .feature-grid, .testimonial-list, .services-list,
  .footer-nav, .footer-nav nav, .company-info {
    flex-direction: column!important;
    gap: 16px!important;
    align-items: stretch!important;
  }
  .footer-nav {gap: 12px!important;}
}

/* ---------------------------------------------------------- */
/* END OF CSS                                                */
/* ---------------------------------------------------------- */
