/* --- CSS RESET & NORMALIZATION --- */
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, menu, 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: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}

/* Box-sizing globally */
*, *:before, *:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #294049;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 10px;
  box-shadow: none;
}

a {
  color: #294049;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #AD8B5C;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
}

strong {
  font-weight: 700;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: #294049;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, blockquote {
  margin-bottom: 16px;
  font-size: 1.05rem;
}
blockquote {
  border-left: 4px solid #AD8B5C;
  background: #F5ECE3;
  padding: 16px 24px;
  margin-bottom: 24px;
  font-style: italic;
  color: #85672B;
  border-radius: 8px 20px 20px 8px;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(41,64,73, 0.06);
  transition: box-shadow 0.3s;
}

.section:hover {
  box-shadow: 0 8px 32px 0 rgba(173,139,92, 0.10);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(41,64,73, 0.05);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 6px 24px 0 rgba(173,139,92, 0.09);
  transform: translateY(-3px) scale(1.01);
}

.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;
  margin-bottom: 20px;
  background: #F5ECE3;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(173,139,92, 0.07);
  color: #294049;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-card h3 {
  font-size: 1.25rem;
  color: #AD8B5C;
  margin-bottom: 6px;
}

.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.testimonial-card span {
  font-size: 1rem;
  color: #85672B;
  font-family: Montserrat, Roboto, Arial, Helvetica, sans-serif;
}

.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(41,64,73, 0.11);
  transform: translateY(-2px) scale(1.013);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(41,64,73, 0.04);
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 60;
}

header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

header nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 24px;
  align-items: center;
}

header nav.main-nav a {
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  color: #294049;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 7px;
  transition: color 0.14s, background 0.2s;
}

header nav.main-nav a:hover,
header nav.main-nav a:focus {
  color: #AD8B5C;
  background: #F5ECE3;
}

.cta-button {
  display: inline-block;
  background: #AD8B5C;
  color: #fff;
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 28px;
  outline: none;
  border: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px 0 rgba(41,64,73, 0.11);
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
  margin-left: 20px;
}

.cta-button:hover, .cta-button:focus {
  background: #85672B;
  color: #fff6ec;
  box-shadow: 0 6px 30px 0 rgba(173,139,92, 0.12);
  transform: translateY(-2px) scale(1.035);
}

/* --- HERO SECTION --- */
.hero {
  background: #D7E5DF;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 16px 0 rgba(41,64,73,0.09);
  margin-bottom: 0;
  padding: 50px 0 40px 0;
  min-height: 330px;
  display: flex;
  align-items: center;
}

.hero .container {
  align-items: flex-start;
  flex-direction: column;
}

.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}

.hero h1 {
  color: #294049;
  margin-bottom: 10px;
  font-size: 2.3rem;
}

.hero p {
  color: #294049;
  font-size: 1.15rem;
}

.hero .cta-button {
  margin-top: 16px;
  margin-left: 0;
}

/* --- FEATURES LIST --- */
.features {
  background: #fff;
  border-radius: 30px;
  margin-top: -24px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
  justify-content: flex-start;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 240px;
  background: #F5ECE3;
  border-radius: 20px;
  padding: 18px 20px;
  font-size: 1.08rem;
  color: #294049;
  font-family: Roboto, Arial, sans-serif;
  box-shadow: 0 1px 8px 0 rgba(173,139,92,0.06);
  transition: box-shadow 0.21s;
}
.features li:hover {
  box-shadow: 0 6px 18px 0 rgba(41,64,73,0.11);
}
.features li img {
  width: 32px;
  height: 32px;
}

/* --- ABOUT PREVIEW & OTHER CARD PREVIEWS --- */
.about-preview, .services-preview, .testimonials-preview, .contact-cta {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 14px 0 rgba(41,64,73,0.08);
}

/* --- FOOTER STYLE --- */
footer {
  background: #294049;
  color: #fff;
  padding: 40px 0 20px 0;
  border-radius: 28px 28px 0 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-logo img {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 0;
  box-shadow: none;
}
.company-info {
  font-size: 1rem;
  color: #fff;
  line-height: 1.45;
  max-width: 320px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  padding: 3px 7px;
  border-radius: 6px;
  transition: background 0.17s, color 0.19s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #AD8B5C;
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 100;
  background: #AD8B5C;
  color: #fff;
  font-size: 2.1rem;
  padding: 9px 19px 9px 17px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(41,64,73,0.11);
  cursor: pointer;
  transition: background 0.16s, color 0.18s, transform 0.17s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #85672B;
}

.mobile-menu {
  position: fixed;
  z-index: 200;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41,64,73,0.95);
  color: #fff;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(0.75,0.01,0.39,1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px 32px;
  opacity: 1;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #AD8B5C;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 18px;
  padding: 4px 16px 4px 10px;
  margin-bottom: 30px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(41,64,73,0.15);
  transition: background 0.18s;
  align-self: flex-end;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #85672B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.18s, color 0.19s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5ECE3;
  color: #AD8B5C;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: #F5ECE3;
  color: #294049;
  box-shadow: 0 -2px 22px 0 rgba(173,139,92,0.11);
  padding: 18px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 68px;
  font-size: 1.08rem;
  border-radius: 16px 16px 0 0;
  opacity: 0.97;
  animation: fadeInUpBanner 0.6s cubic-bezier(.18,.86,.43,1.21);
}
@keyframes fadeInUpBanner {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.cookie-consent-banner button {
  font-family: 'Montserrat', Roboto, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  padding: 9px 20px;
  border-radius: 16px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.cookie-consent-banner .accept {
  background: #AD8B5C;
  color: #fff;
}
.cookie-consent-banner .accept:hover,
.cookie-consent-banner .accept:focus {
  background: #85672B;
  color: #fff6ec;
}
.cookie-consent-banner .reject {
  background: #D7E5DF;
  color: #294049;
}
.cookie-consent-banner .reject:hover,
.cookie-consent-banner .reject:focus {
  background: #b9c7c1;
  color: #294049;
}
.cookie-consent-banner .settings {
  background: #fff;
  color: #85672B;
  border: 1px solid #AD8B5C;
}
.cookie-consent-banner .settings:hover,
.cookie-consent-banner .settings:focus {
  background: #F5ECE3;
  color: #AD8B5C;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 400;
  background: rgba(41,64,73,0.55);
  opacity: 1;
  display: none;
}
.cookie-modal-backdrop.active {
  display: block;
}
.cookie-modal {
  position: fixed;
  z-index: 401;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.89);
  min-width: 340px;
  max-width: 98vw;
  width: 430px;
  background: #fff;
  color: #294049;
  border-radius: 20px;
  box-shadow: 0 8px 38px 0 rgba(173,139,92,0.23);
  padding: 30px 28px 23px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .21s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
  animation: popInModal .34s cubic-bezier(.35,.84,.53,1.22);
}
@keyframes popInModal {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.85); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 2px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #F5ECE3;
  padding: 11px 14px;
  border-radius: 13px;
  margin-bottom: 7px;
}
.cookie-modal .category strong {
  width: 140px;
  color: #85672B;
  font-weight: 700;
}
.cookie-modal .toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #AD8B5C;
  border-radius: 6px;
  outline: none;
  border: 1.5px solid #AD8B5C;
  background: #fff;
}
.cookie-modal input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  background: #D7E5DF;
  color: #294049;
  border-radius: 13px;
  border: none;
  font-size: 1rem;
  padding: 7px 17px;
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.19s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #b9c7c1;
  color: #294049;
}


/* --- RESPONSIVE: MOBILE FIRST --- */
@media (max-width: 1020px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  footer .container {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .features li {
    min-width: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  /* Hamburger visible */
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    padding-right: 54px;
  }
  header nav.main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
  }
  .hero {
    border-radius: 0 0 24px 24px;
    min-height: 220px;
    padding: 36px 0 26px 0;
  }
  .about-preview, .services-preview, .testimonials-preview, .contact-cta, .section {
    padding: 25px 8px;
    border-radius: 14px;
  }
  .testimonial-card {
    padding: 13px 13px 14px 13px;
    border-radius: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 27px 8px;
  }
  .map, .confirmation {
    padding: 20px 2px;
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
    max-width: 99vw;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .cta-button {
    font-size: 0.98rem;
    padding: 11px 20px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 15px 8px;
    font-size: 0.97rem;
    border-radius: 8px 8px 0 0;
    min-height: 0;
  }
}

/* --- OVERRIDES & UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-xs { margin-bottom: 8px !important; }
.mb-s { margin-bottom: 16px !important; }
.mb-m { margin-bottom: 24px !important; }
.mb-l { margin-bottom: 32px !important; }

/* --- MICRO-INTERACTIONS --- */
.card, .testimonial-card, .cta-button, .cookie-consent-banner button, .mobile-menu-toggle, .mobile-menu-close {
  will-change: transform, box-shadow;
}

::-webkit-input-placeholder { color: #85672B; }
::-moz-placeholder { color: #85672B; }
:-ms-input-placeholder { color: #85672B; }
::placeholder { color: #85672B; }

/* --- SCROLLBAR (optional, can be omitted for compatibility) --- */
::-webkit-scrollbar { width: 8px; background: #F5ECE3; }
::-webkit-scrollbar-thumb { background: #AD8B5C; border-radius: 8px; }

/* --- END --- */
