:root {
  --brand: #168b45;
  --brand-dark: #0b5f30;
  --brand-deep: #073f22;
  --brand-soft: #eaf8f0;
  --accent: #b8ef51;
  --ink: #12261b;
  --muted: #65746b;
  --surface: #f5f9f6;
  --white: #fff;
  --radius-lg: 24px;
  --shadow: 0 14px 40px rgba(11, 95, 48, .10);
}

html { scroll-behavior: smooth; }
body.site-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }

.site-topbar { padding: 8px 0; background: var(--brand-deep); color: rgba(255,255,255,.78); font-size: .84rem; }
.site-topbar a { color: #fff; text-decoration: none; }
.site-navbar { min-height: 74px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(11,95,48,.08); backdrop-filter: blur(16px); box-shadow: 0 5px 24px rgba(8,48,26,.07); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; background: var(--brand-soft); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.site-brand strong { display: block; color: var(--brand-dark); font-size: 1rem; line-height: 1.1; letter-spacing: .02em; }
.site-brand small { display: block; margin-top: 3px; color: #7a887f; font-size: .66rem; letter-spacing: .06em; }
.site-navbar .nav-link { position: relative; padding: .7rem .8rem !important; border-radius: 999px; color: #395046; font-weight: 650; font-size: .92rem; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { background: var(--brand-soft); color: var(--brand-dark); }
.site-navbar .navbar-toggler { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 13px; background: var(--brand-soft); color: var(--brand-dark); font-size: 1.7rem; box-shadow: none; }
.btn-brand { border: 1px solid var(--brand); background: var(--brand); color: #fff; font-weight: 700; }
.btn-brand:hover, .btn-brand:focus { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; }
.user-menu { display: flex; align-items: center; gap: 9px; max-width: 210px; padding: 5px 10px 5px 5px; border: 1px solid #dfe9e2; border-radius: 999px; background: #fff; color: var(--ink); }
.user-menu img, .avatar-fallback { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.avatar-fallback { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.user-name { overflow: hidden; font-size: .85rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mobile-menu { width: min(88vw, 360px) !important; border: 0 !important; }
.mobile-menu .offcanvas-header { padding: 18px; border-bottom: 1px solid #edf2ee; }
.mobile-nav { display: grid; gap: 7px; }
.mobile-nav a { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 14px; color: #3a5045; text-decoration: none; font-weight: 700; }
.mobile-nav a i { width: 24px; color: var(--brand); font-size: 1.2rem; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--brand-soft); color: var(--brand-dark); }

.home-hero { position: relative; background: var(--brand-deep); }
.home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { height: clamp(560px, 76vh, 760px); }
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,32,17,.9) 0%, rgba(5,55,28,.67) 48%, rgba(6,52,28,.18) 100%), linear-gradient(0deg, rgba(4,35,19,.35), transparent 55%); }
.hero-content { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.min-vh-hero { height: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; background: rgba(255,255,255,.11); color: #fff; font-size: .8rem; font-weight: 750; letter-spacing: .04em; backdrop-filter: blur(8px); }
.hero-kicker i { color: var(--accent); }
.hero-content h1 { margin: 0; color: #fff; font-size: clamp(2.35rem, 5.2vw, 5rem); font-weight: 850; line-height: 1.03; letter-spacing: -.045em; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { max-width: 650px; margin: 22px 0 28px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: rgba(255,255,255,.8); font-size: .84rem; }
.hero-trust i { margin-right: 4px; color: var(--accent); }

.section-space { padding: 76px 0; }
.quick-services { position: relative; z-index: 4; margin-top: -52px; padding-top: 0; }
.service-tile { position: relative; height: 100%; min-height: 112px; display: flex; align-items: center; gap: 14px; padding: 18px; overflow: hidden; border: 1px solid rgba(22,139,69,.1); border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: .25s ease; }
.service-tile:hover { transform: translateY(-5px); border-color: #a7daba; color: var(--ink); }
.service-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 16px; background: var(--brand-soft); color: var(--brand); font-size: 1.35rem; }
.service-tile strong, .service-tile small { display: block; }
.service-tile strong { margin-bottom: 4px; font-size: 1rem; }
.service-tile small { color: var(--muted); font-size: .76rem; }
.tile-arrow { position: absolute; top: 12px; right: 13px; color: #a7b4ac; font-size: .8rem; }
.section-heading { margin-bottom: 30px; }
.eyebrow { display: inline-block; margin-bottom: 9px; color: var(--brand); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2, .community-card h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 820; letter-spacing: -.035em; }
.section-heading p { margin: 10px 0 0; color: var(--muted); }

.product-card { overflow: hidden; border: 1px solid rgba(22,139,69,.09); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(11,95,48,.07); transition: .28s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,95,48,.13); }
.product-media { position: relative; aspect-ratio: 1 / 1; display: block; overflow: hidden; background: #edf5ef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.055); }
.product-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #a6b7ac; font-size: 2.5rem; }
.product-badge { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); overflow: hidden; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: .68rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(8px); }
.product-body { min-height: 142px; display: flex; flex-direction: column; padding: 17px; }
.product-body h3 { margin: 0 0 14px; display: -webkit-box; overflow: hidden; font-size: .98rem; font-weight: 720; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-body h3 a { color: var(--ink); text-decoration: none; }
.product-price { color: var(--brand); font-size: 1.05rem; }
.product-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); transition: .2s; }
.product-arrow:hover { background: var(--brand); color: #fff; }
.empty-products { padding: 60px; text-align: center; border: 1px dashed #b9d5c2; border-radius: 24px; color: var(--muted); }
.empty-products i { font-size: 2.4rem; color: var(--brand); }

.community-card { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 66px); border-radius: 32px; background: radial-gradient(circle at 90% 5%, rgba(184,239,81,.22), transparent 32%), linear-gradient(135deg, #073f22, #0d7439); color: #fff; box-shadow: 0 22px 55px rgba(7,63,34,.2); }
.community-card p { max-width: 610px; margin: 18px 0 25px; color: rgba(255,255,255,.74); line-height: 1.7; }
.community-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.community-stats > div { min-height: 140px; padding: 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.community-stats i, .community-stats strong, .community-stats span { display: block; }
.community-stats i { margin-bottom: 14px; color: var(--accent); font-size: 1.45rem; }
.community-stats strong { margin-bottom: 3px; }
.community-stats span { color: rgba(255,255,255,.65); font-size: .78rem; }
.contact-strip { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border: 1px solid #d9eade; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.contact-icon { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 18px; background: var(--brand-soft); color: var(--brand); font-size: 1.55rem; }
.contact-strip span { color: var(--muted); font-size: .82rem; }
.contact-strip h3 { margin: 3px 0 0; font-size: 1.08rem; font-weight: 750; }

.site-footer { padding: 64px 0 20px; background: #062e19; color: rgba(255,255,255,.72); }
.footer-brand p { max-width: 400px; margin: 18px 0; line-height: 1.7; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 850; }
.footer-logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 14px; background: #fff; }
.site-footer h4 { margin-bottom: 18px; color: #fff; font-size: .95rem; font-weight: 750; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.68); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 12px; font-size: .9rem; }
.footer-contact div { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--accent); }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; text-decoration: none; }
.footer-social a:hover { background: var(--brand); }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .78rem; }
.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; align-items: center; gap: 8px; padding: 12px 17px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 750; box-shadow: 0 10px 25px rgba(11,95,48,.3); }

@media (max-width: 991.98px) {
  .site-navbar { min-height: 66px; }
  .home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { height: 650px; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,32,17,.88), rgba(5,55,28,.58)), linear-gradient(0deg, rgba(4,35,19,.42), transparent); }
  .quick-services { margin-top: -38px; }
  .section-space { padding: 58px 0; }
  .contact-strip { align-items: flex-start; flex-wrap: wrap; }
  .contact-strip .btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .container { --bs-gutter-x: 1.25rem; }
  .brand-mark { width: 41px; height: 41px; border-radius: 13px; }
  .site-brand strong { font-size: .88rem; }
  .site-brand small { font-size: .58rem; }
  .home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { height: 620px; }
  .hero-content { text-align: left; }
  .hero-content h1 { font-size: 2.55rem; }
  .hero-content p { margin: 18px 0 23px; font-size: .96rem; }
  .hero-trust { gap: 9px 14px; margin-top: 22px; font-size: .72rem; }
  .quick-services { margin-top: -28px; }
  .service-tile { min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; padding: 15px; }
  .service-icon { width: 43px; height: 43px; border-radius: 13px; }
  .service-tile small { display: none; }
  .section-space { padding: 48px 0; }
  .section-heading { margin-bottom: 22px; }
  .product-card { border-radius: 16px; }
  .product-body { min-height: 132px; padding: 12px; }
  .product-body h3 { font-size: .86rem; }
  .product-price { font-size: .92rem; }
  .product-arrow { width: 30px; height: 30px; }
  .product-badge { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 8px; font-size: .6rem; }
  .community-card { border-radius: 24px; }
  .community-stats { gap: 9px; }
  .community-stats > div { min-height: 125px; padding: 15px; }
  .contact-strip { padding: 20px; }
  .contact-icon { width: 50px; height: 50px; }
  .floating-contact { width: 48px; height: 48px; right: 14px; bottom: 14px; justify-content: center; padding: 0; }
  .floating-contact span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
