/* ----------------------------------------------------------
   CSS RESET & FOUNDATION
---------------------------------------------------------- */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* Remove list style */
ul, ol { list-style: none; }

/* Set base box-sizing to border-box */
*, *::before, *::after { box-sizing: inherit; }

html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', 'Georgia', serif;
  color: #283744;
  background: #fff;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }

/* Selection */
::selection { background: #B89F80; color: #fff; }

/* ----------------------------------------------------------
   BRAND TYPOGRAPHY & HEADINGS
---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #283744;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 15px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; }

p, li, span, label, input, textarea, select, button {
  font-family: 'Roboto', 'Georgia', serif;
}
p { margin-bottom: 16px; }

/* Typography scale */
@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.35rem; }
}

/* ----------------------------------------------------------
   LAYOUT CONTAINERS
---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ----------------------------------------------------------
   HEADER & NAVIGATION (Desktop + Mobile)
---------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e6e2de;
  box-shadow: 0 2px 16px 0 rgba(40,55,68,0.04);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
header a {
  transition: color .2s;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-size: 1.01rem; padding: 8px 4px; color: #283744; font-family: 'Montserrat', 'Georgia', serif; font-weight: 600;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #B89F80;
}
header img { min-height: 40px; max-height: 56px; }

.cta-primary {
  background: #283744;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 27px;
  border: none;
  font-weight: 700;
  margin-left: 24px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(40,55,68,0.07);
  transition: background .25s, transform .17s, box-shadow .2s;
  outline: none;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #B89F80;
  color: #283744;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 22px 0 rgba(184,159,128,0.13);
}
.cta-secondary {
  background: transparent;
  color: #283744;
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  padding: 10px 26px;
  border-radius: 24px;
  border: 1.5px solid #B89F80;
  font-weight: 600;
  cursor: pointer;
  margin-top: 16px;
  outline: none;
  transition: background .18s, color .18s, border-color .18s, transform .17s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #B89F80;
  color: #fff;
  border-color: #B89F80;
  transform: translateY(-2px) scale(1.01);
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #283744;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .17s;
  margin-left: 18px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f4f2ef;
}

/* ----------------------------------------------------------
   MOBILE NAVIGATION OVERLAY
---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40,55,68,0.96);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.05,.6,1.02);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  align-self: flex-end;
  margin: 20px 24px 6px 0;
  cursor: pointer;
  z-index: 1120;
  transition: color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B89F80;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 42px 40px 40px 40px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', serif;
  letter-spacing: 0.016em;
  padding: 10px 4px;
  border-radius: 6px;
  transition: background .18s, color .17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B89F80;
  color: #232323;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------------------------------------------
   SECTIONS & FLEXBOX LAYOUTS
---------------------------------------------------------- */
section {
  position: relative;
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  box-shadow: 0 4px 20px 0 rgba(40,55,68,0.04);
}

.hero {
  background: #f4f2ef;
  box-shadow: none;
  margin-bottom: 60px;
  padding: 54px 0 54px 0;
  border-radius: 0 0 38px 38px;
}
.hero h1 {
  color: #283744;
}
@media (max-width: 768px) {
  section, .hero {
    padding: 28px 8px;
    margin-bottom: 34px;
    border-radius: 16px;
  }
}

/* Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(40,55,68,0.06);
  padding: 28px 22px;
  position: relative;
  transition: box-shadow .23s, transform .15s;
  min-width: 245px;
  flex: 1 1 310px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 26px 0 rgba(184,159,128,0.17);
  transform: translateY(-5px) scale(1.03);
  z-index: 4;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 17px 24px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 17px;
  border: 1.5px solid #e6e2de;
  box-shadow: 0 2px 12px 0 rgba(40,55,68,0.07);
  position: relative;
  max-width: 590px;
  min-width: 260px;
  transition: box-shadow .2s, border-color .19s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px 0 rgba(184,159,128,0.19);
  border-color: #B89F80;
  z-index: 2;
}
.testimonial-card p {
  color: #283744;
  font-size: 1.04rem;
  line-height: 1.6;
}
.testimonial-details {
  display: flex;
  flex-direction: row;
  gap: 24px;
  font-size: 0.99rem;
  color: #6B5E54;
  align-items: center;
  margin-top: 2px;
}
.stars { color: #B89F80; font-size: 1.03em; letter-spacing: 0.07em; }

/* Testimonial slider (index) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}

/* Features (about, index, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(40,55,68,0.055);
  padding: 18px 16px 16px 16px;
  min-width: 155px;
  flex: 1 1 195px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 0;
}
.feature-grid li img {
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
}
.feature-grid li p, .feature-grid li strong {
  font-size: 1rem;
  color: #283744;
}

@media (max-width:600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li {
    min-width: 0;
    padding: 14px 10px;
  }
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 19px 0 0 0;
  font-size: 1.02rem;
}
.unique-selling-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.guarantees {
  background: #f4f2ef;
  border-radius: 15px;
  padding: 16px 15px;
  margin-bottom: 18px;
}

.pricing-summary {
  background: #f4f2ef;
  border-radius: 13px;
  padding: 12px 13px;
  font-weight: 500;
  color: #283744;
  margin-top: 13px;
  margin-bottom: 7px;
}

@media (min-width: 768px) {
  .testimonial-slider {
    gap: 32px;
  }
}

/* Card pattern (for gallery, services, etc.) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ----------------------------------------------------------
   GENERAL ELEMENTS
---------------------------------------------------------- */
.text-section {
  margin-bottom: 12px;
}
ul {
  margin-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
strong {
  font-family: 'Montserrat', serif;
  font-weight: 700;
}

.map-embed {
  margin-top: 18px;
  background: #f4f2ef;
  padding: 17px 14px;
  border-radius: 12px;
  font-size: 0.98rem;
  color: #6B5E54;
}

.contact-info {
  margin-bottom: 17px;
  font-size: 1rem;
  color: #283744;
}
.contact-info a {
  color: #283744;
  text-decoration: underline;
  word-break: break-all;
  transition: color 0.13s;
}
.contact-info a:hover {
  color: #B89F80;
}

@media (min-width: 900px) {
  .content-wrapper { gap: 28px; }
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
footer {
  background: #283744;
  color: #fff;
  padding: 38px 0 20px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 24px 0 rgba(40,55,68,0.09);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
footer nav a {
  color: #fff;
  opacity: 0.85;
  font-family: 'Montserrat', serif;
  font-size: 0.99rem;
  letter-spacing: 0.012em;
  transition: color .19s, opacity .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #B89F80;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-brand img {
  width: 34px;
  height: 34px;
}
.footer-brand span {
  font-size: 0.97rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  footer .container{
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer nav { gap: 14px; }
}

/* ----------------------------------------------------------
   COOKIE CONSENT BANNER & COOKIE MODAL
---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(40,55,68,0.19);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px 20px 24px;
  z-index: 2500;
  font-size: 0.99rem;
  border: 1.5px solid #e6e2de;
  opacity: 1;
  transition: opacity .3s, transform .4s cubic-bezier(.6,.1,.6,1.1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(50px);
}
.cookie-banner strong {
  font-weight: 700;
  font-family: 'Montserrat', serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 22px;
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 28px;
  cursor: pointer;
  margin-right: 2px;
  transition: background .2s, color .18s, box-shadow .13s;
  box-shadow: 0 1px 8px 0 rgba(40,55,68,0.065);
}
.cookie-btn-accept {
  background: #283744;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #B89F80; color: #283744;
}
.cookie-btn-reject {
  background: #f4f2ef;
  color: #283744;
  border: 1.4px solid #B89F80;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #B89F80;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  color: #283744;
  border: 1.3px solid #283744;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #f4f2ef;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,55,68,0.84);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px 24px 28px;
  max-width: 430px;
  width: 100%;
  box-shadow: 0 12px 36px 0 rgba(40,55,68,0.33);
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 1rem;
  color: #283744;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-checkbox {
  accent-color: #B89F80;
  width: 20px; height: 20px;
}
.cookie-modal-content .category-label {
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  color: #283744;
}
.cookie-modal-content .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #283744;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #B89F80;
}

@media (max-width: 600px) {
  .cookie-modal-content {
    max-width: 94vw;
    padding: 22px 8px 14px 8px;
  }
  .cookie-banner {
    left: 7px; right: 7px; bottom: 7px;
    padding: 16px 9px 10px 14px;
  }
}

/* ----------------------------------------------------------
   ANIMATION & INTERACTION MICRO-INTERACTIONS
---------------------------------------------------------- */
a, button, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner .cookie-btn {
  transition: background .18s, color .18s, border-color .18s, box-shadow .16s, transform .16s;
}

section, .card, .testimonial-card, .feature-grid li {
  transition: box-shadow .23s, border-color .22s, transform .15s;
}

hr {
  border: none;
  border-top: 1.8px solid #e6e2de;
  margin: 36px 0;
}

/* ----------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 94vw;
    padding-right: 7px; padding-left: 7px;
  }
  section {
    margin-bottom: 28px;
  }
  .feature-grid,
  .testimonial-slider {
    gap: 16px;
  }
  .card-container {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.18rem; }
  .footer-brand img {
    width: 24px; height: 24px;
  }
  .card, .testimonial-card {
    min-width: 0;
    padding: 14px 10px;
  }
}

/* ----------------------------------------------------------
   UTILITIES & OVERRIDES
---------------------------------------------------------- */
::-webkit-input-placeholder { color: #8b857f; }
::-moz-placeholder { color: #8b857f; }
:-ms-input-placeholder { color: #8b857f; }
::placeholder { color: #8b857f; }

.hide { display: none !important; }

/* ----------------------------------------------------------
   END OF CSS
---------------------------------------------------------- */
