/* ==========================================================
   DOUGSDOGHOUSE — Master Stylesheet
   Theme: Charcoal #303030 · Lime #63C810 · Mint #BAE598 · White
   Mobile-first · Optimized for Core Web Vitals
   ========================================================== */

:root {
  --charcoal: #303030;
  --charcoal-2: #404040;
  --charcoal-3: #1d1d1d;
  --lime: #63C810;
  --lime-dark: #4fa30b;
  --lime-deep: #3d8108;
  --mint: #BAE598;
  --mint-soft: #E6F5DA;
  --mint-pale: #F4FAEE;
  --white: #ffffff;
  --cream: #FBFCF8;
  --gray-50: #F7F8F5;
  --gray-100: #EDEFE8;
  --gray-200: #DCDFD3;
  --gray-300: #BDC3B0;
  --gray-500: #6F7866;
  --gray-700: #3D423A;
  --amber: #F5A623;
  --rose: #E85A71;
  --blue: #2D7DD2;

  --shadow-xs: 0 1px 2px rgba(48,48,48,.06);
  --shadow-sm: 0 2px 6px rgba(48,48,48,.08);
  --shadow-md: 0 6px 18px rgba(48,48,48,.10);
  --shadow-lg: 0 16px 38px rgba(48,48,48,.14);
  --shadow-lime: 0 8px 22px rgba(99,200,16,.28);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif;

  --max-w: 1240px;
  --transition: .25s cubic-bezier(.4,.2,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--lime-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lime-deep); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--charcoal);
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 880px; margin: 0 auto; padding: 0 1.25rem; }

/* === HEADER === */
.topbar {
  background: var(--charcoal);
  color: #cfd2c5;
  font-size: .82rem;
  padding: .5rem 0;
  border-bottom: 1px solid #2a2a2a;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: .35rem; }
.topbar-right { display: flex; gap: .8rem; align-items: center; }
.topbar-right a { color: #cfd2c5; }
.topbar-right a:hover { color: var(--lime); }

.site-header {
  background: var(--charcoal);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0,0,0,.16);
}
.header-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .85rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(99,200,16,.4);
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--white);
  letter-spacing: -.02em;
}
.brand-name span { color: var(--lime); }
.brand-tag {
  font-size: .7rem;
  color: #a8aea0;
  letter-spacing: .04em;
  font-weight: 500;
  margin-top: 2px;
}

.search-wrap {
  position: relative;
  max-width: 480px;
  width: 100%;
  justify-self: center;
}
.search-input {
  width: 100%;
  padding: .72rem 1.1rem .72rem 2.6rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: .92rem;
  outline: none;
  transition: all var(--transition);
}
.search-input::placeholder { color: #a8aea0; }
.search-input:focus {
  background: rgba(255,255,255,.14);
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(99,200,16,.18);
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #a8aea0;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.btn-login {
  padding: .55rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
  transition: all var(--transition);
}
.btn-login:hover { background: rgba(255,255,255,.08); color: var(--lime); border-color: var(--lime); }
.btn-signup {
  padding: .58rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--charcoal);
  font-weight: 700;
  font-size: .85rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-signup:hover {
  background: var(--mint);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lime);
}
.hamburger {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === MAIN NAV BAR === */
.main-nav {
  background: var(--lime);
  border-bottom: 3px solid var(--lime-dark);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-list {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .9rem 1rem;
  color: var(--charcoal);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  position: relative;
  transition: all var(--transition);
}
.nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-list > li > a:hover {
  color: var(--charcoal-3);
}
.nav-list > li > a:hover::after { width: 28px; }
.nav-arr { font-size: .65rem; opacity: .8; }

.nav-list .has-drop:hover .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-drop a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .85rem;
  color: var(--charcoal);
  font-weight: 500;
  font-size: .9rem;
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0;
}
.nav-drop a:hover { background: var(--mint-soft); color: var(--lime-deep); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  background: var(--charcoal);
  color: var(--lime);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  transition: all var(--transition);
}
.nav-cta:hover { background: var(--charcoal-3); color: var(--mint); transform: translateY(-1px); }

/* MOBILE NAV */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 86%;
  max-width: 340px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,.18);
  transition: right .3s cubic-bezier(.4,.2,.2,1);
}
.mobile-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(48,48,48,.5);
  z-index: 1500;
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1rem;
}
.drawer-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--gray-50);
  font-size: 1.2rem;
}
.drawer-list { list-style: none; }
.drawer-list a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem .5rem;
  color: var(--charcoal);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
}
.drawer-list a:hover { color: var(--lime-deep); }
.drawer-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: .85rem;
  background: var(--lime);
  color: var(--charcoal);
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .92rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--lime);
  color: var(--charcoal);
  box-shadow: var(--shadow-lime);
}
.btn-primary:hover {
  background: var(--lime-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99,200,16,.4);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal-3); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--lime); }
.btn-white {
  background: var(--white);
  color: var(--charcoal);
}
.btn-white:hover { background: var(--mint-soft); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }

/* === SECTION DEFAULTS === */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--mint-soft);
  color: var(--lime-deep);
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: .85rem;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--lime-dark), var(--lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* === FOOTER === */
.site-footer {
  background: var(--charcoal-3);
  color: #cfd2c5;
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.foot-brand .brand-name { color: var(--white); font-size: 1.5rem; }
.foot-desc {
  margin: 1rem 0 1.25rem;
  font-size: .9rem;
  color: #a8aea0;
  line-height: 1.7;
  max-width: 320px;
}
.foot-socials {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}
.foot-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #cfd2c5;
  display: grid;
  place-items: center;
  font-size: .9rem;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,.08);
}
.foot-socials a:hover {
  background: var(--lime);
  color: var(--charcoal);
  transform: translateY(-3px);
  border-color: var(--lime);
}
.foot-col h4 {
  color: var(--white);
  font-size: .92rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  position: relative;
  padding-bottom: .55rem;
}
.foot-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: .55rem; }
.foot-col a {
  color: #a8aea0;
  font-size: .89rem;
  transition: all var(--transition);
}
.foot-col a:hover { color: var(--lime); padding-left: 4px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.4rem 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: #8a8f81;
}
.foot-bottom a { color: #8a8f81; margin: 0 .6rem; }
.foot-bottom a:hover { color: var(--lime); }
.foot-disclosure {
  background: rgba(0,0,0,.18);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: .78rem;
  color: #8a8f81;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pawFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.fade-in { animation: fadeUp .8s ease both; }
.fade-in.d1 { animation-delay: .1s; }
.fade-in.d2 { animation-delay: .2s; }
.fade-in.d3 { animation-delay: .3s; }
.fade-in.d4 { animation-delay: .4s; }

/* === PAW BACKGROUND DECORATION === */
.paw-deco {
  position: absolute;
  pointer-events: none;
  opacity: .08;
  animation: pawFloat 6s ease-in-out infinite;
}

/* === SCROLL TOP === */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 48px; height: 48px;
  background: var(--lime);
  color: var(--charcoal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-lime);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 200;
}
.scroll-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top:hover { transform: translateY(-3px); background: var(--lime-dark); color: var(--white); }

/* === BREADCRUMBS === */
.breadcrumb {
  background: var(--mint-pale);
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: .5rem;
  list-style: none;
  font-size: .85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.breadcrumb-list a { color: var(--gray-500); }
.breadcrumb-list a:hover { color: var(--lime-deep); }
.breadcrumb-sep { color: var(--gray-300); }
.breadcrumb-list li[aria-current] { color: var(--charcoal); font-weight: 600; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-col:last-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav-list { display: none; }
  .search-wrap { display: none; }
  .hamburger { display: flex; }
  .header-main {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .nav-inner { justify-content: space-between; }
  .nav-cta { display: none; }
  .header-actions .btn-login { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 3.25rem 0; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .foot-col:last-child { grid-column: span 1; }
  .topbar { display: none; }
  .foot-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .foot-desc { max-width: 100%; }
  .brand-tag { display: none; }
  .header-main { padding: .7rem 1rem; }
  .scroll-top { bottom: 18px; right: 16px; width: 42px; height: 42px; }
}

/* ============================================================
   ADDITIONAL CLASSES for sub-pages, tools, blog
   ============================================================ */

/* TOPBAR */
.topbar {
  background: var(--charcoal, #303030);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.topbar-left, .topbar-right {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.topbar a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.topbar a:hover { color: var(--lime, #63C810); }

/* HEADER (sticky) */
.site-header {
  background: var(--charcoal, #303030);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 0.95rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display, 'Plus Jakarta Sans');
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--lime, #63C810);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-search {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill, 999px);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.7rem 1.2rem;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
}
.header-search input::placeholder { color: rgba(255,255,255,0.55); }
.header-search button {
  background: var(--lime, #63C810);
  color: #fff;
  border: none;
  padding: 0 1.2rem;
  cursor: pointer;
  font-size: 1rem;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.btn-ghost, .btn-lime {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill, 999px);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-lime {
  background: var(--lime, #63C810);
  color: #fff;
}
.btn-lime:hover { background: var(--lime-dark, #4fa30b); transform: translateY(-1px); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* MAIN NAV */
.main-nav {
  background: var(--lime, #63C810);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.nav-inner { padding: 0; }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 0.95rem 1.2rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: background 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: rgba(0,0,0,0.12);
}
.nav-list .nav-cta {
  background: var(--charcoal, #303030);
  color: #fff !important;
  border-radius: var(--radius-pill, 999px);
  margin: 0 0.6rem;
  padding: 0.5rem 1.1rem !important;
}
.nav-list .nav-cta:hover { background: #1c1c1c !important; }

/* DROPDOWN */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  z-index: 50;
}
.has-drop:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 0.7rem 1.2rem;
  color: var(--charcoal, #303030);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.dropdown li a:hover {
  background: var(--mint-pale, #F4FAEE);
  color: var(--lime-deep, #3d8108);
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 88vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transition: right 0.35s ease;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--gray-50, #F7F8F5);
}
.drawer-title {
  font-family: var(--font-display, 'Plus Jakarta Sans');
  font-weight: 700;
  font-size: 1.1rem;
}
.drawer-close {
  background: var(--gray-50, #F7F8F5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}
.drawer-list {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}
.drawer-list a {
  display: block;
  padding: 0.85rem 1.4rem;
  color: var(--charcoal, #303030);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-50, #F7F8F5);
}
.drawer-list a:hover {
  background: var(--mint-pale, #F4FAEE);
  color: var(--lime-deep, #3d8108);
}

/* BREADCRUMBS */
.breadcrumbs {
  background: var(--gray-50, #F7F8F5);
  padding: 0.85rem 0;
  font-size: 0.88rem;
  color: var(--charcoal-soft, #6c6c6c);
}
.breadcrumbs a {
  color: var(--lime-dark, #4fa30b);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; opacity: 0.6; }
.breadcrumbs span[aria-current] { color: var(--charcoal, #303030); font-weight: 500; opacity: 1; margin: 0; }

/* FOOTER */
.site-footer {
  background: var(--charcoal, #303030);
  color: rgba(255,255,255,0.78);
  margin-top: 4rem;
  padding-top: 4rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.foot-col h4 {
  color: #fff;
  font-family: var(--font-display, 'Plus Jakarta Sans');
  font-size: 1rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-col li { margin-bottom: 0.55rem; }
.foot-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--lime, #63C810); }
.foot-brand .brand { margin-bottom: 1rem; }
.foot-about {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.2rem;
  color: rgba(255,255,255,0.65);
}
.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff !important;
  transition: all 0.25s ease;
}
.socials a:hover {
  background: var(--lime, #63C810);
  transform: translateY(-2px);
}
.foot-news p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.9rem;
}
.foot-form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill, 999px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}
.foot-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
}
.foot-form input::placeholder { color: rgba(255,255,255,0.45); }
.foot-form button {
  background: var(--lime, #63C810);
  color: #fff;
  border: none;
  padding: 0 1.1rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.foot-disclosure {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.25rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--lime, #63C810);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(99,200,16,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 90;
}
.scroll-top.show,
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--lime-dark, #4fa30b); }

/* UTILITIES */
.hide-sm { }
.hide-md { }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .header-inner { gap: 1rem; }
  .header-search { max-width: 320px; }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .foot-news { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 900px) {
  .nav-list { display: none; }
  .header-search { display: none; }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .header-cta .btn-ghost,
  .header-cta .btn-lime { display: none; }
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .hide-md { display: none !important; }
}
@media (max-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .foot-news, .foot-brand { grid-column: 1 / -1; }
  .topbar-inner { font-size: 0.78rem; gap: 0.6rem; }
  .topbar-left, .topbar-right { gap: 0.8rem; }
}
@media (max-width: 540px) {
  .hide-sm { display: none !important; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .brand-name { font-size: 1.15rem; }
  .scroll-top { bottom: 18px; right: 16px; width: 42px; height: 42px; font-size: 1.1rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .topbar { font-size: 0.78rem; }
  .topbar-inner { justify-content: center; }
}

/* Add only missing variable that pages.css uses */
:root {
  --charcoal-soft: #6c6c6c;
}

/* Container fallback (in case original missing) */
.container {
  width: 100%;
  max-width: var(--max-w, 1240px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============ MOBILE DRAWER SECTION HEADINGS ============ */
.drawer-list .drawer-section {
  font-family: var(--font-display, 'Plus Jakarta Sans');
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime-deep, #3d8108);
  padding: 1rem 1.4rem 0.4rem;
  background: var(--mint-pale, #F4FAEE);
  border-bottom: none;
  pointer-events: none;
}
.drawer-list .drawer-section:first-child {
  margin-top: 0;
  padding-top: 0.8rem;
}

/* ============ FAQ (site-wide) ============ */
.faq-section {
  padding: 4rem 0;
  background: var(--cream);
}
.faq-list {
  max-width: 880px;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open {
  border-color: var(--lime);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  font-family: inherit;
}
.faq-q:hover { background: var(--mint-pale); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--lime-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--lime);
  color: var(--white);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-size: .95rem;
}

/* ============ MOBILE DRAWER ACCORDION ============ */
.drawer-list .drawer-group {
  border-bottom: 1px solid var(--gray-50);
}
.drawer-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.95rem 1.4rem;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.drawer-group-toggle:hover {
  background: var(--mint-pale);
  color: var(--lime-deep);
}
.drawer-arrow {
  font-size: 0.8rem;
  color: var(--lime);
  transition: transform 0.25s ease;
}
.drawer-group.open .drawer-arrow {
  transform: rotate(180deg);
}
.drawer-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--cream);
}
.drawer-group.open .drawer-submenu {
  max-height: 500px;
}
.drawer-submenu li a {
  display: block;
  padding: 0.7rem 1.4rem 0.7rem 2.8rem;
  color: var(--gray-700, #3D423A);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: none;
  transition: all 0.15s;
}
.drawer-submenu li a:hover {
  background: var(--mint-soft);
  color: var(--lime-deep);
}
.drawer-cta-link {
  display: block;
  margin: 1rem 1.4rem !important;
  padding: 0.85rem 1.2rem !important;
  background: var(--lime) !important;
  color: #fff !important;
  text-align: center;
  border-radius: var(--radius-pill, 999px);
  font-weight: 700 !important;
  border-bottom: none !important;
}
.drawer-cta-link:hover {
  background: var(--lime-dark) !important;
  color: #fff !important;
}
.brand-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--charcoal);
}
.brand-mark-mini {
  width: 32px;
  height: 32px;
  background: var(--lime);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
