/* =========================================================
   NCYT — Ningbo China-Younger International Trade Co., LTD
   Static one-page site
   Palette: mint #96ccb8 · ink #1c1c1a · soft #f6faf7
   Type: Montserrat
   ========================================================= */

:root {
  --mint: #96ccb8;
  --mint-deep: #6fae97;
  --mint-soft: #eef6f1;
  --ink: #1c1c1a;
  --ink-soft: #3a3a37;
  --muted: #6d7570;
  --line: #dfe8e2;
  --bg: #ffffff;
  --bg-soft: #f6faf7;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 46px; width: auto; }
.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--ink);
}
.logo-text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--mint); }
.nav-cta {
  color: #fff !important;
  background: var(--ink);
  padding: 10px 20px !important;
  border-radius: 999px;
  border-bottom: none;
}
.nav-cta:hover { background: var(--mint-deep); }

/* mobile nav */
.nav-toggle, .nav-burger { display: none; }

@media (max-width: 1040px) {
  .logo-text { display: none; }
  .nav-burger {
    display: block;
    width: 34px;
    height: 26px;
    position: relative;
    cursor: pointer;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    content: "";
    position: absolute;
    left: 4px;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-burger span { top: 12px; }
  .nav-burger span::before { top: -8px; left: 0; }
  .nav-burger span::after  { top: 8px;  left: 0; }
  .nav-toggle:checked + .nav-burger span { transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(8px) rotate(90deg); }
  .nav-toggle:checked + .nav-burger span::after  { opacity: 0; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------------- Hero ---------------- */
.hero {
  background: var(--mint);
  color: #fff;
  padding: 96px 0 84px;
  text-align: center;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: 78px;
  height: auto;
  margin-bottom: 34px;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(46px, 9vw, 118px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero-rule {
  display: block;
  width: min(620px, 80%);
  height: 1px;
  background: rgba(255,255,255,.6);
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,.94);
  margin-bottom: 40px;
}

/* rotating circular button */
.circle-btn {
  display: block;
  width: 150px;
  height: 150px;
}
.circle-btn-svg { width: 100%; height: 100%; overflow: visible; }
.circle-btn-svg text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .28em;
  fill: var(--ink);
  text-transform: uppercase;
}
.circle-btn-rotor {
  transform-origin: 150px 150px;
  animation: spin 16s linear infinite;
}
.circle-btn:hover .circle-btn-rotor { animation-duration: 6s; }
.circle-btn-core {
  fill: transparent;
  stroke: var(--ink);
  stroke-width: 1.2;
  transition: fill .25s ease;
}
.circle-btn:hover .circle-btn-core { fill: var(--ink); }
.circle-btn-arrow {
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .25s ease;
}
.circle-btn:hover .circle-btn-arrow { stroke: var(--mint); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .circle-btn-rotor { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Stats ---------------- */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  padding: 38px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.1;
}
.stat-num span {
  font-size: .55em;
  font-weight: 500;
  color: var(--mint-deep);
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; border-bottom: none; }
}

/* ---------------- Sections ---------------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--mint);
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 30px;
  max-width: 900px;
}
.section-intro {
  color: var(--muted);
  max-width: 620px;
  margin: -14px 0 40px;
}

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}
.about-text p { margin-bottom: 18px; }
.about-text .section-title { margin-bottom: 24px; }
.about-figure { position: relative; }
.about-figure::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 60%;
  height: 60%;
  border-top: 2px solid var(--mint);
  border-right: 2px solid var(--mint);
}
.about-figure img {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vw, 520px);
  object-fit: cover;
}
.about-figure figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.inline-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.inline-tags li {
  font-size: 12px;
  letter-spacing: .06em;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
}

/* download button */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 13px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.35;
  transition: background .2s ease, transform .2s ease;
}
.btn-download svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-download span {
  display: flex;
  flex-direction: column;
}
.btn-download em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.btn-download:hover { background: var(--mint-deep); }
.btn-download:hover em { color: rgba(255,255,255,.85); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------------- Tables ---------------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
}
/* grid children must be allowed to shrink below their content width */
.about-grid > *,
.strength-grid > *,
.compliance-grid > *,
.quality-grid > *,
.contact-grid > * { min-width: 0; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  min-width: 560px;
}
.data-table th {
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--mint-soft);
  padding: 16px 20px;
  border: 1px solid var(--line);
}
.data-table td {
  padding: 16px 20px;
  border: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.data-table tbody tr:hover td { background: #fbfdfc; }
.data-table td:first-child { font-weight: 500; color: var(--ink); }
.data-table td:last-child { font-weight: 600; color: var(--mint-deep); }

/* ---------------- Facility strip ---------------- */
.facility-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.facility-strip figure { overflow: hidden; background: #fff; }
.facility-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}
.facility-strip figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .facility-strip { grid-template-columns: repeat(2, 1fr); }
  .facility-strip img { height: 180px; }
}

/* ---------------- Strengths ---------------- */
.strength-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
}
.strength-col h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.strength-list {
  list-style: none;
  border-left: 2px solid var(--mint);
  padding-left: 26px;
}
.strength-list li {
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--muted);
}
.strength-list li strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 15.5px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 132px;
  padding: 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.benefit:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}
@media (max-width: 900px) {
  .strength-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------- Check lists ---------------- */
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--mint-deep);
  border-bottom: 2px solid var(--mint-deep);
  transform: rotate(-45deg);
}
.check-list.compact li { font-size: 15px; margin-bottom: 12px; }

/* ---------------- Compliance ---------------- */
.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.cert {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 190px;
}
.cert img {
  max-height: 92px;
  width: auto;
  object-fit: contain;
}
.cert figcaption {
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.cert-text .grs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 2px solid var(--mint-deep);
  border-radius: 50%;
  color: var(--mint-deep);
  font-size: 22px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .compliance-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------------- Quality ---------------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.process li {
  padding: 26px 24px 30px;
  background: #fff;
  border-top: 3px solid var(--mint);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.process .step {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--mint-deep);
  margin-bottom: 12px;
}
.process strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

.quality-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .quality-grid { grid-template-columns: 1fr; gap: 32px; }
}
.aql-table { font-size: 14px; }
.aql-table th, .aql-table td { padding: 10px 16px; }
.aql-table td:first-child { font-weight: 500; }
.aql-table td:last-child { color: var(--ink-soft); font-weight: 400; }
.aql-table tbody tr:nth-child(even) td { background: #fbfdfc; }

/* ---------------- Showcase ---------------- */
.showcase-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 46px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.showcase-title:first-of-type { margin-top: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery figure {
  overflow: hidden;
  background: #fff;
  aspect-ratio: 3 / 4;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .gallery, .gallery-four { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery, .gallery-four { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- Experience ---------------- */
.experience {
  background: var(--ink);
  color: rgba(255,255,255,.82);
}
.experience .eyebrow { color: var(--mint); }
.experience .eyebrow::before { background: var(--mint); }
.experience .section-title { color: #fff; }
.experience-line {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 300;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
}
.experience-line strong { font-weight: 600; color: var(--mint); }

.client-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-list li {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
  transition: border-color .2s ease, color .2s ease;
}
.client-list li:hover { border-color: var(--mint); color: #fff; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin-top: 34px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.contact-list .value {
  font-size: 16px;
  color: var(--ink);
}
a.value:hover { color: var(--mint-deep); }
.lead { color: var(--muted); margin-bottom: 8px; }

.request-form { max-width: 560px; }
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--mint-deep); }
.btn-solid {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 15px 38px;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-solid:hover { background: var(--mint-deep); }
.form-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.form-note a { border-bottom: 1px solid var(--mint); }
.form-note a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #141413;
  color: rgba(255,255,255,.72);
  padding: 68px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr .9fr;
  gap: 44px;
}
.footer-logo img { height: 56px; width: auto; }
.footer-tagline {
  margin: 18px 0 20px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}
.site-footer address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 2;
}
.site-footer address a:hover { color: #fff; text-decoration: underline; }
.footer-col h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  padding: 4px 0;
  color: rgba(255,255,255,.66);
}
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
