:root {
  --bes-green: #70a52b;
  --bes-green-dark: #315b2d;
  --bes-forest: #173f2d;
  --bes-wood: #8a5a3b;
  --bes-cream: #f7f4ed;
  --bes-ink: #253129;
  --bes-muted: #6a746d;
  --bes-radius: 24px;
  --bes-shadow: 0 24px 65px rgba(31, 55, 37, .14);
}

html { scroll-behavior: smooth; }
body {
  color: var(--bes-ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .bes-display {
  color: var(--bes-forest);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.tm-header .uk-navbar-container {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 0 rgba(23,63,45,.08);
  backdrop-filter: blur(14px);
}
.tm-header .uk-navbar { min-height: 96px; }
.tm-header .uk-logo img { max-height: 78px; width: auto; }
.tm-header .uk-navbar-nav > li > a {
  min-height: 96px;
  color: #304237;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
}
.tm-header .uk-navbar-nav > li.uk-active > a,
.tm-header .uk-navbar-nav > li > a:hover { color: var(--bes-green); }
.tm-header-mobile .uk-logo img { max-height: 62px; width: auto; }

.tm-main { padding-top: 0 !important; }
.tm-main > .uk-container { max-width: none; padding: 0; }
.tm-main article { margin: 0; }
.tm-main article > .uk-margin-medium-top { margin-top: 0 !important; }

.bes-page { overflow: hidden; }
.bes-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.bes-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--bes-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.bes-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--bes-green); }
.bes-lead { color: #4d5e53; font-size: clamp(18px, 2vw, 22px); line-height: 1.7; }
.bes-section { padding: clamp(72px, 9vw, 128px) 0; }
.bes-section--soft { background: var(--bes-cream); }
.bes-section__head { max-width: 740px; margin-bottom: 48px; }
.bes-section__head h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; }

.bes-hero {
  position: relative;
  min-height: min(790px, calc(100vh - 80px));
  display: grid;
  align-items: end;
  isolation: isolate;
  color: #fff;
  background: url('/images/site/hero.webp') center 48% / cover no-repeat;
}
.bes-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(10,30,20,.84) 0%, rgba(10,30,20,.48) 46%, rgba(10,30,20,.08) 78%),
              linear-gradient(0deg, rgba(10,30,20,.52), transparent 55%);
}
.bes-hero__content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0 92px; }
.bes-hero__logo { width: 118px; filter: drop-shadow(0 14px 28px rgba(0,0,0,.28)); }
.bes-hero h1 { max-width: 760px; margin: 24px 0 20px; color: #fff; font-size: clamp(48px, 7vw, 88px); line-height: .98; }
.bes-hero p { max-width: 670px; margin: 0; color: rgba(255,255,255,.9); font-size: clamp(18px, 2vw, 23px); line-height: 1.6; }
.bes-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.bes-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.bes-button:hover { transform: translateY(-2px); }
.bes-button--primary { color: #17351f !important; background: #b8e652; box-shadow: 0 15px 36px rgba(0,0,0,.2); }
.bes-button--ghost { color: #fff !important; border-color: rgba(255,255,255,.62); background: rgba(255,255,255,.08); }
.bes-button--dark { color: #fff !important; background: var(--bes-forest); }

.bes-stats { position: relative; z-index: 2; margin-top: -38px; }
.bes-stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: var(--bes-radius);
  background: #fff;
  box-shadow: var(--bes-shadow);
}
.bes-stat { padding: 30px 34px; border-right: 1px solid #e8ece7; }
.bes-stat:last-child { border: 0; }
.bes-stat strong { display: block; color: var(--bes-forest); font-family: Georgia, serif; font-size: 29px; }
.bes-stat span { color: var(--bes-muted); font-size: 14px; }

.bes-split { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(40px, 7vw, 92px); align-items: center; }
.bes-split--reverse > :first-child { order: 2; }
.bes-image-card { position: relative; }
.bes-image-card img { display: block; width: 100%; border-radius: var(--bes-radius); box-shadow: var(--bes-shadow); }
.bes-image-card::after { position: absolute; right: -22px; bottom: -22px; z-index: -1; width: 58%; height: 54%; border-radius: var(--bes-radius); background: #ddebcc; content: ""; }
.bes-copy h2 { margin: 0 0 22px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.07; }
.bes-copy p { color: #526158; font-size: 17px; line-height: 1.8; }
.bes-checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.bes-checks li { display: flex; align-items: center; gap: 11px; font-weight: 650; }
.bes-checks li::before { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: #fff; background: var(--bes-green); content: "✓"; font-size: 13px; }

.bes-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bes-card { overflow: hidden; border: 1px solid #e2e8e1; border-radius: 22px; background: #fff; box-shadow: 0 16px 46px rgba(31,55,37,.08); }
.bes-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bes-card__body { padding: 26px; }
.bes-card h3 { margin: 0 0 10px; font-size: 28px; }
.bes-card p { margin: 0; color: var(--bes-muted); line-height: 1.65; }

.bes-cta {
  padding: clamp(58px, 8vw, 94px);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(120deg, rgba(19,59,40,.98), rgba(57,101,49,.93)), url('/images/site/aerial.webp') center / cover;
  box-shadow: var(--bes-shadow);
}
.bes-cta h2 { max-width: 800px; margin: 0 0 18px; color: #fff; font-size: clamp(38px, 5vw, 64px); }
.bes-cta p { max-width: 680px; margin: 0; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.7; }

.bes-subhero { position: relative; min-height: 390px; display: grid; place-items: center; color: #fff; text-align: center; background-position: center; background-size: cover; }
.bes-subhero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(120deg, rgba(15,55,36,.78), rgba(24,40,29,.36)); }
.bes-subhero__inner { position: relative; width: min(900px, calc(100% - 40px)); padding: 80px 0; }
.bes-subhero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(44px, 7vw, 78px); }
.bes-subhero p { margin: 0 auto; max-width: 650px; color: rgba(255,255,255,.88); font-size: 19px; }
.bes-content { width: min(1060px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 100px; }
.bes-content h2, .bes-content h3 { margin-top: 1.6em; }
.bes-content p, .bes-content li { font-size: 17px; line-height: 1.75; }
.bes-content table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid #dfe6dc; border-radius: 18px; }
.bes-content th { color: #fff; background: var(--bes-forest); }
.bes-content th, .bes-content td { padding: 14px 16px; border-bottom: 1px solid #e3e9e1; text-align: left; }
.bes-content tr:nth-child(even) td { background: #f7f9f5; }

.bes-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bes-gallery a { position: relative; overflow: hidden; display: block; border-radius: 16px; background: #e7ece5; }
.bes-gallery img { display: block; width: 100%; aspect-ratio: 1.38; object-fit: cover; transition: transform .45s ease; }
.bes-gallery a::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(15,49,32,.26), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.bes-gallery a:hover img { transform: scale(1.045); }
.bes-gallery a:hover::after { opacity: 1; }

.bes-contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; }
.bes-contact-card { padding: 36px; border-radius: 22px; background: var(--bes-cream); }
.bes-contact-card h3 { margin-top: 0; }
.bes-contact-card a { color: var(--bes-green-dark); font-weight: 750; }

.tm-footer { margin-top: 0 !important; color: rgba(255,255,255,.78); background: #153a29; }
.tm-footer a { color: #c8e59b; }

@media (max-width: 959px) {
  .bes-split, .bes-contact-grid { grid-template-columns: 1fr; }
  .bes-split--reverse > :first-child { order: 0; }
  .bes-cards { grid-template-columns: 1fr 1fr; }
  .bes-gallery { grid-template-columns: 1fr 1fr; }
  .bes-stats__inner { grid-template-columns: 1fr; }
  .bes-stat { border-right: 0; border-bottom: 1px solid #e8ece7; }
  .bes-hero { min-height: 680px; }
}

@media (max-width: 639px) {
  .bes-wrap, .bes-hero__content, .bes-content { width: min(100% - 30px, 1180px); }
  .bes-hero { min-height: 650px; background-position: 62% center; }
  .bes-hero__content { padding-bottom: 64px; }
  .bes-hero__logo { width: 90px; }
  .bes-actions { display: grid; }
  .bes-cards, .bes-gallery { grid-template-columns: 1fr; }
  .bes-section { padding: 66px 0; }
  .bes-stats { margin-top: 18px; }
  .bes-cta { padding: 46px 26px; border-radius: 24px; }
  .bes-subhero { min-height: 310px; }
  .bes-content table { display: block; overflow-x: auto; }
}
