/* Kaya Global Solutions LLC — Enterprise Corporate Site */
:root {
  --navy-950: #050e1a;
  --navy-900: #071525;
  --navy-800: #0d2138;
  --navy-700: #163251;
  --platinum-50: #fafbfc;
  --platinum-100: #f2f4f7;
  --platinum-200: #e4e8ee;
  --platinum-300: #c8ced8;
  --platinum-400: #9aa3b2;
  --platinum-500: #6b7585;
  --white: #ffffff;
  --steel: #5a7394;
  --accent-line: rgba(154, 163, 178, 0.45);
  --text-on-dark: #e8ecf1;
  --text-muted: #8b95a5;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --container: min(1140px, calc(100% - 3.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy-900);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 21, 37, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(232, 236, 241, 0.06);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 14, 26, 0.96);
  border-bottom-color: rgba(232, 236, 241, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.brand-mark {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--platinum-300);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(232, 236, 241, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.brand-llc {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--platinum-400);
  font-weight: 500;
  margin-top: 0.1rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--platinum-300);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.nav-cta {
  color: var(--white) !important;
  border: 1px solid rgba(232, 236, 241, 0.28);
  padding: 0.5rem 1.1rem;
  letter-spacing: 0.03em !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--platinum-300);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--platinum-200);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 1.75rem 1.5rem;
  border-top: 1px solid rgba(232, 236, 241, 0.08);
  background: var(--navy-950);
}

.mobile-nav a {
  color: var(--platinum-200);
  padding: 0.9rem 0;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(232, 236, 241, 0.06);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 880px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 9rem 0 6rem;
  background: var(--navy-900);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 42%, var(--navy-950) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 236, 241, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 241, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 72% 35%, black 15%, transparent 72%);
  animation: grid-drift 32s linear infinite;
}

.hero-glow {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  right: -18%;
  top: -25%;
  background: radial-gradient(circle, rgba(90, 115, 148, 0.22), transparent 68%);
  animation: glow-pulse 9s ease-in-out infinite alternate;
}

.hero-lines {
  position: absolute;
  inset: 0;
}

.hero-lines span {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 163, 178, 0.32), transparent);
  animation: line-sweep 12s var(--ease) infinite;
}

.hero-lines span:nth-child(1) {
  top: 30%;
  left: 0;
  width: 48%;
}

.hero-lines span:nth-child(2) {
  top: 54%;
  right: 0;
  width: 38%;
  animation-delay: 3s;
}

.hero-lines span:nth-child(3) {
  top: 76%;
  left: 12%;
  width: 62%;
  animation-delay: 6s;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.hero-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--platinum-300);
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--platinum-200);
}

.hero-sub {
  font-size: clamp(1.02rem, 1.45vw, 1.125rem);
  font-weight: 300;
  color: var(--platinum-400);
  max-width: 36rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--white);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--platinum-200);
}

.btn-ghost {
  background: transparent;
  color: var(--platinum-200);
  border-color: rgba(232, 236, 241, 0.22);
}

.btn-ghost:hover {
  border-color: var(--platinum-300);
  color: var(--white);
}

.btn-lg {
  padding: 1.05rem 1.75rem;
}

/* Sections */
.section-intro {
  max-width: 34rem;
  margin-bottom: 4rem;
}

.section-intro-light {
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}

.section-intro h2,
.cta-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--platinum-500);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
}

/* Services */
.services {
  padding: 7.5rem 0;
  background: var(--platinum-50);
}

.services-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--platinum-200);
}

.service {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--platinum-200);
  display: grid;
  gap: 0.9rem;
}

.service-index {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

.service p {
  color: var(--platinum-500);
  max-width: 32rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (min-width: 920px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
    gap: 0;
  }

  .service {
    padding: 0 2.25rem 0 0;
    border-bottom: none;
    border-right: 1px solid var(--platinum-200);
  }

  .service:last-child {
    border-right: none;
    padding-right: 0;
  }

  .service:not(:first-child) {
    padding-left: 2.25rem;
  }
}

/* Why */
.why {
  padding: 7.5rem 0;
  background: var(--navy-900);
  color: var(--text-on-dark);
}

.why .eyebrow {
  color: var(--platinum-400);
}

.why h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  gap: 2.75rem;
}

.why-item {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(232, 236, 241, 0.1);
}

.why-icon {
  color: var(--platinum-300);
  margin-bottom: 1.15rem;
  opacity: 0.9;
}

.why-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.why-item p {
  color: var(--text-muted);
  max-width: 26rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (min-width: 920px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.25rem;
  }
}

/* CTA */
.cta-band {
  padding: 5.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--platinum-200);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cta-copy p {
  color: var(--platinum-500);
  max-width: 30rem;
  font-size: 1.02rem;
}

@media (min-width: 820px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--platinum-300);
  padding: 4.5rem 0 2.25rem;
  border-top: 1px solid rgba(232, 236, 241, 0.06);
}

.footer-grid {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid rgba(232, 236, 241, 0.08);
}

.footer-company {
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 0.65rem;
}

.footer-tagline {
  font-size: 0.84rem;
  color: var(--platinum-500);
  max-width: 22rem;
  line-height: 1.55;
}

.footer-contact h3,
.footer-legal h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--platinum-400);
  margin-bottom: 1.1rem;
}

.footer-contact p {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
  color: var(--platinum-300);
}

.footer-contact strong {
  display: inline-block;
  font-weight: 600;
  color: var(--platinum-200);
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.footer-contact a {
  color: var(--white);
  border-bottom: 1px solid rgba(232, 236, 241, 0.22);
  transition: border-color 0.2s ease;
}

.footer-contact a:hover {
  border-bottom-color: var(--white);
}

.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-legal a {
  font-size: 0.92rem;
  color: var(--platinum-300);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1.85rem;
  font-size: 0.78rem;
  color: var(--platinum-500);
  letter-spacing: 0.01em;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1.25fr 0.75fr;
    gap: 3.25rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background: var(--platinum-100);
}

.legal-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 7.5rem 0 3.25rem;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.legal-header p {
  color: var(--platinum-400);
  font-size: 0.92rem;
}

.legal-body {
  padding: 3.5rem 0 5.5rem;
}

.legal-body article {
  max-width: 42rem;
  background: var(--white);
  padding: 2.75rem;
  border: 1px solid var(--platinum-200);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 1.85rem 0 0.7rem;
  color: var(--navy-900);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--platinum-500);
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-body a {
  color: var(--navy-800);
  border-bottom: 1px solid var(--platinum-300);
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--platinum-300);
}

.legal-back:hover {
  color: var(--white);
}

/* Animations */
@keyframes grid-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(72px);
  }
}

@keyframes glow-pulse {
  from {
    opacity: 0.55;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes line-sweep {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-6%);
  }
  25%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(6%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-up 0.95s var(--ease) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.22s;
}

.reveal-delay-3 {
  animation-delay: 0.34s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-grid,
  .hero-glow,
  .hero-lines span {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
