/* ---------------------- 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, 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 {
  height: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F4ECE7;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4F3D46;
  line-height: 1.7;
  font-weight: 400;
  font-size: 16px;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #4F3D46;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #AB8E88;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #4F3D46;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 600;
}

/* ---------------------- GENERAL LAYOUT / CONTAINERS ---------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.text-section {
  max-width: 710px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(79, 61, 70, 0.08);
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(79, 61, 70, 0.13);
}
.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: #fff;
  border-left: 6px solid #AB8E88;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(79, 61, 70, 0.04);
  margin-bottom: 20px;
  flex-direction: column;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #4F3D46;
  font-style: italic;
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.testimonial-card span {
  color: #4F3D46;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ---------------------- HEADER & NAVIGATION ---------------------- */
header {
  background: rgba(244, 236, 231, 0.93);
  border-bottom: 1px solid #e4ddd7;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px 24px 18px 24px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #4F3D46;
  padding: 6px 4px;
  border-radius: 5px;
  transition: color 0.14s, background 0.14s;
}
nav a:hover,
footer nav a:hover {
  color: #AB8E88;
  background: #F4ECE7;
}
.cta-primary {
  background: #4F3D46;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 7px rgba(79,61,70,0.08);
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  margin-left: 24px;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #AB8E88;
  color: #fff;
  box-shadow: 0 8px 30px rgba(171,142,136,0.16);
}
.cta-secondary {
  background: transparent;
  color: #4F3D46;
  border: 1.5px solid #AB8E88;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #AB8E88;
  color: #fff;
}

/* ---------------------- HERO SECTIONS ---------------------- */
.hero {
  width: 100%;
  background: #fffdfa;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #E4DDD7;
}
.hero .container {
  align-items: center;
  justify-content: center;
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero h1 {
  font-size: 2.9rem;
  color: #4F3D46;
  margin-bottom: 12px;
  text-align: center;
}
.hero .subheadline {
  color: #AB8E88;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  text-align: center;
}

/* ---------------------- FEATURES / ICON SECTIONS ---------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 12px 0 rgba(79,61,70,0.06);
  padding: 34px 26px 28px 26px;
  flex: 1 1 265px;
  max-width: 322px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.22s;
  margin-bottom: 0;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.32rem;
  color: #4F3D46;
  margin-bottom: 6px;
}
.feature p {
  color: #7B6A71;
  margin-bottom: 0;
}
.feature:hover {
  box-shadow: 0 8px 28px 0 rgba(171,142,136,0.09);
}

/* ---------------------- FAQ ACCORDION ---------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 rgba(79,61,70,0.04);
  padding: 22px 26px;
  transition: box-shadow 0.17s;
  cursor: pointer;
  border-left: 5px solid #AB8E88;
}
.faq-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.14rem;
  margin-bottom: 10px;
  color: #4F3D46;
  font-weight: 600;
}
.faq-answer {
  color: #6E5D68;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.7;
}

@media (hover: hover) {
  .faq-item:hover {
    box-shadow: 0 4px 22px 0 rgba(171,142,136,0.13);
  }
}

/* ---------------------- FOOTER ---------------------- */
footer {
  margin-top: 60px;
  background: #fffdfa;
  border-top: 1px solid #e4ddd7;
  font-size: 1rem;
  color: #4F3D46;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 42px;
  padding-bottom: 44px;
}
.footer-brand img {
  height: 38px;
  filter: grayscale(0.07);
  opacity: 0.95;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  opacity: 0.94;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
}
.footer-nav a {
  color: #4F3D46;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.95;
  transition: color 0.14s, background 0.14s;
  border-radius: 5px;
  padding: 5px 4px;
}
.footer-social {
  margin-top: 4px;
  display: flex;
  gap: 12px;
}
.footer-social a {
  border-radius: 100%;
  background: #F4ECE7;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover {
  background: #AB8E88;
}
.footer-social img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.89;
}

/* ---------------------- MAP EMBED ---------------------- */
.map-embed {
  background: #f5efe8;
  border: 1.5px solid #e4ddd7;
  border-radius: 14px;
  padding: 22px;
  max-width: 350px;
  min-width: 180px;
  margin-top: 12px;
  margin-bottom: 4px;
}

/* ---------------------- THANK YOU SCREEN ---------------------- */
.thank-you-section {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffdfa;
  margin-bottom: 80px;
}

/* ---------------------- COOKIE CONSENT BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(79,61,70,0.07);
  padding: 22px 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.32s cubic-bezier(.77,.2,.38,.94), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  max-width: 780px;
  font-size: 1.06rem;
  color: #4F3D46;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 22px;
  padding: 10px 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(171,142,136,0.04);
  transition: background 0.16s, color 0.13s;
}
.cookie-btn.accept {
  background: #4F3D46;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #AB8E88;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #4F3D46;
  border: 1.5px solid #4F3D46;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #4F3D46;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #AB8E88;
  border: 1.5px solid #AB8E88;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #AB8E88;
  color: #fff;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(79,61,70,0.28);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.20s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 9px 36px 0 rgba(79,61,70,0.18);
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 430px;
  min-height: 260px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: fadeInCookieModal 0.34s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #4F3D46;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #AB8E88;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: #4F3D46;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 10px 0;
  font-size: 1rem;
  color: #4F3D46;
}
.cookie-toggle {
  width: 42px;
  height: 25px;
  background: #e9e1db;
  border-radius: 12px;
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #AB8E88;
}
.cookie-toggle:disabled {
  background: #d6c6bc;
  cursor: not-allowed;
}
.cookie-toggle::-webkit-slider-thumb,
.cookie-toggle::-moz-range-thumb,
.cookie-toggle::-ms-thumb {
  appearance: none;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(171,142,136,0.08);
  border: 2px solid #e1d5d1;
  transition: background 0.17s, border 0.18s;
}

/* For checkbox-based toggle */
input[type='checkbox'].cookie-toggle {
  position: relative;
  appearance: none;
  margin: 0;
}
input.cookie-toggle:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1px 5px rgba(171,142,136,0.07);
  border: 1.5px solid #e1d5d1;
}
input.cookie-toggle:checked:after {
  transform: translateX(17px);
  border-color: #AB8E88;
}
input.cookie-toggle:disabled:after {
  background: #ede5e0;
  border-color: #d6c6bc;
}


/* ---------------------- MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  background: #AB8E88;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 105;
  transition: background 0.20s, color 0.14s;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(79,61,70,0.08);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #857178;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 94vw;
  max-width: 410px;
  height: 100vh;
  background: #fffdfa;
  box-shadow: 4px 0 52px rgba(79,61,70,0.18);
  padding: 38px 0 24px 0;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.42s cubic-bezier(.77,.2,.38,.94);
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 6px 0 52px rgba(79,61,70,0.30);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  background: none;
  color: #AB8E88;
  border: none;
  cursor: pointer;
  transition: color 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #4F3D46;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4F3D46;
  font-weight: 600;
  padding: 18px 36px;
  border-bottom: 1px solid #E4DDD7;
  transition: background 0.13s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #F4ECE7;
  color: #AB8E88;
}

/* Overlay for rest of document when menu is open */
body.menu-open {
  overflow: hidden;
  position: relative;
}
.menu-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(79, 61, 70, 0.18);
  z-index: 1200;
  opacity: 1;
  transition: opacity 0.22s;
}
.menu-backdrop.open {
  display: block;
  opacity: 1;
}

/* ---------------------- GENERAL ELEMENTS ---------------------- */
li {
  margin-bottom: 10px;
}
li:last-child {
  margin-bottom: 0;
}
hr {
  border: none;
  border-top: 1.5px solid #ECE6DE;
  height: 1px;
  margin: 32px 0;
}

.section:not(:last-child) {
  margin-bottom: 60px;
}

/* ---------------------- RESPONSIVE BREAKPOINTS ---------------------- */
@media (max-width: 1160px) {
  .container {
    max-width: 98vw;
  }
  footer .container {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 992px) {
  .features-grid {
    gap: 24px;
  }
  .feature {
    max-width: 360px;
  }
}
@media (max-width: 880px) {
  header .container {
    flex-direction: row;
    gap: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-contact, .footer-brand, .footer-nav, .footer-social {
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .hero .container {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.44rem;
  }
  .feature {
    min-width: 140px;
    max-width: 100%;
    padding: 24px 13px 18px 13px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    padding: 10px 18px;
    font-size: 1rem;
  }
  header .container {
    flex-direction: row;
    min-height: 68px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
  }
  .footer-nav {
    gap: 8px 8px;
  }
  .footer-brand img {
    height: 30px;
  }
  .text-section {
    max-width: 100%;
    gap: 13px;
    margin-bottom: 13px;
  }
  .thank-you-section {
    min-height: 230px;
    margin-bottom: 36px;
  }
  .hero {
    min-height: 210px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  .hero h1 {
    font-size: 1.25rem;
    margin-bottom: 7px;
  }
  .testimonials {
    gap: 10px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card,
  .feature {
    padding: 16px 7px;
  }
  .map-embed {
    padding: 10px;
  }
}
@media (max-width: 400px) {
  .cookie-banner-actions {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-modal {
    padding: 18px 6px 16px 8px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* Hide desktop nav/show mobile toggle on mobile */
@media (max-width: 920px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ---------------------- ANIMATIONS ---------------------- */
.card, .feature, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover, .feature:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 4px 34px 0 rgba(171,142,136,0.13);
}
.cta-primary, .cta-secondary {
  transition: background 0.22s, color 0.18s, box-shadow 0.17s, border-color 0.17s;
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(0.97);
}
.mobile-menu,
.cookie-modal-overlay {
  will-change: transform, opacity;
}

/* ---------------------- ACCESSIBILITY ---------------------- */
:focus {
  outline: 2px solid #AB8E88;
  outline-offset: 2px;
}

/* ---------------------- PRINT OPTIMIZATION ---------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
