/* ========================================================================
   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, 
main, 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 {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #F1F5F8;
  color: #2B3C4E;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #6C9C85;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2B3C4E;
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}
button {
  cursor: pointer;
}

/* ========================================================================
   BRAND TYPOGRAPHY & UI SCALE
   ======================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2B3C4E;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: #6C9C85;
  font-size: 1.125rem;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #2B3C4E;
  margin-bottom: 16px;
}

strong, b {
  font-weight: 700;
}

/* ========================================================================
   CONTAINER & LAYOUT UTILITY CLASSES
   ======================================================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(43, 60, 78, 0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.21s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(76, 118, 95, 0.13);
  transform: translateY(-2px) scale(1.016);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(43,60,78,0.10);
  margin-bottom: 20px;
  color: #2B3C4E;
  font-size: 1rem;
  line-height: 1.6;
}
.testimonial-card p {
  font-size: 1rem;
  color: #2B3C4E;
}
.testimonial-card span {
  color: #6C9C85;
  font-weight: 700;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid,
.specialist-profiles,
.specialist-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature, .profile {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(43,60,78, 0.08);
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 220px;
}

.user-reviews, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.service-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding-left: 0;
}
.service-categories li {
  background: #6C9C85;
  color: #fff;
  border-radius: 17px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.contact-info, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-embed {
  margin-top: 24px;
  display: flex;
  align-items: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: center;
}
.badges img {
  width: 48px;
  height: 48px;
  background: #F1F5F8;
  border-radius: 8px;
  border: 1px solid #E7ECEF;
  box-shadow: 0 1px 2px rgba(76,118,95,0.05);
}

/*****************************
  Table Styles
******************************/
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(43,60,78,0.08);
  margin-bottom: 18px;
  overflow: hidden;
}
.price-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #6C9C85;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  background: #F1F5F8;
}
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #E7ECEF;
  color: #2B3C4E;
}
.price-table tr:last-child td {
  border-bottom: none;
}

/*****************************
  CTA & BUTTONS
******************************/
.cta {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.4;
  text-align: center;
  transition: background 0.22s, box-shadow 0.18s, color 0.21s, transform 0.18s;
  box-shadow: 0 2px 12px rgba(108, 156, 133, 0.07);
}
.cta.primary {
  background: #2B3C4E;
  color: #fff;
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #6C9C85;
  color: #fff;
  box-shadow: 0 2px 12px rgba(43, 60, 78, 0.13);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #6C9C85;
  border: 2px solid #6C9C85;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F1F5F8;
  color: #2B3C4E;
  border-color: #2B3C4E;
}

/*****************************
  HEADER & NAVIGATION
******************************/
header {
  background: #fff;
  border-bottom: 1px solid #E7ECEF;
  width: 100%;
  z-index: 99;
  box-shadow: 0 2px 16px rgba(43,60,78,0.02);
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.logo-link img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 7px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.main-nav a {
  color: #2B3C4E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F1F5F8;
  color: #6C9C85;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #6C9C85;
  color: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, transform 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #2B3C4E;
  transform: scale(1.05);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1002;
  box-shadow: 4px 0 32px rgba(43,60,78,0.07);
  transition: transform 0.38s cubic-bezier(0.64,0,.35,1), opacity 0.28s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #2B3C4E;
  color: #fff;
  border-radius: 12px;
  margin: 18px 22px 8px 0;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6C9C85;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 38px;
  margin-top: 28px;
}
.mobile-nav a {
  color: #2B3C4E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.18rem;
  border-radius: 7px;
  padding: 12px 6px;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1F5F8;
  color: #6C9C85;
}

/*****************************
  FOOTER
******************************/
footer {
  background: #fff;
  border-top: 1.5px solid #E7ECEF;
  margin-top: 60px;
  padding: 40px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #6C9C85;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 4px;
  padding: 4px 8px;
  transition: background 0.15s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F1F5F8;
  color: #2B3C4E;
}
.footer-contact {
  color: #2B3C4E;
  margin-bottom: 12px;
  font-size: 1rem;
}
.copyright {
  font-size: 0.98rem;
  color: #A6B1BA;
  margin-top: 10px;
}

/*****************************
  FAQ and Lists
******************************/
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #2B3C4E;
  padding-left: 4px;
  line-height: 1.6;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 10px;
  background: #A6B1BA;
  vertical-align: middle;
}
ul.service-categories li::before {
  display: none;
}

/*****************************
  Misc Layout & Decorative
******************************/
.instant-quote {
  padding: 12px 20px;
  background: #E7ECEF;
  border-radius: 10px;
  color: #2B3C4E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-top: 14px;
}
.faq {
  margin-top: 18px;
}

/*****************************
  COOKIE CONSENT BANNER & MODAL
******************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #2B3C4E;
  box-shadow: 0 -2px 16px rgba(43,60,78,0.09);
  padding: 24px 16px 20px 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  border-top: 2px solid #E7ECEF;
  transition: transform 0.34s, opacity 0.20s;
}
.cookie-banner.hide {
  transform: translateY(200%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  max-width: 440px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #2B3C4E;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 21px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
  box-shadow: 0 1px 4px rgba(43,60,78,0.09);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #6C9C85;
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #6C9C85;
  border: 2px solid #6C9C85;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F1F5F8;
  color: #2B3C4E;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43,60,78,0.18);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(43,60,78,0.16);
  padding: 40px 28px 32px 28px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 94vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: fadeInScale 0.29s cubic-bezier(0.67,0,0.21,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: #2B3C4E;
  color: #fff;
  border-radius: 12px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #6C9C85;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.37rem;
  font-weight: 600;
}
.cookie-category {
  margin-top: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #6C9C85;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3C4E;
}
.cookie-category .category-description {
  font-size: 0.98rem;
  color: #6C9C85;
  margin-left: 2px;
}

/*****************************
  RESPONSIVE DESIGN VIA FLEXBOX
******************************/
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 1010;
  }
  .cta.primary, .cta.secondary {
    font-size: 1rem;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 2px;
  }
  .content-wrapper,
  .features-grid,
  .specialist-list, .badges, .testimonial-grid, .user-reviews {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section, .contact-info, .contact-details {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .profile, .feature, .card {
    min-width: 0;
    padding: 18px 12px;
    font-size: 1rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    font-size: 0.99rem;
  }
  .badges img {
    width: 36px;
    height: 36px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 6px;
  }
  .footer-nav {
    gap: 11px;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.42rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.06rem;
    margin-bottom: 10px;
  }
  .logo-link img {
    height: 32px;
  }
}

/*****************************
  UTILITY CLASSES
******************************/
.hidden { display: none !important; }

/*****************************
  ACCESSIBILITY & FOCUS STATES
******************************/
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #6C9C85;
  outline-offset: 2px;
}

/*****************************
  MICRO-INTERACTIONS
******************************/
.cta, .btn, .card, .feature, .profile, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.18s, background 0.13s, color 0.13s, transform 0.13s;
}

/*****************************
  OVERRIDES FOR SPECIFIC HTML
******************************/
.content-wrapper.guarantees {
  flex-direction: column;
  gap: 24px;
}

/*****************************
  PRINT STYLES
******************************/
@media print {
  header, footer, .cookie-banner, .mobile-menu { 
    display: none !important;
  }
  .container { max-width: 100vw; padding: 0; }
  body { background: #fff; color: #222; }
}
