/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-text: #1a2332;
  --color-muted: #5c6b7f;
  --color-accent: #0d4f6c;
  --color-accent-light: #1a7a9e;
  --color-border: #e2e8f0;
  --font-sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(13, 79, 108, 0.08);
  --radius: 12px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

.logo span {
  color: var(--color-accent);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--color-bg);
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(4rem, 12vw, 7rem) 0 clamp(5rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13, 79, 108, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #e8f0f5 0%, var(--color-bg) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 45%;
  max-width: 480px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(26, 122, 158, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-primary:hover {
  background: var(--color-accent-light);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-ghost:hover {
  background: rgba(13, 79, 108, 0.08);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* --- Sections --- */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head.align-left {
  text-align: left;
  margin-left: 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
}

.section-desc {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
}

/* --- About stats --- */
.about {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

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

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat span {
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13, 79, 108, 0.12);
}

.card-icon {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* --- Process --- */
.process {
  background: linear-gradient(180deg, var(--color-bg) 0%, #eef3f7 100%);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-inline: auto;
}

.steps li {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.steps li:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  font-size: 1.1rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* --- Contact --- */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

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

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.contact-list span:first-child {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.contact-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.contact-card-title {
  margin: 0 0 1.25rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(13, 79, 108, 0.25);
  outline-offset: 0;
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
.site-footer {
  padding: 2rem 0;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
