/* 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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F5F7FA;
}
body {
  background: #F2F4F8; /* secondary bg muted per guidelines */
  color: #232628;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 22px;
}
a {
  color: #17415D;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #C25A00;
  text-decoration: underline;
}
strong {
  font-weight: 600;
  color: #17415D;
}
button, .cta-btn {
  font: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: #17415D;
  color: #FFF;
  padding: 12px 32px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border-radius: 24px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  box-shadow: 0 2px 16px 0 rgba(23,65,93,0.07);
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta-btn {
  background: #E37222;
  color: #FFF;
  border: 1px solid #E37222;
  box-shadow: 0 2px 12px 0 rgba(227,114,34,0.08);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus, button:hover, button:focus {
  background: #C25A00;
  color: #FFF;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 24px 0 rgba(23,65,93,0.10);
}

/* TYPOGRAPHY - ELEGANT/CLASSIC */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #17415D;
  margin-bottom: 16px;
  line-height: 1.18;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  font-size: 1rem;
  color: #232628;
  margin-bottom: 14px;
}

/* CONTAINERS & SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(23,65,93,0.07);
  padding: 40px 28px;
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > section:last-child .content-wrapper {
  margin-bottom: 0;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(23,65,93,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 18px 0;
  position: relative;
  z-index: 21;
}
header > a img {
  max-height: 46px;
  margin-right: 20px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 22px;
}
header nav a {
  font-family: 'Montserrat',Georgia,serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: #17415D;
  padding: 4px 0 0px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.16s, color 0.16s;
}
header nav a:hover, header nav a.active {
  color: #C25A00;
  border-color: #C25A00;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #17415D;
  font-size: 2.1rem;
  margin-left: 18px;
  padding: 2px 10px;
  border-radius: 50%;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E37222;
  color: #fff;
}

.cta-btn {
  margin-left: auto;
  margin-right: 0;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,65,93,0.97);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 28px 28px 18px 0;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E37222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 0 32px;
  margin-top: 50px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat',Georgia,serif;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #E37222;
  border-bottom: 2px solid #E37222;
}

@media (max-width: 1024px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 840px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* HERO SECTION */
.hero {
  background: #F2F4F8;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 52px 0 42px;
  margin: 0;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.08rem;
  margin-bottom: 20px;
}

/* FEATURE GRID / FLEXBOX CONTAINERS */
.features-section, .about-section, .testimonials-section, .search-section, .services-section, .legal-section, .contact-section, .footer-section {
  margin-bottom: 0;
}
.feature-grid, .step-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.feature-item, .service-card, .step-grid > div {
  background: #F9FAFB;
  border-radius: 14px;
  box-shadow: 0 4px 22px 0 rgba(23,65,93,0.06);
  padding: 22px 20px 18px 20px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .14s;
}
.feature-item img, .service-card img, .step-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: grayscale(13%);
  opacity: 0.93;
}
.feature-item:hover, .service-card:hover, .step-grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(23,65,93,0.13);
  transform: translateY(-3px) scale(1.026);
}
.service-card .service-price {
  font-weight: 600;
  font-size: 1.15rem;
  color: #17415D;
  margin-top: 10px;
}

/* TESTIMONIALS */
.testimonials-section {
  margin-top: 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f7fafb;
  border: 1px solid #E1E5EB;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(23,65,93,0.05);
  font-size: 1.05rem;
  color: #17415D;
  transition: border-color .15s, box-shadow .16s;
  flex-wrap: wrap;
}
.testimonial-card p {
  flex: 1 1 100px;
  color: #17415D;
  background: none;
  font-size: 1.05rem;
  margin: 0 0 0 0;
}
.testimonial-card span {
  font-size: 1rem;
  color: #232628;
  font-style: italic;
  margin-left: auto;
}
.testimonial-card strong {
  color: #C25A00;
}
.testimonial-card:hover {
  border-color: #E37222;
  box-shadow: 0 4px 20px 0 rgba(23,65,93,0.13);
}

/* FOOTER */
footer {
  width: 100%;
  background: #17415D;
  color: #fff;
  padding: 0;
  box-shadow: 0 -2px 12px 0 rgba(23,65,93,0.10);
  margin-top: 60px;
}
.footer-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  background: transparent;
  box-shadow: none;
  padding: 40px 0 35px 0;
  border-radius: 0;
  margin-bottom: 0;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 180px;
}
.brand-footer img {
  height: 46px;
  margin-bottom: 10px;
}
.tagline {
  font-size: 1rem;
  color: #F2F4F8;
  font-family: 'Montserrat',Georgia,serif;
  font-weight: 400;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  font-family: 'Montserrat',Georgia,serif;
}
.footer-menu a:hover {
  color: #E37222;
  border-bottom: 1px solid #C25A00;
}
.footer-contact ul {
  list-style: none;
  font-size: 0.97rem;
  color: #F2F4F8;
  font-family: 'Roboto',Georgia,serif;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color .14s;
}
.footer-contact a:hover {
  color: #E37222;
}

/* CONTENT GRID & FLEX SECTIONS */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 3px 12px 0 rgba(23,65,93,0.04);
  transition: box-shadow .15s, transform .12s;
}
.card:hover {
  box-shadow: 0 6px 26px 0 rgba(23,65,93,0.10);
  transform: translateY(-2px) scale(1.014);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* MAP EMBED PLACEHOLDER */
.map-embed-placeholder {
  background: #F2F4F8;
  border: 1px solid #E1E5EB;
  border-radius: 14px;
  padding: 24px 12px;
  margin-bottom: 20px;
  min-height: 70px;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #17415D;
  font-size: 1.07rem;
}

/* LEGAL & UTILITY SECTIONS */
.legal-section {
  margin-bottom: 30px;
}
.legal-section h1, .legal-section h2 {
  color: #17415D;
}

/* FORMS IN CONTACT (IF PRESENT) */
input, textarea, select {
  font-family: 'Roboto',Georgia,serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #E1E5EB;
  color: #17415D;
  padding: 10px 12px;
  background: #F7FAFB;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E37222;
  outline: none;
}

/* COOKIE BANNER BOTTOM FIXED */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #FFF;
  border-top: 1px solid #E1E5EB;
  box-shadow: 0 -3px 22px 0 rgba(23,65,93,0.11);
  padding: 24px 12px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transition: transform .31s cubic-bezier(.75,0,.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner p {
  font-size: 1.03rem;
  color: #232628;
  margin: 0 0 0 0;
  flex: 2 1 200px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex: 1 1 100px;
}
.cookie-banner .cookie-btn {
  min-width: 120px;
  background: #FFF;
  color: #17415D;
  border: 1.5px solid #17415D;
  border-radius: 18px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .12s;
  padding: 10px 18px;
  box-shadow: 0 2px 7px 0 rgba(23,65,93,0.04);
  margin: 0 2px;
}
.cookie-banner .cookie-btn.accept {
  background: #E37222;
  color: #fff;
  border-color: #E37222;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #17415D;
  border-color: #17415D;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #C25A00;
  border-color: #C25A00;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #17415D;
  color: #fff;
  border-color: #C25A00;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #C25A00;
  color: #fff;
  border-color: #C25A00;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,38,40,0.46);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  padding: 32px 26px 26px 32px;
  border-radius: 16px;
  box-shadow: 0 6px 32px 0 rgba(23,65,93,0.18);
  max-width: 430px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px;
  position: relative;
  animation: modalIn .31s cubic-bezier(0.73,0,0.34,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(40px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal .cookie-modal-header {
  font-family: 'Montserrat',Georgia,serif;
  font-weight: 700;
  font-size: 1.27rem;
  color: #17415D;
  margin-bottom: 8px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 20px;
  top: 14px;
  background: transparent;
  color: #C25A00;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .category-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .category-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  color: #17415D;
  background: #F2F4F8;
  padding: 10px 14px;
  border-radius: 10px;
}
.cookie-modal .category-list label {
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal .category-list input[type="checkbox"] {
  accent-color: #E37222;
  width: 22px;
  height: 22px;
}
.cookie-modal .category-list input[type="checkbox"].always {
  accent-color: #17415D;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-btn {
  background: #E37222;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 14px;
  font-family: 'Montserrat',Georgia,serif;
  font-size: 1.03rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.cookie-modal .cookie-modal-btn:hover, .cookie-modal .cookie-modal-btn:focus {
  background: #C25A00;
}

/* === RESPONSIVE DESIGN (Mobile First) === */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .container {
    padding: 0 6px;
  }
  header {
    padding: 10px 0;
  }
  .content-wrapper {
    padding: 26px 12px;
    border-radius: 10px;
  }
  .feature-grid, .step-grid, .service-grid, .card-container, .content-grid, .footer-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .service-card, .step-grid > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .hero .content-wrapper {
    padding: 30px 0 26px;
  }
  .footer-section {
    padding: 24px 0 22px 0;
  }
  .testimonials-section {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 9px;
  }
  .section {
    padding: 24px 2px;
    margin-bottom: 38px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .tagline {
    font-size: 0.92rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 6px 18px 12px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* PRINT SANITY */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .content-wrapper, .container { box-shadow:none !important; background: #fff !important; color: #232628; }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
a, button, .cta-btn, input, select {
  transition: color .12s, background .16s, box-shadow .14s, border-color .12s;
}

/* MISC FIXES / UTILITY */
::-webkit-input-placeholder { color: #98A6B7; opacity:1; }
::-moz-placeholder { color: #98A6B7; opacity:1; }
:-ms-input-placeholder { color: #98A6B7; opacity:1; }
::placeholder { color: #98A6B7; opacity:1; }

hr {
  border: 0;
  border-top: 1px solid #E1E5EB;
  margin: 28px 0 28px 0;
}

/* Hide unnecessary scroll when mobile menu/cookie shown */
body.menu-open, body.cookie-modal-open { overflow: hidden; }
