/* ==========================================================================
   Rubin George — brand theme layer (loads after main.css)
   Palette: primary #3A531C · secondary #8CC63F · background #F9FAEB
            surface #E8EDDF · text/deep #1A240F
   ========================================================================== */

:root {
  --rg-primary: #3A531C;
  --rg-lime: #8CC63F;
  --rg-cream: #F9FAEB;
  --rg-surface: #E8EDDF;
  --rg-deep: #1A240F;
  --rg-deep-2: #243312;
  --white: #F9FAEB;
  --border: rgba(249, 250, 235, 0.14);
}

body {
  background-color: var(--rg-deep);
  text-transform: none;
}

/* keep the template's display-caps style only on headings & buttons */
h1, h2,
.section-title h6,
.theme-btn,
.rg-btn-outline,
.view-btn {
  text-transform: uppercase;
}
h3, h4, h5 { text-transform: none; }

::selection {
  background: var(--rg-lime);
  color: var(--rg-deep);
}

/* ------- text logo ------- */
.rg-logo {
  font-family: "Days One", sans-serif;
  font-size: 24px;
  color: var(--rg-cream);
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}
.rg-logo span { color: var(--rg-lime); }
.rg-logo:hover { color: var(--rg-cream); }

/* ------- header (floating pill) ------- */
.rg-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 40px);
  max-width: 1240px;
  transition: top 0.3s ease;
}
.rg-header.is-scrolled { top: 12px; }
.rg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(249, 250, 235, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(58, 83, 28, 0.08);
  border-radius: 100px;
  padding: 8px 8px 8px 26px;
  box-shadow: 0 14px 40px rgba(15, 23, 8, 0.28), 0 2px 8px rgba(15, 23, 8, 0.12);
}
.rg-header-logo { display: inline-flex; align-items: center; color: var(--rg-primary); flex-shrink: 0; text-decoration: none; }
.rg-header-logo:hover { color: var(--rg-primary); text-decoration: none; }
.rg-wordmark {
  font-family: "Nunito", "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -1.2px;
  color: var(--rg-primary);
  position: relative;
  padding-right: 4px;
  display: inline-block;
}
.rg-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rg-lime);
  vertical-align: baseline;
  margin-left: 1px;
  margin-bottom: 1px;
}

.rg-header-nav { flex-grow: 1; display: flex; justify-content: center; }
.rg-header-nav .main-menu #desktop-menu > ul,
.rg-header-nav .main-menu > nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rg-header-nav .main-menu ul li {
  position: relative;
  padding: 0;
  margin: 0;
}
.rg-header-nav .main-menu ul li > a {
  display: inline-block;
  padding: 10px 16px;
  color: var(--rg-deep);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-transform: none;
  border-radius: 100px;
  transition: all 0.25s ease;
  position: relative;
}
.rg-header-nav .main-menu ul li > a::before,
.rg-header-nav .main-menu ul li > a::after { display: none !important; }
.rg-header-nav .main-menu ul li:hover > a {
  color: var(--rg-deep);
  background: var(--rg-lime);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(140, 198, 63, 0.35);
}
.rg-header-nav .main-menu ul li.active > a {
  color: var(--rg-primary);
  background: rgba(140, 198, 63, 0.2);
}
.rg-header-nav .main-menu ul li.has-dropdown > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 6px;
  font-size: 11px;
  display: inline !important;
  position: static !important;
  background: none !important;
  transition: none;
}

/* dropdown submenu */
.rg-header-nav .main-menu ul .submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(58, 83, 28, 0.08);
  border-radius: 16px;
  padding: 10px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 20px 44px rgba(15, 23, 8, 0.18);
}
.rg-header-nav .main-menu ul li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.rg-header-nav .main-menu ul .submenu li { width: 100%; }
.rg-header-nav .main-menu ul .submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 10px;
  color: var(--rg-deep);
  white-space: nowrap;
}
.rg-header-nav .main-menu ul .submenu li a:hover {
  background: rgba(140, 198, 63, 0.15);
  color: var(--rg-primary);
}

.rg-header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rg-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 100px;
  background: var(--rg-primary);
  color: var(--rg-cream);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}
.rg-pill-btn:hover {
  background: var(--rg-lime);
  color: var(--rg-deep);
  transform: translateY(-1px);
}

/* hamburger */
.rg-header-cta .sidebar__toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.rg-header-cta .sidebar__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--rg-cream);
  border-radius: 2px;
}

/* hide the menu on mobile — offcanvas takes over */
@media (max-width: 991px) {
  .rg-header-nav { display: none; }
  .rg-header-inner { padding: 6px 6px 6px 18px; }
  .rg-wordmark { font-size: 22px; letter-spacing: -1px; }
  .rg-dot { width: 6px; height: 6px; }
}

/* push body content down so it doesn't get hidden by the fixed header */
body { padding-top: 0; }

/* ------- kill template's sticky/custom-cursor overrides ------- */
.rg-header.sticky {
  position: fixed !important;
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 40px) !important;
  max-width: 1240px !important;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  border-radius: 0 !important;
}
.rg-header.sticky .rg-header-inner {
  box-shadow: 0 14px 40px rgba(15, 23, 8, 0.34), 0 2px 8px rgba(15, 23, 8, 0.16);
}
@media (max-width: 575px) {
  .rg-header.sticky {
    top: 12px !important;
    width: calc(100% - 24px) !important;
  }
}

/* ------- cursor: remove custom cursor, use native ------- */
.mouseCursor,
.custom-cursor { display: none !important; }
* { cursor: auto; }
a, button, .theme-btn, .rg-pill-btn, .rg-btn-outline, .rg-link, [role="button"], .accordion-button, .sidebar__toggle { cursor: pointer; }
/* subtle underline hover on inline article links */
.rg-article p a, .rg-article li a {
  color: var(--rg-lime);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s ease;
}
.rg-article p a:hover, .rg-article li a:hover { background-size: 100% 1px; }

/* ------- hero ------- */
.rg-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(140, 198, 63, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(58, 83, 28, 0.55), transparent 65%),
    linear-gradient(180deg, #16200b 0%, var(--rg-deep) 60%, #16200b 100%);
}
.rg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 198, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 198, 63, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side at 70% 40%, rgba(0,0,0,.9), transparent);
  -webkit-mask-image: radial-gradient(closest-side at 70% 40%, rgba(0,0,0,.9), transparent);
  pointer-events: none;
}
.rg-hero .rg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rg-lime);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 22px;
}
.rg-hero .rg-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--rg-lime);
  display: inline-block;
}
.rg-hero h1 {
  font-size: 64px;
  line-height: 1.06;
  text-transform: uppercase;
  color: var(--rg-cream);
  margin-bottom: 24px;
}
.rg-hero h1 span { color: var(--rg-lime); }
.rg-hero .rg-hero-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 34px;
}
.rg-hero-btns { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rg-hero-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(249, 250, 235, 0.12);
}
.rg-hero-counters h2 { color: var(--rg-cream); font-size: 34px; margin-bottom: 4px; }
.rg-hero-counters h2 span.hl { color: var(--rg-lime); }
.rg-hero-counters p { color: var(--text); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }

.rg-hero-visual { position: relative; }
.rg-hero-visual .frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(140, 198, 63, 0.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
  max-height: 620px;
}
.rg-hero-visual .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(140,198,63,0.14) 0%, transparent 35%);
  pointer-events: none;
}
.rg-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.rg-hero-badge {
  position: absolute;
  left: -24px;
  bottom: 34px;
  background: var(--rg-lime);
  color: var(--rg-deep);
  font-family: "Days One", sans-serif;
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.rg-hero-badge small { display: block; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 12px; opacity: .8; }

/* ------- generic media helpers ------- */
.rg-cover {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.rg-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.rg-ratio-4x3 { aspect-ratio: 4 / 3; }
.rg-ratio-16x9 { aspect-ratio: 16 / 9; }
.rg-ratio-3x4 { aspect-ratio: 3 / 4; max-height: 600px; }
.rg-frame {
  border: 1px solid rgba(140, 198, 63, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
/* service card thumb — enforce aspect ratio */
.rg-service-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.rg-service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s;
}
/* article lead image — cap height */
.rg-article .lead-img {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 34px;
  max-height: 520px;
}
.rg-article .lead-img img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* about page hero visual — matches home */
.rg-hero-visual .frame img { object-position: center 25%; }

/* ------- section helpers ------- */
.rg-section-dark2 { background: var(--rg-deep-2); }
.rg-gradient-band {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(140, 198, 63, 0.12), transparent 60%),
    linear-gradient(180deg, #1f2b10 0%, var(--rg-deep) 100%);
}
.section-title h6 { color: var(--rg-lime); }

/* breadcrumb / page hero (replaces esports bg image) */
.rg-breadcrumb {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 20%, rgba(140, 198, 63, 0.18), transparent 60%),
    linear-gradient(180deg, #16200b 0%, #243312 130%);
}
.rg-breadcrumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 198, 63, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 198, 63, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(closest-side at 80% 20%, rgba(0,0,0,.9), transparent);
  -webkit-mask-image: radial-gradient(closest-side at 80% 20%, rgba(0,0,0,.9), transparent);
  pointer-events: none;
}
.rg-breadcrumb h1 {
  color: var(--rg-cream);
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 900px;
}
.rg-breadcrumb .rg-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}
.rg-breadcrumb .rg-crumbs a { color: var(--rg-cream); }
.rg-breadcrumb .rg-crumbs a:hover { color: var(--rg-lime); }
.rg-breadcrumb .rg-crumbs .sep { color: var(--rg-lime); }
.rg-breadcrumb p.lead-text { color: var(--text); max-width: 760px; margin-top: 14px; font-size: 16px; line-height: 1.7; }

/* ------- cream (light) sections — palette background + surface ------- */
.rg-cream-section {
  background: var(--rg-cream);
  position: relative;
}
.rg-cream-section .section-title h6 { color: var(--rg-primary); }
.rg-cream-section .section-title h2,
.rg-cream-section h2, .rg-cream-section h3, .rg-cream-section h4, .rg-cream-section h5 {
  color: var(--rg-deep);
}
.rg-cream-section .section-title h2 span { -webkit-text-stroke: 1px var(--rg-primary); color: transparent; }
.rg-cream-section p { color: #3d4a2c; }
.rg-card {
  background: #fff;
  border: 1px solid var(--rg-surface);
  border-radius: 20px;
  padding: 34px 30px;
  height: 100%;
  transition: all .35s;
  box-shadow: 0 6px 24px rgba(26, 36, 15, 0.06);
}
.rg-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(26, 36, 15, 0.12); border-color: var(--rg-lime); }
.rg-card .num {
  font-family: "Days One", sans-serif;
  color: var(--rg-lime);
  font-size: 40px;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}
.rg-card h4 { font-size: 20px; margin-bottom: 12px; color: var(--rg-deep); }
.rg-card p { font-size: 15px; line-height: 1.7; margin-bottom: 0; }

/* surface cards on dark bg */
.rg-dark-card {
  background: rgba(249, 250, 235, 0.04);
  border: 1px solid rgba(249, 250, 235, 0.1);
  border-radius: 20px;
  padding: 34px 30px;
  height: 100%;
  transition: all .35s;
}
.rg-dark-card:hover { border-color: rgba(140, 198, 63, 0.5); background: rgba(140, 198, 63, 0.06); transform: translateY(-6px); }
.rg-dark-card h4 { color: var(--rg-cream); font-size: 20px; margin-bottom: 12px; }
.rg-cert-issuer {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rg-lime);
  background: rgba(140, 198, 63, 0.12);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.rg-dark-card h4 a { color: inherit; }
.rg-dark-card h4 a:hover { color: var(--rg-lime); }
.rg-dark-card p { color: var(--text); font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.rg-dark-card .icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(140, 198, 63, 0.12);
  color: var(--rg-lime);
  font-size: 24px;
  border-radius: 14px;
  margin-bottom: 22px;
}

/* service cards with image tops */
.rg-service-card {
  background: var(--rg-deep-2);
  border: 1px solid rgba(249, 250, 235, 0.09);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all .35s;
}
.rg-service-card:hover { border-color: rgba(140, 198, 63, 0.55); transform: translateY(-6px); }
.rg-service-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.rg-service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.rg-service-card:hover .thumb img { transform: scale(1.06); }
.rg-service-card .content { padding: 28px 28px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.rg-service-card h4 { font-size: 21px; margin-bottom: 12px; }
.rg-service-card h4 a { color: var(--rg-cream); }
.rg-service-card h4 a:hover { color: var(--rg-lime); }
.rg-service-card p { color: var(--text); font-size: 15px; line-height: 1.7; flex-grow: 1; }
.rg-link {
  color: var(--rg-lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rg-link i { transition: transform .3s; }
.rg-link:hover { color: var(--rg-cream); }
.rg-link:hover i { transform: translateX(5px); }

/* checklist */
.rg-checklist { margin: 0; padding: 0; list-style: none; }
.rg-checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.65;
}
.rg-checklist li strong { color: var(--rg-cream); }
.rg-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(140, 198, 63, 0.15);
  color: var(--rg-lime);
  border-radius: 50%;
  font-size: 11px;
}
.rg-cream-section .rg-checklist li { color: #3d4a2c; }
.rg-cream-section .rg-checklist li strong { color: var(--rg-deep); }

/* steps */
.rg-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(249, 250, 235, 0.1);
}
.rg-step:last-child { border-bottom: none; }
.rg-step .step-num {
  font-family: "Days One", sans-serif;
  font-size: 42px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rg-lime);
  min-width: 78px;
}
.rg-step h4 { color: var(--rg-cream); font-size: 20px; margin-bottom: 10px; }
.rg-step p { color: var(--text); line-height: 1.7; margin-bottom: 0; }

/* marquee text strip */
.rg-marquee {
  overflow: hidden;
  background: var(--rg-lime);
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.rg-marquee .marquee-inner {
  display: flex;
  width: max-content;
  animation: rgMarquee 32s linear infinite;
  align-items: center;
  height: 100%;
}
.rg-marquee ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}
.rg-marquee li {
  font-family: "Days One", "Chakra Petch", sans-serif;
  text-transform: uppercase;
  color: var(--rg-deep);
  font-size: 16px;
  line-height: 1;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.rg-marquee li::after {
  content: "✦";
  font-size: 14px;
  color: var(--rg-primary);
  line-height: 1;
}
@keyframes rgMarquee { to { transform: translateX(-50%); } }

/* ------- FAQ tweaks ------- */
.gt-faq-content > h4 { text-transform: uppercase; }
.accordion-body { color: var(--text); }

/* ------- article / long-form content ------- */
.rg-article h2, .rg-article h3 { color: var(--rg-cream); margin: 38px 0 16px; text-transform: none; }
.rg-article h2 { font-size: 30px; }
.rg-article h3 { font-size: 24px; }
.rg-article h4 { color: var(--rg-cream); font-size: 19px; margin: 28px 0 12px; }
.rg-article p { color: var(--text); line-height: 1.8; margin-bottom: 18px; font-size: 16px; }
.rg-article .rg-checklist { margin: 20px 0 26px; }
.rg-article blockquote {
  border-left: 3px solid var(--rg-lime);
  background: rgba(140, 198, 63, 0.07);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  color: var(--rg-cream);
  font-size: 17px;
  line-height: 1.7;
  margin: 28px 0;
}
.rg-article .lead-img { border-radius: 20px; overflow: hidden; margin-bottom: 34px; }
.rg-article .lead-img img { width: 100%; display: block; }
.rg-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--rg-lime);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.rg-article-meta i { margin-right: 8px; }

/* highlight box (case-study numbers etc.) */
.rg-stat-band {
  background: var(--rg-lime);
  border-radius: 22px;
  padding: 44px 40px;
}
.rg-stat-band h3 { color: var(--rg-deep); font-size: 40px; margin-bottom: 4px; }
.rg-stat-band p { color: rgba(26, 36, 15, 0.75); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin: 0; }

/* ------- contact ------- */
.rg-contact-panel {
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(140, 198, 63, 0.25), transparent 60%),
    linear-gradient(180deg, #2a3b13, #1c270e);
  border: 1px solid rgba(140, 198, 63, 0.25);
  border-radius: 22px;
  padding: 40px 34px;
  height: 100%;
}
.rg-contact-panel h3 { color: var(--rg-cream); text-transform: uppercase; margin-bottom: 10px; }
.rg-contact-panel > p { color: var(--text); margin-bottom: 28px; }
.rg-contact-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.rg-contact-line .ic {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(140, 198, 63, 0.14);
  color: var(--rg-lime);
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 18px;
}
.rg-contact-line span { display: block; color: var(--rg-lime); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 3px; }
.rg-contact-line a, .rg-contact-line p { color: var(--rg-cream); font-weight: 600; margin: 0; word-break: break-word; }
.rg-contact-line a:hover { color: var(--rg-lime); }

.gt-comment-form-wrap .form-clt input,
.gt-comment-form-wrap .form-clt textarea {
  background: rgba(249, 250, 235, 0.04);
  border: 1px solid rgba(249, 250, 235, 0.12);
  border-radius: 12px;
  color: var(--rg-cream);
}
.gt-comment-form-wrap .form-clt input:focus,
.gt-comment-form-wrap .form-clt textarea:focus { border-color: var(--rg-lime); }

/* ------- CTA banner ------- */
.rg-cta {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(140, 198, 63, 0.3), transparent 55%),
    linear-gradient(120deg, #2a3b13 0%, #1c270e 70%);
  border: 1px solid rgba(140, 198, 63, 0.3);
  padding: 64px 56px;
}
.rg-cta h3 { color: var(--rg-cream); font-size: 38px; text-transform: uppercase; margin-bottom: 12px; }
.rg-cta h3 span { color: var(--rg-lime); }
.rg-cta p { color: var(--text); max-width: 620px; margin-bottom: 0; font-size: 16px; }
.rg-cta .cta-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* whatsapp float */
.rg-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rg-lime);
  color: var(--rg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform .3s;
}
.rg-whatsapp:hover { transform: scale(1.1); color: var(--rg-deep); }

/* footer */
.rg-footer {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(140, 198, 63, 0.08), transparent 60%),
    linear-gradient(180deg, #131a09, #0f1507);
  border-top: 1px solid rgba(140, 198, 63, 0.12);
}
.rg-footer .footer-widget-items p.about { color: var(--text); line-height: 1.75; margin-top: 18px; }

/* secondary outline button */
.rg-btn-outline {
  display: inline-block;
  height: 52px;
  line-height: 50px;
  border: 1px solid rgba(249, 250, 235, 0.3);
  color: var(--rg-cream);
  border-radius: 100px;
  padding: 0 30px;
  font-weight: 700;
  font-size: 16px;
  transition: all .35s;
}
.rg-btn-outline:hover { border-color: var(--rg-lime); color: var(--rg-lime); }

/* nav underline color already themed by main.css; active color */
.main-menu ul li.active > a { color: var(--rg-lime); }

/* tables inside articles */
.rg-article table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.rg-article th, .rg-article td { border: 1px solid rgba(249,250,235,.15); padding: 12px 16px; color: var(--text); text-align: left; }
.rg-article th { color: var(--rg-cream); background: rgba(140,198,63,.08); }

/* responsive */
@media (max-width: 1199px) {
  .rg-hero h1 { font-size: 52px; }
}
@media (max-width: 991px) {
  .rg-hero { padding: 150px 0 80px; }
  .rg-hero h1 { font-size: 42px; }
  .rg-breadcrumb { padding: 150px 0 70px; }
  .rg-breadcrumb h1 { font-size: 36px; }
  .rg-cta { padding: 48px 34px; }
  .rg-cta h3 { font-size: 30px; }
  .rg-hero-badge { left: 12px; bottom: 20px; }
}
@media (max-width: 575px) {
  .rg-hero h1 { font-size: 34px; }
  .rg-breadcrumb h1 { font-size: 30px; }
  .rg-hero-counters { gap: 20px; }
  .rg-hero-counters h2 { font-size: 22px; }
  .rg-hero-counters p { font-size: 11px; }
  .rg-hero-visual .frame { max-height: 480px; }
  .rg-step { flex-direction: column; gap: 10px; }
  .rg-marquee li { font-size: 16px; }
  .rg-header { top: 12px; width: calc(100% - 24px); }
  .rg-header-inner { padding: 6px 6px 6px 16px; }
  .rg-pill-btn { height: 42px; padding: 0 18px; font-size: 13px; }
}

/* ============================================================
   Animated scroll-spy Table of Contents (blog articles)
   Fixed left rail: growing lines + numbers; labels reveal on hover.
   Active section extends its line and highlights in brand lime.
   ============================================================ */
.rg-toc {
  position: fixed;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  max-height: 82vh;
  overflow-y: auto;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
  scrollbar-width: none;
}
/* fades in only once the reader is inside the article body (JS toggles this) */
.rg-toc.rg-toc-visible { opacity: 1; pointer-events: auto; }
.rg-toc::-webkit-scrollbar { display: none; }
.rg-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }

.rg-toc-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  color: #6b7860;
  font-family: "Chakra Petch", sans-serif;
  transition: color .3s ease;
  white-space: nowrap;
}
.rg-toc-line {
  display: block;
  height: 2px;
  width: 22px;
  flex-shrink: 0;
  margin-right: 14px;
  background: currentColor;
  opacity: .5;
  border-radius: 2px;
  transition: width .4s cubic-bezier(.4,0,.2,1), background .3s ease, opacity .3s ease;
}
.rg-toc-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-right: 12px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.rg-toc-label {
  font-size: 15px;
  font-weight: 500;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width .45s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}

/* passed sections — slightly brighter than upcoming */
.rg-toc-item.passed a { color: #8a967c; }

/* active section — extend line + lime highlight on number (label stays hover-only) */
.rg-toc-item.active a { color: var(--rg-lime); }
.rg-toc-item.active .rg-toc-line { width: 50px; opacity: 1; background: var(--rg-lime); }

/* hover the rail — reveal every label over a soft panel */
.rg-toc:hover {
  background: rgba(15, 22, 8, .92);
  border-color: rgba(140, 198, 63, .18);
  box-shadow: 0 20px 55px rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
}
.rg-toc:hover .rg-toc-item a { color: var(--text); }
.rg-toc:hover .rg-toc-item.passed a { color: #b6c0a8; }
.rg-toc:hover .rg-toc-item.active a { color: var(--rg-lime); }
.rg-toc:hover .rg-toc-label { max-width: 320px; opacity: 1; }
.rg-toc-item a:hover { color: var(--rg-cream) !important; }
.rg-toc-item.active a:hover { color: #a1d651 !important; }

/* only show where there's genuine left-margin room */
@media (max-width: 1439px) { .rg-toc { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rg-toc, .rg-toc * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* keep anchored headings clear of the fixed header when jumped-to via TOC */
.rg-article h2 { scroll-margin-top: 110px; }

/* ============================================================
   Pointer-following Border Glow on CTA buttons
   ============================================================ */
.rg-glow-layer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;               /* thickness of the glowing border */
  pointer-events: none;
  background: radial-gradient(90px circle at var(--gx, 50%) var(--gy, 50%),
              rgba(140, 198, 63, 0.95), rgba(140, 198, 63, 0) 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 1;
}
.theme-btn:hover .rg-glow-layer,
.rg-pill-btn:hover .rg-glow-layer,
.rg-btn-outline:hover .rg-glow-layer { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rg-glow-layer { display: none; } }

/* ============================================================
   Draggable physics lanyard (contact page hero)
   ============================================================ */
.rg-lanyard-section { padding: 130px 0 40px; overflow: hidden; }
.rg-lanyard-copy .rg-kicker { justify-content: flex-start; margin-bottom: 18px; }
.rg-lanyard-copy h2 { color: var(--rg-cream); font-size: 40px; line-height: 1.1; margin-bottom: 18px; }
.rg-lanyard-copy h2 span { color: var(--rg-lime); }
.rg-lanyard-copy p { color: var(--text); font-size: 16px; line-height: 1.7; max-width: 480px; margin-bottom: 26px; }

.rg-lanyard {
  position: relative;
  width: 100%;
  height: 440px;
  touch-action: none;              /* let JS own the drag gesture */
  user-select: none;
}
.rg-lanyard-cord {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.rg-lanyard-cord-path {
  fill: none;
  stroke: url(#rgCordGrad);
  stroke: var(--rg-lime);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}

.rg-lanyard-card {
  position: absolute;
  top: 0; left: 0;
  width: 200px;
  height: 250px;
  transform-origin: 100px 20px;    /* pivot at the hole */
  cursor: grab;
  will-change: transform;
}
.rg-lanyard-card.rg-lanyard-grabbing { cursor: grabbing; }

/* metal clip + punch-hole where the cord attaches */
.rg-lanyard-clip {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 20px; border-radius: 6px;
  background: linear-gradient(180deg, #e9eede, #b9c4a6);
  border: 1px solid rgba(26,36,15,.25);
  z-index: 3;
}
.rg-lanyard-hole {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--rg-deep);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
  z-index: 4;
}

.rg-lanyard-card-inner {
  position: absolute;
  top: 26px; left: 0; right: 0; bottom: 0;
  border-radius: 18px;
  background: linear-gradient(165deg, #ffffff 0%, #f2f5e9 100%);
  border: 1px solid rgba(58,83,28,.14);
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.rg-lanyard-card-inner::before {   /* lime header band */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: var(--rg-lime);
}
.rg-lanyard-brand {
  font-family: "Nunito", sans-serif; font-weight: 900; font-size: 24px;
  letter-spacing: -1px; color: var(--rg-primary); margin-top: 10px;
}
.rg-lanyard-brand span { color: var(--rg-lime); }
.rg-lanyard-role {
  font-family: "Chakra Petch", sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--rg-deep);
  margin-top: 8px;
}
.rg-lanyard-badge {
  margin-top: 14px; padding: 5px 14px; border-radius: 100px;
  background: rgba(140,198,63,.16); color: var(--rg-primary);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.rg-lanyard-cta {
  margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .4px;
  color: #6b7860; text-transform: uppercase;
}

@media (max-width: 991px) {
  .rg-lanyard { height: 380px; }
  .rg-lanyard-copy h2 { font-size: 32px; }
  .rg-lanyard-section { padding: 120px 0 20px; }
}
@media (max-width: 575px) {
  .rg-lanyard { height: 340px; }
  .rg-lanyard-card { width: 172px; height: 220px; }
  .rg-lanyard-card-inner { padding: 20px 16px 16px; }
}
