/* --- RESET & BASE ------------------------------------------------- */

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, menu, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  margin-left: 1.5em;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background-color: transparent;
}

/* --- CUSTOM PROPERTIES (BRAND COLORS & GOLD) --------------------------- */
:root {
  --vf-primary: #354B3E;          /* deep green */
  --vf-secondary: #837060;        /* warm taupe */
  --vf-accent: #F3EFE8;           /* light ivory */
  --vf-gold: #CBA343;             /* refined gold accent */
  --vf-black: #181816;            /* almost black for text */
  --vf-border: #E5E1D8;
  --vf-white: #fff;
  --vf-link-hover: #CBA343;
  --vf-shadow: 0px 8px 32px rgba(81,65,44,0.07);
  --vf-radius: 14px;
  --vf-radius-sm: 8px;
}

/* --- TYPOGRAPHY ------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400|Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--vf-black);
  background: var(--vf-accent);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:700;
  color: var(--vf-primary);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.33rem;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--vf-secondary);
  font-size: 1.12rem;
  margin-bottom: 24px;
  font-weight: 500;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--vf-black);
}
strong, b {
  font-weight: 700;
}

/* --- LAYOUT & CONTAINER ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.text-section {
  max-width: 740px;
}

/* --- SECTION SPACING (MANDATORY FLEX/SPACE) --------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--vf-white);
  border-radius: var(--vf-radius);
  box-shadow: var(--vf-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  flex: 1 1 255px;
  border: 1px solid var(--vf-border);
  transition: transform .16s, box-shadow .18s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(81, 65, 44, 0.13);
  transform: translateY(-6px) scale(1.02);
  border-color: var(--vf-gold);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 32px;
  background: var(--vf-white);
  border-left: 6px solid var(--vf-gold);
  border-radius: var(--vf-radius-sm);
  box-shadow: 0px 4px 16px rgba(81, 65, 44, 0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
  max-width: 700px;
}
.testimonial-card:hover {
  box-shadow: 0px 8px 32px rgba(202, 180, 58, 0.10);
  border-left-color: var(--vf-link-hover);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px){
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .section, section {
    padding: 28px 0;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
}

/* --- HEADER & NAVIGATION ---------------------------------------------- */
header {
  background: var(--vf-white);
  box-shadow: 0 2px 12px rgba(53,75,62,.05);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}
av.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--vf-primary);
  font-weight: 500;
  font-size: 1.02rem;
  padding: 6px 10px;
  border-bottom: 2px solid transparent;
  transition: color .17s, border-bottom-color .18s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--vf-gold);
  border-bottom: 2px solid var(--vf-gold);
}
.cta-primary {
  background: var(--vf-primary);
  color: var(--vf-gold);
  border-radius: var(--vf-radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 30px;
  font-size: 1.07rem;
  letter-spacing: .02em;
  box-shadow: 0px 2px 12px rgba(53, 75, 62, 0.06);
  border: 2px solid var(--vf-primary);
  transition: background .16s, color .16s, border-color .18s;
  margin-left: 18px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--vf-gold);
  color: var(--vf-primary);
  border-color: var(--vf-gold);
}
.cta-secondary {
  background: transparent;
  color: var(--vf-primary);
  border: 2px solid var(--vf-gold);
  border-radius: var(--vf-radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 30px;
  font-size: 1.02rem;
  letter-spacing: .01em;
  transition: background .17s, color .16s, border-color .17s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vf-gold);
  color: var(--vf-primary);
  box-shadow: 0px 2px 12px rgba(53, 75, 62, 0.09);
}

/* --- MOBILE NAVIGATION ------------------------------------------------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--vf-primary);
  position: relative;
  z-index: 101;
}
@media (max-width: 1024px) {
  nav.main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 84vw;
  max-width: 390px;
  height: 100vh;
  background: var(--vf-white);
  box-shadow: -8px 0px 28px rgba(53, 75, 62, 0.13);
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.77,.2,.05,1.0);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 40px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--vf-primary);
  font-size: 2rem;
  margin-bottom: 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 34px;
}
.mobile-nav a {
  color: var(--vf-primary);
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: .01em;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-bottom-color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vf-gold);
  border-bottom: 2px solid var(--vf-gold);
}
.mobile-menu {
  pointer-events: all;
}
@media (max-width: 1024px){
  header .container {
    gap: 14px;
  }
}
@media (max-width: 600px) {
  .mobile-menu {
    width: 100vw;
    max-width: none;
    padding: 34px 10vw 20px 10vw;
  }
}

/* --- HERO AREAS ------------------------------------------------------- */
section:first-of-type {
  margin-top: 0px;
  margin-bottom: 60px;
}
h1, .section.hero h1 {
  color: var(--vf-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- FEATURE & VALUE GRIDS -------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 200px;
  background: var(--vf-white);
  box-shadow: 0 2px 12px rgba(53,75,62,0.05);
  border-radius: var(--vf-radius-sm);
  border: 1.5px solid var(--vf-border);
  padding: 28px 20px 22px 20px;
  text-align: left;
  position: relative;
  transition: box-shadow 0.15s, border-color 0.17s;
  min-width: 230px;
}
.feature-grid > div:hover {
  border-color: var(--vf-gold);
  box-shadow: 0 8px 28px rgba(202, 180, 67, .07);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  color: var(--vf-secondary);
  font-size: 1.11rem;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- LISTS ------------------------------------------------------------ */
ul, ol {
  font-size: 1em;
  margin-left: 1.5em;
  margin-bottom: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
ul li a {
  color: var(--vf-primary);
  text-decoration: underline;
  transition: color .15s;
}
ul li a:hover {
  color: var(--vf-gold);
}

/* --- TESTIMONIAL CARDS ------------------------------------------------ */
.testimonial-card blockquote {
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--vf-primary);
  font-size: 1.105rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.testimonial-card p {
  color: var(--vf-secondary);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
}

/* --- FOOTER ----------------------------------------------------------- */
footer {
  background: var(--vf-primary);
  color: var(--vf-accent);
  padding: 60px 0 0 0;
  font-size: 1rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
}
.footer-brand img {
  width: 60px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: var(--vf-accent);
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: color .16s, border-color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vf-gold);
  border-bottom: 2px solid var(--vf-gold);
}
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
  display: flex;
  flex-direction: column;
}
.footer-contact li {
  color: var(--vf-accent);
  font-size: .99rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  display: flex;
  align-items: center;
  background: var(--vf-white);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(53,75,62,0.11);
  transition: box-shadow .18s, background .17s;
}
.footer-social a:hover {
  box-shadow: 0 4px 18px rgba(202,180,67,0.11);
  background: var(--vf-gold);
}
.footer-social img {
  width: 24px;
  height: 24px;
}
.footer-copyright {
  width: 100%;
  text-align: left;
  margin-top: 0;
  color: var(--vf-accent);
  font-size: .93rem;
  border-top: 1.5px solid rgba(243,239,232,0.08);
  padding: 14px 0 8px 0;
}
@media (max-width: 820px){
  footer .container {
    gap: 26px;
  }
}
@media (max-width: 520px){
  footer {
    padding: 36px 0 0 0;
  }
  .footer-copyright {
    font-size: .87rem;
    padding: 10px 0 4px 0;
  }
}

/* --- BUTTONS & INTERACTION -------------------------------------------- */
button,
input[type="submit"],
.cta-primary,
.cta-secondary {
  transition: box-shadow .16s, background .13s, color .1s, border-color .13s;
}
button:active,
.cta-primary:active,
.cta-secondary:active {
  opacity: 0.89;
}

/* --- FORMS (where present) -------------------------------------------- */
input, textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.3px solid var(--vf-border);
  border-radius: var(--vf-radius-sm);
  background: var(--vf-accent);
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border-color .15s;
}
input:focus, textarea:focus {
  border-color: var(--vf-gold);
  outline: none;
}

/* --- MODALS & COOKIE CONSENT BANNER ----------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe6;
  color: var(--vf-black);
  box-shadow: 0 -4px 20px rgba(53,75,62,0.12);
  padding: 26px 24px 22px 24px;
  border-top: 2.5px solid var(--vf-gold);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  animation: cookieBannerSlideIn .6s cubic-bezier(.88,.21,.24,1.01);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-msg {
  flex: 1 1 240px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border-radius: var(--vf-radius-sm);
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 0;
  background: var(--vf-primary);
  color: var(--vf-gold);
  margin-bottom: 0;
}
.cookie-btn.accept {
  background: var(--vf-gold);
  color: var(--vf-primary);
}
.cookie-btn.reject {
  background: var(--vf-secondary);
  color: var(--vf-white);
}
.cookie-btn.settings {
  background: var(--vf-white);
  color: var(--vf-primary);
  border: 1.5px solid var(--vf-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0px 2px 8px rgba(81, 65, 44, .09);
  background: var(--vf-link-hover);
  color: var(--vf-primary);
}
.cookie-btn.settings:hover {
  background: var(--vf-accent);
  color: var(--vf-primary);
  border-color: var(--vf-gold);
}
@media (max-width: 700px){
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 10px 16px 10px;
    font-size: .98rem;
  }
}

/* --- Cookie Settings Modal -------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(24,24,22,.46);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .44s cubic-bezier(0.8,.31,.5,.98);
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fffbe9;
  border-radius: var(--vf-radius);
  box-shadow: 0px 8px 42px rgba(81,65,44,.16);
  padding: 38px 30px 26px 30px;
  max-width: 390px;
  width: 97vw;
  animation: cookieModalPop .56s cubic-bezier(.66,1.4,.2,1.01);
  position: relative;
}
@keyframes cookieModalPop {
  0% { transform: scale(0.93); opacity: 0; }
  90% { transform: scale(1.035); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--vf-primary);
  font-size: 1.5rem;
  z-index: 10;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--vf-primary);
  margin-bottom: 18px;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  flex: 1;
  color: var(--vf-primary);
  font-size: 1.02rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--vf-gold);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 440px){
  .cookie-modal {
    padding: 18px 6vw 14px 6vw;
    max-width: 99vw;
  }
  .cookie-modal-title {
    font-size: 1.10rem;
  }
}


/* --- UTILITY CLASSES -------------------------------------------------- */
.d-none { display: none !important; }
.flex { display: flex; }
.f-col { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.w-100 { width: 100%; }

/* --- RESPONSIVE TEXT SIZES -------------------------------------------- */
@media (max-width: 600px){
  html { font-size: 94%; }
  h1 { font-size: 2.02rem; }
  h2 { font-size: 1.43rem; }
  h3 { font-size: 1.06rem; }
  h4 { font-size: .98rem; }
  .subheadline { font-size: 1rem; }
}

/* --- MICRO-INTERACTIONS & TRANSITIONS --------------------------------- */
a, .cta-primary, .cta-secondary, button, .mobile-menu, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow .22s, color .14s, background .19s, border-color .19s, transform .19s;
}

/* --- CUSTOM GOLD ACCENTS & DECORATIVE (used as borders or underline) ---*/
.gold-underline {
  border-bottom: 3px solid var(--vf-gold);
  display: inline-block;
  padding-bottom: 4px;
}
hr.gold {
  border: none;
  border-bottom: 2.5px solid var(--vf-gold);
  margin: 40px 0;
}

/* --- SELECTION -------------------------------------------------------- */
::selection {
  background: var(--vf-gold);
  color: var(--vf-primary);
}

/* --- SCROLLBAR STYLES ------------------------------------------------- */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--vf-accent);
}
body::-webkit-scrollbar-thumb {
  background: var(--vf-gold);
  border-radius: 10px;
}
body {
  scrollbar-color: var(--vf-gold) var(--vf-accent);
}

/* --- ACCESSIBILITY: FOCUS RINGS ---------------------------------------- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px dotted var(--vf-gold);
  outline-offset: 1.5px;
}

/* --- PRINT OPTIMIZATION ------------------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner { display: none !important; }
  body { background: #fff; color: #000; }
}
