:root {
  --accent: #df5b16;
  --dark: #333132;
  --text: #303030;
  --muted: #777;
  --light: #f6f6f6;
  --line: #e7e7e7;
  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  color: #fff;
  background: rgba(12, 12, 12, 0.88);
  transition: background 0.25s ease;
}

.site-header.is-fixed {
  position: fixed;
  background: rgba(18, 18, 18, 0.96);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-image {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-mark {
  display: inline-block;
  width: 38px;
  height: 24px;
  background: linear-gradient(145deg, #14dfe0, #50ffa3);
  clip-path: polygon(50% 0, 100% 34%, 100% 66%, 50% 100%, 0 66%, 0 34%);
  box-shadow: inset 0 0 0 6px rgba(0, 0, 0, 0.2);
}

.main-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 42px;
}

.main-nav a,
.main-nav button {
  position: relative;
  display: flex;
  padding: 0;
  border: 0;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-nav a::after,
.main-nav button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav button:hover,
.main-nav button:focus-visible {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav button:hover::after,
.main-nav button:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  color: #fff;
  background: transparent;
}

.menu-button i {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: 0.2s ease;
}

.hero {
  position: relative;
  padding-top: 76px;
  overflow: hidden;
  color: #fff;
  background: #b8dfe8;
}

.hero-picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 11, 18, 0.5), transparent 68%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding-top: 80px;
  flex-direction: column;
  justify-content: center;
}

.hero-label {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 5.3vw, 78px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.16);
}

.hero-content > p:last-child {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  letter-spacing: 0.18em;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: #fff;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.section {
  padding: 128px 0;
}

.section-title h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-title p {
  margin: 12px 0 0;
  color: var(--light);
  font-family: var(--font-sans);
  font-size: 13px;
  font-style: italic;
}

.section-title-center {
  text-align: center;
}

.about-section {
  position: relative;
  min-height: 760px;
  background: linear-gradient(90deg, #fff 0 50%, #f7f7f7 50% 100%);
}

.about-layout {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
}

.about-copy {
  position: relative;
  z-index: 2;
  min-height: 500px;
  padding: 72px 260px 64px 58px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.about-text {
  max-width: 610px;
  margin-top: 32px;
  color: #525252;
  font-size: 15px;
  line-height: 2.15;
  text-align: justify;
}

.outline-button {
  display: inline-flex;
  min-width: 144px;
  height: 48px;
  margin-top: 34px;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 12px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.outline-button:hover {
  color: #fff;
  background: var(--accent);
}

.about-image {
  position: relative;
  z-index: 3;
  width: calc(100% + 150px);
  height: 560px;
  margin-left: -205px;
  background-color: #ececec;
  background-image: url("../images/about.png");
  background-position: center;
  background-size: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.image-zoom {
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition: background-size 0.45s ease;
}

.image-zoom:hover {
  background-size: 108%;
}

.news-section {
  background: #f7f7f7;
}

.news-grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.news-card {
  position: relative;
  height: 440px;
  background-color: #ddd;
}

.news-image-1 {
  background-image: url("../images/n1.jpg");
}

.news-image-2 {
  background-image: url("../images/n2.jpg");
}

.news-image-3 {
  background-image: url("../images/n3.jpg");
}

.news-image-4 {
  background-image: url("../images/n4.jpg");
}

.news-card > a {
  display: block;
  height: 100%;
}

.news-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 145px;
  padding: 28px 26px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 48%);
  transition: min-height 0.25s ease;
}

.news-card:hover .news-overlay {
  min-height: 180px;
}

.news-overlay time {
  display: flex;
  align-items: baseline;
}

.news-overlay time strong {
  font-size: 23px;
  font-weight: 400;
}

.news-overlay time span {
  margin-left: 6px;
  font-size: 12px;
}

.news-overlay p {
  overflow: hidden;
  margin: 12px 0;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.more {
  font-size: 11px;
}

.section-more-wrap {
  margin-top: 32px;
  text-align: right;
}

.section-more {
  color: #555;
  font-size: 13px;
}

.section-more:hover {
  color: var(--accent);
}

.honor-section {
  background: #fff;
}

.honor-grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.honor-card {
  position: relative;
  height: 520px;
  color: #fff;
  background-color: #bbb;
}

.honor-image-1 {
  background-image: url("../images/r1.jpg");
}

.honor-image-2 {
  background-image: url("../images/r2.jpg");
}

.honor-image-3 {
  background-image: url("../images/r3.jpg");
}

.honor-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 44px 38px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.64));
  flex-direction: column;
  justify-content: flex-end;
}

.honor-overlay h3 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.55;
}

.honor-overlay span {
  margin-top: 18px;
  font-size: 11px;
}

.contact-section {
  position: relative;
  padding: 110px 0;
  color: #fff;
  background:
    linear-gradient(rgba(32, 166, 134, 1), rgba(32, 166, 134, 1)),
    url("../images/contact-bg.jpg") center / cover;
}

.section-title-light h2 {
  color: #fff;
}

.contact-box {
  text-align: center;
}

.contact-phone {
  display: inline-flex;
  margin-top: 42px;
  align-items: center;
  gap: 22px;
}

.contact-phone span {
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  place-items: center;
  font-size: 22px;
}

.contact-phone strong {
  font-family: var(--font-sans);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.site-footer {
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.6);
  background: var(--dark);
}

.footer-top {
  display: flex;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 22px;
}

.footer-nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}

.footer-nav button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-nav button:hover,
.footer-nav button:focus-visible,
.footer-legal a:hover {
  color: #fff;
}

.complaint-dialog {
  width: min(calc(100% - 40px), 560px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.complaint-dialog::backdrop {
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
}

.complaint-dialog-content {
  position: relative;
  padding: 42px 42px 36px;
}

.complaint-dialog h2 {
  margin: 0 0 20px;
  color: var(--dark);
  font-size: 26px;
  font-weight: 500;
}

.complaint-dialog p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.9;
}

.complaint-dialog p a {
  color: var(--accent);
  font-weight: 600;
}

.complaint-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: #888;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.complaint-dialog-close:hover,
.complaint-dialog-close:focus-visible {
  color: var(--dark);
}

.complaint-dialog-confirm {
  display: block;
  min-width: 112px;
  height: 42px;
  margin: 28px 0 0 auto;
  padding: 0 22px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

.complaint-dialog-confirm:hover,
.complaint-dialog-confirm:focus-visible {
  background: #c94f11;
}

.footer-info {
  display: flex;
  min-height: 260px;
  padding: 48px 0;
  align-items: center;
  justify-content: space-between;
}

.footer-info h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}

.footer-info p {
  margin: 10px 0;
  font-size: 13px;
}

.qr-placeholder {
  display: grid;
  width: 124px;
  height: 124px;
  color: rgba(255, 255, 255, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  place-items: center;
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}

.qr-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-legal {
  display: flex;
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
}

.footer-legal p {
  margin: 0;
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 14px);
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 24px;
  }

  .about-copy {
    padding-right: 180px;
  }

  .about-image {
    width: calc(100% + 100px);
    margin-left: -145px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-card {
    height: 430px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .site-header {
    height: 64px;
  }

  .logo {
    position: relative;
    z-index: 22;
    font-size: 20px;
  }

  .logo-mark {
    width: 30px;
    height: 20px;
  }

  .logo-image {
    width: 48px;
    height: 48px;
  }

  .menu-button {
    position: relative;
    z-index: 22;
    display: block;
  }

  .menu-button.open i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.open i:nth-child(2) {
    opacity: 0;
  }

  .menu-button.open i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: flex;
    padding: 100px 28px 40px;
    background: rgba(24, 24, 24, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    flex-direction: column;
    gap: 0;
  }

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

  .main-nav a,
  .main-nav button {
    width: 100%;
    min-height: 62px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 17px;
  }

  .main-nav a::after,
  .main-nav button::after {
    display: none;
  }

  .hero {
    padding-top: 64px;
    min-height: 0;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(2, 11, 18, 0.62), rgba(2, 11, 18, 0.14));
  }

  .hero-content {
    padding-top: 64px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-label {
    font-size: 9px;
    line-height: 1.7;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.35;
  }

  .hero-content > p:last-child {
    font-size: 14px;
  }

  .section {
    padding: 84px 0;
  }

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

  .about-section {
    min-height: 0;
    background: #f7f7f7;
  }

  .about-layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .about-copy {
    min-height: 0;
    width: calc(100% - 20px);
    margin-top: -58px;
    padding: 42px 28px;
  }

  .about-text {
    font-size: 14px;
    line-height: 2;
  }

  .about-image {
    z-index: 1;
    width: 100%;
    height: 440px;
    margin: 0;
  }

  .news-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .news-card {
    height: 420px;
  }

  .section-more-wrap {
    text-align: center;
  }

  .honor-grid {
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .honor-card {
    height: 480px;
  }

  .contact-section {
    padding: 84px 0;
  }

  .contact-phone {
    gap: 14px;
  }

  .contact-phone span {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .contact-phone strong {
    font-size: 26px;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-top,
  .footer-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    flex-wrap: wrap;
    margin-top: 34px;
    gap: 14px 24px;
  }

  .footer-info {
    gap: 34px;
  }

  .footer-legal {
    padding: 22px 0;
    text-align: center;
    flex-wrap: wrap;
  }

  .complaint-dialog-content {
    padding: 38px 26px 28px;
  }

  .complaint-dialog h2 {
    font-size: 23px;
  }
}

@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;
  }
}
