/* =======================
   RESET & BASE NORMALIZE
   ======================= */
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,
main, 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 {
  scroll-behavior: smooth;
  background: #F5F6F7;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #192734;
  background: #F5F6F7;
  min-height: 100vh;
  position: relative;
}

/* =======================
   FONTS (google fonts import)
   ======================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@400;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #192734;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.5rem; line-height: 1.13; margin-bottom: 16px;}
h2 {font-size: 2rem; line-height: 1.2; margin-bottom: 12px;}
h3 {font-size: 1.3rem; margin-bottom: 8px;}
h4 {font-size: 1.16rem;}
p, ul, ol {margin-bottom: 18px;}
strong {font-weight: 700;}
em {font-style: italic;}

@media (max-width: 600px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
}

ul, ol {padding-left: 22px;}
li {margin-bottom: 8px;}

img {max-width: 100%; height: auto; border-radius: 5px;}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main {
  min-height: 500px;
  margin-top: 32px;
  margin-bottom: 32px;
  background: transparent;
}

/* ===================
   HEADER & NAVIGATION
   =================== */
header {
  background: #fff;
  border-bottom: 1px solid #e4e4e4;
  box-shadow: 0 1px 12px rgba(25,39,52,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 20px;
}
header img {
  height: 38px;
  width: auto;
  min-width: 110px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  color: #192734;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 500;
  padding: 8px 4px;
  transition: color 0.2s;
  position: relative;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  color: #98743B;
}
.button.primary, a.button.primary {
  background: #192734;
  color: #fff;
}
.button, a.button {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 32px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  outline: none;
  border: none;
  background: #98743B;
  color: #192734;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(25,39,52,0.04);
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s;
}
.button.primary:hover, .button.primary:focus, a.button.primary:hover, a.button.primary:focus {
  background: #98743B;
  color: #fff;
  box-shadow: 0 3px 12px rgba(25,39,52,0.11);
}
.button:hover, .button:focus, a.button:hover, a.button:focus {
  background: #192734;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  font-size: 2.1rem;
  color: #192734;
  border: none;
  padding: 6px 10px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #98743B;
}

@media (max-width: 991px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #192734;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 2000;
  pointer-events: none;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.mobile-menu.open {
  pointer-events: all;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 20px 10px 0;
  margin-bottom: 12px;
  cursor: pointer;
  z-index: 2200;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #98743B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 24px 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0 12px 8px;
  border-radius: 0 4px 4px 0;
  transition: background 0.2s, color 0.2s;
  min-width: 140px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #98743B;
  color: #192734;
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================
   HERO & HEADINGS
   =================== */
.hero {
  width: 100%;
  background: #F5F6F7;
  padding: 58px 0 44px 0;
  margin-bottom: 54px;
}
.hero.thank-you {
  margin-bottom: 34px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.subheadline {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.18rem;
  color: #4C5A6A;
  margin-bottom: 30px;
  margin-top: -8px;
  line-height: 1.45;
}

/* ============================
   SECTION & LAYOUT SPACING RULES
   ============================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(25,39,52,0.06);
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 34px;
    padding: 20px 10px;
    border-radius: 10px;
  }
}

.features, .company-values, .feature-grid, .investment-process, .portfolio-highlights, .latest-trends, .expert-analysis, .faq-section, .get-in-touch, .about-details, .trust-signals, .contact-cta, .next-steps {
  margin-bottom: 60px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F6F7;
  padding: 20px 18px 22px 18px;
  border-radius: 15px;
  box-shadow: 0 1px 5px rgba(25,39,52,0.04);
  flex-basis: calc(50% - 24px);
  min-width: 260px;
  max-width: 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, background 0.18s;
}
.feature-item img {
  height: 34px; width: 34px;
  border-radius: 0;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 32px rgba(152,116,59,0.13);
  background: #fffbe9;
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item {
    max-width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
}

.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: 20px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25,39,52,0.06);
  padding: 24px 20px 20px 20px;
  transition: box-shadow 0.18s, background 0.17s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(25,39,52,0.13);
  background: #f8f8f5;
}

/* Testimonials */
.testimonials, .investor-testimonials  {
  background: #F5F6F7;
  border-radius: 18px;
  padding-top: 35px; padding-bottom: 35px;
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(25,39,52,0.10);
  margin: 0 0 20px 0;
  color: #192734;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.17s;
}
.testimonial-card p {
  font-size: 1.04rem;
  font-style: italic;
  color: #192734;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #98743B;
  font-weight: 600;
}
.testimonial-card:hover, .testimonial-card:focus {
  background: #f8f7f4;
  box-shadow: 0 4px 20px rgba(152,116,59,0.13);
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 19px 11px;
  }
}

.contact-cta {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(25,39,52,0.07);
  padding: 34px 20px;
  margin-bottom: 58px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-top: 22px;
}
.contact-details img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: -4px;
}

/* =================
   FAQ ACCORDION
   ================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 0 0;
}
.faq-item {
  background: #F5F6F7;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(25,39,52,0.04);
  padding: 18px 18px 8px 18px;
  transition: box-shadow 0.18s, background 0.17s;
}
.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 7px;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  color: #192734;
  outline: none;
  position: relative;
}
.faq-item h3:after {
  content: '\25BC';
  float: right;
  font-size: 1rem;
  color: #98743B;
  margin-left: 10px;
  transition: transform 0.22s;
  vertical-align: middle;
}
.faq-item.open h3:after {
  transform: rotateX(180deg);
}
.faq-answer {
  display: block;
  max-height: 900px;
  overflow: hidden;
  transition: max-height 0.30s cubic-bezier(.39,.58,.57,1);
}
.faq-item:not(.open) .faq-answer {
  display: none;
  max-height: 0;
}
.faq-item:hover, .faq-item:focus-within {
  background: #fffbe9;
  box-shadow: 0 4px 16px rgba(152,116,59,0.10);
}

/* =================
   SEARCH FAQ INFO
   ================= */
.search-faq,
.get-in-touch .contact-details,
.next-steps .contact-details {
  background: #F5F6F7;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 1.03rem;
  margin-top: 13px;
}

/* ===================
   FOOTER STYLES
   =================== */
footer {
  background: #fff;
  border-top: 1px solid #e4e4e4;
  padding: 25px 0 18px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #192734;
  font-size: 0.99rem;
  text-decoration: none;
  font-family: 'Lato', Arial, sans-serif;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #98743B;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-brand img {
  width: 30px; height: 30px;
  border-radius: 7px;
}
.footer-brand span {
  color: #838383;
  font-size: 0.98rem;
}
@media (max-width: 600px) {
  .footer-nav { flex-direction: column; gap: 7px; align-items: center; }
  .footer-brand { gap:7px; }
}

/* =======================================================
   COOKIE CONSENT BANNER AND MODAL POPUP
   ======================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #192734;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 16px;
  box-shadow: 0 -2px 22px rgba(25,39,52,0.14);
  z-index: 2500;
  transition: transform 0.30s, opacity 0.30s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-content {
  flex: 1 1 0%;
  max-width: 700px;
  font-size: 1.06rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 5px;
  background: #98743B;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 18px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow .14s;
  box-shadow: 0 1px 5px rgba(25,39,52,0.04);
}
.cookie-btn.settings {
  background: #192734;
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: #192734;
  color: #fff;
}
.cookie-btn.reject {
  background: #bbb;
  color: #192734;
}
.cookie-btn.reject:hover,.cookie-btn.reject:focus {
  background: #fffbe9;
  color: #98743B;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #98743B;
  color: #fff;
}
@media(max-width: 768px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 7px 34px 12px;
  }
  .cookie-banner-actions {
    flex-direction: row;
    gap: 7px;
  }
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100vw;
  height:100vh;
  background: rgba(25,39,52,0.12);
  z-index:2600;
  align-items:center;
  justify-content:center;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #192734;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(25,39,52,0.19);
  min-width: 320px;
  max-width: 93vw;
  padding: 40px 35px 32px 35px;
  font-size: 1.1rem;
  animation: cookie-modal-slide 0.40s cubic-bezier(.77,0,.18,1);
  position: relative;
  z-index: 2610;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
@keyframes cookie-modal-slide {
  0% {transform: translateY(30px); opacity: 0;}
  100%{transform: none; opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 17px;
}
.cookie-modal-category label {
  font-weight: 500;
  font-size: 1.06rem;
  flex: 1 1 0;
  color: #192734;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #98743B;
  width: 19px; height: 19px;
}
.cookie-modal-category input[disabled] { 
  opacity: 0.5; 
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #98743B;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #192734;
}

@media (max-width: 510px) {
  .cookie-modal {
    padding: 22px 7vw 30px 6vw;
    border-radius: 13px;
    font-size: 0.98rem;
  }
}

/* =================
   MISC & UTILITY
   ================= */
a {
  color: #98743B;
  text-decoration: underline;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: #192734;
}

.section, .feature-item, .card, .testimonial-card, .faq-item {
  box-shadow: 0 2px 12px rgba(46,48,53,0.04);
}

.emphasis {
  color: #98743B;
  font-weight: 700;
}

/* ============
   MEDIA QUERIES
   ============ */
@media (max-width: 991px) {
  .container { max-width: 99vw; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .content-wrapper { padding: 0 2vw; }
  .contact-cta { padding: 17px 4px; border-radius: 10px; }
}

/* ============
   MICRO-INTERACTIONS
   ============ */
.button, .cookie-btn, a.button {
  transition: background 0.16s, color 0.15s, box-shadow 0.16s, border 0.14s;
}
.card, .feature-item, .testimonial-card, .faq-item, .faq-answer {
  transition: box-shadow 0.19s, background 0.19s;
}

/* ===================
   ACCESSIBILITY FOCUS
   =================== */
:focus {
  outline: 2px solid #98743B;
  outline-offset: 3px;
}

/* ===================
   PRINT SUPPORT
   =================== */
@media print {
  header, footer, nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display:none !important; }
  main { margin: 0; }
}

/* ===========
   Z-INDEX
   =========== */
header { z-index: 1000; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 2500; }
.cookie-modal-overlay { z-index: 2600; }

/* EOF */
