/* ============================================================
   ELITE MARKETING — HOME PAGE CSS
   ============================================================ */

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,
      rgba(15, 32, 68, 0.7) 0%,
      transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 50%);
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 80%);
}

.hero__bg-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  pointer-events: none;
}

.hero__bg-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(15, 32, 68, 0.5);
  top: -100px;
  left: -100px;
}

.hero__bg-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(201, 168, 76, 0.04);
  bottom: 10%;
  right: 5%;
}

/* Hero content */
.hero__inner {
  position: relative;
  z-index: 1;
  padding: var(--space-16) 0 var(--space-12);
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
}

.hero__badge {
  margin-bottom: var(--space-4);
  display: inline-flex;
  opacity: 0;
  animation: heroFadeUp var(--dur-slower) var(--ease-out-expo) 200ms forwards;
}

.hero__title {
  font-size: var(--text-display);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: var(--space-4);
  opacity: 0;
  animation: heroFadeUp var(--dur-slower) var(--ease-out-expo) 350ms forwards;
}

.hero__title .hero__title-accent {
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--color-gray-1);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroFadeUp var(--dur-slower) var(--ease-out-expo) 500ms forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp var(--dur-slower) var(--ease-out-expo) 650ms forwards;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  opacity: 0;
  animation: heroFadeUp var(--dur-slower) var(--ease-out-expo) 900ms forwards;
}

.hero__scroll-text {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray-2);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero__visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: 0;
  animation: heroFadeIn var(--dur-scene) var(--ease-out-expo) 400ms forwards;
  pointer-events: none;
  z-index: 1;
}

.hero__visual-card {
  background: var(--color-bg-2);
  border: var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), var(--shadow-gold);
  backdrop-filter: blur(20px);
}

.hero__visual-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: var(--border-subtle);
}

.hero__visual-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}
.hero__visual-dot:nth-child(1) { background: #FF5F57; }
.hero__visual-dot:nth-child(2) { background: #FFBD2E; }
.hero__visual-dot:nth-child(3) { background: #28CA41; }

.hero__visual-title {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gray-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.05);
}

.hero__metric:last-child {
  border-bottom: none;
}

.hero__metric-label {
  font-size: var(--text-sm);
  color: var(--color-gray-2);
}

.hero__metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-gold);
}

.hero__metric-bar {
  width: 100px;
  height: 4px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 var(--space-2);
}

.hero__metric-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  animation: barFill 1.2s var(--ease-out-expo) 1000ms forwards;
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

.manifesto::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

.manifesto__text {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.manifesto__text .gold {
  color: var(--color-gold);
}

/* ─── SERVICES PREVIEW ─── */
.services-preview {}

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.service-card {
  background: var(--color-bg-2);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--dur-base) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out-expo);
}

.service-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold-hover);
  transform: translateY(-6px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dim);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  transition: all var(--dur-base) var(--ease-out-expo);
}

.service-card:hover .service-card__icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.35);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-1);
  line-height: 1.7;
  flex: 1;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-1);
}

.service-tag {
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-gray-2);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: var(--space-1);
  transition: gap var(--dur-base) var(--ease-out-expo);
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-out-expo);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ─── STATS ─── */
.stats-section {
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(15,32,68,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.stats-section .stats-grid {
  position: relative;
  z-index: 1;
}

/* ─── WHY US ─── */
.why-us__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  margin-bottom: var(--space-10);
}

.why-us__intro {
  font-size: var(--text-body-lg);
  color: var(--color-gray-1);
  line-height: 1.75;
  margin-top: var(--space-4);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.why-card {
  background: var(--color-bg-2);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4);
  transition: all var(--dur-base) var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.why-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-hover);
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-2);
  line-height: 1.65;
}

/* ─── PROJECTS PREVIEW ─── */
.projects-preview__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}

.projects-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* ─── REVIEWS STRIP ─── */
.reviews-strip {
  background: var(--color-bg-2);
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.reviews-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* ─── FINAL CTA ─── */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse,
    rgba(15, 32, 68, 0.5) 0%,
    rgba(201, 168, 76, 0.03) 40%,
    transparent 70%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta__title {
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-3);
}

.final-cta__subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-gray-1);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* ─── LOGO STRIP ─── */
.logo-strip {
  padding: var(--space-8) 0;
  border-top: var(--border-subtle);
  border-bottom: var(--border-subtle);
}

.logo-strip__label {
  text-align: center;
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gray-2);
  margin-bottom: var(--space-4);
}

.logo-strip__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.logo-strip__item {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gray-3);
  letter-spacing: -0.01em;
  transition: color var(--dur-base) var(--ease-in-out);
  white-space: nowrap;
}

.logo-strip__item:hover {
  color: var(--color-gray-1);
}

/* ─── HERO ANIMATIONS ─── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.15); }
}

@keyframes barFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero__visual { display: none; }
  .hero__inner  { max-width: 100%; }

  .services-preview__grid { grid-template-columns: 1fr; }
  .why-us__header { grid-template-columns: 1fr; gap: var(--space-4); }
  .why-us__grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-strip__grid    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero__inner { padding: var(--space-8) 0; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .services-preview__grid { grid-template-columns: 1fr; }
  .why-us__grid { grid-template-columns: 1fr; }
  .projects-preview__grid { grid-template-columns: 1fr; }
  .projects-preview__header { flex-direction: column; align-items: flex-start; }
  .final-cta__actions { flex-direction: column; align-items: center; }
  .manifesto__text { font-size: clamp(1.2rem, 4vw, 1.8rem); }
}
