/* ==== 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, 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, 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;
  font-size: 16px;
  height: 100%;
  background: linear-gradient(135deg, #f8f4f1 0%, #e0b787 100%);
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  color: #37474F;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #37474F;
  text-decoration: none;
  transition: color .2s; 
}
a:hover, a:focus {
  color: #E0B787;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
strong, b { font-weight: 700; }

/* ==== FONT FACES ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #37474F;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 700; }
p, .subheadline { font-size: 1.125rem; margin-bottom: 16px; }

/* ==== CONTAINERS & LAYOUT ==== */
.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;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.cta {
  margin-bottom: 0;
  background: linear-gradient(99deg, #e0b787 0%, #f8f4f1 100%);
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(94,62,21,0.055);
}

/* ==== HEADER ====*/
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(55,71,79,0.07);
  padding: 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 20px 18px 20px;
}
.logo img {
  width: 44px;
  height: 44px;
  margin-right: 10px;
  vertical-align: middle;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: #37474F;
  transition: color .18s;
  position: relative;
  padding: 4px 4px 4px 4px;
}
header nav a:hover, header nav a.active {
  color: #E0B787;
}
header .btn-primary {
  margin-left: 28px;
}

/* ==== HERO SECTION ==== */
.hero {
  padding: 58px 0 48px 0;
  background: linear-gradient(96deg,#FAEEE1 0%,#f8f4f1 60%, #e0b787 90%);
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
}
.hero .container {
  min-height: 240px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #37474F;
}
.subheadline {
  font-size: 1.22rem;
  color: #765736;
  margin-bottom: 24px;
}
.hero .btn-primary {
  font-size: 1.15rem;
}

/* ==== BUTTONS ==== */
.btn,
.btn-primary,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(55,71,79,.09);
  text-decoration: none;
  transition: background .22s, color .16s, transform .12s, box-shadow .17s;
  outline: none;
  margin-top: 10px;
}
.btn-primary {
  background: linear-gradient(90deg, #e0b787 0%, #e7d3b1 100%);
  color: #37474F;
  padding: 14px 34px;
  font-size: 1.14rem;
  margin-left: 0;
  min-width: 175px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#efcb90 0%, #e0b787 100%);
  color: #1d272e;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 7px 24px 0 rgba(224,183,135,.27);
}
.btn {
  background: #fff;
  color: #37474F;
  border: 2px solid #E0B787;
  padding: 12px 32px;
  font-size: 1.07rem;
}
.btn:hover, .btn:focus {
  background: #f9f4ea;
  color: #9c7d4b;
}
.btn-small {
  font-size: .95rem;
  min-width: 105px;
  padding: 10px 18px;
  border: 1.5px solid #E0B787;
  background: #fff;
  color: #37474F;
  margin-left: 8px;
}
.btn-small:hover {
  background: #e0b787;
  color: #fff;
}

/* ==== CARD & FLEXIBLE CONTAINERS ==== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 32px 22px 28px 22px;
  border-radius: 16px;
  box-shadow: 0 5px 24px 0 rgba(224,183,135,0.09);
  flex: 1 1 235px;
  max-width: 265px;
  min-width: 200px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .17s, box-shadow .20s;
}
.feature-item img {
  width: 44px; height: 44px; margin-bottom: 10px;
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 38px 0 rgba(224,183,135,.16);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  padding: 32px 24px 28px 24px;
  border-radius: 18px;
  box-shadow: 0 5px 24px 0 rgba(224,183,135,0.10);
  flex: 1 1 265px;
  max-width: 310px;
  margin-bottom: 20px;
  transition: transform .17s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-7px) scale(1.035);
  box-shadow: 0 12px 36px 0 rgba(224,183,135,.20);
}
.service-card img {
  width: 48px; height: 48px;
}
.price {
  color: #8b744d;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 7px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 18px 0 rgba(224,183,135,.085);
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 240px;
}

.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;
}
.text-section {
  flex: 1 1 260px;
}

.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px 0 rgba(55,71,79,0.07);
  flex: 1 1 265px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #37474F;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-size: .95rem;
  color: #9c7d4b;
  font-weight: 700;
  margin-top: 7px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-item {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 18px 0 rgba(224,183,135,0.07);
  padding: 22px 20px 18px 20px;
  flex: 1 1 245px;
  min-width: 200px;
  max-width: 370px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-item h3 {
  margin-bottom: 8px;
}
.blog-date {
  color: #ac9a84;
  font-size: 0.99rem;
  margin-bottom: 5px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 16px;
  align-items: center;
}

.text-section a {
  color: #9c7d4b;
  text-decoration: underline;
}

ol {
  margin-bottom: 28px;
}
ol li {
  margin-bottom: 12px;
}

/* ==== FOOTER ==== */
footer {
  background: #f8f4f1;
  border-top: 2px solid #e0b787;
  padding: 24px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  font-weight: 600;
  color: #37474F;
  transition: color .18s;
  font-size: 1rem;
}
footer nav a:hover {
  color: #e0b787;
}
.footer-info {
  color: #786246;
  font-size: .98rem;
}


/* ==== MOBILE BURGER MENU & MOBILE NAV ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 23px;
  right: 24px;
  background: #fff;
  border: 2px solid #e0b787;
  box-shadow: 0 3px 16px 0 rgba(224,183,135,0.13);
  color: #37474F;
  font-size: 1.78rem;
  padding: 7px 18px 7px 18px;
  border-radius: 6px;
  z-index: 120;
  cursor: pointer;
  transition: background .13s, color .13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #f8f4f1;
  color: #e0b787;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: linear-gradient(99deg,#E0B787 0%, #F8F4F1 100%);
  box-shadow: 0 12px 64px 0 rgba(49,39,24,0.14);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  transform: translateX(-102%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.66,.15,.46,.93), opacity .17s;
  z-index: 130;
  padding: 32px 24px 24px 34px;
  will-change: transform, opacity;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #37474F;
  font-size: 2.3rem;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color .15s;
  align-self: flex-end;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #b08645;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: #37474F;
  padding: 13px 10px 13px 6px;
  border-radius: 6px;
  transition: background .16s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f8f4f1;
  color: #b08645;
}
/* ==== MEDIA QUERIES: RESPONSIVE LAYOUT ==== */
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
}
@media (max-width: 920px) {
  .features-grid, .services-list, .testimonials-row, .blog-list {
    gap: 20px;
  }
  .feature-item, .service-card, .testimonial-card, .blog-item {
    min-width: 150px; max-width: 100%; flex-basis: 45%;
  }
}
@media (max-width: 800px) {
  .features-grid, .services-list, .testimonials-row, .blog-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .service-card, .testimonial-card, .blog-item {
    min-width: 80vw; max-width: 100%; flex-basis: 100%;
  }
  header .btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 9px; }
  header .container { gap: 12px; flex-wrap: wrap; }
  header nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 44px 0 32px 0;
    border-radius: 0 0 24px 24px;
  }
  .content-wrapper, .cta .container {
    padding: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer nav { gap: 16px; }
  footer .container { padding: 0 5px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.15rem; }
  .hero h1 { font-size: 1.25rem; }
  p, .subheadline { font-size: 1rem; }
  .btn, .btn-primary { font-size:1rem; padding: 10px 16px; min-width: 120px; }
  .feature-item, .service-card, .testimonial-card, .blog-item {
    padding: 14px 7px 18px 7px;
  }
}


/* ==== COOKIE BANNER & MODAL ==== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #f8f4f1 60%, #e0b787 100%);
  box-shadow: 0 -3px 30px 0 rgba(55,71,79,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 20px 14px;
  z-index: 200;
  gap: 24px;
  opacity: 1;
  transition: opacity .2s, transform .22s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
#cookie-banner p {
  color: #37474F;
  flex: 1 1 200px;
  font-size: 1.03rem;
}
#cookie-banner .btn-cookie {
  margin-left: 12px;
  margin-right: 12px;
  padding: 10px 26px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}
#cookie-accept {
  background: #e0b787;
  color: #1d272e;
  border: 1.5px solid #b19465;
  transition: background .13s;
}
#cookie-accept:hover, #cookie-accept:focus {
  background: #cfa86a;
  color: #fff;
}
#cookie-reject {
  background: #fff;
  color: #e0b787;
  border: 1.5px solid #e0b787;
  transition: background .13s, color .12s;
}
#cookie-reject:hover, #cookie-reject:focus {
  background: #f8f4f1;
  color: #b19465;
}
#cookie-settings {
  background: #f8f4f1;
  color: #37474F;
  border: 1.5px solid #e0b787;
  transition: background .13s;
}
#cookie-settings:hover, #cookie-settings:focus {
  background: #fff;
  color: #b19465;
}

/* ==== COOKIE MODAL POPUP ==== */
#cookie-modal-overlay {
  position: fixed;
  z-index: 210;
  left: 0;right: 0;top: 0;bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(55,71,79,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s;
}
#cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
#cookie-modal {
  background: #fff;
  min-width: 304px;
  max-width: 95vw;
  border-radius: 12px;
  box-shadow: 0 7px 36px 0 rgba(55,71,79,0.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 24px 22px 24px;
  z-index: 230;
  opacity: 1;
  transform: translateY(0);
  transition: transform .27s cubic-bezier(.63,.11,.53,.94);
  position: relative;
}
#cookie-modal h2 {
  margin-bottom: 10px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  margin-bottom: 7px;
}
#cookie-modal input[type="checkbox"] {
  accent-color: #e0b787;
  width: 1.12rem;
  height: 1.12rem;
}
#cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}
#cookie-modal .btn-cookie-modal {
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  background: #e0b787;
  color: #fff;
  font-size: 1rem;
  transition: background .15s;
}
#cookie-modal .btn-cookie-modal.reject {
  background: #fff;
  color: #e0b787;
  border: 1.5px solid #e0b787;
}
#cookie-modal .btn-cookie-modal.reject:hover {
  background: #f7eee3;
}
#cookie-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #b19465;
  font-size: 1.35rem;
  cursor: pointer;
}
#cookie-modal .modal-close:hover {
  color: #37474f;
}

@media (max-width:600px) {
  #cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 6px 10px 6px;
    text-align: left;
  }
}

/* ==== UTILITY STYLES ==== */
.bg-primary {
  background: #e0b787 !important;
}
.bg-accent {
  background: #f8f4f1 !important;
}
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-accent { color: #e0b787; }
.text-dark { color: #37474F; }

.rounded-lg { border-radius: 18px; }
.rounded-full { border-radius: 99px; }
.shadow-md { box-shadow: 0 5px 20px 0 rgba(224,183,135,0.10); }
.shadow-lite { box-shadow: 0px 2px 12px 0 rgba(224,183,135,0.06); }

/* ==== ANIMATIONS ==== */
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInPop {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.section, .feature-item, .service-card, .testimonial-card, .blog-item {
  animation: fadeInPop .74s cubic-bezier(.41,.13,.45,.88);
}

/* ==== FOCUS OUTLINE ACCESSIBILITY ==== */
a:focus, button:focus, .btn:focus, input:focus, select:focus {
  outline: 2px solid #e0b787 !important;
  outline-offset: 2px;
  z-index: 5;
}

/* ==== PRINT ==== */
@media print {
  header, footer, .btn, .btn-primary, .mobile-menu-toggle, .mobile-menu,
  #cookie-banner, #cookie-modal, #cookie-modal-overlay {
    display: none !important;
  }
}
section {
  padding: 15px 0;
}