:root {
  --ink-900: #102040;
  --ink-800: #203050;
  --ink-700: #304060;
  --slate-500: #7080a0;
  --slate-300: #a0b0d0;
  --cloud-100: #e0e0f0;
  --cloud-50: #f0f0ff;
  --paper: #fcfcff;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(16, 32, 64, 0.16);
  --shadow-soft: 0 8px 24px rgba(16, 32, 64, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 92% 20%, rgba(160, 176, 208, 0.22), rgba(160, 176, 208, 0) 40%),
    linear-gradient(150deg, #d9dce9, #edf0f9 52%, #f9faff);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
  color: rgba(16, 32, 64, 0.86);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(252, 252, 255, 0.82);
  border-bottom: 1px solid rgba(32, 48, 80, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  font-size: 0.95rem;
  padding: 0.62rem 0.72rem;
  border-radius: 10px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(112, 128, 160, 0.16);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--ink-900);
  color: white;
  padding: 0.52rem 0.65rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: linear-gradient(125deg, #102040, #304060);
  color: white;
}

.btn-ghost {
  border-color: rgba(16, 32, 64, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.6rem 0 4.2rem;
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.7vw, 3.8rem);
}

.hero p {
  font-size: 1.03rem;
  max-width: 60ch;
}

.hero-card {
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 255, 0.9));
  border: 1px solid rgba(32, 48, 80, 0.16);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.stats {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.stats div {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(32, 48, 80, 0.13);
  padding: 0.75rem;
}

.stats strong {
  display: block;
  font-size: 1.15rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(248, 249, 255, 0.9));
  border-top: 1px solid rgba(32, 48, 80, 0.1);
  border-bottom: 1px solid rgba(32, 48, 80, 0.1);
}

.section-head {
  max-width: 700px;
  margin-bottom: 1.3rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  border: 1px solid rgba(32, 48, 80, 0.12);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 42px 1fr;
  align-items: start;
}

.step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(130deg, #203050, #405070);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.page-hero {
  padding: 4.2rem 0 2rem;
}

.cta-panel {
  margin-top: 2.2rem;
  background: linear-gradient(140deg, #102040, #2d456a);
  color: white;
  border-radius: calc(var(--radius) + 8px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.88);
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero .grid-2 {
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  border-bottom: 1px dashed rgba(32, 48, 80, 0.2);
  padding: 0.6rem 0;
}

.contact-photo-wrap {
  margin: 0.9rem 0 1.2rem;
  padding: 0.8rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(235, 239, 250, 0.9));
  border: 1px solid rgba(32, 48, 80, 0.16);
  box-shadow: var(--shadow-soft);
}

.contact-photo {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.contact-photo-wrap figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: rgba(16, 32, 64, 0.82);
}

.form-wrap {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  border: 1px solid rgba(32, 48, 80, 0.16);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  margin: 0.35rem 0 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(32, 48, 80, 0.2);
  background: var(--paper);
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(64, 80, 128, 0.38);
  border-color: rgba(64, 80, 128, 0.6);
}

.site-footer {
  padding: 2.2rem 0 2.5rem;
  border-top: 1px solid rgba(32, 48, 80, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(1120px, 94vw);
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    right: 3vw;
    top: 68px;
    width: min(320px, 94vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.7rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(32, 48, 80, 0.14);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero p,
  .page-hero p {
    font-size: 0.98rem;
  }

  .hero-card {
    padding: 0.9rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 34px 1fr;
  }

  .step {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .section,
  .page-hero {
    padding-top: 3rem;
    padding-bottom: 1.6rem;
  }

  .cta-panel {
    margin-top: 1.4rem;
    padding: 1.15rem;
  }

  .contact-photo {
    max-height: 300px;
  }

  .form-wrap {
    padding: 0.9rem;
  }

  .footer-grid {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .logo {
    font-size: 0.94rem;
    gap: 0.55rem;
  }

  .logo-img {
    height: 80px;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .btn {
    width: 100%;
    margin-bottom: 0.55rem;
  }

  .section-head {
    margin-bottom: 1rem;
  }

  .contact-photo {
    max-height: 260px;
  }
}
