/*
Theme Name: Green Tiancheng Export
Theme URI: https://atlassrcs.com/
Author: Guangxi Green Tiancheng Agriculture Co., LTD
Description: Static-export friendly company website for Guangxi Green Tiancheng fertilizer export business.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: atlassrcs-export
*/

:root {
  --ink: #111827;
  --muted: #586474;
  --line: #dfe5e0;
  --paper: #ffffff;
  --soft: #f4f7f2;
  --green: #0f6b46;
  --green-deep: #063f32;
  --teal: #096b72;
  --amber: #c98620;
  --amber-soft: #fff3d8;
  --shadow: 0 18px 45px rgba(15, 25, 35, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  overflow: hidden;
  background: var(--paper);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 22, 18, 0.86);
  color: #fff;
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover,
.main-nav a:focus {
  color: #ffffff;
}

.nav-contact {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
}

.hero {
  min-height: 88vh;
  position: relative;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(3, 18, 16, 0.82) 0%, rgba(3, 18, 16, 0.56) 46%, rgba(3, 18, 16, 0.16) 100%),
    url("/wp-content/themes/atlassrcs-export/assets/warehouse/railway-port-exterior.jpg");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 88vh;
  margin: 0 auto;
  padding: 150px 0 110px;
  display: flex;
  align-items: flex-end;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #d5f1dd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  background: #ffffff;
  color: var(--green-deep);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.button-dark {
  background: var(--green-deep);
  color: #ffffff;
}

.email-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--green-deep);
  font-weight: 800;
  user-select: text;
}

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  transform: translate(-50%, 50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 112px;
  padding: 20px;
  display: grid;
  align-content: center;
  gap: 5px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--green-deep);
  font-size: 24px;
  line-height: 1.15;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

main {
  background: var(--paper);
}

.section {
  padding: 118px 0;
}

.section-after-hero {
  padding-top: 132px;
}

.section-muted {
  background: var(--soft);
}

.section-deep {
  background: var(--green-deep);
  color: #ffffff;
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head.wide {
  max-width: 940px;
}

.label {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-deep .label {
  color: #9ee0c1;
}

h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-deep h2,
.section-deep h3 {
  color: #ffffff;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 18px;
}

.official-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.official-link span {
  padding: 2px 7px;
  border: 1px solid rgba(15, 107, 70, 0.26);
  border-radius: 6px;
  background: #eef7f1;
  color: var(--green);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.official-link:hover,
.official-link:focus {
  color: var(--teal);
}

.section-deep .section-head p,
.section-deep .lead {
  color: rgba(255, 255, 255, 0.78);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 20px;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.credential-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-deep);
}

.credential-list span {
  color: var(--muted);
  font-size: 14px;
}

.logo-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.logo-panel img {
  width: 100%;
  border-radius: 6px;
}

.product-category {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.product-category:first-of-type {
  padding-top: 8px;
  border-top: 0;
}

.category-head {
  max-width: 920px;
  margin-bottom: 24px;
}

.category-head .label {
  margin-bottom: 16px;
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1.2;
}

.category-head h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.category-head p {
  color: var(--muted);
  font-size: 17px;
}

.notice-strip {
  margin: 0 0 24px;
  padding: 15px 18px;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  background: var(--amber-soft);
  color: #6b4510;
  font-weight: 800;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.evidence-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.evidence-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f7f9f8;
}

.evidence-card figcaption {
  padding: 12px 14px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
}

.license-band {
  max-width: 520px;
  margin-bottom: 24px;
}

.evidence-card-wide img {
  height: 320px;
}

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

.category-grid {
  margin-top: 18px;
}

.compact-grid {
  grid-template-columns: minmax(0, 0.5fr);
}

.product-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: #e9eee8;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-contain img,
.product-image img[src$="ammonium-nitrate.png"] {
  padding: 18px;
  object-fit: contain;
  background: #f7f9f8;
}

.product-body {
  padding: 20px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.product-body h3,
.product-body h4 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.product-specs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-specs li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.product-specs b {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.price-panel {
  margin-top: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  box-shadow: var(--shadow);
}

.price-copy h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.price-copy p {
  color: var(--muted);
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 14px;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--green-deep);
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:nth-child(3) {
  color: var(--green-deep);
  font-weight: 800;
  white-space: nowrap;
}

.warehouse-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.warehouse-copy {
  display: grid;
  gap: 18px;
}

.process-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: #1c1305;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 3px;
}

.process-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.warehouse-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

.gallery-main,
.gallery-small {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.gallery-main {
  min-height: 468px;
}

.gallery-small {
  min-height: 228px;
}

.gallery-main img,
.gallery-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-column {
  display: grid;
  gap: 12px;
}

.map-band {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  align-items: center;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.map-frame img {
  width: 100%;
}

.service-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.service-panel h3 {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 24px;
}

.service-panel p {
  margin-bottom: 18px;
  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags span {
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #6b4510;
  font-size: 13px;
  font-weight: 800;
}

.export-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.export-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.export-card b {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 13px;
}

.export-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
}

.export-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.optional-card {
  border-color: rgba(201, 134, 32, 0.38);
  background: var(--amber-soft);
}

.optional-card b,
.optional-card h3 {
  color: #6b4510;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 38px;
  align-items: center;
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
}

.contact-email {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
  user-select: text;
}

.contact-hint {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer {
  background: #061711;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner strong {
  color: #ffffff;
}

@media (max-width: 980px) {
  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    gap: 16px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-inner {
    padding-top: 180px;
  }

  .hero-metrics,
  .products-grid,
  .export-grid,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-panel {
    grid-template-columns: 1fr;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(1),
  .metric:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .about-grid,
  .warehouse-layout,
  .map-band,
  .contact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .header-inner,
  .hero-inner,
  .hero-metrics,
  .container,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-sub {
    display: none;
  }

  .main-nav {
    font-size: 13px;
  }

  .nav-contact {
    padding: 6px 10px;
  }

  .hero {
    min-height: 0;
    background-position: 58% center;
  }

  .hero-inner {
    min-height: 680px;
    padding-top: 168px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-lede,
  .section-head p,
  .lead {
    font-size: 16px;
  }

  .hero-metrics,
  .products-grid,
  .evidence-grid,
  .credential-list,
  .export-grid,
  .warehouse-gallery {
    grid-template-columns: 1fr;
  }

  .category-head h3 {
    font-size: 25px;
  }

  .product-category {
    padding: 38px 0;
  }

  .evidence-card img,
  .evidence-card-wide img {
    height: 240px;
  }

  .price-panel {
    padding: 20px;
  }

  .hero-metrics {
    position: static;
    transform: none;
    margin-bottom: 28px;
  }

  .metric {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 84px 0;
  }

  .section-after-hero {
    padding-top: 84px;
  }

  .gallery-main,
  .gallery-small {
    min-height: 230px;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
