/* =========================================================
   OM Web — Shared section components (feature grid, layout)
   ========================================================= */

.om-section {
  position: relative;
  overflow: hidden;
}

.om-section--white { background: #fff; }
.om-section--soft { background: linear-gradient(180deg, #f9f7f7 0%, #fff 100%); }

/* Section head alignment */
.section-head.center .section-title,
.section-head.center .section-lead {
  margin-inline: auto;
  text-align: center;
}

/* ----- Feature grid (unique mosaic) ----- */
.om-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.om-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.65rem 1.5rem 1.5rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(15, 21, 40, 0.05);
  overflow: hidden;
  color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.35s;
}

a.om-feature-card:hover {
  color: inherit;
  transform: translateY(-8px);
  border-color: rgba(255, 122, 26, 0.35);
  box-shadow: 0 22px 50px rgba(255, 122, 26, 0.12);
}

.om-feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--sky));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

.om-feature-card:hover::before {
  transform: scaleY(1);
}

.om-feature-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #f9f7f7 0%, #fff 55%);
  border-color: rgba(255, 122, 26, 0.18);
}

.om-feature-card__num {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 21, 40, 0.05);
  pointer-events: none;
}

.om-feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.25);
  transition: transform 0.35s var(--ease);
}

.om-feature-card:hover .om-feature-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.om-feature-card:nth-child(3n+2) .om-feature-card__icon {
  background: linear-gradient(135deg, var(--sky), #3f72af);
  box-shadow: 0 10px 24px rgba(58, 160, 255, 0.22);
}

.om-feature-card:nth-child(3n) .om-feature-card__icon {
  background: linear-gradient(135deg, #3f72af, #3f72af);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.2);
}

.om-feature-card__body h3 {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.om-feature-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.om-feature-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

a.om-feature-card:hover .om-feature-card__arrow {
  background: var(--accent);
  color: #fff;
  transform: translate(3px, -3px);
}

/* Homepage services grid modifier */
.om-feature-grid--services .om-feature-card--featured {
  grid-column: span 1;
}

/* ----- Light stats strip ----- */
.stats-light {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-light__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.stat-light {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.stat-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15, 21, 40, 0.08);
}

.stat-light__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-light h3 {
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.stat-light p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Service page intro */
.om-intro-split {
  background: #fff;
}

.om-intro-split .welcome-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(15, 21, 40, 0.1);
}

/* Industry cards animation polish */
.industry-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Case study hover */
.devit-case {
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

/* ----- About page: story visual ----- */
.about-story__visual {
  position: relative;
  max-width: 520px;
}

.about-story__frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 21, 40, 0.14);
  border: 1px solid var(--line);
}

.about-story__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.about-story__badge {
  position: absolute;
  right: -18px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 18px 44px rgba(255, 122, 26, 0.35);
}

.about-story__badge strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.about-story__badge > span {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.92;
}

.about-story__chip {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(15, 21, 40, 0.12);
}

.about-story__chip i { color: var(--accent); }

.about-story__points {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-story__points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.about-story__points i { color: var(--accent); }

/* ----- About page: mission / vision / values ----- */
.about-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.about-mvv__card {
  padding: 2rem 1.75rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(15, 21, 40, 0.05);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.about-mvv__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 21, 40, 0.1);
}

.about-mvv__card--accent {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-color: var(--navy);
  color: #fff;
}

.about-mvv__card--accent h3 { color: #fff; }
.about-mvv__card--accent p { color: rgba(255, 255, 255, 0.72); }

.about-mvv__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 28px rgba(255, 122, 26, 0.28);
}

.about-mvv__card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.about-mvv__card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ----- About page: process steps ----- */
.about-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.about-step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 22px;
  background: var(--paper, #f9f7f7);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}

.about-step:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 26, 0.3);
  box-shadow: 0 20px 48px rgba(255, 122, 26, 0.1);
}

.about-step__num {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 21, 40, 0.06);
}

.about-step__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), #3f72af);
  box-shadow: 0 10px 24px rgba(58, 160, 255, 0.24);
  margin-bottom: 1rem;
}

.about-step:nth-child(even) .about-step__icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.24);
}

.about-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.about-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .om-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .om-feature-card--featured { grid-column: span 2; }
  .stats-light__grid { grid-template-columns: repeat(3, 1fr); }
  .about-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .about-mvv { grid-template-columns: 1fr; }
  .about-story__visual { margin-inline: auto; }
  .about-story__badge { right: 0; }
}

@media (max-width: 767.98px) {
  .om-feature-grid { grid-template-columns: 1fr; }
  .om-feature-card--featured { grid-column: span 1; }
  .stats-light__grid { grid-template-columns: repeat(2, 1fr); }
  .about-steps { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .stats-light__grid { grid-template-columns: 1fr; }
  .about-story__badge { padding: 0.8rem 1rem; bottom: 16px; }
  .about-story__badge strong { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .om-feature-card,
  .stat-light,
  .industry-card,
  .devit-case,
  .about-mvv__card,
  .about-step {
    transition: none;
  }
}
