:root {
  --bg: #0f1115;
  --bg-soft: #181c23;
  --ink: #f2f4f8;
  --muted: #aab2c0;
  --orange: #ff7a22;
  --orange-soft: #ff9a54;
  --navy: #1a2e4e;
  --line: #2b313e;
  --card: rgba(24, 28, 35, 0.76);
  --radius: 18px;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 8% 10%, #1c304f 0%, transparent 28%),
    radial-gradient(circle at 90% 8%, #35251a 0%, transparent 25%),
    linear-gradient(155deg, #0f1115 10%, #151820 65%, #0f1115 100%);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.bg-shape-1 {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 90px;
  background: var(--orange);
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  right: -80px;
  bottom: 10%;
  background: #365f95;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 21, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand span {
  color: var(--orange-soft);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.hero {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: start;
}

.kicker {
  color: var(--orange-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.14;
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  max-width: 20ch;
}

.hero-text {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 1.25rem;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.3rem;
}

.btn {
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--orange), #ff954a);
  color: #1b1b1b;
  box-shadow: 0 12px 30px rgba(255, 122, 34, 0.3);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.metrics li {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.85rem;
  box-shadow: var(--shadow);
}

.metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.photo-frame {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.38);
  background: rgba(255, 255, 255, 0.02);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  aspect-ratio: 5 / 4;
  margin-top: clamp(2rem, 3.8vw, 2.8rem);
}

.hero-photo img {
  object-position: center 42%;
  transform: scale(1.16);
  transform-origin: center 42%;
}

.section {
  padding: 4.2rem 0;
}

.section-head p {
  max-width: 64ch;
  color: var(--muted);
}

.about-layout {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.1rem;
  align-items: stretch;
}

.section-photo {
  min-height: 430px;
}

.about-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-grid p {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pillars-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: linear-gradient(165deg, rgba(26, 46, 78, 0.4), rgba(24, 28, 35, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.timeline {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.phase {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.phase span {
  display: inline-block;
  font-size: 0.76rem;
  color: #9bc0ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.phase h3 {
  margin-top: 0.45rem;
  font-size: 1rem;
}

.phase p {
  margin-bottom: 0;
  color: var(--muted);
}

.logos-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.logo-card {
  background: rgba(17, 21, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  min-height: 150px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.logo-card img {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.04);
}

.logo-card span {
  font-size: 0.9rem;
  color: #cfd6e4;
  text-align: center;
  font-weight: 600;
}

.testimonials-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  background: linear-gradient(160deg, rgba(17, 21, 30, 0.95), rgba(22, 31, 48, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.testimonial-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.testimonial-photo-giovani {
  object-position: center 14%;
}

.testimonial-photo-quenia {
  object-position: center 12%;
}

.testimonial-text {
  margin: 0;
  color: #d7deea;
  font-size: 0.95rem;
}

.testimonial-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #f4f7fc;
}

.testimonial-role {
  margin: 0;
  font-size: 0.88rem;
  color: #9eabbe;
}

.split-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1a2e4e 0%, #151921 60%, #2f251f 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
}

.split-card ul {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.split-card li {
  margin-bottom: 0.45rem;
}

.contact-card {
  padding: 2.3rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 122, 34, 0.16), rgba(26, 46, 78, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-photo {
  aspect-ratio: 4 / 5;
  max-height: 380px;
  width: 100%;
}

.contact-photo img {
  object-position: center 24%;
}

.contact-copy {
  text-align: left;
}

.contact-copy h2 {
  max-width: 24ch;
}

.contact-items {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.contact-items a {
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 600;
}

.contact-items a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-wrap p {
  color: #8d97a9;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .hero-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
    margin-top: 0;
  }

  .hero-photo img {
    transform: scale(1.08);
    transform-origin: center 42%;
  }

  .section-photo {
    min-height: 360px;
  }

  .contact-photo {
    aspect-ratio: 4 / 5;
    max-height: 380px;
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-copy h2 {
    margin: 0 auto;
  }

  .contact-items {
    justify-content: center;
  }

  .split-card {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .hero {
    padding-top: 5.8rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}
