/* ===================
   CSS RESET & BASE
   =================== */
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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  height: 100%;
  background: #fff;
  color: #171d21;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #004F60;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #171d21;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin: 16px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

/* ===============
   BRAND COLORS
   =============== */
:root {
  --color-primary: #004F60;
  --color-secondary: #B2DFDB;
  --color-accent: #FFE082;
  --color-bg: #fff;
  --color-dark: #171d21;
  --color-muted: #F6F8F9;
  --color-border: #E5EBEE;
  --color-shadow: rgba(0, 0, 0, .04);
}

/* ===================
   TYPOGRAPHY
   =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.14; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.14; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.2; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1em; }
p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--color-dark);
}
strong { font-weight: 600; }
td, th { font-size: 1rem; }

/* ===================
   LAYOUT HELPERS
   =================== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section { /* Used via HTML section tag above */
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px var(--color-shadow);
  padding: 30px 18px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(0,79,96,0.08);
}
.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: 12px;
  background: var(--color-muted);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 20px;
  min-width: 240px;
  max-width: 420px;
  margin-bottom: 20px;
}
.testimonial-card strong, .testimonial-card span, .testimonial-card p {
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
}

/************************
  MAIN NAVIGATION
*************************/
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 0 0 0 0;
  min-height: 64px;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 6px 20px;
  height: 64px;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
}
.main-nav .logo {
  margin-right: 28px;
  display: flex;
  align-items: center;
  height: 36px;
}
.main-nav a {
  color: var(--color-primary);
  padding: 7px 13px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}
.main-nav .cta {
  margin-left: auto;
  margin-right: 0;
}

/************************
  CTA BUTTONS
*************************/
.cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 11px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.16s, box-shadow 0.18s;
  text-align: center;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #002934;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,79,96,0.17);
}
.cta.secondary {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #ffeeb1;
  color: #004F60;
}

/************************
  HERO SECTION
*************************/
.hero {
  background: var(--color-muted);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 8px 24px var(--color-shadow);
  margin-bottom: 48px;
  padding: 70px 20px 54px 20px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 650px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
  font-weight: 700;
}
.hero h2 {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1.325rem;
}

/************************
  FEATURE + SERVICE GRIDS
*************************/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 24px 20px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 200px;
  max-width: 320px;
  transition: box-shadow 0.18s;
}
.feature-grid img { width: 48px; height: 48px; margin-bottom: 10px; }
.feature-grid h3 { font-size: 1.12rem; color: var(--color-primary); }

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 28px 0;
}
.service-cards > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--color-shadow);
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 340px;
  padding: 22px 18px 16px 18px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.23s;
}
.service-cards > div:hover {
  box-shadow: 0 4px 17px rgba(0,79,96,0.09);
  transform: translateY(-2px) scale(1.015);
}
.service-cards h3 {
  font-size: 1.08rem;
  color: var(--color-primary);
  font-weight: 600;
}

/************************
  TESTIMONIALS
*************************/
.testimonial-slider, .testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 20px 0;
}
.aggregate-score {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  margin-top: 16px;
  color: var(--color-primary);
}

/************************
  LISTS, FAQ, TABLES
*************************/
ul.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 0 30px 0;
  list-style: none;
  padding-left: 0;
}
ul.service-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 9px var(--color-shadow);
  padding: 28px 18px 16px 18px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.faq-list dd {
  margin: 0 0 8px 0;
  color: var(--color-dark);
}
/* Minimalist table */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--color-shadow);
}
thead {
  background: var(--color-secondary);
}
th, td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-secondary);
}
tbody tr:last-child td { border-bottom: none; }
p.price-notes {
  font-size: 0.98rem;
  color: #666;
  margin-bottom: 18px;
}

/************************
  CONTACT INFO
*************************/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.1rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  color: var(--color-primary);
}
.contact-info img {
  width: 26px;
  height: 26px;
}
.map-placeholder {
  background: var(--color-muted);
  border-radius: 12px;
  padding: 24px 14px;
  margin: 16px 0;
}
.map-placeholder h2 { font-size: 1.15rem;margin-bottom: 10px; color: var(--color-primary);}

/************************
  FOOTER
*************************/
footer {
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  padding: 38px 0 16px 0;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-content > a img { height: 46px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: var(--color-dark);
  text-decoration: underline;
}
.footer-contact span {
  font-size: 0.97rem;
  color: #4A5E63;
}

/************************
  MOBILE NAVIGATION
*************************/
.mobile-menu-toggle {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  margin-left: auto;
  transition: background 0.18s;
  z-index: 111;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,79,96,0.09), 0 0 0 100vw rgba(0,0,0,0.16);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.67,.01,.29,1.06), opacity 0.25s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  position: absolute;
  top: 22px;
  right: 28px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #002934;
}
.mobile-nav {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 30px 0 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--color-primary);
  border-radius: 6px;
  transition: background 0.14s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/*************************
  RESPONSIVE STYLES
**************************/
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
  .feature-grid, .service-cards, .testimonial-slider, .testimonial-cards {
    justify-content: flex-start;
    gap: 20px;
  }
}
@media (max-width: 960px) {
  .container { max-width: 98vw; }
  .footer-content {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .main-nav {
    font-size: 0.98rem;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 18px; right: 18px;
  }
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 44px 10px 38px 10px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
  .section, section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper { gap: 20px; }
  .testimonial-slider, .testimonial-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-content {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  nav.main-nav, .footer-nav { font-size: 0.98rem; }
  .cta { padding: 10px 18px; font-size: 1rem; }
}

/*************************
  VISUAL HIERARCHY
**************************/
h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.01em;
}
ol, ul {
  margin-left: 16px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
}
.text-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/*************************
  MICRO-INTERACTIONS
**************************/
.card, .feature-grid > div, .service-cards > div, .testimonial-card, .mobile-nav a, .cta {
  transition: box-shadow 0.19s, background 0.19s, color 0.17s, transform 0.20s;
}
.card:active, .feature-grid > div:active, .service-cards > div:active,
.cta:active, .mobile-nav a:active {
  transform: scale(0.99);
}
.testimonial-card:focus-within {
  box-shadow: 0 4px 20px rgba(0,79,96,0.11);
}
.testimonial-card {
  transition: box-shadow 0.14s, background 0.18s;
}

/*************************
  COOKIE CONSENT BANNER
**************************/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 10000;
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -3px 18px rgba(0,79,96,0.06);
  padding: 18px 10px 13px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  justify-content: center;
  opacity: 1;
  transition: transform 0.44s cubic-bezier(.67,.01,.29,1.06), opacity 0.28s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-consent-message {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-right: 13px;
  max-width: 480px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 30px;
  padding: 9px 23px;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.cookie-btn.accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #002934;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.2px solid var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-secondary);
}
.cookie-btn.settings {
  background: var(--color-accent);
  color: var(--color-primary);
  margin-left: 8px;
}
.cookie-btn.settings:hover {
  background: #ffeeb1;
}

/*********************************
  COOKIE SETTINGS MODAL
**********************************/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 10500;
  background: rgba(0, 0, 0, 0.30);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 1.5px 34px rgba(0,79,96,0.13);
  max-width: 420px;
  width: 98vw;
  padding: 38px 22px 20px 22px;
  margin: 26px 0 0 0;
  position: relative;
  transform: translateY(80vh);
  transition: transform 0.35s cubic-bezier(.66,.02,.16,.9);
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0);
}
.cookie-modal h3 {
  margin-bottom: 13px;
  color: var(--color-primary);
  font-size: 1.22rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-muted);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
}
.cookie-category .toggle {
  width: 36px;
  height: 20px;
  background: #DDD;
  border-radius: 20px;
  position: relative;
  margin-left: 16px;
  display: inline-block;
}
.cookie-category .toggle input {
  opacity: 0;
  width: 36px;
  height: 20px;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  margin: 0;
}
.cookie-category .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: left 0.18s, background 0.17s;
}
.cookie-category .toggle input:checked + .toggle-slider {
  background: var(--color-primary);
  left: 18px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 1.6rem;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover {
  color: #002934;
}

@media (max-width: 500px){
  .cookie-modal {
    border-radius: 11px 11px 0 0;
    padding: 14vw 5vw 18vw 5vw;
    max-width: 97vw;
  }
}

/*************************
  MISC & UTILITY CLASSES
**************************/
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.pt-2 { padding-top: 12px; }
.pb-2 { padding-bottom: 12px; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/*************************
  PRINT OPTIMIZATION
**************************/
@media print {
  .mobile-menu, .cookie-consent-banner, .cookie-modal, .mobile-menu-toggle, header, footer { display: none !important; }
}

/*************************
  HIDE NODES INITIALLY
**************************/
.mobile-menu, .mobile-menu-toggle {
  display: none;
}

/*************************
  JS-ACTIVATED
**************************/
body.mobile-menu-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex !important; }
}
