/* ---------------------------------------------------
   RESET & BASELINE
-----------------------------------------------------*/
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,
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%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #F0EDE3;
  background: #171E23;
  min-height: 100vh;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #A6876F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0EDE3;
}
ul, ol {
  margin-bottom: 1.5em;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
strong, b {
  font-weight: 700;
}
code {
  font-family: monospace;
  font-size: 95%;
  background: #22272b;
  color: #A6876F;
  padding: 0.1em 0.25em;
  border-radius: 2px;
}
hr {
  border: 0;
  height: 1px;
  margin: 32px 0;
  background: #22272b;
}

/* ---------------------------------------------------
   BRAND FONTS
-----------------------------------------------------*/
h1, h2, h3, h4, h5, h6, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #F0EDE3;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #F0EDE3;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  color: #A6876F;
}
h4, h5, h6 {
  color: #A6876F;
}
p, li {
  font-size: 1rem;
  color: #F0EDE3;
  margin-bottom: 0.8em;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
}

/* ---------------------------------------------------
   LAYOUT BASICS
-----------------------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 40px;
  }
}

/* ---------------------------------------------------
   HEADER & NAVIGATION
-----------------------------------------------------*/
header {
  background: #183842;
  border-bottom: 2px solid #22272b;
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
header .container {
  min-height: 70px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: #F0EDE3;
  padding: 8px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #A6876F;
  border-bottom: 2px solid #A6876F;
}

.cta.primary {
  background: #A6876F;
  color: #183842;
  border-radius: 32px;
  padding: 8px 28px;
  margin-left: 12px;
  font-size: 1.05rem;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(24,56,66,0.10);
  letter-spacing: .03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow .2s;
  border-bottom: none;
  outline: none;
  position: relative;
}
.cta.secondary {
  background: transparent;
  color: #A6876F;
  border: 2px solid #A6876F;
  border-radius: 32px;
  padding: 8px 28px;
  margin-left: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px 0 rgba(24,56,66,0.05);
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F0EDE3;
  color: #183842;
  box-shadow: 0 4px 16px 0 rgba(168,135,111,0.20);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #A6876F;
  color: #183842;
  border-color: #A6876F;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #F0EDE3;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 105;
  transition: color 0.2s;
  padding: 4px 16px 4px 4px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A6876F;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---------------------------------------------------
   MOBILE MENU
-----------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,56,66,0.96);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F0EDE3;
  font-size: 2rem;
  margin: 32px 0 24px 28px;
  align-self: flex-start;
  z-index: 2011;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A6876F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #F0EDE3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 8px 0;
  width: 100%;
  display: block;
  border-bottom: 2px solid transparent;
  outline: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color .2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #A6876F;
  color: #183842;
  border-bottom: 2px solid #A6876F;
}
.mobile-menu .cta {
  margin-top: 18px;
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------------------------------------------
   FOOTER
-----------------------------------------------------*/
footer {
  background: #183842;
  border-top: 2px solid #22272b;
  padding: 0;
}
footer .container {
  padding: 36px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img {
  height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin: 18px 0;
  font-size: 1rem;
}
.footer-nav a {
  color: #A6876F;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F0EDE3;
}
footer p {
  color: #A6876F;
  font-size: 0.95em;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .footer-nav {
    gap: 12px;
    font-size: 0.99rem;
    flex-direction: column;
    align-items: center;
  }
  footer .container {
    gap: 16px;
    padding: 22px 7px 10px 7px;
  }
}

/* ---------------------------------------------------
   FLEX LAYOUTS & SECTIONS
-----------------------------------------------------*/
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: space-between;
}
.feature {
  background: #232c32;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(24,56,66,0.13);
  padding: 30px 24px 24px 24px;
  flex: 1 1 240px;
  min-width: 250px;
  margin-bottom: 20px;
  border: 1.5px solid #313a41;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform .19s, box-shadow .19s, border .2s;
}
.feature:hover, .feature:focus-within {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(24,56,66,0.22);
  border: 1.5px solid #A6876F;
}
.feature img {
  width: 56px;
  filter: grayscale(25%);
}
.feature h3 {
  margin-bottom: 6px;
  color: #A6876F;
}
.feature p {
  color: #F0EDE3;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #22272b;
  border-radius: 14px;
  border: 1px solid #313a41;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px 0 rgba(24,56,66,0.10);
  transition: box-shadow 0.18s, border 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(24,56,66,0.19);
  border: 1.5px solid #A6876F;
}
.card-content {
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
}
@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .project-teaser, .feature, .card {
    min-width: 180px;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}

.section .content-wrapper {
  gap: 36px;
}
.section:last-child {
  margin-bottom: 0;
}

.projects-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.project-teaser {
  background: #22272b;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(24,56,66,0.09);
  padding: 26px 26px 18px 22px;
  min-width: 260px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  border: 1.5px solid #313a41;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, border 0.18s;
}
.project-teaser:hover, .project-teaser:focus-within {
  border: 1.5px solid #A6876F;
  box-shadow: 0 8px 26px 0 rgba(24,56,66,0.14);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

/* ---------------------------------------------------
   TESTIMONIALS
-----------------------------------------------------*/
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 18px 26px;
  margin-bottom: 20px;
  background: #F0EDE3;
  border-radius: 16px;
  box-shadow: 0 4px 14px 0 rgba(24,56,66,0.13);
  border: 1.5px solid #A6876F;
  color: #183842;
  max-width: 440px;
  min-width: 240px;
  transition: box-shadow 0.18s, border 0.18s, background .16s;
}
.testimonial-card p {
  color: #183842;
  font-size: 1.04rem;
  margin-bottom: 7px;
  line-height: 1.5;
  font-style: italic;
}
.testimonial-card span {
  color: #A6876F;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .02em;
  opacity: .85;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 26px 0 rgba(24,56,66,0.15);
  background: #ffffff;
}
@media (max-width: 900px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}

/* Ensuring ALL testimonials and reviews have high contrast readable text */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #183842 !important;
}

/* ---------------------------------------------------
   BUTTONS & INTERACTIONS
-----------------------------------------------------*/
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  outline: none;
}
button:focus, .cta:focus {
  box-shadow: 0 0 0 2px #A6876F;
  outline: none;
}

/* ---------------------------------------------------
   MISCELLANEOUS
-----------------------------------------------------*/
::-webkit-scrollbar { width: 12px; background: #22272b; }
::-webkit-scrollbar-thumb { background: #183842; border-radius: 16px; }
::-webkit-scrollbar-thumb:hover { background: #A6876F; }

input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid #A6876F;
  background: #22272b;
  padding: 10px 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F0EDE3;
  margin-bottom: 16px;
  transition: border 0.18s, background .15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #A6876F;
  background: #232c32;
  outline: none;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER
-----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #22272b;
  color: #F0EDE3;
  box-shadow: 0 -2px 28px 0 rgba(24,56,66,0.25);
  border-top: 2px solid #A6876F;
  z-index: 4000;
  padding: 26px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieBannerIn .5s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #F0EDE3;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button {
  padding: 8px 20px;
  border-radius: 28px;
  border: none;
  background: #A6876F;
  color: #183842;
  font-weight: 700;
  font-size: 1.01rem;
  transition: background 0.17s, color 0.17s, box-shadow .13s;
  box-shadow: 0 2px 10px rgba(24,56,66,0.08);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F0EDE3;
  color: #183842;
}
.cookie-banner .cookie-settings {
  background: transparent;
  border: 2px solid #A6876F;
  color: #A6876F;
  margin-left: 0;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #A6876F;
  color: #183842;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,56,66,0.89);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #232c32;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 rgba(24,56,66,0.35);
  padding: 40px 36px 32px 36px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #F0EDE3;
  animation: cookiePopupIn .35s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiePopupIn {
  from { transform: scale(0.87); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  color: #A6876F;
  margin-bottom: 10px;
}
.cookie-modal-content label {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: #A6876F;
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-content .always-on {
  color: #A6876F;
  font-size: 0.97em;
  margin-left: 8px;
}

/* Responsive cookie banner on small devices */
@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px 5px 14px 5px;
    font-size: 1rem;
  }
  .cookie-modal-content {
    padding: 18px 6vw 16px 6vw;
  }
}

/* ---------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
-----------------------------------------------------*/
.cta.primary, .cta.secondary, button, a {
  transition: background .15s, color .15s, border .16s, box-shadow .17s, transform .11s;
}
.feature, .feature img, .card, .project-teaser, .testimonial-card, .mobile-menu, .mobile-nav a, .footer-nav a {
  transition: box-shadow .17s, border .16s, background .15s, color .15s, transform .12s;
}

/* ---------------------------------------------------
   RESPONSIVE UTILITY
-----------------------------------------------------*/
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* ---------------------------------------------------
   INDUSTRIAL MODERN VISUAL ACCENTS
-----------------------------------------------------*/
/* metallic accent lines for sections */
.section {
  border-left: 7px solid #A6876F;
  border-radius: 0 20px 20px 0;
  background: rgba(24,56,66, 0.62);
  box-shadow: 2px 8px 38px 0 rgba(24,56,66,0.09);
}
@media (max-width: 600px) {
  .section {
    border-left: 3px solid #A6876F;
    border-radius: 0 9px 9px 0;
  }
}
.features-grid .feature {
  box-shadow: 0 2.5px 9px 0 rgba(168,135,111,0.08), 0 0.5px 0 0 #A6876F inset;
}

hr {
  background: #A6876F;
  opacity: .13;
}

/* ---------------------------------------------------
   FONT FACE FALLBACKS (just in case)
-----------------------------------------------------*/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v15/JTUQjIg1_i6t8kCHKm45_dJE3gTD_u50.woff2) format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  font-display: swap;
}

/* ---------------------------------------------------
   GENERAL ACCESSIBILITY
-----------------------------------------------------*/
:focus {
  outline: 2px solid #A6876F;
  outline-offset: 2px;
  z-index: 5001;
}

/* ---------------------------------------------------
   PRINT STYLES (not mandatory but best practice)
-----------------------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff;
    color: #183842;
  }
  .container, .content-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
  }
}
