/* RESET & BASE --------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #1F1F1F;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #115742;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F2A448;
}
ul,ol { padding-left: 24px; margin-bottom: 20px; }
ul li, ol li { margin-bottom: 10px; }

/* BUTTONS ---------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 32px;
  border: none;
  outline: none;
  background: transparent;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  min-height: 48px;
  box-shadow: none;
  gap: 8px;
}
.btn-primary {
  background: #115742;
  color: #fff;
  box-shadow: 0 2px 8px rgba(17,87,66,0.10);
}
.btn-primary:hover, .btn-primary:focus {
  background: #0f4838;
  color: #fff;
  box-shadow: 0 4px 16px rgba(17,87,66,0.16);
}
.btn-accent {
  background: #F2A448;
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus {
  background: #cc880e;
  color: #fff;
}
button {
  font-family: inherit;
  font-size: inherit;
}

/* TYPOGRAPHY ------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #115742;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  color: #1F1F1F;
  margin-bottom: 12px;
}
h4 { font-size: 1.125rem; }

p {
  color: #1F1F1F;
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  position: relative;
  padding-left: 2.5rem;
  color: #115742;
  font-size: 1.15rem;
}
blockquote:before {
  content: "\201C";
  font-size: 3rem;
  color: #F2A448;
  position: absolute;
  left: 0;
  top: -8px;
}

/* STRUCTURAL LAYOUT ----------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER ---------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #F5F7FA;
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: #1F1F1F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #F2A448;
}
header a.btn {
  margin-left: 28px;
}

/* Hide default mobile menu button on desktop */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #115742;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

/* HERO SECTION ---------------- */
.hero-section {
  background: #F5F7FA;
  padding: 64px 0 72px 0;
  margin-bottom: 60px;
}
.hero-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero-section h1 {
  color: #115742;
  font-size: 2.7rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-section p {
  color: #1F1F1F;
  font-size: 1.25rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}
.hero-section .btn {
  font-size: 1.15rem;
}

/* FEATURE CARDS --------------- */
.features-section {
  background: #fff;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F5F7FA;
  border-radius: 20px;
  box-shadow: 0 1px 6px rgba(17,87,66,0.06);
  padding: 32px 28px 28px 28px;
  gap: 15px;
  min-width: 230px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature-item h3 {
  color: #115742;
  margin-bottom: 4px;
}
.feature-item:hover {
  box-shadow: 0 6px 24px 0 rgba(17,87,66,.13);
  transform: translateY(-4px) scale(1.03);
}

/* SERVICE CARDS --------------- */
.services-preview-section .service-teasers,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(17,87,66,0.08);
  padding: 28px 22px 22px 22px;
  gap: 12px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  border: 1px solid #F5F7FA;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-item .service-price, .service-item span.service-price {
  color: #115742;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}
.service-item:hover {
  box-shadow: 0 4px 18px 0 rgba(17,87,66,0.12);
  transform: translateY(-3px) scale(1.01);
}

/* TESTIMONIAL CARDS ----------- */
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px 20px 28px;
  background: #fff;
  border: 1px solid #F5F7FA;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 10px 0 rgba(17,87,66,0.10);
  max-width: 380px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(17,87,66,0.17);
  transform: translateY(-4px) scale(1.01);
}
.testimonial-meta {
  color: #115742;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 28px;
}

/* BLOG CARDS ------------------ */
.blog-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.blog-post-preview {
  background: #fff;
  border-radius: 15px;
  border: 1px solid #F5F7FA;
  box-shadow: 0 2px 12px 0 rgba(17,87,66,0.08);
  padding: 28px 22px;
  min-width: 210px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-post-preview h3 {
  color: #115742;
  margin-bottom: 4px;
}
.blog-post-preview a {
  font-weight: 500;
  font-size: 1rem;
  color: #F2A448;
  margin-top: 10px;
  align-self: flex-start;
  text-decoration: underline;
  transition: color .18s;
}
.blog-post-preview a:hover {
  color: #115742;
}
.blog-post-preview:hover {
  box-shadow: 0 6px 22px rgba(17,87,66,0.12);
  transform: translateY(-4px) scale(1.02);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}
.blog-categories span {
  color: #115742;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.blog-categories button {
  border: 1px solid #115742;
  background: #fff;
  color: #115742;
  border-radius: 22px;
  padding: 6px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  margin-right: 8px;
  cursor: pointer;
  transition: all .18s;
}
.blog-categories button:hover, .blog-categories button:focus {
  background: #F2A448;
  color: #fff;
  border-color: #F2A448;
}

/* GENERIC LAYOUTS ------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TIMELINE -------------------- */
.timeline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #F2A448;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* VALUE GRID AND ICON GRID ---- */
.value-grid, .icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.value-grid > div, .icon-grid > div {
  background: #F5F7FA;
  padding: 18px 14px 12px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 120px;
  min-height: 120px;
  box-shadow: 0 1px 6px 0 rgba(17,87,66,0.05);
}
.value-grid img, .icon-grid img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
.value-grid span, .icon-grid span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #115742;
  font-weight: 600;
  font-size: 1.07rem;
}
.icon-grid p {
  color: #1F1F1F;
  font-size: 0.97rem;
  margin-top: 4px;
  text-align: center;
}

/* MAP PLACEHOLDER ------------- */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F7FA;
  border-radius: 11px;
  padding: 24px 16px;
  margin-top: 14px;
  color: #1F1F1F;
  font-size: 1rem;
}

/* SECTION SPACING ------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  margin-bottom: 32px;
}
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 36px 16px;
  background: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(17,87,66,0.05);
}
.cta-section h2 {
  color: #115742;
}
.cta-section p {
  color: #1F1F1F;
  margin-bottom: 0;
}

/* FOOTER ---------------------- */
footer {
  background: #fff;
  border-top: 1px solid #F5F7FA;
  padding: 40px 0 16px 0;
  font-size: 0.93rem;
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-links, .footer-contact,.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-links a, .footer-legal a {
  color: #1F1F1F;
  opacity: 0.85;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover, .footer-legal a:hover {
  color: #115742;
  opacity: 1;
}
.footer-contact a {
  color: #F2A448;
  text-decoration: underline;
  font-weight: 500;
}

/* MOBILE MENU ----------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,87,66, 0.97);
  color: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.27s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 24px 0 16px 22px;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2A448;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-left: 32px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.5;
  padding: 7px 0;
  transition: color .18s;
  border-radius: 7px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2A448;
  background: rgba(242,164,72,0.09);
}

/* Cookie Consent Banner ------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #fff;
  color: #1F1F1F;
  box-shadow: 0 -2px 14px 0 rgba(17,87,66,0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  font-size: 0.98rem;
  transition: transform 0.22s cubic-bezier(.77,0,.18,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
}
.cookie-banner .btn {
  font-size: 1rem;
  min-width: 120px;
  min-height: 42px;
  padding: 0.5em 1.4em;
}
.cookie-banner .btn-settings {
  background: #F5F7FA;
  border: 1px solid #115742;
  color: #115742;
}
.cookie-banner .btn-settings:hover {
  background: #F2A448;
  color: #fff;
  border-color: #F2A448;
}

/* Cookie Preferences Modal ---- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17,87,66, 0.25);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal {
  background: #fff;
  padding: 32px 26px 22px 26px;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(17,87,66, 0.18);
  min-width: 320px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1700;
}
.cookie-modal h3 {
  color: #115742;
  margin-bottom: 13px;
}
.cookie-modal .cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-pref-label {
  flex: 1 1 auto;
  color: #1F1F1F;
  font-size: 1.05rem;
  font-weight: 500;
}
.cookie-pref-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal .cookie-switch {
  width: 36px;
  height: 20px;
  background: #F5F7FA;
  border-radius: 10px;
  position: relative;
  border: 1px solid #115742;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-modal .cookie-switch span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #115742;
  transition: left 0.2s, background 0.2s;
}
.cookie-modal .cookie-switch input:checked + span {
  left: 18px;
  background: #F2A448;
}
.cookie-modal .cookie-switch[aria-disabled="true"],
.cookie-modal .cookie-switch[aria-disabled],
.cookie-modal .cookie-switch[disabled] {
  opacity: 0.3;
  pointer-events: none;
}
.cookie-modal .btn {
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #115742;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #F2A448;
}

/* RESPONSIVE MEDIA QUERIES ---- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid, .services-preview-section .service-teasers, .service-list, .testimonials-slider, .blog-listing, .content-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .footer-links, .footer-contact, .footer-legal {
    min-width: 140px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: 12px;
  }
  .feature-grid, .services-preview-section .service-teasers, .service-list, .testimonials-slider, .blog-listing {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item,.service-item,.testimonial-card,.blog-post-preview,.card {
    min-width: 0;
    width: 100%;
    max-width: unset;
    flex: 1 1 100%;
  }
  section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .value-grid, .icon-grid, .client-logos {
    gap: 12px;
    margin-top: 10px;
  }
  .footer-links, .footer-contact, .footer-legal {
    min-width: unset;
    width: 100%;
    margin-bottom: 10px;
  }
  footer .container {
    gap: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-section {
    padding: 44px 0 50px 0;
  }
  .cta-section {
    padding: 20px 6px;
    gap: 9px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .hero-section h1 { font-size: 1.35rem; }
  .hero-section p { font-size: 1rem; }
}

/* MICRO ANIMATIONS | FOCUS ---- */
.btn,
input,
select,
textarea,
.mobile-menu-close {
  outline: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.btn:focus, .btn-primary:focus, .btn-accent:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  box-shadow: 0 0 0 3px rgba(242,164,72,0.13);
}

/* Misc. ----------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #E0E6EA;
  border-radius: 8px;
}

/* Hide scroll on mobile-menu open */
body.menu-open {
  overflow: hidden;
}

/* Card hover effect for links inside cards */
.card a, .service-item a, .blog-post-preview a {
  transition: color .18s, box-shadow 0.17s;
}
.card a:hover, .service-item a:hover, .blog-post-preview a:hover {
  color: #F2A448;
  text-decoration: underline;
}

/* Extra for accessibility of contrast */
.testimonial-card, .testimonials-slider .testimonial-card {
  background: #fff;
  color: #1F1F1F;
}
.testimonial-card blockquote {
  color: #115742;
}

/* Z-index for overlays */
.mobile-menu, .cookie-modal-backdrop, .cookie-modal { z-index: 2000 !important; }

/* Success and notification styles for future use */
.success-message, .notification-success {
  background: #eaf8f1;
  border-left: 6px solid #115742;
  color: #115742;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Hide elements visually (for example, for menu close button spacing when not needed) */
.visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;
}
