:root {
  --primary: #07a34a;
  --primary-dark: #047239;
  --text-main: #1f252b;
  --text-soft: #63707d;
  --line: #dde5ea;
  --surface: #ffffff;
  --surface-soft: #f5f7f8;
  --surface-muted: #eef3f2;
  --footer-bg: #040404;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow-lg: 0 24px 60px rgba(15, 44, 32, 0.12);
  --shadow-sm: 0 12px 28px rgba(20, 34, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.page-container {
  width: min(90%, 1660px);
  margin: 0 auto;
}

.top-container {
  width: min(94%, 1760px);
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.section-tag::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 300;
}

.section-heading-center {
  text-align: center;
}

.section-heading-center .section-tag {
  justify-content: center;
}

.section-heading-center .section-tag::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.section-heading-center .section-tag::before {
  display: none;
}

.section-heading-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #10b85a, #04813f);
  box-shadow: 0 14px 30px rgba(7, 163, 74, 0.28);
}

.btn-secondary {
  color: var(--text-main);
  background: #fff;
  border: 1px solid rgba(31, 37, 43, 0.12);
}

.btn-primary:hover,
.btn-secondary:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 700;
}

.text-link::after {
  content: "\e61a";
  font-family: iconfont;
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding-top: 18px;
  background: #fff;
  box-sizing: border-box;
  transition:
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

.site-header.is-sticky {
  padding-top: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.site-logo-image {
  display: block;
  height: 56px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}


.site-nav {
  flex: 1;
}

.site-nav > ul {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Desktop dropdown submenu */
.site-nav > ul > li {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.site-nav .submenu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  padding: 12px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(31, 37, 43, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15, 44, 32, 0.14);
  z-index: 10;
  transform: translateY(8px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

.site-nav > ul > li:hover > .submenu,
.site-nav > ul > li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Third-level submenu */
.site-nav .submenu > li:hover > .submenu-level-3,
.site-nav .submenu > li:focus-within > .submenu-level-3 {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav .submenu > li > .submenu-link {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: #20272d;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav .submenu > li > .submenu-link:hover {
  color: var(--primary);
}

.site-nav .submenu-level-3 {
  top: 0;
  left: calc(100% - 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #222b32;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tool,
.header-language,
.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(31, 37, 43, 0.12);
  background: rgba(255, 255, 255, 0.68);
  color: #20272d;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.header-tool:hover,
.footer-social-links a:hover {
  transform: translateY(-2px);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.header-language {
  width: auto;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(31, 37, 43, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #1d262d;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.search-drawer,
.mobile-nav-panel {
  display: none;
}

.search-drawer.is-open {
  display: block;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(31, 37, 43, 0.08);
}

.search-drawer-inner {
  padding: 22px 0 28px;
}

.search-drawer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-drawer-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #eff4f2;
  font-size: 28px;
  line-height: 1;
}

.search-drawer-form {
  display: flex;
  gap: 14px;
}

.search-drawer-form input {
  flex: 1;
  height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(31, 37, 43, 0.1);
  border-radius: 999px;
  background: #fff;
}

.search-drawer-form button {
  min-width: 140px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  padding-top: 84px;
  color: #fff;
  background: var(--footer-bg);
}

.footer-curve {
    position: relative;
    top: 10px;
  margin: 0;
  width: 100%;
  object-fit: cover;
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-panel {
  min-height: 392px;
  padding: 44px 22px 28px;
}

.footer-panel + .footer-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-panel-title {
  margin: 0 0 22px;
  font-size: 33px;
  line-height: 1.1;
  font-weight: 300;
}

.footer-home-info {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 50px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.footer-home-copy h5 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 300;
}

.footer-home-copy p {
  margin: 18px 0 0;
  max-width: 368px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.footer-country-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  height: 42px;
  padding: 0 16px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: #f7f7f7;
  color: #121212;
  font-size: 14px;
  font-weight: 700;
}

.footer-country-select::after {
  content: "v";
  font-size: 12px;
  color: #1f252b;
}

.footer-contact-detail {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
  text-align: right;
}

.footer-contact-detail p {
  margin: 0;
}

.footer-contact-detail p + p {
  margin-top: 2px;
}

.footer-contact-detail a {
  color: var(--primary);
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  height: 36px;
  margin-top: 14px;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-contact-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-social-panel {
  display: flex;
  flex-direction: column;
}

.footer-social-panel .footer-social-links {
  margin-top: 4px;
  margin-left: auto;
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

.footer-social-links a {
  width: 44px;
  height: 44px;
  border-color: rgba(255, 255, 255, 0.46);
  background: transparent;
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links-column h4 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 300;
}

.footer-links-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.footer-links-column {
  min-height: 256px;
  padding: 28px 18px 18px;
}

.footer-links-column + .footer-links-column {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links-column li + li {
  margin-top: 8px;
}

.footer-links-column a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.25s ease;
}

.footer-links-column a:hover,
.footer-bottom-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  background: #07a34a;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  color: #fff;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}

.footer-bottom-links a + a::before {
  content: "·";
  position: absolute;
  left: -10px;
  top: 0;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .mobile-nav-panel.is-open {
    display: block;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(31, 37, 43, 0.08);
  }

  .mobile-nav-panel ul {
    width: min(94%, 1760px);
    margin: 0 auto;
    padding: 14px 0 20px;
    list-style: none;
  }

  .mobile-nav-panel li + li {
    border-top: 1px solid rgba(31, 37, 43, 0.06);
  }

  .mobile-nav-panel a {
    display: block;
    padding: 14px 0;
    font-weight: 700;
  }

  .footer-top,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-panel,
  .footer-links-column {
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-panel + .footer-panel,
  .footer-links-column + .footer-links-column {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .page-container {
    width: calc(100% - 28px);
  }

  .top-container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-top: 8px;
  }

  .header-row {
    min-height: 68px;
  }

  .header-language,
  .header-tool:nth-child(2),
  .header-tool:nth-child(3) {
    display: none;
  }

  .search-drawer-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-drawer-form input,
  .search-drawer-form button {
    width: 100%;
    min-height: 50px;
    height: 50px;
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .site-footer {
    padding-top: 88px;
  }

  .footer-curve {
    height: 88px;
  }

  .footer-panel-title,
  .footer-links-column h4 {
    font-size: 28px;
  }

  .footer-home-info {
    flex-direction: column;
    gap: 16px;
  }

  .footer-home-copy h5 {
    font-size: 28px;
  }

  .footer-country-select {
    width: 100%;
    max-width: 250px;
  }

  .footer-contact-detail,
  .footer-links-column ul {
    text-align: left;
  }

  .footer-social-panel .footer-social-links {
    margin-left: 0;
  }

  .footer-bottom-row,
  .section-heading-split {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
}
