/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--secondary);
  padding: 160px 0 120px;
  min-height: 85vh;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; left: -25%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(14,116,144,0.15) 0%, transparent 60%);
  border-radius: 50%;
  animation: gentleDrift 25s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute; bottom: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,116,144,0.08) 0%, transparent 60%);
  border-radius: 50%;
  animation: gentleDrift 25s ease-in-out infinite reverse;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 24px; }
.hero h1 { color: #fff; margin-bottom: 24px; max-width: 600px; }
.hero__subtitle {
  font-size: 18px; color: rgba(255,255,255,0.55);
  max-width: 520px; margin-bottom: 40px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__illustration {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.hero__illustration svg { width: 100%; max-width: 420px; height: auto; }

@keyframes gentleDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.03); }
  66% { transform: translate(-15px, 10px) scale(0.98); }
}

/* ---- Pillar Icons ---- */
.pillar-icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon--teal { background: rgba(14,116,144,0.06); }
.pillar-icon--amber { background: rgba(245,158,11,0.06); }
.pillar-icon--violet { background: rgba(139,92,246,0.06); }
.pillar-icon--emerald { background: rgba(16,185,129,0.06); }

/* ---- Card Color Accents — single top line ---- */
.card--accent-teal { border-top: 2px solid var(--primary); }
.card--accent-amber { border-top: 2px solid #D97706; }
.card--accent-violet { border-top: 2px solid #7C3AED; }
.card--accent-emerald { border-top: 2px solid #059669; }
.card--accent-rose { border-top: 2px solid #DB2777; }
.card--accent-orange { border-top: 2px solid #EA580C; }

/* ---- Stats ---- */
.stats {
  position: relative;
  background: var(--secondary);
  overflow: hidden;
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat__number {
  font-size: 48px; font-weight: 700; color: #fff;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat__label {
  font-size: 14px; color: rgba(255,255,255,0.45);
  font-weight: 400; text-transform: uppercase; letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat__number { font-size: 36px; }
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--secondary);
  text-align: center;
  padding: var(--section-padding) 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; font-size: 36px; letter-spacing: -0.01em; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 36px; font-size: 17px; }

/* ---- Services Detail ---- */
.service-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px; align-items: start;
}
.service-detail__icon {
  width: 72px; height: 72px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.service-detail__icon svg { width: 36px; height: 36px; }
.service-detail h3 { margin-bottom: 16px; }
.service-detail__deliverables { margin-top: 24px; }
.service-detail__deliverables h4 {
  font-size: 14px; font-weight: 700; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-faint);
}
.service-detail__deliverables li {
  position: relative; padding-left: 20px;
  margin-bottom: 8px; color: var(--text-muted); font-size: 15px;
}
.service-detail__deliverables li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: 1.5px solid var(--primary);
}

@media (max-width: 768px) {
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- About: Vision banner ---- */
.vision-banner {
  background: var(--secondary);
  padding: 80px 0; text-align: center;
}
.vision-banner h3 {
  color: rgba(255,255,255,0.35); font-size: 12px;
  text-transform: uppercase; letter-spacing: 3px;
  margin-bottom: 24px;
}
.vision-banner p {
  color: #fff; font-size: 28px; font-weight: 600;
  max-width: 750px; margin: 0 auto; line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ---- Industries ---- */
.industry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.industry--reverse > :first-child { order: 2; }
.industry--reverse > :last-child { order: 1; }
.industry__illustration {
  display: flex; align-items: center; justify-content: center;
}
.industry__illustration svg { width: 200px; height: 200px; }
.industry h3 { margin-bottom: 16px; }
.industry__focus {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}

@media (max-width: 768px) {
  .industry { grid-template-columns: 1fr; gap: 32px; }
  .industry--reverse > :first-child { order: 0; }
  .industry--reverse > :last-child { order: 0; }
}

/* ---- Insights ---- */
.insight-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.insight-card .tag { margin-bottom: 16px; }
.insight-card h3 {
  font-size: 18px; margin-bottom: 10px;
  color: var(--text);
}
.insight-card p { font-size: 15px; margin-bottom: 16px; }

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
}
.contact-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 28px; margin-bottom: 20px;
}
.contact-card h4 {
  font-size: 15px; margin-bottom: 16px; color: var(--text);
}
.contact-card p, .contact-card a {
  font-size: 14px; color: var(--text-muted);
}
.contact-card a:hover { color: var(--primary); }
.contact-map {
  border-radius: var(--radius-md); overflow: hidden;
  margin-top: 12px;
}
.contact-map iframe { width: 100%; height: 200px; border: 0; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---- Article Page ---- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.article-content h2 {
  font-size: 26px; font-weight: 700; color: var(--text);
  margin-top: 48px; margin-bottom: 16px;
}
.article-content h3 {
  font-size: 20px; font-weight: 600; color: var(--text);
  margin-top: 36px; margin-bottom: 12px;
}
.article-content p {
  font-size: 17px; line-height: 1.8; color: var(--text-muted);
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 24px 24px;
}
.article-content li {
  font-size: 16px; line-height: 1.8; color: var(--text-muted);
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-content blockquote p {
  font-size: 17px; font-style: italic; color: var(--text);
  margin-bottom: 0;
}
.article-meta {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 8px; font-size: 14px; color: var(--text-faint);
}
.article-meta .tag { margin-bottom: 0; }
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  margin-top: 48px; transition: gap var(--transition);
}
.article-back:hover { gap: 10px; }
.related-articles {
  max-width: 760px; margin: 0 auto;
  padding: 0 24px 80px;
  border-top: 1px solid var(--border-soft);
  padding-top: 48px;
}
.related-articles h3 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 24px;
}
.related-articles .grid { gap: 24px; }

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero::before { width: 400px; height: 400px; top: -30%; left: -40%; }
  .hero::after { width: 300px; height: 300px; }
  .hero h1 { font-size: 32px; max-width: 100%; }
  .hero__subtitle { font-size: 16px; max-width: 100%; margin-bottom: 28px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; padding: 14px 24px; }
  .hero__illustration { margin-top: 32px; }
  .hero__illustration svg { max-width: 300px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner p { font-size: 16px; margin-bottom: 24px; }
  .cta-banner { padding: 60px 0; }
  .vision-banner { padding: 50px 0; }
  .vision-banner p { font-size: 20px; padding: 0 16px; }
  .page-header { padding: 110px 0 40px; }
  .page-header h1 { font-size: 30px; }
  .page-header p { font-size: 16px; }
  .insight-card { padding: 24px; }
  .insight-card h3 { font-size: 18px; }
  .contact-layout { gap: 32px; }
  .contact-card { padding: 20px; }
  .industry__illustration svg { width: 160px; height: 160px; }
  .pillar-icon { width: 48px; height: 48px; border-radius: 10px; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero__subtitle { font-size: 15px; }
  .hero__illustration svg { max-width: 260px; }
  .cta-banner h2 { font-size: 22px; }
  .vision-banner p { font-size: 18px; }
  .page-header h1 { font-size: 26px; }
}
