:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-primary: #0d6e6e;
  --color-primary-dark: #0a5555;
  --color-accent: #14b8a6;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 110, 110, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max-w: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo:hover {
  color: var(--color-primary);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: var(--shadow-sm);
}

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

.site-nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(20, 184, 166, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(13, 110, 110, 0.12), transparent),
    linear-gradient(180deg, #ecfdf5 0%, var(--color-bg) 55%);
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 110, 110, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 110, 110, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 30%, transparent);
}

.hero-content {
  max-width: 640px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(13, 110, 110, 0.08);
  border: 1px solid rgba(13, 110, 110, 0.15);
  border-radius: 999px;
}

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

.hero-desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.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-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 32px rgba(13, 110, 110, 0.25);
}

.btn-outline {
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 3rem;
  max-width: 560px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.about-intro p + p {
  margin-top: 1rem;
}

.about-intro strong {
  color: var(--color-primary-dark);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.stat-value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  border-color: rgba(13, 110, 110, 0.25);
  box-shadow: var(--shadow-md);
}

.service-card.featured {
  background: linear-gradient(160deg, #f0fdfa 0%, var(--color-surface) 50%);
  border-color: rgba(20, 184, 166, 0.3);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.service-card li + li {
  margin-top: 0.5rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.contact-value {
  font-size: 0.9375rem;
}

.contact-note {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(13, 110, 110, 0.06), rgba(20, 184, 166, 0.04));
  border: 1px solid rgba(13, 110, 110, 0.12);
  border-radius: var(--radius-lg);
}

.contact-note h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.contact-note p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.contact-note p + p {
  margin-top: 1rem;
}

.contact-hint {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 0.875rem !important;
  color: var(--color-primary-dark) !important;
}

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

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

.footer-icp a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-icp a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1;
    min-width: 140px;
  }
}

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

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

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

  .contact-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .btn {
    width: 100%;
  }
}
