/* 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F9F7F2;
  color: #313236;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, video, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #8B714B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #313236;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #313236;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  color: #8B714B;
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 14px;
  color: #313236;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(139,113,75,0.07);
}

/* Typography utility */
.text-section {
  margin-bottom: 24px;
}
.text-section ul, .text-section ol {
  margin-bottom: 16px;
}
.text-section strong {
  color: #8B714B;
  font-weight: 700;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(139,113,75,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  justify-content: space-between;
}
header img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  color: #313236;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 8px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
  background: #F9F7F2;
  color: #8B714B;
}

.cta-btn.primary {
  background: #8B714B;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(139,113,75,0.12);
  transition: background 0.14s, box-shadow 0.14s, transform 0.14s;
  cursor: pointer;
  margin-left: 18px;
  letter-spacing: 0.01em;
  outline: none;
  display: inline-block;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #313236;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(139,113,75,0.19);
}

/* Hamburger and mobile nav (initially hidden) */
.mobile-menu-toggle {
  display: none;
  background: #F9F7F2;
  color: #8B714B;
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(139,113,75,0.09);
  transition: background 0.19s, color 0.15s;
  margin-left: 12px;
  z-index: 140;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8B714B;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 0 32px rgba(139,113,75,0.15);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.62,.16,.21,.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 32px;
  font-size: 2rem;
  color: #8B714B;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F9F7F2;
  color: #313236;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #8B714B;
  font-size: 1.15rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 10px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9F7F2;
  color: #313236;
}

/* Main Hero Section */
.hero {
  padding: 48px 0 36px;
  background: #F9F7F2 url('../assets/hero-texture.svg') no-repeat center top/cover;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
}

/* Features (cards/points) */
.features {
  margin-bottom: 60px;
  padding: 0;
  background: none;
}
.features .content-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(139,113,75,0.07);
  padding: 40px 20px;
  gap: 32px;
}
.feature-grid,
.unique-points-grid,
.project-highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-grid li,
.unique-points-grid li,
.project-highlights-grid li {
  /* Card-like features */
  background: #F9F7F2;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(139,113,75,0.07);
  padding: 22px 20px 20px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid img,
.unique-points-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* Card Container Utilities */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(139,113,75,0.08);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 26px rgba(139,113,75,0.15);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  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;
}

/* Service List */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 18px;
}
.service-list li {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 10px rgba(139,113,75,0.08);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 0;
  min-width: 202px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.service-list li:hover {
  box-shadow: 0 7px 22px rgba(139,113,75,0.13);
  transform: translateY(-4px) scale(1.01);
}
.price {
  color: #8B714B;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F7F2;
  border-radius: 10px;
  padding: 3px 12px;
  margin-top: 6px;
  display: inline-block;
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  margin-bottom: 60px;
  background: none;
  padding: 0;
}
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 26px;
  border-radius: 16px;
  background: #fffbe9;
  box-shadow: 0 4px 18px rgba(139,113,75,0.09);
  margin-bottom: 20px;
  border-left: 6px solid #8B714B;
  max-width: 620px;
  font-size: 1.075rem;
  color: #313236;
  transition: box-shadow 0.15s, border-color 0.14s;
}
.testimonial-card p {
  color: #313236;
  font-style: italic;
}
.testimonial-card strong {
  color: #8B714B;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(139,113,75,0.16);
  border-left: 6px solid #313236;
}

/* Contact Section */
.contact .content-wrapper {
  gap: 16px;
}
.contact a {
  word-break: break-all;
}
.map-location {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 1rem;
  color: #313236;
}
.map-location img {
  width: 20px;
  height: 20px;
}

/* Blog List & Categories Navigation */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-post {
  flex: 1 1 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(139,113,75,0.08);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: box-shadow 0.15s, transform 0.10s;
}
.blog-post:hover {
  box-shadow: 0 9px 26px rgba(139,113,75,0.13);
  transform: translateY(-2px) scale(1.01);
}
.blog-post a {
  margin-top: 8px;
  color: #8B714B;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.17s;
}
.categories-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #8B714B;
}
.categories-navigation a {
  color: #8B714B;
  background: #fffbe9;
  padding: 6px 17px;
  border-radius: 9px;
  font-weight: 600;
  transition: background 0.12s, color 0.13s;
}
.categories-navigation a:hover {
  background: #8B714B;
  color: #fff;
}

/* CTAs */
.cta {
  margin-bottom: 60px;
  padding: 36px 20px 30px 20px;
  background: #fffbe9;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(139,113,75,0.09);
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
}

/* Footer Styles */
footer {
  background: #fff;
  border-top: 2px solid #F9F7F2;
  padding: 30px 0 20px 0;
  font-size: 1rem;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo {
  flex: 0 0 90px;
  margin-right: 24px;
}
.footer-logo img {
  width: 72px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #8B714B;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.12s;
}
.footer-nav a:hover {
  color: #313236;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
  color: #313236;
}
.footer-contact a {
  color: #8B714B;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: #313236;
}
.footer-social {
  margin-left: auto;
  gap: 12px;
  display: flex;
  align-items: center;
}
.footer-social a {
  background: #fffbe9;
  padding: 7px 10px 6px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(139,113,75,0.10);
  transition: background 0.13s;
  display: flex;
}
.footer-social a:hover {
  background: #8B714B;
}
.footer-social img {
  width: 22px;
  height: 22px;
  display: block;
  filter: grayscale(10%)
}
.footer-social a:hover img {
  filter: grayscale(0%) brightness(175%);
}

/* Cookie Consent Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe9;
  color: #313236;
  box-shadow: 0 -2px 18px rgba(139,113,75,0.13);
  z-index: 3500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 32px 18px 32px;
  font-size: 1rem;
  border-radius: 32px 32px 0 0;
  animation: cookie-banner-in 0.6s cubic-bezier(.81,.13,.26,1) 1;
}
@keyframes cookie-banner-in {
  from {transform: translateY(100%); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
  min-width: 166px;
  color: #313236;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  outline: none;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 22px;
  background: #8B714B;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 2px 8px rgba(139,113,75,0.10);
  transition: background 0.19s, color 0.17s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #313236;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}
.cookie-btn.secondary {
  background: #fffbe9;
  color: #8B714B;
  border: 2px solid #8B714B;
  box-shadow: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #8B714B;
  color: #fff;
}

/* Cookie Modal Styles */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  inset: 0;
  background: rgba(49,50,54,0.29);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 44px rgba(139,113,75,0.19);
  max-width: 384px;
  width: 92%;
  padding: 32px 26px 24px 26px;
  color: #313236;
  position: relative;
  animation: modalIn 0.36s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@keyframes modalIn {
  from {transform: translateY(56px) scale(0.96); opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #8B714B;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #313236;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #8B714B;
}
.cookie-category.essential label {
  color: #8B714B;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin: 0;
}
/* Modal close button */
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 1.7rem;
  border: none;
  background: none;
  color: #8B714B;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 12px;
  z-index: 10;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F9F7F2;
  color: #313236;
}

/* Spacing for Section Classes (per spec) */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
  position: relative !important;
}
.content-grid {
  gap: 20px !important;
  justify-content: space-between !important;
}
.text-image-section {
  gap: 30px !important;
}
.testimonial-card {
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  gap: 15px !important;
}

/* Responsive Styles */
@media (max-width: 1020px) {
  .container {
    max-width: 98%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  .main-nav {
    gap: 14px;
  }
  .footer-social {
    margin-top: 24px;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .subheadline {
    font-size: 1rem;
  }
  
  .hero {
    padding: 28px 0 22px;
    min-height: 150px;
  }
  .section, .cta {
    padding: 24px 7px 22px 7px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .features .content-wrapper, 
  .features .feature-grid, 
  .features .unique-points-grid, 
  .features .project-highlights-grid {
    gap: 14px;
    padding: 18px 0 !important;
  }
  .feature-grid, .unique-points-grid, .project-highlights-grid, .service-list, .card-container, .blog-list {
    flex-direction: column;
    gap: 13px !important;
  }
  .testimonial-card {
    max-width: 100%;
    border-radius: 10px;
    padding: 14px 10px;
  }
  .footer-logo img {
    width: 54px;
  }
  .footer-social {
    margin-top: 18px;
    gap: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  /* Hide desktop nav, show burger */
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px 12px 10px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    justify-content: flex-start;
  }
  .cookie-modal {
    padding: 20px 10px 16px 14px;
    border-radius: 14px;
  }
}

/* Misc Utility */
hr {
  border: none;
  border-top: 1.5px solid #F9F7F2;
  margin: 28px 0;
}
::-webkit-input-placeholder { color: #8B714B; }
::-moz-placeholder { color: #8B714B; }
:-ms-input-placeholder { color: #8B714B; }
::placeholder { color: #8B714B; }

/* Transitions & Micro-interactions */
button, a {
  transition: color 0.17s, background 0.15s, box-shadow 0.14s, border 0.15s, transform 0.14s;
}

/* Accessibility & Visual Focus */
a:focus, button:focus {
  outline: 2px solid #8B714B;
  outline-offset: 2px;
  z-index: 3;
  position: relative;
}

/* Hide mobile nav and modal by default */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav {
    display: flex !important;
  }
}

/* Hide scrollbars for modals */
body.menu-open, body.modal-open {
  overflow: hidden !important;
}
