:root {
  --accent-color: #168953;
  --heading-color: #123b2b;
  --nav-hover-color: #22a96b;
  --nav-dropdown-hover-color: #168953;
}

body {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: inline-block;
  object-fit: contain;
  margin-right: 10px;
}

.header .logo h1 {
  font-size: 24px;
}

.xh-nav-active {
  color: var(--nav-hover-color) !important;
}

.xh-hero-carousel:before {
  background: transparent;
}

.hero h2 {
  max-width: 560px;
  font-size: clamp(38px, 3.45vw, 58px);
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero p {
  max-width: 650px;
  font-size: clamp(14px, 0.9vw, 16px);
  line-height: 2;
}

.btn-watch-video {
  color: #fff;
}

.btn-watch-video i {
  color: #74d39b;
}

.xh-hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  height: 100vh;
  aspect-ratio: auto;
  border: 0;
  outline: 0;
}

.xh-hero-carousel > img {
  display: none;
}

.xh-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: none;
  transition: opacity 0.8s ease;
}

.xh-hero-slide.active {
  opacity: 1;
}

.xh-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 29, 22, 0.22), rgba(4, 35, 24, 0.08) 34%, rgba(4, 35, 24, 0.02) 62%, rgba(4, 29, 22, 0.06)),
    radial-gradient(circle at 78% 32%, rgba(116, 211, 155, 0.035), transparent 34%);
}

.xh-hero-slide-new::after {
  background: transparent;
}

.xh-hero-slide-new {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #0d3439;
}

.xh-hero-slide-soft::after {
  display: none;
  background: none;
}

.xh-hero-copy {
  position: absolute;
  inset: 0;
  max-width: none !important;
  width: 100% !important;
  height: 100%;
  margin: 0 !important;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  text-align: left !important;
  justify-content: flex-start !important;
  padding-top: clamp(270px, 35vh, 320px);
  padding-left: clamp(96px, 7.6vw, 118px);
  padding-right: 42px;
}

.xh-hero-kicker {
  margin-bottom: 14px;
  color: #87d99f;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.36);
}

.xh-hero-copy h2,
.xh-hero-copy p {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.38);
}

.xh-hero-copy h2 {
  font-size: clamp(38px, 3.45vw, 58px) !important;
}

.xh-hero-copy p {
  font-size: clamp(14px, 0.9vw, 16px) !important;
}

.xh-hero-text-hidden .xh-hero-copy {
  opacity: 0;
  pointer-events: none;
}

.xh-hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.xh-hero-dots button {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.xh-hero-dots button.active {
  width: 58px;
  background: #fff;
}

.about .content ul i {
  color: #168953;
}

.xh-about-clean {
  background: #f7faf6;
}

.xh-about-clean h3 {
  color: #123b2b;
  font-size: 32px;
  line-height: 1.35;
}

.xh-about-clean img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 70px rgba(18, 59, 43, 0.12);
}

.xh-about-clean .content {
  background: #fff;
  border-left: 5px solid #168953;
  padding: 34px !important;
  box-shadow: 0 20px 60px rgba(18, 59, 43, 0.08);
}

.xh-about-clean .content p {
  color: #607168;
  line-height: 1.9;
}

.xh-about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xh-about-metrics div {
  background: #eef7f0;
  border: 1px solid rgba(22, 137, 83, 0.14);
  padding: 18px;
}

.xh-about-metrics strong {
  display: block;
  color: #123b2b;
  font-size: 26px;
  line-height: 1;
}

.xh-about-metrics span {
  display: block;
  margin-top: 8px;
  color: #6a7a71;
  font-size: 13px;
}

.xh-subpage-hero {
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 74px;
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.xh-subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 55, 47, 0.48), rgba(5, 74, 58, 0.22) 48%, rgba(5, 65, 54, 0.08));
}

.xh-subpage-hero .container {
  position: relative;
  z-index: 2;
}

.xh-subpage-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 14px 36px rgba(1, 34, 28, 0.32);
}

.xh-subpage-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.9;
  text-shadow: 0 10px 26px rgba(1, 34, 28, 0.24);
}

.xh-crumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.xh-crumbs a {
  color: #fff;
}

.xh-page-section {
  padding: 84px 0;
}

.xh-page-section[id] {
  scroll-margin-top: 128px;
}

.xh-page-section.alt {
  background: #f6faf7;
}

.xh-kicker {
  color: #168953;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.xh-page-title {
  max-width: 780px;
  margin-bottom: 30px;
}

.xh-page-title h2 {
  color: #123b2b;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  margin: 0 0 14px;
}

.xh-page-title p {
  color: #5d6d65;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.xh-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dce8e1;
  border: 1px solid #dce8e1;
}

.xh-stat-grid > div {
  background: #fff;
  padding: 30px 24px;
}

.xh-stat-grid strong {
  display: block;
  color: #123b2b;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
}

.xh-stat-grid span {
  color: #66766e;
  font-size: 14px;
}

.xh-content-card {
  height: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid #e0e9e4;
}

.xh-content-card h3 {
  color: #123b2b;
  font-size: 23px;
  margin-bottom: 14px;
}

.xh-content-card p,
.xh-content-card li {
  color: #617169;
  line-height: 1.9;
}

.xh-content-card ul {
  padding-left: 0;
  margin: 18px 0 0;
  list-style: none;
}

.xh-content-card li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.xh-content-card li i {
  color: #168953;
  margin-top: 6px;
}

.xh-section-nav {
  position: sticky;
  top: 76px;
  z-index: 8;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e0e9e4;
  backdrop-filter: blur(12px);
}

.xh-section-nav .container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

.xh-section-nav a {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: #174338;
  border: 1px solid #dce8e1;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
}

.xh-section-nav a:hover,
.xh-section-nav a.active {
  color: #fff;
  background: #168953;
  border-color: #168953;
}

.xh-culture-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.xh-culture-list span {
  display: block;
  padding: 18px 20px;
  color: #123b2b;
  background: #f4f8f5;
  border-left: 4px solid #168953;
  font-weight: 800;
}

.xh-certificate-panel {
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e9e4;
}

.xh-certificate-panel img {
  width: 100%;
  display: block;
  border: 1px solid #edf3ef;
}

.xh-certificate-panel-large {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
}

.xh-certificate-panel-large img {
  border: 0;
}

.xh-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.xh-photo-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: #0d342b;
}

.xh-photo-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.xh-photo-item:hover img {
  transform: scale(1.04);
}

.xh-photo-item .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 22px 20px;
  background: linear-gradient(180deg, rgba(6, 39, 32, 0), rgba(6, 39, 32, 0.88));
}

.xh-photo-item h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 20px;
}

.xh-photo-item p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 14px;
}

.xh-pdf-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.xh-pdf-showcase.single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.xh-pdf-page {
  padding: 14px;
  background: #fff;
  border: 1px solid #dfe9e4;
  box-shadow: 0 18px 40px rgba(12, 43, 35, 0.08);
}

.xh-pdf-page img {
  width: 100%;
  display: block;
}

.xh-pdf-caption {
  margin: 12px 4px 2px;
  color: #244b40;
  font-weight: 800;
}

.xh-solution-band {
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, #103e35, #168953);
}

.xh-solution-band h3 {
  color: #fff;
  margin-bottom: 14px;
}

.xh-solution-band p,
.xh-solution-band li {
  color: rgba(255, 255, 255, 0.86);
}

.xh-page-image {
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
}

.xh-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.xh-process-step {
  min-height: 190px;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid #deebe4;
}

.xh-process-step strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
  background: #168953;
  font-size: 14px;
}

.xh-process-step h3 {
  color: #123b2b;
  font-size: 19px;
  margin-bottom: 12px;
}

.xh-process-step p {
  color: #62746b;
  line-height: 1.75;
  margin: 0;
}

.xh-service-hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #0d342b;
  color: #fff;
}

.xh-service-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.xh-service-hero-card .copy {
  padding: 52px;
}

.xh-service-hero-card h2 {
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.xh-service-hero-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.xh-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.xh-tag-row span {
  padding: 8px 13px;
  color: #dff7e8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.xh-gallery-card {
  position: relative;
  overflow: hidden;
  background: #0d342b;
}

.xh-gallery-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.xh-gallery-card:hover img {
  transform: scale(1.05);
}

.xh-gallery-card .info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5, 30, 24, 0.9));
}

.xh-gallery-card h3 {
  color: #fff;
  font-size: 21px;
  margin: 0 0 8px;
}

.xh-gallery-card p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.xh-contact-panel {
  padding: 42px;
  height: 100%;
  background: #f6faf7;
  border: 1px solid #deebe4;
}

.xh-contact-panel h3 {
  color: #123b2b;
  margin-bottom: 20px;
}

.xh-contact-line {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid #deebe4;
}

.xh-contact-line i {
  color: #168953;
  font-size: 24px;
}

.xh-contact-line strong {
  display: block;
  color: #123b2b;
  margin-bottom: 4px;
}

.xh-contact-line span {
  color: #66766e;
}

.xh-ebook-intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
}

.xh-ebook-cover {
  overflow: hidden;
  background: #0d342b;
  box-shadow: 0 26px 60px rgba(18, 59, 43, 0.12);
}

.xh-ebook-cover img {
  width: 100%;
  display: block;
}

.xh-ebook-copy h2 {
  color: #123b2b;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
  margin: 12px 0 18px;
}

.xh-ebook-copy p {
  color: #62746b;
  line-height: 1.9;
  max-width: 720px;
}

.xh-ebook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.xh-btn-primary,
.xh-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
}

.xh-btn-primary {
  color: #fff;
  background: #168953;
}

.xh-btn-ghost {
  color: #123b2b;
  border: 1px solid rgba(18, 59, 43, 0.18);
  background: #fff;
}

.xh-ebook-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.xh-ebook-index span {
  padding: 9px 13px;
  color: #244b40;
  background: #f3f8f5;
  border: 1px solid #deebe4;
  font-size: 14px;
}

.xh-ebook-share-section {
  padding-top: 0;
}

.xh-ebook-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: #f7faf6;
  border: 1px solid #deebe4;
}

.xh-ebook-share h2 {
  color: #123b2b;
  font-size: clamp(30px, 3vw, 44px);
  margin: 10px 0 14px;
}

.xh-ebook-share p {
  max-width: 760px;
  color: #62746b;
  line-height: 1.85;
}

.xh-share-link {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 14px 16px;
  color: #244b40;
  background: #fff;
  border: 1px solid #deebe4;
  outline: none;
  word-break: break-all;
  font-family: inherit;
  font-size: 14px;
}

.xh-share-link:focus {
  border-color: #138a5c;
  box-shadow: 0 0 0 3px rgba(19, 138, 92, 0.12);
}

.xh-share-status {
  margin-top: 10px;
  color: #6d7b73;
  font-size: 13px;
  line-height: 1.7;
}

.xh-qr-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid #deebe4;
}

.xh-qr-card img {
  width: 190px;
  height: 190px;
  object-fit: contain;
}

.xh-qr-card span {
  color: #244b40;
  font-size: 14px;
  font-weight: 700;
}

.xh-ebook-frame {
  height: min(82vh, 860px);
  min-height: 620px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 24px 60px rgba(18, 59, 43, 0.16);
}

.xh-ebook-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.stats .stats-item i {
  color: #168953;
}

.services .service-item .details {
  min-height: 240px;
}

.services .service-item .img img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.services .service-item .icon {
  background: #168953;
}

.services .service-item:hover .details h3 {
  color: #168953;
}

.features .nav-link.active {
  background: #168953;
  border-color: #168953;
}

.features .nav-link:hover {
  border-color: #168953;
}

.xh-features-compact {
  background: #f7faf6;
}

.xh-features-compact .nav-tabs {
  border: 0;
  gap: 14px 0;
}

.xh-features-compact .nav-link {
  min-height: 118px;
  border-color: rgba(22, 137, 83, 0.14);
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 59, 43, 0.06);
}

.xh-features-compact .nav-link i {
  color: #168953;
}

.xh-features-compact .nav-link.active i,
.xh-features-compact .nav-link.active h4 {
  color: #fff;
}

.xh-feature-card {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(22, 137, 83, 0.12);
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 59, 43, 0.1);
}

.xh-feature-copy {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 46px;
}

.xh-feature-copy h3 {
  margin-bottom: 16px;
  color: #123b2b;
  font-size: 30px;
  line-height: 1.35;
}

.xh-feature-copy p {
  color: #607168;
  line-height: 1.85;
}

.xh-feature-img {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.xh-feature-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.xh-feature-points span {
  padding: 13px 14px;
  border: 1px solid rgba(22, 137, 83, 0.14);
  background: #eef7f0;
  color: #123b2b;
  font-weight: 700;
}

.call-to-action {
  padding: 68px 0;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(5, 45, 33, 0.96), rgba(20, 111, 78, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(116, 211, 155, 0.28), transparent 34%);
}

.call-to-action:before {
  display: none;
}

.call-to-action:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.call-to-action .container {
  max-width: 960px;
}

.call-to-action h3 {
  font-size: 32px;
  line-height: 1.28;
  margin-bottom: 14px;
}

.call-to-action p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  line-height: 1.8;
}

.call-to-action .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 148px;
  margin-top: 12px;
  padding: 13px 30px;
  border: 2px solid #fff;
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.call-to-action .cta-btn:hover {
  border-color: #74d39b;
  background: #74d39b;
  color: #123b2b;
}

.portfolio .portfolio-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: #168953;
}

.contact .info-item i {
  color: #168953;
}

.contact .php-email-form button[type=submit] {
  background: #168953;
}

.contact .php-email-form button[type=submit]:hover {
  background: #126f44;
}

.footer a:hover {
  color: #74d39b;
}

.footer .credits {
  display: none;
}

@media (max-width: 768px) {
  .header .logo h1 {
    font-size: 18px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero h2 {
    font-size: 38px;
  }

  .hero p {
    font-size: 16px;
  }

  .xh-hero-dots {
    bottom: 22px;
  }

  .xh-hero-carousel {
    min-height: 100vh;
    height: 100vh;
    aspect-ratio: auto;
  }

  .xh-hero-slide-new {
    background-size: cover;
    background-position: center center;
  }

  .xh-hero-dots button {
    width: 30px;
  }

  .xh-hero-dots button.active {
    width: 42px;
  }

  .xh-about-clean h3 {
    font-size: 26px;
  }

  .xh-about-clean img {
    height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .xh-subpage-hero {
    min-height: 360px;
    padding: 130px 0 54px;
  }

  .xh-stat-grid,
  .xh-process,
  .xh-service-hero-card,
  .xh-culture-list,
  .xh-photo-grid,
  .xh-pdf-showcase,
  .xh-ebook-intro {
    grid-template-columns: 1fr;
  }

  .xh-ebook-frame {
    min-height: 560px;
    height: 72vh;
  }

  .xh-ebook-share {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .xh-service-hero-card .copy,
  .xh-contact-panel,
  .xh-content-card {
    padding: 26px;
  }

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

  .xh-features-compact .nav-link {
    min-height: 88px;
  }

  .xh-feature-copy {
    min-height: 0;
    padding: 28px;
  }

  .xh-feature-copy h3 {
    font-size: 24px;
  }

  .xh-feature-img {
    height: auto;
    aspect-ratio: 1.25 / 1;
  }

  .xh-feature-points {
    grid-template-columns: 1fr;
  }

  .call-to-action {
    padding: 54px 0;
  }

  .call-to-action h3 {
    font-size: 26px;
  }
}
