/* ============================================================
   HERO — Exact match to reference screenshot
   SkillPeopleHire — restored clean version
   ============================================================ */

/* ============================================================
   HERO SECTION
   ============================================================ */
.rh {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---- Background ------------------------------------------ */
.rh__bg {
  position: absolute;
  inset: 0;
  background-color: #030E0A;
  overflow: hidden;
  z-index: 0;
}

/* Dark green tint overlay — sits directly on top of the photo */
.rh__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2,14,24,.60) 0%, rgba(3,15,12,.65) 45%, rgba(7,26,14,.58) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Hero background photo layer — bottom of the stack */
.rh__photo {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1800&q=85&fit=crop&crop=top');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(0.35) brightness(0.70);
  z-index: 1;
}

.rh__panel--1 {
  position: absolute;
  top: -15%; left: -8%;
  width: 62%; height: 80%;
  background: rgba(2,14,22,.25);
  transform: skewY(-7deg) skewX(2deg);
  z-index: 3;
}

.rh__panel--2 {
  position: absolute;
  top: 8%; right: -5%;
  width: 50%; height: 60%;
  background: rgba(8,32,12,.18);
  transform: skewY(5deg) skewX(-1deg);
  z-index: 3;
}

.rh__panel--3 {
  position: absolute;
  bottom: 8%; left: 15%;
  width: 70%; height: 45%;
  background: rgba(3,16,10,.15);
  transform: skewY(-3deg);
  z-index: 3;
}

/* Focal glow behind headline */
.rh__glow-focal {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,255,63,.07) 0%, rgba(107,191,43,.03) 40%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
  z-index: 4;
}

/* Ambient mid glow */
.rh__glow-mid {
  position: absolute;
  bottom: 20%; right: 5%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(16,61,22,.15) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
}

/* Grid texture — very faint */
.rh__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 4;
}

/* Subtle dot industry overlay */
.rh__industry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  background:
    radial-gradient(circle 2px at 15% 25%, rgba(255,255,255,1) 0%, transparent 0%) 0 0 / 120px 120px,
    radial-gradient(circle 1px at 45% 60%, rgba(255,255,255,1) 0%, transparent 0%) 0 0 / 80px 80px,
    radial-gradient(circle 1.5px at 75% 35%, rgba(255,255,255,1) 0%, transparent 0%) 0 0 / 100px 100px;
  z-index: 4;
}

/* Vignette — softened so image still shows through centre */
.rh__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 110% at 50% 50%, transparent 40%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  z-index: 5;
}

/* ============================================================
   HERO CONTENT
   ============================================================ */
.rh__body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
}

.rh__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

/* Badge — fix 1: add top spacing so it sits below the nav with breathing room */
.rh__badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(107,191,43,.45);
  color: rgba(107,191,43,.85);
  font-family: 'Lato', 'Inter', system-ui, sans-serif;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .4375rem 1.125rem;
  border-radius: 30px;
  margin-top: 2.5rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.rh__badge-dot {
  width: 6px; height: 6px;
  background: #6BBF2B;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(107,191,43,.7);
  animation: dotPulse 3s ease-in-out infinite;
}

/* Main headline — "Excellence" — left-aligned, large serif */
.rh__h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(3.5rem, 8.5vw, 5.5rem);
  font-weight: 900;
  font-style: normal;
  color: #ffffff;
  line-height: .92;
  letter-spacing: -.03em;
  margin: 0 0 .5rem;
  text-shadow: 0 2px 48px rgba(0,0,0,.25);
  text-align: center;
  width: 100%;
}

/* Sub line 1 — italic, muted grey, left-aligned */
.rh__sub1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.42);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: .2rem;
  text-align: center;
  width: 100%;
}

/* Sub line 2 — bold, white, left-aligned */
.rh__sub2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 800;
  font-style: normal;
  color: rgba(255,255,255,.92);
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

/* Description — fix 2: smaller text, left-aligned */
.rh__desc {
  font-family: 'Lato', 'Inter', system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  max-width: 500px;
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  letter-spacing: .012em;
  text-align: center;
}

/* ---- CTA Buttons ----------------------------------------- */
/* CTA Buttons — fix 3: add bottom margin so buttons have space before contact strip */
.rh__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.rh__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  height: 58px;
  padding: 0 1.875rem;
  border-radius: 6px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .005em;
  transition: transform 260ms cubic-bezier(.4,0,.2,1), box-shadow 260ms, background 200ms, border-color 200ms;
}

.rh__btn:hover { transform: translateY(-2px); }

/* Primary green */
.rh__btn--primary {
  background: #6BBF2B;
  color: #ffffff;
  border: 2px solid rgba(107,191,43,.8);
  box-shadow: 0 4px 20px rgba(107,191,43,.35);
}

.rh__btn--primary:hover {
  background: #5BAF23;
  box-shadow: 0 8px 32px rgba(107,191,43,.5);
  color: #fff;
}

/* Ghost white border */
.rh__btn--ghost {
  background: transparent;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}

.rh__btn--ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

@media (max-width: 720px) {
  .rh__btns { flex-direction: column; width: 100%; max-width: 380px; }
  .rh__btn  { width: 100%; }
}

/* ============================================================
   CONTACT STRIP — bottom of hero
   ============================================================ */
.rh__strip {
  position: relative;
  z-index: 10;
  background: rgba(0,0,0,.45);
  border-top: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.rh__strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .rh__strip      { padding: 1.375rem 0; }
  .rh__strip-grid { grid-template-columns: 1fr; gap: 1.125rem; }
}

.rh__strip-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 2.25rem;
  border-right: 1px solid rgba(255,255,255,.06);
}

.rh__strip-item:last-child { border-right: none; }

@media (max-width: 640px) {
  .rh__strip-item { border-right: none; padding: .25rem 1rem; align-items: flex-start; }
}

.rh__strip-icon {
  color: #6BBF2B;
  flex-shrink: 0;
  margin-top: .875rem;
}

.rh__strip-text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-top: .25rem;
}

.rh__strip-label {
  font-family: 'Lato', 'Inter', system-ui, sans-serif;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  line-height: 1;
}

.rh__strip-value {
  font-family: 'Lato', 'Inter', system-ui, sans-serif;
  font-size: .9375rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  line-height: 1.5;
  transition: color .15s;
}

a.rh__strip-value:hover { color: #fff; }

/* ============================================================
   THREE-COLUMN FEATURE CARDS
   ============================================================ */
.three-col {
  background: #F8F8F8;
  border-bottom: 1px solid #e8e8e0;
}

.three-col .c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.three-col .c .tcol-item {
  background: #ffffff;
  padding: 2.875rem 2.625rem;
  border-right: 1px solid #eeeeea;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.three-col .c .tcol-item:last-child { border-right: none; }

.tcol-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: #6BBF2B; background: none; border-radius: 0;
}

.tcol-icon svg { width: 36px; height: 36px; }

.tcol-item__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #6BBF2B;
}

.tcol-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem; font-weight: 700;
  color: #1a1a2e; line-height: 1.25; letter-spacing: -.01em;
}

.tcol-item p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .9375rem; font-weight: 400;
  color: #6b6b6b; line-height: 1.75;
}

@media (max-width: 767px) {
  .three-col .c { grid-template-columns: 1fr; }
  .three-col .c .tcol-item { border-right: none; border-bottom: 1px solid #eeeeea; padding: 2rem 1.5rem; }
  .three-col .c .tcol-item:last-child { border-bottom: none; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes glowPulse {
  0%, 100% { opacity: .85; transform: translate(-50%, -58%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -58%) scale(1.08); }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(107,191,43,.7); }
  50%       { box-shadow: 0 0 16px rgba(107,191,43,1), 0 0 28px rgba(107,191,43,.4); }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .rh__body { padding: 3.5rem 1rem 1.5rem; }
  .rh__h1   { font-size: clamp(3.5rem, 14vw, 5rem); }
  .rh__sub1, .rh__sub2 { font-size: clamp(.875rem, 5vw, 1.25rem); }
  .rh__glow-focal { width: 360px; height: 360px; }
}
