/* ========================================================================
   CSS RESET & BASE LAYOUT
   ======================================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #243343;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  color: #205375;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27AE60;
  text-decoration: underline;
}
ul, ol {
  margin-left: 2em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT', Arial, sans-serif;
  color: #205375;
  margin-bottom: 0.4em;
  font-weight: 600;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
}
h2 {
  font-size: 1.45rem;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.18rem;
  margin-top: 1.1em;
  margin-bottom: 0.4em;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 1em;
}
small {
  color: #888;
  font-size: 0.95em;
}

/* ========================================================================
   LAYOUT CONTAINERS & SPACING
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0; /* default, per container rules below*/
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section:not(.hero):not(.cta) {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.hero {
  background: #F7F7F7;
  padding: 56px 0 48px 0;
  margin-bottom: 60px;
}
.cta {
  background: #205375;
  color: #fff;
  padding: 48px 16px;
  text-align: center;
  margin-bottom: 0;
}
.cta h2 {
  color: white;
}
.cta .cta-primary {
  margin-top: 24px;
}
.cta a,
.cta a:visited {
  color: #fff;
}
.text-section {
  margin-bottom: 40px;
}
.mini-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Cards & Groups */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(32,83,117,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(32,83,117,0.14);
  transform: translateY(-3px) scale(1.0125);
}
.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-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F7F7F7;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(32,83,117,.06);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 430px;
  font-size: 1.07rem;
  color: #1A2532;
}
.testimonial-card p {
  margin-bottom: 0.5em;
  color: #243343;
  font-weight: 500;
}
.testimonial-card span {
  color: #426284;
  font-size: 0.98em;
  font-style: italic;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.cta-secondary {
  margin-top: 16px;
  text-align: left;
}
.cta-secondary a {
  color: #205375;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-bottom: 1px dotted #27AE60;
  transition: color 0.2s, border 0.2s;
}
.cta-secondary a:hover {
  color: #27AE60;
  border-bottom: 1px solid #27AE60;
}
.rating-summary {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px 0 rgba(32,83,117,.04);
}
.review-invite {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 18px;
}
.review-invite p {
  flex: 1 1 auto;
  margin: 0;
}

@media (max-width: 650px) {
  .review-invite {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* ========================================================================
   NAVIGATION & HEADER
   ======================================================================== */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 2px 16px 0 rgba(32,83,117,.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  min-height: 78px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #243343;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.20s, border .20s;
}
.main-nav a:hover, .main-nav a:active {
  color: #27AE60;
  border-bottom: 2px solid #27AE60;
}
header .cta-primary {
  margin-left: 12px;
  min-width: 138px;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #205375;
  cursor: pointer;
  margin-right: 8px;
  margin-left: 12px;
  transition: color 0.22s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  color: #27AE60;
}

/* Responsive header/nav */
@media (max-width: 920px) {
  .main-nav {
    gap: 14px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 820px) {
  header .container {
    gap: 8px;
    min-height: 68px;
  }
}
@media (max-width: 700px) {
  .main-nav, header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ========================================================================
   MOBILE MENU OVERLAY
   ======================================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,83,117,0.98);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 18px 18px 6px 18px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #27AE60;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  gap: 18px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  font-weight: 600;
  opacity: 0.95;
  border-bottom: 1px solid rgba(255,255,255,.06);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: #27AE60;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */
.cta-primary, .modal .btn-primary {
  display: inline-block;
  background: #27AE60;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 10px 28px 10px 28px;
  margin: 0;
  box-shadow: 0 1px 8px 0 rgba(39, 174, 96, 0.05);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.18s;
  outline: none;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus, .modal .btn-primary:hover, .modal .btn-primary:focus {
  background: #205375;
  color: #fff !important;
  box-shadow: 0 6px 18px 0 rgba(32,83,117,0.12);
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary .cta-primary {
  min-width: 170px;
  margin-left: 12px;
}

/* Secondary/ghost button */
.cta-secondary, .modal .btn-secondary {
  background: transparent;
  border: 2px solid #27AE60;
  color: #27AE60 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 24px;
  padding: 10px 26px;
  transition: background 0.19s, color 0.19s, border 0.22s, box-shadow 0.18s;
  cursor: pointer;
}
.cta-secondary:hover, .modal .btn-secondary:hover, .cta-secondary:focus, .modal .btn-secondary:focus {
  background: #27AE60;
  color: #fff !important;
  border-color: #27AE60;
}

/* Cookie banner special */
.cookie-btn {
  margin: 0 18px 0 0;
  min-width: 90px;
}

/* ========================================================================
   FEATURE BLOCKS & USPs
   ======================================================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.feature {
  background: #F7F7F7;
  border-radius: 12px;
  min-width: 220px;
  flex: 1 1 220px;
  padding: 28px 22px 18px 22px;
  text-align: left;
  box-shadow: 0 2px 12px 0 rgba(32,83,117,.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
  transition: box-shadow .17s, transform .16s;
}
.feature img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 6px 18px 0 rgba(32,83,117,0.10);
  transform: translateY(-2px) scale(1.03);
}
.service-list,
.detailed-service-list,
.usp-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.usp-list li {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
}
.usp-list img {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.service-list li,
.detailed-service-list li {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px 0 rgba(32,83,117,.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================================================================
   TABLES & LISTS
   ======================================================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(32,83,117,.05);
  border-radius: 10px;
  overflow: hidden;
  font-size: 1.03rem;
}
.pricing-table th, .pricing-table td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid #F7F7F7;
}
.pricing-table th {
  background: #F7F7F7;
  color: #205375;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li {
  background: #F7F7F7;
  padding: 14px 14px 14px 22px;
  border-radius: 8px;
  line-height: 1.6;
}

/* Contact Info List */
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}
.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.contact-info-list img {
  width: 22px;
  height: 22px;
}

.map-snippet {
  background: #F7F7F7;
  border-radius: 10px;
  margin-top: 22px;
  padding: 16px 18px;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: #f8fafc;
  border-top: 1px solid #eee;
  margin-top: 60px;
  padding: 32px 0 22px 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #243343;
  font-size: 1rem;
  opacity: 0.8;
  transition: color 0.16s, opacity .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #27AE60;
  opacity: 1;
}
footer address {
  line-height: 1.7;
  color: #425069;
  font-size: 0.99em;
  font-style: normal;
}
footer address a {
  color: #205375;
}
footer img {
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #205375;
  color: #fff;
  z-index: 6000;
  width: 100%;
  padding: 18px 12px 16px 16px;
  box-shadow: 0 -2px 20px 0 rgba(32,83,117,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  opacity: 1;
  pointer-events: auto;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  flex: 1 1 auto;
}
.cookie-banner-action {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.cookie-btn {
  background: #27AE60;
  color: #fff;
  border: none;
  border-radius: 17px;
  padding: 8px 20px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.16s, color .14s;
}
.cookie-btn.reject {
  background: #f3f3f3;
  color: #205375;
  border: 1px solid #eee;
}
.cookie-btn.reject:hover {
  background: #e1e5e8;
  color: #205375;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.settings:hover {
  background: #27AE60;
  border-color: #27AE60;
  color: #fff;
}

/* Cookie Modal */
.modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 8000;
  background: rgba(27,46,65,0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s;
}
.modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: #fff;
  color: #223;
  border-radius: 14px;
  width: 98vw;
  max-width: 430px;
  padding: 28px 18px 24px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(32,83,117,.16);
  animation: modalSlideIn 0.34s cubic-bezier(.2,.7,0.45,1) 1;
}
@keyframes modalSlideIn {
  from { transform: translateY(60px) scale(.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-header h2 {
  font-size: 1.19rem;
  color: #205375;
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.68rem;
  color: #888;
  cursor: pointer;
  transition: color 0.15s;
}
.modal-close:hover, .modal-close:focus {
  color: #205375;
}
.modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 11px 10px 11px 16px;
  font-size: 1rem;
  color: #355;
}
.modal-category input[type=checkbox] {
  accent-color: #27AE60;
  transform: scale(1.13);
}
.modal-category input[disabled] {
  accent-color: #205375;
  cursor: not-allowed;
}
.modal-category strong {
  margin-right: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #205375;
}
.modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ========================================================================
   RESPONSIVE DESIGN — MOBILE-FIRST
   ======================================================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .testimonials-list, .content-grid, .card-container {
    gap: 16px;
  }
  .container {
    max-width: 99vw;
  }
  footer .container {
    gap: 18px;
    flex-direction: column;
  }
}
@media (max-width: 853px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: 180px;
  }
  .card {
    min-width: 170px;
  }
  .testimonials-list {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  .hero {
    padding: 32px 0 24px 0;
    margin-bottom: 38px;
  }
  .section, section:not(.hero):not(.cta) {
    padding: 22px 6px;
    margin-bottom: 34px;
  }
  .cta {
    padding: 28px 6px;
  }
  .testimonial-card {
    padding: 12px;
    max-width: 98vw;
    font-size: 0.98rem;
  }
  .feature {
    padding: 14px 9px 11px 10px;
  }
  .service-list li, .detailed-service-list li {
    padding: 12px 7px;
  }
  .pricing-table th, .pricing-table td {
    padding: 8px 6px;
    font-size: 0.99rem;
  }
  .map-snippet {
    padding: 7px 6px;
  }
  .cta-primary, .modal .btn-primary, .cta-secondary, .modal .btn-secondary {
    min-width: 84px;
    padding: 8px 17px;
    font-size: 1rem;
  }
}
@media (max-width: 530px) {
  .footer-nav {
    flex-direction: column;
    gap: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
  .feature {
    min-width: 120px;
    font-size: 0.95rem;
  }
}
@media (max-width: 430px) {
  .testimonial-card {
    padding: 5px;
    min-width: 100px;
    max-width: 97vw;
    font-size: 0.95rem;
  }
  .feature {
    min-width: 90px;
    padding: 8px 3px 8px 6px;
  }
  .modal-content {
    min-width: 0;
    padding: 17px 4px 12px 6px;
  }
}

/* FLEX direction for text-image-section on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ========================================================================
   UTILITY CLASSES & MICRO INTERACTIONS
   ======================================================================== */
.shadow-sm {
  box-shadow: 0 2px 8px 0 rgba(32,83,117,.03);
}
.shadow-md {
  box-shadow: 0 6px 18px 0 rgba(32,83,117,0.10);
}
.rounded {
  border-radius: 13px;
}
.flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.gap-20 {
  gap: 20px;
}

/* Hide visually (for cookie modal overlay etc.) */
.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ========================================================================
   MISC: TYPOGRAPHY SCALE
   ======================================================================== */
.display-1 { font-size: 2.6rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.display-2 { font-size: 2rem;   font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
.text-lg { font-size: 1.2rem; }
.text-md { font-size: 1rem; }
.text-sm { font-size: 0.91rem; }
.text-muted { color: #7b8ca9; }

/***** End of CSS *****/
