/* page.css - professional styles for detail pages */

/* Page Hero */
.page-hero{
  padding:9rem 0 4.5rem;
  background:
    radial-gradient(ellipse at 20% 40%,rgba(232,93,4,.06),transparent 50%),
    radial-gradient(ellipse at 80% 80%,rgba(232,93,4,.03),transparent 50%),
    var(--dark);
  border-bottom:1px solid var(--border);
}
.page-hero .container{max-width:1140px}
.page-hero .section-label{margin-bottom:.8rem}
.page-hero h1{font-size:2.4rem;color:var(--white);font-weight:800;margin-bottom:1.2rem;letter-spacing:-0.5px;line-height:1.2}
.page-hero h1 em{font-style:normal;color:var(--accent)}
.page-hero .lead{font-size:1.02rem;line-height:1.85;color:var(--text-light);margin-bottom:1.8rem}
.page-hero-desc{font-size:1.05rem;line-height:1.85;color:var(--text-light);max-width:650px;margin:0 auto 2rem}
.page-hero .btn{margin-top:0}
.page-hero .hero-btns{justify-content:center}

/* Page Sections */
.page-stats{
  padding:2.5rem 0;
  background:var(--card-bg);
  border-bottom:1px solid var(--border);
}
.page-stats-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;
  text-align:center;
}
.page-stat{display:flex;flex-direction:column;gap:.3rem}
.page-stat-num{font-size:1.8rem;font-weight:800;color:var(--accent);letter-spacing:-0.5px}
.page-stat-label{font-size:.75rem;font-weight:600;color:var(--text);text-transform:uppercase;letter-spacing:.5px}

.page-section{padding:5.5rem 0}
.page-section.alt-bg{background:var(--card-bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.page-section h2{font-size:1.8rem;color:var(--white);font-weight:800;margin-bottom:1.5rem;letter-spacing:-0.3px;line-height:1.25}
.page-section p{font-size:.93rem;line-height:1.85;margin-bottom:1.1rem;color:var(--text-light)}
.page-section p strong{color:var(--white);font-weight:600}
.page-section .lead{font-size:1.08rem;color:var(--text-light)}

/* Content Block */
.content-block{max-width:100%}
.content-block h2{margin-bottom:1.2rem}
.content-block p+p{margin-top:.2rem}

/* Who Grid */
.who-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.who-card{
  background:var(--dark);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:2rem;
  transition:all .25s;
  position:relative;
  overflow:hidden;
}
.who-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--accent),transparent);
  opacity:0;transition:opacity .25s;
}
.who-card:hover{border-color:var(--accent-border);transform:translateY(-3px)}
.who-card:hover::before{opacity:1}
.who-card h3{color:var(--white);font-size:1rem;margin-bottom:.7rem;font-weight:700}
.who-card p{font-size:.85rem;line-height:1.75;margin-bottom:0;color:var(--text)}

/* Requirement Detail Blocks */
.req-detail{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:12px;
  margin-bottom:2rem;
  overflow:hidden;
  transition:border-color .25s;
}
.req-detail:hover{border-color:var(--accent-border)}
.req-detail-header{
  padding:1.5rem 2rem;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  background:rgba(232,93,4,.02);
}
.req-badge{
  font-size:.68rem;font-weight:700;color:var(--accent);
  background:var(--accent-dim);border:1px solid var(--accent-border);
  padding:.3rem .8rem;border-radius:4px;
  text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;
}
.req-detail-header h3{color:var(--white);font-size:1.1rem;font-weight:700;margin:0}
.req-detail-body{padding:2rem}
.req-detail-body p{font-size:.9rem;line-height:1.8;margin-bottom:1rem}
.req-detail-body p em{color:var(--accent);font-style:normal;font-weight:600}
.req-detail-body h4{
  color:var(--white);font-size:.9rem;font-weight:700;
  margin:1.5rem 0 .8rem;
  padding-top:1rem;
  border-top:1px solid var(--border);
}
.req-detail-body ul{list-style:none;margin-bottom:1rem;display:grid;gap:.4rem}
.req-detail-body ul li{
  padding:.5rem 0 .5rem 1.6rem;
  font-size:.88rem;color:var(--text-light);
  position:relative;line-height:1.6;
}
.req-detail-body ul li::before{
  content:'';position:absolute;left:0;top:.85rem;
  width:7px;height:7px;border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 6px rgba(232,93,4,.3);
}
.req-note{
  background:rgba(232,93,4,.05);
  border-left:3px solid var(--accent);
  border-radius:0 6px 6px 0;
  padding:1.2rem 1.5rem;
  font-size:.86rem;line-height:1.75;
  margin-top:1.5rem;
}
.req-note strong{color:var(--accent)}

/* Approach Timeline */
.approach-timeline{max-width:720px;margin-top:1rem}
.timeline-item{
  display:grid;grid-template-columns:3rem 1fr;
  gap:1.2rem;margin-bottom:2rem;align-items:start;
}
.timeline-num{
  width:2.5rem;height:2.5rem;border-radius:50%;
  background:var(--accent);color:var(--dark);
  display:flex;align-items:center;justify-content:center;
  font-size:.82rem;font-weight:800;flex-shrink:0;
  box-shadow:0 4px 12px rgba(232,93,4,.25);
  margin-top:1.5rem;
}
.timeline-content{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.5rem 1.8rem;
  transition:border-color .2s;
}
.timeline-content:hover{border-color:var(--accent-border)}
.timeline-content h4{color:var(--white);font-size:1rem;margin-bottom:.4rem;font-weight:700}
.timeline-content p{font-size:.86rem;line-height:1.75;margin-bottom:0;color:var(--text)}

/* Deliverables */
.deliverables-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.deliverable{
  background:var(--card-bg);border:1px solid var(--border);
  border-radius:var(--radius);padding:2rem;
  transition:all .25s;position:relative;overflow:hidden;
}
.deliverable::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:2px;
  background:var(--accent);opacity:0;transition:opacity .25s;
}
.deliverable:hover{border-color:var(--accent-border);transform:translateY(-2px)}
.deliverable:hover::after{opacity:1}
.deliverable h4{color:var(--white);font-size:.94rem;margin-bottom:.5rem;font-weight:700}
.deliverable p{font-size:.84rem;line-height:1.7;margin-bottom:0;color:var(--text)}

/* Domains */
.domains-grid{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1.5rem}
.domain-card{
  background:var(--dark);border:1px solid var(--border);
  border-radius:var(--radius);padding:1.8rem 2rem;
  display:flex;align-items:flex-start;gap:1.5rem;
  transition:border-color .2s;
}
.domain-card:hover{border-color:var(--accent-border)}
.domain-num{
  font-size:.68rem;font-weight:700;color:var(--accent);
  text-transform:uppercase;letter-spacing:.3px;
  padding:.35rem .7rem;background:var(--accent-dim);
  border:1px solid var(--accent-border);border-radius:4px;
  text-align:center;white-space:nowrap;flex-shrink:0;
  min-width:5.5rem;
}
.domain-content{flex:1}
.domain-card h4{color:var(--white);font-size:.95rem;margin-bottom:.4rem;font-weight:700}
.domain-card p{font-size:.85rem;line-height:1.7;margin-bottom:0;color:var(--text)}
.domain-card p strong{color:var(--accent);font-weight:600}

/* Page CTA */
.page-cta{
  text-align:center;padding:4rem 2rem;
  background:linear-gradient(135deg,rgba(232,93,4,.06),rgba(232,93,4,.02));
  border:1px solid var(--accent-border);border-radius:12px;
  position:relative;overflow:hidden;
}
.page-cta::before{
  content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:200px;height:2px;background:var(--accent);
}
.page-cta h2{font-size:1.7rem;margin-bottom:.8rem;color:var(--white)}
.page-cta p{max-width:540px;margin:0 auto 1.8rem;font-size:.95rem;color:var(--text-light);line-height:1.75}

/* Responsive */
@media(max-width:1024px){
  .who-grid,.deliverables-grid{grid-template-columns:repeat(2,1fr)}
  .page-stats-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
}
@media(max-width:768px){
  .page-hero{padding:7rem 0 3.5rem}
  .page-hero h1{font-size:1.9rem}
  .page-hero-desc{font-size:.95rem}
  .who-grid,.deliverables-grid{grid-template-columns:1fr}
  .timeline-item{grid-template-columns:2.5rem 1fr;gap:1rem}
  .req-detail-body{padding:1.5rem}
  .req-detail-header{padding:1.2rem 1.5rem}
  .page-stats-grid{grid-template-columns:repeat(2,1fr);gap:1rem}
  .page-stat-num{font-size:1.4rem}
  .domain-card{flex-direction:column;gap:.8rem}
  .domain-num{min-width:auto}
}

/* === OLD SERVICE PAGE STYLES === */
.intro{padding:5rem 0}
.intro h2{font-size:1.7rem;color:var(--white);font-weight:800;margin-bottom:1.5rem;line-height:1.25}
.intro h2 em{font-style:normal;color:var(--accent)}
.intro p{font-size:.95rem;line-height:1.85;margin-bottom:1.2rem;color:var(--text-light)}
.intro p:last-child{margin-bottom:0}

.value-props{padding:4rem 0;background:var(--card-bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.value-props .section-header{margin-bottom:2.5rem}
.value-props h2 em{font-style:normal;color:var(--accent)}
.vp-item{display:flex;gap:1.2rem;align-items:flex-start;padding:1.5rem;background:var(--dark);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1rem;transition:border-color .2s}
.vp-item:hover{border-color:var(--accent-border)}
.vp-icon{font-size:1.6rem;flex-shrink:0;width:2.5rem;text-align:center}
.vp-item h3{color:var(--white);font-size:.95rem;font-weight:700;margin-bottom:.4rem}
.vp-item p{font-size:.85rem;line-height:1.7;color:var(--text);margin-bottom:0}

/* Page hero em tag */
.page-hero h1 em{font-style:normal;color:var(--accent)}
.page-hero .lead{font-size:1.05rem;line-height:1.8;color:var(--text-light);max-width:650px;margin-bottom:1.5rem}
.page-hero .btn{margin-top:.5rem}

/* page-cta when used directly in section */
section.page-cta{padding:4rem 0}
section.page-cta .cta-box{text-align:center;padding:3.5rem 2rem;border-radius:var(--radius);background:linear-gradient(135deg,rgba(232,93,4,.06),rgba(232,93,4,.02));border:1px solid var(--accent-border)}
section.page-cta .cta-box h2{color:var(--white);font-size:1.6rem;margin-bottom:.7rem;font-weight:800}
section.page-cta .cta-box p{max-width:500px;margin:0 auto 1.5rem;font-size:.92rem;color:var(--text-light)}

/* Sub-grid cards (cloud-security etc) */
.sub-grid{padding:4rem 0;background:var(--card-bg);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.sub-grid .section-header{margin-bottom:2rem}
.sub-grid h2{font-size:1.5rem;color:var(--white);font-weight:800;margin-bottom:.5rem}
.sub-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.2rem}
.sub-card{background:var(--dark);border:1px solid var(--border);border-radius:var(--radius);padding:1.8rem;transition:border-color .2s}
.sub-card:hover{border-color:var(--accent-border)}
.sub-card h3{color:var(--white);font-size:.95rem;font-weight:700;margin-bottom:.5rem}
.sub-card p{font-size:.85rem;line-height:1.7;color:var(--text);margin-bottom:0}

/* Consultancy page components */
.why-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1rem}
.why-card-item{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;transition:all .25s;position:relative;overflow:hidden}
.why-card-item::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent);opacity:0;transition:opacity .25s}
.why-card-item:hover{border-color:var(--accent-border);transform:translateY(-2px)}
.why-card-item:hover::before{opacity:1}
.why-card-item h4{color:var(--white);font-size:.98rem;font-weight:700;margin-bottom:.6rem}
.why-card-item p{font-size:.85rem;line-height:1.75;color:var(--text);margin-bottom:0}

.offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.offer-card{background:var(--dark);border:1px solid var(--border);border-radius:var(--radius);padding:2rem;transition:all .25s}
.offer-card:hover{border-color:var(--accent-border);transform:translateY(-2px)}
.offer-card h4{color:var(--accent);font-size:.92rem;font-weight:700;margin-bottom:.6rem}
.offer-card p{font-size:.85rem;line-height:1.75;color:var(--text);margin-bottom:0}

.benefits-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.benefit-item{display:flex;gap:1.2rem;align-items:flex-start;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.8rem;transition:border-color .25s}
.benefit-item:hover{border-color:var(--accent-border)}
.benefit-icon{color:var(--accent);font-size:1.2rem;font-weight:700;flex-shrink:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background:var(--accent-dim);border-radius:50%;border:1px solid var(--accent-border)}
.benefit-item h4{color:var(--white);font-size:.94rem;font-weight:700;margin-bottom:.4rem}
.benefit-item p{font-size:.85rem;line-height:1.75;color:var(--text);margin-bottom:0}

@media(max-width:1024px){
  .why-cards,.offer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .why-cards,.offer-grid,.benefits-grid{grid-template-columns:1fr}
}
