/* ──────────────────────────────────────────────────────────
   Select BM — Shared Design System
   ────────────────────────────────────────────────────────── */

@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-LightOblique.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Book.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-BookOblique.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Roman.ttf') format('truetype'); font-weight: 450; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Oblique.ttf') format('truetype'); font-weight: 450; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Medium.ttf') format('truetype'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-MediumOblique.ttf') format('truetype'); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Heavy.ttf') format('truetype'); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-HeavyOblique.ttf') format('truetype'); font-weight: 700 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir'; src: url('uploads/avenir/Avenir-BlackOblique.ttf') format('truetype'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir Display'; src: url('uploads/avenir/Avenir-Light.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Display'; src: url('uploads/avenir/Avenir-LightOblique.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Avenir Display'; src: url('uploads/avenir/Avenir-Heavy.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Avenir Display'; src: url('uploads/avenir/Avenir-HeavyOblique.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1C8C0B;
  --green-dark: #166809;
  --green-light: #e8f5e9;
  --charcoal: #373435;
  --gray-bg: #E6E7E8;
  --footer-dark: #2A2A2A;
  --white: #fafaf8;
  --serif: 'Avenir Display', 'Avenir', system-ui, sans-serif;
  --sans: 'Avenir', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--green); color: white; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(55,52,53,0.1);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.10); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: #555; transition: color 0.2s; letter-spacing: 0.2px; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-cta {
  background: var(--green); color: white;
  padding: 10px 24px; border-radius: 4px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* SECTION SHARED */
.section { padding: 100px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; color: var(--charcoal);
  line-height: 1.15; letter-spacing: 0;
  margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: #666; line-height: 1.7; max-width: 560px; }
.section-header { margin-bottom: 56px; }

/* BUTTONS */
.btn-primary {
  background: var(--green); color: white;
  padding: 15px 32px; border-radius: 4px; border: none;
  font-size: 15px; font-weight: 600; letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--green-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,140,11,0.35);
}
.btn-outline {
  background: transparent; color: #f0ede8;
  padding: 14px 32px; border-radius: 4px;
  border: 1.5px solid rgba(240,237,232,0.3);
  font-size: 15px; font-weight: 500; letter-spacing: 0.3px;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { border-color: rgba(240,237,232,0.7); color: white; transform: translateY(-2px); }
.btn-white {
  background: white; color: var(--green);
  padding: 15px 36px; border-radius: 4px; border: none;
  font-size: 15px; font-weight: 700; letter-spacing: 0.3px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.btn-ghost {
  background: transparent; color: white;
  padding: 14px 36px; border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 15px; font-weight: 600;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: white; transform: translateY(-2px); }

/* PAGE HERO (compact, dark) */
.page-hero {
  background: #111210;
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,140,11,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,140,11,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,140,11,0.18) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 2;
}
.page-hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--green); }
.page-hero-title {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400; line-height: 1.1; color: #f0ede8;
  letter-spacing: -0.5px; margin-bottom: 20px; max-width: 800px;
}
.page-hero-desc {
  font-size: 18px; line-height: 1.7; color: rgba(240,237,232,0.7);
  max-width: 640px;
}
.positioning-strip {
  background: var(--green-light);
  border-top: 1px solid rgba(28,140,11,0.15);
  border-bottom: 1px solid rgba(28,140,11,0.15);
  padding: 52px 32px;
  text-align: center;
}
.positioning-strip p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.75vw, 22px);
  font-weight: 400; line-height: 1.2; letter-spacing: -0.3px;
  color: var(--charcoal);
}

/* CTA BANNER */
.cta-banner { background: var(--green); padding: 100px 0; position: relative; overflow: hidden; }
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-inner {
  max-width: 800px; margin: 0 auto; padding: 0 32px;
  text-align: center; position: relative; z-index: 2;
}
.cta-inner h2 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 56px);
  font-weight: 400; color: white; line-height: 1.12; margin-bottom: 20px;
  letter-spacing: 0;
}
.cta-inner p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 44px; line-height: 1.6; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--footer-dark); padding: 72px 0 0; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-logo-sub { font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase; color: #666; margin-top: 2px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #aaa; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #888; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-contact-icon { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-contact-text { font-size: 14px; color: #888; line-height: 1.5; }
.footer-bottom {
  max-width: 1200px; margin: 48px auto 0; padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #555;
}

/* CHATBOT */
.chatbot-fab { position: fixed; bottom: 32px; right: 32px; z-index: 200; }
.chatbot-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: white;
  border: none; box-shadow: 0 6px 24px rgba(28,140,11,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.chatbot-btn:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(28,140,11,0.5); }
.chatbot-btn svg { width: 26px; height: 26px; }
.chatbot-window {
  position: absolute; bottom: 72px; right: 0;
  width: 340px; background: white; border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatOpen 0.2s ease;
}
@keyframes chatOpen { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.chat-header { background: var(--green); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; font-weight: 700; color: white; }
.chat-header-name { font-size: 14px; font-weight: 600; color: white; }
.chat-header-status { font-size: 12px; color: rgba(255,255,255,0.75); display: flex; align-items: center; gap: 4px; }
.chat-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #7fff6a; }
.chat-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 18px; cursor: pointer; padding: 4px; }
.chat-messages { padding: 20px; height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 85%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-bubble { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.chat-msg.bot .chat-bubble { background: #f0f0ef; color: var(--charcoal); border-bottom-left-radius: 4px; }
.chat-msg.user .chat-bubble { background: var(--green); color: white; border-bottom-right-radius: 4px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-qr {
  font-size: 12px; padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--green); color: var(--green); background: none;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.chat-qr:hover { background: var(--green); color: white; }
.chat-input-row { border-top: 1px solid #eee; display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.chat-input { flex: 1; border: 1px solid #e0e0e0; border-radius: 20px; padding: 8px 14px; font-size: 13px; font-family: var(--sans); outline: none; transition: border-color 0.2s; }
.chat-input:focus { border-color: var(--green); }
.chat-inquiry-form { border-top: 1px solid #eee; padding: 12px 16px 16px; display: grid; gap: 8px; }
.chat-inquiry-form input, .chat-inquiry-form textarea { width: 100%; border: 1px solid #e0e0e0; border-radius: 8px; padding: 9px 11px; font: inherit; font-size: 13px; outline: none; }
.chat-inquiry-form textarea { min-height: 70px; resize: vertical; }
.chat-inquiry-form input:focus, .chat-inquiry-form textarea:focus { border-color: var(--green); }
.chat-inquiry-submit { margin: 0; padding: 10px 12px; border-radius: 8px; }
.chat-inquiry-status { font-size: 12px; line-height: 1.4; color: #666; }
.chat-send { width: 32px; height: 32px; border-radius: 50%; background: var(--green); border: none; color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-send svg { width: 14px; height: 14px; }

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white; border-radius: 12px; padding: 48px;
  width: 100%; max-width: 520px; margin: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal h3 { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.modal p { font-size: 15px; color: #666; margin-bottom: 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; color: #aaa; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 6px;
  font-size: 14px; font-family: var(--sans); outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit {
  width: 100%; padding: 14px; border-radius: 6px;
  background: var(--green); color: white; border: none;
  font-size: 15px; font-weight: 700; font-family: var(--sans);
  margin-top: 8px; transition: background 0.2s;
}
.form-submit:hover { background: var(--green-dark); }

/* SCROLL ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* VIDEO SECTION */
.video-section {
  background: #f6f5f1;
  padding: 90px 0;
  position: relative;
}
.video-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.video-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.video-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.video-eyebrow::before, .video-eyebrow::after {
  content: ''; display: block; width: 28px; height: 2px; background: var(--green); opacity: 0.5;
}
.video-title {
  font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 400; color: var(--charcoal);
  line-height: 1.18; letter-spacing: 0;
  margin-bottom: 16px;
}
.video-desc { font-size: 16px; color: #666; line-height: 1.6; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px; overflow: hidden;
  background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  cursor: pointer;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-controls {
  position: absolute; top: 20px; right: 20px;
  display: flex; gap: 10px; z-index: 5;
}
.video-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.video-btn:hover { background: rgba(0,0,0,0.75); transform: scale(1.05); }
.video-btn svg { width: 18px; height: 18px; }
.video-pulse {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  color: white; font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 5;
}
.video-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — Mobile First
   ────────────────────────────────────────────────────────── */

/* Hamburger — hidden on desktop */
.nav-hamburger { display: none; }

@media (max-width: 768px) {

  /* NAV */
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-logo img { height: 44px; }
  .nav-hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; padding: 6px; cursor: pointer; z-index: 101;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--charcoal);
    transition: transform 0.25s, opacity 0.25s;
    border-radius: 1px;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-links {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0;
    background: white; z-index: 99;
    flex-direction: column; gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 13px 20px; border-bottom: 1px solid #f2f2f0;
    font-size: 15px; display: block;
  }
  .nav-cta { margin: 12px 20px 0; text-align: center; display: block; padding: 12px 20px; }

  /* SECTION */
  .section { padding: 60px 0; }
  .section-inner { padding: 0 16px; }
  .section-header { margin-bottom: 36px; }
  .section-desc { font-size: 15px; }

  /* PAGE HERO */
  .page-hero { padding: 96px 0 52px; }
  .page-hero-inner { padding: 0 16px; }
  .page-hero-desc { font-size: 15px; }
  .positioning-strip { padding: 32px 16px; }

  /* FOOTER */
  .footer { padding: 48px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
    padding: 0 16px;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-desc { max-width: 100%; }
  .footer-bottom {
    padding: 16px; flex-direction: column;
    gap: 6px; text-align: center;
  }

  /* MODAL */
  .modal { padding: 28px 20px; margin: 12px; border-radius: 8px; }
  .modal h3 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* CHATBOT */
  .chatbot-fab { bottom: 20px; right: 16px; }
  .chatbot-window { width: calc(100vw - 32px); right: 0; }

  /* CTA BANNER */
  .cta-banner { padding: 64px 0; }
  .cta-inner { padding: 0 16px; }

  /* VIDEO */
  .video-section { padding: 52px 0; }
  .video-inner { padding: 0 16px; }
  .video-header { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
