/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #f4f7fa;
  color: #253f4a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #185e77;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3d8b6a;
  outline: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 1rem;
  color: inherit;
  outline: none;
  transition: background 0.15s, color 0.15s;
}
ul, ol {
  list-style: none;
}
hr {
  border: none;
  border-top: 1px solid #e0e8ef;
  margin: 32px 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #185e77;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  color: #253f4a;
}
strong {
  font-weight: 700;
  color: #185e77;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}

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

@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* HEADER STYLES */
header {
  width: 100%;
  background: #f4f7fa;
  box-shadow: 0 2px 8px rgba(24, 94, 119, 0.07);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  min-height: 68px;
  border-bottom: 1px solid #e0e8ef;
}
header > a > img {
  height: 38px;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 5px;
  color: #185e77;
  background: none;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e3ebe8;
  color: #3d8b6a;
}

header .btn-primary {
  margin-left: 18px;
  display: inline-flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  min-width: 42px;
  min-height: 42px;
  padding: 6px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #185e77;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: 16px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #d6ebec;
}

@media (max-width: 1024px) {
  .main-nav { gap: 12px; }
}

@media (max-width: 900px) {
  .main-nav { gap: 6px; }
}

@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 8px 0;
    min-height: 54px;
  }
  .main-nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,94,119,0.08);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s cubic-bezier(.77,0,.18,1), transform 0.4s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #185e77;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  margin: 22px 18px 6px 0;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e3ebe8;
}

.mobile-nav {
  background: #fff;
  border-radius: 18px 0 0 18px;
  box-shadow: 0 2px 16px rgba(24,94,119,0.10);
  padding: 24px 40px 32px 28px;
  width: 90vw;
  max-width: 360px;
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 0 auto;
}
.mobile-nav a {
  color: #185e77;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  padding: 13px 0 13px 12px;
  border-radius: 6px;
  font-weight: 600;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3ebe8;
  color: #3d8b6a;
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* BUTTONS */
.btn-primary {
  background: #185e77;
  color: #fff;
  border-radius: 30px;
  padding: 13px 28px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(24,94,119,0.08);
  transition: background 0.2s, box-shadow 0.25s, transform 0.13s;
  border: none;
  margin-top: 8px;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3d8b6a;
  color: #fff;
  box-shadow: 0 0 0 4px #e3ebe8;
  transform: translateY(-2px) scale(1.035);
}
.btn-secondary {
  background: #3d8b6a;
  color: #fff;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  margin-top: 8px;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #185e77;
  color: #fff;
}

/* GENERAL SECTIONS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(24,94,119,0.07);
  transition: box-shadow 0.22s;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 8px;
    border-radius: 13px;
  }
}

/***************************
*  HERO SECTIONS           *
***************************/
.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(98deg, #f4f7fa 40%, #e3ebe8 100%);
  padding: 44px 0 32px 0;
  margin-bottom: 36px;
  box-shadow: 0 3px 12px rgba(24,94,119,0.08);
}
.hero .container { max-width: 780px; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #185e77;
  font-size: 2.7rem;
}
@media (max-width: 768px) {
  .hero {
    padding: 24px 0 18px 0;
    border-radius: 0 0 28px 28px;
  }
  .hero h1 { font-size: 2rem; }
}

/***************************
*  FLEXBOX LAYOUTS         *
***************************/
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 17px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(24,94,119,0.11);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 17px;
  }
}

/***************************
*  LISTS & FEATURE SECTIONS*
***************************/
.feature-grid,
.service-list,
.service-list-full {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid li,
.service-list li,
.service-list-full li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(24,94,119,0.07);
  padding: 28px 20px 20px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.15s;
  margin-bottom: 20px;
}
.feature-grid li img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #e0e8ef;
  box-shadow: 0 0 0 3px #e3ebe8 inset;
  margin-bottom: 6px;
}
.feature-grid li:hover, .feature-grid li:focus {
  box-shadow: 0 6px 24px rgba(61,139,106,0.12), 0 0 0 4px #f0ede3;
  transform: translateY(-2.5px) scale(1.018);
}

.service-list-full li span {
  color: #3d8b6a;
  font-size: 1.07rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .feature-grid,
  .service-list,
  .service-list-full {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid li,
  .service-list li,
  .service-list-full li {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
}

/***************************
*  TESTIMONIALS            *
***************************/
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 32px 20px 32px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 5px 32px rgba(61,139,106,0.09);
  min-width: 260px;
  max-width: 390px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  border: 1px solid #e0e8ef;
  transition: box-shadow 0.21s, border 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 28px rgba(24,94,119,0.17);
  border: 1.8px solid #3d8b6a;
}
.testimonial-card p {
  color: #1e394a;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #185e77;
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonials .content-wrapper { flex-direction: column; gap: 16px; }
  .testimonial-card { max-width: 100%; padding: 18px 15px; border-radius: 13px; }
}

/***************************
*  PRICING TABLE           *
***************************/
.pricing-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(24,94,119,0.08);
  overflow: hidden;
  margin-bottom: 30px;
}
.pricing-table th, .pricing-table td {
  padding: 17px 20px;
  text-align: left;
  font-size: 1rem;
}
.pricing-table thead th {
  background: #f4f7fa;
  color: #3d8b6a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
}
.pricing-table tr {
  border-bottom: 1px solid #e0e8ef;
}
.pricing-table tbody td {
  background: #fff;
  color: #253f4a;
}
.pricing-table tr:last-child {
  border-bottom: none;
}
@media (max-width: 768px) {
  .pricing-table table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table th, .pricing-table td, .pricing-table tr { display: block; width: 100%; }
  .pricing-table th, .pricing-table td { padding: 12px 8px; }
  .pricing-table th { border-radius: 8px 8px 0 0; }
}

/***************************
*  FOOTER                  *
***************************/
footer {
  background: #185e77;
  color: #fff;
  padding: 44px 0 0 0;
  margin-top: 34px;
}
footer .container {
  padding-bottom: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
}
.footer-logo img {
  height: 40px;
  border-radius: 7px;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a, .footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  padding: 4px 0;
  border-radius: 5px;
  transition: background 0.19s, color 0.18s;
}
.footer-nav a:hover, .footer-menu a:hover {
  background: #3d8b6a;
  color: #fff;
  opacity: 1;
}
.footer-contact {
  font-size: 0.97rem;
  opacity: 0.98;
}
.footer-contact a {
  color: #e3ebe8;
  text-decoration: underline;
}
.footer-legal {
  flex-basis: 100%;
  margin-top: 20px;
}
.footer-legal small {
  color: #e3ebe8;
  opacity: 0.67;
}
@media (max-width: 1100px) {
  footer .content-wrapper { flex-direction: column; gap: 24px; align-items: flex-start; }
}
@media (max-width: 768px) {
  footer {
    padding: 28px 0 0 0;
  }
  .footer-logo img { height: 32px; }
}

/***************************
*  CTA / CONFIRMATION      *
***************************/
.cta .content-wrapper,.confirmation .content-wrapper,
.contact-cta .content-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.custom-offer-cta {
  background: #fff5ea;
  border-radius: 14px;
  padding: 18px 23px;
  color: #185e77;
  margin-bottom: 12px;
  font-size: 1.08rem;
  box-shadow: 0 2px 7px rgba(255,166,44,0.07);
}

/***************************
*  CARDS (Contact, General)*
***************************/
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
}

/***************************
*  MAP SECTION             *
***************************/
.map .embedded-map {
  background: #fff9ee;
  color: #185e77;
  border-radius: 16px;
  padding: 34px 18px 30px 18px;
  font-size: 1.09rem;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(214, 235, 236, 0.16);
}

/***************************
*  FAQ LIST                *
***************************/
.faq-list .content-wrapper {
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,94,119,0.06);
  margin-bottom: 18px;
}
.text-section {
  margin-bottom: 12px;
}

/***************************
*  PRICING TEASER          *
***************************/
.pricing-teaser {
  background: #e3ebe8;
  color: #185e77;
  font-size: 1.06rem;
  border-radius: 11px;
  padding: 18px 16px;
  margin-bottom: 16px;
}

/***************************
*  COOKIE CONSENT BANNER   *
***************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2020;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(24,94,119,0.09);
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  border-radius: 18px 18px 0 0;
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.35s, opacity 0.22s;
  font-size: 1.04rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner-text {
  flex: 2 1 220px;
  color: #185e77;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cookie-banner .btn-accept {
  background: #3d8b6a;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 7px rgba(61,139,106,0.09);
  transition: background 0.18s;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #185e77;
}
.cookie-banner .btn-reject {
  background: #fff5ea;
  color: #c77521;
  border-radius: 20px;
  border: 1.2px solid #ffbe6d;
  padding: 10px 20px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #ffe2b5;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: #185e77;
  border-radius: 14px;
  border: 1px solid #185e77;
  padding: 10px 20px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #e3ebe8;
  color: #3d8b6a;
}

@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner-actions { width: 100%; gap: 7px; }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24,94,119,0.10);
  z-index: 2030;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 9px 40px rgba(24,94,119,0.23);
  padding: 34px 24px 24px 24px;
  max-width: 99vw;
  width: 410px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.28s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(90px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: #185e77;
  margin-bottom: 8px;
  font-size: 1.27rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.cookie-category label {
  flex: 1 1 80px;
  font-size: 1.05rem;
  color: #185e77;
  font-weight: 600;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e0e8ef;
  border-radius: 18px;
  transition: background 0.2s;
}
.cookie-category .switch input:checked + .slider {
  background: #3d8b6a;
}
.cookie-category .slider:before {
  position: absolute;
  content: '';
  left: 3px;
  top: 3px;
  height: 18px;
  width: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.17s;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-category .required {
  color: #e36d2c;
  font-weight: 600;
  font-size: 0.99em;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-actions .btn-primary, .cookie-modal-actions .btn-secondary {
  padding: 11px 19px;
  font-size: 1.02rem;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  color: #185e77;
  font-size: 1.65rem;
  border: 1px solid #e3ebe8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.16s;
}
.cookie-modal .close-btn:hover,
.cookie-modal .close-btn:focus {
  background: #e3ebe8;
}

@media (max-width: 550px) {
  .cookie-modal { width: 94vw; padding: 20px 8px; }
}

/***************************
*  LEGAL TEXT              *
***************************/
.legal-text .content-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 28px 23px;
  box-shadow: 0 2px 10px rgba(24,94,119,0.04);
  margin-bottom: 32px;
}
.legal-text h2, .legal-text h3 {
  margin-top: 22px;
  color: #3d8b6a;
}
.legal-text ul {
  margin-left: 14px;
  margin-bottom: 12px;
  list-style: disc inside;
}

/***************************
*  MISC UTILITIES & EFFECTS*
***************************/
::-webkit-input-placeholder { color: #b0bccc; opacity: .97; }
::-moz-placeholder { color: #b0bccc; opacity: .97; }
:-ms-input-placeholder { color: #b0bccc; opacity: .97; }
::placeholder { color: #b0bccc; opacity: .97; }

/* SCROLLBAR STYLING */
body::-webkit-scrollbar { width: 9px; background: #e3ebe8; }
body::-webkit-scrollbar-thumb { background: #185e77; border-radius: 8px; }
body { scrollbar-color: #3d8b6a #f4f7fa; }

/* HELPER CLASSES */
.hide { display: none !important; }
.show { display: block !important; }

/***************************
*  ACCESSIBILITY/FOCUS     *
***************************/
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.3px solid #3d8b6a;
  outline-offset: 2px;
  z-index: 1010;
}
input:disabled, button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/***************************
*  RESPONSIVE              *
***************************/
@media (max-width: 500px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.17rem; }
  .footer-logo img { height: 20px; }
  .feature-grid li, .service-list li, .service-list-full li { padding: 14px 10px 10px 10px; }
  .testimonial-card { padding: 12px 6px; font-size: .95rem; }
}

/* Animate button presses for micro-interaction feel */
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(24,94,119,0.14);
}
