/* ═══════════════════════════════════════════════
   ILLUME SECURITY — SERVICE PAGE STYLES
   Used by: services/*.html
═══════════════════════════════════════════════ */

/* ─── PAGE HERO ─── */
.page-hero {
  min-height: 52vh;
  padding: 140px 60px 90px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.blob-a    { width: 700px; height: 700px; background: radial-gradient(circle, rgba(45,202,112,.10) 0%, transparent 68%); top: -250px; right: -180px; }
.blob-b    { width: 420px; height: 420px; background: radial-gradient(circle, rgba(45,202,112,.06) 0%, transparent 70%); bottom: -100px; left: -60px; }

.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin-bottom: 28px; text-decoration: none; }
.breadcrumb a        { color: var(--text-3); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover  { color: var(--green-3); }
.breadcrumb-sep      { color: var(--text-3); opacity: .5; }

.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: var(--green-10);
  border: 1px solid var(--green-border);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
}
.page-hero h1         { margin-bottom: 22px; }
.page-hero-body       { font-size: 17px; font-weight: 300; color: var(--text-2); line-height: 1.75; max-width: 600px; margin-bottom: 36px; }
.page-hero-actions    { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── OVERVIEW CARDS ─── */
.overview         { padding: 70px 60px; background: var(--bg-2); }
.overview-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.ov-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s;
}
.ov-card:hover { transform: translateY(-4px); border-color: rgba(45,202,112,.32); }
.ov-icon       { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--green-10); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ov-card h3    { font-size: 17px; margin-bottom: 10px; letter-spacing: -.01em; }
.ov-card p     { font-size: 13.5px; font-weight: 300; color: var(--text-2); line-height: 1.7; }

/* ─── SCOPE SECTION ─── */
.scope      { padding: 80px 60px; background: var(--bg); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.scope-item {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-md);
  padding: 20px 22px;
}
.scope-tick       { width: 20px; height: 20px; border-radius: 50%; background: var(--green-10); border: 1px solid var(--green-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.scope-item-title { font-size: 14.5px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.scope-item-desc  { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.65; }

/* ─── METHODOLOGY ─── */
.methodology  { padding: 80px 60px; background: var(--bg-2); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border: 1px solid var(--green-border); border-radius: var(--r-xl); overflow: hidden; }
.method-steps--5 { grid-template-columns: repeat(5, 1fr); }
.method-steps--5 .method-step { padding: 32px 22px; }
.method-steps--5 .method-step p { font-size: 12.5px; }
.method-step  { padding: 36px 28px; border-right: 1px solid var(--green-border); position: relative; background: var(--surface); transition: background .3s; }
.method-step:last-child { border-right: none; }
.method-step:hover      { background: var(--surface-2); }
.method-num   { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.method-step h3 { font-size: 16px; margin-bottom: 10px; letter-spacing: -.01em; }
.method-step p  { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.65; }

/* ─── DELIVERABLES ─── */
.deliverables { padding: 80px 60px; background: var(--bg); }
.del-grid     { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.del-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  padding: 30px 28px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s;
}
.del-card:hover { transform: translateY(-3px); border-color: rgba(45,202,112,.32); }
.del-num        { font-size: 28px; font-weight: 800; color: rgba(45,202,112,.15); line-height: 1; flex-shrink: 0; letter-spacing: -.04em; }
.del-card h3    { font-size: 15px; margin-bottom: 8px; letter-spacing: -.01em; }
.del-card p     { font-size: 13px; font-weight: 300; color: var(--text-2); line-height: 1.65; }

/* ─── CTA (service pages) ─── */
#cta {
  padding: 90px 60px;
  background: var(--bg-2);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-blob   { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-blob-a { width: 600px; height: 600px; background: radial-gradient(circle, rgba(45,202,112,.08) 0%, transparent 68%); top: -200px; left: 50%; transform: translateX(-50%); }
.cta-inner  { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-inner p { font-size: 17px; font-weight: 300; color: var(--text-2); line-height: 1.7; margin-bottom: 40px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .page-hero,.overview,.scope,.methodology,.deliverables,#cta { padding-left: 32px; padding-right: 32px; }
  .overview-grid  { grid-template-columns: 1fr 1fr; }
  .scope-grid     { grid-template-columns: 1fr; }
  .method-steps   { grid-template-columns: 1fr 1fr; }
  .method-step:nth-child(2) { border-right: none; }
  .method-step:nth-child(1),
  .method-step:nth-child(2) { border-bottom: 1px solid var(--green-border); }
  .method-steps--5 { grid-template-columns: 1fr 1fr; }
  .method-steps--5 .method-step:nth-child(even) { border-right: none; }
  .method-steps--5 .method-step:nth-child(odd)  { border-right: 1px solid var(--green-border); }
  .method-steps--5 .method-step:not(:last-child) { border-bottom: 1px solid var(--green-border); }
  .del-grid       { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .page-hero      { padding-top: 110px; }
  .overview-grid  { grid-template-columns: 1fr; }
  .method-steps   { grid-template-columns: 1fr; }
  .method-step    { border-right: none; border-bottom: 1px solid var(--green-border); }
  .method-step:last-child { border-bottom: none; }
}

/* ─── FAQ ─── */
.faq {
  padding: 80px 60px;
  position: relative;
}
.faq-header { max-width: 600px; margin-bottom: 56px; }
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--green-border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }

.faq-q svg {
  flex-shrink: 0;
  transition: transform .25s ease;
  color: var(--green);
}
details[open] .faq-q svg { transform: rotate(45deg); }

.faq-a {
  padding: 0 28px 24px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
}
.faq-a a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(45,202,112,.3);
  transition: border-color .2s;
}
.faq-a a:hover { border-bottom-color: var(--green); }

@media (max-width: 768px) {
  .faq { padding: 60px 28px; }
  .faq-q { padding: 18px 20px; font-size: 15px; }
  .faq-a { padding: 0 20px 20px; font-size: 14px; }
}

/* ─── SERVICES INDEX ─── */
.services-section { padding: 80px 60px 100px; background: var(--bg); }
.services-section-header { max-width: 640px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.services-group { margin-top: 72px; }
.services-group:first-of-type { margin-top: 52px; }

/* Numbered chapter-style group headers */
.services-group--chapter { margin-top: 96px; }
.services-group--chapter:first-of-type { margin-top: 64px; }

.chapter-header {
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 380px);
  align-items: end;
  column-gap: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.chapter-header::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 84px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.chapter-num {
  font-family: var(--font-display, inherit);
  font-size: 120px;
  font-weight: 200;
  line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  user-select: none;
  margin-bottom: -6px;
}

.chapter-meta { min-width: 0; }

.chapter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.chapter-label::before {
  content: '';
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--green);
}

.chapter-title {
  font-family: var(--font-display, inherit);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -.025em;
  color: var(--white);
  line-height: 1.05;
  margin: 0;
}
.chapter-title em { color: var(--green); font-style: normal; }

.chapter-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  padding-bottom: 6px;
}

.services-group--chapter .services-grid { margin-top: 44px; }

@media (max-width: 1024px) {
  .chapter-header {
    grid-template-columns: auto 1fr;
    row-gap: 20px;
    column-gap: 32px;
  }
  .chapter-desc { grid-column: 1 / -1; max-width: 620px; }
  .chapter-num { font-size: 96px; }
  .chapter-title { font-size: 34px; }
}
@media (max-width: 640px) {
  .chapter-header {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .chapter-num { font-size: 72px; margin-bottom: 0; }
  .chapter-title { font-size: 28px; }
  .services-group--chapter { margin-top: 72px; }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), border-color .3s, box-shadow .3s;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--green-10), transparent 55%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45,202,112,.32);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--green-10);
  border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
  flex-shrink: 0;
}
.service-card:hover .service-card-icon {
  border-color: rgba(45,202,112,.4);
  box-shadow: 0 0 20px rgba(45,202,112,.15);
}
.service-card-body { position: relative; flex: 1; }
.service-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 22px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  position: relative;
  transition: gap .2s;
}
.service-card:hover .service-card-link { gap: 10px; }

@media (max-width: 1100px) {
  .services-section { padding-left: 32px; padding-right: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── FULL-WIDTH CTA ─── */
#cta {
  padding: 130px 60px;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-glow   { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(45,202,112,.10) 0%, transparent 68%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-deco-r { position: absolute; right: -100px; top: -80px; width: 380px; height: auto; opacity: .07; pointer-events: none; }
.cta-deco-l { position: absolute; left: -80px; bottom: -60px; width: 320px; height: auto; opacity: .04; pointer-events: none; }
.cta-inner  { position: relative; z-index: 2; }
.cta-inner h2 { margin-bottom: 18px; }
.cta-sub    { font-size: 17px; font-weight: 300; color: var(--text-2); max-width: 480px; margin: 0 auto 50px; line-height: 1.72; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  #cta { padding-left: 32px; padding-right: 32px; }
}

/* ─── WIDESCREEN ─── */
@media (min-width: 1521px) {
  .page-hero, .overview, .scope, .methodology, .deliverables, .faq, .services-section, #cta {
    padding-left:  calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
  }
}
