
.hero-header {
  position: relative;
  min-height: 20vh;
  background: linear-gradient(135deg, #0a0f16 0%, #141b2b 100%);
}

.hero-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  margin-top: 25px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html.modal-open::-webkit-scrollbar,
body.modal-open::-webkit-scrollbar {
  display: none;
}

.master-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px; 
  position: relative;
  z-index: 2;
}

.iems-page {
  background: transparent !important;
  overflow: hidden;
}

.solutions-overview-section {
  margin-bottom: 48px; 
  position: relative;
}

.solutions-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px; 
  align-items: center;
}

.overview-header-col {
  display: flex;
  flex-direction: column;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: rgba(247, 89, 16, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 16px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.overview-title {
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #171717;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.overview-title span {
  color: var(--primary);
}

.overview-lead {
  font-size: 1.05rem;
  color: #526173;
  line-height: 1.55;
  margin-bottom: 24px;
}

.overview-lead strong {
  color: #171717;
}

.focus-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.focus-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.focus-badges .badge i {
  color: var(--primary);
}

.focus-badges .badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.overview-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px; 
  border: 1px solid #f1f5f9;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #ff8c52 100%);
}

.card-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 6px;
}

.card-block p {
  font-size: 0.92rem;
  color: #526173;
  line-height: 1.55;
  margin: 0;
}

.card-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 16px 0;
}

.vision-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(247, 89, 16, 0.04);
  border: 1px dashed rgba(247, 89, 16, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
}

.highlight-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.vision-highlight-box p {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}
.typo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--border-light);
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  will-change: transform, opacity, background-color, border-color, box-shadow;
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.typo-row.layout-right {
  flex-direction: row-reverse;
}

.typo-row.in-view {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.typo-row:hover {
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--blur-radius));
  border-color: var(--glass-border);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding-left: 32px;
  padding-right: 32px;
}

.typo-text-pane {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.typo-text-pane h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.typo-text-pane p {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.8;
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap 0.3s ease, color 0.3s ease;
}

.typo-row:hover .read-more-link {
  color: var(--primary-light) !important;
  gap: 10px;
}

.typo-number-mask {
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  user-select: none;
  background-size: cover;
  background-position: center;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.8;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s;
}

.typo-row:hover .typo-number-mask {
  transform: scale(1.04);
  opacity: 1;
}

.why-sos-showcase-v2 {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

.why-sos-tall-media {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.why-sos-tall-media img,
.why-sos-horizontal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-sos-tall-media:hover img,
.why-sos-horizontal-media:hover img {
  transform: scale(1.03);
}

.why-sos-editorial-right h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.why-sos-lead-p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 12px;
  opacity: 0.85;
}

.why-sos-split-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start; 
}

.why-sos-secondary-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-sos-secondary-text p {
  opacity: 0.8;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.brand-tagline {
  font-weight: 700;
  color: #171717;
  font-size: 0.88rem;

}

.why-sos-horizontal-media {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.details-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
}

.details-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(20px);
}

.modal-card-view {
  background: #ffffff;
  width: 100%;
  max-width: 950px;
  max-height: 85vh;
  border-radius: 24px;
  overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translate3d(0, 50px, 0) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-card-view::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.details-modal-overlay.active .modal-card-view {
  transform: translate3d(0, 0, 0) scale(1);
}

.popup-split-layout {
  display: flex;
  min-height: 500px;
}

.popup-image-pane {
  width: 40%;
  min-height: 100%;
  position: relative;
  background-color: #0d131f;
}

.popup-image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.popup-content-pane {
  width: 60%;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.modal-dismiss-trigger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  font-size: 14px;
  color: #171717;
  transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.modal-dismiss-trigger:hover {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(90deg);
}

.popup-content-pane h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #171717 !important;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.popup-content-pane p {
  font-size: 0.98rem;
  color: #4b5563 !important;
  margin-bottom: 12px;
}

@media (max-width: 1024px) {
  .master-container {
    padding: 40px 20px;
  }
  .why-sos-showcase-v2 {
    gap: 30px;
  }
  .why-sos-tall-media {
    height: 380px;
  }
  .popup-content-pane {
    padding: 32px;
  }
}

@media (max-width: 992px) {
  .solutions-overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .overview-card {
    padding: 24px;
  }
}

@media (max-width: 968px) {
  .typo-row:hover {
    padding-left: 24px;
    padding-right: 24px;
  }
  .why-sos-showcase-v2 {
    grid-template-columns: 1fr;
  }
  .why-sos-tall-media {
    height: 320px;
  }
  .why-sos-split-footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-sos-horizontal-media {
    height: 200px;
  }
  .popup-split-layout {
    flex-direction: column;
  }
  .popup-image-pane {
    width: 100%;
    height: 220px;
  }
  .popup-image-pane img {
    position: relative;
    height: 220px;
  }
  .popup-content-pane {
    width: 100%;
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .typo-row,
  .typo-row.layout-right {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 16px;
    margin-bottom: 16px;
    transform: translate3d(0, 30px, 0);
  }

  .typo-row:hover {
    padding: 24px 16px;
    border: 1px solid transparent;
    border-bottom: 1px solid var(--border-light);
    box-shadow: none;
    background: transparent;
  }
  .typo-text-pane {
    width: 100%;
  }
  .typo-number-mask {
    width: 100%;
    font-size: 5.5rem;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .master-container {
    padding: 30px 14px;
  }
  .solutions-overview-section {
    margin-bottom: 30px;
  }
  .overview-card {
    padding: 18px;
  }
  .focus-badges .badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .modal-card-view {
    max-height: 90vh;
    border-radius: 18px;
  }
  .popup-content-pane {
    padding: 24px 16px;
  }
  .popup-content-pane h1 {
    font-size: 1.5rem;
  }
  .modal-dismiss-trigger {
    top: 14px;
    right: 14px;
  }
}