/* ============================================
   INSPIRE AGENCY — Homepage Styles
   pages/home.css
   ============================================ */

/* =====================
   HERO
   ===================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0a0a0a;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-top: var(--nav-height);
}

.hero .label {
  color: rgba(245, 245, 247, 0.6);
  margin-bottom: var(--space-sm);
}

.hero__headline {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #f5f5f7;
  max-width: 14ch;
  margin-bottom: var(--space-sm);
}

.hero__sub {
  font-size: var(--font-size-md);
  color: rgba(245, 245, 247, 0.65);
  max-width: 48ch;
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

.hero__ctas {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero .btn--primary {
  background-color: #f5f5f7;
  color: #0a0a0a;
}

.hero .btn--primary:hover {
  background-color: #e0e0e0;
}

.hero .btn--ghost {
  border-color: rgba(245, 245, 247, 0.3);
  color: #f5f5f7;
}

.hero .btn--ghost:hover {
  border-color: rgba(245, 245, 247, 0.8);
  background-color: rgba(245, 245, 247, 0.08);
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero__content {
    width: 100%;
  }

  .hero__headline {
    font-size: clamp(42px, 13vw, 60px);
    max-width: 8ch;
  }

  .hero__sub {
    max-width: none;
    font-size: var(--font-size-base);
  }

  .hero__ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* =====================
   SERVICES TEASER
   ===================== */

.services-teaser {
  padding-block: var(--space-2xl);
  border-top: var(--border-rule);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.service-card {
  padding: var(--space-md);
  border: var(--border-thin);
  border-top: none;
  border-left: none;
  transition: background-color var(--duration-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card:nth-child(odd) {
  border-left: none;
}

.service-card:nth-child(1),
.service-card:nth-child(2) {
  border-top: var(--border-thin);
}

.service-card:hover {
  background-color: var(--color-bg-secondary);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.service-card__name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  transition: transform var(--duration-base) var(--ease-out);
}

.service-card:hover .service-card__name {
  transform: translateY(-3px);
}

.service-card__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.service-card__arrow {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-tertiary);
  transition: color var(--duration-fast) ease, letter-spacing var(--duration-base) var(--ease-out);
}

.service-card:hover .service-card__arrow {
  color: var(--color-text-primary);
  letter-spacing: 0.04em;
}

/* Last card if odd count — span full width */
.service-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-left: none;
    border-right: none;
  }
}

/* =====================
   STATS / NUMBERS
   ===================== */

.stats {
  padding-block: var(--space-xl);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: var(--space-md);
  border-left: var(--border-thin);
  text-align: center;
}

.stat-item:first-child {
  border-left: none;
}

.stat-item__value {
  font-size: clamp(36px, 4.25vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-bg);
  margin-bottom: 8px;
  white-space: nowrap;
}

.stat-item__label {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0;
}

.section--inverted .stat-item {
  border-left-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .section--inverted .stat-item__value {
  color: #1d1d1f;
}

[data-theme="dark"] .section--inverted .stat-item__label {
  color: #6e6e73;
}

[data-theme="dark"] .section--inverted .stat-item {
  border-left-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) {
    border-left: none;
  }

  .stat-item:nth-child(odd) {
    border-left: none;
  }
}

/* =====================
   PORTFOLIO PREVIEW
   ===================== */

.portfolio-preview {
  padding-block: var(--space-2xl);
  border-top: var(--border-rule);
}

.portfolio-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-block: var(--space-lg);
}

.portfolio-preview__cta {
  text-align: center;
}

@media (max-width: 900px) {
  .portfolio-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .portfolio-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* =====================
   MANIFESTO (PINNED SCROLL)
   ===================== */

.manifesto {
  padding-block: var(--space-2xl);
  border-top: var(--border-rule);
  overflow: hidden;
}

.manifesto__inner {
  max-width: 900px;
}

.manifesto .label {
  margin-bottom: var(--space-md);
}

.manifesto__text {
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.manifesto__text .manifesto-word {
  opacity: 0.15;
}

/* =====================
   WHY INSPIRE
   ===================== */

.why-inspire {
  padding-block: var(--space-2xl);
  border-top: var(--border-rule);
}

.why-inspire__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-lg);
}

.why-item {
  padding: var(--space-md);
  border-left: var(--border-thin);
}

.why-item:first-child {
  border-left: none;
  padding-left: 0;
}

.why-item__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.why-item__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.why-item__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .why-inspire__grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-left: none;
    border-top: var(--border-thin);
    padding: var(--space-sm) 0;
  }

  .why-item:first-child {
    border-top: none;
  }
}

/* =====================
   TESTIMONIALS
   ===================== */

.testimonials {
  padding-block: var(--space-2xl);
  border-top: var(--border-rule);
}

.testimonials__carousel {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: var(--space-lg);
  border-top: var(--border-thin);
}

.testimonials__carousel::-webkit-scrollbar {
  display: none;
}

.testimonials__carousel .testimonial {
  border-right: var(--border-thin);
  flex-shrink: 0;
}

/* CTA BANNER styles moved to components.css */
