﻿@import url('./static/fonts/fonts.css');

:root {
  color-scheme: light;
  --ink: #1d2c22;
  --muted: #5a6c62;
  --accent: #2f8a4e;
  --accent-dark: #206437;
  --bg: #f3f7f0;
  --bg-soft: #f8fcf7;
  --card: #ffffff;
  --line: rgba(29, 44, 34, 0.12);
  --shadow: 0 18px 40px rgba(26, 46, 35, 0.12);
}

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

body {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', serif;
  color: var(--ink);
  background: radial-gradient(circle at 5% 15%, #e4f6e8 0%, transparent 45%),
    radial-gradient(circle at 90% 0%, #f9f3df 0%, transparent 48%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.72;
}

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

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  opacity: 0.58;
  z-index: 0;
}

.orb-1 {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(82, 172, 102, 0.35) 0%, rgba(82, 172, 102, 0) 70%);
}

.orb-2 {
  right: -130px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(250, 204, 111, 0.35) 0%, rgba(250, 204, 111, 0) 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(29, 44, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 44, 34, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(243, 247, 240, 0.9);
  border-bottom: 1px solid rgba(29, 44, 34, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-line {
  width: 1px;
  height: 36px;
  background: rgba(29, 44, 34, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.6px;
}

.nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover::after {
  width: 100%;
}

.cta,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
}

.cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(47, 138, 78, 0.3);
}

.cta:hover {
  background: var(--accent-dark);
}

.ghost {
  border: 1px solid rgba(47, 138, 78, 0.4);
  color: var(--accent-dark);
}

.hero {
  padding: 24px 0 0;
}

.hero + .section {
  padding-top: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  padding-top: 5vw;
}

.hero-kicker {
  color: var(--accent-dark);
  letter-spacing: 2px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.16;
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.hero-metrics div {
  background: var(--bg-soft);
  border: 1px solid rgba(29, 44, 34, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 24px;
  border: 1px solid rgba(29, 44, 34, 0.1);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow);
  height: auto;
  min-height: 0;
}

.slider-window {
  flex: none;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(29, 44, 34, 0.08);
  background: #ffffff;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.slider-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border: none;
}

.slider-dots {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(47, 138, 78, 0.25);
  cursor: pointer;
}

.slider-dots span.is-active {
  background: var(--accent);
}

.section {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head p {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.about-grid,
.service-grid,
.case-grid,
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card,
.service-card,
.case-card,
.contact-card,
.legal-card,
.download-card {
  background: var(--card);
  border: 1px solid rgba(29, 44, 34, 0.1);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(26, 46, 35, 0.08);
}

.about-card h3,
.service-card h3,
.case-card h3,
.contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.about-card p,
.case-card p {
  color: var(--muted);
}

.section-dark {
  background: linear-gradient(135deg, #2d5d3b 0%, #244b32 100%);
  color: #f2f8f2;
}

.section-dark .section-head p,
.section-dark .service-card p,
.section-dark .service-card li {
  color: rgba(242, 248, 242, 0.78);
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.service-card ul {
  margin-top: 12px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.service-card li {
  padding-left: 16px;
  position: relative;
}

.service-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #9fefb6;
}

.section-light {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(29, 44, 34, 0.08);
  border-bottom: 1px solid rgba(29, 44, 34, 0.08);
}

.contact-desc {
  color: var(--muted);
  margin: 16px 0 22px;
}

.contact-info {
  display: grid;
  gap: 11px;
}

.contact-info span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.contact-info strong {
  display: block;
  font-size: 15px;
}

.contact-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  border: 1px solid rgba(29, 44, 34, 0.2);
  border-radius: 11px;
  padding: 11px 12px;
  font-family: inherit;
}

.contact-card button {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.site-footer {
  padding: 30px 0 48px;
  border-top: 1px solid rgba(29, 44, 34, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-link {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-weight: 600;
}

.footer-link:hover {
  color: var(--accent);
}

.legal-wrap {
  max-width: 980px;
}

.legal-wrap .section-head h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.legal-card {
  margin-bottom: 16px;
}

.legal-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
  color: #394b42;
}

.legal-card ul {
  margin-left: 18px;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 10px 0 8px;
}

.legal-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid rgba(29, 44, 34, 0.12);
  background: #fff;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid rgba(29, 44, 34, 0.12);
  vertical-align: top;
  color: #394b42;
  font-size: 14px;
  line-height: 1.6;
}

.legal-table th {
  background: rgba(47, 138, 78, 0.12);
  color: #2e4339;
  font-weight: 600;
}

.download-wrap {
  max-width: 980px;
}

.download-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.download-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.download-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 4px;
}

.download-head p {
  color: var(--muted);
}

.download-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.download-slider-window {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(29, 44, 34, 0.12);
  background: #ffffff;
}

.download-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.download-slider-track img {
  min-width: 100%;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #ffffff;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.download-file {
  color: var(--muted);
  font-size: 13px;
}

.download-tips h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.download-tips ul {
  margin-left: 18px;
  color: #394b42;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    grid-auto-rows: auto;
  }

  .hero-copy,
  .hero-visual {
    height: auto;
    min-height: 0;
  }

  .slider-window {
    aspect-ratio: 9 / 16;
    flex: none;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-line,
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-inner > .cta {
    flex: none;
    margin-left: 8px;
    padding: 9px 14px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 16px;
    padding-bottom: 0;
  }

  .hero + .section {
    padding-top: 6px;
  }

  .hero-copy {
    padding: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-visual {
    padding: 10px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .slider-window {
    aspect-ratio: 3 / 4;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: column;
  }
}


