/*
 * service-shell.css
 * Shared layout for all standard service detail pages (VPN, MFA, UTMail, etc.)
 * Reference in pages.json via shared_css: ["styles/service-shell.css"]
 * Page-specific styles go in each page's own page.css
 */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111111;
  background: #ffffff;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: 820px;
}

/* ── HERO ── */
.page-hero {
  background: #1b2a3b;
  color: #ffffff;
  padding: 4.5rem 0;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-inner.wide {
  grid-template-columns: 1fr;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f5a461;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.page-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.74);
  max-width: 640px;
}

.page-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── BUTTONS ── */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: #bf5700;
  color: #ffffff;
}
.btn-primary:hover { background: #d4600a; color: #ffffff; }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  background: transparent;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #ffffff; }

/* ── SUB-NAV BAR ── */
.sub-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2ddd8;
  position: sticky;
  top: 63px;
  z-index: 100;
}
.sub-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar { display: none; }
.sub-nav-link {
  padding: 0.85rem 1.1rem;
  font-size: 0.835rem;
  font-weight: 500;
  color: #696969;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.sub-nav-link:hover { color: #1a1a1a; }
.sub-nav-link.active { color: #b35000; border-bottom-color: #b35000; font-weight: 600; }

@media (max-width: 780px) {
  .sub-nav-inner { padding: 0 16px; }
}

/* ── HERO CARD ── */
.page-hero-card,
.feature-card,
.stat-card {
  border-radius: 16px;
}

.page-hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem;
}

.hero-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-card-item:first-of-type {
  border-top: 0;
}

/* ── QUICK LINKS ── */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-link-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e6e1d9;
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
}

.quick-link-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b35000;
  margin-bottom: 0.35rem;
}

/* ── SECTIONS ── */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #faf9f7;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b35000;
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.section-body {
  font-size: 1rem;
  color: #3a3530;
  line-height: 1.75;
}

/* ── FEATURE GRID ── */
.feature-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card,
.stat-card {
  background: #ffffff;
  border: 1px solid #e6e1d9;
  padding: 1.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.feature-card p,
.stat-label {
  color: #6b6560;
  line-height: 1.65;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #b35000;
  margin-bottom: 0.4rem;
}

/* ── DETAIL LIST ── */
.detail-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #3a3530;
}

.detail-list li {
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

/* ── TIMELINE ── */
.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e6e1d9;
  border-radius: 12px;
}

/* ── SUPPORT PANEL ── */
.support-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 1.5rem;
  border: 1px solid #e6e1d9;
  border-radius: 16px;
  background: #faf9f7;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-btn {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid #d1cbc4;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  background: #ffffff;
  text-align: center;
}

.support-btn:hover {
  background: #faf9f7;
}

.support-dark {
  color: #111111;
  border-color: #d1cbc4;
}

.support-phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3a3530;
  text-align: center;
  padding: 0.5rem 0;
}

/* ── PHOTO BAND ── */
/* Spartan full-width campus image strip. Drop between any two sections:
   <div class="photo-band" style="background-image:url('media/hero_XX.jpeg')"></div> */
.photo-band {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── SERVICE LIST ── */
.service-list { list-style: none; display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; }
.service-item { border-bottom: 1px solid #f0ece8; }
.service-item:last-child { border-bottom: none; }
.service-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0;
  color: var(--orange, #b35000); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  transition: color 0.15s;
}
.service-link:hover { color: var(--orange-light, #d4600a); }
.service-link:hover .service-arrow { opacity: 1; transform: translateX(2px); }

/* ── SERVICE BADGES ── */
.service-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem; border-radius: 3px; flex-shrink: 0;
}
.badge-detail  { background: rgba(191,87,0,0.1);   color: var(--orange, #b35000); }
.badge-library { background: rgba(14,80,118,0.12);  color: #0d5078; }
.badge-ext     { background: rgba(0,0,0,0.05);      color: var(--text-muted, #696969); }
.badge-tacc    { background: rgba(52,98,161,0.12);  color: #1a4f8a; }
.badge-laits   { background: rgba(0,100,60,0.1);    color: #005c35; }
.badge-iso     { background: rgba(60,30,90,0.1);    color: #3c1e5a; }
.service-arrow { font-size: 0.7rem; color: var(--text-muted, #696969); opacity: 0.4; transition: all 0.15s; flex-shrink: 0; margin-left: 0.25rem; }

/* ── POLICY / CATALOG CARDS ── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 720px) { .policy-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--border, #e2ddd8);
  border-radius: 10px;
  padding: 1.5rem;
  transition: box-shadow 0.15s;
}
.cat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.cat-title {
  font-size: 0.95rem; font-weight: 800; color: var(--text-primary, #1a1a1a);
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border, #e2ddd8);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero-inner,
  .feature-grid,
  .stats-grid,
  .quick-links,
  .support-panel,
  .timeline-item {
    grid-template-columns: 1fr;
  }
}
