/* ========== 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, 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 { box-sizing: border-box; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #fff;
  color: #2E3A4F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7E563F; text-decoration: none; font-weight: 600; transition: color 0.2s; }
a:hover, a:focus { color: #2E3A4F; text-decoration: underline; }
ul, ol { margin-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.5em; }

/* ========== BRAND TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2E3A4F;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 13px; }
h4 { font-size: 1.1rem; }
.hero h1 { font-size: 2.7rem; }
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
}
p, ul, ol {
  font-size: 1rem;
  color: #2E3A4F;
  margin-bottom: 1em;
}
strong, b { font-weight: 700; }

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

.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ========== HEADER & NAV ========== */
header {
  background: #fff;
  border-bottom: 2px solid #E5D8C3;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 18px 16px;
  gap: 25px;
}
header img { height: 48px; width: auto; margin-right: 40px; }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-right: auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #2E3A4F;
  border-radius: 6px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5D8C3;
  color: #7E563F;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: #7E563F;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 12px 32px;
  margin-left: 30px;
  box-shadow: 0 2px 12px 0 #e5d8c372;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.26s, color 0.26s, box-shadow 0.2s;
  text-shadow: 0 1px #0001;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2E3A4F;
  color: #E5D8C3;
  box-shadow: 0 4px 18px 0 #2e3a4f25;
}
/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #2E3A4F;
  cursor: pointer;
  margin-left: 23px;
  transition: color 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { color: #7E563F; }

/* ========== MOBILE NAV ========== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #2E3A4F;
  color: #fff;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.55,0,0.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #E5D8C3;
  color: #2E3A4F;
  border: none;
  font-size: 2.1rem;
  padding: 8px 18px 8px 8px;
  border-radius: 0 0 22px 0;
  cursor: pointer;
  align-self: flex-end;
  margin: 22px 18px 0 0;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.2s, color 0.2s;
  z-index: 2002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7E563F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 38px 40px 18px 40px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 12px 0 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.23s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E5D8C3;
  border-bottom: 2px solid #E5D8C3;
}

@media (max-width: 1000px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-close {
    display: none !important;
  }
}

/* ========== SECTIONS & SPACING ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section:last-child { margin-bottom: 0px; }

@media (max-width: 700px) {
  section, .section { padding: 22px 8px; margin-bottom: 38px; }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(90deg, #E5D8C3 50%, #fff 100%);
  background-color: #E5D8C3;
  box-shadow: 0 2px 12px 0 #2e3a4f11;
  border-radius: 18px;
  margin-top: 18px;
  margin-bottom: 48px;
}
.hero .container {
  align-items: center;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
}
.hero .content-wrapper { align-items: center; text-align: center; }
.hero p { color: #2E3A4F; font-size: 1.15rem; font-weight: 500; max-width: 650px; margin: 0 auto 28px auto; }

/* ========== FEATURE GRID (Flexbox Only) ========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 28px 0 0 0;
}
.feature-grid > div {
  flex: 1 1 200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 22px 0 #2e3a4f09;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform 0.12s, box-shadow 0.18s;
}
.feature-grid > div:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 4px 26px 0 #7e563f22;
}
.feature-grid img {
  height: 36px; width: 36px; margin-bottom: 4px;
}
.feature-grid h3 {
  font-size: 1.07rem;
  color: #7E563F;
  font-weight: 700;
  margin-bottom: 0;
}
.feature-grid p { color: #2E3A4F; font-size: 0.98rem; }

@media (max-width: 1000px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div { min-width: 0; }
}

/* ========== FLEXBOX UTILITY CLASSES ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #2e3a4f11;
  position: relative;
}
.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;
  background: #f8f7f5;
  border-radius: 18px;
  box-shadow: 0 2px 16px #2e3a4f14;
  margin-bottom: 20px;
  max-width: 630px;
  border: 2px solid #E5D8C3;
}
.testimonial-card p {
  color: #2E3A4F;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #7E563F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.project-highlight-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 #7e563f08;
  border-left: 7px solid #7E563F;
  padding: 18px 23px;
  margin-bottom: 20px;
}
.project-highlight-card h3 {
  color: #2E3A4F;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .content-wrapper {
    padding: 0 5px;
  }
  .testimonial-card, .project-highlight-card {
    max-width: 100%;
  }
}

/* ========== BLOG TEASER ========== */
.blog-teaser {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 #2e3a4f13;
  padding: 22px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-teaser h3 {
  color: #2E3A4F;
  font-size: 1.11rem;
  font-weight: 700;
}
.blog-teaser a {
  color: #7E563F;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 2px solid #E5D8C3;
  transition: color 0.18s, border 0.18s;
}
.blog-teaser a:hover {
  color: #2E3A4F;
  border-bottom: 2px solid #7E563F;
}

/* ========== TEXT SECTIONS ========== */
.text-section {
  background: #f8f7f5;
  border-radius: 16px;
  box-shadow: 0 2px 10px #2e3a4f10;
  padding: 32px 24px;
  margin-bottom: 20px;
}
.text-section ul, .text-section ol { margin-bottom: 0; }
.text-section li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2E3A4F;
  padding-left: 2px;
}
.text-section ul li img {
  height: 22px; width: 22px; margin-right: 8px; vertical-align: bottom; display: inline-block;
}

@media (max-width: 700px) {
  .text-section {
    padding: 18px 8px;
  }
}

/* ========== MAP PLACEHOLDER ========== */
.map-placeholder {
  background: #E5D8C3;
  border-radius: 14px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 8px #2e3a4f0a;
}

/* ========== FOOTER ========== */
footer {
  background: #2E3A4F;
  color: #fff;
  padding: 40px 0 22px 0;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7E563F;
  color: #E5D8C3;
}
footer address {
  font-style: normal;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  margin: 0 auto;
  font-size: 0.97rem;
}
footer address img {
  height: 16px;
  width: auto;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .footer-nav { flex-direction: column; align-items: center; gap: 14px; }
  footer { padding: 22px 0 14px 0; }
}

/* ========== BUTTONS ========== */
button, .cta-btn {
  outline: none;
  transition: background 0.22s, color 0.16s, box-shadow 0.17s, transform 0.15s;
  will-change: background, color, box-shadow, transform;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 650px) {
  .container { padding: 0 4px; }
  .content-wrapper, .text-section { padding: 0 2px; }
  .project-highlight-card, .testimonial-card, .feature-grid > div { padding-left: 10px; padding-right: 10px; }
  header .container { flex-direction: row; gap: 5px; }
  header img { height: 36px; margin-right: 18px; }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #2E3A4F;
  color: #fff;
  padding: 28px 18px 20px 18px;
  box-shadow: 0 -8px 22px 0 #2e3a4f2a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  transition: transform 0.43s cubic-bezier(.7,.05,.24,1.04), opacity 0.35s;
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(150%);
  pointer-events: none;
}
.cookie-banner p {
  color: #fff;
  margin: 0 22px 0 0;
  flex: 1 1 260px;
  font-size: 1.03rem;
}
.cookie-banner .cookie-btn {
  background: #7E563F;
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 11px 25px;
  margin: 0 8px 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  transition: background 0.19s, color 0.19s, box-shadow 0.17s;
  box-shadow: 0 2px 8px #7e563f23;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover { background: #E5D8C3; color: #2E3A4F; }
.cookie-banner .cookie-btn.secondary {
  background: #E5D8C3;
  color: #2E3A4F;
  font-weight: 700;
}
.cookie-banner .cookie-btn.secondary:hover { background: #fff; color: #7E563F; }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 6px 18px 6px;
  }
  .cookie-banner p{ margin: 0 0 14px 0; }
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #2e3a4fbb;
  z-index: 3010;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.04);
  background: #fff;
  color: #2E3A4F;
  border-radius: 18px;
  box-shadow: 0 8px 38px #2e3a4f35;
  min-width: 320px;
  max-width: 98vw;
  width: 370px;
  padding: 32px 24px 24px 24px;
  z-index: 3020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s, transform 0.38s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal.open {
  opacity: 1; pointer-events: all; transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: #2E3A4F;
  font-size: 1.23rem;
  font-weight: 800;
}
.cookie-modal .category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal .category-row label {
  flex: 1 1;
  color: #2E3A4F;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .category-row input[type="checkbox"] {
  accent-color: #7E563F;
  width: 20px; height: 20px;
}
.cookie-modal .category-row[disabled] label {
  color: #bbb;
  opacity: 0.8;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions .cookie-btn {
  padding: 10px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 2rem;
  background: none;
  color: #2E3A4F;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover{
  color: #7E563F;
}

/* ========== Z-INDEX MANAGMENT ========== */
header { z-index: 100; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-backdrop { z-index: 3010; }
.cookie-modal { z-index: 3020; }

/* ========== MICRO-INTERACTIONS ========== */
.card, .feature-grid > div, .project-highlight-card, .testimonial-card {
  transition: box-shadow 0.14s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover, .project-highlight-card:hover {
  box-shadow: 0 3px 36px 0 #7e563f31;
  transform: translateY(-3px) scale(1.015);
}

/* ========== MISC ==========
   Minimal tables, lists, and code block styling
*/
table {width:100%; border-collapse:collapse; margin-bottom:24px;}
th,td {border:1px solid #E5D8C3; padding:10px 16px; text-align:left;}
th {background:#E5D8C3; color:#2E3A4F; font-weight:700;}
pre,code {background:#f3f2f0; color:#7E563F; border-radius:4px; padding: 2px 8px; font-family:Menlo,Monaco,monospace; font-size:94%;}

/* ========== PRINT ========== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  section { padding: 0; margin-bottom: 20px; box-shadow: none; background: #fff !important; }
}

/* ========== END OF STYLE.CSS ========== */
