/* ================================================================
   ODPL – solutions.css
   Shared stylesheet for all solution detail pages
   ================================================================ */

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.revealed { opacity: 1; transform: none; }


/* ================================================================
   SERVICE HERO
   ================================================================ */
.svc-hero {
  position: relative; overflow: hidden;
  min-height: 580px;
  display: flex; align-items: center;
  background: var(--color-4);
}
.svc-hero__img { position: absolute; inset: 0; }
.svc-hero__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.35); }
.svc-hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(25,42,61,.95) 40%, rgba(25,42,61,.5) 100%);
}
.svc-hero__inner {
  position: relative; z-index: 2;
  padding: 80px 0; max-width: 680px;
}
.svc-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 24px;
}
.svc-hero__breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.svc-hero__breadcrumb a:hover { color: var(--color-2); }
.svc-hero__breadcrumb span:last-child { color: var(--color-2); }
.svc-hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242,140,40,.12); border: 1px solid rgba(242,140,40,.3);
  color: #fba94d; font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px;
}
.svc-hero__tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--color-2); border-radius: 50%;
}
.svc-hero__title {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; color: #fff; line-height: 1.14; margin-bottom: 20px;
}
.svc-hero__title em { font-style: normal; color: var(--color-2); }
.svc-hero__sub {
  font-size: 1.05rem; color: rgba(255,255,255,.68);
  line-height: 1.75; max-width: 560px; margin-bottom: 32px;
}
.svc-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.svc-hero__stats {
  display: flex; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px; flex-wrap: wrap;
}
.svc-stat { display: flex; flex-direction: column; gap: 4px; padding: 0 32px 0 0; }
.svc-stat__num { font-family: var(--heading-font); font-size: 2rem; font-weight: 700; color: var(--color-2); line-height: 1; }
.svc-stat__num sup { font-size: .75rem; }
.svc-stat__label { font-size: .75rem; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.svc-stat__sep { width: 1px; height: 44px; background: rgba(255,255,255,.12); margin-right: 32px; flex-shrink: 0; }


/* ================================================================
   TRUST BAR
   ================================================================ */
.svc-trust {
  background: var(--color-6);
  border-bottom: 1px solid #e0e7ed;
  padding: 20px 0;
}
.svc-trust__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.svc-trust__label {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: #9aa8b5; flex-shrink: 0;
}
.svc-trust__logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.svc-trust__logos img {
  height: 36px; width: auto; object-fit: contain;
  opacity: .65; filter: grayscale(1);
  transition: opacity .2s, filter .2s;
}
.svc-trust__logos img:hover { opacity: 1; filter: grayscale(0); }


/* ================================================================
   SERVICE ITEMS  (full-width split)
   ================================================================ */
.svc-items { background: var(--color-8); }

.svc-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0; margin-bottom: 2px;
  min-height: 460px;
}
.svc-item--flip .svc-item__media { order: 2; }
.svc-item--flip .svc-item__body  { order: 1; }

.svc-item__media { position: relative; overflow: hidden; }
.svc-item__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.svc-item:hover .svc-item__media img { transform: scale(1.04); }

.svc-item__num {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--heading-font);
  font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,.15); line-height: 1; pointer-events: none;
}
.svc-item__badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(25,42,61,.88); color: rgba(255,255,255,.85);
  padding: 14px 20px; display: flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.svc-item__badge svg { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--color-2); }

.svc-item__body {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--color-8); border-bottom: 1px solid #eef1f4;
}
.svc-item--flip .svc-item__body { background: var(--color-7); }

.svc-item__tag {
  display: inline-block;
  background: rgba(242,140,40,.1); color: var(--color-2);
  font-size: .7rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 14px; width: fit-content;
}
.svc-item__title {
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--heading-color); line-height: 1.2; margin-bottom: 0;
}
.svc-item__divider { width: 44px; height: 3px; background: var(--color-2); margin: 18px 0 22px; }
.svc-item__body p { font-size: .93rem; color: #5a6878; line-height: 1.8; margin-bottom: 0; }
.svc-item__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; font-size: .85rem; font-weight: 700;
  color: var(--color-1); letter-spacing: .02em;
  transition: gap .2s, color .2s;
}
.svc-item__link:hover { gap: 10px; color: var(--color-2); }


/* ================================================================
   TVET SECTION
   ================================================================ */
.tvet-section { background: var(--color-6); }

.tvet-intro {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 64px; align-items: center;
  margin-bottom: 52px;
}
.tvet-intro__imgs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.tvet-intro__imgs img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.tvet-intro__imgs img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.tvet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.tvet-card {
  background: var(--color-8);
  padding: 32px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.tvet-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-1);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.tvet-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); z-index: 1; }
.tvet-card:hover::before { transform: scaleX(1); }
.tvet-card__icon {
  width: 52px; height: 52px;
  background: rgba(49,84,83,.09);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .2s;
}
.tvet-card:hover .tvet-card__icon { background: var(--color-1); }
.tvet-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-1); fill: none;
  transition: stroke .2s;
}
.tvet-card:hover .tvet-card__icon svg { stroke: #fff; }
.tvet-card h3 {
  font-family: var(--heading-font);
  font-size: 1rem; color: var(--heading-color); margin-bottom: 8px;
}
.tvet-card p { font-size: .86rem; color: #6a7b8d; line-height: 1.65; margin: 0; }


/* ================================================================
   CAPACITY BUILDING LIST
   ================================================================ */
.cb-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 8px; }
.cb-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #eef1f4;
}
.cb-item:last-child { border-bottom: none; }
.cb-item__dot {
  width: 8px; height: 8px; flex-shrink: 0;
  background: var(--color-2); border-radius: 50%;
  margin-top: 6px;
}
.cb-item strong {
  display: block; font-size: .88rem;
  color: var(--heading-color); margin-bottom: 2px;
}
.cb-item p { font-size: .82rem; color: #6a7b8d; line-height: 1.55; margin: 0; }


/* ================================================================
   CTA
   ================================================================ */
.svc-cta {
  position: relative; overflow: hidden;
  min-height: 360px; display: flex; align-items: center;
}
.svc-cta__img { position: absolute; inset: 0; }
.svc-cta__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(49,84,83,.97) 50%, rgba(49,84,83,.7) 100%);
}
.svc-cta__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap; padding: 72px 0;
}
.svc-cta__text { max-width: 600px; }
.svc-cta__text h2 {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  color: #fff; line-height: 1.22; margin: 10px 0 16px;
}
.svc-cta__text h2 em { font-style: normal; color: var(--color-2); }
.svc-cta__text p { font-size: .96rem; color: rgba(255,255,255,.65); line-height: 1.72; margin: 0; }


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .svc-item { grid-template-columns: 1fr; min-height: auto; }
  .svc-item--flip .svc-item__media,
  .svc-item--flip .svc-item__body { order: unset; }
  .svc-item__media { height: 300px; }
  .svc-item__body { padding: 40px 32px; }
  .tvet-intro { grid-template-columns: 1fr; gap: 40px; }
  .tvet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .svc-hero__inner { padding: 60px 0; }
  .svc-stat__sep { display: none; }
  .svc-stat { padding: 0 16px 0 0; }
  .svc-item__body { padding: 32px 24px; }
  .svc-cta__inner { flex-direction: column; align-items: flex-start; padding: 52px 0; }
  .tvet-grid { grid-template-columns: 1fr; }
  .tvet-intro__imgs { display: none; }
}

@media (max-width: 480px) {
  .svc-trust__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
