/* === CSS RESET & 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,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 { box-sizing: border-box; }
*,*:before,*:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
body { line-height: 1.5; background: #fff; color: #222; min-height: 100vh; }
ul,ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
th,td { padding: 10px 12px; }
th { text-align: left; }

/* === BRAND & TYPOGRAPHY === */
:root {
  --brand-primary: #204063;
  --brand-secondary: #fff;
  --brand-accent: #22762c;
  --mono-bg: #fff;
  --mono-black: #111;
  --mono-dark-gray: #222;
  --mono-medium-gray: #7a7a7a;
  --mono-light-gray: #ebecf0;
  --shadow-lg: 0 6px 28px 0 rgba(30, 32, 38, 0.11);
  --shadow-md: 0 3px 16px 0 rgba(30,32,38,0.09);
  --shadow-hover: 0 6px 40px 0 rgba(30,32,38,0.18);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
}
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--mono-black);
  background: var(--mono-bg);
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--mono-bg);
  color: var(--mono-black);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
p, li, ul {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mono-dark-gray);
}
p {
  margin-bottom: 16px;
}
strong { font-weight: 600; }
em { font-style: italic; color: var(--brand-accent); }

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  background: var(--mono-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  padding: 28px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 320px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  max-width: 700px;
  border-left: 6px solid var(--brand-primary);
  transition: box-shadow 0.23s cubic-bezier(.45,.85,.38,1.1);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.achievements-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--mono-bg);
  box-shadow: 0 2px 12px 0 rgba(40,40,45,0.047);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  gap: 26px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: 32px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--mono-black);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.17s, color 0.17s;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid var(--brand-primary);
  color: var(--brand-primary);
}
.cta-btn {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  border-radius: var(--radius-xs);
  padding: 12px 28px;
  font-weight: 700;
  margin-left: 28px;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
  transition: background 0.18s, box-shadow 0.19s, transform 0.14s;
  display: inline-block;
  border: 2px solid var(--brand-primary);
}
.cta-btn:hover, .cta-btn:focus {
  background: #fff;
  color: var(--brand-primary);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-primary);
  transform: translateY(-3px) scale(1.04);
}
header img[alt="Lively Grove Invest"] {
  height: 44px;
  width: auto;
  margin-right: 16px;
  display: block;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: var(--brand-primary);
  border: none;
  margin-left: 15px;
  z-index: 1002;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--mono-light-gray);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #fff;
  transform: translateX(-102vw);
  transition: transform 0.39s cubic-bezier(.82,-0.17,.25,1.28);
  z-index: 1001;
  box-shadow: 0 2px 16px 0 rgba(40,40,45,0.11);
  display: flex;
  flex-direction: column;
  padding-top: 44px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  color: var(--brand-primary);
  background: none;
  z-index: 1010;
  padding: 5px 12px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--mono-light-gray);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 0 34px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--mono-black);
  padding: 13px 8px;
  font-weight: 500;
  border-radius: var(--radius-xs);
  width: 100%;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--mono-light-gray);
  color: var(--brand-primary);
}
@media (max-width:1024px) {
  .main-nav { gap: 18px; margin-left: 18px; }
  .cta-btn { margin-left: 10px; padding: 10px 18px; font-size: 1rem; }
  header .container { gap: 12px; padding: 14px 12px; }
}
@media (max-width:900px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* === HERO, FEATURES, CARDS === */
.hero, .blog-hero, .contact-hero {
  background: linear-gradient(90deg, #fff, #f3f3f3 75%);
  padding: 56px 0 40px;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.hero .content-wrapper, .blog-hero .content-wrapper, .contact-hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.tagline, .subtitle {
  font-size: 1.3rem;
  color: var(--mono-medium-gray);
  margin-bottom: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.feature-item strong, ul > li strong {
  color: var(--brand-primary);
  font-weight: 700;
}
.services ul, .faq ul, .features ul, .trainings-features ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
  margin-left: 0;
}
.services ul li, .faq ul li, .features ul li, .trainings-features ul li {
  padding: 18px 20px;
  background: var(--mono-light-gray);
  border-radius: var(--radius-xs);
  color: #27272c;
  font-size: 1rem;
  letter-spacing: 0.006em;
  box-shadow: 0 1px 5px 0 rgba(20,20,28,0.045);
}
.services ul li strong, .features ul li strong, .faq ul li strong, .trainings-features ul li strong {
  color: var(--brand-primary);
}
.stats-grid ul, .achievements-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 0;
}
.stats-grid ul li, .achievements-highlights ul li {
  background: var(--mono-light-gray);
  padding: 18px 20px;
  border-radius: var(--radius-xs);
  font-weight: 500;
  box-shadow: 0 1px 4px 0 rgba(20,20,28,0.04);
}

/* === TESTIMONIALS === */
.testimonial-card blockquote {
  font-size: 1.16rem;
  color: var(--mono-black);
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.testimonial-card footer {
  margin-top: 10px;
  color: var(--brand-primary);
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

/* === CARDS/ARTICLE TEASERS === */
.article-teaser {
  background: var(--mono-light-gray);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-teaser:hover {
  box-shadow: var(--shadow-hover);
}
.categories-menu {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.categories-menu a {
  color: var(--brand-primary);
  background: #fff;
  border: 1.5px solid var(--mono-light-gray);
  padding: 5px 14px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  transition: background 0.17s, color 0.16s, border 0.17s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.categories-menu a:hover, .categories-menu a:focus {
  background: var(--brand-primary);
  color: #fff;
  border: 1.5px solid var(--brand-primary);
}

/* === CTA SECTIONS === */
.cta, .cta-newsletter, .cta-signup {
  margin: 48px 0 32px;
  padding: 36px 18px;
  background: var(--brand-primary);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(40,40,48,0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.cta h2, .cta-newsletter h2, .cta-signup h2 { color: #fff; }
.cta .cta-btn, .cta-newsletter .cta-btn, .cta-signup .cta-btn {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid #fff;
  margin-left: 0;
  margin-top: 15px;
}
.cta .cta-btn:hover, .cta-newsletter .cta-btn:hover, .cta-signup .cta-btn:hover {
  background: var(--brand-primary);
  color: #fff;
  border: 2px solid #fff;
}

/* === TABLES (Pricing, etc.) === */
table {
  width: 100%;
  border-radius: var(--radius-xs);
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(40,40,42,0.035);
  margin: 24px 0 10px;
  font-size: 1rem;
}
th {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
td {
  color: var(--mono-dark-gray);
}
tr { border-bottom: 1px solid var(--mono-light-gray); }
tr:last-child { border-bottom: none; }

/* === FOOTER === */
footer {
  background: var(--mono-bg);
  color: var(--mono-black);
  box-shadow: 0 -2px 8px 0 rgba(40,40,45,0.04);
  margin-top: 66px;
  padding: 32px 0 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  align-items: center;
}
.footer-nav a {
  color: var(--mono-medium-gray);
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-primary);
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.98rem;
  color: var(--mono-dark-gray);
  margin-bottom: 8px;
}
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
.social-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(86%);
  opacity: 0.80;
  transition: filter 0.17s, opacity 0.16s;
}
.social-icons img:hover, .social-icons img:focus {
  filter: grayscale(0%);
  opacity: 1;
}

/* === SECTIONS, SPACING, TEXT BLOCKS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.text-section {
  padding-bottom: 8px;
}
.text-section p {
  color: var(--mono-black);
}

/* === THANK YOU/INFO PAGES === */
.thank-you {
  margin: 50px auto 44px;
  padding: 46px 18px 38px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 34px 0 rgba(30,30,48,0.09);
  background: linear-gradient(90deg,#fff 60%, #ebecf0 100%);
}
.thank-you h1 { margin-bottom: 18px; }

/* === COOKIE CONSENT BANNER AND MODAL === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #222;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 18px 30px;
  justify-content: space-between;
  box-shadow: 0 -2px 14px 0 rgba(15,16,30,0.11);
  animation: slideInBanner 0.55s cubic-bezier(.44,1.5,.4,.9);
}
@keyframes slideInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 3;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: #fff;
  color: #204063;
  border: 2px solid #fff;
  box-shadow: 0 2px 9px 0 rgba(40,40,45,0.06);
  cursor: pointer;
  transition: background 0.14s, color 0.15s, border 0.17s;
}
.cookie-btn.accept {
  background: var(--brand-accent);
  color: #fff;
  border: 2px solid var(--brand-accent);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.cookie-btn.settings {
  background: #222;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  color: #fff;
  background: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.cookie-modal-bg {
  display: none;
  position: fixed;
  z-index: 2001;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(0,0,0,0.39);
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.open { display: flex; }
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px 0 rgba(30,32,38,0.22);
  padding: 38px 22px 28px;
  min-width: 340px;
  max-width: 98vw;
  min-height: 220px;
  color: var(--mono-black);
  position: relative;
  animation: modalpop 0.42s cubic-bezier(.53,-0.11,.23,1.21);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalpop {
  from { transform: translateY(40px) scale(0.91); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--brand-primary);
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #f7f7fa;
  padding: 13px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--mono-black);
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--brand-primary); margin-right: 5px;
}
.cookie-modal .close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  color: var(--brand-primary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 50%;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: var(--mono-light-gray);
}

/* === FORM ELEMENTS (contact, newsletter) === */
input, textarea, select {
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--mono-light-gray);
  background: #fff;
  padding: 11px 14px;
  outline: none;
  font-size: 1rem;
  color: var(--mono-black);
  margin-bottom: 14px;
  min-width: 0;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 2px 10px 0 rgba(32,64,114,0.09);
}

/* === RESPONSIVENESS === */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .footer-info { text-align: left; }
  .footer-nav { gap: 12px; }
  .social-icons { gap: 8px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.12rem; }
  section, .thank-you, .cta, .cta-newsletter, .cta-signup {
    padding: 20px 6px;
    margin-bottom: 34px;
  }
  .hero, .blog-hero, .contact-hero {
    min-height: 0;
    padding: 34px 0 22px;
    margin-bottom: 18px;
  }
  .content-wrapper,
  .footer-nav,
  .footer-info {
    gap: 13px;
  }
  .card-container, .content-grid, .stats-grid, .achievements-highlights {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card { max-width: 100%; padding: 16px 11px; }
  .blog-hero, .thank-you, .cta, .cta-newsletter, .cta-signup { border-radius: var(--radius-sm); }
  .categories-menu {
    flex-wrap: wrap;
    gap: 7px;
  }
}
@media (max-width: 640px) {
  .hero h1, .blog-hero h1, .contact-hero h1, .thank-you h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  .testimonial-card, .card, .services ul li, .faq ul li { font-size: 0.98rem; }
  .footer-nav { flex-direction: column; gap: 7px; }
  .social-icons { margin-bottom: 10px; }
  .footer-info { text-align: left; }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 14px 12px; }
}

/* === VISUAL HIERARCHY & MICRO-INTERACTIONS === */
a, .cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close, .categories-menu a, .footer-nav a {
  transition: color 0.18s, background 0.17s, border 0.16s, box-shadow 0.17s, transform 0.15s;
}

:focus { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

/* === END STYLES === */
