/* =====================
   Banner
   ===================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-position: center 64%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5.625rem 0 6.25rem 0;
}

.hero-copy {
  width: 50%;
  position: relative;
  top: -3.125rem;
}

.hero-brand-logo {
  width: 60%;
  margin: 0 auto;
  height: 13rem;
}

.hero-copy h1 {
  margin-top: 1.875rem;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.28;
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero-copy > p {
  margin-top: 10px;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  width: 88%;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: clamp(70px, 8vw, 135px);
  margin-top: 34px;
}
.hero-stat .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
}
.hero-stat .flex p {
  font-size: 3.125rem;
  font-weight: 700;
}

.stat-value {
  display: block;
  font-size: 3.125rem;
  font-weight: 700;
  line-height: 1;

  text-align: center;
}

.stat-label {
  display: block;
  font-size: 1.625rem;
  font-weight: 600;
  text-align: center;
}

/* 国家面板 */
.country-panel {
  width: 30rem;
  padding: 26px 26px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;

  backdrop-filter: blur(2px);
}

.country-panel h2 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.country-list {
  display: grid;
  gap: 0.625rem;
  margin-top: 0.625rem;
  height: 16.375rem;
  overflow-y: auto;
  padding-right: 0.625rem;
}
.country-list::-webkit-scrollbar {
  width: 0.375rem;
}
.country-list::-webkit-scrollbar-thumb {
  background: #1e4f8c;
  border-radius: 999px;
}
.country-list::-webkit-scrollbar-track {
  background: #d9d9d9;
}
.country-option {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.5625rem;
  padding: 6px 13px;
  color: var(--color-text);
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 1.75rem;
  font-weight: 500;
  text-align: left;
  color: #0d2240;

  transition: transform 0.22s var(--ease-out), background-color 0.22s,
    color 0.22s, border-color 0.22s, box-shadow 0.22s;
  font-weight: 600;
  background: url(../images/yjt.png) no-repeat 96% center
    rgba(255, 255, 255, 0.2);
}

.country-option:hover {
  color: var(--color-white);
  transform: translateX(4px);
  background: url(../images/yjt.png) no-repeat 96% center var(--color-green);
}

.country-flag {
  width: 3.4375rem;
  margin-right: 1rem;
  overflow: hidden;
}

.country-flag img {
  width: 100%;
  height: 100%;
  display: block;
}

.country-panel .btn {
  width: 100%;
  min-height: 3.5rem;
  margin: 0.8125rem auto 0;
  border-radius: 9px;
  font-size: 1.5rem;
  font-weight: 600;
  background: #1e4f8c;
}

.update-date {
  margin-top: 10px;
  color: #1a1c1a;
  font-size: 1.125rem;
  text-align: center;
}

/* 搜索条 */
.search-band {
  position: relative;
  z-index: 2;
  background: #1d3766;
}

.search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5.3125rem;
}
.souSEelect {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-field {
  position: relative;
  height: 3.4375rem;
  margin-right: 1.875rem;
}

.search-field select,
.search-field input {
  width: 100%;
  height: 100%;
  color: #fff;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.9);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.125rem;
}
.search-field input {
  background: var(--color-white);
}
.search-field select option {
  color: #333 !important; /* 下拉选项文字深色 */
  background-color: #fff !important; /* 下拉背景白色 */
}
.search-field select option:checked {
  background-color: #e8edf7 !important; /* 选中那行的背景色 */
}
.search-field select {
  appearance: none;
  padding: 0 34px 0 18px;
  cursor: pointer;
  width: 15rem;
  border-radius: 1.25rem;
}
.search-field-company {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0 !important;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border-radius: 1.25rem;
}
.search-field input {
  padding: 0 1.125rem;
  width: 40rem;
  background: none;
  border: none;
}

.search-field input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.search-field > svg {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 0.75rem;
  height: 0.5rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.375rem;
  height: 100%;
  color: var(--color-blue-900);
  background: var(--color-white);

  transition: transform 0.24s var(--ease-out), color 0.24s, box-shadow 0.24s;
}

.search-submit img {
  width: 0.9375rem;
}

.search-submit:hover {
  color: var(--color-green-700);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

/* =====================
     行业分类
     ===================== */
.categories-section {
  background: #f4f6f9;
  padding: 4.3125rem 0 3.75rem 0;
  text-align: center;
}

.section-kicker {
  color: #2e9243;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 132px));
  justify-content: center;
  gap: 28px;
  max-width: 820px;
  margin: 5rem auto;
}

.category-item {
  display: grid;
  justify-items: center;
  gap: 13px;
  color: var(--color-text);
  font-size: 1.25rem;
}

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6.875rem;
  height: 6.875rem;
  color: var(--color-green-600);
  background: rgba(255, 255, 255, 1);
  border: 1px solid #1d3766;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s,
    color 0.3s;
  padding: 0.375rem;
}
.cicle {
  background: #e8f0e9;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon img {
  width: 1.875rem;
}

.category-item:hover .category-icon {
  color: var(--color-white);
  background: var(--color-green-600);
  border-color: var(--color-green-600);
  box-shadow: 0 12px 24px rgba(47, 158, 63, 0.24);
  transform: translateY(-5px) rotate(-3deg);
}

.categories-section .btn {
  min-height: 3.5rem;
  padding: 0 2.5rem;
  border-radius: 1.875rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: #1e4f8c;
}

/* =====================
     新闻
     ===================== */
.news-section {
  padding: 3.125rem 0;
}

.news-heading,
.companies-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.news-heading {
  margin-bottom: 2.5rem;
}

.news-heading h2,
.companies-heading h2 {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-green);
  font-size: 1.125rem;
  font-weight: 600;
  transition: transform 0.24s var(--ease-out), color 0.24s;
}

.view-all:hover {
  color: var(--color-green-700);
  transform: translateX(4px);
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: 5.625rem minmax(0, 0.88fr) auto;
  align-items: center;
  height: 5.5rem;
  padding: 1.25rem 2.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(5, 47, 85, 0.035);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s,
    border-color 0.28s;
}

.news-item:hover {
  border-color: rgba(47, 158, 63, 0.28);
  box-shadow: 0 15px 32px rgba(5, 47, 85, 0.12);
  transform: translateY(-4px);
}

.news-flag {
  width: 4.375rem;

  overflow: hidden;
}

.news-flag img {
  width: 100%;
  display: block;
}

.news-content {
  min-width: 0;
  padding-left: 0.9375rem;
}

.news-title {
  overflow: hidden;
  color: #1a2a3a;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.22s;
}

.news-item:hover .news-title {
  color: var(--color-blue-700);
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: #1e4f8c;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.22s;
}

.news-more:hover {
  color: var(--color-green-700);
}

.news-date {
  padding-left: 1.5rem;
  color: #6b7f95;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* =====================
     精选企业
     ===================== */
.companies-section {
  position: relative;
  padding: 5.3125rem 0;
  background: #f4f6f9;
}

.companies-heading {
  position: relative;
  justify-content: center;
  margin-bottom: 48px;
}

.companies-heading h2 {
  font-size: 2.5rem;
  font-weight: 700;
}
.companies-section .container {
  overflow: hidden;
}
.company-controls {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  gap: 10px;
  transform: translateY(-50%);
}

.company-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-blue-900);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(5, 47, 85, 0.08);
  transition: color 0.22s, background-color 0.22s, border-color 0.22s,
    transform 0.22s var(--ease-out), opacity 0.22s;
}

.company-control svg {
  width: 17px;
  height: 12px;
}

.company-control:hover {
  color: var(--color-white);
  background: var(--color-green-600);
  border-color: var(--color-green-600);
  transform: translateY(-2px);
}

.company-control.swiper-button-disabled {
  pointer-events: none;
  opacity: 0.35;
}

.company-swiper {
  overflow: visible;
}

.company-swiper .swiper-wrapper {
  align-items: stretch;
}

.company-swiper .swiper-slide {
  height: auto;
}

.company-card {
  display: flex;
  flex-direction: column;
  height: 100%;

  padding: 1.5625rem;
  background: var(--color-white);
  border: 1px solid #e8edf2;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(5, 47, 85, 0.055);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.company-card:hover {
  border-color: rgba(23, 111, 172, 0.2);
  box-shadow: var(--shadow-hover);
  transform: translateY(-7px);
}

.company-head {
  display: grid;
  grid-template-columns: 3.4375rem minmax(0, 1fr);
  align-items: start;
}

.company-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--color-white);
  background: #1d3766;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.company-name {
  color: var(--color-text);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.company-meta {
  margin-top: 3px;
  color: #838b95;
  font-size: 0.875rem;
  min-height: 2.8125rem;
}

.company-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 27px;

  padding: 0 13px;
  color: var(--color-green);
  background: #e6f2e9;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.company-desc {
  margin-top: 0.9375rem;
  color: #4a525c;
  font-size: 1.0625rem;
  line-height: 1.58;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  border-bottom: 1px solid #e9ecf0;
  height: 6.25rem;
}

.company-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;

  padding-top: 18px;
}

.company-cnpj {
  color: #838b95;
  font-size: 0.875rem;
  line-height: 1.5;
}

.company-profile {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #536678;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.22s, transform 0.22s var(--ease-out);
}

.company-profile svg {
  width: 13px;
  height: 9px;
}

.company-card:hover .company-profile {
  color: var(--color-green-700);
  transform: translateX(3px);
}

/* =====================
     CTA
     ===================== */
.cta-section {
  color: var(--color-white);
  background: #2e9243;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 4.375rem 0;
}

.cta-inner h2 {
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.25;
}

.cta-inner p {
  margin-top: 8px;
  font-size: 1.125rem;
  color: #e6f2e9;
}

.cta-inner .btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 26px;
  font-size: 1.125rem;
  background: #1e4f8c;
  font-weight: 600;
}

/* =====================
     响应式
     ===================== */
@media (max-width: 1200px) {
  .hero-brand-logo {
    font-size: 47px;
  }

  .hero-brand-sub {
    padding-left: 55px;
    font-size: 24px;
  }

  .country-panel {
    padding-inline: 22px;
  }

  .country-option {
    font-size: 19px;
  }

  .search-form {
    grid-template-columns: 170px 195px minmax(0, 1fr) 56px;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    display: block;
  }
  .hero-copy {
    width: 100%;
  }
  .country-panel {
    width: 100%;
  }
  .hero-brand-logo {
    width: 70%;
  }
  .hero-stats {
    justify-content: center;
    gap: 56px;
  }
  .hero-copy > p {
    width: 100%;
  }
  .search-form {
    grid-template-columns: 1fr 1fr;
    padding: 13px 0;
  }

  .search-field-company {
    grid-column: 1 / -1;
  }

  .categories-section {
    padding: 58px 0 48px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    max-width: 560px;
    margin-top: 38px;
    gap: 28px 20px;
  }

  .news-content {
    padding-left: 16px;
  }

  .news-date {
    grid-column: 2;
    justify-self: start;
    padding-top: 2px;
    padding-left: 16px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero-bg,
  .hero-bg img {
    object-fit: cover;
  }
  .country-list {
    height: auto;
  }
  .hero-grid {
    padding-top: 34px;
  }

  .hero-brand-logo {
    font-size: 39px;
    letter-spacing: -2px;
  }

  .hero-brand-logo sup {
    font-size: 12px;
  }

  .hero-brand-sub {
    padding-left: 45px;
    font-size: 20px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 27px;
  }

  .stat-label {
    font-size: 14px;
    text-align: center;
  }

  .country-panel {
    padding: 22px 18px 18px;
  }

  .country-panel h2 {
    font-size: 22px;
  }

  .country-option {
    min-height: 42px;
    font-size: 17px;
  }

  .country-flag {
    width: 30px;
    height: 23px;
    margin-right: 10px;
  }

  .country-panel .btn {
    min-height: 42px;
    font-size: 17px;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-heading {
    margin-bottom: 20px;
  }

  .news-title {
    font-size: 15px;
  }

  .cta-inner .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .container {
    width: 90%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .search-form,
  .souSEelect {
    grid-template-columns: 1fr;
    height: auto;
    display: block;
  }
  .search-field select,
  .search-field input {
    width: 100%;
  }
  .search-field {
    margin-bottom: 20px;
    margin-right: 0;
  }
  .search-field-company,
  .search-submit {
    grid-column: auto;
  }

  .category-icon {
    width: 70px;
    height: 70px;
  }

  .news-list {
    gap: 10px;
  }

  .news-item {
    padding: 13px 14px;
    height: auto;
    grid-template-columns: 5.625rem minmax(0, 1fr) auto;
  }
}
