/* -----------------------------------------------------
   RESET AND NORMALIZE
----------------------------------------------------- */
html {
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F5F3EE;
  color: #4B3922;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: linear-gradient(138deg, #F5F3EE 0%, #fff5e0 100%);
  color: #4B3922;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #B5834D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #67543A;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Typography hierarchy */
h1, .h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #4B3922;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #67543A;
  line-height: 1.25;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #4B3922;
}
h4, .h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #67543A;
}
p, ul li, ol li {
  font-size: 1rem;
  color: #4B3922;
  margin-bottom: 8px;
}
strong, b {
  font-weight: 600;
  color: #4B3922;
}
.subheadline {
  font-size: 1.25rem;
  color: #6d543f;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Container & Spacing */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 20px;
}

/* -----------------------------------------------------
   HEADER / NAVIGATION
----------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(107, 87, 60, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 20px;
  background: none;
  position: relative;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #4B3922;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:not(.cta-btn):hover,
.main-nav a:not(.cta-btn):focus {
  background: #F5F3EE;
  color: #B5834D;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 24px;
}
.cta-btn {
  background: linear-gradient(90deg, #B5834D 0%, #CDA172 90%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 28px;
  padding: 9px 30px;
  font-size: 1rem;
  margin-left: 12px;
  box-shadow: 0 4px 16px 0 rgba(189, 131, 77, 0.11);
  transition: background 0.2s, transform 0.17s;
  display: inline-block;
  border: none;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #CDA172 0%, #B5834D 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 18px 0 rgba(189, 131, 77, 0.19);
  text-decoration: none;
}

/* -----------------------------------------------------
   MOBILE BURGER MENU
----------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #4B3922;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 190;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B5834D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 36px 0 rgba(80,54,22,.13);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #4B3922;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 10px 0;
  cursor: pointer;
}
.mobile-menu-close:focus {
  outline: 2px solid #B5834D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px 30px 0 40px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #4B3922;
  padding: 12px 0;
  font-weight: 500;
  border-radius: 6px;
  width: 100%;
  display: block;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F3EE;
  color: #B5834D;
}
@media (max-width: 1024px) {
  .main-nav a:not(:first-child) {
    font-size: 0.98rem;
    padding: 7px 12px;
  }
}
@media (max-width: 900px) {
  .main-nav img {
    height: 38px;
    margin-right: 14px;
  }
  .main-nav a {
    font-size: 0.97rem;
  }
}
@media (max-width: 840px) {
  .main-nav {
    gap: 7px;
    padding: 14px 10px;
  }
}
@media (max-width: 820px) {
  .main-nav a:not(.cta-btn):not(:first-child) {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 480px) {
  .main-nav img {
    height: 28px;
  }
  .mobile-nav {
    padding-left: 22px;
  }
  .mobile-menu-close {
    margin-right: 16px;
  }
}

/* -----------------------------------------------------
   HERO BANNER
----------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #CDA172 6%, #F5F3EE 70%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 54px 0 36px 0;
}
.hero .content-wrapper {
  max-width: 720px;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #4B3922;
  font-size: 2.5rem;
  line-height: 1.16;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.hero .subheadline {
  max-width: 540px;
}
@media (max-width: 600px) {
  .hero {
    min-height: 180px;
    padding: 28px 0 18px 0;
  }
  .hero h1 {
    font-size: 1.38rem;
  }
  .hero .subheadline {
    font-size: 1rem;
  }
}

/* -----------------------------------------------------
    FLEXBOX GRIDS & CARDS
----------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 2px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 22px 0 rgba(189, 131, 77, 0.075);
  flex: 1 1 230px;
  padding: 28px 20px 18px 20px;
  min-width: 230px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 38px 0 rgba(107, 87, 60, 0.13);
}
.feature-grid img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
}
@media (max-width: 899px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 20px 12px 13px 12px;
  }
}
@media (max-width: 630px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    max-width: 100%;
    padding: 17px 10px 10px 10px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(189, 131, 77, 0.07);
  margin-bottom: 20px;
  padding: 24px 18px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  transition: box-shadow 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(107, 87, 60, 0.15);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Feature item list pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* -----------------------------------------------------
   TESTIMONIALS
----------------------------------------------------- */
.testimonials {
  background: linear-gradient(90deg, #F5F3EE 0%, #fff7e9 100%);
  border-radius: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 34px 0 rgba(203,175,138,0.07);
  border: 1px solid #F5F3EE;
  max-width: 620px;
  color: #4B3922;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: #4B3922;
  margin-bottom: 8px;
  font-style: italic;
  line-height: 1.55;
  font-family: 'Playfair Display', serif;
  border-left: 3px solid #CDA172;
  padding-left: 14px;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #67543A;
}
.testimonial-card strong {
  color: #B5834D;
  font-weight: 600;
}
@media (max-width: 630px) {
  .testimonial-card {
    padding: 14px 8px;
  }
}

/* -----------------------------------------------------
   ABOUT / LEGAL / TEXT SECTIONS
----------------------------------------------------- */
.text-section {
  font-size: 1rem;
  line-height: 1.7;
  color: #4B3922;
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  margin: 12px 0 12px 20px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 4px;
  list-style: disc inside;
  color: #4B3922;
}
.text-section strong {
  color: #B5834D;
}
.text-section a {
  color: #B5834D;
  text-decoration: underline dotted;
}
.text-section img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 5px;
}

/* FAQ */
.faq strong {
  display: inline-block;
  margin-top: 16px;
}
.faq p {
  margin-bottom: 8px;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  background: #67543A;
  color: #fff;
  padding: 44px 0 26px 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.8;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  background: transparent;
  padding: 7px 10px;
  border-radius: 6px;
  transition: background 0.18s, opacity 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #B5834D;
  opacity: 1;
  color: #fff;
  text-decoration: none;
}
footer .text-section {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.92;
  margin-top: 5px;
}
@media (max-width: 600px) {
  footer {
    padding: 30px 0 20px 0;
  }
  .footer-nav {
    gap: 11px;
    font-size: 0.89rem;
  }
}

/* -----------------------------------------------------
   BUTTONS & INTERACTIVES
----------------------------------------------------- */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.17s, box-shadow 0.18s;
}
button:active {
  transform: scale(0.98);
}

/* -----------------------------------------------------
   COOKIE BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #fff 70%, #fff7e2 100%);
  border-top: 1.5px solid #CDA172;
  box-shadow: 0 -2px 16px 0 rgba(107,87,60,0.08);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 30px;
  font-size: 1rem;
  animation: fadeInUp 0.25s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(48px);}
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  color: #4B3922;
  max-width: 540px;
  line-height: 1.6;
  font-size: 1rem;
}
.cookie-banner .cookie-btn {
  background: #B5834D;
  color: #fff;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 19px;
  margin-right: 10px;
  margin-bottom: 2px;
  transition: background 0.2s, transform 0.13s;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: #fff;
  color: #B5834D;
  border: 1.5px solid #B5834D;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: #67543A;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #CDA172;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-reject:hover,
.cookie-banner .cookie-btn.cookie-reject:focus {
  background: #F5F3EE;
  color: #B5834D;
}
.cookie-banner .cookie-btn.cookie-settings:hover,
.cookie-banner .cookie-btn.cookie-settings:focus {
  background: #4B3922;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(51,35,10,.44);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.12s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 38px 30px 28px 30px;
  min-width: 340px;
  max-width: 420px;
  box-shadow: 0 8px 64px 0 rgba(100, 80, 60, 0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .cookie-modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: #B5834D;
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 9px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: #4B3922;
}
.cookie-modal input[type=checkbox]:not(:disabled) {
  accent-color: #B5834D;
  margin-right: 3px;
}
.cookie-modal input[type=checkbox][disabled] {
  accent-color: #cccccc;
  cursor: not-allowed;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .modal-btns .cookie-btn {
  margin: 0;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #B5834D;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #67543A;
}
@media (max-width: 600px) {
  .cookie-modal .cookie-modal-content {
    min-width: 0;
    max-width: 94vw;
    padding: 19px 6vw;
  }
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 22px 10px 24px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-banner-text {
    font-size: 0.97rem;
    max-width: 100%;
  }
}

/* -----------------------------------------------------
   THANK YOU PAGE
----------------------------------------------------- */
.thanks .cta-btn {
  margin-top: 20px;
}

/* -----------------------------------------------------
   UTIL CLASSES
----------------------------------------------------- */
.bg-primary {
  background: #4B3922 !important;
  color: #fff !important;
}
.text-accent { color: #B5834D; }
.text-primary { color: #4B3922; }
.hide { display: none !important; }
[tabindex="0"]:focus { outline: 2px solid #B5834D; }

/* -----------------------------------------------------
   RESPONSIVE ADJUSTMENTS
----------------------------------------------------- */
@media (max-width: 540px){
  h1, .h1 { font-size: 1.25rem;}
  h2, .h2 { font-size: 1.1rem;}
  h3, .h3 { font-size: 1rem;}
  .cta-btn { font-size: 0.98rem; }
}
@media (max-width: 390px) {
  .section { padding: 20px 5px; margin-bottom: 34px; }
  .testimonial-card,
  .feature-grid > div { padding: 13px 4px 8px 7px; }
}

/* -----------------------------------------------------
   GENERAL ACCESSIBILITY
----------------------------------------------------- */
input, button, select, textarea {
  font-size: inherit;
  font-family: inherit;
}

/* -----------------------------------------------------
   OVERRIDES FOR LEGAL PAGES
----------------------------------------------------- */
.legal ul, .legal ol {
  margin: 14px 0 20px 18px;
}
.legal ul li, .legal ol li {
  margin-bottom: 8px;
  list-style: disc inside;
  color: #4B3922;
}
.legal h2 {
  font-size: 1.15rem;
  margin: 18px 0 8px 0;
  color: #B5834D;
}
.legal a {
  color: #B5834D;
  text-decoration: underline dotted;
  word-break: break-all;
}
