:root {
  --primary: #2D697F;
  --accent: #EC6931;
  --dark: #1B1B1B;
  --light: #F5F5F5;

  /* Modern neutrals to match the badge vibe without going "old-timey" */
  --sand: #F3E7D7;
  --paper: #FBFAF8;
  --border: rgba(27,27,27,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-sm: 0 6px 16px rgba(0,0,0,.08);
  --radius: 14px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  padding-top: 180px;
  background: var(--paper);
}

h1, h2, h3, .fw-bold {
  font-family: 'Poppins', sans-serif;
}

.text-primary { color: var(--primary) !important; }
.text-orange  { color: var(--accent) !important; }
.bg-primary   { background-color: var(--primary) !important; }

/* Buttons */
.btn-primary {
  background-color: var(--accent);
  border: none;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: var(--primary);
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Navbar polish (works with your include)
.navbar {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.navbar .dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

/* --------------------------
   HERO
--------------------------- */
.slo-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(1200px 500px at 10% 10%, rgba(45,105,127,.18), transparent 55%),
    radial-gradient(900px 450px at 90% 15%, rgba(236,105,49,.14), transparent 55%),
    linear-gradient(180deg, var(--paper), #ffffff);
  border-bottom: 1px solid var(--border);
}

.slo-hero__logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 6px;
}

.slo-kicker {
  font-size: .92rem;
  letter-spacing: .02em;
  color: rgba(27,27,27,.65);
  font-weight: 600;
}

.slo-hero__title {
  font-size: clamp(2.0rem, 3.2vw, 3.0rem);
  line-height: 1.05;
  margin: 6px 0 0;
}

.slo-hero__lead {
  max-width: 52ch;
  margin-top: 14px;
  font-size: 1.12rem;
  color: rgba(27,27,27,.80);
}

.slo-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(27,27,27,.72);
}
.slo-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.05);
}
.slo-meta i { color: var(--primary); }

/* Hero side card */
.slo-hero__card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.slo-hero__card-top {
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, rgba(45,105,127,.10), transparent);
  border-bottom: 1px solid var(--border);
}
.slo-hero__card-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.1rem;
}
.slo-hero__card-sub {
  color: rgba(27,27,27,.70);
  margin-top: 4px;
}
.slo-hero__card-body {
  padding: 16px 18px 18px;
}

.slo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  color: rgba(27,27,27,.85);
  font-weight: 600;
  transition: transform .12s ease, box-shadow .12s ease;
}
.slo-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  color: rgba(27,27,27,.90);
}

/* Chip active state (Directory filters) */
.slo-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.slo-chip.active i {
  color: #fff;
}

/* --------------------------
   TRUST STRIP
--------------------------- */
.slo-strip {
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.slo-strip__item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
}
.slo-strip__item i {
  font-size: 1.35rem;
  color: var(--accent);
  margin-top: 2px;
}
.slo-strip__title {
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.slo-strip__text {
  color: rgba(27,27,27,.70);
  margin-top: 2px;
}

/* --------------------------
   SECTIONS
--------------------------- */
.slo-section {
  padding: 64px 0;
}
.slo-section--tint {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.slo-section__head {
  text-align: center;
  margin-bottom: 28px;
}
.slo-section__title {
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.slo-section__sub {
  color: rgba(27,27,27,.72);
  max-width: 70ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --------------------------
   FEATURED CARDS
--------------------------- */
.slo-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform .14s ease, box-shadow .14s ease;
}
.slo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}
.slo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(27,27,27,.88);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}

.slo-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f0f2f4;
  overflow: hidden;
}
.slo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slo-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(27,27,27,.55);
  font-weight: 700;
}
.slo-card__placeholder i {
  font-size: 1.5rem;
  color: rgba(27,27,27,.35);
}
.slo-card__body {
  padding: 16px;
  text-align: left;
}
.slo-card__title {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.12rem;
  line-height: 1.15;
}
.slo-card__meta {
  color: rgba(27,27,27,.60);
  font-weight: 700;
  font-size: .92rem;
  margin-top: 6px;
}
.slo-card__text {
  color: rgba(27,27,27,.72);
  margin: 10px 0 14px;
  font-size: .98rem;
}

/* --------------------------
   MISSION GRID
--------------------------- */
.slo-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 991px) {
  .slo-mission-grid { grid-template-columns: 1fr; }
}
.slo-mission {
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(27,27,27,.12);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
}
.slo-mission i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 2px;
}
.slo-mission__title {
  font-weight: 900;
  color: rgba(27,27,27,.88);
  line-height: 1.1;
}
.slo-mission__text {
  color: rgba(27,27,27,.68);
  margin-top: 2px;
}

/* --------------------------
   FINAL CTA
--------------------------- */
.slo-cta {
  padding: 56px 0;
  background: linear-gradient(90deg, var(--primary), rgba(45,105,127,.85));
  color: #fff;
}
.slo-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
}
.slo-cta__title {
  font-weight: 900;
  font-size: 1.4rem;
}
.slo-cta__text {
  opacity: .92;
  margin-top: 2px;
}

/* Keep your existing image hover behavior (safe) */
.card-body img {
  transition: transform .2s ease;
  max-width: 90% !important;
  max-height: 250px !important;
}
.card-body img:hover {
  transform: scale(1.03);
}
.card-title {
  color: var(--primary);
  font-weight: 600;
}

/* Trust Seal Logo */
.slo-hero-seal {
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slo-hero-seal img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------
   Base Navbar
--------------------------------*/
.slo-navbar {
  transition: all .25s ease;
  padding: 20px 0;
  background: transparent;
}

.slo-navbar .nav-link {
  color: #fff;
  opacity: .9;
}

.slo-navbar .nav-link:hover {
  opacity: 1;
}


/* ========= SLO NAVBAR (FORCE OVERRIDE) ========= */

#sloNavbar.slo-navbar--top {
  background: var(--primary) !important;
  padding: 8px 0 !important;
}

#sloNavbar.slo-navbar--scrolled {
  background: var(--primary) !important;
  padding: 8px 0 !important;
}

/* Always hide the banner at the top */
#sloNavbar.slo-navbar--top .slo-logo-banner {
  display: none !important;
}

/* Always show full badge at the top */
#sloNavbar.slo-navbar--top .slo-logo-full {
  display: block !important;
}

/* On scroll: swap */
#sloNavbar.slo-navbar--scrolled .slo-logo-full {
  display: none !important;
}

#sloNavbar.slo-navbar--scrolled .slo-logo-banner {
  display: block !important;
}

/* Control sizes via CSS (remove width="150" from HTML) */
#sloNavbar .slo-logo-full {
  height: auto !important;
  width: 150px !important;
}

#sloNavbar .slo-logo-banner {
  height: auto !important;
  width: 150px !important;
}

/* Nav link color visibility */
#sloNavbar .nav-link {
  color: #fff !important;
  opacity: .9 !important;
}
#sloNavbar .nav-link:hover { opacity: 1 !important; }

/* Debug dot: green = top, orange = scrolled */
#sloNavbar .slo-nav-debug {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-left: 10px;
  background: #22c55e; /* green */
}
#sloNavbar.slo-navbar--scrolled .slo-nav-debug {
  background: #f97316; /* orange */
}

/* =========================
   Shop Local Otero Footer
========================= */
.slo-footer {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8f9fa 100%
  );
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #2D697F;
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #dee2e6,
    transparent
  );
}

.text-orange {
  color: #EC6931;
}

/* =========================
   Sticky Legal / Beta Notice
========================= */
.slo-site-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: rgba(27, 27, 27, 0.95);
  color: #f8f9fa;
  font-size: 0.9rem;
  padding: 0.75rem 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.slo-site-notice a {
  color: #EC6931;
  text-decoration: underline;
}

.slo-site-notice a:hover {
  color: #ffd1b3;
}

.slo-site-notice .notice-text {
  line-height: 1.4;
}

.slo-site-notice .btn-primary {
  background: #EC6931;
  border: none;
}

.slo-site-notice .btn-primary:hover {
  background: #ff7f3f;
}