:root {
  --color-accent: #04a07b;
  --color-text: #666;
  --color-heading: #333;
  --color-muted: #999;
  --color-surface: #f6f7f7;
  --color-footer: #f5f7fa;
  --color-border: #e1e7ee;
  --color-white: #fff;
  --container: 1200px;
  --header-height: 165px;
  --header-container: 1064px;
  --transition: 0.36s ease;
  --shadow-form: 0 20px 55px rgba(32, 50, 66, 0.08);
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--color-text); background: var(--color-white); font: 400 12px/1.6 Arial, "Microsoft YaHei", "Noto Sans SC", sans-serif; overflow-x: hidden; }
::-webkit-scrollbar-track-piece, ::-webkit-scrollbar, ::-webkit-scrollbar-thumb { width: 5px; }
::-webkit-scrollbar-track-piece { background: #101012; }
::-webkit-scrollbar { background: #57bc4c; }
::-webkit-scrollbar-thumb { background: #333; }
::-webkit-scrollbar-thumb:hover { background: #57bc4c; }
body, h1, h2, h3, p, ul { margin-top: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section { background: var(--color-white); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 99; height: var(--header-height); background: var(--color-white); border-top: 1px solid #e8e8e8; border-bottom: 2px solid #8e8579; color: var(--color-text); transition: height var(--transition), box-shadow var(--transition), transform var(--transition); }
.site-header::before { position: absolute; top: 110px; right: 0; left: 0; height: 1px; background: #ededed; content: ""; }
.site-header .container { width: min(var(--header-container), calc(100vw - 48px)); margin-right: 0; margin-left: calc((100vw - min(var(--header-container), calc(100vw - 48px))) / 2); }
.site-header__top { display: flex; align-items: center; justify-content: space-between; height: 111px; padding-right: 25px; }
.site-header__brand { display: block; width: 160px; }
.site-header__brand img { width: 160px; height: 72px; object-fit: contain; }
.site-search { display: flex; width: 340px; height: 41px; overflow: hidden; border: 1px solid #d9dddf; border-radius: var(--radius-pill); }
.site-search input { min-width: 0; flex: 1; padding: 0 18px; color: var(--color-text); border: 0; outline: 0; }
.site-search input::placeholder { color: #999; opacity: 1; }
.site-search button { align-self: center; width: 84px; height: 30px; margin-right: 4px; color: var(--color-white); background: var(--color-accent); border: 0; border-radius: var(--radius-pill); font-weight: 500; }
.site-nav { display: flex; height: 51px; }
.site-nav__link { display: grid; min-width: 88px; height: 51px; padding-inline: 22px; place-items: center; position: relative; font-size: 14px; transition: color var(--transition); }
.site-nav__link:nth-child(3), .site-nav__link:nth-child(4), .site-nav__link:nth-child(6) { min-width: 116px; }
.site-nav__link::after { position: absolute; top: -1px; right: 0; left: 0; height: 2px; background: transparent; content: ""; transition: background var(--transition); }
.site-nav__link:hover, .site-nav__link--active { color: var(--color-accent); }
.site-nav__link--active::after { background: var(--color-accent); }
.site-header--compact { height: 74px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
.site-header--compact::before { display: none; }
.site-header--compact .site-header__top { height: 0; opacity: 0; overflow: hidden; }
.site-header--compact .site-nav { height: 74px; }
.site-header--compact .site-nav__link { height: 74px; }
.site-main { padding-top: var(--header-height); }

@media (min-width: 981px) {
  .site-header .container { width: 72%; margin-inline: auto; }
  .site-header__top { padding-right: 66px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; height: 700px; overflow: hidden; background: #ddd; }
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background: center / cover no-repeat var(--hero-image); opacity: 0; transform: scale(1.015); transition: opacity 0.7s ease, transform 5.6s linear; }
.hero__slide--active { opacity: 1; transform: scale(1); }
.hero__arrow { position: absolute; top: 50%; z-index: 2; width: 50px; height: 50px; padding: 0; color: var(--color-white); background: rgba(0, 0, 0, 0.12); border: 0; font-size: 34px; line-height: 50px; opacity: 0.8; transform: translateY(-50%); transition: background var(--transition); }
.hero__arrow:hover { background: rgba(0, 0, 0, 0.38); }
.hero__arrow--prev { left: 0; }
.hero__arrow--next { right: 0; }
.hero__dots { position: absolute; z-index: 3; bottom: 20px; left: 50%; display: flex; transform: translateX(-50%); }
.hero__dot { width: 22px; height: 6px; padding: 0; background: rgba(255, 255, 255, 0.45); border: 0; border-radius: 0; }
.hero__dot--active { background: var(--color-white); }

/* ---------- Feature Links ---------- */
.feature-links { padding-top: 100px; padding-bottom: 20px; }
.feature-links__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card { display: block; overflow: hidden; background: var(--color-surface); transition: box-shadow var(--transition), transform var(--transition); }
.feature-card__image { width: 100%; aspect-ratio: 840 / 512; object-fit: cover; transition: transform var(--transition), filter var(--transition); }
.feature-card__body { display: block; padding: 24px 45px 30px; }
.feature-card__body strong { display: block; color: var(--color-heading); font-size: 19px; font-weight: 400; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feature-card__body small { display: block; color: #777; font-size: 14px; line-height: 22px; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12); }
.feature-card:hover .feature-card__image { filter: brightness(0.88); transform: scale(1.025); }

/* ---------- Shared section headings ---------- */
.section-heading { display: flex; align-items: flex-start; gap: 28px; }
.section-heading h2, .section-title { margin: 0; color: var(--color-accent); font-size: 24px; font-weight: 400; line-height: 30px; }
.category-pills { display: flex; flex: 1; flex-wrap: wrap; justify-content: center; gap: 10px 13px; }
.category-pills__item { min-width: 70px; padding: 5px 18px; border: 1px solid #e9ecef; border-radius: var(--radius-pill); color: #888; font-size: 14px; line-height: 20px; text-align: center; transition: color var(--transition), background var(--transition), border var(--transition); }
.category-pills__item:hover, .category-pills__item--active { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Products ---------- */
.catalog { padding: 85px 0 100px; }
.catalog .section-heading { display: block; }
.catalog .category-pills { justify-content: flex-start; margin-top: 22px; gap: 10px; }
.catalog .category-pills__item { padding-inline: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; padding-top: 51px; }
.product-card a { display: block; height: 100%; color: inherit; }
.product-card img { width: 100%; aspect-ratio: 720 / 510; object-fit: cover; transition: transform var(--transition), filter var(--transition); }
.product-card { overflow: hidden; background: var(--color-white); transition: box-shadow var(--transition), transform var(--transition); }
.product-card__body { display: block; min-height: 155px; padding: 28px 30px 20px; }
.product-card__body strong { display: block; margin-bottom: 11px; color: var(--color-heading); font-size: 17px; font-weight: 400; line-height: 30px; }
.product-card__body > span { display: -webkit-box; overflow: hidden; color: var(--color-muted); font-size: 13px; line-height: 26px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__tags { display: block; min-height: 54px; padding: 15px 30px; border-top: 1px solid #ececec; color: #888; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1); }
.product-card:hover img { filter: brightness(0.86); transform: scale(1.03); }
.product-card:hover strong { color: var(--color-accent); }

/* ---------- Products Listing Page ---------- */
.product-page-nav { height: 100px; margin-top: 30px; background: var(--color-white); }
.product-page-nav > .container { height: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 10px; height: 50px; color: #aaa; font-size: 12px; line-height: 50px; }
.breadcrumb a { color: #777; transition: color var(--transition); }
.breadcrumb a:hover, .breadcrumb strong { color: var(--color-accent); font-weight: 400; }
.product-page-categories { display: flex; align-items: center; gap: 13px; height: 50px; white-space: nowrap; }
.product-page-categories__item { display: grid; min-width: 70px; height: 32px; padding-inline: 18px; place-items: center; color: #999; border: 1px solid #eceff1; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.product-page-categories__item:hover, .product-page-categories__item--active { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }
.product-list { padding: 40px 0 168px; background: var(--color-white); }
.product-list__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 10px; }
.product-card--listing .product-card__body { min-height: 155px; }
.product-card--listing .product-card__tags { min-height: 49px; padding: 10px 30px; }
.product-pagination { display: flex; gap: 4px; margin-top: 50px; }
.product-pagination a, .product-pagination span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #e5e8ea; color: #888; border-radius: 2px; font-size: 14px; }
.product-pagination a:hover, .product-pagination .page-num-current { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Shared Inner Pages ---------- */
.inner-page-hero { height: 300px; background-position: center; background-size: cover; }
.inner-page-hero--about { background-image: url("../images/1568867109356.jpg"); }
.inner-page-hero--contact { display: grid; place-items: center; background-image: url("../images/1567955270739.jpg"); text-align: center; }
.inner-page-hero__eyebrow { margin: 0; color: #666; font-size: 18px; }
.inner-page-hero__title { margin: 0; color: #555; font-size: 42px; font-weight: 400; line-height: 1.3; text-transform: uppercase; }
.inner-page-hero__line { display: block; width: 42px; height: 3px; margin: 18px auto 0; background: #777; }
.inner-title { margin: 0; color: #555; font-size: 28px; font-weight: 400; text-align: center; }
.inner-title__en { display: block; color: #bbb; font-size: 14px; font-weight: 400; }
.listing-page-nav { height: 100px; margin-top: 30px; }
.listing-page-nav .container { height: 100%; }
.listing-filters { display: flex; align-items: center; gap: 13px; height: 50px; white-space: nowrap; }
.listing-filters__item { display: grid; min-width: 70px; height: 32px; padding-inline: 18px; place-items: center; color: #999; border: 1px solid #eceff1; border-radius: var(--radius-pill); font-size: 14px; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.listing-filters__item:hover, .listing-filters__item--active { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }
.multi-pagination { display: flex; gap: 4px; margin-top: 48px; }
.multi-pagination a, .multi-pagination span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #e5e8ea; color: #888; }
.multi-pagination span, .multi-pagination .page-num-current { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }

/* ---------- Projects Page ---------- */
.projects-list { padding: 40px 0 120px; }
.projects-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.projects-list .project-card a > span { min-height: 148px; }

/* ---------- News Page ---------- */
.news-list { padding: 40px 0 120px; }
.news-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 30px; }
.news-list-card { min-width: 0; overflow: hidden; }
.news-list-card img { width: 100%; aspect-ratio: 600 / 280; object-fit: cover; transition: filter var(--transition), transform var(--transition); }
.news-list-card__body { position: relative; z-index: 1; padding: 28px 0 15px; background: var(--color-white); border-bottom: 1px solid #e7e7e7; }
.news-list-card h2 { margin: 0; color: #444; font-size: 16px; font-weight: 400; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list-card p { display: -webkit-box; min-height: 52px; margin: 10px 0 20px; overflow: hidden; color: #999; font-size: 13px; line-height: 26px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-list-card time { color: #888; font-size: 18px; }
.news-list-card:hover img { transform: scale(1.08) translate3d(0, 0, 0); }
.news-list-card:hover h2 { color: var(--color-accent); }
.news-list-card:hover time { color: #57bc4c; }
.news-list-card.reveal { visibility: hidden; opacity: 1; transform: none; transition: 0.36s; }
.news-list-card.reveal--visible { visibility: visible; animation: news-fade-in-up 1s both; }
.news-list-card:nth-child(3n + 2).reveal--visible { animation-delay: 0.1s; }
.news-list-card:nth-child(3n).reveal--visible { animation-delay: 0.2s; }

/* ---------- Video list and detail ---------- */
.video-list { padding: 40px 0 120px; background: var(--color-white); }
.video-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 24px; }
.video-card { min-width: 0; overflow: hidden; background: var(--color-white); transition: box-shadow var(--transition), transform var(--transition); }
.video-card a { display: block; height: 100%; color: inherit; }
.video-card__visual { position: relative; display: block; overflow: hidden; background: #191b1d; }
.video-card__visual img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: filter var(--transition), transform var(--transition); }
.video-card__play { position: absolute; top: 50%; left: 50%; display: grid; width: 58px; height: 58px; padding-left: 4px; place-items: center; color: #fff; background: rgba(0, 0, 0, 0.58); border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 50%; font-size: 20px; transform: translate(-50%, -50%); transition: background var(--transition), transform var(--transition); }
.video-card__duration { position: absolute; right: 12px; bottom: 10px; padding: 2px 8px; color: #fff; background: rgba(0, 0, 0, 0.68); border-radius: 3px; font-size: 12px; line-height: 20px; }
.video-card__body { display: block; padding: 23px 4px 18px; border-bottom: 1px solid #e7e7e7; }
.video-card__body strong { display: block; overflow: hidden; color: #444; font-size: 17px; font-weight: 500; line-height: 30px; text-overflow: ellipsis; white-space: nowrap; }
.video-card__body small { display: block; margin: 4px 0 8px; color: #aaa; font-size: 12px; }
.video-card__body > span { display: -webkit-box; min-height: 48px; overflow: hidden; color: #888; font-size: 13px; line-height: 24px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.video-card:hover { box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1); transform: translateY(-4px); }
.video-card:hover .video-card__visual img { filter: brightness(0.72); transform: scale(1.035); }
.video-card:hover .video-card__play { background: var(--color-accent); transform: translate(-50%, -50%) scale(1.06); }
.video-detail { max-width: 1040px; padding-top: 35px; padding-bottom: 110px; }
.video-detail__header { padding: 20px 0 30px; text-align: center; }
.video-detail__header h1 { margin: 0 0 13px; color: #333; font-size: 28px; font-weight: 500; line-height: 1.5; }
.video-detail__header p { display: flex; justify-content: center; gap: 22px; margin: 0; color: #999; font-size: 13px; }
.video-detail__player { overflow: hidden; background: #111; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.13); }
.video-detail__player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #111; }
.video-player__embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-player__embed iframe, .video-player__embed embed, .video-player__embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-detail__body { padding: 45px 20px 35px; color: #666; font-size: 15px; line-height: 2; }
.video-detail__body img { max-width: 100%; height: auto; }
.video-detail .detail-next { width: 100%; }
.video-detail .detail-next a:first-child { justify-content: flex-start; text-align: left; }

@keyframes news-fade-in-up {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- Detail Pages ---------- */
.detail-page { padding-bottom: 130px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 10px; height: 95px; color: #aaa; font-size: 12px; }
.detail-breadcrumb a { color: #777; }
.detail-breadcrumb a:hover, .detail-breadcrumb strong { color: var(--color-accent); font-weight: 400; }
.article-detail { width: 68%; min-width: 1200px; margin-inline: auto; }
.article-detail h1 { width: 66%; margin: 0; padding-bottom: 1px; color: #444; border-bottom: 1px solid #e5e5e5; font-size: 20px; font-weight: 600; line-height: 56px; }
.article-detail__date { display: none; }
.article-detail__body { width: 66%; padding: 28px 0; color: #666; font-size: 13px; line-height: 24px; }
.article-detail__body p { margin: 0 0 24px; text-align: justify; }
.article-detail__body img { width: 100%; margin: 0 0 24px; }
.detail-next { display: grid; grid-template-columns: 1fr 1fr; width: 66%; min-height: 110px; margin-top: 35px; background: #f7f7f7; }
.detail-next a { display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 25px 30px; color: #777; font-size: 16px; text-align: right; }
.detail-next b, .project-detail__next b { color: #aaa; font-size: 24px; font-weight: 400; }

.project-detail { width: 68%; min-width: 1200px; }
.project-detail > h1 { margin: 0; padding: 3px 0 27px; color: #555; border-bottom: 1px solid #e7e7e7; font-size: 18px; font-weight: 400; line-height: 24px; text-align: center; }
.project-detail__profile { display: grid; grid-template-columns: 220px 250px 1fr; gap: 30px; width: 900px; margin: 34px auto 42px; color: #666; font-size: 13px; line-height: 2.2; }
.project-detail__profile h2 { margin: 0; color: #555; font-size: 20px; line-height: 2.2; letter-spacing: 6px; }
.project-detail__profile header p { margin: 0; font-family: Arial, sans-serif; line-height: 1.5; }
.project-detail__profile dl, .product-detail__summary dl { margin: 0; }
.project-detail__profile dl div, .product-detail__summary dl div { display: flex; }
.project-detail__profile dt, .project-detail__profile dd, .product-detail__summary dt, .product-detail__summary dd { margin: 0; }
.project-detail__profile > p { margin: 0; text-align: justify; }
.project-detail__profile strong { font-weight: 400; }
.project-detail__gallery { display: grid; gap: 24px; width: 900px; margin-inline: auto; }
.project-detail__gallery img { width: 900px; }
.project-detail__next { display: flex; justify-content: flex-end; margin-top: 90px; padding: 35px 20px; border-top: 1px solid #e7e7e7; }
.project-detail__next a { display: flex; align-items: center; gap: 30px; color: #777; font-size: 16px; }

.product-detail { background: #fff; }
.product-detail__intro { display: grid; grid-template-columns: 56% 1fr; gap: 56px; width: 72%; margin: 35px auto 0; padding-bottom: 40px; }
.product-detail__visual { position: relative; overflow: hidden; }
.product-detail__visual > img { width: 100%; aspect-ratio: 760 / 481; object-fit: cover; transition: opacity 0.25s ease; }
.product-detail__dots { position: absolute; right: 0; bottom: 16px; left: 0; display: flex; justify-content: center; gap: 12px; }
.product-detail__dots button { width: 10px; height: 10px; padding: 0; background: rgba(255,255,255,.7); border: 0; border-radius: 50%; }
.product-detail__dots button.is-active { background: var(--color-accent); box-shadow: 0 0 0 2px #fff; }
.product-detail__summary { padding: 25px 0 0; }
.product-detail__summary h1 { margin: 0; padding-bottom: 25px; color: #333; border-bottom: 1px solid #e7e7e7; font-size: 22px; font-weight: 400; line-height: 30px; }
.product-detail__category { margin: 0 0 38px; padding-top: 7px; color: #bbb; font-size: 14px; line-height: 30px; }
.product-detail__summary dl { color: #888; font-size: 14px; line-height: 28px; }
.product-detail__summary dl div { margin-bottom: 17px; }
.product-detail__summary dt { flex: 0 0 auto; font-weight: 600; }
.product-detail__gallery { display: grid; justify-items: center; gap: 24px; padding: 108px max(24px, calc((100% - 1040px) / 2)) 120px; background: #f7f7f7; }
.product-detail__gallery img { width: 800px; max-width: 100%; }

@media (min-width: 981px) {
  .listing-page-nav .container, .news-list > .container, .detail-breadcrumb { width: 68%; min-width: 1200px; }
}

/* ---------- About Page ---------- */
.about-page { padding-bottom: 80px; }
.about-page__intro { padding: 65px 0 45px; }
.about-detail { padding-top: 35px; }
.about-detail__row { display: grid; grid-template-columns: 260px 1fr; gap: 80px; padding: 45px 80px; border-bottom: 1px solid #eee; }
.about-detail__label h2 { margin: 0; color: #666; font-size: 24px; font-weight: 400; line-height: 34px; }
.about-detail__label p { color: #888; font-size: 15px; }
.about-detail__content { color: #666; font-size: 14px; line-height: 2; }
.about-detail__content h3 { margin: 0 0 8px; color: #555; font-size: 15px; }
.about-detail__content p { margin-bottom: 20px; }
.about-detail__columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-detail__content ul { margin: 0; padding-left: 18px; }

/* ---------- Contact Page ---------- */
.contact-page__title { padding: 65px 0 105px; }
.contact-page__layout { display: grid; grid-template-columns: 2fr 1fr; gap: 65px; padding-bottom: 150px; }
.contact-map { position: relative; min-height: 550px; overflow: hidden; background: #eef1f3; border: 1px solid #e5e5e5; border-radius: 6px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08); }
.contact-map .marker-icon { width: 32px; height: 42px; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.25)); }
.contact-map .marker-icon img { display: block; width: 100%; height: 100%; }
.contact-map .map-info-card { position: relative; width: min(330px, calc(100vw - 90px)); padding: 20px 22px 17px; background: rgba(255, 255, 255, 0.97); border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.contact-map .map-info-card::after { position: absolute; bottom: -9px; left: 50%; width: 0; height: 0; border-top: 10px solid rgba(255, 255, 255, 0.97); border-right: 9px solid transparent; border-left: 9px solid transparent; content: ""; transform: translateX(-50%); }
.contact-map .map-info-card strong { display: block; margin-bottom: 7px; color: #333; font-size: 17px; font-weight: 600; line-height: 1.45; }
.contact-map .map-info-card span { display: block; color: #777; font-size: 13px; line-height: 1.7; }
.contact-map .map-info-card a { display: inline-block; margin-top: 11px; color: var(--color-accent); font-size: 13px; font-weight: 500; }
.contact-map .map-info-card a b { margin-left: 3px; font-size: 16px; }
.contact-details h2 { margin: 0; color: #666; font-size: 20px; font-weight: 400; }
.contact-details__en { color: #bbb; }
.contact-details section { margin-top: 30px; color: #666; font-size: 14px; line-height: 2; }
.contact-details h3 { margin: 0; font-size: 14px; font-weight: 500; }
.contact-details p { margin: 4px 0; }
.contact-details a { color: var(--color-accent); }

/* ---------- Projects ---------- */
.projects { padding: 85px 0 120px; }
.projects__heading { margin-bottom: 51px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { background: var(--color-surface); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.project-card img { width: 100%; aspect-ratio: 750 / 660; object-fit: cover; transition: transform var(--transition), filter var(--transition); }
.project-card a > span { display: block; min-height: 148px; padding: 38px 30px; }
.project-card strong { display: block; color: #555; font-size: 17px; font-weight: 400; line-height: 30px; }
.project-card small { display: block; margin-top: 8px; color: #999; font-size: 14px; line-height: 22px; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.1); }
.project-card:hover img { filter: brightness(0.86); transform: scale(1.03); }

/* ---------- About ---------- */
.about { min-height: 1021px; background: left center / cover no-repeat url("../images/1568170374104.jpg"); }
.about__content { padding-top: 42px; }
.about__content header h2 { margin: 0; color: #555; font-size: 36px; font-weight: 400; line-height: 36px; }
.about__content header p { color: #bbb; font-size: 14px; line-height: 26px; }
.about__content h3 { width: 504px; max-width: 100%; margin: 43px 0 25px; color: #333; font-size: 14px; font-weight: 400; }
.about__content > p { width: 504px; max-width: 100%; margin-bottom: 25px; color: #333; font-size: 13px; line-height: 26px; }
.button { display: inline-grid; min-width: 154px; height: 56px; padding-inline: 32px; place-items: center; color: var(--color-white); background: var(--color-accent); border: 2px solid var(--color-accent); border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; transition: color var(--transition), background var(--transition); }
.button:hover { color: var(--color-accent); background: transparent; }
.about .button { margin-top: 150px; }

/* ---------- News ---------- */
.news { padding: 85px 0 100px; }
.news__heading { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.news-filter { display: flex; align-items: center; gap: 13px; }
.news-filter__item { display: grid; min-width: 74px; height: 32px; padding-inline: 18px; place-items: center; color: #888; border: 1px solid #e9ecef; border-radius: var(--radius-pill); font-size: 14px; line-height: 20px; transition: color var(--transition), background var(--transition), border-color var(--transition); }
.news-filter__item:hover, .news-filter__item--active { color: var(--color-white); background: var(--color-accent); border-color: var(--color-accent); }
.news__viewport { overflow: hidden; padding-top: 51px; }
.news__track { display: flex; gap: 30px; transition: transform 0.55s ease; }
.news-card { flex: 0 0 calc((100% - 60px) / 3); min-width: 0; }
.news-card img { width: 100%; aspect-ratio: 600 / 280; object-fit: cover; }
.news-card > div { position: relative; padding: 34px 0 58px; }
.news-card h3 { margin: 0; color: var(--color-heading); font-size: 16px; font-weight: 400; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-card time { display: block; color: var(--color-accent); font-size: 14px; line-height: 24px; }
.news-card p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: var(--color-muted); font-size: 13px; line-height: 26px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news__controls { display: flex; justify-content: center; gap: 8px; }
.news__controls button { width: 24px; height: 8px; overflow: hidden; color: transparent; background: #d8dddd; border: 0; }
.news__controls button:hover { background: var(--color-accent); }

/* ---------- Contact ---------- */
.contact { padding-top: 60px; }
.contact-form { min-height: 520px; padding: 65px 100px; background: var(--color-white); box-shadow: var(--shadow-form); text-align: center; }
.contact-form header { margin-bottom: 68px; }
.contact-form h2 { margin: 0; color: var(--color-text); font-size: 30px; font-weight: 600; line-height: 50px; }
.contact-form header p { color: #acacac; font-size: 14px; line-height: 30px; }
.contact-form__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 20px; color: #555; background: var(--color-white); border: 1px solid var(--color-border); outline: 0; font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 14px; line-height: 20px; transition: border-color 0.3s ease-out; }
.contact-form input { height: 40px; }
.contact-form textarea { height: 70px; margin-top: 20px; resize: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-accent); }
.contact-form__submit { width: 225px; margin-top: 36px; }
.contact-form__status { height: 20px; margin: 8px 0 0; color: var(--color-accent); }
.contact-form__status.is-error { color: #c7473a; }
.contact-info { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 60px; min-height: 348px; padding: 105px 0 70px; }
.contact::after { position: absolute; right: 0; left: 0; z-index: -1; height: 348px; margin-top: -348px; background: var(--color-footer); content: ""; }
.contact { position: relative; }
.contact-info strong { color: #555; font-size: 16px; font-weight: 400; }
.contact-info p { color: #999; font-size: 14px; line-height: 28px; }
.contact-info__social { display: flex; align-items: center; gap: 14px; margin-top: 52px; }
.contact-info__social .social-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #b5babd; transition: color var(--transition), transform var(--transition); }
.contact-info__social .social-icon:hover { color: #929a9f; transform: translateY(-2px); }
.contact-info__social .social-icon svg { display: block; width: 24px; height: 24px; overflow: visible; }

/* ---------- Floating tools and footer ---------- */
.float-tools { position: fixed; right: 0; bottom: 74px; z-index: 50; display: grid; width: 42px; }
.float-tools button, .float-tools a { display: grid; width: 42px; height: 42px; place-items: center; color: #9ba1a4; background: var(--color-white); border: 1px solid #ececec; }
.site-footer { min-height: 41px; padding: 10px 56px; background: var(--color-footer); }
.site-footer p { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 12px; line-height: 20px; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer img { display: inline-block; width: 50px; height: 20px; object-fit: contain; }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease, box-shadow var(--transition); }
.reveal--visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --header-height: 132px; }
  .container { width: min(100% - 36px, var(--container)); }
  .site-header::before { top: 74px; }
  .site-header .container { width: min(100% - 36px, var(--container)); margin-inline: auto; }
  .site-header__top { height: 74px; }
  .site-header__brand, .site-header__brand img { width: 90px; height: auto; }
  .site-nav { height: 58px; overflow-x: auto; }
  .site-nav__link { flex: 0 0 auto; height: 58px; }
  .site-header--compact { height: 58px; }
  .site-header--compact .site-nav, .site-header--compact .site-nav__link { height: 58px; }
  .hero { height: 560px; }
  .product-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page-categories { padding-bottom: 8px; overflow-x: auto; }
  .product-page-categories__item { flex: 0 0 auto; }
  .product-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .news-card { flex-basis: calc((100% - 30px) / 2); }
  .listing-filters { padding-bottom: 8px; overflow-x: auto; }
  .listing-filters__item { flex: 0 0 auto; }
  .projects-list__grid, .news-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-detail__row { grid-template-columns: 190px 1fr; gap: 40px; padding-inline: 20px; }
  .about-detail__columns { grid-template-columns: 1fr; }
  .contact-page__layout { grid-template-columns: 1fr; }
  .contact-form { padding-inline: 50px; }
  .contact-info { gap: 28px; }
  .article-detail, .project-detail { width: calc(100% - 36px); min-width: 0; }
  .detail-breadcrumb { width: calc(100% - 36px); }
  .article-detail h1, .article-detail__body, .detail-next { width: 100%; }
  .project-detail__profile, .project-detail__gallery { width: 100%; }
  .project-detail__profile { grid-template-columns: 180px 220px 1fr; gap: 20px; }
  .project-detail__gallery img { width: 100%; }
  .product-detail__intro { width: calc(100% - 36px); grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  :root { --header-height: 104px; }
  .container { width: calc(100% - 30px); }
  .site-header::before { top: 52px; }
  .site-header .container { width: calc(100% - 30px); }
  .site-header__top { height: 52px; }
  .site-header__brand, .site-header__brand img { width: 66px; }
  .site-search { width: 170px; height: 28px; }
  .site-search input { padding-inline: 10px; }
  .site-search button { width: 52px; height: 22px; font-size: 10px; }
  .site-nav { height: 52px; }
  .site-nav__link { min-width: 78px !important; height: 52px; padding-inline: 16px; }
  .site-header--compact, .site-header--compact .site-nav, .site-header--compact .site-nav__link { height: 52px; }
  .hero { height: 700px; }
  .hero__slide { background-position: center; }
  .hero__arrow { width: 34px; height: 44px; font-size: 27px; }
  .hero__dots { max-width: calc(100% - 24px); overflow: hidden; }
  .feature-links { padding-top: 50px; }
  .feature-links__grid { grid-template-columns: 1fr; }
  .feature-card__body { padding: 18px 20px 24px; }
  .feature-card__body strong { font-size: 15px; line-height: 28px; }
  .catalog, .projects, .news { padding: 65px 0 80px; }
  .section-heading { display: block; }
  .category-pills { flex-wrap: nowrap; justify-content: flex-start; margin-top: 18px; padding-bottom: 8px; overflow-x: auto; }
  .category-pills__item { flex: 0 0 auto; }
  .product-grid, .project-grid { grid-template-columns: 1fr; }
  .product-page-nav { height: 108px; margin-top: 20px; }
  .breadcrumb { height: 44px; line-height: 44px; }
  .product-page-categories { height: 64px; }
  .product-list { padding-top: 30px; }
  .product-list__grid { grid-template-columns: 1fr; }
  .product-card__body { min-height: auto; }
  .about { min-height: 1021px; background-position: 62% center; }
  .about__content { padding-top: 32px; }
  .about__content header, .about__content h3, .about__content > p { padding: 8px 12px; background: rgba(255, 255, 255, 0.75); }
  .about .button { margin: 90px 0 0 12px; }
  .news-card { flex-basis: 100%; }
  .inner-page-hero { height: 220px; }
  .listing-page-nav { height: 108px; margin-top: 20px; }
  .listing-page-nav .breadcrumb { height: 44px; line-height: 44px; }
  .listing-filters { height: 64px; }
  .projects-list, .news-list { padding-top: 30px; }
  .projects-list__grid, .news-list__grid { grid-template-columns: 1fr; }
  .video-list__grid { grid-template-columns: 1fr; }
  .video-detail__header h1 { font-size: 22px; }
  .video-detail__header p { flex-wrap: wrap; gap: 6px 14px; }
  .video-detail__body { padding-inline: 0; }
  .about-detail__row { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .contact-page__title { padding-bottom: 60px; }
  .contact-map { min-height: 420px; }
  .news__heading { display: block; }
  .news-filter { margin-top: 20px; padding-bottom: 8px; overflow-x: auto; }
  .news-filter__item { flex: 0 0 auto; }
  .contact-form { min-height: 510px; padding: 48px 24px; }
  .contact-form header { margin-bottom: 38px; }
  .contact-form__row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form textarea { margin-top: 14px; }
  .contact-info { grid-template-columns: 1fr; gap: 10px; min-height: 400px; padding: 70px 0; }
  .contact-info__social { margin-top: 30px; }
  .contact::after { height: 400px; margin-top: -400px; }
  .site-footer { padding: 10px 15px; }
  .site-footer p { font-size: 8px; white-space: nowrap; }
  .site-footer img { width: 34px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .news-list-card.reveal { visibility: visible; animation: none; }
}
