/* ============================================
   HOME PAGE — Editorial Premium Design
   ============================================ */

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--color-hero-dark) 0%, var(--color-hero-mid) 60%, var(--color-hero-light) 100%);
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  color: var(--color-text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Animated subtle gradient orb */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(2,116,190,0.08) 0%, transparent 70%);
  animation: heroOrb 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, 60px) scale(1.2); }
}

/* Grain texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero > .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
}

/* Decorative vertical line beside hero text */
.hero-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(107, 184, 232, 0.4));
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -3.5px;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 36px;
}

.hero-content h1 .accent {
  display: inline;
  font-size: 1.08em;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.85;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  margin-bottom: 52px;
}

.hero-image {
  position: relative;
}

/* Geometric frame accent on hero image */
.hero-image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border-top: 1px solid rgba(107, 184, 232, 0.25);
  border-right: 1px solid rgba(107, 184, 232, 0.25);
  z-index: 3;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
}

/* Soft vignette on hero image */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14,34,54,0.3) 0%, transparent 50%, rgba(14,34,54,0.15) 100%);
  pointer-events: none;
}

.hero-quote {
  position: absolute;
  bottom: -20px;
  left: -48px;
  background: rgba(10, 22, 38, 0.95);
  backdrop-filter: blur(16px);
  padding: 36px 40px;
  max-width: 380px;
  border-left: 2px solid var(--color-accent-light);
  z-index: 2;
}

.hero-quote p {
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.7;
}

.hero-quote cite {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  font-style: normal;
}


/* WHY / STATS SECTION */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
}

.stats-grid .stat {
  padding: 48px 32px 48px 0;
  border-top: 1px solid var(--color-border);
  position: relative;
}

/* Brand accent mark on each stat */
.stats-grid .stat::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--color-brand);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-grid .stat:hover::before {
  width: 64px;
}


/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  counter-reset: service;
}

.services-grid .card {
  padding: 56px 40px;
  background: transparent;
  position: relative;
}

.services-grid .card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--color-border);
}

.services-grid .card:last-child::after {
  display: none;
}

/* Vertical dividers between service cards */
.services-grid .card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 56px;
  right: 0;
  width: 1px;
  height: calc(100% - 112px);
  background: var(--color-border);
  transform: scaleX(1);
  transition: none;
}

.services-grid .card:hover {
  background: var(--color-surface-alt);
}

/* Override the service-card::before (left line) - clear it since we use vertical dividers */
.services-grid .service-card::before {
  display: none;
}


/* SECTORS STRIP */
.sectors-strip {
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

/* Geometric accent in sectors */
.sectors-strip::before {
  content: '';
  position: absolute;
  top: 80px;
  right: -60px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(107, 184, 232, 0.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.sectors-strip .section-label {
  color: var(--color-accent-light);
}

.sectors-strip .section-label::before {
  background: var(--color-accent-light);
}

.sectors-strip h2 {
  color: #fff;
  margin-bottom: 36px;
  max-width: 560px;
}

.sectors-list {
  font-size: 22px;
  font-weight: 200;
  color: rgba(255,255,255,0.45);
  letter-spacing: 1px;
  line-height: 2.4;
  margin-bottom: 52px;
}


/* INSIGHTS GRID */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 72px;
  margin-bottom: 56px;
}

.insight-card {
  background: transparent;
  transition: var(--transition-default);
  cursor: pointer;
  border: none;
  position: relative;
  padding: 48px 40px;
}

/* Vertical dividers between cards */
.insight-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: 0;
  width: 1px;
  height: calc(100% - 96px);
  background: var(--color-border);
}

/* Top accent line on hover */
.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--color-border);
}

.insight-card:hover {
  background: var(--color-surface-alt);
}

.insight-card-body .pill {
  margin-bottom: 16px;
}

.insight-card-body h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-text-primary);
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.insight-card-body p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.75;
}




/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1199px) {
  .hero-grid { gap: 60px; grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 56px; letter-spacing: -2.5px; }
  .hero-content::before { display: none; }
  .hero-image::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .card:not(:last-child)::before { display: none; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid .insight-card:not(:last-child)::after { display: none; }
}

@media (max-width: 767px) {
  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-content h1 { font-size: 42px; letter-spacing: -2px; }
  .hero-content::before { display: none; }

  .hero-image { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid .card:not(:last-child)::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid .insight-card:not(:last-child)::after { display: none; }
  .sectors-strip::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}
