/* ============================================================
   RIGHT SOURCE HR — Home Page Styles
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,169,107,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(200,169,107,0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(13,13,13,0) 60%, rgba(13,13,13,1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero-title-line {
  display: block;
  color: var(--white);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.5s; }
.hero-title-line:nth-child(2) { animation-delay: 0.7s; }
.hero-title-line:nth-child(3) { animation-delay: 0.9s; }

.hero-title-italic {
  font-style: italic;
  color: var(--gold) !important;
  -webkit-text-stroke: 0;
}

.hero-sub {
  max-width: 520px;
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.3s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.5s forwards;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
}

.hero-stat[data-target="4"] .hero-stat-num::after,
.hero-stat[data-target="95"] .hero-stat-num::after {
  content: '';
}

.hero-stat[data-target="95"] .hero-stat-num::after {
  content: '%';
  font-size: 1.2rem;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0.3rem;
  font-weight: 500;
}

.hero-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(200,169,107,0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 2s forwards;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-lr;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================================================
   TAGLINE BAR
   ============================================================ */
.tagline-bar {
  background: var(--black-light);
  border-top: 1px solid rgba(200,169,107,0.12);
  border-bottom: 1px solid rgba(200,169,107,0.12);
  overflow: hidden;
  padding: 0.5rem 0;
}

.marquee-sep {
  color: var(--gold);
  font-size: 0.7rem;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--dur-med) var(--ease);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
}

.about-card-gold {
  background: var(--gold);
}

.about-card-gold h4,
.about-card-gold p {
  color: var(--black) !important;
}

.about-card-gold .about-card-icon {
  color: var(--black);
}

.about-card-span {
  grid-column: 1 / -1;
}

.about-card-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.about-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--black);
}

.about-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SERVICES PREVIEW
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  padding: 2.5rem 2rem;
  position: relative;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 500;
  transition: letter-spacing var(--dur-fast);
}

.service-link:hover { letter-spacing: 0.18em; }

/* ============================================================
   INDUSTRIES PREVIEW
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--dur-med) var(--ease);
  display: block;
}

.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--dur-med) var(--ease);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: rgba(200,169,107,0.4);
}

.industry-card:hover::before { transform: scaleX(1); }

.industry-card-featured {
  background: var(--black);
  border-color: rgba(200,169,107,0.3);
}

.industry-card-featured .industry-num,
.industry-card-featured h3 {
  color: var(--cream) !important;
}

.industry-card-featured p { color: var(--text-light) !important; }

.industry-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.industry-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform var(--dur-fast);
}

.industry-card:hover .industry-arrow { transform: translateX(5px); }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.stats-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-block {
  border-left: 2px solid rgba(200,169,107,0.3);
  padding-left: 1.75rem;
}

.stat-block .stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-block .stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.5rem;
  font-weight: 400;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-slider {
  overflow: hidden;
  margin-top: 1rem;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease);
}

.testimonials-track .testimonial-card {
  min-width: calc(33.333% - 1rem);
  flex-shrink: 0;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--beige-dark);
  border: none;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.t-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   CLIENT MARQUEE
   ============================================================ */
.client-marquee-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.client-track .client-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: color var(--dur-fast);
}

.client-track .client-name:hover { color: var(--gold); }

.client-track .client-sep {
  color: rgba(200,169,107,0.25);
  font-size: 0.6rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(200,169,107,0.1) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  .hero-content { padding-top: 8rem; padding-bottom: 6rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-div { height: 30px; }
  .about-teaser-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .stats-right { grid-template-columns: 1fr 1fr; }
  .testimonials-track .testimonial-card { min-width: 85vw; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 3rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat-div { display: none; }
}
