/* -----------------------------------------------------
   CSS RESET & NORMALIZE - MOBILE FIRST
------------------------------------------------------ */
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.5;
  background: #F4F9F4;
  color: #235959;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  padding: 0;
  margin: 0;
}

/* -----------------------------------------------------
   ROOT COLORS & FONTS: Brand + Geometric Structured
------------------------------------------------------ */
:root {
  --primary: #235959;
  --secondary: #F4F9F4;
  --accent: #8DC647;
  --accent-dark: #5A9100;
  --white: #ffffff;
  --black: #112323;
  --gray: #e6ebe6;
  --shadow: 0 2px 16px rgba(35,89,89,0.09);
  --section-space: 60px;
  --section-pad: 40px 20px;
  --radius-card: 18px;
  --radius-btn: 36px;
  --radius-circle: 50%;
}

/* -----------------------------------------------------
   TYPOGRAPHY: Geometric Structured
------------------------------------------------------ */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: none;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  margin-top: 4px;
  color: #357676;
}
p {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 400;
}
strong {
  font-weight: 700;
}
.text-section {
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* -----------------------------------------------------
   GEOMETRIC STRUCTURED GRID LAYOUTS - FLEXBOX ONLY!
------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: var(--section-space);
  padding: var(--section-pad);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--gray);
  min-width: 240px;
  transition: box-shadow .22s, border-color .22s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 32px 0 rgba(141,198,71,0.09);
  z-index: 1;
}
.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 24px 16px 24px;
  min-width: 280px;
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray);
  margin-bottom: 20px;
  position: relative;
  transition: border-color .2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 8px;
}
.testimonial-info {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  font-size: 0.95em;
  color: #357676;
  font-weight: 500;
}
.testimonial-rating {
  color: var(--accent-dark);
  font-size: 1.2em;
  letter-spacing: 0.05em;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px 20px 18px 20px;
  min-width: 210px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 2px solid var(--gray);
  transition: border-color .22s, box-shadow .22s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--secondary);
  box-shadow: 0 1px 4px rgba(35,89,89,0.11);
}
.feature-item:hover, .feature-item:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(141,198,71,0.11);
  z-index: 1;
}

/* -----------------------------------------------------
   BUTTONS, LINKS, CTA
------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background .18s, color .18s, box-shadow .22s;
  min-width: 160px;
  margin: 0 12px 8px 0;
  outline: none;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 18px rgba(35, 89, 89, 0.16);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(141,198,71,0.14);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent-dark);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent-dark);
  color: var(--white);
}

/* -----------------------------------------------------
   HERO, CTA SECTIONS
------------------------------------------------------ */
.hero {
  background: linear-gradient(115deg, var(--secondary) 80%, #ecf8f1 99%);
  border-bottom: 2px solid var(--gray);
  margin-bottom: var(--section-space);
  padding: 48px 0 34px 0;
}
.hero h1 {
  font-size: 2.2rem;
  letter-spacing: 0.02em;
}
.hero .btn {
  margin-top: 18px;
}
.cta {
  background: var(--primary);
  color: var(--white);
  padding: 45px 0 40px 0;
  border-radius: 0 0 34px 34px;
  margin-bottom: 0;
}
.cta h2, .cta p {
  color: var(--white);
}
.cta .btn-primary, .cta .btn-secondary {
  margin-right: 10px;
  margin-bottom: 0;
}

/* -----------------------------------------------------
   HEADER & NAVIGATION: STRUCTURED + MOBILE MENU
------------------------------------------------------ */
header {
  width: 100%;
  background: var(--secondary);
  border-bottom: 2px solid var(--gray);
  padding: 0;
  z-index: 88;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px 20px;
}
.logo img {
  width: 158px;
  height: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 22px;
  flex: 1;
  align-items: center;
  margin-left: 38px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 5px;
  transition: background .12s, color .12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--white);
}
.mobile-menu-toggle {
  background: var(--primary);
  color: var(--white);
  font-size: 2rem;
  border-radius: var(--radius-circle);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35,89,89,0.2);
  transition: background .15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
/* Hide mobile menu button on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
  .main-nav {
    display: flex;
  }
}
@media (max-width: 991.8px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU - overlay and animation using FLEXBOX ONLY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  min-height: 100vh;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 28px 18px 28px;
  transform: translateX(-110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.4,1,.45,1), opacity 0.18s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  border-radius: var(--radius-circle);
  border: none;
  cursor: pointer;
  padding: 0 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(141,198,71,0.07);
  align-self: flex-end;
  transition: background .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent-dark);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35em;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 12px 9px;
  transition: background .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* -----------------------------------------------------
   SERVICES, FEATURE LISTS, PRICING
------------------------------------------------------ */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.service-list li {
  flex: 1 1 280px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray);
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  transition: box-shadow .17s, border-color .17s;
}
.service-list li:hover, .service-list li:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 27px rgba(141,198,71,0.11);
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  padding: 2px 11px 2px 11px;
  font-weight: 700;
  font-size: 1rem;
}
.service-list .btn-secondary {
  margin-top: 10px;
  min-width: 128px;
}

/* -----------------------------------------------------
   CONTACT & MAP SNIPPET, OFFICE HOURS
------------------------------------------------------ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  color: #357676;
  font-size: 1rem;
  justify-content: flex-start;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  transform: translateY(2px);
}
.office-hours {
  margin-bottom: 14px;
  color: #557979;
  font-size: .98em;
}
.map-snippet {
  margin-top: 8px;
  font-size: 0.97em;
  color: #357676;
}

/* -----------------------------------------------------
   TEAM, BIOS, INFO
------------------------------------------------------ */
.team-bios {
  margin: 32px 0 0 0;
  border-left: 5px solid var(--accent);
  padding-left: 20px;
  background: #f9fcf9;
  border-radius: 0 12px 12px 0;
}
.team-bios h3 {
  margin-bottom: 8px;
}
.team-bios ul {
  margin-left: 0;
  padding-left: 12px;
}
.team-bios li {
  margin-bottom: 8px;
}

/* -----------------------------------------------------
   FOOTER
------------------------------------------------------ */
footer {
  width: 100%;
  background: #fff;
  color: var(--primary);
  border-top: 2px solid var(--gray);
  margin-top: 0;
  padding: 28px 0 18px 0;
  z-index: 10;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-links {
  margin-bottom: 9px;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d7171;
}
.footer-links a {
  color: #357676;
  text-decoration: underline;
  transition: color .14s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--accent-dark);
  text-decoration: none;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06em;
}
.brand-info img {
  width: 40px;
  height: 40px;
}
footer .contact-details {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  color: #357676;
  font-size: 0.97em;
  margin-bottom: 0;
  margin-top: 12px;
}
footer .contact-details span {
  display: flex;
  align-items: center;
}

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------ */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 20px rgba(35,89,89,0.09);
  border-top: 3px solid var(--accent);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 20px 16px;
  animation: cookiePopin .32s cubic-bezier(.58,.2,.23,.92);
  gap: 8px;
}
@keyframes cookiePopin {
  0% { transform: translateY(80px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
#cookie-banner p {
  margin: 0 0 8px 0;
  font-size: 1em;
  color: var(--primary);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 5px;
  margin-bottom: 4px;
}
.btn-cookie {
  min-width: 130px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97em;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(186,212,171,0.09);
  transition: background .12s, color .12s;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: var(--accent-dark);
  color: var(--white);
}
.btn-cookie.settings {
  background: #E9EFEC;
  color: var(--primary);
  border: 2px solid var(--accent-dark);
}
.btn-cookie.settings:hover {
  background: var(--accent);
  color: var(--primary);
}
/* Cookie Modal Popup */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 100001;
  background: rgba(26,41,38, 0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 38px rgba(35,89,89,0.15);
  padding: 34px 30px 26px 30px;
  max-width: 490px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalscale .32s cubic-bezier(.38,.2,.23,.92);
}
@keyframes modalscale {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.21em;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 19px;
  height: 19px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  color: #355a5a;
  margin-left: 4px;
}
.cookie-modal-close {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-circle);
  border: none;
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 0 9px;
  font-size: 1.65em;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent-dark);
  color: var(--white);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* -----------------------------------------------------
   RESPONSIVE - MOBILE FIRST
------------------------------------------------------ */
@media (max-width: 991px) {
  .footer-links {
    flex-direction: column;
    gap: 3px;
    align-items: center;
  }
  footer .contact-details {
    flex-direction: column;
    gap: 9px;
    align-items: center;
  }
  .service-list, .feature-grid, .testimonial-list, .card-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .main-nav {
    gap: 10px;
    margin-left: 18px;
  }
  .cta {
    border-radius: 0 0 22px 22px;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .content-wrapper {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .hero {
    padding: 32px 0 20px 0;
  }
  .section {
    padding: 28px 8px 22px 8px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  h3 {
    font-size: 1.06rem;
  }
  .feature-item, .testimonial-card, .card, .service-list li {
    min-width: 0;
    padding: 19px 10px 15px 11px;
  }
  .cta {
    padding: 24px 8px 20px 8px;
    border-radius: 0 0 14px 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
  }
}

/* -----------------------------------------------------
   SCROLLBARS (Subtle, geometric)
------------------------------------------------------ */
body::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary);
}
body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

/* -----------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
------------------------------------------------------ */
a, button, .btn, .main-nav a, .mobile-nav a, .feature-item, .service-list li {
  transition: background .2s, color .19s, box-shadow .20s, border-color .18s;
}

/* -----------------------------------------------------
   MODERN FOCUS VISIBLE
------------------------------------------------------ */
a:focus-visible, .btn:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 2;
}

/* End of stylesheet */
