/* --- CSS RESET & BASE --- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F7F5F0;
  color: #283C3C;
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Montserrat', serif;
  color: #283C3C;
  margin-bottom: 16px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, dl {
  margin-bottom: 18px;
}
strong {
  font-weight: bold;
}
a {
  color: #283C3C;
  text-decoration: underline;
  transition: color .2s;
}
a:hover {
  color: #D9AD6A;
}

/* --- BRAND COLORS as VARIABLES --- */
:root {
  --primary: #283C3C;
  --secondary: #D9AD6A;
  --accent: #F7F5F0;
  --white: #fff;
  --shadow: rgba(40,60,60,0.07);
  --shadow-str: 0 2px 16px 0 var(--shadow);
}

/* ----- LAYOUT CONTAINERS ----- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.text-section {
  max-width: 680px;
  margin: 0 auto;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 var(--shadow);
  padding: 28px 26px;
  min-width: 260px;
  transition: transform .18s cubic-bezier(.6,0,.4,1), box-shadow .22s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 8px 32px 2px rgba(40,60,60,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;
}

.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.feature-grid > div, .features > div {
  flex: 1 1 260px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  transition: box-shadow .18s, transform .15s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 34px 3px rgba(217,173,106,0.10);
  transform: translateY(-4px) scale(1.01);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 1px 4px rgba(40,60,60,0.06);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--accent);
  border: 2.5px solid var(--secondary);
  border-radius: 14px;
  padding: 24px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 28px 0 rgba(40,60,60,0.04);
  min-width: 220px;
  transition: border-color .18s, box-shadow .18s;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1rem;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-card:hover {
  border-color: #AE873F;
  box-shadow: 0 2px 22px 0 rgba(217,173,106,0.10);
}

.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ----- NAVIGATION STYLES ----- */
header {
  background: var(--white);
  box-shadow: 0 2px 22px 0 rgba(40,60,60,0.05);
  z-index: 30;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}
.main-nav > a img {
  height: 42px;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  padding: 9px 5px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .17s, color .16s;
  font-weight: 600;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--secondary);
  color: var(--white);
}
.cta-button {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 14px 0 rgba(217,173,106,0.09);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .15s, color .15s, box-shadow .18s, transform .17s cubic-bezier(.71,.21,.33,.96);
}
.cta-button:hover,
.cta-button:focus {
  background: #AE873F;
  color: var(--accent);
  box-shadow: 0 3px 24px 0 rgba(217,173,106,0.15);
  transform: scale(1.04) rotate(-0.8deg);
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 1rem;
  margin-right: 0;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background .16s, color .17s;
}
.footer-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
footer p {
  font-size: 0.98rem;
  color: var(--accent);
  line-height: 1.6;
}

/* ----- MOBILE NAVIGATION ----- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--secondary);
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: var(--white);
  z-index: 103;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background .16s, color .16s, transform .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #AE873F;
  color: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(40,60,60,0.96);
  z-index: 120;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform .35s cubic-bezier(.54,.15,.53,1.04), opacity .25s;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: transparent;
  color: var(--secondary);
  border: none;
  margin: 24px 24px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .22s;
  z-index: 210;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 48px 0 0 34px;
  gap: 18px;
  width: 90vw;
  max-width: 390px;
}
.mobile-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 13px 16px;
  width: 100%;
  letter-spacing: 0.04em;
  border-radius: 10px;
  transition: background .16s, color .16s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1120px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .main-nav {
    max-width: 99vw;
    padding: 18px 10px;
  }
}

@media (max-width: 880px) {
  .main-nav ul {
    gap: 18px;
  }
  .content-wrapper, .feature-grid, .testimonial-slider {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav {
    padding-right: 58px;
  }
  .cta-button {
    font-size: 0.97rem;
    padding: 12px 18px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid > div, .features > div {
    min-width: 90vw;
    width: 100%;
    flex: 1 1 98vw;
    padding: 22px 14px;
  }
  .card {
    min-width: 92vw;
    padding: 21px 13px;
  }
  .testimonial-card {
    min-width: 91vw;
    width: 100%;
    padding: 22px 13px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .card-container, .features, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.7rem;
  }
  .section {
    padding: 22px 6px;
  }
  .container {
    padding: 0 2px;
  }
}

/* ----- BUTTONS, LISTS, MICRO-INTERACTIONS ----- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1em;
  line-height: 1.5;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

button, input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 100px;
  padding: 12px 26px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 14px 0 rgba(217,173,106,0.09);
  transition: background .15s, color .15s, box-shadow .17s, transform .16s;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: #AE873F;
  color: var(--accent);
  box-shadow: 0 3px 22px 0 rgba(217,173,106,0.12);
  transform: scale(1.03);
}

/* ----- GEOMETRIC/STRUCTURED VISUAL DECOR ----- */
.section {
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -16px; left: -22px;
  width: 66px; height: 64px;
  background: var(--secondary);
  opacity: 0.10;
  border-radius: 14% 40% 26% 38% / 48% 20% 42% 37%;
  z-index: 0;
  pointer-events: none;
}
.section:nth-child(2n):before {
  left: auto;
  right: -28px;
  top: -26px;
}
.section > .container, .section > .container > .content-wrapper {
  position: relative;
  z-index: 2;
}

hr {
  border: none;
  height: 2px;
  background: var(--accent);
  margin: 48px 0;
  border-radius: 3px;
}

/* ----- FAQs, DL/DT/DD Lists ----- */
dl {
  margin-bottom: 22px;
}
dt {
  font-weight: bold;
  margin-top: 12px;
  font-size: 1em;
}
dd {
  margin-left: 20px;
  margin-bottom: 10px;
  font-size: 1em;
}

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  border-top: 3px solid var(--secondary);
  color: var(--primary);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 26px 16px 20px 16px;
  box-shadow: 0 -4px 24px 0 rgba(40,60,60,0.10);
  font-size: 1rem;
  transition: transform .36s cubic-bezier(.54,.14,.57,.98), opacity .26s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100vh);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}
.cookie-consent-banner button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 100px;
  padding: 7px 18px;
  margin: 0 2px;
  box-shadow: none;
  border: 1.5px solid var(--secondary);
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  transition: background .12s, color .12s, border-color .13s;
}
.cookie-consent-banner button.primary {
  background: var(--secondary);
  color: var(--white);
  border: 1.5px solid var(--secondary);
}
.cookie-consent-banner button:hover {
  background: var(--secondary);
  color: var(--white);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 97vw;
  max-width: 370px;
  background: var(--white);
  border-radius: 17px;
  transform: translate(-50%,-50%) scale(1);
  box-shadow: 0 8px 48px 4px rgba(40,60,60,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 28px 32px 28px;
  opacity: 1;
  transition: opacity .2s, transform .35s cubic-bezier(.19,.9,.58,1.3);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-34%) scale(0.97);
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-category {
  margin-bottom: 13px;
  padding: 10px 0 7px 0;
  border-bottom: 1px solid var(--accent);
  width: 100%;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal .modal-category.essential label {
  opacity: 0.6;
}
.cookie-modal label {
  cursor: pointer;
  font-weight: 500;
}
.cookie-modal input[type=checkbox]:not(:checked) + label:before {
  border: 1.5px solid var(--secondary);
  background: #eee;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--secondary);
  margin-right: 7px;
}
.cookie-modal .modal-footer {
  margin-top: 18px;
  width: 100%;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--secondary);
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  transition: background .13s, color .13s;
}
.cookie-modal button.primary {
  background: var(--secondary);
  color: var(--white);
}
.cookie-modal button:hover {
  background: var(--secondary);
  color: var(--white);
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 18px 6px 16px 6px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 24px 6vw 18px 6vw;
  }
}

/* --- CUSTOM SCROLLBAR for luxury feel --- */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #e6ddd0;
  border-radius: 8px;
  border: 2px solid #F7F5F0;
}
body::-webkit-scrollbar-track {
  background: #F7F5F0;
}

/* --- MISCELLANEOUS --- */
::-moz-selection {
  background: var(--secondary);
  color: var(--white);
}
::selection {
  background: var(--secondary);
  color: var(--white);
}

/* --- FOCUS STYLES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-button:focus,
.mobile-nav a:focus, .mobile-menu-toggle:focus,
.mobile-menu-close:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* --- ANIMATIONS --- */
.cta-button, button, .card, .feature-grid > div, .testimonial-card {
  will-change: transform;
  transition: box-shadow .22s, background .18s, color .15s, transform .15s cubic-bezier(.39,.62,.14,1.08);
}

/* --- FORMS & INPUTS (lightly styled for luxury) --- */
input, textarea, select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1.5px solid #d7d6d0;
  background: #fff;
  margin-bottom: 14px;
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* --- GEOMETRIC ANGULAR FONTS (by Playfair Display for headings, Montserrat for body) --- */

/* --- REMOVE ABSOLUTES FROM CARDS: ensure margin/gap for all cards is at least 20px --- */
.card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px !important;
}

/* --- VISUAL HIERARCHY & WHITE SPACE --- */
.section > .container > .content-wrapper > h1,
.section > .container > .content-wrapper > h2 {
  margin-top: 12px;
  margin-bottom: 14px;
}
.section > .container > .content-wrapper > p {
  margin-bottom: 20px;
  font-size: 1.08em;
}

/* --- ENSURE .section CLASS IS ALWAYS 60PX BOTTOM MARGIN AND 40PX PADDING, EVEN ON MOBILE --- */
@media (max-width: 540px) {
  .section {
    margin-bottom: 35px;
    padding: 15px 2px;
  }
}

/************************************************************
   END OF CSS. All layout containers use only flexbox.
 ************************************************************/
