/* Orbit Labs — Home page styles only */

/* FM Bolyar Sans Pro — hero title only (assets/fonts/) */

.page-home {
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

/* Everything else on home uses soft sans */
.page-home,
.page-home p,
.page-home .lead,
.page-home h2,
.page-home h3,
.page-home .hero-tagline,
.page-home .hero-description,
.page-home .hero-badge,
.page-home .section-label,
.page-home .btn,
.page-home .nav-desktop a,
.page-home .nav-mobile a,
.page-home .footer-heading,
.page-home .footer-links a,
.page-home .footer-brand p,
.page-home .service-card h3,
.page-home .service-card p,
.page-home .service-card-tag,
.page-home .why-card h3,
.page-home .why-card p {
  font-family: var(--font-body);
}

/* ── Full-screen hero ── */

.page-home .hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #fff8f4 100%);
}

.page-home .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-home .hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: calc(var(--header-height)) 4rem;
  margin-top: -6rem;
  background: transparent;
}

.page-home .hero-inner {
  display: block;
  max-width: 620px;
}

.page-home .hero-badge {
  animation: fadeUp 0.7s ease both;
}

.page-home .hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  animation: fadeUp 0.7s ease 0.1s both;
}

.page-home .hero-title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: 0.35rem;
  animation: fadeUp 0.7s ease 0.2s both;
}

.page-home .hero-tagline {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 1.5rem;
  animation: fadeUp 0.7s ease 0.3s both;
  background-color: var(--color-bg-accent);
}

.page-home .hero-description {
  animation: fadeUp 0.7s ease 0.4s both;
}

.page-home .hero-actions {
  animation: fadeUp 0.7s ease 0.5s both;
}

.page-home .hero-actions .btn-outline {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: transparent;
  border-color: rgba(226, 230, 236, 0.75);
  transform: translateZ(0);
}

.page-home .hero-actions .btn-outline:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

/* ── What We Do section ── */

.page-home .section-services {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

.page-home .section-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), #ffb380, transparent);
}

.page-home .section-services .section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-home .service-cards {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .page-home .service-cards {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.page-home .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2rem 2rem;
  background: linear-gradient(160deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.page-home .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.page-home .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(238, 105, 34, 0.12);
  border-color: rgba(238, 105, 34, 0.25);
}

.page-home .service-card:hover::before {
  transform: scaleX(1);
}

.page-home .service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #ffe8d9 100%);
  border-radius: 14px;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(238, 105, 34, 0.15);
}

.page-home .service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  padding-right: 0.5rem;
}

.page-home .service-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  flex: 1;
}

.page-home .service-card-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  border-radius: 4px;
  align-self: flex-start;
}

/* ── Why Orbit Labs section ── */

.page-home .section-why {
  position: relative;
  background: linear-gradient(180deg, #fff8f4 0%, #f8f9fb 100%);
  overflow: hidden;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .page-home .section-why {
    padding: 8rem 0;
  }
}

.page-home .section-why::after {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 105, 34, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .why-grid {
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .page-home .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-home .why-card {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(26, 29, 38, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-home .why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(238, 105, 34, 0.1);
}

.page-home .why-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: 10px;
}

.page-home .why-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.page-home .why-card p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── CTA section ── */

.page-home .section-cta {
  position: relative;
  padding-block: 5rem;
  background: linear-gradient(135deg, #1a1d26 0%, #2a2f3d 50%, #1a1d26 100%);
  overflow: hidden;
}

.page-home .section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(238, 105, 34, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(238, 105, 34, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-home .section-cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .page-home .section-cta .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-home .section-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 480px;
}

.page-home .section-cta p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
  margin-top: 0.5rem;
}

.page-home .section-cta .btn-primary {
  flex-shrink: 0;
}

/* Transparent header on hero */

.page-home .site-header {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-color: transparent;
}

.page-home .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}
