/* -----------------------------------------------------
   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;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F8F7F3;
  color: #174145;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #174145;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B4975A;
}
strong {
  font-weight: 600;
}
ul,
ol {
  padding-left: 1.25em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #174145;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* -----------------------------------------------------
   CONTAINER, SECTION, LAYOUTS (FLEXBOX ONLY)
------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Card Container */
.card-container, .features-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .feature, .step {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(23,65,69,0.07);
  padding: 32px 20px;
  transition: box-shadow 0.2s;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 100%;
}
.card:hover, .feature:hover, .step:hover {
  box-shadow: 0 8px 24px rgba(23,65,69,0.13);
}
.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;
  margin-bottom: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  background: #F8F7F3;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(23,65,69,0.09);
  color: #174145;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.map-embed-placeholder {
  width: 100%;
  height: 180px;
  background: #dde5e7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 18px 0;
}

/* -----------------------------------------------------
   HEADER & NAVIGATION (INCLUDING MOBILE MENU)
------------------------------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid #EAEEF1;
  box-shadow: 0 2px 8px rgba(23,65,69,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo img, .logo-footer img {
  height: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #174145;
  padding: 6px 4px;
  border-radius: 3px;
  transition: color 0.15s, background 0.15s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B4975A;
  background: #F8F7F3;
}
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #174145;
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-align: center;
  box-shadow: 0 2px 8px rgba(23,65,69,0.09);
  transition: background 0.18s, box-shadow 0.2s, color 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B4975A;
  color: #fff;
}
.btn-link {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #B4975A;
  background: none;
  padding: 0;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.16s;
}
.btn-link:hover, .btn-link:focus {
  color: #174145;
}

/* -----------------------------------------------------
   HERO SECTION
------------------------------------------------------ */
.hero {
  background: linear-gradient(90deg, #E6EEF0 0%, #F8F7F3 100%);
  padding-top: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid #EAEEF1;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #174145;
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 30px;
  max-width: 650px;
  color: #284C50;
}

/* -----------------------------------------------------
   FEATURES, SERVICES, STEPS
------------------------------------------------------ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature {
  flex: 1 1 220px;
  max-width: 250px;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(23,65,69,0.07);
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature:hover {
  box-shadow: 0 8px 24px rgba(23,65,69,0.15);
}
.feature img {
  height: 34px;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.09rem;
  margin-bottom: 7px;
}
.feature p {
  font-size: 0.97rem;
  color: #284C50;
  margin-bottom: 0;
}
.services-list, .steps-list {
  margin: 0 0 20px 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.steps-list li {
  font-size: 1.03rem;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.steps-list img {
  height: 30px;
  width: 30px;
}

/* -----------------------------------------------------
   TESTIMONIALS
------------------------------------------------------ */
.testimonial-card {
  font-style: italic;
  font-size: 1.10rem;
  background: #F8F7F3;
  border-left: 5px solid #B4975A;
  color: #174145;
  min-width: 220px;
  max-width: 650px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(23,65,69,0.07);
  border-radius: 10px;
  padding: 20px 32px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card span {
  display: block;
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  color: #284C50;
  margin-top: 8px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 24px rgba(23,65,69,0.11);
  border-left-color: #174145;
}

/* -----------------------------------------------------
   CONTACT, FOOTER
------------------------------------------------------ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-details p, .footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
  border-top: 1px solid #EAEEF1;
  background: #fff;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #174145;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B4975A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  color: #284C50;
}
.logo-footer img {
  height: 32px;
}

/* -----------------------------------------------------
   BUTTON STYLES & MICRO-INTERACTIONS
------------------------------------------------------ */
.btn-primary, .btn-link, .btn-cookie {
  outline: none;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  cursor: pointer;
}
.btn-primary:active {
  background: #121f1e;
  color: #fff;
}
.btn-cookie {
  background: #B4975A;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  padding: 10px 24px;
  margin-right: 14px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(23,65,69,0.08);
}
.btn-cookie:last-child {
  margin-right: 0;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #174145;
  color: #fff;
}
.btn-cookie-secondary {
  background: #fff;
  color: #B4975A;
  border: 1.5px solid #B4975A;
}
.btn-cookie-secondary:hover, .btn-cookie-secondary:focus {
  background: #B4975A;
  color: #fff;
}

/* -----------------------------------------------------
   MOBILE MENU & NAVIGATION
------------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 1201;
  top: 20px;
  right: 20px;
  background: #174145;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  border: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(23,65,69,0.13);
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #B4975A;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 2px 0 24px rgba(23,65,69,0.14);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 26px;
  margin-left: 26px;
  font-size: 2rem;
  color: #174145;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F8F7F3;
  color: #B4975A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 64px 0 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #174145;
  font-weight: 600;
  background: none;
  border-bottom: 1px solid #EAEEF1;
  padding-bottom: 9px;
  margin-right: 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B4975A;
}

/* Hide main nav & show mobile menu on small screens */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

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

/* -----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #174145;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 20px;
  box-shadow: 0 -2px 16px rgba(23,65,69,0.17);
  border-radius: 18px 18px 0 0;
  animation: cookieSlideUp 0.6s cubic-bezier(0.4,0,0.2,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.01rem;
  max-width: 740px;
  margin-right: 24px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1999;
  background: rgba(23,65,69, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.33s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-content {
  width: 96vw;
  max-width: 420px;
  background: #fff;
  padding: 30px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(23,65,69,0.22);
  color: #174145;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.cookie-modal .modal-content h3 {
  font-size: 1.32rem;
  color: #174145;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #284C50;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #EAEEF1;
  border-radius: 24px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #B4975A;
}
.cookie-switch:disabled {
  background: #dde5e7;
  cursor: not-allowed;
}
.cookie-switch::after {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
  box-shadow: 0 1px 3px rgba(23,65,69,0.10);
}
.cookie-switch:checked::after {
  left: 19px;
  background: #fff;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* Hide cookie modal by default; use .open to show */
.cookie-modal {
  display: none;
}
.cookie-modal.open {
  display: flex;
}

/* Hide cookie banner by default; use .show to display */
.cookie-banner {
  display: none;
}
.cookie-banner.show {
  display: flex;
}

/* -----------------------------------------------------
   RESPONSIVENESS & FLEX LAYOUT ADJUSTMENTS
------------------------------------------------------ */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 22px;
    padding-top: 22px;
  }
}
@media (max-width: 992px) {
  .features-grid {
    justify-content: center;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 26px;
  }
}
@media (max-width: 860px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .footer-wrapper {
    gap: 20px;
    padding-bottom: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section {
    padding: 28px 8px;
    margin-bottom: 30px;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: 0;
    max-width: 100%;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    padding: 18px 12px;
    font-size: 1.01rem;
  }
  .footer-wrapper {
    padding: 12px 0 8px 0;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 10px;
    border-radius: 12px 12px 0 0;
  }
  .cookie-banner p { font-size: 0.99rem; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .hero p { font-size: 1rem; }
  .logo img, .logo-footer img { height: 26px; }
  .testimonial-card {
    padding: 10px 6px;
  }
  .cookie-modal .modal-content {
    padding: 12px 7px;
    border-radius: 10px;
  }
}

/* -----------------------------------------------------
   ACCESSIBLE FOCUS STATES
------------------------------------------------------ */
a:focus, button:focus, input:focus, .btn-primary:focus, .btn-link:focus {
  outline: 2px solid #B4975A;
  outline-offset: 2px;
}

/* -----------------------------------------------------
   UTILITIES
------------------------------------------------------ */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }
.hide { display: none !important; }

/* -----------------------------------------------------
   PRINT STYLES
------------------------------------------------------ */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  .section { padding: 0 !important; }
}

/* ---------------------------- END ------------------ */