/* ============================================================
   HOME PAGE STYLES
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 22, 42, 0.55) 0%,
    rgba(12, 22, 42, 0.45) 50%,
    rgba(12, 22, 42, 0.7) 100%
  );
}

/* Smooth fade-in screen — starts opaque, transitions to transparent */
.hero-fade-in {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 2;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-fade-in.fade-out {
  opacity: 0;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: var(--max-w);
  width: 100%;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-content .btn {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.hero-content .btn:hover {
  background: var(--white);
  color: var(--navy);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.6));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── WHAT WE DO ── */
.what-we-do { background: var(--white); }
.wwd-heading { text-align: center; margin-bottom: 20px; color: var(--navy); }
.wwd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.wwd-item {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  position: relative;
}
.wwd-item > a:first-child {
  text-decoration: none;
  outline: none;
  border: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wwd-item > a:first-child:focus { outline: none; }

.wwd-icon {
  width: 150px;
  height: 150px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.wwd-icon img { width: 100%; height: 100%; object-fit: contain; }

.wwd-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 100px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wwd-card--featured { background: var(--navy); border-color: var(--navy); }
.wwd-card--featured h3 { color: var(--white) !important; }
.wwd-card--featured .wwd-list li { color: var(--white); }
.wwd-card--featured .wwd-list li::before { background: var(--gold-light); }

.wwd-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 14px;
}
.wwd-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.wwd-list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.wwd-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.wwd-btn {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  padding: 14px 24px;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.wwd-btn--featured {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.wwd-btn--featured:hover { background: #a07c3a; border-color: #a07c3a; }

/* ── SERVICES SPLIT ── */
.services-split { background: var(--cream); }
.services-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.services-split-text h2 { color: var(--navy); margin-bottom: 0; }
.services-split-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.services-split-image { position: relative; }
.services-split-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: unset;
  position: relative;
}
.services-split-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Placeholder until real image is added */
.services-split-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4080 60%, #1B2A4A 100%);
  position: relative;
}
.services-split-img-placeholder::after {
  content: 'Hero image';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wwd-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-split-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-split-image { order: -1; }
  .about-us-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-us-image { order: -1; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero { height: 70vh; min-height: 500px; }
}

/* ── ABOUT US ── */
.about-us { background: var(--sand); }
.about-us-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 768px) {
  .about-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.about-us-image .img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #2a3a5a 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  position: relative;
}
.about-us-image .img-placeholder::after {
  content: 'Image';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-us-text p { color: var(--text-mid); }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.about-pillar {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.about-pillar h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.about-pillar p { font-size: 0.875rem; }

/* ── NAV LOGO PLACEHOLDER ── */
.nav-logo-placeholder {
  width: 240px;
  height: 240px;
  background: var(--sand);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
