/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #4E2E13;
  background: #FFF7F1;
  min-height: 100vh;
  line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #4E2E13;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px #f6e8d570;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #B48A78;
}
p, ul, ol, li {
  font-size: 1rem;
  color: #46240b;
}
strong {
  font-weight: 700;
  color: #B48A78;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
a {
  color: #B48A78;
  text-decoration: none;
  transition: color .2s, background .2s;
  border-radius: 6px;
  padding: 1px 2px;
}
a:focus, a:hover {
  color: #fff;
  background: #B48A78;
  outline: none;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF7F1;
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 #f6e8d560;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #F6E8D5;
  border-bottom: 4px solid #B48A78;
  box-shadow: 0 3px 24px #b48a7820;
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.025rem;
  font-weight: 500;
  text-transform: none;
  background: none;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 6px 13px;
}
nav a:hover, nav a:focus {
  background: #B48A78;
  color: #FFF;
  box-shadow: 0 2px 14px #b48a7830;
}
.cta-primary {
  background: #B48A78;
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  border-radius: 18px;
  padding: 10px 26px;
  box-shadow: 0 3px 15px #b48a7818;
  cursor: pointer;
  margin-left: auto;
  letter-spacing: 0.04em;
  transition: background .2s, box-shadow .2s, transform .22s cubic-bezier(.18,1.04,.97,.99);
}
.cta-primary:hover, .cta-primary:focus {
  background: #4E2E13;
  color: #F6E8D5 !important;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 18px #4e2e1355, 0 0px 0px #fff;
  outline: none;
}
header .cta-primary {
  margin-left: auto;
}

/* MOBILE NAVIGATION (BURGER MENU) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: #B48A78;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 180;
  cursor: pointer;
  box-shadow: 0 2px 10px #B48A7850;
  transition: background .2s, transform .2s;
}
.mobile-menu-toggle:active {
  background: #4E2E13;
  transform: scale(0.98);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #FFF7F1;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.42,1.01,.61,.92);
  box-shadow: -10px 0 32px #4e2e1318;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #B48A78;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  margin: 18px 18px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 10px #B48A7850;
  transition: background .2s, transform .2s;
}
.mobile-menu-close:active {
  background: #4E2E13;
  transform: scale(0.97);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  padding: 44px 0 22px 0;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.22rem;
  font-weight: 600;
  color: #4E2E13;
  width: 92vw;
  text-align: center;
  padding: 14px 0;
  background: #f6e8d5;
  border-radius: 18px;
  margin: 0 0 2px 0;
  box-shadow: 0 1px 8px #B48A7835;
  transition: background .18s, color .18s, box-shadow .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B48A78;
  color: #fff;
  box-shadow: 0 5px 14px #b48a7828;
}

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


/* MAIN / FLEX UTILITY PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 26px #b48a7821;
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .19s, transform .22s cubic-bezier(.3,1.21,.48,.83);
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 28px #B48A7840, 0 4px 12px #F6E8D550;
  transform: translateY(-4px) scale(1.02) rotate(-1.5deg);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FAF3EC;
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px #b48a7820;
  color: #402307;
  font-size: 1.13rem;
  transition: box-shadow .18s, background .21s;
}
.testimonial-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.14rem;
  color: #4E2E13;
  flex: 1 1 0%;
}
.testimonial-card span {
  display: inline-block;
  font-size: 0.95rem;
  color: #B48A78;
  margin-left: 12px;
  font-style: italic;
}
.testimonial-card:hover {
  background: #FFF7F1;
  box-shadow: 0 7px 20px #b48a7825;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 0;
}

/* LISTS & ICONS (index, contact, etc.) */
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  padding-left: 0;
  list-style: disc inside none;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 8px;
  padding-top: 4px;
  font-size: 1rem;
  color: #4E2E13;
  line-height: 1.7;
}
ul img, ol img {
  width: 28px;
  height: 28px;
  background: #F6E8D5;
  border-radius: 50%;
}

/* QUOTE / AVERAGE REVIEWS */
strong {
  font-weight: 700;
  color: #B48A78;
  background: none;
}

/* FOOTER */
footer {
  background: #F6E8D5;
  border-top: 4px solid #B48A78;
  padding-top: 22px;
  padding-bottom: 16px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
footer nav a {
  font-size: 1rem;
  color: #59422e;
  background: none;
  padding: 0;
  margin-bottom: 2px;
}
footer .text-section {
  color: #4E2E13;
  font-size: 0.95rem;
  margin-bottom: 0;
}
footer small {
  display: block;
  width: 100%;
  margin-top: 18px;
  color: #A78470;
  text-align: center;
  font-size: 0.93rem;
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF7F1;
  border-top: 4px solid #B48A78;
  box-shadow: 0 -4px 24px #b48a7840;
  z-index: 3000;
  padding: 20px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookiePopIn 0.7s cubic-bezier(.19,1,.22,1);
}
@keyframes cookiePopIn {
  0% { transform: translateY(100%); opacity: 0; }
  80% { transform: translateY(-7px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.01rem;
  color: #4E2E13;
  line-height: 1.6;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  gap: 22px;
  margin-top: 3px;
}
.cookie-btn {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 18px;
  padding: 9px 20px;
  box-shadow: 0 2px 10px #b48a7827;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  margin: 0 2px;
}
.cookie-btn.accept {
  background: #B48A78;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #4E2E13;
}
.cookie-btn.reject {
  background: #fff;
  color: #B48A78;
  border: 2px solid #B48A78;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B48A78;
  color: #fff;
}
.cookie-btn.settings {
  background: #4E2E13;
  color: #fff;
  border: none;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #B48A78;
}
/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3010;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1a1816b8;
  justify-content: center;
  align-items: center;
  animation: overlayIn .4s;
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FFF7F1;
  border-radius: 18px;
  box-shadow: 0 7px 64px #B48A7840;
  padding: 34px 24px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  animation: modalIn .52s cubic-bezier(.43,1.39,.76,.91);
}
@keyframes modalIn {
  0% { transform: scale(0.85) rotate(-6deg); opacity: 0; }
  70% { transform: scale(1.05) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #4E2E13;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #4E2E13;
}
.cookie-toggle {
  accent-color: #B48A78;
  width: 22px;
  height: 22px;
  margin-left: 12px;
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-top: 14px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px;
  right: 20px;
  background: #fff;
  color: #B48A78;
  border: 2px solid #B48A78;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .15s, color .15s;
  box-shadow: 0 1px 5px #b48a782a;
}
.cookie-modal .close-cookie-modal:hover {
  background: #B48A78;
  color: #fff;
}

/* BUTTONS & LINKS */
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  transition: background .22s, color .18s, box-shadow .19s, transform .18s;
}
button:focus {
  outline: 2px dotted #B48A78;
  outline-offset: 4px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .testimonial-card, .cta-primary, .cookie-consent-banner, .mobile-menu, .cookie-modal {
  transition: box-shadow .2s, background .2s, transform .15s, color .15s;
}
.cta-primary, .cookie-btn {
  transition: background .19s, color .15s, box-shadow .18s, transform .2s;
}

/* DECORATIVE ELEMENTS */
.card:before, .testimonial-card:before {
  content: '';
  position: absolute;
  top: -18px;
  right: 34px;
  width: 38px;
  height: 18px;
  background: #F6E8D5;
  border-radius: 22px 22px 0 0;
  z-index: 0;
  opacity: 0.23;
  transform: rotate(-12deg);
  pointer-events: none;
  display: block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .container {
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 7px 20px 7px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 12px #b48a7820;
  }
  .content-wrapper {
    gap: 18px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card, .testimonial-card {
    padding: 17px 10px;
    border-radius: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.3rem;
  }
  .cta-primary {
    padding: 8px 13px;
    font-size: 1rem;
    letter-spacing: 0.01em;
  }
}

/* PLAYFUL & DYNAMIC EXTRAS */
.cta-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Comic Sans MS', 'Comic Sans', Chalkboard, 'Roboto', Arial, sans-serif;
  letter-spacing: 0.03em;
}
.section {
  border: 2.5px dashed #B48A78;
  box-shadow: 0 6px 34px #b48a7827;
  background-image: repeating-linear-gradient(-45deg, #fff7f1, #fff7f1 12px, #f6e8d5 13px, #FFF7F1 27px);
  position: relative;
  overflow: visible;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -24px;
  top: -18px;
  width: 38px;
  height: 38px;
  background: #B48A78;
  border-radius: 60% 40% 60% 45%/56% 35% 48% 61%;
  opacity: .17;
  pointer-events: none;
  z-index: 0;
  animation: playfulWobble 3s ease-in-out infinite alternate;
}
@keyframes playfulWobble {
  0% { transform: scale(1) rotate(-5deg); }
  75% { transform: scale(1.09) rotate(3deg);}
  100% { transform: scale(1) rotate(-1deg);}
}

/* HERO ANIMATED TEXT */
h1 {
  animation: jumpPop 1.2s cubic-bezier(.50,1.36,.83,1.02);
  background: linear-gradient(90deg, #B48A78 40%, #F6E8D5 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@keyframes jumpPop {
  0% { opacity: 0; transform: translateY(40px) scale(0.88); }
  50% { opacity: 1; transform: translateY(-12px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Z-INDEX LAYERING --- */
.section, main, .mobile-menu, .mobile-menu-toggle, header, footer {
  z-index: 1;
}
.cookie-consent-banner, .cookie-modal-overlay {
  z-index: 3000;
}

/* ACCESSIBILITY: FOCUS INDICATORS */
:focus {
  outline: 2px solid #B48A78;
  outline-offset: 3px;
  z-index: 1;
}

/* SCROLLBAR (PLAYFUL STYLE) */
/* Chrome/Edge/Webkit */
::-webkit-scrollbar {
  width: 12px;
  background: #F6E8D5;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb {
  background: #B48A78;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:active {
  background: #4E2E13;
}
/* Firefox */
* {
  scrollbar-color: #B48A78 #F6E8D5;
  scrollbar-width: thin;
}
