/* ══════════════════════════════
   HOME PAGE
   ══════════════════════════════ */

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */

.hero {
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  /* Subtle diagonal mesh */
  background-image:
    linear-gradient(135deg, #0f1f5c 0%, #1a3480 60%, #0f1f5c 100%);
}

/* Floating amber orb — top right */
.hero::before {
  content: '';
  position: absolute;
  right: -8%;
  top: -20%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.22) 0%, transparent 60%);
  animation: float-orb 8s ease-in-out infinite;
  pointer-events: none;
}

/* Dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Hero text ── */
.hero .eyebrow {
  background: rgba(232,160,32,.15);
  color: var(--color-accent);
  border: 1px solid rgba(232,160,32,.28);
  animation: slide-right .55s .1s cubic-bezier(.22,1,.36,1) both;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  margin: 1rem 0 1.2rem;
  color: #fff;
  animation: fade-up .7s .2s cubic-bezier(.22,1,.36,1) both;
}

/* Amber word highlight */
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.68);
  max-width: 520px;
  line-height: 1.75;
  animation: fade-up .7s .3s cubic-bezier(.22,1,.36,1) both;
}

/* ── Actions ── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0 1.8rem;
  animation: fade-up .7s .4s cubic-bezier(.22,1,.36,1) both;
}

/* ── Highlight pills ── */
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: 0;
  list-style: none;
  animation: fade-up .7s .5s cubic-bezier(.22,1,.36,1) both;
}

.hero__highlights li {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .87rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  transition: background var(--transition), border-color var(--transition);
}
.hero__highlights li:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
}

/* Dot before each pill */
.hero__highlights li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ── Hero image ── */
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.08);
  animation: scale-in .8s .25s cubic-bezier(.22,1,.36,1) both;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}

.hero__media:hover img { transform: scale(1.04); }

/* Corner accent mark */
.hero__media::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(15,31,92,.5), transparent);
  pointer-events: none;
}

/* ══════════════════════════════
   SERVICES SECTION
   ══════════════════════════════ */

.services-preview {
  background: var(--color-bg-alt);
  position: relative;
}

/* Thin top rule */
.services-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; right: 0;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  transform: translateX(-50%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Stagger cards via data-delay */
.service-grid .service-card:nth-child(1) { --card-delay: 0s; }
.service-grid .service-card:nth-child(2) { --card-delay: .12s; }
.service-grid .service-card:nth-child(3) { --card-delay: .24s; }

/* ══════════════════════════════
   WHY US SPLIT SECTION
   ══════════════════════════════ */

.split-section--alt { background: #fff; }

.split-section--alt h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--color-primary);
  margin: .6rem 0 1rem;
  line-height: 1.12;
}

/* ══════════════════════════════
   CTA SECTION
   ══════════════════════════════ */

.cta-section {
  background: var(--color-primary);
  background-image: linear-gradient(135deg, #091447 0%, #1a3480 100%);
  position: relative;
  overflow: hidden;
}

/* Background orb */
.cta-section::before {
  content: '';
  position: absolute;
  left: -5%;
  top: -80%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}
.cta-box:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.16);
}

.cta-box .eyebrow {
  background: rgba(232,160,32,.15);
  color: var(--color-accent);
  border: 1px solid rgba(232,160,32,.28);
}

.cta-box h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: .6rem;
  color: #fff;
  letter-spacing: -.025em;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */

@media (max-width: 900px) {
  .hero { padding: 3.5rem 0 4.5rem; }
  .hero__grid, .service-grid { grid-template-columns: 1fr; }
  .hero__media img { min-height: 280px; }
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.75rem;
  }
}
