/* ============================================================
   IT Realms — solutions.css
   Shared cinematic styles for all solution pages
   ============================================================ */

/* ============================================================
   SOLUTIONS HERO — full-screen cinematic
   ============================================================ */

.sol-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #040410;
}

.sol-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.22);
  transition: transform 10s ease;
}

.sol-hero:hover .sol-hero-bg {
  transform: scale(1.04);
}

.sol-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,4,16,0.97) 0%,
    rgba(4,4,16,0.65) 45%,
    rgba(4,4,16,0.92) 100%
  );
}

.sol-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38,204,202,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,204,202,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.sol-hero-content {
  position: relative;
  z-index: 4;
  padding: 160px 5% 100px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.sol-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.sol-hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.sol-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
  max-width: 860px;
}

.sol-hero-title em {
  color: var(--teal);
  font-style: normal;
}

.sol-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.48);
  max-width: 580px;
  margin-bottom: 52px;
}

/* Badge pills */
.sol-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.sol-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(38,204,202,0.2);
  border-radius: 100px;
  background: rgba(38,204,202,0.05);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.sol-hero-badge i,
.sol-hero-badge svg {
  width: 12px;
  height: 12px;
  color: var(--teal);
}

@media (max-width: 768px) {
  .sol-hero-content { padding: 130px 5% 72px; }
}


/* ============================================================
   SOLUTION SECTIONS — generic dark patterns
   ============================================================ */

/* Light section container */
.sol-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.sol-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(38,204,202,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.sol-section > * { position: relative; z-index: 1; }

.sol-section--alt {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.sol-section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0, transparent 18px,
    rgba(38,204,202,0.04) 18px, rgba(38,204,202,0.04) 19px
  );
  pointer-events: none;
  z-index: 0;
}
.sol-section--alt > * { position: relative; z-index: 1; }

.sol-section-header {
  text-align: center;
  margin-bottom: 72px;
}

.sol-section-header .section-eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.sol-section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d1b2e;
  margin-bottom: 16px;
  line-height: 1.12;
}

.sol-section-header h2 em { color: var(--teal); font-style: normal; }

.sol-section-lead {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(13,27,46,0.5);
  max-width: 580px;
  margin: 0 auto;
}


/* ============================================================
   FEATURE CARDS — solutions version (reuses srv-card from services.css)
   The srv-card-grid from services.css applies here too.
   These are additional styles for 2-col or specialty layouts.
   ============================================================ */

.sol-card-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(13,27,46,0.07);
  border: 1px solid rgba(13,27,46,0.07);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .sol-card-grid--2col { grid-template-columns: 1fr; }
}


/* ============================================================
   DEPLOYMENT SPLIT — image + text two-col
   ============================================================ */

.sol-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sol-split--reverse {
  direction: rtl;
}

.sol-split--reverse > * {
  direction: ltr;
}

.sol-split-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.sol-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.sol-split-img:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

.sol-split-text .section-eyebrow { margin-bottom: 16px; }

.sol-split-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d1b2e;
  margin-bottom: 20px;
  line-height: 1.12;
}

.sol-split-text h2 em { color: var(--teal); font-style: normal; }

.sol-split-text p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(13,27,46,0.5);
  margin-bottom: 16px;
}

.sol-split-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-split-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(13,27,46,0.55);
}

.sol-split-checklist i,
.sol-split-checklist svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .sol-split { grid-template-columns: 1fr; gap: 48px; }
  .sol-split--reverse { direction: ltr; }
}


/* ============================================================
   RESPONSIVE — Mobile & Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .sol-hero { min-height: 90vh; }
}
@media (max-width: 768px) {
  .sol-hero { min-height: 80vh; padding-bottom: 60px; }
  .sol-hero-content { padding: 100px 6% 60px; }
  .sol-card-grid { grid-template-columns: 1fr; }
  .sol-section { padding: 64px 0; }
}
@media (max-width: 580px) {
  .sol-hero { min-height: 70vh; }
  .sol-hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .sol-section { padding: 48px 0; }
  .sol-split { gap: 32px; }
}
@media (max-width: 480px) {
  .sol-hero { min-height: 100svh; }
  .sol-card-grid--2col { grid-template-columns: 1fr; }
}
