/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #253149;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
a {
  color: #253149;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #799662;
  outline: none;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  height: 1px;
  background: #F6F4EF;
  margin: 2em 0;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: #253149;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #253149;
  letter-spacing: -0.015em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #253149;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
p, blockquote, ul, ol, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #253149;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #799662;
  background: #F6F4EF;
  margin: 0 0 16px 0;
  padding: 16px 24px;
  color: #253149;
}
.text-section ul, .text-section ol {
  margin-bottom: 20px;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(37, 49, 73, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  flex: 1 1 240px;
}
.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #F6F4EF;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(37,49,73,0.08);
  font-size: 1.07rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PAGE-SPECIFIC LAYOUTS */
.hero {
  padding: 70px 0 60px 0;
  background: #F6F4EF;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.features {
  background: transparent;
  padding: 36px 0 30px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px 0 rgba(37, 49, 73, 0.07);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 30px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(37, 49, 73, 0.13);
  transform: translateY(-2px) scale(1.012);
}
.services-preview ul,
.about-short ul,
.contact-short ul {
  list-style: none;
  padding: 0;
}
.services-preview ul li::before,
.about-short ul li::before,
.contact-short ul li::before {
  content: '\2714';
  color: #799662;
  margin-right: 8px;
  font-size: 1em;
}
.about-short img, .contact-short img, .contact-details img, .footer-contact img {
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
}
.service-tiles, .project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 24px 0;
}
.service-tiles > div, .project-highlights > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(37,49,73,0.08);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 26px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.service-tiles > div:hover, .project-highlights > div:hover {
  box-shadow: 0 6px 28px 0 rgba(37,49,73,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* BUTTONS */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: #253149;
  color: #fff !important;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 1px 8px rgba(37,49,73,0.04);
  transition: background 0.16s, color 0.16s, box-shadow 0.17s, transform 0.12s;
  margin-top: 10px;
  text-align: center;
}
.primary-btn:hover, .primary-btn:focus {
  background: #799662;
  color: #fff !important;
  box-shadow: 0 5px 22px rgba(121,150,98, 0.16);
  transform: translateY(-1px) scale(1.01);
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(37, 49, 73, 0.04);
  position: relative;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 18px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.main-nav > a {
  color: #253149;
  font-weight: 500;
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
.main-nav > a.primary-btn {
  margin-left: 8px;
}
.main-nav > a:not(.primary-btn):hover, .main-nav > a:not(.primary-btn):focus {
  background: #F6F4EF;
  color: #799662;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 17px;
}
.mobile-menu-toggle {
  display: none;
  background: #253149;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  border-radius: 8px;
  padding: 6px 18px 8px 18px;
  cursor: pointer;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 1020;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #799662;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.37,1.17,.65,.91);
  box-shadow: 0 2px 44px 0 rgba(37,49,73,0.21);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  right: 24px;
  top: 24px;
  background: none;
  color: #253149;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 100px 32px 0 32px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  width: 100%;
  color: #253149;
  border-radius: 8px;
  padding: 12px 8px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F4EF;
  color: #799662;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #F6F4EF;
  padding-top: 36px;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #253149;
}
.footer-logo img {
  height: 34px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: #253149;
  font-size: 1rem;
  border-radius: 6px;
  padding: 3px 0 3px 0;
  transition: color 0.14s, background 0.14s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #799662;
  background: #F6F4EF;
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #253149;
}
.footer-bottom {
  padding: 18px 0 8px 0;
  text-align: center;
  color: #8f9db4;
  font-size: 0.95rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #253149;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 20px 16px 20px;
  z-index: 9998;
  box-shadow: 0 -3px 34px 0 rgba(37, 49, 73, 0.12);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.39,.87,.57,1.08), opacity 0.26s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  flex: 2 1 260px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 30px;
  border: none;
  border-radius: 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #253149;
  transition: background 0.14s, color 0.13s, box-shadow 0.16s;
  box-shadow: 0 1px 5px rgba(37,49,73,0.05);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #799662;
  color: #fff;
}
.cookie-btn.secondary {
  background: #F6F4EF;
  color: #253149;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #253149;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #253149;
  color: #fff;
  border-color: #799662;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40, 46, 57, 0.27);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal-backdrop.open {
  display: block;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 96vw;
  width: 390px;
  background: #fff;
  color: #253149;
  border-radius: 16px;
  box-shadow: 0 8px 36px rgba(37,49,73,0.18);
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 32px 28px 24px 28px;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal .cookie-btn-group {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  color: #253149;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.toggle-slider {
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #F6F4EF;
  border-radius: 16px;
  transition: background 0.17s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #799662;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(14px);
}
.toggle-switch[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

/* FORMS (if used in future) */
input[type='text'], input[type='email'], textarea {
  border: 1px solid #d9e0ef;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F4EF;
  color: #253149;
  box-sizing: border-box;
  transition: border 0.17s, background 0.12s;
}
input:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #799662;
  background: #fff;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #253149;
  display: inline-block;
}

/* UTILITIES */
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.gap-20 {
  gap: 20px;
}
.rounded {
  border-radius: 10px;
}
.shadow-subtle {
  box-shadow: 0 1px 8px rgba(37,49,73,0.07);
}

/* RESPONSIVE & MOBILE FIRST */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
  }
  .main-nav {
    gap: 15px;
  }
  .footer-content {
    gap: 16px;
  }
  .service-tiles, .project-highlights, .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 800px) {
  .service-tiles > div, .project-highlights > div, .feature-grid > div {
    min-width: 170px;
    padding: 18px 11px 12px 11px;
  }
  .footer-content, .card-container, .content-grid {
    gap: 10px;
  }
  .main-nav {
    padding: 14px 0;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    padding: 34px 0 26px 0;
  }
  .feature-grid, .service-tiles, .project-highlights {
    flex-direction: column;
    gap: 14px;
  }
  .features, .section {
    padding: 18px 0 16px 0;
    margin-bottom: 38px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-logo {
    margin-bottom: 8px;
  }
  .footer-links {
    flex-direction: row;
    gap: 16px;
  }
  .footer-contact li {
    margin-bottom: 7px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 11px;
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  .mobile-menu {
    padding-top: 0;
  }
  .mobile-nav {
    padding: 70px 8vw 0 8vw;
    font-size: 1.08rem;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .hero {
    padding: 15px 0 14px 0;
  }
  .container {
    padding: 0 6px;
  }
  .cookie-modal {
    width: 96vw;
    padding: 24px 10px 16px 10px;
  }
  .mobile-nav {
    padding-top: 60px;
    gap: 13px;
  }
}

/* ANIMATION FOR MOBILE MENU/COOKIE */
.mobile-menu {
  will-change: transform, opacity;
}
.cookie-banner, .cookie-modal {
  will-change: transform, opacity;
}

/* MISC */
::-webkit-input-placeholder { color: #8f9db4; }
::-moz-placeholder { color: #8f9db4; }
:-ms-input-placeholder { color: #8f9db4; }
::placeholder { color: #8f9db4; }

/* ACCESSIBILITY */
a:focus-visible, button:focus-visible {
  outline: 2px solid #799662;
  outline-offset: 3px;
}

/* NO OVERLAP, ADEQUATE SPACING */
.section, .about-brand, .about-values, .services-overview, .services-specialties, .services-cta, .projects-list, .projects-cta, .thank-you-section, .privacy-policy, .terms-section, .gdpr-section, .cookie-policy, .testimonials-detail, .contact-main, .contact-cta, .about-short, .features, .services-preview, .testimonials-preview, .contact-short {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* REMOVE ABSOLUTE FROM CARDS - only decorative allowed elsewhere */
/* -- No card positions absolute except as otherwise specified (eg. close buttons) -- */
