/* --- CSS RESET & NORMALIZATION --- */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
html, body { height: 100%; }
body { min-height: 100vh; background: linear-gradient(135deg, #FDBB4C 0%, #fff 100%); color: #22402E; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
ul, ol { list-style-position: outside; margin-left: 22px; margin-bottom: 16px; }
ul ul, ul ol, ol ul, ol ol { margin-bottom: 0; }
strong { font-weight: 600; color: #276A36; }
a { color: #276A36; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FDBB4C; outline: none; }

/* --- TYPOGRAPHY SCALE --- */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.75rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -1px; color: #276A36; line-height: 1.1; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.125rem; font-weight: 600; margin-bottom: 18px; color: #22402E; line-height: 1.15; }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.375rem; font-weight: 500; margin-bottom: 14px; color: #22402E; }
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.125rem; margin-bottom: 10px; font-weight: 500; color: #276A36; }
p { margin-bottom: 20px; }

/* --- CONTAINERS & SPACING --- */
.container { width: 100%; max-width: 1100px; padding: 0 20px; margin: 0 auto; }
.content-wrapper { display: flex; flex-direction: column; gap: 20px; }
.section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 18px; box-shadow: 0 3px 20px rgba(39,106,54,0.06); }

/* --- FLEX LAYOUT CLASSES --- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: flex-start; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 1.5px 8px rgba(39,106,54,0.07); margin-bottom: 20px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; min-width: 260px; transition: box-shadow 0.18s; }
.card:hover { box-shadow: 0 4px 20px rgba(39,106,54,0.14); }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 18px 0; }
.testimonial-card { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px; background: #F7F7F5; border-radius: 14px; margin-bottom: 20px; box-shadow: 0 1px 7px rgba(39,106,54,0.08); max-width: 680px; min-width: 0; }

/* --- HERO AND SECTIONS --- */
main > section { margin-bottom: 60px; padding: 40px 0; border-radius: 22px; background: linear-gradient(95deg,#fff 72%,#FDF6E7 100%); box-shadow: 0 1px 6px rgba(39,106,54,0.04); }
main > section:nth-of-type(odd) { background: linear-gradient(100deg,#fff 72%,#FFF8F1 100%); }
main > section:first-child { background: linear-gradient(100deg, #FDBB4C 20%, #fff 130%); box-shadow: 0 2px 24px rgba(39,106,54,0.10); }
main > section h1, main > section h2 { margin-bottom: 16px; }

/* --- HEADER --- */
header { background: linear-gradient(90deg,#FDBB4C 0%,#fff 100%); box-shadow: 0 2px 8px rgba(39,106,54,0.05); position: sticky; top: 0; z-index: 50; }
header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 48px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { font-size: 1rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: background 0.16s, color 0.16s; }
.main-nav a.cta { background: #276A36; color: #fff; padding: 10px 22px; border-radius: 10px; font-weight: 600; margin-left: 12px; box-shadow: 0 2px 10px rgba(206, 148, 21, 0.08); transition: background 0.18s, color 0.18s; }
.main-nav a.cta:hover, .main-nav a.cta:focus { background: #FDBB4C; color: #22402E; }
.main-nav a:not(.cta):hover, .main-nav a:not(.cta):focus { background: #276A36; color: #fff; }

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle { display: none; background: #fff; color: #276A36; border-radius: 8px; font-size: 2rem; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0px 2px 8px rgba(39,106,54,0.10); transition: background 0.18s; border: none; margin-left: auto; z-index: 1001; }
.mobile-menu-toggle:focus { outline: 2px solid #FDBB4C; }
.mobile-menu {    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #fff; box-shadow: 0px 10px 40px rgba(39,106,54,0.08); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; transform: translateX(-100%); transition: transform 0.35s cubic-bezier(.4,0,.2,1); z-index: 2000; padding: 0px 0 0 0; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { background: none; font-size: 2.5rem; color: #276A36; border-radius: 8px; align-self: flex-end; margin: 24px 24px 0 0; padding: 8px 16px; cursor: pointer; transition: background 0.16s; border: none; }
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #FDBB4C; color: #22402E; }
.mobile-nav { display: flex; flex-direction: column; gap: 22px; padding: 32px 40px 0 40px; width: 100%; margin-top: 24px; }
.mobile-nav a { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.25rem; font-weight: 500; color: #22402E; padding: 18px 0; border-radius: 7px; transition: background 0.16s, color 0.16s; }
.mobile-nav a:hover, .mobile-nav a:focus { background: #FDBB4C; color: #276A36; }

/* --- HERO BUTTON --- */
.cta { display: inline-block; background: #FDBB4C; color: #22402E; font-family: 'Montserrat', Arial, sans-serif; font-size: 1.18rem; font-weight: 600; padding: 13px 32px; border-radius: 32px; box-shadow: 0 2px 12px rgba(253,187,76,0.21); border: none; transition: background 0.18s, color 0.18s, box-shadow 0.16s; outline: none; margin-top: 10px; cursor: pointer; position: relative; letter-spacing: .01em; }
.cta:hover, .cta:focus { background: #276A36; color: #fff; box-shadow: 0 2px 14px rgba(39,106,54,0.12); text-decoration: none; }

/* --- FEATURES & CARDS --- */
ul { margin-bottom: 20px; }
ol { margin-bottom: 20px; }
.feature-item img, .team-member img { margin-right: 8px; vertical-align: middle; }
.team-profiles { display: flex; flex-wrap: wrap; gap: 32px; }
.team-member { background: #fff; border-radius: 14px; box-shadow: 0 1px 9px rgba(39,106,54,0.09); padding: 18px 28px; min-width: 220px; max-width: 310px; margin-bottom: 20px; font-size: 1.02rem; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: flex-start; transition: box-shadow 0.15s; }
.team-member:hover { box-shadow: 0 3px 22px rgba(39,106,54,0.18); }

/* --- TESTIMONIALS --- */
.testimonial-card { color: #22402E; background: #fff; border: 1.5px solid #F4E5C1; }
.testimonial-text { font-style: italic; font-size: 1.12rem; color: #22402E; margin-bottom: 12px; }
.testimonial-meta { font-size: 1rem; font-weight: 500; color: #276A36; display: flex; align-items: center; gap: 7px; }
.star-rating { color: #FDBB4C; font-size: 1.03em; letter-spacing: .08em; }

/* --- FOOTER --- */
footer { background: linear-gradient(87deg, #FDBB4C 0%, #fff 110%); box-shadow: 0 -2px 10px rgba(39,106,54,0.06); padding: 40px 0 18px 0; margin-top: 30px; border-radius: 22px 22px 0 0; }
footer .container { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; justify-content: space-between; }
.footer-branding img { height: 40px; margin-bottom: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { color: #22402E; font-weight: 500; font-size: 1rem; transition: color 0.15s, background 0.15s; border-radius: 8px; padding: 5px 0 5px 0; }
.footer-nav a:hover, .footer-nav a:focus { color: #FDBB4C; background: none; }
.footer-contact { font-size: 0.97rem; display: flex; flex-direction: column; gap: 6px; color: #22402E; }
.footer-contact img { height: 18px; width: 18px; display: inline-block; margin-right: 7px; vertical-align: middle; }

/* --- GENERAL INPUTS --- */
input, button, select, textarea { font-family: inherit; font-size: 1rem; outline: none; border-radius: 7px; }
:focus-visible { outline: 2px solid #FDBB4C; outline-offset: 2px; }

/* --- MISC --- */
.text-section { font-size: 1.08rem; line-height: 1.7; color: #22402E; display: flex; flex-direction: column; gap: 7px; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100vw; background: #22402E; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; justify-content: space-between; padding: 23px 18px 23px 24px; box-shadow: 0 -1px 32px 2px rgba(34,64,46,0.12); z-index: 4000; animation: slideUpCookie .44s cubic-bezier(.4,0,.2,1); font-size: 1.01rem; }
@keyframes slideUpCookie { from { transform: translateY(100%); opacity: 0;} to { transform: translateY(0); opacity: 1;} }
.cookie-banner__text { max-width: 750px; line-height: 1.6; }
.cookie-banner__actions { display: flex; gap: 16px; }
.cookie-btn { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; font-size: 1.05rem; border-radius: 7px; border: none; padding: 9px 22px; background: #FDBB4C; color: #22402E; box-shadow: 0 2px 7px rgba(253,187,76,0.17); cursor: pointer; transition: background 0.15s, color 0.15s; margin-right: 3px; }
.cookie-btn:focus, .cookie-btn:hover { background: #fff; color: #276A36; }
.cookie-btn--reject { background: #fff; color: #FDBB4C; border: 1.5px solid #FDBB4C; font-weight: 500; }
.cookie-btn--reject:focus, .cookie-btn--reject:hover { background: #FDBB4C; color: #22402E; }
.cookie-btn--settings { background: transparent; color: #fff; font-weight: 500; border: 1.5px solid #FDBB4C; }
.cookie-btn--settings:focus, .cookie-btn--settings:hover { background: #FDBB4C; color: #22402E; }

/* Cookie Modal */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(34,64,46,0.38); z-index: 5000; display: flex; align-items: center; justify-content: center; animation: fadeInCookieModal .2s; }
@keyframes fadeInCookieModal { from { opacity: .28; } to { opacity: 1; } }
.cookie-modal { background: #fff; color: #22402E; border-radius: 17px; box-shadow: 0 4px 40px rgba(39,106,54,0.18); padding: 32px 28px 20px 28px; min-width: 320px; max-width: 94vw; display: flex; flex-direction: column; gap: 22px; position: relative; }
.cookie-modal-title { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.35rem; font-weight: 600; color: #276A36; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.cookie-modal-close { position: absolute; top: 14px; right: 16px; background: transparent; border: none; font-size: 2rem; color: #276A36; cursor: pointer; border-radius: 6px; padding: 2px 6px; transition: background 0.17s; }
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #FDBB4C; color: #22402E; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #FDF6E7; font-size: 1rem; }
.cookie-category:last-child { border-bottom: none; }
.cookie-category input[type=checkbox] { accent-color: #FDBB4C; width: 20px; height: 20px; }
.cookie-category .category-desc { font-size: .97rem; color: #446149; margin-left: 14px; }

/* --- CUSTOM SCROLLBAR --- */
body::-webkit-scrollbar { width: 10px; background: #FFF8F1; }
body::-webkit-scrollbar-thumb { background: #FDBB4C; border-radius: 7px; }

/* --- RESPONSIVE --- */
@media (max-width: 1140px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 13px; }
  footer .container { gap: 24px; }
}
@media (max-width: 768px) {
  /* Typography scale down */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper { gap: 14px; }
  .section { margin-bottom: 30px; padding: 28px 8px; }
  main > section { padding: 22px 0; }
  /* Nav */
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  /* Footer */
  footer .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-branding img { height: 33px; }
  /* Cards */
  .card-container, .content-grid, .team-profiles { flex-direction: column; gap: 18px; }
  .card { padding: 16px 10px; }
  .text-image-section { flex-direction: column; gap: 14px; }
  .testimonial-card { padding: 13px 10px; }
}
@media (max-width: 480px) {
  .section, main > section { padding: 13px 0; }
  .container { padding: 0 7px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 8px; font-size: 0.99rem; }
  .cookie-modal { padding: 17px 5vw 18px 7vw; }
}

/* --- ACCESSIBILITY/UTILITY --- */
.sr-only { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }

/* --- OVERRIDES FOR HTML STRUCTURE --- */
section ul, section ol { margin-bottom: 12px; }
section li { margin-bottom: 7px; }

/* --- VISUAL HIERARCHY SPACING --- */
.section > *, .content-wrapper > * { margin-bottom: 14px; }
.section > *:last-child, .content-wrapper > *:last-child { margin-bottom: 0; }

/* --- PREVENT OVERLAPPING --- */
.card, .testimonial-card, .team-member, .feature-item, .footer-nav a, .cookie-modal, .cookie-banner {
  min-width: 0; /* helps prevent overflow on flex shrink */
}

/* --- VISUAL MICRO-INTERACTIONS --- */
.cta, .cookie-btn, .main-nav a, .mobile-nav a, .footer-nav a, .mobile-menu-close, .cookie-modal-close {
  transition: background 0.13s, color 0.13s, box-shadow 0.13s, outline-color 0.15s;
}

/* --- Z-INDEX LAYERING FOR INTERACTIVE --- */
header { z-index: 900; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 4000; }
.cookie-modal-overlay { z-index: 5000; }

/* --- PRINT STYLES (hide nav/cta) --- */
@media print {
  nav, .cta, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* --- END OF STYLE --- */
