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

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.6;
  background-color: #F5F4F0;
  color: #233143;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 1.2em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #233143;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #87A248;
  outline: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
:focus {
  outline: 2px solid #87A248;
  outline-offset: 2px;
}

/* ==================== TYPOGRAPHY ========================== */
html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  background-color: #F5F4F0;
  color: #233143;
  letter-spacing: 0.01em;
}
.logo,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: 0;
  color: #233143;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote, address {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #233143;
  padding-left: 18px;
  color: #233143;
  background: #ece9e2;
  margin: 20px 0;
}
strong {
  font-weight: bold;
}
small {
  font-size: 0.9em;
}
hr {
  border: 0;
  border-top: 1px solid #e2e1dd;
  margin: 32px 0;
}

/* ================== LAYOUT & CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

/* ================ FLEXBOX PATTERNS =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,49,67,0.10);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  min-width: 280px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(35,49,67,0.14);
  transform: translateY(-3px) scale(1.015);
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(35,49,67,0.10);
  margin-bottom: 24px;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 600px;
  color: #233143;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HERO & MAJOR SECTIONS ==== */
.hero {
  padding: 64px 0 40px 0;
  background: #ece9e2;
  border-bottom: 1px solid #dedcd7;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.features {
  background: #fff;
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 18px;
}
.features .feature {
  background: #F5F4F0;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(35,49,67,0.08);
  padding: 20px 16px;
  flex: 1 1 225px;
  min-width: 190px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features .feature:hover {
  box-shadow: 0 4px 18px rgba(35,49,67,0.12);
  transform: translateY(-2px) scale(1.01);
}
.features .feature img {
  margin-bottom: 12px;
  width: 44px;
  height: 44px;
}

/* SERVICES OVERVIEW & PROCESS */
.services-overview ul,
.services ul,
.benefits ul {
  margin-bottom: 18px;
}
.services-overview li,
.services li,
.benefits li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.services-overview .btn-secondary,
.benefits .btn-primary {
  margin-top: 14px;
}
.process ol {
  margin-bottom: 16px;
}
.process li {
  margin-bottom: 10px;
}

/* CASE STUDIES / BLOG */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 8px rgba(35,49,67,0.08);
  padding: 24px 18px;
  margin-bottom: 20px;
  flex: 1 1 330px;
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project:hover {
  box-shadow: 0 4px 18px rgba(35,49,67,0.12);
  transform: translateY(-2px) scale(1.01);
}
.article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(35,49,67,0.08);
  padding: 28px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article:hover {
  box-shadow: 0 5px 17px rgba(35,49,67,0.14);
  transform: translateY(-2px) scale(1.01);
}
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #dedcd7;
  padding-top: 10px;
  margin-top: 18px;
}
.category-links a {
  background: #ece9e2;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 1rem;
  color: #233143;
  transition: background 0.17s;
}
.category-links a:hover {
  background: #87A248;
  color: #fff;
}

/* CTA SECTION */
.cta {
  background: #233143;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 44px 20px;
}
.cta h2,
.cta p {
  color: #fff;
}
.cta .btn-primary {
  margin-top: 22px;
  background: #87A248;
  color: #fff;
}

/* ABOUT SHORT, LEGAL SECTIONS, NEWSLETTER */
.about-short, .about, .team, .why-choose-us, .newsletter, .legal, .thank-you, .contact-details, .inspirations {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(35,49,67,0.05);
  margin-bottom: 38px;
}

/* ================ HEADER & SITE NAVIGATION ================ */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(35, 49, 67, 0.05);
  position: sticky;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.06rem;
  color: #233143;
  letter-spacing: 0.02em;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #ece9e2;
  color: #87A248;
}
.main-nav .btn-primary {
  margin-left: 18px;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  padding: 8px 12px;
  background: #233143;
  color: #fff;
  border-radius: 5px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: #87A248;
  color: #fff;
}

/* ================== MOBILE NAVIGATION =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,49,67,0.95);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0.7,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px 18px 6px 0;
  border: none;
  align-self: flex-end;
  margin-right: 12px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 18px 32px 38px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', serif;
  padding: 12px 0;
  width: 100%;
  transition: color 0.18s, background 0.18s;
  border-radius: 4px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #87A248;
  color: #fff;
}

/* ================== BUTTONS & LINKS ================== */
.btn-primary {
  background: #233143;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.12rem;
  padding: 13px 32px;
  border-radius: 6px;
  border: none;
  margin: 0 2px;
  transition: background 0.22s, color 0.22s, box-shadow 0.16s;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(35,49,67,0.08);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #87A248;
  color: #fff;
  box-shadow: 0 3px 10px rgba(35,49,67,0.12);
}
.btn-secondary {
  background: #87A248;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.07rem;
  padding: 10px 28px;
  border-radius: 5px;
  border: none;
  margin: 0 2px;
  transition: background 0.22s, color 0.22s, box-shadow 0.15s;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(35,49,67,0.07);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #233143;
  color: #fff;
}

/* =================== FOOTER ===================== */
footer {
  background: #ece9e2;
  padding: 52px 0 0 0;
  border-top: 1px solid #dedcd7;
  font-size: 1rem;
  color: #233143;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid #dedcd7;
}
.footer-cols > div, .footer-nav {
  flex: 1 1 240px;
  min-width: 160px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #233143;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #87A248;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 1rem;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
.footer-small {
  text-align: center;
  font-size: 0.92rem;
  color: #777;
  padding-top: 22px;
  padding-bottom: 10px;
}

/* ================== MAP PLACEHOLDER / ADDRESS =========== */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ece9e2;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}
.map-placeholder img {
  width: 38px;
  height: 38px;
}

address {
  font-style: normal;
  background: #F5F4F0;
  border-radius: 7px;
  padding: 16px 18px;
  margin-bottom: 26px;
  font-size: 1rem;
}

/* =================== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffefe;
  border-top: 1.5px solid #dedcd7;
  box-shadow: 0 -2px 12px rgba(35,49,67,0.11);
  padding: 26px 24px 22px 24px;
  z-index: 500;
  animation: cookieSlideUp 0.55s cubic-bezier(0.5,0.7,0.35,1);
}
@keyframes cookieSlideUp {
  from { transform: translateY(120%) scale(0.98); opacity:0; }
  to { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #233143;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  border-radius: 5px;
  border: none;
  padding: 9px 22px;
  font-size: 1rem;
  background: #233143;
  color: #fff;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s;
  font-weight: 500;
}
.cookie-banner button:hover {
  background: #87A248;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #ece9e2;
  color: #233143;
  border: 1.5px solid #dedcd7;
}
.cookie-banner .cookie-settings:hover {
  background: #87A248;
  color: #fff;
}

/* -------- Cookie Modal --------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,49,67,0.56);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.27s cubic-bezier(0.4,0.64,0.38,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 7px 35px rgba(35,49,67,0.15);
  padding: 36px 28px 28px 28px;
  width: 96%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPopIn 0.22s cubic-bezier(0.39,0.78,0.23,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-toggle label {
  font-size: 1.03rem;
  cursor: pointer;
  color: #233143;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #87A248;
  width: 1.11em;
  height: 1.11em;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  font-size: 1.7rem;
  color: #233143;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-close-modal:hover {
  color: #87A248;
}

/* ===================== MEDIA QUERIES ===================== */
@media (max-width: 1050px) {
  .container {
    max-width: 980px;
  }
  .footer-cols {
    gap: 26px;
  }
  .features .feature-grid,
  .project-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 750px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 15px;
  }
  .footer-cols {
    gap: 18px;
    flex-direction: column;
  }
  .features .feature-grid, .card-container, .project-list {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .container {
    max-width: 97vw;
  }
  header .container {
    height: 54px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block !important;
  }
  .footer-cols {
    flex-direction: column !important;
    gap: 18px;
  }
  .content-grid,
  .project-list,
  .features .feature-grid,
  .card-container,
  .category-links {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card,
  .card,
  .project,
  .features .feature {
    min-width: 98px;
    max-width: 99vw;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 14px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .hero {
    padding: 30px 0 18px 0;
  }
  .cta {
    padding: 25px 8px;
    margin-bottom: 22px;
    border-radius: 7px;
  }
  .footer-small { font-size: 0.87rem; }
  .map-placeholder { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 500px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.07rem; }
  .hero { padding: 14px 0 7px 0; }
  .cta { padding: 15px 3vw; }
  .cookie-banner { padding: 13px 5vw 8px 5vw; }
  .cookie-modal { padding: 18px 8px 14px 8px; }
}
/* ================= MICRO-INTERACTIONS ================== */
.btn-primary,.btn-secondary,button,a {
  transition: color 0.15s, background 0.18s, box-shadow 0.18s, transform 0.13s;
}
.card, .article, .project, .features .feature, .testimonial-card {
  transition: box-shadow 0.15s, transform 0.17s;
}
details[open] > summary { color: #87A248; }

/* ================ UTILITIES ================ */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-38 { margin-top: 38px; }

/* Hide visually but keep in DOM for accessibility */
.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px;
}
/* ===== END ===== */