/* =======================
   CSS RESET & BASE STYLES
   ======================= */
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #163851;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #347178;
  text-decoration: underline;
  outline: none;
}

/* ========================
   TYPOGRAPHY & HEADINGS
   ======================== */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #163851;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3125rem;
  font-weight: 600;
  color: #163851;
  margin-bottom: 8px;
}
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 20px;
  max-width: 600px;
  opacity: 0.88;
}
strong, b {
  font-weight: 600;
  color: #111;
}

/* =================
   MAIN STRUCTURE
   ================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(22, 56, 81, 0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* =====================
   NAVIGATION & HEADER
   ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #e2e3e6;
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-start;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.main-nav a {
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}
.main-nav a.cta-btn {
  background: #163851;
  color: #fafafa;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 24px;
  margin-left: 18px;
  box-shadow: 0 2px 10px 0 rgba(22,56,81,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.main-nav a.cta-btn.secondary {
  background: #fff;
  color: #163851;
  border: 2px solid #163851;
}
.main-nav a:hover:not(.cta-btn) {
  background: #f6f7f9;
  color: #163851;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #347178;
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(22,56,81,0.10);
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 10px;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #222;
  font-size: 2rem;
  margin-right: 10px;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: #347178;
  outline: none;
}

/* --- Mobile Main Nav --- */
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 27, 34, 0.98);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 14px 22px 12px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
  z-index: 210;
}
.mobile-menu-close:focus {
  color: #4e8f95;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 0;
  transition: color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #4e8f95;
  text-decoration: underline;
}

/* =========================
   HERO (Front section)
   ========================= */
.hero {
  background: #f6f7f9;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 24px 0 rgba(22,56,81,0.05);
  padding: 60px 20px 50px 20px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 12px 34px 12px;
  }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  max-width: 700px;
}
.background-highlight {
  background: #6c7078;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 18px 24px;
  border-radius: 10px;
  margin: 18px 0 16px 0;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.07);
}

/* ===================
   BUTTONS & CTAS
   =================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #163851;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 12px 30px;
  margin-top: 8px;
  margin-bottom: 4px;
  box-shadow: 0 1px 10px 0 rgba(26,40,51,0.08);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background .2s, color .2s, box-shadow .28s;
}
.cta-btn.secondary {
  background: #fff;
  color: #163851;
  border: 2px solid #163851;
}
.cta-btn:hover, .cta-btn:focus {
  background: #347178;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(36,58,76,0.15);
  outline: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #163851;
  color: #fff;
}

/* ======================
   FLEX UTILITY CLASSES
   ====================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(22,56,81,0.08);
  padding: 28px 28px 22px 28px;
  flex: 1 1 310px;
  min-width: 250px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(16,30,41,0.13);
  transform: translateY(-2px) scale(1.01);
}
.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: #fafaff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(16,25,36,0.09);
  padding: 20px;
  margin-bottom: 24px;
  border-left: 4px solid #163851;
  min-width: 220px;
  max-width: 600px;
  position: relative;
}
.testimonial-card p {
  color: #181a1f;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.testimonial-card .author {
  font-weight: 600;
  font-size: 1.05rem;
  color: #347178;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   LISTS & BADGES
   ===================== */
ul {
  padding-left: 1.10em;
  margin-bottom: 12px;
  margin-top: 0;
}
ol {
  padding-left: 1.7em;
  margin-bottom: 12px;
  margin-top: 0;
}
ul li, ol li {
  font-size: 1rem;
  color: #212326;
  margin-bottom: 7px;
  line-height: 1.6;
  position: relative;
}
ul li img, ol li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 9px;
  display: inline-block;
}
.property-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.property-badges span {
  background: #163851;
  color: #fff;
  font-size: 0.94rem;
  border-radius: 12px;
  padding: 4px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
}
.safety-highlights ul, .benefits ul, .process-steps ul, .faq-highlights ul, .quick-tips ul, .team-values-bullets ul, .qualifications-list ul, .next-steps-info ul {
  margin-bottom: 0;
}

/* =====================
   FOOTER & LEGAL
   ===================== */
footer {
  background: #163851;
  color: #fff;
  padding: 38px 0 16px 0;
  margin-top: 90px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a, .footer-legal a {
  color: #fafafa;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.92;
  font-size: 1rem;
  padding: 3px 0;
  transition: color .18s, opacity 0.2s;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: #fff;
  opacity: 1;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 8px 0;
}
.social-links img {
  height: 28px;
  width: 28px;
  filter: grayscale(100%) contrast(1.2);
  transition: filter .25s;
}
.social-links img:hover {
  filter: grayscale(0%) contrast(1.2);
}
.legal-info {
  font-size: .95rem;
  opacity: 0.7;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-top: 6px;
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1120px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 16px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section, .section {
    padding: 24px 6px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    gap: 12px;
    padding: 14px 11px;
  }
  .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 6px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 490px) {
  h1, .hero h1 {
    font-size: 1.7rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .testimonial-card {
    padding: 10px 7px;
  }
  .hero {
    border-radius: 0 0 14px 14px;
  }
}

/* ================
   CARD SPECIFICS
   ================ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.team-member {
  background: #fafbfc;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(22, 56, 81, 0.07);
  padding: 18px 18px 12px 18px;
  margin-bottom: 18px;
  color: #111;
}
.qualifications-list, .team-values-bullets {
  margin-bottom: 16px;
}
.next-steps-info {
  background: #f7f8fa;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  margin-top: 4px;
}

/* ===============
   FAQ ACCENTS
   =============== */
.faq-list h3, .faq-highlights h4, .quick-tips h4 {
  color: #347178;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.faq-list h3 {
  margin-top: 20px;
}

/* =====================
   VARIOUS ELEMENTS
   ===================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.background-highlight {
  color: #fff;
}
.service-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.service-icons img {
  height: 36px;
  width: 36px;
  filter: grayscale(100%) contrast(1.15);
  transition: filter .26s;
}
.service-icons img:hover {
  filter: grayscale(0%) contrast(1.26);
}
.map-embed-placeholder {
  background: #e6e8ee;
  border-radius: 7px;
  color: #636365;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 14px 10px;
  margin-bottom: 16px;
}
.no-phone {
  color: #8a8a8a;
  font-style: italic;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #161a21;
  color: #fff;
  box-shadow: 0 -2px 21px 0 rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 18px 20px 18px;
  z-index: 500;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(.5,0,.1,1);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0 0 0 2px;
  color: #fff;
  opacity: 0.93;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 9px 19px;
  margin-left: 9px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: #347178;
  color: #fff;
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #4e8f95;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #163851;
  border: 1px solid #163851;
  font-weight: 600;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #163851;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #22272a;
  color: #fff;
  font-weight: 500;
  border: 1px solid #34373d;
  padding: 8px 17px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #fff;
  color: #163851;
}

/* --- Cookie modal --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #111;
  z-index: 800;
  border-radius: 16px;
  box-shadow: 0 6px 34px 1px rgba(0,0,0,0.13);
  min-width: 320px;
  max-width: 92vw;
  max-height: 96vh;
  overflow-y: auto;
  padding: 30px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s cubic-bezier(.5,0,.1,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transition-delay: .25s;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1.01rem;
}
.cookie-category label {
  font-weight: 500;
  color: #163851;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #347178;
  margin-right: 5px;
  vertical-align: middle;
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  opacity: 0.88;
  color: #444;
  margin-bottom: 9px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 15px;
  margin-top: 17px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 12px;
  top: 18px;
  font-size: 1.8rem;
  border: none;
  background: transparent;
  color: #4e8f95;
  cursor: pointer;
  z-index: 801;
  transition: color 0.2s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #163851;
}
.cookie-modal .accept, .cookie-modal .reject {
  padding: 11px 20px;
  border-radius: 20px;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
@media (max-width: 410px) {
  .cookie-modal {
    padding: 15px 3px 8px 5px;
    min-width: 0;
  }
}

/* ===================
   MICRO-INTERACTIONS
   =================== */
a, .cta-btn, button, .main-nav a {
  transition: color .2s, background .22s, box-shadow .25s, border .15s, opacity .22s, transform .14s;
}

/* ==============================
   LEGAL / THANK YOU SECTIONS
   ============================== */
.legal {
  background: #fafcff;
  min-height: 100vh;
}
.legal .container {
  padding-top: 35px;
  padding-bottom: 50px;
}
.legal .content-wrapper {
  gap: 10px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(21,44,70,0.05);
  border-radius: 17px;
  padding: 32px 38px 30px 24px;
  margin: 0 auto;
  max-width: 700px;
}
.thankyou .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.thankyou ul {
  list-style-position: inside;
  text-align: left;
}

/* =========================
   MONOCHROME ELEGANT EXTRAS
   ========================= */
section, .section, .card {
  background: #fff;
}

@media (max-width: 640px) {
  .legal .content-wrapper {
    padding: 14px 5px 15px 4px;
  }
}
