/* ====================================================================
   Rodeo Graphics — base.css
   Shared on every page: variables, utilities, buttons, nav, page-hero,
   proof-bar, final-cta, footer, responsive base rules.
   ==================================================================== */

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

:root {
  /* Brand */
  --red:        #d21e3f;
  --red-dark:   #a81632;
  --red-light:  #e8365a;
  --red-pale:   #fce8ec;
  --red-pale2:  #f8d0d8;

  /* Neutrals */
  --white:      #ffffff;
  --off-white:  #f9fafb;
  --gray-50:    #f3f4f6;
  --gray-100:   #e5e7eb;
  --gray-200:   #d1d5db;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --gray-800:   #1f2937;
  --gray-900:   #111827;

  /* Accent yellow */
  --yellow:     #f59e0b;
  --yellow-pale:#fef3c7;

  /* Layout */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: inherit; }

/* ─── UTILITY ─── */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gray-900); margin-bottom: 0.85rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--gray-600);
  line-height: 1.75; max-width: 560px;
}
.w { max-width: 1200px; margin: 0 auto; }
.pad { padding: 5rem 5%; }
.section-divider { height: 1px; background: var(--gray-100); }
.screen-reader-text { position: absolute !important; left: -9999px; }

/* ─── BUTTONS ─── */
.btn-red {
  background: var(--red); color: #fff;
  border: none; padding: 0.65rem 1.4rem;
  border-radius: var(--r-md); font-size: 0.925rem;
  font-weight: 700; cursor: pointer; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif; display: inline-block;
  transition: background 0.15s, transform 0.1s;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-red-lg {
  background: var(--red); color: #fff;
  border: none; padding: 0.9rem 2rem;
  border-radius: var(--r-md); font-size: 1.05rem;
  font-weight: 700; cursor: pointer; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif; display: inline-block;
  transition: background 0.15s, transform 0.1s;
}
.btn-red-lg:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--gray-200); color: var(--gray-800);
  background: var(--white); padding: 0.65rem 1.4rem;
  border-radius: var(--r-md); font-size: 0.925rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif; display: inline-block;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); background: var(--red-pale); }
.btn-outline-lg {
  border: 2px solid var(--gray-200); color: var(--gray-800);
  background: var(--white); padding: 0.9rem 2rem;
  border-radius: var(--r-md); font-size: 1.05rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif; display: inline-block;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline-lg:hover { border-color: var(--red); color: var(--red); background: var(--red-pale); }
.btn-white {
  background: #fff; color: var(--red);
  border: none; padding: 0.8rem 1.75rem;
  border-radius: var(--r-md); font-size: 0.975rem; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: transform 0.1s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-white-outline {
  border: 2px solid rgba(255,255,255,0.4); color: #fff;
  background: transparent; padding: 0.9rem 2rem;
  border-radius: var(--r-md); font-size: 1.05rem;
  font-weight: 600; cursor: pointer; text-decoration: none;
  display: inline-block; transition: border-color 0.15s, background 0.15s;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
button.btn-red, button.btn-outline { font-family: inherit; }

/* ─── NAV ─── */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 5%;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  height: 68px;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem; font-weight: 900;
  color: var(--gray-900); text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--red); }
.nav-logo img { display: block; max-height: 44px; width: auto; }
.nav-links {
  display: flex; gap: 0.1rem; flex: 1; list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: 0.9rem; font-weight: 500;
  padding: 0.4rem 0.85rem; border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--gray-50); color: var(--gray-900); }
.nav-links li.current-menu-item > a,
.nav-links a.active {
  font-weight: 700; color: var(--red); background: var(--red-pale);
}
.nav-actions { display: flex; gap: 0.75rem; align-items: center; margin-left: auto; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: none;
  font-size: 1.5rem; color: var(--gray-900); cursor: pointer; padding: 0.4rem;
}

/* ─── PROOF BAR ─── */
.proof-bar {
  background: var(--gray-900);
  padding: 0.9rem 5%;
}
.proof-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.proof-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400); white-space: nowrap;
}
.proof-items { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.proof-item { display: flex; align-items: center; gap: 8px; }
.proof-platform { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); }
.proof-stars { color: var(--yellow); font-size: 0.8rem; letter-spacing: 1px; }
.proof-score { font-size: 1rem; font-weight: 800; color: #fff; }
.proof-count { font-size: 0.72rem; color: var(--gray-400); }
.proof-sep { color: #374151; }
.proof-bar.proof-bar-dark { background: var(--gray-800); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero { background: var(--gray-900); padding: 4.5rem 5%; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -80px; right: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210,30,63,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.78rem; color: var(--gray-400); }
.page-hero-breadcrumb a { color: var(--gray-400); text-decoration: none; }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb span { color: #fff; font-weight: 600; }
.page-hero-breadcrumb .sep { color: #374151; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(210,30,63,0.2); color: #f87096;
  border: 1px solid rgba(210,30,63,0.35);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: var(--r-pill); margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
  color: #fff; margin-bottom: 0.85rem;
}
.page-hero h1 em { color: var(--red); font-style: normal; }
.page-hero p { font-size: 1.05rem; color: var(--gray-400); line-height: 1.75; max-width: 580px; }

/* ─── FINAL CTA ─── */
.final-cta { background: var(--red); padding: 5rem 5%; text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,0.06); pointer-events: none;
}
.final-cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta h2 {
  font-family: 'Sora', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 1rem;
}
.final-cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }
.final-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer.site-footer { background: #0b0f17; padding: 3.5rem 5% 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand h4 { font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 900; color: #fff; margin-bottom: 0.6rem; }
.footer-brand h4 span { color: var(--red); }
.footer-brand p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.7; margin-bottom: 1rem; }
.f-socials { display: flex; gap: 0.6rem; }
.f-social {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #1f2937; background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400); font-size: 0.7rem; font-weight: 700;
  text-decoration: none; transition: border-color 0.15s, color 0.15s;
}
.f-social:hover { border-color: var(--red); color: var(--red); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a { font-size: 0.875rem; color: #9ca3af; text-decoration: none; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #1f2937; padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.f-copy { font-size: 0.8rem; color: #374151; }
.f-copy a { color: var(--gray-400); text-decoration: none; }
.f-copy a:hover { color: var(--red); }

/* ─── GENERIC ENTRY CONTENT (page.php, the_content() output) ─── */
.entry-content { font-size: 1rem; color: var(--gray-600); line-height: 1.85; }
.entry-content h2 { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; color: var(--gray-900); margin: 2rem 0 0.85rem; }
.entry-content h3 { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--gray-900); margin: 1.5rem 0 0.65rem; }
.entry-content p { margin-bottom: 1.1rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1.1rem 1.25rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img { max-width: 100%; border-radius: var(--r-lg); margin: 1rem 0; }

/* ─── CORE SEARCH FORM (get_search_form(), used on 404.php / search.php) ─── */
.search-form { display: flex; gap: 0.5rem; }
.search-form .search-field { flex: 1; border: 1.5px solid var(--gray-200); border-radius: var(--r-md); padding: 0.65rem 0.9rem; font-size: 0.95rem; font-family: inherit; }
.search-form .search-field:focus { outline: none; border-color: var(--red); }
.search-form .search-submit { border: none; background: var(--red); color: #fff; border-radius: var(--r-md); padding: 0 1.1rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.search-form .search-submit:hover { background: var(--red-dark); }

/* ─── RESPONSIVE BASE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .final-cta-btns { flex-direction: column; align-items: stretch; }
}

/* ─── Mobile nav drawer (progressive enhancement, JS adds .nav-open) ─── */
@media (max-width: 960px) {
  body.nav-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-100);
    padding: 0.5rem 5% 1rem;
  }
  body.nav-open .nav-links a { padding: 0.7rem 0.5rem; }
}
