/*
Theme Name: OIS Partners
Theme URI: https://opintelstrategy.com
Author: OIS Partners
Author URI: https://opintelstrategy.com
Description: Clean, block-based theme for OIS Partners. All pages use Custom HTML blocks — edit directly in Gutenberg without touching PHP.
Version: 1.0.0
License: Private
Text Domain: ois-partners
*/

/* ============================================================
   OIS PARTNERS — MASTER STYLESHEET
   Edit this file to change global styles site-wide.
   All color variables are at the top for easy rebranding.
   ============================================================ */

:root {
  /* Brand Colors — pulled from OIS logo */
  --navy:        #1B3A6B;
  --navy-dark:   #122850;
  --navy-light:  #2A5298;
  --teal:        #1A7F75;
  --teal-light:  #22A89A;
  --teal-pale:   #E6F7F5;
  --white:       #FFFFFF;
  --off-white:   #F8FAFB;
  --light-gray:  #F0F4F7;
  --mid-gray:    #D1DCE5;
  --text-dark:   #1A2332;
  --text-mid:    #3D5068;
  --text-muted:  #6B7F94;
  --accent:      #1A7F75;

  /* Typography */
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* Spacing */
  --section-pad: 80px 0;
  --container:   1140px;
  --radius:      8px;
  --radius-lg:   16px;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--text-mid); font-size: 1.0625rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ─────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad); }
.section--gray { background: var(--off-white); }
.section--light { background: var(--light-gray); }
.section--navy { background: var(--navy); }
.section--teal { background: var(--teal); }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-teal { color: var(--teal) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ── Grid System ──────────────────────────────────────── */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }

/* ── Cards ────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(27,58,107,0.10);
  transform: translateY(-2px);
}

.card--teal-top { border-top: 4px solid var(--teal); }
.card--navy-top { border-top: 4px solid var(--navy); }
.card--featured {
  border: 2px solid var(--teal);
  box-shadow: 0 4px 24px rgba(26,127,117,0.12);
}

/* ── Section Labels ───────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.eyebrow--white { color: rgba(255,255,255,0.75); }

/* ── Divider ──────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider--center { margin: 16px auto 24px; }

/* ── Nav ──────────────────────────────────────────────── */
.ois-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  box-shadow: 0 1px 8px rgba(27,58,107,0.06);
}

.ois-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.ois-nav__logo img { height: 44px; width: auto; }

.ois-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.ois-nav__links a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.ois-nav__links a:hover { color: var(--navy); background: var(--light-gray); }
.ois-nav__links a.active { color: var(--navy); }

.ois-nav__cta { margin-left: 16px; }

.ois-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.ois-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Footer ───────────────────────────────────────────── */
.ois-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}

.ois-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.ois-footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  margin-top: 16px;
  line-height: 1.7;
}

.ois-footer__logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }

.ois-footer__col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ois-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ois-footer__col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.ois-footer__col ul a:hover { color: var(--teal-light); }

.ois-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

/* ── Hero Blocks ──────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,127,117,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow { color: var(--teal-light); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__lead { color: rgba(255,255,255,0.82); font-size: 1.1875rem; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero--inner {
  padding: 60px 0 48px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

/* ── Stat Strip ───────────────────────────────────────── */
.stat-strip {
  background: var(--teal-pale);
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  padding: 40px 0;
}

.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Pricing Cards ────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border: 2px solid var(--teal);
  box-shadow: 0 8px 32px rgba(26,127,117,0.12);
  position: relative;
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pricing-card__divider {
  height: 1px;
  background: var(--mid-gray);
  margin: 20px 0;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-mid);
  align-items: flex-start;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__features li.no::before { content: '—'; color: var(--mid-gray); }

/* ── Pillar / Step Cards ──────────────────────────────── */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.pillar-card__num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pillar-card__title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

/* ── Timeline / Stages ────────────────────────────────── */
.stage-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--light-gray);
}
.stage-row:last-child { border-bottom: none; }

.stage-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial__stars { color: #F5A623; font-size: 1.125rem; margin-bottom: 16px; }
.testimonial__text { font-size: 1rem; color: var(--text-mid); font-style: italic; margin-bottom: 20px; }
.testimonial__author { font-weight: 600; color: var(--navy); font-size: 0.9375rem; }
.testimonial__role { font-size: 0.875rem; color: var(--text-muted); }

/* ── CTA Banner ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Blog / Articles ──────────────────────────────────── */
.post-card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: 0 8px 32px rgba(27,58,107,0.10); transform: translateY(-2px); }
.post-card__img { width: 100%; height: 200px; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__category { font-size: 0.75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.post-card__title { font-size: 1.125rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.post-card__excerpt { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 16px; }
.post-card__meta { font-size: 0.8125rem; color: var(--text-muted); }

/* ── WordPress Core Overrides ─────────────────────────── */
.wp-block-html { margin: 0; padding: 0; }
.entry-content > * { margin-bottom: 0 !important; }
.wp-site-blocks { padding: 0 !important; }
.is-layout-flow > * { margin-block: 0 !important; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .ois-footer__grid { grid-template-columns: 1fr 1fr; }
  .ois-nav__links { display: none; }
  .ois-nav__hamburger { display: flex; }
  .ois-nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--mid-gray);
    padding: 16px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px 0; }
  .ois-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 72px 0 56px; }
  .hero__actions { flex-direction: column; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
}
