/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  line-height: 1.1;
}
button {
  cursor: pointer;
  background: none;
}
ul, ol {
  list-style: none;
}

/* --- COLOR VARIABLES (with fallback) --- */
:root {
  --ce-black: #111;
  --ce-white: #fff;
  --ce-grey: #e8e8e8;
  --ce-darkgrey: #222;
  --primary: #0D403F;
  --secondary: #FFFFFF;
  --accent: #A05F16;
  --brand-bg: #fff;
  --brand-card: #f6f6f6;
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: var(--ce-darkgrey);
  background: var(--brand-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--ce-black);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #161616;
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }
}
.subheadline {
  font-family: 'Lato', Arial, sans-serif;
  color: #333;
  font-size: 1.15rem;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

/* SPACING & CONTAINER STRUCTURE */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .content-wrapper {
    gap: 38px;
    margin-bottom: 38px;
  }
}

/* --- HEADER --- */
header {
  background: var(--brand-bg);
  border-bottom: 1px solid #dedede;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px 0;
}
header > a img {
  height: 38px;
  width: auto;
  display: block;
  margin-right: 16px;
}
.main-nav {
  display: none;
}
header .cta-primary {
  display: none;
}
header {
  position: relative;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--ce-black);
  width: 44px;
  height: 44px;
  background: none;
  border-radius: 50%;
  border: 2px solid #d4d4d4;
  transition: border-color 0.2s, box-shadow 0.2s;
  z-index: 500;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary)10;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    gap: 28px;
    margin-left: 32px;
    align-items: center;
  }
  .main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #161616;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.17s cubic-bezier(.4,0,.2,1);
  }
  .main-nav a:hover, .main-nav a:focus {
    color: var(--primary);
  }
  header .cta-primary {
    display: inline-block;
    margin-left: 34px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* --- CTA Button --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: 30px;
  background: var(--primary);
  color: #fff !important;
  border: none;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 16px 0 #0000000d;
  transition: background 0.18s, box-shadow 0.19s, color 0.19s;
  margin-top: 18px;
  margin-bottom: 18px;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 32px -4px #0505051c;
  text-decoration: none;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #222f;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1), transform 0.33s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 22px 8px 0;
  font-size: 2.2rem;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 18px;
  background: #fff;
  padding: 30px 40px 40px 60px;
  border-radius: 24px 0 0 24px;
  min-width: 250px;
  box-shadow: -12px 0 52px 0 #00000024;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO SECTION --- */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 32px;
}
.hero .container {
  padding-top: 48px;
  padding-bottom: 32px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 40px;
}
.feature-grid li {
  flex: 1 1 225px;
  min-width: 200px;
  background: #fbfbfb;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 #10101007;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #e2e2e21c;
  transition: box-shadow 0.17s;
}
.feature-grid li img {
  height: 33px;
  width: 33px;
  margin-bottom: 6px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 28px -5px #6662;
}

/* --- TEXT SECTION / CARDS --- */
.text-section {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #00000008;
  padding: 28px 22px;
  margin-bottom: 12px;
  color: #242526;
  font-size: 1.06em;
  border-left: 4px solid var(--primary);
}
.text-section h3 {
  color: var(--ce-black);
  margin-top: 16px;
}
.text-section ul {
  margin-top: 8px;
  margin-bottom: 8px;
}
.text-section ul li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
  font-size: 1em;
  color: #202020;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 9px;
}
.text-section a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.16s;
}
.text-section a:hover {
  color: var(--primary);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  box-shadow: 0 3px 20px 0 #0002;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  padding: 28px 23px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px -7px #26262633;
  transform: translateY(-3px) scale(1.025);
}

/* --- SERVICE LIST & PRICING TABLE --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin: 18px 0 28px 0;
}
.service-list li {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 #16161608;
  flex: 1 1 210px;
  min-width: 200px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
  position: relative;
}
.service-list li:hover {
  box-shadow: 0 7px 24px -6px #3333;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 11px;
}
.service-prices-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 34px;
}
.service-prices-grid th {
  text-align: left;
  font-size: 1.1rem;
  background: #f2f2f2;
  padding: 16px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
}
.service-prices-grid td {
  background: #fff;
  padding: 15px 11px;
  font-family: 'Lato', Arial, sans-serif;
  color: #161616;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.service-prices-grid tr:last-of-type td {
  border-bottom: none;
}
.icon-grid {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
}
.icon-grid img {
  width: 38px;
  height: 38px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.88;
  transition: opacity 0.18s, filter 0.18s;
}
.icon-grid img:hover {
  filter: grayscale(0) contrast(1.25);
  opacity: 1;
}

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

/* --- FLEX PATTERNS --- */
.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: #f8f8f8;
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 #0002;
  margin-bottom: 20px;
  color: #191919;
  border: 1px solid #e2e2e2;
  flex-direction: column;
  min-width: 220px;
  max-width: 650px;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #191919;
  margin-bottom: 8px;
  font-style: italic;
  line-height: 1.7;
}
.testimonial-card strong {
  font-size: 1em;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- ADDRESS --- */
address {
  font-style: normal;
  margin-top: 16px;
  margin-bottom: 8px;
  color: #333;
}
address img {
  vertical-align: middle;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.8;
}
address a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.18s;
}
address a:hover {
  color: var(--primary);
}

/* --- TABLES: General Styling --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
}
thead tr {
  background: #f7f7f7;
}
th, td {
  padding: 13px 10px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  background: #f2f2f2;
  font-size: 1.03em;
}
td {
  color: #242222;
  font-family: 'Lato', Arial, sans-serif;
}
tbody tr:nth-child(even) td {
  background: #fafbfc;
}

/* --- FOOTER --- */
footer {
  background: #191919;
  color: #eee;
  padding: 32px 0 22px 0;
  margin-top: 54px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #e4e4e4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: var(--accent);
}
footer p {
  font-size: 1em;
  text-align: center;
  opacity: .86;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222f;
  color: #fff;
  padding: 27px 16px 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 11000;
  box-shadow: 0 -2px 32px 0 #1119;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1), transform 0.33s cubic-bezier(.4,0,.2,1);
  font-size: 1.02rem;
  border-radius: 14px 14px 0 0;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 14px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  margin-top: 0;
  color: #fff;
  background: var(--primary);
  transition: background 0.18s, color 0.16s;
}
.cookie-btn.cookie-accept {
  background: var(--primary);
}
.cookie-btn.cookie-reject {
  background: #444;
}
.cookie-btn.cookie-settings {
  background: var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.14);
  background: var(--primary);
  color: #fff;
}
.cookie-settings-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #191a1dD9;
  z-index: 11001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.31s cubic-bezier(.4,0,.2,1);
}
.cookie-settings-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-settings-content {
  background: #fff;
  color: #191919;
  border-radius: 20px;
  padding: 38px 24px 32px 24px;
  box-shadow: 0 6px 38px -9px #0007;
  min-width: 300px;
  max-width: 94vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-settings-content h2 {
  margin: 0 0 7px 0;
}
.cookie-settings-content ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1em;
}
.cookie-toggle-switch {
  width: 42px;
  height: 24px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  margin-left: 13px;
  transition: background 0.19s;
}
.cookie-toggle-switch input {
  display: none;
}
.cookie-toggle-slider {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.22s, background 0.17s;
}
.cookie-category-toggle input:checked + .cookie-toggle-slider {
  background: var(--accent);
  left: 20px;
}
.cookie-settings-content .modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.7rem;
  color: #222;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-settings-content .modal-close:hover {
  color: var(--primary);
}
@media (max-width: 570px) {
  .cookie-settings-content {
    padding: 24px 6vw 2vw 6vw;
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1023px) {
  .footer-nav {
    gap: 12px;
    font-size: 0.99em;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 30px 8px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 16px;
  }
  .feature-grid, .card-container, .service-list {
    gap: 14px;
  }
  .testimonial-card, .card {
    padding: 17px 10px;
  }
  .content-grid { gap: 10px; }
  .text-section { padding: 18px 6px; }
  .icon-grid { gap: 18px; }
}
@media (max-width: 660px) {
  .feature-grid li, .service-list li, .card {
    min-width: 160px;
    padding: 18px 8px 14px 8px;
    font-size: 0.97em;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 19px;
  }
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
}

/* --- MICRO-INTERACTIONS & SHADOWS --- */
.card, .service-list li, .feature-grid li, .testimonial-card, .text-section {
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.2s;
}
.card:hover, .service-list li:hover, .feature-grid li:hover {
  box-shadow: 0 6px 28px -5px #289c32; /* green soft shadow accent */
  transform: translateY(-3px) scale(1.012);
  border-color: var(--primary);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px -5px #A05F1613;
  transform: scale(1.021);
}
/* Focus state for accessibility */
.cta-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- MONOCHROME SOPHISTICATED INFLECTIONS --- */
bg-mono, .bg-mono {
  background: #fafafa;
  color: #161616;
}

/* --- Z-INDEX SAFEGUARD --- */
header { z-index: 101; }
.mobile-menu { z-index: 9999; }
.cookie-banner, .cookie-settings-modal { z-index: 11000; }

/* --- UTILITIES --- */
.mt-8 { margin-top: 8px !important; }
.mb-20 { margin-bottom: 20px !important; }
.text-center { text-align: center; }

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