/* =========================================================
   CSS RESET & NORMALIZATION (mobile-first)
   ========================================================= */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7F5F0;
  color: #243038;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
img {
  border: none;
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}
input, textarea, select {
  font: inherit;
}

/* =========================================================
   BRAND FONTS AND COLORS
   ========================================================= */
:root {
  --clr-primary: #243038;
  --clr-secondary: #C7AA6A;
  --clr-accent: #F7F5F0;
  --clr-heading: #243038;
  --clr-bg-light: #F7F5F0;
  --clr-bg-card: #fff;
  --clr-border: #e2e2da;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =========================================================
   TYPOGRAPHY (GEOMETRIC, STRUCTURED)
   ========================================================= */
h1, h2, h3, h4, .cta, .btn {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  font-family: var(--font-display);
  color: var(--clr-heading);
  margin-bottom: 16px;
  line-height: 1.16;
}
h2 {
  font-size: 1.7rem;
  font-family: var(--font-display);
  color: var(--clr-heading);
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-size: 1.18rem;
  color: var(--clr-primary);
  margin-bottom: 12px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
h4 {
  font-size: 1rem;
  font-family: var(--font-display);
  color: var(--clr-primary);
  margin-bottom: 8px;
}
p, li, dd {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #243038;
  line-height: 1.7;
  margin-bottom: 10px;
}
p {
  margin-bottom: 14px;
}
li {
  padding-left: 2px;
}
strong, b {
  font-weight: 700;
}

/* Hierarchy for text in cards, nav, etc */
nav a, .footer-nav a, .main-nav a, .mobile-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
}

/* =========================================================
   CONTAINERS & LAYOUT (FLEXBOX ONLY) (Mobile-first)
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}
.content-wrapper.text-section {
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  display: flex;
  flex-direction: column;
}

.card-container {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
  margin-bottom: 36px;
}
.card {
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(76,86,92,0.10);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.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 {
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(76,86,92,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 20px;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid var(--clr-border);
  box-shadow: 0 2px 10px 0 rgba(76,86,92,0.10);
  padding: 28px 22px;
  flex: 1 0 260px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-grid > div:hover {
  border-color: var(--clr-secondary);
  box-shadow: 0 4px 24px 0 rgba(199,170,106,0.09);
  transform: translateY(-3px) scale(1.01);
}

/* Utility for cards layout where needed */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(100deg, #F7F5F0 85%, #C7AA6A 100%);
  padding: 60px 0 38px 0;
  min-height: 200px;
  margin-bottom: 40px;
  border-radius: 0 0 42px 42px;
}
.hero .content-wrapper {
  gap: 16px;
}

/* CTA section and Buttons */
.cta,
.btn {
  border-radius: 8px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.23s, color 0.15s, box-shadow 0.19s cubic-bezier(.4,0,.2,1);
  margin-top: 10px;
  box-shadow: 0 2px 12px 0 rgba(76,86,92,0.07);
}
.cta.primary {
  background: var(--clr-secondary);
  color: #fff;
  border: 2px solid var(--clr-secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: #fff;
  color: var(--clr-secondary);
  box-shadow: 0 4px 24px 0 rgba(199,170,106,0.13);
  outline: none;
}
.cta.secondary {
  background: #fff;
  color: var(--clr-secondary);
  border: 2px solid var(--clr-secondary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--clr-secondary);
  color: #fff;
  outline: none;
}

/* List styling for feature and contact lists*/
ul {
  padding-left: 0;
  margin-bottom: 18px;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 1rem;
}
ul li img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}
dd {
  margin-left: 0;
}
dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-secondary);
  margin-top: 22px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: var(--clr-primary);
  color: #fff;
  padding: 42px 0 18px 0;
  margin-top: 48px;
  border-radius: 40px 40px 0 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--clr-secondary);
  font-size: 1rem;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 2px;
}
.footer-nav a:after {
  content: '';
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--clr-secondary);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateY(2px);
}
.footer-nav a:hover:after {
  opacity: 1;
  transform: translateY(4px);
}
.footer-details {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  opacity: 0.95;
}

/* =========================================================
   HEADER, NAV & MOBILE MENU
   ========================================================= */
header {
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(76,86,92,0.07);
  position: relative;
  z-index: 101;
  border-bottom: 2.5px solid var(--clr-border);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
}
header img {
  height: 44px;
}
.main-nav {
  display: none;
}
header .cta.primary {
  margin: 0 0 0 14px;
  padding: 10px 22px;
  font-size: 0.98rem;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--clr-secondary);
  display: flex;
  align-items: center;
  aspect-ratio: 1/1;
  width: 46px;
  height: 46px;
  justify-content: center;
  margin-left: 12px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--clr-secondary);
}

/* Mobile menu hidden initially; slides in/overlays */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.5,0,.2,1);
  box-shadow: -8px 0 42px -16px rgba(36,48,56,0.15);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 16px 12px 0;
  font-size: 2.2rem;
  color: var(--clr-secondary);
  background: none;
  border: none;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--clr-primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 26px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: var(--clr-primary);
  padding: 12px 6px;
  border-radius: 7px;
  text-align: left;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus{
  background: var(--clr-accent);
  color: var(--clr-secondary);
}

/* Desktop nav (shown >=900px) */
@media (min-width: 900px) {
  .main-nav {
    display: flex !important;
    gap: 18px;
    align-items: center;
    margin-left: 16px;
    flex: 1 1 auto;
  }
  .main-nav a {
    color: var(--clr-primary);
    font-size: 1rem;
    padding: 8px 6px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    transition: background 0.19s cubic-bezier(.4,0,.2,1), color 0.17s;
    text-transform: uppercase;
  }
  .main-nav a:hover, .main-nav a:focus {
    background: var(--clr-secondary);
    color: #fff;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Hide mobile menu by default, shown via .open JS toggle */
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================================================
   TESTIMONIALS & REVIEW CARDS
   ========================================================= */
.testimonial-card {
  background: #fff;
  color: #243038;
  font-family: var(--font-body);
  font-size: 1.03rem;
  border-radius: 14px;
  border: 1.5px solid var(--clr-border);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(76,86,92,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  min-width: 0;
  min-height: 95px;
  transition: border-color 0.19s;
}
.testimonial-card span {
  color: var(--clr-secondary);
  font-family: var(--font-display);
  font-size: 0.93rem;
  margin-left: 18px;
}
.testimonial-card:hover {
  border-color: var(--clr-secondary);
}

/* ================================
   SECTION & GENERAL SPACING RULES
   ================================= */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  display: flex;
  flex-direction: column;
}
section:last-child {
  margin-bottom: 0px;
}

/* LEGAL pages */
.legal .content-wrapper {
  background: #fff;
  padding: 38px 26px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(36,48,56,0.10);
  border: 1.5px solid var(--clr-border);
}
.confirmation .content-wrapper {
  background: #fff;
  padding: 32px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 12px 0 rgba(36,48,56,0.12);
}

/* FAQ/QUESTION section styling */
.faq {
  background: none;
  margin-bottom: 60px;
}
.faq .content-wrapper {
  gap: 14px;
}
.faq dt {
  font-size: 1.15rem;
  color: var(--clr-primary);
  font-weight: 700;
  margin-bottom: 3px;
}
.faq dd {
  margin-bottom: 16px;
  color: #243038;
}

/* CTA Section */
.cta {
  text-align: left;
}
.cta .cta.primary, .cta .cta.secondary {
  margin-top: 10px;
}

/* ==================================
   RESPONSIVE FLEX & LAYOUT ADJUST
   ================================== */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid > div {
    max-width: 100%;
  }
  .footer-details {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section, section {
    padding: 30px 0 30px 0;
    margin-bottom: 38px;
  }
  .content-wrapper, .content-wrapper.text-section {
    gap: 14px;
  }
  footer {
    padding: 28px 0 12px 0;
    border-radius: 24px 24px 0 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    gap: 8px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  section, .section {
    padding: 22px 0 22px 0;
  }
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .hero {
    padding: 40px 0 24px 0;
    border-radius: 0px 0px 22px 22px;
  }
  .card {
    padding: 16px 8px;
  }
}

/* ================================
   MICRO-INTERACTIONS & EFFECTS
   ================================ */
a, .cta, .btn {
  transition: color 0.17s, background 0.23s, box-shadow 0.19s;
}
.feature-grid > div:active {
  box-shadow: 0 1px 3px rgba(36, 48, 56, 0.09);
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 12000;
  background: #fff;
  border-top: 2.5px solid var(--clr-border);
  box-shadow: 0 -3px 24px 0 rgba(36,48,56,0.08);
  padding: 20px 8px 20px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.28s cubic-bezier(.4,0,.2,1); /* slide in */
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 7px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 22px;
  border: 2px solid var(--clr-secondary);
  margin-right: 4px;
  margin-bottom: 0;
  cursor: pointer;
  background: #fff;
  color: var(--clr-secondary);
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button.accept {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #917537;
  color: #fff;
  outline: none;
}
.cookie-banner button.reject:hover {
  background: #f4f1e9;
  color: var(--clr-primary);
  outline: none;
}
.cookie-banner button.settings {
  background: #fff;
  color: var(--clr-secondary);
}
.cookie-banner button.settings:hover {
  background: var(--clr-accent);
  color: var(--clr-primary);
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 0; right: 0; top: 0;
  z-index: 13000;
  background: rgba(36,48,56,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 14px;
  max-width: 400px;
  width: 90vw;
  padding: 34px 26px 24px 26px;
  box-shadow: 0 2px 30px 0 rgba(36,48,56,0.17);
  border: 1.5px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal-inner h3 {
  color: var(--clr-secondary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal-inner .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 12px;
}
.cookie-modal-inner .cookie-category label {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.01rem;
}
.cookie-modal-inner .cookie-category input[type=checkbox] {
  accent-color: var(--clr-secondary);
  width: 20px;
  height: 20px;
  margin-left: 10px;
}
.cookie-modal-inner .desc {
  font-size: 0.96rem;
  color: var(--clr-primary);
  opacity: 0.87;
  margin-bottom: 8px;
}
.cookie-modal-inner .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
}
.cookie-modal-inner button {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 7px;
  padding: 10px 20px;
  border: 2px solid var(--clr-secondary);
  margin-bottom: 0;
  cursor: pointer;
  background: #fff;
  color: var(--clr-secondary);
  transition: background 0.17s, color 0.17s;
}
.cookie-modal-inner button.save {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-modal-inner button.save:hover,
.cookie-modal-inner button.save:focus {
  background: #917537;
  color: #fff;
  outline: none;
}
.cookie-modal-inner button.cancel:hover {
  background: #f4f1e9;
  color: var(--clr-primary);
  outline: none;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--clr-secondary);
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--clr-primary);
}
@media (max-width: 500px) {
  .cookie-modal-inner {
    padding: 18px 8px 12px 8px;
    min-width: 0;
  }
}

/* ================================
   GEOMETRIC DECORATIVE ELEMENTS
   ================================ */
/* Custom geometric band for hero, using only border-radius/box-shadow background for authentic look */
.hero {
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: '';
  position: absolute;
  top: 30%;
  right: -90px;
  width: 210px;
  height: 210px;
  background: var(--clr-secondary);
  opacity: 0.10;
  border-radius: 34% 66% 72% 28% / 47% 40% 60% 53%;
  z-index: 0;
}
.hero .container, .hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* (Add in more angular/geometric elements if needed) */
@media (max-width: 900px) {
  .hero:before {
    width: 130px;
    height: 130px;
    right: -40px;
    top: 60%;
  }
}

/* ================================
   SHADOWS & GEOMETRIC CARDS
   ================================ */
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 2px 10px 0 rgba(76,86,92,0.16);
  border-radius: 14px;
}

/* ================================
   FORMS (if present in contact)
   ================================ */
input, textarea, select {
  border-radius: 8px;
  border: 1.5px solid var(--clr-border);
  background: #fff;
  padding: 10px 16px;
  font-size: 1rem;
  color: var(--clr-primary);
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-secondary);
  background: #f9f6ef;
}

label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 5px;
  color: var(--clr-primary);
}

/* ================================
   MISC
   ================================ */
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* ================================
   ENSURE NO FLEX CONTENT OVERLAP
   ================================ */
.card,.feature-grid > div,.testimonial-card,.section,section{
  margin-bottom: 20px;
}
.feature-grid > div,.testimonial-card {
  margin-right: 0;
}
.card-container,.feature-grid,.content-grid {
  gap: 24px;
}

/* ================================
   ACCESSIBILITY/CONTRAST - TESTIMONIALS
   ================================ */
.testimonial-card {
  background: #fff !important;
  color: #243038 !important;
}
.testimonial-card p, .testimonial-card span {
  color: #243038;
}
.testimonial-card span {
  color: var(--clr-secondary);
}

/* ================================
   Z-INDEX LAYERING
   ================================ */
header,
.mobile-menu,
.cookie-banner,
.cookie-modal {
  z-index: 10001;
}

/* ================================
   PRINT FRIENDLY BASE (optional...)
   ================================ */
@media print {
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
}

/* =========================================================
   END OF COMPREHENSIVE CSS FOR NEAT BURST GULDINVEST
   ========================================================= */
