/* ======= CSS RESET & BASE STYLES ======= */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #F3EFEA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #24314D;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24314D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C7B299;
}
ul, ol {
  padding-left: 1.4em;
  margin: 0 0 24px 0;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #24314D;
  line-height: 1.12;
  margin: 0 0 18px 0;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  color: #24314D;
}
h2 {
  font-size: 2rem;
  color: #C7B299;
  margin-bottom: 20px;
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 2px;
  background: #24314D;
  margin: 8px 0 0;
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0 0 14px 0;
  font-size: 1rem;
  color: #24314D;
}
strong {
  color: #24314D;
}
blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #24314D;
  border-left: 5px solid #C7B299;
  padding-left: 20px;
  margin: 24px 0 16px 0;
  font-style: italic;
}

/* ======= CONTAINERS & SPACING (MANDATORY FLEX) ======= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 18px 0 rgb(36 49 77 / 10%);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** Feature Grid in main pages: ensure flexbox only *****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px 0 rgb(199 178 153 / 8%);
  padding: 28px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s;
}
.feature-grid > div:hover {
  box-shadow: 0 9px 28px 0 rgb(36 49 77 / 19%);
  transform: translateY(-4px) scale(1.02) rotate(-2deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 15px;
  filter: hue-rotate(-13deg) brightness(1.03) saturate(1.18);
}
/***** Testimonial cards *****/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgb(36 49 77 / 8%);
  min-width: 250px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  position: relative;
  animation: fadein 1s;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.testimonial-card p {
  color: #24314D;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  text-align: center;
}
.testimonial-meta {
  display: flex;
  gap: 10px;
  font-size: 1rem;
  color: #C7B299;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  justify-content: center;
  align-items: center;
}
/* --- FAQ List --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgb(36 49 77 / 8%);
  padding: 22px 20px 16px 20px;
  transition: box-shadow 0.22s;
}
.faq-item:hover {
  box-shadow: 0 5px 24px 0 rgb(199 178 153 / 20%);
}
.faq-item h2 {
  font-size: 1.25rem;
  color: #24314D;
  margin-bottom: 0.5em;
}
.faq-answer p {
  margin: 0;
}
/* --- Cards for CTA, List, and Info --- */
.text-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 18px 0 rgb(199 178 153 / 8%);
  padding: 26px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/***** BUTTONS & INTERACTIONS *****/
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 42px;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  min-width: 145px;
  padding: 14px 34px;
  margin: 8px 4px 8px 0;
  box-shadow: 0 2px 12px 0 rgb(36 49 77 / 6%);
  transition: background 0.25s, color 0.17s, transform 0.15s;
}
.btn-primary {
  background: #24314D;
  color: #F3EFEA;
  border: 2px solid #24314D;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C7B299;
  color: #24314D;
  border-color: #C7B299;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}
.btn-secondary {
  background: #C7B299;
  color: #24314D;
  border: 2px solid #C7B299;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #24314D;
  color: #fff;
  border-color: #24314D;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
}

/***** NAVIGATION MENU (DESKTOP) *****/
header {
  background: #F3EFEA;
  border-bottom: 1.5px solid #eee;
  position: relative;
  z-index: 998;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0 8px 0;
  justify-content: flex-start;
}
.main-nav img {
  height: 44px;
  padding-right: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: #24314D;
  opacity: 0.93;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.14s, border-color 0.16s;
  border-radius: 3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #C7B299;
  border-bottom: 2px solid #C7B299;
  background: #F3EFEA;
}
.main-nav .btn-primary {
  margin-left: auto;
  margin-right: 24px;
}

/***** MOBILE MENU ******/
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36,49,77,0.74);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.69,.01,.36,1), opacity 0.33s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 20px 20px 10px 20px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 1120;
}
.mobile-menu-close:hover {
  color: #C7B299;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 32px 0 32px;
}
.mobile-nav a {
  color: #F3EFEA;
  font-size: 1.38rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 160%;
  padding: 10px 0 10px 4px;
  transition: color 0.16s;
  border-radius: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C7B299;
}

/* === Hamburger menu appears for mobile === */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1010;
    font-size: 2.2rem;
    color: #24314D;
    background: none;
    border: none;
    padding: 4px 16px 4px 4px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    color: #fff;
    background: #24314D;
  }
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/****** HERO SECTION *******/
.hero {
  background: linear-gradient(110deg, #F3EFEA 60%, #C7B299 100%);
  min-height: 420px;
  border-radius: 0 0 30px 30px;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  box-shadow: 0 3px 18px 0 rgb(36 49 77/4%);
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 22px;
}
.hero h1 {
  font-size: 2.35rem;
  color: #24314D;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 #C7B29955;
}
.hero p {
  font-size: 1.15rem;
  color: #24314D;
  margin-bottom: 16px;
  opacity: 0.96;
}

/***** CTA SECTION *****/
.section .btn-primary, .content-wrapper .btn-primary {
  margin-top: 12px;
}

/* DISTINCTIVE LISTS */
ul {
  list-style-type: circle;
}
.section ul, .text-section ul {
  margin-bottom: 14px;
}
.section ul li, .text-section ul li {
  font-size: 1rem;
  /* brings emphasis by using artistic font */
  font-family: 'Montserrat', Arial, sans-serif;
}

/***** FOOTER STYLE *****/
footer {
  background: #24314D;
  color: #fff;
  padding: 0;
}
footer .container {
  padding: 0 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 18px 0;
  align-items: flex-start;
}
footer img {
  max-height: 48px;
}
.footer-nav {
  display: flex;
  gap: 16px;
  flex-direction: column;
}
.footer-nav a {
  font-size: 1rem;
  color: #C7B299;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0.5em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.contact-summary p {
  color: #F3EFEA;
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
.social-links a {
  display: flex;
  background: #C7B299;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.18s;
}
.social-links a:hover {
  background: #fff;
  transform: scale(1.12) rotate(-6deg);
}
.social-links img {
  width: 22px; height: 22px;
}

/* --- Responsive adjustments for footer --- */
@media (max-width: 991px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/****** RESPONSIVE LAYOUTS & ADJUSTMENTS ******/
@media (max-width: 991px) {
  .feature-grid, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
  }
  .hero {
    min-height: 260px;
    border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  h1 {
    font-size: 1.48rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .feature-grid > div {
    padding: 20px 14px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .text-section {
    padding: 15px 8px;
  }
}

/****** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(243,239,234, 0.96);
  color: #24314D;
  padding: 20px 16px;
  box-shadow: 0 -3px 20px 0 rgb(36 49 77 / 19%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1.1rem;
  border-top: 2.5px solid #C7B299;
  transition: transform 0.25s, opacity 0.23s;
  will-change: transform, opacity;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(60px);
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  cursor: pointer;
  margin: 0 2px 0 0;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s;
}
.cookie-banner .accept {
  background: #24314D;
  color: #F3EFEA;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #C7B299;
  color: #24314D;
}
.cookie-banner .reject {
  background: #fff;
  color: #24314D;
  border: 2px solid #C7B299;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #C7B299;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #C7B299;
  border: 2px solid #C7B299;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #C7B299;
  color: #24314D;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    font-size: 0.99rem;
    padding: 15px 6px;
  }
}

/**** Cookie Modal ****/
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(36, 49, 77, 0.61);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 26px;
  max-width: 400px;
  width: 88vw;
  padding: 34px 30px 26px 30px;
  box-shadow: 0 7px 28px 0 rgb(36 49 77 / 18%);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalpop 0.28s;
}
@keyframes modalpop {
  from { transform: scale(0.92) translateY(50px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #C7B299;
  margin-left: 12px;
  cursor: pointer;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 9px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s;
}
.cookie-modal-buttons .save {
  background: #24314D;
  color: #F3EFEA;
}
.cookie-modal-buttons .save:hover, .cookie-modal-buttons .save:focus {
  background: #C7B299;
  color: #24314D;
}
.cookie-modal-buttons .cancel {
  background: #fff;
  color: #24314D;
  border: 2px solid #C7B299;
}
.cookie-modal-buttons .cancel:hover, .cookie-modal-buttons .cancel:focus {
  background: #C7B299;
  color: #fff;
}

/******** ARTISTIC/CREATIVE UNIQUE ELEMENTS ********/
.hero h1, h2, h3, h4, blockquote, .btn-primary, .card, .feature-grid > div, .testimonial-card, .mobile-nav a, .faq-item h2 {
  /* Use more artistic display font */
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}
/***** Add unique artistic flourishes with before/after or pseudo elements *****/
h1, h2, h3 {
  position: relative;
}
h1:before, h2:before {
  content: "";
  position: absolute;
  left: -18px; top: -10px;
  width: 32px; height: 8px;
  background: #C7B299;
  border-radius: 6px;
  opacity: 0.18;
  transform: rotate(-1deg);
}
h2:before { left: -10px; width: 20px; height: 6px; }

/******** CONTACT MAP & ICONS *******/
.contact-map {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #24314D;
  font-size: 1rem;
  margin: 18px 0;
}
.contact-map img {
  width: 28px;
  height: 28px;
}
.contact-summary img {
  width: 17px;
  height: 17px;
  margin-right: 6px;
}

/**** Micro-interactions ****/
.card, .feature-grid > div, .testimonial-card, .faq-item, .btn-primary, .btn-secondary, .social-links a {
  transition: box-shadow 0.22s, transform 0.13s, background 0.17s, color 0.14s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .faq-item:hover {
  transform: translateY(-4px) scale(1.02) rotate(-1.5deg);
  box-shadow: 0 7px 32px 0 rgb(36 49 77 / 14%);
}
.card:active, .feature-grid > div:active, .testimonial-card:active, .faq-item:active {
  transform: scale(0.98) rotate(-1deg);
  box-shadow: 0 2px 12px 0 rgb(36 49 77 / 12%);
}

/********* Additional Small Tweaks for Artistic Feel *********/
.btn-primary::after {
  content: '\2192';
  margin-left: 14px;
  font-size: 1.2em;
  color: #C7B299;
  opacity: 0.72;
  transition: opacity 0.16s, transform 0.18s;
}
.btn-primary:hover::after, .btn-primary:focus::after {
  opacity: 1;
  transform: translateX(5px);
}

/***** Hide cookie modal and menu overlay by default *****/
.cookie-modal, .cookie-modal-content, .mobile-menu {
  display: flex;
}

/***** Z-INDEX ENSURANCE *****/
.mobile-menu, .cookie-modal, .cookie-banner {
  z-index: 9999;
}

/***** Ensure no absolute positioning for content blocks (cards) *****/
.card, .feature-grid > div, .testimonial-card, .faq-item, .text-section, .content-wrapper, .contact-map {
  position: relative;
}
/***** Utility: visually hide but accessibly available *****/
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ======= End of style.css ======= */
