/* ============================================================
   Commercial Services page — page-specific styles
   (loads after style.css; reuses its tokens + components)
   ============================================================ */

:root { --primary-100: #d7d9f5; }

/* ---------- nav active state ---------- */
.nav__links a.active { color: var(--secondary); }
.nav__links a.active::after { width: 100%; }

/* ============================================================
   HERO (commercial variant)
   ============================================================ */
.com-hero .hero__scrim {
  background: linear-gradient(95deg, var(--primary) 28%, rgba(28,36,103,.82) 52%, rgba(28,36,103,0) 80%);
}
.com-hero .breadcrumb {
  position: absolute;
  top: 24px;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}
.com-hero .breadcrumb a { transition: color .2s ease; }
.com-hero .breadcrumb a:hover { color: var(--secondary); }
.com-hero .breadcrumb svg { width: 18px; height: 18px; opacity: .8; }
.com-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 787px;
}
.com-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  margin-bottom: 8px;
  transition: transform .3s ease, background-color .3s ease;
}
.com-hero__badge svg { width: 48px; height: 48px; color: var(--white); }
.com-hero__inner .hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.com-hero__inner .hero__copy > * { margin: 0; }

/* ============================================================
   INDUSTRIES — "Who We Work With"
   ============================================================ */
.industries { background: var(--white); padding: clamp(64px,10vw,160px) 0; }
.industries__head { text-align: center; max-width: 1100px; margin: 0 auto 72px; }
.industries__head .eyebrow { margin-bottom: 12px; }
.industries__head .h2 { margin-bottom: 12px; }
.industries__grid { display: flex; gap: 28px; align-items: flex-start; }
.ind-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.ind-item__icon {
  display: inline-flex;
  padding: 16px;
  border-radius: 999px;
  background: var(--secondary-50);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.ind-item__icon img { width: 34px; height: 34px; display: block; }
.ind-item:hover .ind-item__icon { transform: translateY(-4px) scale(1.06); }
.ind-item h3 { margin: 0; font-weight: 700; font-size: 18px; line-height: 28px; color: var(--body-text); }
.ind-item p { margin: 0; font-weight: 400; font-size: 16px; line-height: 22px; letter-spacing: -0.18px; color: var(--secondary-text); }

/* ============================================================
   SERVICES — detail cards
   ============================================================ */
.svc { background: var(--primary-50); padding: clamp(64px,10vw,160px) 0; }
.svc__head { text-align: center; max-width: 1000px; margin: 0 auto 56px; }
.svc__head .eyebrow { margin-bottom: 4px; }
.svc__head .h2 { margin-bottom: 4px; }
.svc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31,41,55,.12);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(31,41,55,.18); }
.svc-card__img { height: 280px; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.svc-card:hover .svc-card__img img { transform: scale(1.05); }
.svc-card__badge {
  position: absolute;
  top: 30px; left: 24px;
  display: inline-flex;
  padding: 15px;
  border-radius: 999px;
  background: var(--secondary);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.svc-card:hover .svc-card__badge { transform: scale(1.08) rotate(-4deg); }
.svc-card__badge svg { width: 35px; height: 35px; color: var(--white); }
.svc-card__body { display: flex; flex-direction: column; gap: 20px; padding: 24px; }
.svc-card h3 { margin: 0; font-weight: 900; font-size: 20px; line-height: 24px; color: var(--primary); }
.svc-card__desc { margin: 8px 0 0; font-weight: 500; font-size: 16px; line-height: 22px; letter-spacing: -0.18px; color: var(--body-text); }
.svc-card ul {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 6px;
  font-weight: 700; font-size: 14px; line-height: 20px;
  color: var(--secondary-text);
}
.svc-card li::marker { color: var(--secondary-text); }

/* ============================================================
   WHY IT MATTERS — checklist
   ============================================================ */
.matters {
  background: var(--primary-100);
  padding: clamp(64px,10vw,160px) 0;
}
.matters__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.matters__text .eyebrow { margin-bottom: 12px; }
.matters__text .h2 { margin-bottom: 12px; }
.matters__text .lead { margin: 0; }
.matters__list { display: flex; flex-direction: column; gap: 12px; }
.matters__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: 8px;
  background: var(--secondary);
  transition: transform .25s ease, box-shadow .25s ease;
}
.matters__item:hover { transform: translateX(6px); box-shadow: 0 10px 24px rgba(69,93,245,.3); }
.matters__item .chk {
  flex: 0 0 auto;
  display: inline-flex;
  padding: 8px;
  border-radius: 999px;
  background: var(--secondary-50);
  color: var(--secondary);
}
.matters__item .chk svg { width: 24px; height: 24px; display: block; }
.matters__item p { margin: 0; font-weight: 600; font-size: 20px; line-height: 24px; color: var(--white); }

/* ============================================================
   CTA BANNER (horizontal, white card on pattern bg)
   Shared by About and Service Area pages.
   ============================================================ */
.cta-banner { background: var(--primary); padding: clamp(40px,6vw,100px) 0; position: relative;
  background-image:
    linear-gradient(rgba(28,36,103,.88), rgba(28,36,103,.88)),
    url("../assets/cta-pattern.png");
  background-repeat: no-repeat, repeat;
  background-size: cover, 248px auto;
}
.cta-banner__card {
  width: 1090px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.cta-banner__avatar {
  flex: 0 0 150px;
  width: 150px; height: 150px; border-radius: 999px;
  background: var(--secondary-50);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.cta-banner__avatar img { width: 117px; height: auto; object-fit: contain; }
.cta-banner__body { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; }
.cta-banner__body h2 { margin: 0; font-weight: 900; font-size: clamp(28px,3.5vw,48px); line-height: 1.2; letter-spacing: -0.4px; color: var(--body-text); }
.cta-banner__body p.lead { margin: 0; }
.cta-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; margin-top: 12px; }
.cta-banner__contacts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .industries__grid { flex-wrap: wrap; }
  .ind-item { flex: 1 1 40%; }
  .svc__grid { grid-template-columns: repeat(2, 1fr); }
  .matters__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1024px) {
  .cta-banner__card { flex-direction: column; text-align: center; }
  .cta-banner__actions { flex-direction: column; }
}
@media (max-width: 680px) {
  .industries__grid { gap: 40px 28px; }
  .ind-item { flex: 1 1 100%; }
  .svc__grid { grid-template-columns: 1fr; }
  .com-hero__inner { min-height: 0; padding-top: 80px; padding-bottom: 48px; }
  .matters__item p { font-size: 18px; }
}
