/* ==== CSS Reset & Normalize ==== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2C3A47;
  background: #F3F3F0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #2C3A47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #8A7562;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
ul li, ol li {
  margin-bottom: 8px;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
address {
  font-style: normal;
  margin-bottom: 16px;
}


/* ==== Brand Typography ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C3A47;
  letter-spacing: 0.015em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: #8A7562;
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}


/* ==== Containers & Section Layout ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(44,58,71,0.08);
  transition: box-shadow 0.2s;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}


/* ==== Header & Navigation ==== */
header {
  background: #fff;
  border-bottom: 1px solid #E6E6E6;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 16px;
}
.logo img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2C3A47;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #8A7562;
  border-bottom: 2px solid #8A7562;
}

/* Hide navigation & show burger on mobile */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #2C3A47;
  border: none;
  padding: 8px 12px;
  margin-left: 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F3F3F0;
  color: #8A7562;
}

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

.btn-primary {
  background: #2C3A47;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  padding: 12px 28px;
  border-radius: 28px;
  border: none;
  display: inline-block;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(44,58,71,0.05);
}
.btn-primary:hover, .btn-primary:focus {
  background: #8A7562;
  color: #fff;
  box-shadow: 0 4px 18px rgba(44,58,71,0.08);
}


/* ==== Mobile Nav ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F3F3F0;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.6, 0, 0.4, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 60vw;
  width: 100%;
  padding: 0;
  box-shadow: -2px 0 32px rgba(44,58,71,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #2C3A47;
  background: none;
  border-radius: 50%;
  margin: 14px 16px 4px 0;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #8A7562;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 36px 32px 16px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2C3A47;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #8A7562;
  color: #fff;
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ==== Hero Section ==== */
.hero {
  background: #F3F3F0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 2px 14px rgba(44,58,71,0.06);
  padding: 56px 0 30px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 20px;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 14px 0;
    border-radius: 0 0 18px 18px;
  }
}


/* ==== Features, Card, and Grid Layouts (Flexbox) ==== */
.feature-grid, .service-list, .project-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-item, .service-block, .project-card, .faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(44,58,71,0.07);
  padding: 28px 22px;
  min-width: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-item:hover, .service-block:hover, .project-card:hover, .faq-item:hover {
  box-shadow: 0 6px 32px rgba(44,58,71,0.12);
  transform: translateY(-4px) scale(1.013);
}
.feature-item img, .service-block img {
  height: 46px;
  width: 46px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .project-list, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .service-block, .project-card, .faq-item {
    min-width: 0;
    width: 100%;
  }
}


/* ==== Testimonials Section ==== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 22px;
  background: #fff;
  border-left: 5px solid #8A7562;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px rgba(44,58,71,0.10);
  color: #2C3A47;
  max-width: 380px;
  min-width: 240px;
  font-size: 1.05rem;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 10px;
  font-size: 1.09rem;
  line-height: 1.7;
}
.testimonial-card strong {
  color: #8A7562;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  margin-top: 6px;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 20px rgba(44,58,71,0.13);
  border-color: #2C3A47;
}
@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
}


/* ==== CTA Buttons in Sections ==== */
.content-wrapper > .btn-primary,
.text-section > .btn-primary {
  margin-top: 14px;
}


/* ==== Footer ==== */
footer {
  background: #F3F3F0;
  border-top: 1px solid #d3d3ce;
  padding: 32px 0 18px 0;
  font-size: 0.97rem;
  color: #8A7562;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #8A7562;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2C3A47;
}
footer address {
  margin-bottom: 12px;
  color: #2C3A47;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.social-links a img {
  width: 26px;
  height: 26px;
  filter: grayscale(0.16);
  opacity: 0.75;
  transition: filter 0.25s, opacity 0.23s;
}
.social-links a:hover img {
  filter: grayscale(0) drop-shadow(0 1px 1px #8A756248);
  opacity: 1;
}


/* ==== Responsive Typography & Layout ==== */
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.13rem; }
  .footer-nav { gap: 12px; }
  .testimonial-card { font-size: 0.98rem; min-width: 0; }
  .service-block, .feature-item, .project-card, .faq-item {
    padding: 17px 10px;
  }
}

/* ==== Address and Lists Spacing ==== */
address {
  margin-bottom: 12px;
  color: #2C3A47;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 10px;
}
.text-section ul li, .text-section ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  background: #8A7562;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  top: 9px;
}


/* ==== Price Badges on Services ==== */
.price {
  color: #8A7562;
  font-weight: 600;
  font-size: 1.03rem;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}


/* ==== Cards: General Purpose ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(44,58,71,0.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(44,58,71,0.11);
  transform: translateY(-3px) scale(1.011);
}

/* Card content grid */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}


/* ==== Text-Image Section (Flex alignment) ==== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}


/* ==== Feature Item Flex Layout ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* ==== FAQ Item ==== */
.faq-item h3 {
  font-size: 1.09rem;
  color: #8A7562;
  margin-bottom: 8px;
}


/* ==== Card content flex alignment ==== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}


/* ==== Animations and Transitions ==== */
.section, .card, .feature-item, .service-block, .project-card, .faq-item, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.17s;
}
.btn-primary,
.mobile-menu-toggle,
.mobile-menu-close,
.footer-nav a, .main-nav a {
  transition: background 0.2s, color 0.2s, box-shadow 0.14s, border-bottom 0.16s;
}


/* ==== Cookie Consent Banner & Modal ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  box-shadow: 0 -6px 32px rgba(44,58,71,0.13);
  padding: 22px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid #F3F3F0;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(0.68,-0.55,0.27,1.55);
}
@keyframes cookieBannerIn {
  from { transform: translateY(68px); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-banner__text {
  flex: 1 1 220px;
  color: #2C3A47;
  margin-right: 18px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-cookie {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 22px;
  background: #F3F3F0;
  color: #2C3A47;
  border: 1px solid #2C3A47;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.btn-cookie.accept {
  background: #2C3A47;
  border: none;
  color: #fff;
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: #8A7562;
  color: #fff;
}
.btn-cookie.reject {
  background: #fff;
  border: 1px solid #8A7562;
  color: #8A7562;
}
.btn-cookie.reject:hover {
  background: #8A7562;
  color: #fff;
}
.btn-cookie.settings {
  background: #F3F3F0;
  color: #2C3A47;
  border: 1px solid #2C3A47;
}
.btn-cookie.settings:hover {
  border: 1px solid #8A7562;
  color: #8A7562;
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,58,71,0.30);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.34s cubic-bezier(0.46,0,0.06,1.06);
}
@keyframes cookieModalIn {
  from { opacity:0.05; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  min-width: 320px;
  max-width: 94vw;
  padding: 34px 28px 18px 28px;
  box-shadow: 0 1px 36px rgba(44,58,71,0.19);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInCookieModal 0.27s cubic-bezier(0.46,0,0.06,1.06);
}
@keyframes fadeInCookieModal {
  from { transform: scale(0.97); opacity:0; }
  to { transform: none; opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #2C3A47;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #8A7562;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.cookie-category label {
  font-size: 1.02rem;
  color: #2C3A47;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-category .cookie-essential {
  color: #8A7562;
  font-weight: 700;
}
.cookie-modal .btn-primary, .cookie-modal .btn-cookie {
  margin-top: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: none;
  font-size: 1.4rem;
  color: #2C3A47;
  cursor: pointer;
  transition: background 0.19s, color 0.18s;
  border-radius: 50%;
  padding: 4px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #8A7562;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-modal {
    min-width: 0;
    max-width: 97vw;
    padding: 16px 8px 10px 8px;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: left;
    gap: 11px;
    padding: 15px 5px;
  }
}

/* ==== Utilities ==== */
.hide {
  display: none !important;
}
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* ==== Overlap Protection ==== */
/* Adequate bottom margin between main sections, cards, etc. */
section, .section, .card-container, .card, .feature-item, .project-card, .service-block, .faq-item, .testimonial-card {
  margin-bottom: 20px;
}

/* ==== Z-index Fixes ==== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 400; }

/* ==== Accessibility ==== */
:focus {
  outline: 2px dashed #8A7562;
  outline-offset: 2px;
}

/* ==== End of style.css ==== */
