/**
 * Service Page Styles — Shared Core for Service Templates
 * Includes Navy/Gold and Teal theme variations
 */

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,68,128,.45) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* TEAL THEME MODIFIER (Startup Consulting) */
.theme-teal .page-hero::before { background: var(--teal); }
.theme-teal .page-hero::after { background: radial-gradient(circle, rgba(13,122,110,.25) 0%, transparent 70%); }
.theme-teal .hero-kicker { color: var(--teal); }
.theme-teal .hero-kicker::before { background: var(--teal); }

.hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 28px;
}
.hero-h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note { font-size: 13px; color: rgba(255,255,255,0.4); }

/* SIDEBAR BOXES (Quick Facts, Sprint) */
.hero-sidebar-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 36px 32px;
}
.theme-teal .hero-sidebar-box {
  background: linear-gradient(135deg, rgba(13,122,110,.3) 0%, rgba(13,122,110,.1) 100%);
  border: 1px solid rgba(13,122,110,0.4);
}

.box-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.theme-teal .box-title { color: var(--teal); }

.box-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.box-item:last-child { border-bottom: none; padding-bottom: 0; }
.box-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.box-text { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.box-text strong { color: var(--white); display: block; font-size: 15px; margin-bottom: 2px; }

/* =========================================================
   PROOF BAR (MARQUEE)
   ========================================================= */
.proof-bar {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
}
.theme-teal .proof-bar { background: var(--teal); }

.pb-inner {
  display: inline-flex;
  animation: sf-marquee 32s linear infinite;
  white-space: nowrap;
}
.pb-item {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 36px;
}
.theme-teal .pb-item { color: var(--white); opacity: 0.85; }
.pb-sep { color: var(--navy); opacity: .35; }
.theme-teal .pb-sep { color: var(--white); opacity: 0.3; }

@keyframes sf-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   FIT / WHO IT'S FOR
   ========================================================= */
.fit-section { background: var(--off); padding: 100px 0; }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.fit-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 32px;
  border-left: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.fit-card:hover {
  border-left-color: var(--gold);
  box-shadow: 0 8px 32px rgba(11,31,58,.08);
}
.theme-teal .fit-card:hover { border-left-color: var(--teal); }

.fit-num { font-family: var(--fd); font-size: 38px; font-weight: 700; color: var(--gold-lt); margin-bottom: 8px; }
.theme-teal .fit-num { color: var(--teal-lt); }

.fit-card h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.fit-card p { font-size: 15px; color: var(--g2); line-height: 1.65; }

/* =========================================================
   PACKAGES
   ========================================================= */
.packages-section { background: var(--white); padding: 100px 0; }
.theme-teal .packages-section {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(13,122,110,.2) 0%, transparent 60%);
}

.packages-header { text-align: center; margin-bottom: 64px; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }

.pkg-card {
  border-radius: 20px;
  padding: 48px 36px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow .25s, border-color .25s, background .25s;
  background: var(--white);
}
.theme-teal .pkg-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}

.pkg-card:hover { box-shadow: 0 16px 48px rgba(11,31,58,.12); }
.pkg-card.featured { border-color: var(--gold); }
.theme-teal .pkg-card.featured { background: rgba(200,146,42,0.07); }
.theme-navy-bg .pkg-card.featured { background: var(--navy); }

.pkg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}

.pkg-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}
.pkg-card.featured .pkg-name { color: var(--gold); }

.pkg-price { font-family: var(--fd); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.theme-teal .pkg-price,
.theme-navy-bg .pkg-card.featured .pkg-price { color: var(--white); }
.pkg-price span { font-size: 16px; font-weight: 400; color: var(--g2); }
.theme-teal .pkg-price span,
.theme-navy-bg .pkg-card.featured .pkg-price span { color: rgba(255,255,255,0.4); }

.pkg-term { font-size: 14px; color: var(--g2); margin-bottom: 28px; }
.theme-teal .pkg-term,
.theme-navy-bg .pkg-card.featured .pkg-term { color: rgba(255,255,255,0.5); }

.pkg-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.theme-teal .pkg-divider,
.theme-navy-bg .pkg-card.featured .pkg-divider { background: rgba(255,255,255,0.12); }

.pkg-features { list-style: none; margin-bottom: 36px; }
.pkg-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--g2); margin-bottom: 12px; line-height: 1.5; }
.theme-teal .pkg-features li,
.theme-navy-bg .pkg-card.featured .pkg-features li { color: rgba(255,255,255,0.7); }

.pkg-features li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pkg-card.featured .pkg-features li::before { color: var(--gold); }

/* =========================================================
   ENTRY POINT / DIAGNOSTIC
   ========================================================= */
.entry-section { background: var(--teal-lt); padding: 72px 0; }
.entry-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.entry-inner h2 { font-family: var(--fd); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.entry-inner p { font-size: 17px; color: var(--teal); line-height: 1.7; margin-bottom: 8px; }
.entry-deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 600px; margin: 32px auto; }
.ed-item {
  background: white;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--teal);
  font-weight: 500;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ed-item::before { content: '→'; font-weight: 700; }

/* =========================================================
   COMPARISON TABLE / PRICING TABLE
   ========================================================= */
.comparison-section, .pricing-section { background: var(--off); padding: 100px 0; }
.comparison-section.white-bg, .pricing-section.white-bg { background: var(--white); }

.table-wrap { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(11,31,58,0.08); }
.comp-table th, .price-table th { padding: 20px 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.comp-table th:first-child { background: var(--off); color: var(--g2); }
.comp-table th:nth-child(2) { background: #F5F0EB; color: #7A5C28; width: 28%; }
.comp-table th:nth-child(3) { background: var(--navy); color: var(--gold); width: 28%; }

.price-table th { background: var(--navy); color: var(--white); }

.comp-table td, .price-table td { padding: 18px 24px; font-size: 15px; border-top: 1px solid var(--border); background: var(--white); }
.comp-table tr:nth-child(even) td:first-child, .comp-table tr:nth-child(even) td:nth-child(2) { background: #FAFAF8; }
.comp-table td:nth-child(3) { background: rgba(11,31,58,0.03); color: var(--teal); font-weight: 500; }
.price-table tr:nth-child(even) td { background: var(--off); }
.price-table td:last-child { color: var(--teal); font-weight: 600; }

/* =========================================================
   MODULES GRID / DELIVERABLES GRID
   ========================================================= */
.grid-section { background: var(--white); padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-card {
  background: var(--off);
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
  border-top: 3px solid transparent;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(11,31,58,0.1); transform: translateY(-3px); }
.feature-card.teal-top { border-top-color: var(--teal); }
.feature-card.gold-top { border-top-color: var(--gold); }

.feature-num { font-family: var(--fd); font-size: 38px; font-weight: 700; color: var(--gold-lt); margin-bottom: 8px; line-height: 1; }
.feature-card h3 { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--g2); line-height: 1.65; }
.feature-tag { display: inline-block; background: var(--teal-lt); color: var(--teal); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px; margin-top: 14px; }

/* =========================================================
   OBJECTIONS & PROOF CARDS
   ========================================================= */
.obj-section { background: var(--white); padding: 100px 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }

.obj-card { background: var(--off); border-radius: 14px; padding: 36px 32px; }
.obj-q { font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.4; }
.obj-q::before { content: '"'; color: var(--gold); font-size: 28px; vertical-align: middle; margin-right: 4px; }
.obj-a { font-size: 15px; color: var(--g2); line-height: 1.7; }

.proof-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 44px 36px;
  border-left: 4px solid var(--gold);
}
.white-bg .proof-card { background: var(--off); border: none; border-left: 4px solid var(--gold); }

.proof-tag { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; display: block; }
.proof-result { font-family: var(--fd); font-size: 26px; font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 16px; }
.white-bg .proof-result { color: var(--navy); font-size: 24px; }

.proof-story { font-size: 15px; color: rgba(255,255,255,.58); line-height: 1.7; margin-bottom: 20px; }
.white-bg .proof-story { color: var(--g2); }

.proof-client { font-size: 12px; color: rgba(255,255,255,.35); font-style: italic; }
.white-bg .proof-client { color: var(--g2); opacity: 0.5; }

/* =========================================================
   QUOTE STRIP
   ========================================================= */
.quote-strip { background: var(--gold-lt); padding: 72px 0; border-top: 1px solid #E8D9BB; border-bottom: 1px solid #E8D9BB; }
.quote-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.big-quote { font-family: var(--fd); font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; color: var(--navy); line-height: 1.5; font-style: italic; margin-bottom: 24px; border: none; }
.quote-attr { font-size: 14px; color: #7A5C28; font-weight: 600; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .quick-facts, .sprint-box { display: none; }
  .fit-grid, .packages-grid, .features-grid, .card-grid, .result-grid { grid-template-columns: 1fr; }
  .comp-table { display: block; overflow-x: auto; }
}
