:root {
  --green: #1f7744;
  --green-dark: #155d32;
  --green-soft: #eaf6ee;
  --orange: #ff851b;
  --orange-dark: #d9630a;
  --orange-soft: #fff1e4;
  --ink: #333333;
  --muted: #777777;
  --line: #f0f0f0;
  --section: #f9fbf9;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-bar {
  padding: 6px 0;
  background: var(--green);
  color: #ffffff;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-contact {
  display: flex;
  align-items: center;
}

.top-bar a {
  margin-left: 20px;
  color: #ffffff;
}

.top-bar a:hover {
  text-decoration: underline;
}

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-name {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  position: relative;
  display: block;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  line-height: 76px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

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

.nav a.active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 3px;
  background: var(--green);
  content: "";
}

.language-picker {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

#languageSelect {
  min-width: 108px;
  height: 39px;
  padding: 0 10px;
  border: 1.5px solid var(--green);
  border-radius: 4px;
  background: #ffffff;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

#languageSelect:hover {
  background: var(--green-soft);
}

#languageSelect:focus-visible {
  outline: 3px solid rgba(31, 119, 68, 0.24);
  outline-offset: 2px;
}

.nav button {
  height: 39px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 36px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav .btn-login {
  margin-left: 8px;
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
}

.nav .btn-login:hover {
  background: var(--green);
  color: #ffffff;
}

.nav .btn-register {
  border: 1.5px solid var(--green);
  background: var(--green);
  color: #ffffff;
}

.nav .btn-register:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 80px 0 60px;
  background: #eff8f1;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  max-width: 560px;
  flex: 1;
}

.brand-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 16px;
  border-radius: 20px;
  background: var(--green);
  color: #ffffff;
  font-size: 13px;
}

.hero-text h1 {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-text h1 small {
  display: block;
  margin-top: 8px;
  color: #666666;
  font-size: 20px;
  font-weight: 400;
}

.hero-text > p {
  margin-bottom: 30px;
  color: #555555;
  font-size: 16px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-btns .btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btns .btn-primary {
  background: var(--green);
  color: #ffffff;
}

.hero-btns .btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(26, 107, 60, 0.3);
}

.hero-btns .btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
}

.hero-btns .btn-outline:hover {
  background: var(--green);
  color: #ffffff;
}

.hero-image {
  flex: 0 0 480px;
  text-align: right;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.brands {
  padding: 60px 0;
  background: #ffffff;
}

.brands .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.brand-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
}

.brand-card.green {
  background: var(--green-soft);
}

.brand-card.green::before {
  background: var(--green);
}

.brand-card.orange {
  background: var(--orange-soft);
}

.brand-card.orange::before {
  background: var(--orange);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.brand-label {
  margin-bottom: 8px;
  color: #999999;
  font-size: 12px;
  letter-spacing: 4px;
}

.brand-card h2 {
  margin-bottom: 6px;
  font-size: 28px;
  letter-spacing: 0;
}

.brand-card.green h2 {
  color: var(--green);
}

.brand-card.orange h2 {
  color: var(--orange-dark);
}

.brand-card .subtitle {
  margin-bottom: 20px;
  color: #888888;
  font-size: 14px;
}

.brand-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-services span {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  color: #555555;
  font-size: 13px;
}

.services-section,
.contact {
  padding: 80px 0;
}

.services-section {
  background: var(--section);
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 32px;
  letter-spacing: 0;
}

.section-title p {
  color: #888888;
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  box-shadow: 0 12px 40px rgba(31, 119, 68, 0.1);
}

.service-card img {
  width: 200px;
  height: auto;
  margin: 0 auto 18px;
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

.service-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 12px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.honors {
  padding: 60px 0;
  background: var(--green);
  color: #ffffff;
}

.honors .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.honor-item {
  min-width: 160px;
  flex: 1;
  text-align: center;
}

.honor-item .icon {
  margin-bottom: 8px;
  font-size: 36px;
}

.honor-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.honor-item p {
  font-size: 13px;
  opacity: 0.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 24px;
}

.contact-item {
  display: flex;
  margin-bottom: 20px;
  gap: 16px;
}

.ci-icon {
  display: flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  font-size: 20px;
}

.contact-item h4 {
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-item p {
  color: var(--muted);
  font-size: 14px;
}

.service-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: var(--green-soft);
}

.service-note p {
  color: var(--green);
  font-size: 14px;
}

.contact-form {
  padding: 36px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form h3 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 119, 68, 0.08);
}

.form-group input.invalid {
  border-color: #c93b3b;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 14px 36px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: var(--green-dark);
}

.form-message {
  min-height: 22px;
  margin: -4px 0 10px;
  color: #c93b3b;
  font-size: 13px;
}

.form-message.success {
  color: var(--green);
}

.footer {
  padding: 40px 0 20px;
  background: #1a2a1e;
  color: #cccccc;
}

.footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 16px;
}

.footer p,
.footer a {
  color: #aaaaaa;
  font-size: 13px;
  line-height: 2;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 30px;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #777777;
  font-size: 13px;
  text-align: center;
}

.modal-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  position: relative;
  width: 420px;
  max-width: 100%;
  padding: 36px 32px 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #aaaaaa;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-icon {
  display: flex;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 26px;
}

.modal-box h2 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 24px;
}

.modal-box p {
  margin-bottom: 22px;
  color: #666666;
  font-size: 14px;
}

.modal-confirm {
  width: 100%;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 0 10px;
  }

  .nav a.active::after {
    right: 10px;
    left: 10px;
  }

  .nav button {
    padding: 0 12px;
  }

  #languageSelect {
    min-width: 98px;
    padding: 0 6px;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image {
    width: 100%;
    flex: none;
    text-align: center;
  }

  .hero-image img {
    max-width: 80%;
    margin: 0 auto;
  }

  .brands .container {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .footer .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .nav {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    line-height: 48px;
    text-align: center;
  }

  .nav a.active::after {
    display: none;
  }

  .language-picker {
    width: 100%;
    margin: 10px 0 0;
  }

  #languageSelect {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
  }

  .nav button {
    width: 100%;
    margin-top: 10px;
  }

  .nav .btn-login {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 68px;
  }

  .container {
    padding: 0 18px;
  }

  .top-bar {
    padding: 7px 0;
  }

  .top-bar .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .top-contact {
    width: 100%;
    justify-content: space-between;
  }

  .top-bar a {
    margin-left: 12px;
  }

  .header .container {
    height: 68px;
  }

  .nav {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .hero {
    padding: 58px 0 46px;
  }

  .hero-text {
    margin-bottom: 34px;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text h1 small {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-text > p {
    font-size: 15px;
    text-align: left;
  }

  .hero-btns {
    width: 100%;
    gap: 10px;
  }

  .hero-btns .btn {
    min-width: 0;
    flex: 1;
    padding: 12px 8px;
    font-size: 15px;
  }

  .hero-image img {
    max-width: 100%;
  }

  .brands {
    padding: 46px 0;
  }

  .brands .container {
    gap: 20px;
  }

  .brand-card {
    padding: 32px 24px;
  }

  .brand-card h2 {
    font-size: 25px;
  }

  .brand-services {
    align-items: stretch;
    flex-direction: column;
  }

  .brand-services span {
    border-radius: 8px;
  }

  .services-section,
  .contact {
    padding: 60px 0;
  }

  .honors {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 14px;
  }

  .services-grid,
  .footer .container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    gap: 22px;
  }

  .service-card {
    padding: 34px 24px;
  }

  .service-card img {
    width: min(240px, 100%);
  }

  .honors .container {
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
  }

  .honor-item {
    min-width: 0;
  }

  .contact-grid {
    gap: 36px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .footer {
    padding-top: 36px;
  }

  .footer .container {
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    gap: 7px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .logo-name {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
