/* ------------- CSS RESET & NORMALIZE -------------- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, pre, blockquote, figure, input, textarea, button { margin: 0; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }
:focus { outline: 2px solid #222; outline-offset: 2px; }

/* ---------- ROOT VARIABLES - Monochrome Sophisticated Palette ---------- */
:root {
  --brand-primary: #185D8F;
  --brand-accent: #0A6D49;
  --text-base: #222222;
  --text-light: #FFF;
  --gray-800: #222;
  --gray-700: #333;
  --gray-600: #444;
  --gray-500: #6e7581;
  --gray-400: #aaa;
  --gray-200: #e4e4e7;
  --gray-100: #F7F7F7;
  --white: #FFF;
  --error: #bb2222;
  --success: #25B382;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.07), 0 1.5px 6px rgba(0,0,0,0.08);
  --shadow-strong: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

body {
  min-height: 100vh;
  background: var(--gray-100);
  color: var(--text-base);
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------ TYPOGRAPHY (Montserrat for display, Lato for body) ------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--gray-800);
  margin-bottom: 16px;
}
h1 { font-size: 2.625rem; line-height: 1.125; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.375rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 10px; }
p, ul, ol, li, .content-wrapper, .text-section, .contact-details, table {
  font-size: 1rem; color: var(--gray-700);
}
p { margin-bottom: 16px; }
strong { font-weight: 700; color: var(--gray-800); }

/* ------ MAIN CONTAINER & SECTION SPACING ------ */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 24px;
  margin: 0 auto;
  display: flex; flex-direction: column;
}
.section {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section { margin-bottom: 16px; }

/* ------ FLEXBOX MANDATORY PATTERNS ------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-soft);
  padding: 24px;
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(20,20,30,.03);
  color: var(--gray-800);
  font-size: 1rem;
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- HEADER, NAVIGATION & MOBILE MENU ------------- */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(20,20,30,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 20px;
}
.logo img, .logo-footer img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gray-200);
  color: var(--brand-primary);
}
.main-nav .cta.primary {
  background: var(--gray-800);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 1px 5px rgba(0,0,0,.03);
  border: none;
  margin-left: 9px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: var(--brand-primary);
  color: var(--white) !important;
  transform: scale(1.04);
}
/* Mobile Burger Icon */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  margin-left: 8px;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: none;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--gray-200);
  color: var(--brand-primary);
}
/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,20,25,0.97);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.42,0,.32,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open { /* class added by JS when open */
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--white);
  border: none;
  font-size: 2.2rem;
  padding: 16px 20px 10px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--brand-accent); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.225rem;
  color: var(--white);
  line-height: 2.4rem;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: color .16s, background .25s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: var(--gray-600);
}

/* Media Query for Menu Responsive */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu { display: none!important; }
}

/* ----------- HERO SECTION ----------- */
.hero {
  background: var(--gray-800);
  color: var(--white);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 48px 0;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 660px;
}
.hero h1,
.hero h2 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(30,30,30,.22);
}
.hero h1 { font-size: 3rem; margin-bottom: 8px; font-weight: 800; }
.hero h2 { font-size: 1.4rem; font-weight: 500; color: var(--gray-200); margin-bottom: 16px; }
.hero p { font-size: 1.125rem; color: var(--gray-100); margin-bottom: 32px; }

/* ---------- CTA BUTTONS ---------- */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 11px 28px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  background: var(--gray-800);
  color: var(--white);
}
.cta.primary {
  background: var(--brand-primary);
  color: var(--white);
}
.cta:hover, .cta:focus {
  background: var(--brand-accent);
  color: var(--white);
  box-shadow: var(--shadow-strong);
  transform: translateY(-1px) scale(1.025);
}
.cta:active {
  background: var(--gray-600);
}

/* ---- FEATURES LIST ---- */
.features { background: var(--white); }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 14px;
  color: var(--gray-800);
  min-width: 240px; max-width: 340px;
  box-shadow: 0 1px 7px rgba(0,0,0,.02);
}
.feature-list img {
  width: 34px; height: 34px; flex-shrink: 0;
}

/* ---- SERVICES & ADVANTAGE LISTS ---- */
.service-list, .service-details, .advantage-list, .offers-list, .steps-list, .business-accolades {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 1.1em;
  margin-bottom: 12px;
  color: var(--gray-800);
}
.service-list strong,
.service-details h3 {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.07em;
}
.service-details li,
.offers-list li,
.advantage-list li { padding: 10px 0 8px; border-bottom: 1px solid var(--gray-200); }
.service-details li:last-child,
.offers-list li:last-child,
.advantage-list li:last-child { border-bottom: none; }

.steps-list li {
  counter-increment: step;
  font-size: 1.02rem;
  padding-left: 0.7em;
  position: relative;
  color: var(--gray-700);
}
.steps-list li::before {
  content: counter(step) '.';
  color: var(--brand-accent);
  font-weight: bold;
  position: absolute; left: -20px;
}

/* ------- TESTIMONIALS ------- */
.testimonials, .testimonial-spotlight {
  background: var(--gray-800);
  padding: 40px 0 60px 0;
  color: var(--white);
}
.testimonials h2, .testimonial-spotlight h1 {
  color: var(--white);
}

.testimonials .container, .testimonial-spotlight .container {
  flex-direction: column;
  gap: 0;
}
.testimonial-card {
  background: var(--white);
  color: var(--gray-800);
  margin-bottom: 20px;
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .21s, transform .23s;
}
.testimonial-card p {
  font-size: 1.07rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: var(--brand-accent);
  font-size: 0.98em;
  font-weight: 700;
}

.business-accolades {
  background: var(--gray-100);
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  padding: 15px 22px;
  margin-top: 14px;
  gap: 11px;
}

/* ------------- CONTACT & DETAILS -------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05em;
  color: var(--gray-700);
}
.contact-details a {
  color: var(--brand-primary);
  font-weight: 500;
  text-decoration: underline;
  transition: color .17s;
}
.contact-details a:hover,
.contact-details a:focus {
  color: var(--brand-accent);
}
.map-placeholder {
  margin-top: 18px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.map-placeholder img { width: 38px; height: 38px; }

/* ------------- PRICING TABLE -------------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
  color: var(--gray-800);
}
.pricing-table th {
  background: var(--gray-100);
  font-weight: 700;
  color: var(--gray-800);
  border-bottom: 2px solid var(--gray-200);
}
.pricing-table tr {
  border-bottom: 1px solid var(--gray-200);
}
.pricing-table tr:last-child { border-bottom: none; }

/* ------------- FOOTER -------------- */
footer {
  background: var(--gray-800);
  color: var(--gray-200);
  padding: 36px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-footer img { height: 36px; opacity: 0.92; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  align-items: center;
}
.footer-nav a {
  color: var(--gray-100);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.85;
  transition: color .18s, opacity .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
  opacity: 1;
}
.footer-copy {
  margin-top: 10px;
  font-size: 0.99rem;
  color: var(--gray-400);
  flex-basis: 100%;
  text-align: right;
}

/* ------------- COOKIE CONSENT BANNER & MODAL -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--gray-800);
  color: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.16);
  z-index: 3333;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 5vw 18px 27px;
  font-size: 1.05rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 1;
  transition: opacity .35s, transform .33s;
}
.cookie-banner[hidden] {
  opacity: 0;
  transform: translateY(65px);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  margin-left: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background .22s, color .2s, transform .18s;
}
.cookie-banner .accept-all {
  background: var(--brand-accent);
  color: var(--white);
}
.cookie-banner .reject-all {
  background: var(--gray-400);
  color: var(--gray-800);
}
.cookie-banner .cookie-settings {
  background: none;
  color: var(--white);
  text-decoration: underline;
  padding: 8px 12px;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  transform: scale(1.05);
}
.cookie-banner .accept-all:hover { background: var(--success); }
.cookie-banner .reject-all:hover { background: var(--error); color: var(--white); }
.cookie-banner .cookie-settings:hover { color: var(--brand-primary); }

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  z-index: 4444;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,24,32,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--gray-800);
  padding: 38px 28px 26px 28px;
  border-radius: 18px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: var(--shadow-strong);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
  font-size: 1.25rem;
  color: var(--brand-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 10px 0 14px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 18px;
  height: 18px;
  border-radius: 5px;
  margin-right: 7px;
}
.cookie-category .cookie-label { font-weight: 500; }
.cookie-modal-content .modal-actions {
  display: flex; gap: 19px; margin-top: 10px; align-items: center;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 1.7rem;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--brand-accent);
}

/* ------------- OTHER PAGE-SPECIFIC SECTIONS ------------- */
.privacy-section, .gdpr-section, .cookies-section, .terms-section, .thank-you-section, .about-story, .team, .advantages, .service-story,
.services-listings, .how-we-work, .special-offers, .contact-section, .free-consultation, .contact-summary {
  background: var(--white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ------ GENERAL UTILITIES ------ */
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ------ RESPONSIVE DESIGN (MOBILE-FIRST) ------ */
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section, .about-story, .team, .advantages, .service-story, .services-listings, .how-we-work, .special-offers, .contact-section, .free-consultation, .contact-summary {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 10px;
  }
  .main-nav { display:none !important; }
  .mobile-menu-toggle { display: block; }
  .feature-list,
  .service-list,
  .offers-list,
  .advantage-list,
  .business-accolades,
  .contact-details {
    gap: 11px;
    min-width: 0;
    max-width: 100%;
  }
  .feature-list li,
  .service-details li {
    min-width: 170px !important;
    max-width: 100% !important;
    padding: 10px 9px 10px 9px;
  }
  .footer-nav {
    gap: 11px;
    flex-wrap: wrap;
  }
  .footer-copy { text-align: left; margin-top: 7px; }
  .hero { padding: 38px 0 28px 0; }
  .hero h1 { font-size: 2.1rem; }
  .hero h2 { font-size: 1.07rem; }
  .testimonial-card { padding: 11px; }
  .testimonial-card strong { font-size: .93em; }
  .map-placeholder { padding: 10px; gap: 7px; }
  .pricing-table th, .pricing-table td { padding: 10px 6px; font-size: 0.99rem; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 13px; }
  .mobile-nav { margin: 34px 0 0 16px; gap: 20px; }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 17px 5vw 14px 6vw;
    font-size: 0.97rem;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 94vw;
    padding: 20px 4vw 16px 4vw;
  }
}

/* ------ FINE CSS ------ */
