/* ---- CSS RESET & NORMALIZE ---- */
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: #F4E9DE;
  color: #23292f;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ---- BRAND COLORS ---- */
:root {
  --primary: #2B4757;           /* brand primary blue */
  --secondary: #53A5B1;         /* brand clean blue-green */
  --accent: #F4E9DE;            /* off-white, warm */
  --body-bg: #F4E9DE;
  --on-primary: #fff;
  --on-secondary: #fff;
  --on-accent: #23292f;
  --gray-100: #F7FAFC;
  --gray-200: #E7ECF0;
  --gray-300: #CED9DF;
  --gray-400: #aeb9be;
  --gray-500: #8B99A3;
  --gray-700: #2B4757;
  --danger: #d94d4c;
  --focus: #ffca6c;
}

/* ---- TYPOGRAPHY ---- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray-700);
  background: var(--body-bg);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--gray-700);
}
strong { font-weight: 700; }
em { font-style: italic; }

/* ---- SECTION + CONTAINER ---- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section, section { padding: 30px 8px; }
}
.section:last-of-type, section:last-of-type { margin-bottom: 0; }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
/* ---- FEATURE/CARD/FLEX LAYOUTS ---- */
.feature-grid, .service-list, .team-bio-list, .price-tables, .testimonial-wrapper, .faq-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature-grid > div, .service-list > div, .team-bio-list > div, .price-tables > div, .faq-list > div {
  background: var(--on-primary);
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(43,71,87,0.04), 0 2px 12px rgba(43,71,87,0.03);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid var(--gray-200);
}
.feature-grid > div:hover,
.service-list > div:hover,
.price-tables > div:hover,
.faq-list > div:hover {
  box-shadow: 0 6px 18px rgba(43,71,87,0.13);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 22px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(43,71,87,0.07);
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 260px;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin: 0 0 8px 0;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--gray-500);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-card strong {
  color: var(--secondary);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(43,71,87,0.07);
  border: 1px solid var(--gray-200);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .testimonial-wrapper, .team-bio-list, .price-tables, .faq-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .feature-grid > div, .service-list > div, .team-bio-list > div, .price-tables > div, .faq-list > div {
    min-width: 0;
  }
  .testimonial-wrapper, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

/* ---- BUTTONS ---- */
.btn-primary, a.btn-primary, button.btn-primary {
  background: var(--primary);
  padding: 13px 34px;
  border-radius: 8px;
  color: var(--on-primary);
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: 0 1.5px 6px rgba(43,71,87,0.06);
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.5px;
  transition: background .18s, box-shadow .18s, color .18s, transform .18s;
  display: inline-block;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  box-shadow: 0 8px 20px rgba(83,165,177,0.14);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.btn-secondary {
  background: var(--secondary);
  color: var(--on-secondary);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  box-shadow: 0 1.5px 6px rgba(43,71,87,0.07);
  transition: background .2s, box-shadow .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--on-primary);
  outline: none;
}
.btn-danger {
  background: var(--danger);
  color: var(--on-primary);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: background .2s;
}
.btn-danger:hover, .btn-danger:focus {
  background: #b03938;
  color: #fff;
  outline: none;
}

/* ---- HEADER + NAVIGATION ---- */
header {
  background: #fff;
  box-shadow: 0 6px 20px rgba(43,71,87,0.10);
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  padding: 0 3px;
  border-radius: 4px;
  transition: background .13s, color .13s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--secondary);
  background: var(--gray-200);
  outline: none;
}
header .btn-primary {
  margin-left: 16px;
  margin-right: 0;
}
header .mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 16px;
  transition: background .18s, box-shadow .18s;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--on-secondary);
  outline: none;
}
@media (max-width: 1100px) {
  header nav { gap: 12px; }
  .btn-primary { padding: 11px 16px; font-size: 1rem; }
}
@media (max-width: 900px) {
  header nav { gap: 2px; }
  header .container { gap: 5px; }
}

@media (max-width: 768px) {
  header nav, header .btn-primary { display: none; }
  header .mobile-menu-toggle { display: flex; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(43,71,87,0.86);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.44,.25,.03,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 20px 20px 12px 0;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 36px 36px 36px;
  width: 85vw;
  max-width: 350px;
  background: #fff;
  border-radius: 14px 0 0 14px;
  box-shadow: 0 2px 32px rgba(43,71,87,0.15);
  min-height: 80vh;
  margin-top: 24px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--accent);
  outline: none;
}

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

/* ---- BREADCRUMBS, TOPICS, SUBHEADS ---- */
.faq-topics {
  margin-top: 8px;
  font-size: 1rem;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ---- TEXT BLOCKS ---- */
.text-section {
  margin-top: 8px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .text-section ol {
  list-style: disc inside;
  margin-left: 16px;
}
.text-section strong { color: var(--primary); }
.map-embed {
  background: var(--gray-100);
  padding: 20px 14px;
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.97rem;
  margin-top: 10px;
  border: 1px solid var(--gray-200);
}

/* ---- STEP PROCESS ---- */
.step-process {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  margin-bottom: 10px;
}
.step-process li {
  background: #fff;
  border-radius: 9px;
  padding: 18px 18px 14px 18px;
  box-shadow: 0 2px 10px rgba(43,71,87,0.06);
  border-left: 4px solid var(--secondary);
  min-width: 220px;
  flex: 1 1 230px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
}
.step-process img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}

/* ---- PRICE TABLES ---- */
.price-tables > div {
  flex: 1 1 280px;
  min-width: 230px;
  max-width: 340px;
}
.price-tables h3 {
  margin-bottom: 7px;
  color: var(--secondary);
}

/* ---- FOOTER ---- */
footer {
  background: #fff;
  padding: 36px 0 24px 0;
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -1.5px 16px rgba(43,71,87,0.05);
  margin-top: 36px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer .footer-nav a {
  font-size: 1rem;
  color: var(--gray-500);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: color .13s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: var(--primary);
  outline: none;
}
footer address {
  font-style: normal;
  color: var(--gray-500);
  font-size: 0.98rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
footer address strong { color: var(--secondary); margin-bottom: 3px; }
footer address a { color: var(--primary); text-decoration: underline; }
footer img { width: 17px; height: 17px; vertical-align: middle; margin-right: 5px; margin-bottom: 2px; }

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 18px 0 14px 0;
    margin-top: 12px;
  }
  footer .container {
    flex-direction: column;
    gap: 10px;
    padding: 0 12px;
  }
  footer .footer-nav {
    flex-direction: row;
    gap: 16px;
    margin: 6px 0 2px 0;
  }
}

/* ---- MISCELLANEOUS + SUPPORT CLASSES ---- */
address img { margin-bottom: -3px; }

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -5px 18px rgba(43,71,87,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px 22px 18px;
  z-index: 1300;
  font-size: 1rem;
  gap: 18px;
  transition: transform .35s cubic-bezier(.44,.25,.03,1);
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner.active {
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
}
.cookie-banner-message {
  flex: 1 1 auto;
  margin-right: 18px;
  color: var(--primary);
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-danger {
  font-size: 0.97rem;
  padding: 10px 20px;
  box-shadow: none;
  margin-top: 0;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 18px 6px 20px 8px;
  }
  .cookie-banner-message { margin-right: 0; }
  .cookie-banner-buttons { gap: 7px; }
}

/* ---- COOKIE SETTINGS MODAL ---- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1350;
  background: rgba(43,71,87,0.36);
  align-items: center;
  justify-content: center;
  transition: opacity .3s cubic-bezier(.44,.25,.03,1);
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 94vw;
  padding: 30px 18px 24px 24px;
  box-shadow: 0 8px 32px rgba(43,71,87,0.18);
  color: var(--primary);
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  color: var(--primary);
  font-size: 1.6rem;
  border: none;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}
.cookie-modal-category {
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  width: 34px;
  height: 18px;
  border-radius: 12px;
  background: var(--gray-300);
  position: relative;
  margin-left: 8px;
  transition: background .2s;
  display: inline-block;
}
.cookie-toggle input { display: none; }
.cookie-toggle-slider {
  position: absolute;
  left: 1.5px;
  top: 1.5px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 4px rgba(43,71,87,0.13);
  transition: left .23s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 17px;
  background: var(--secondary);
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: var(--secondary);
}
.cookie-modal-legend {
  font-size: 0.97rem;
  color: var(--gray-500);
  margin-bottom: 7px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 500px) {
  .cookie-modal { padding: 18px 5px 14px 9px; }
}

/* ---- ANIMATIONS & FOCUS ---- */
:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--focus);
}

/* ---- MICRO-INTERACTIONS ---- */
a, .btn-primary, .btn-secondary, .btn-danger, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .19s, color .19s, box-shadow .19s, transform .16s;
}
.card, .testimonial-card {
  transition: box-shadow .19s, transform .13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(83,165,177,0.10);
  transform: translateY(-2px);
  border-color: var(--secondary);
}

/* ---- RESPONSIVE SPACING ---- */
@media (max-width: 480px) {
  .section, section { padding: 18px 3px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
}

/* ---- ACCESSIBILITY ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0.01;
  z-index: 20;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  background: var(--accent);
  color: var(--primary);
  padding: 7px 14px;
  opacity: 1;
  border-radius: 7px;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(43,71,87,0.10);
  outline: 2px solid var(--focus);
}

/* ---- CORE SPACING & LAYOUT MANDATES ---- */
/* Already included above; ensure min 20px gap or margin-bottom everywhere, with flex gap where required. */