/* --------------------------------------------------------
   CSS RESET & NORMALIZE (MOBILE FIRST, BOX-SIZING, ETC.)
-------------------------------------------------------- */
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #fbfaf6;
  color: #353535;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #B19660;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #917841;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
button, input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border: none;
}
ul, ol {
  margin-left: 1.25em;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------------------------
   BRAND & PASTEL COLOR PALETTE
---------------------------- */
:root {
  --primary: #353535;      /* deep charcoal */
  --secondary: #B19660;   /* soft gold */
  --accent: #F5F1E3;      /* light background */
  --pastel-blush: #fdebdc;
  --pastel-mint: #e3faef;
  --pastel-blue: #dbeeff;
  --pastel-lilac: #f4e4fa;
  --white: #fff;
  --focus-outline: #aebbe1;
  --shadow-1: 0 2px 12px 0 rgba(207, 198, 169, 0.13);
  --shadow-2: 0 4px 20px 0 rgba(100, 92, 124, 0.10);
}

/* -------------------------
   TYPOGRAPHY & HEADINGS
-------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', "Georgia", serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.15rem;
  color: #524445;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.5;
}
strong, b {
  font-weight: 700;
}

/* Visual Hierarchy for Text */
p, li {
  font-size: 1rem;
  color: var(--primary);
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.text-section, .text-image-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul,
.text-section ol {
  padding-left: 18px;
}
/* Hide list marker for contact items */
.contact-short li { list-style: none; }

/* -------------
   MAIN HEADER
-------------- */
header {
  width: 100%;
  background: var(--accent);
  box-shadow: 0 1px 4px 0 rgba(220, 210, 175, 0.08);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 20px 18px 18px;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 14px;
  transition: transform 0.2s;
}
.main-nav img:hover {
  transform: scale(1.04) rotate(-2deg);
}
.main-nav a {
  font-size: 1rem;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 7px;
  transition: color 0.2s, background 0.15s;
  font-weight: 500;
}
.main-nav a.cta-primary {
  background: var(--secondary);
  color: var(--white);
  margin-left: auto;
  font-weight: 700;
  padding: 7px 18px;
  box-shadow: 0 2px 6px 0 rgba(177,150,96,0.11);
  border-radius: 24px;
  transition: background 0.17s, color 0.13s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #a08140 !important;
  color: var(--white) !important;
}

/* Hide mobile menu trigger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* -- Mobile Menu Styles -- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(250,248,240,0.97);
  box-shadow: var(--shadow-2);
  transform: translateX(-105%);
  transition: transform 0.45s cubic-bezier(.77,0,.177,1);
  padding: 26px 24px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: relative;
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 4px 10px;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  display: block;
  padding: 14px 0 10px 6px;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  background: none;
  transition: background 0.13s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}

/* Hamburger button */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--primary);
    background: none;
    border: none;
    width: 47px;
    height: 47px;
    position: absolute;
    top: 14px;
    right: 12px;
    z-index: 950;
    border-radius: 50%;
    transition: background 0.14s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--pastel-mint);
    color: var(--secondary);
  }
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ------------------------------
   HERO & CTA BUTTON STYLES
------------------------------- */
.cta-primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--white) !important;
  padding: 10px 22px;
  border: none;
  border-radius: 32px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1.16rem;
  margin-top: 10px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px 0 rgba(177,150,96,0.16);
  cursor: pointer;
  transition: background 0.19s, color 0.18s, transform 0.13s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #917841 !important;
  color: #faf3df !important;
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 2px 20px 0 rgba(177,150,96,0.22);
}

/* ---------------------------------
   FLEX LAYOUTS FOR CARDS/SECTIONS
----------------------------------- */
.card-container, .card-grid, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card {
  background: var(--pastel-blue);
  padding: 22px 24px;
  border-radius: 22px;
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 40px 0 rgba(154, 156, 186, 0.10);
  transform: translateY(-4px) scale(1.02);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--pastel-mint);
  padding: 22px 20px 18px 20px;
  border-radius: 20px;
  gap: 15px;
  box-shadow: 0 1px 10px 0 rgba(177, 150, 96, 0.07);
  transition: box-shadow 0.19s, transform 0.12s;
  flex: 1 1 240px;
  min-width: 225px;
  margin-bottom: 20px;
  border: 1.5px solid #e3e6d9;
}
.feature-item img {
  width: 45px;
  height: 45px;
  margin-bottom: 7px;
}
.feature-item h3 {
  font-size: 1.14rem;
  margin-bottom: 6px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 3px 28px 0 rgba(140, 201, 171, 0.13);
  background: var(--pastel-blush);
}

.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* -------------------------------
   TESTIMONIALS & REVIEW CARDS
-------------------------------- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  color: var(--primary);
  padding: 20px 26px 22px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(52, 74, 109, 0.09);
  min-width: 235px;
  max-width: 350px;
  flex: 1 1 270px;
  border-left: 6px solid var(--secondary);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 28px 0 rgba(82, 68, 69, 0.10);
  transform: translateY(-2px);
}
.testimonial-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  margin-bottom: -10px;
}
.testimonial-rating img {
  width: 20px;
  height: 20px;
}
.testimonial-author {
  color: var(--secondary);
  font-style: italic;
  font-size: 0.98rem;
  margin-top: 2px;
  font-family: 'Playfair Display',serif;
  letter-spacing: 0.006em;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: var(--pastel-lilac);
  padding: 20px 22px 18px 20px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(168,144,184,0.06);
  border-left: 4px solid var(--secondary);
  transition: box-shadow 0.16s, background 0.13s;
}
.faq-item h2 {
  font-size: 1.11rem;
  color: var(--primary);
}
.faq-item:hover, .faq-item:focus-within {
  background: var(--pastel-blue);
}

/* ------------------------------------
   FOOTER SECTION
------------------------------------- */
footer {
  background: var(--accent);
  padding: 34px 16px 24px 16px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -1px 10px 0 rgba(220,210,175,0.04);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  color: var(--primary);
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 5px;
  transition: color 0.17s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}
.footer-contact {
  margin-top: 8px;
  color: #7b6a4b;
  font-size: 0.98rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  text-align: center;
}

/* -----------------------------
   COOKIE CONSENT BANNER / MODAL
------------------------------ */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-mint) 50%, var(--pastel-lilac) 100%);
  box-shadow: 0 -4px 22px 0 rgba(210, 203, 186, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 22px 18px 18px 18px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #33303a;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.49,.26,.32,1.19);
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
}
#cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
  justify-content: center;
}
#cookie-consent-banner button {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 20px;
  border: none;
  background: var(--secondary);
  color: var(--white);
  margin: 0 2px;
  box-shadow: 0 1.5px 7px 0 rgba(177,150,96,0.10);
  transition: background 0.14s;
}
#cookie-consent-banner button.accept {
  background: var(--secondary);
}
#cookie-consent-banner button.accept:hover, #cookie-consent-banner button.accept:focus {
  background: #917841;
}
#cookie-consent-banner button.reject {
  background: #eacccd;
  color: #644f51;
}
#cookie-consent-banner button.reject:hover, #cookie-consent-banner button.reject:focus {
  background: #eed2d4;
}
#cookie-consent-banner button.settings {
  background: #dbeeff;
  color: #353535;
}
#cookie-consent-banner button.settings:hover, #cookie-consent-banner button.settings:focus {
  background: #b8d7ff;
}

#cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1230;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(60,54,48,0.33);
  transition: background 0.22s;
}
#cookie-modal-overlay.hide {
  display: none;
}
#cookie-modal {
  background: var(--white);
  padding: 36px 24px 28px 24px;
  border-radius: 24px;
  box-shadow: 0 14px 40px 0 rgba(160,140,180,0.22);
  max-width: 92vw;
  width: 420px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition: transform 0.26s cubic-bezier(.54,.19,.16,1.22);
  transform: translateY(0);
}
#cookie-modal.hide {
  transform: translateY(110vh);
}
#cookie-modal .modal-close {
  position: absolute;
  right: 17px;
  top: 14px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--primary);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: background 0.2s;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: var(--pastel-mint);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.4;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal-category .locked {
  color: #939393;
  font-size: 0.97em;
  margin-left: 4px;
  font-style: italic;
}
#cookie-modal .modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
#cookie-modal button {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 18px;
  border: none;
  background: var(--secondary);
  color: #fff;
  margin: 0 2px;
  transition: background 0.13s;
}
#cookie-modal button.save {
  background: var(--secondary);
}
#cookie-modal button.save:hover, #cookie-modal button.save:focus {
  background: #917841;
}
#cookie-modal button.cancel {
  background: #eacccd;
  color: #644f51;
}
#cookie-modal button.cancel:hover, #cookie-modal button.cancel:focus {
  background: #eed2d4;
}

/* --- 
   GENERAL FORM/INPUT STYLES 
--- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1.5px solid #dbdacd;
  width: 100%;
  outline: none;
  margin-bottom: 18px;
  background: #fcfcf7;
  color: var(--primary);
  transition: border 0.14s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--focus-outline);
  box-shadow: 0 3px 16px 0 rgba(174, 187, 225, 0.09);
}

/* -------------
   MISC SPACING
-------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -----------------------------------------
   RESPONSIVE DESIGN: MOBILE FIRST LOGIC
----------------------------------------- */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
    padding: 0 2vw;
  }
  section, .section {
    padding: 32px 7vw 32px 7vw;
  }
  .footer-contact {
    font-size: 0.9rem;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-grid, .card-container, .content-grid, .testimonial-list {
    gap: 16px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 160px;
    max-width: 100%;
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 22px 3vw;
    margin-bottom: 44px;
  }
  .feature-grid, .card-grid, .card-container, .content-grid, .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 14px;
  }
  h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }
  h2 {
    font-size: 1.19rem;
    margin-bottom: 8px;
  }
  .main-nav {
    display: none;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.23rem;
  }
  .footer-contact {
    font-size: 0.835rem;
  }
  #cookie-modal {
    width: 99vw;
    max-width: 99vw;
    padding: 14vw 3vw 10vw 3vw;
  }
  #cookie-consent-banner {
    padding: 13px 4vw 13px 4vw;
    font-size: 0.97rem;
  }
}

/* --- ACCESSIBILITY, FOCUS STATES --- */
a:focus, button:focus, .cta-primary:focus, input:focus, .modal-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2.5px;
  background: var(--pastel-mint);
}

/* --------------
   MICRO-ANIMATION
---------------- */
.cta-primary, .feature-item, .card, .testimonial-card, .faq-item, .main-nav a, .footer-nav a {
  transition: 
    background 0.12s,
    color 0.12s,
    box-shadow 0.13s,
    transform 0.14s;
}

/* --------------
   UTILITIES
---------------- */
.hide { display: none !important; }

/* --------------
   SOFT/PASTEL
---------------- */
body {
  background: var(--accent);
}

/* --------------
   SCROLLBARS
---------------- */
::-webkit-scrollbar {
  width: 8px;
  background: #f5f1e3;
}
::-webkit-scrollbar-thumb {
  background: #eadfd1;
  border-radius: 8px;
}

/* --------------
   PRINT
---------------- */
@media print {
  header, footer, #cookie-consent-banner, #cookie-modal-overlay { display: none !important; }
}
