/* ===================================================
   LIVE OAK SAFETY — Main Stylesheet
   =================================================== */

/* ----- RESET ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1A1A1A;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ----- VARIABLES ----- */
:root {
  --oak-900: #182B22;
  --oak-800: #1E3A2F;
  --oak-700: #2D5A3D;
  --oak-500: #4A7C59;
  --oak-300: #7AB08A;
  --oak-100: #CEEADA;
  --oak-50:  #EBF4EF;
  --cream:   #F7F4EF;
  --cream-2: #EDE8DF;
  --text:    #1A1A1A;
  --text-2:  #3D3D3D;
  --text-3:  #6B6B6B;
  --border:  #E0DCD5;
  --white:   #FFFFFF;
  --shadow-s: 0 1px 4px rgba(0,0,0,.07);
  --shadow-m: 0 4px 18px rgba(0,0,0,.10);
  --shadow-l: 0 8px 36px rgba(0,0,0,.12);
  --r:    8px;
  --r-lg: 16px;
  --mw:   1100px;
}

/* ----- TYPOGRAPHY ----- */
h1,h2,h3,h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
h4 { font-size: 1rem; }
p  { color: var(--text-2); }
a  { color: var(--oak-500); text-decoration: none; transition: color .2s; }
a:hover { color: var(--oak-800); }

/* ----- LAYOUT ----- */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 24px; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--oak-800); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.72); }

.section-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--oak-500);
  margin-bottom: 12px;
}
.section--dark .section-label { color: var(--oak-100); }

.section-header { max-width: 620px; margin-bottom: 56px; }
.section-header p { margin-top: 14px; line-height: 1.7; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ----- NAV ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-s); }
.nav-inner {
  max-width: var(--mw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 9px; }
.nav-logo-icon { width: 26px; height: 26px; color: var(--oak-700); flex-shrink: 0; }
.nav-logo-text { font-size: 1.05rem; font-weight: 800; color: var(--oak-800); letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--oak-800); }
.nav-cta {
  font-size: .85rem !important; font-weight: 600 !important;
  padding: 9px 20px; background: var(--oak-800); color: #fff !important;
  border-radius: var(--r); transition: background .2s !important;
}
.nav-cta:hover { background: var(--oak-700) !important; color: #fff !important; }

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

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: none; text-decoration: none; transition: all .2s;
  line-height: 1;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary { background: #fff; color: var(--oak-800); }
.btn-primary:hover { background: var(--cream); color: var(--oak-800); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; transform: translateY(-1px); }
.btn-green { background: var(--oak-800); color: #fff; }
.btn-green:hover { background: var(--oak-700); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(30,58,47,.28); }
.btn-green-outline { background: transparent; color: var(--oak-800); border: 1.5px solid var(--oak-800); }
.btn-green-outline:hover { background: var(--oak-800); color: #fff; transform: translateY(-1px); }
.btn-block { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }

/* ----- HERO (home) ----- */
.hero {
  background: var(--oak-800); padding: 130px 24px 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(74,124,89,.3) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--mw); margin: 0 auto; width: 100%; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--oak-100); margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--oak-300); }
.hero-desc { color: rgba(255,255,255,.74); font-size: 1rem; margin-bottom: 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right card */
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 30px;
}
.hero-card-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--oak-100); margin-bottom: 22px; display: block;
}
.hero-card-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.hero-card-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-card-list li:last-child { border-bottom: none; }
.hc-dot {
  width: 36px; height: 36px; background: var(--oak-700); border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hc-dot svg { width: 17px; height: 17px; stroke: var(--oak-100); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hc-title { font-size: .88rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.hc-desc  { font-size: .78rem; color: rgba(255,255,255,.52); line-height: 1.5; }
.hero-card-footer {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hero-card-footer-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.hero-card-footer-val { font-size: .88rem; color: rgba(255,255,255,.65); }

/* ----- PAGE HERO (inner pages) ----- */
.page-hero {
  background: var(--oak-800); padding: 136px 24px 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(74,124,89,.22) 0%, transparent 55%);
}
.page-hero-inner { max-width: var(--mw); margin: 0 auto; position: relative; }
.page-hero .eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--oak-100); margin-bottom: 16px;
}
.page-hero h1 { color: #fff; max-width: 660px; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 520px; line-height: 1.75; margin-bottom: 32px; }

/* ----- SERVICES GRID ----- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 36px 28px; transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.service-icon {
  width: 50px; height: 50px; background: var(--oak-50); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--oak-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .95rem; line-height: 1.68; }

/* ----- STEPS ----- */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  position: relative; counter-reset: step;
}
.steps-grid::before {
  content: ''; position: absolute; top: 27px;
  left: calc(12.5% + 8px); right: calc(12.5% + 8px);
  height: 2px; background: var(--oak-100); z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px; background: var(--oak-800); color: #fff;
  font-weight: 700; font-size: 1.05rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .9rem; line-height: 1.65; }

/* ----- WHY ITEMS ----- */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--r);
}
.why-item svg { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--oak-100); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.why-item h4 { color: #fff; margin-bottom: 4px; font-size: .95rem; }
.why-item p  { font-size: .875rem; color: rgba(255,255,255,.62); line-height: 1.6; }

/* ----- DUAL CTA CARDS ----- */
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-card { border-radius: var(--r-lg); padding: 48px 40px; display: flex; flex-direction: column; }
.cta-card--dark { background: var(--oak-800); }
.cta-card--light { background: #fff; border: 1.5px solid var(--border); }
.cta-card-label { font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.cta-card--dark .cta-card-label { color: var(--oak-100); }
.cta-card--light .cta-card-label { color: var(--oak-500); }
.cta-card--dark h3 { color: #fff; }
.cta-card--light h3 { color: var(--text); }
.cta-card h3 { font-size: 1.45rem; margin-bottom: 12px; }
.cta-card p { line-height: 1.7; margin-bottom: 28px; flex: 1; }
.cta-card--dark p { color: rgba(255,255,255,.72); }

/* ----- PROGRAMS LIST ----- */
.programs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.program-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px;
  font-size: .95rem; color: var(--text-2);
}
.program-item .prog-check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--oak-50); display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.program-item .prog-check svg { width: 11px; height: 11px; stroke: var(--oak-500); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ----- FEATURE COLUMNS ----- */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.feature-col h3 { margin-bottom: 10px; }
.feature-col p { line-height: 1.72; font-size: .97rem; }
.feature-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .93rem; color: var(--text-2); line-height: 1.55;
}
.feature-list li .fl-icon { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--oak-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.section--dark .feature-list li { color: rgba(255,255,255,.72); }
.section--dark .feature-list li .fl-icon { stroke: var(--oak-100); }

/* ----- INDUSTRIES ----- */
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 24px 20px; text-align: center; transition: box-shadow .25s, transform .25s;
}
.industry-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.industry-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.industry-card h4 { font-size: .9rem; font-weight: 600; }

/* ----- EXPECT BLOCK ----- */
.expect-block {
  max-width: 820px; margin: 0 auto;
  background: var(--oak-50); border: 1px solid var(--oak-100); border-radius: var(--r-lg); padding: 40px 48px;
}
.expect-block h3 { margin-bottom: 14px; color: var(--oak-800); }
.expect-block p { line-height: 1.78; font-size: .97rem; }
.expect-block p + p { margin-top: 14px; }

/* ----- CONTACT SECTION ----- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.contact-info-block h2 { margin-bottom: 14px; }
.contact-info-block .lead { font-size: .97rem; line-height: 1.75; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; font-size: .95rem; color: var(--text-2); }
.contact-detail svg { width: 17px; height: 17px; stroke: var(--oak-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-detail a { color: var(--text-2); }
.contact-detail a:hover { color: var(--oak-800); }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-s);
}
.form-wrapper { position: relative; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .84rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .95rem; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s; outline: none; appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--oak-500); box-shadow: 0 0 0 3px rgba(74,124,89,.12);
}
textarea { resize: vertical; min-height: 112px; }
select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.honeypot { display: none !important; }

.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.visible { display: block; }
.form-success .success-icon { width: 56px; height: 56px; stroke: var(--oak-500); fill: none; stroke-width: 1.5; margin: 0 auto 18px; display: block; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { font-size: .95rem; line-height: 1.7; }

/* ----- PARTNERSHIP BENEFITS ----- */
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.benefit-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 24px; transition: box-shadow .25s, transform .25s;
}
.benefit-card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.benefit-icon { width: 44px; height: 44px; background: var(--oak-50); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit-icon svg { width: 22px; height: 22px; stroke: var(--oak-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.benefit-card p { font-size: .9rem; line-height: 1.65; }

/* ----- CRITERIA LIST ----- */
.criteria-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.criteria-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 18px 22px;
}
.criteria-list li svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--oak-100); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.criteria-list li div h4 { color: #fff; margin-bottom: 4px; font-size: .95rem; }
.criteria-list li div p  { color: rgba(255,255,255,.65); font-size: .875rem; line-height: 1.6; }

/* ----- FOOTER ----- */
.footer { background: #111; color: rgba(255,255,255,.65); padding: 60px 24px 36px; }
.footer-inner { max-width: var(--mw); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 32px;
}
.footer-brand-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-icon { width: 26px; height: 26px; color: rgba(255,255,255,.55); flex-shrink: 0; }
.footer-brand-name { font-size: 1.05rem; font-weight: 800; color: #fff; }
.footer-brand p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-row { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.footer-contact-row svg { width: 15px; height: 15px; stroke: rgba(255,255,255,.4); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,.55); }
.footer-contact-row a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-disclaimer { font-size: .76rem; color: rgba(255,255,255,.3); line-height: 1.65; max-width: 680px; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); white-space: nowrap; flex-shrink: 0; }

/* ----- FADE ANIMATIONS ----- */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .services-grid     { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .why-grid          { grid-template-columns: 1fr; }
  .dual-cta          { grid-template-columns: 1fr; }
  .industries-grid   { grid-template-columns: repeat(2,1fr); }
  .benefits-grid     { grid-template-columns: 1fr; }
  .programs-grid     { grid-template-columns: 1fr; }
  .feature-cols      { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap      { grid-template-columns: 1fr; gap: 40px; }
  .footer-top        { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom     { flex-direction: column; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 20px 24px; gap: 20px; box-shadow: var(--shadow-m);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  /* Hero mobile */
  .hero { padding: 96px 20px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(1.65rem, 8vw, 2.4rem); margin-bottom: 16px; }
  .hero h1 br { display: none; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-desc { font-size: .92rem; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  /* General */
  .cta-card  { padding: 32px 24px; }
  .form-row  { grid-template-columns: 1fr; }
  .expect-block { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .steps-grid        { grid-template-columns: 1fr; }
  .industries-grid   { grid-template-columns: repeat(2,1fr); }
  .form-card         { padding: 24px 18px; }
  .section           { padding: 64px 16px; }
}
