/* ============================================================
   Trailhead Security — Brand Stylesheet
   Brand guidelines by Brittney Holum / Orange New Media
   ============================================================ */

/* --- National Park Font (self-hosted) --- */
@font-face {
  font-family: 'National Park';
  src: url('NationalPark-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Park';
  src: url('NationalPark-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Lato (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

:root {
  --forrest: #213A1B;
  --moss: #56903A;
  --sunset: #C56C39;
  --white: #FFFFFF;
  --offwhite: #F7F5F2;
  --light-gray: #E8E6E3;
  --mid-gray: #6B6B6B;
  --dark: #1A1A1A;

  --font-heading: 'National Park', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forrest);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
p + p { margin-top: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ---- NAV ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--forrest);
}
.nav-logo-img { height: 48px; width: auto; }
.footer-logo-img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--forrest); text-decoration: none; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--sunset); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--forrest); margin: 5px 0; transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; font-family: var(--font-heading); font-weight: 600;
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.85rem 2rem; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-decoration: none; text-align: center;
}
.btn-primary { background: var(--sunset); color: var(--white); border-color: var(--sunset); }
.btn-primary:hover { background: #B05E30; border-color: #B05E30; color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--forrest); }
.btn-outline { background: transparent; color: var(--forrest); border-color: var(--forrest); }
.btn-outline:hover { background: var(--forrest); color: var(--white); }
.btn-nav { padding: 0.6rem 1.5rem; font-size: 0.85rem; }

/* ---- HERO ---- */
.hero {
  background: var(--forrest); color: var(--white); padding: 6rem 1.5rem 5rem; text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 650px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-trust { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-top: 2rem; letter-spacing: 0.02em; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- SECTIONS ---- */
section { padding: 5rem 1.5rem; }
.section-dark { background: var(--forrest); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-alt { background: var(--offwhite); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header p { color: var(--mid-gray); font-size: 1.05rem; margin-top: 0.75rem; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ---- GRIDS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ---- CARDS ---- */
.card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 6px; padding: 2rem; transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.card h3 { color: var(--forrest); }
.card p { color: var(--mid-gray); font-size: 0.95rem; }
.card-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; color: var(--moss); }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 700; font-size: 0.9rem; color: var(--sunset); }
.card-link:hover { color: var(--forrest); }

/* ---- DIFFERENTIATORS ---- */
.diff-item { text-align: center; padding: 1.5rem; }
.diff-number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--sunset); line-height: 1; margin-bottom: 0.5rem;
}
.diff-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.diff-item p { font-size: 0.9rem; color: var(--mid-gray); }

/* ---- FOUNDER / SPLIT ---- */
.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.founder-photo {
  width: 100%; border-radius: 6px; overflow: hidden;
}
.founder-photo img { width: 100%; display: block; }
.founder-bio blockquote {
  border-left: 3px solid var(--sunset); padding-left: 1.25rem;
  margin: 1.5rem 0; font-style: italic; color: var(--mid-gray);
}
.credentials-list { list-style: none; margin-top: 1.5rem; }
.credentials-list li {
  padding: 0.35rem 0 0.35rem 1.25rem; position: relative; font-size: 0.95rem;
}
.credentials-list li::before {
  content: ''; position: absolute; left: 0; top: 0.75rem;
  width: 8px; height: 8px; background: var(--moss); border-radius: 50%;
}

/* ---- PRICING SIGNAL ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.pricing-item { padding: 2rem 1rem; background: var(--offwhite); border-radius: 6px; }
.pricing-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.pricing-amount { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--forrest); }
.pricing-qualifier { font-size: 0.8rem; color: var(--mid-gray); margin-top: 0.25rem; }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--forrest); color: var(--white); text-align: center; padding: 4rem 1.5rem; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 550px; margin: 0 auto 2rem; }

/* ---- SERVICE DETAILS ---- */
.service-detail { border: 1px solid var(--light-gray); border-radius: 6px; padding: 2rem; margin-bottom: 1.5rem; }
.service-detail h3 { margin-bottom: 0.5rem; }
.service-detail p { color: var(--mid-gray); font-size: 0.95rem; }
.service-tiers { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.tier { background: var(--offwhite); border-radius: 4px; padding: 1rem 1.25rem; flex: 1; min-width: 200px; }
.tier-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: var(--forrest); }
.tier-detail { font-size: 0.85rem; color: var(--mid-gray); margin-top: 0.25rem; }
.tier-price {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--sunset); margin-top: 0.25rem;
}
.tier-price-custom { color: var(--mid-gray); font-weight: 400; font-size: 0.85rem; }

.pci-includes {
  list-style: none; margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}
.pci-includes li {
  padding: 0.5rem 0 0.5rem 1.5rem; position: relative; font-size: 0.9rem;
  color: var(--mid-gray); line-height: 1.6;
}
.pci-includes li::before {
  content: '\2713'; position: absolute; left: 0; color: var(--moss); font-weight: 700;
}

.annual-note {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem;
  background: var(--white); border: 1px solid var(--light-gray); border-radius: 6px;
  font-size: 0.9rem; color: var(--mid-gray); text-align: center;
}
.annual-note a { font-weight: 700; }

/* ---- INCLUDES LIST ---- */
.includes-list { list-style: none; max-width: 700px; margin: 0 auto; }
.includes-list li {
  padding: 0.75rem 0 0.75rem 2rem; position: relative;
  border-bottom: 1px solid var(--light-gray); font-size: 0.95rem;
}
.includes-list li:last-child { border-bottom: none; }
.includes-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--moss); font-weight: 700; }

/* ---- PRINCIPLES ---- */
.principle { padding: 1.5rem 0; border-bottom: 1px solid var(--light-gray); }
.principle:last-child { border-bottom: none; }
.principle h3 { color: var(--forrest); font-size: 1.1rem; }
.principle p { color: var(--mid-gray); font-size: 0.95rem; margin-top: 0.25rem; }

/* ---- PROCESS STEPS ---- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.step { text-align: center; padding: 2rem 1.5rem; }
.step-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; color: var(--sunset); line-height: 1; margin-bottom: 0.75rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--mid-gray); }

/* ---- CONTACT INFO ---- */
.contact-info { background: var(--offwhite); border-radius: 6px; padding: 2.5rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-line { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; font-size: 1rem; }
.contact-line svg { width: 20px; height: 20px; color: var(--moss); flex-shrink: 0; }

/* ---- CASE STUDIES ---- */
.stats-bar { text-align: center; }
.stat-item { padding: 1rem; }
.stat-number {
  font-family: var(--font-heading); font-size: 2.25rem; font-weight: 700;
  color: var(--moss); line-height: 1; margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mid-gray); font-weight: 700;
}

.case-study { max-width: 800px; margin: 0 auto; }
.case-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem; border-radius: 3px;
  background: var(--offwhite); color: var(--mid-gray); border: 1px solid var(--light-gray);
}
.tag-dark { background: var(--forrest); color: var(--white); border-color: var(--forrest); }
.tag-green { background: var(--moss); color: var(--white); border-color: var(--moss); }
.tag-red { background: var(--sunset); color: var(--white); border-color: var(--sunset); }

.case-study h2 { margin-bottom: 1rem; }
.case-intro { font-size: 1.05rem; color: var(--mid-gray); line-height: 1.7; margin-bottom: 2rem; }
.case-study h3 {
  margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid-gray);
}

.case-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid var(--light-gray); border-radius: 6px; overflow: hidden;
  margin-bottom: 0.5rem;
}
.meta-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
}
.meta-item:nth-child(2n) { border-right: none; }
.meta-item:nth-last-child(-n+2) { border-bottom: none; }
.meta-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--mid-gray); margin-bottom: 0.35rem;
}
.meta-value { font-size: 0.95rem; color: var(--forrest); font-weight: 400; }

.findings-list { display: flex; flex-direction: column; gap: 0.75rem; }
.finding {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 6px; padding: 1.25rem 1.5rem;
}
.section-alt .finding { background: var(--white); }
.finding p { font-size: 0.95rem; color: var(--mid-gray); line-height: 1.7; }
.finding strong { color: var(--dark); }

.platform-impact {
  margin-top: 2.5rem; padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--moss); border-radius: 0 6px 6px 0;
  background: var(--offwhite);
}
.section-alt .platform-impact { background: var(--white); }
.impact-label {
  font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--moss); margin-bottom: 0.75rem;
}
.platform-impact p { font-size: 0.95rem; color: var(--mid-gray); line-height: 1.7; }
.platform-impact strong { color: var(--dark); }

/* ---- FOOTER ---- */
.site-footer { background: var(--forrest); color: rgba(255,255,255,0.7); padding: 3.5rem 1.5rem 2rem; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 320px; line-height: 1.6; }
.footer-col h4 {
  color: var(--white); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1rem; font-family: var(--font-heading);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width); margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem;
}
.footer-tagline {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--white);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    padding: 1.5rem; border-bottom: 1px solid var(--light-gray);
    gap: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .nav-toggle { display: block; }
  .hero { padding: 4rem 1.5rem 3.5rem; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .process-steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .service-tiers { flex-direction: column; }
  .case-meta { grid-template-columns: 1fr; }
  .meta-item { border-right: none; }
  .meta-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--light-gray); }
  .meta-item:last-child { border-bottom: none; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
