/* ==========================================================================
   Page: Technology Expertise — extends assets/css/style.css
   Reuses existing tokens/components; only net-new rules below.
   ========================================================================== */

/* ---- Hero ---- */
.expertise-hero {
  padding-top: 160px;
}

.expertise-hero-grid {
  display: flex;
  align-items: center;
  gap: 64px;
}

.expertise-hero-copy {
  flex: 1;
}

.eyebrow-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.expertise-hero-copy h1 {
  font-size: 48px;
  letter-spacing: -0.96px;
  margin-bottom: 16px;
}

.expertise-hero-copy > p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 576px;
  margin-bottom: 24px;
}

.badge-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-soft-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 9px 17px;
  font-size: 16px;
  color: var(--color-navy);
}

.pill-badge img {
  width: 16px;
  height: 15px;
}

/* icon-iso-badge.svg is 16.5x15.75 (matches base rule above);
   icon-sla-badge.svg is 12x15 — needs its own proportional height
   or the SVG's preserveAspectRatio="none" root stretches it. */
.pill-badge img[src*="icon-sla-badge"] {
  width: 12px;
  height: 15px;
}

.expertise-hero-media {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.expertise-hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.expertise-hero-media:hover img {
  transform: scale(1.04);
}

.expertise-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.4), rgba(11, 29, 58, 0));
}

@media (max-width: 900px) {
  .expertise-hero-grid { flex-direction: column; }
}

/* ---- Section heading row with link ---- */
.expertise-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.expertise-heading-row h2 {
  font-size: 32px;
  margin-bottom: 7px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-weight: 500;
  white-space: nowrap;
}

.link-arrow img {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

.link-arrow:hover img {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .expertise-heading-row { flex-direction: column; align-items: flex-start; }
}

/* ---- Competency bento grid ---- */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.competency-card {
  grid-column: span 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 41px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.competency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 165, 202, 0.35);
}

.competency-card.span-2 {
  grid-column: span 2;
}

.competency-card.dark {
  background: var(--color-navy);
  color: #fff;
}

.competency-card.dark:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.competency-card.dark p {
  color: var(--color-text-light);
}

.competency-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #cbdafd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.competency-icon.dark {
  background: rgba(66, 165, 202, 0.2);
}

.competency-icon img {
  /* Base size assumes a square icon (icon-ai-ml.svg is 18x18).
     Non-square icons below get their own proportional height —
     Figma-exported SVGs use preserveAspectRatio="none" on their root,
     so a single-dimension rule here would stretch/squash them. */
  width: 20px;
  height: 20px;
}

.competency-icon img[src*="icon-cloud-native"] {
  width: 20px;
  height: 14.5px;
}

.competency-icon img[src*="icon-enterprise-platforms"] {
  width: 20px;
  height: 16px;
}

.competency-icon img[src*="icon-secops"] {
  width: 20px;
  height: 25px;
}

.competency-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: inherit;
}

.competency-card p {
  font-size: 16px;
  line-height: 1.6;
}

.competency-tags {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 16px;
  color: var(--color-navy);
}

.competency-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.competency-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
}

.competency-list img {
  width: 16px;
  height: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.chip {
  background: #eceef0;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
}

.competency-split {
  display: flex;
  gap: 40px;
  width: 100%;
}

.competency-split > div:first-child {
  flex: 1;
}

.vuln-panel {
  flex-shrink: 0;
  width: 343px;
  background: var(--color-bg-soft-2);
  border-radius: 8px;
  padding: 24px;
}

.vuln-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14px;
  margin-bottom: 16px;
}

.vuln-row strong {
  color: var(--color-blue);
}

.vuln-bar {
  height: 8px;
  background: var(--color-border-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
}

.vuln-bar span {
  display: block;
  height: 100%;
  background: var(--color-blue);
}

.vuln-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vuln-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24px;
  color: var(--color-text);
}

.vuln-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
}

@media (max-width: 900px) {
  .competency-grid { grid-template-columns: 1fr; }
  .competency-card.span-2 { grid-column: span 1; }
  .competency-tags { grid-template-columns: 1fr; }
  .competency-split { flex-direction: column; }
  .vuln-panel { width: 100%; }
}

/* ---- Case studies ---- */
.case-study-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(66, 165, 202, 0.35);
}

.case-study-media {
  overflow: hidden;
}

.case-study-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.case-study-card:hover .case-study-media img {
  transform: scale(1.06);
}

.case-study-body {
  padding: 32px;
}

.case-study-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.case-study-title-row h3 {
  font-size: 24px;
}

.tag-badge {
  background: #cbdafd;
  color: var(--color-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 8px;
  white-space: nowrap;
}

.case-study-body > p {
  margin-bottom: 16px;
}

/* ---- Methodology (dark) ---- */
.methodology-section {
  background: var(--color-navy);
  color: #fff;
}

.section-heading.light h2 {
  color: #fff;
}

.section-heading.light p {
  color: var(--color-text-light);
}

.methodology-steps {
  display: flex;
  gap: 32px;
}

.methodology-step {
  flex: 1;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.methodology-step h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}

.methodology-step p {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .methodology-steps { flex-direction: column; }
}

@media (max-width: 575px) {
.expertise-hero-copy h1{font-size:32px;line-height:36px;}
}

