/* =====================================================
   CSS RESET & BASE STYLES
 ===================================================== */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F5F4 linear-gradient(135deg, #F5F5F4 0%, #A39679 100%);
  color: #23313A;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #23313A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A39679;
}
button, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
}
ul, ol {
  padding-left: 1.25em;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23313A;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 400;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23313A;
  font-size: 1rem;
  margin-bottom: 0.5em;
}
strong { font-weight: 700; }

/* ------------------------------------
    HEADER & NAVIGATION
------------------------------------- */
header {
  background: #23313A;
  box-shadow: 0 2px 16px rgba(35, 49, 58, 0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #F5F5F4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.015em;
  padding: 9px 2px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #A39679;
  color: #23313A;
}
.cta-button {
  background: linear-gradient(90deg, #A39679 0%, #F5F5F4 100%);
  color: #23313A;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 24px;
  box-shadow: 0 1px 8px rgba(163,150,121, 0.09);
  display: inline-block;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.12s;
}
.cta-button:hover,.cta-button:focus {
  background: linear-gradient(90deg, #F5F5F4 0%, #A39679 100%);
  color: #23313A;
  box-shadow: 0 4px 16px rgba(35,49,58,0.10);
  transform: translateY(-3px) scale(1.04);
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #A39679;
  color: #23313A;
  padding: 8px 16px;
  font-size: 2rem;
  border-radius: 8px;
  margin-left: 16px;
  z-index: 51;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5F5F4;
  color: #23313A;
  box-shadow: 0 2px 8px rgba(35,49,58,0.15);
}

/* ------------------------------------
        MOBILE MENU
------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #23313A;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.8, 0.01, 0.2, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #F5F5F4;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 28px 6px 0;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 1050;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #A39679; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  color: #F5F5F4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 8px 0;
  border-radius: 6px;
  min-width: 180px;
  transition: background 0.18s, color 0.18s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A39679;
  color: #23313A;
}

/* ------------------------------------
           HERO
------------------------------------- */
.hero {
  background: linear-gradient(90deg, #F5F5F4 60%, #A39679 120%);
  padding: 60px 0 72px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.18;
}
.hero p {
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto 20px auto;
  line-height: 1.52;
}
.hero .cta-button {
  font-size: 1.15rem;
  padding: 14px 36px;
}

/* ------------------------------------
        FLEX LAYOUT UTILITIES
------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 250px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 22px rgba(35,49,58,0.04);
  padding: 30px 22px;
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(35,49,58,0.09);
  transform: translateY(-4px) scale(1.025);
}
.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: center;
  gap: 20px;
  padding: 24px 28px 20px;
  background: #F5F5F4;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(163,150,121,0.11);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.14s;
  border: 1px solid #E7E6E4;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(163,150,121,0.13);
  transform: translateY(-2px) scale(1.015);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 26px 20px;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(35,49,58,0.06);
  min-width: 210px;
  margin-bottom: 20px;
}

/* ------------------------------------
             FEATURE LISTS
------------------------------------- */
.features .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 18px;
}
.features .feature-list li {
  flex: 1 1 220px;
  padding: 22px 20px 18px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 10px rgba(163,150,121,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
}
.features .feature-list img {
  margin-bottom: 6px;
  width: 34px;
  height: 34px;
}
.features .feature-list h3 {
  font-size: 1.11rem;
  color: #23313A;
  font-weight: 600;
}

/* ------------------------------------
           SERVICE CARDS
------------------------------------- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgba(35,49,58,0.04);
  min-width: 230px;
  flex: 1 1 290px;
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow 0.2s, transform 0.16s;
  margin-bottom: 20px;
  border: 1px solid #E7E6E4;
}
.service-card:hover {
  box-shadow: 0 7px 26px rgba(35,49,58,0.11);
  transform: translateY(-5px) scale(1.025);
}
.service-card img {
  margin-bottom: 9px;
  width: 36px;
  height: 36px;
}
.service-card h3 {
  font-size: 1.13rem;
  font-weight: 700;
}
.service-card .price {
  display: inline-block;
  margin-top: 5px;
  color: #A39679;
  font-weight: 600;
  font-size: 1rem;
}

/* -----------------------------------
    SERVICES ITEM (services.html)
-------------------------------------- */
.services-section .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 28px 20px 20px 20px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(35,49,58,0.06);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 250px;
}
.service-item .price {
  color: #A39679;
  font-weight: 600;
}

/* -----------------------------------
        BENEFITS (services.html)
-------------------------------------- */
.benefit-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 15px;
  align-items: flex-start;
  justify-content: space-between;
}
.benefit-list li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 3px 10px rgba(35,49,58,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  border: 1px solid #E7E6E4;
}
.benefit-list li img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}

/* -------------------------------------
       TESTIMONIALS & PREVIEWS
-------------------------------------- */
.testimonial-preview .testimonial-card,
.testimonials-section .testimonial-card {
  background: #fff;
  color: #23313A;
  border: 1px solid #E7E6E4;
  position: relative;
}
.testimonial-card p {
  color: #23313A;
  font-size: 1.02rem;
  text-align: left;
}
.testimonial-author {
  font-size: 0.97rem;
  color: #A39679;
  font-weight: 600;
  text-align: right;
  width: 100%;
  margin-top: 0;  
}
.star-rating {
  color: #A39679;
  font-size: 1.3rem;
  letter-spacing: 1.3px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
  align-self: flex-start;
}

/* -------------------------------------
       ABOUT, TEAM, PROJECTS
-------------------------------------- */
.team-bio-grid, .project-highlights, .case-study-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.team-bio-grid .text-section, .project-highlights .text-section, .case-study-grid .text-section {
  flex: 1 1 290px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(35,49,58,0.06);
  align-items: flex-start;
  border: 1px solid #E7E6E4;
  min-width: 220px;
}

/* --------------------------------------
         CONTACT & MAP
---------------------------------------- */
.contact-section .text-section a.cta-button {
  margin-top: 18px;
}
.map-placeholder {
  background: #E7E6E4;
  color: #23313A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 320px;
  min-height: 145px;
  margin-bottom: 20px;
  font-style: italic;
  font-size: 1rem;
}

/* ---------------------------------
      FOOTER
---------------------------------- */
footer {
  background: #23313A;
  color: #F5F5F4;
  padding: 32px 0 18px 0;
  margin-top: 32px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F5F5F4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 2px;
  transition: color 0.18s;
  border-radius: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A39679;
  background: #F5F5F4;
}
.brand-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: #F5F5F4;
}
.brand-footer img {
  width: 38px;
  height: 38px;
}

/* -----------------------------------
 CTA/CONTACT TEASER
------------------------------------- */
.contact-teaser, .testimonial-cta, .about-preview {
  background: linear-gradient(90deg, #A39679 5%, #F5F5F4 95%);
  border-radius: 30px;
  box-shadow: 0 5px 30px rgba(163,150,121,0.12);
  margin-bottom: 60px;
  padding: 44px 0;
}
.contact-teaser .content-wrapper,
.testimonial-cta .content-wrapper,
.about-preview .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 17px;
  text-align: center;
}
.contact-teaser h2, .testimonial-cta h2, .about-preview h2 {
  color: #23313A;
  font-family: 'Montserrat';
  font-size: 1.6rem;
  margin-bottom: 6px;
}

/* ------------------------------------
    SECTION MARGIN ADJUSTMENTS
------------------------------------- */
.about-section, .team-section, .why-us-section, .projects-overview, .case-studies, .services-section, .process-section, .benefits-section, .privacy-policy-section, .gdpr-section, .cookie-policy-section, .terms-section, .thank-you-section, .contact-section, .location-section, .testimonials-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* -----------------------------------
         COOKIE CONSENT BANNER
------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #23313A;
  color: #F5F5F4;
  z-index: 10500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px 20px 32px;
  box-shadow: 0 -3px 30px rgba(35,49,58,0.15);
  font-size: 0.98rem;
  transition: transform 0.35s cubic-bezier(0.8,0.01,0.2,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  margin-left: 20px;
  background: #A39679;
  color: #23313A;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(163,150,121,0.12);
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F5F5F4;
  color: #A39679;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-btn.secondary {
  background: #F5F5F4;
  color: #23313A;
  border: 1.5px solid #A39679;
}
.cookie-banner .cookie-btn.secondary:hover, .cookie-banner .cookie-btn.secondary:focus {
  background: #A39679;
  color: #23313A;
}

/* Cookie Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(35,49,58,0.82);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #23313A;
  border-radius: 18px;
  max-width: 420px;
  width: 92vw;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 6px 34px 0 rgba(35,49,58,0.30);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 11010;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Montserrat';
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin: 7px 0;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #A39679;
  width: 19px; height: 19px;
  border-radius: 5px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
}

/* ------------------------------------
    MEDIA QUERIES - RESPONSIVE DESIGN
------------------------------------- */
@media (max-width: 1023px) {
  .main-nav, .footer-nav {
    gap: 18px;
  }
  .cta-button { margin-left: 2px; padding: 12px 18px; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
}
@media (max-width: 850px) {
  .main-nav, .footer-nav {
    gap: 13px;
  }
  .cta-button { padding: 11px 12px; font-size: 0.97rem; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .content-wrapper,
  .features .feature-list,
  .benefit-list,
  .service-cards,
  .services-section .service-list,
  .team-bio-grid, .project-highlights, .case-study-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card-container,
  .service-cards,
  .features .feature-list,
  .benefit-list,
  .team-bio-grid, .project-highlights, .case-study-grid,
  .services-section .service-list {
    align-items: stretch;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle { display: block; }
  .cta-button { margin-left: 0; }
  .footer-nav { flex-direction: column; gap: 7px; margin-bottom: 8px; }
  .testimonials-section .testimonial-card, .testimonial-preview .testimonial-card {
    padding: 18px 11px 16px;
  }
  .contact-teaser, .testimonial-cta, .about-preview {
    border-radius: 14px;
    padding: 30px 0;
  }
  .section,
  .about-section, .team-section, .why-us-section, .projects-overview, .case-studies, .services-section, .process-section, .benefits-section, .privacy-policy-section, .gdpr-section, .cookie-policy-section, .terms-section, .thank-you-section, .contact-section, .location-section, .testimonials-section {
    padding: 24px 6vw;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 36px 0;
  }
  .mobile-menu { padding-top: 6vw; }
  .mobile-nav { margin: 38px 0 0 18px; padding-right: 16px; }
}
@media (max-width: 540px) {
  .container { padding: 0 2vw; }
  .card, .service-card, .feature-item, .services-section .service-item, .benefit-list li, .team-bio-grid .text-section, .project-highlights .text-section, .case-study-grid .text-section {
    min-width: 98vw;
    padding-left: 3vw; padding-right: 3vw;
  }
  .content-wrapper, .features .feature-list, .benefit-list,
  .service-cards, .services-section .service-list, .team-bio-grid, .project-highlights, .case-study-grid {
    gap: 12px !important;
  }
  .mobile-menu { padding-top: 4vw; }
  .cookie-modal { max-width: 99vw; padding: 14vw 3vw 7vw 3vw; }
  .cookie-banner { padding: 12px 7px 12px 12px; font-size: 0.93rem; }
}

/* ===== Scrollbars & Selection ===== */
::-webkit-scrollbar { width: 11px; background: #F5F5F4; }
::-webkit-scrollbar-thumb { background: #A39679; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #23313A; }
::selection { background: #A39679; color: #fff; }

/* TRANSITION/MICRO-ANIMATION ENHANCEMENTS */
a, .cta-button, button, .mobile-menu, .mobile-menu-toggle, .footer-nav a, .main-nav a, .card, .service-card, .testimonial-card, .cookie-btn {
  transition-timing-function: cubic-bezier(0.7,0.02,0.2,1);
}

/* Hide visually but accessible */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ==========================
   ENSURE MAX CONTRAST FOR TESTIMONIALS & REVIEW BOXES
   (Even when inside colored/gradient backgrounds)
============================ */
.testimonial-card, .testimonial-card p, .testimonial-card .testimonial-author, .testimonials-section .testimonial-card {
  background: #fff !important;
  color: #23313A !important;
}

/* ============ END OF FILE ============ */
