:root {
  --bg: #0b1220;
  --bg-soft: #111a2b;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #142033;
  --text-soft: #52627a;
  --line: #d9e1ec;
  --primary: #163b72;
  --primary-strong: #0d2850;
  --accent: #c8a75d;
  --shadow: 0 20px 50px rgba(12, 25, 48, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  transition: 0.25s ease;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 225, 236, 0.8);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  font-weight: 500;
  color: var(--text-soft);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.nav-cta:hover {
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(200, 167, 93, 0.18), transparent 24%),
    linear-gradient(135deg, #0b1220 0%, #132340 52%, #10294f 100%);
  color: #fff;
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-label,
.profile-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow {
  color: #d6c08b;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  color: #d6e6ff;
}

.hero-text {
  max-width: 700px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 1.5rem 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #1b2230;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.profile-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.profile-badge {
  color: #d6c08b;
  margin-bottom: 1rem;
}

.profile-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.profile-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

.stats {
  margin-top: -2.1rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card,
.info-card,
.project-card,
.contact-card,
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.4rem;
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: var(--text-soft);
}

.section {
  padding: 5rem 0;
}

.alt-bg {
  background: var(--surface-alt);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.section-heading h2,
.section-heading p {
  margin-top: 0;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 0;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.2rem;
}

.section-label {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.section-content p,
.info-card p,
.project-card p,
.contact-card,
.timeline-item p,
.section-heading > p {
  color: var(--text-soft);
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.project-card,
.timeline-item,
.contact-card {
  padding: 1.6rem;
}

.info-card h3,
.project-card h3,
.timeline-item h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  gap: 0.8rem;
}

.full-width {
  width: 100%;
}

.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-content a {
  color: #fff;
}

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

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

@media (max-width: 960px) {
  .hero-grid,
  .section-grid,
  .contact-grid,
  .cards-3,
  .cards-2,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 1rem;
    left: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .stats {
    margin-top: 0;
    padding-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 4rem 0;
  }
}
