/* PingXiang Tii Technologies */

:root {
  --accent: #C8361C;
  --accent-dark: #A42C16;
  --link: #B8321A;
  --link-hover: #8E2412;
  --accent-light: #F0795F;
  --ink: #16181D;
  --ink-deep: #0E0F12;
  --text: #3A404A;
  --text-muted: #4A515C;
  --text-on-dark: #C9CCD2;
  --ground: #F2F3F1;
  --white: #FFFFFF;
  --line: #DCDEDA;
  --line-dark: #3A404A;
  --input-border: #B9BDC4;
  --green: #2F6B45;
  --green-bg: #E6EEE7;
  --green-line: #C9D8CC;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Helvetica, sans-serif;
  --gutter: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  background: var(--ground);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

h2 { font-size: 56px; line-height: 1; }

p { margin: 0; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--link);
}
.eyebrow-light { color: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  border: 0;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn-sm { height: 44px; padding: 0 22px; font-size: 16px; }
.btn-accent, .btn-accent:hover { color: var(--white); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border: 1px solid #5B6470; color: var(--white); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 44px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.site-nav a:not(.btn) { color: var(--ink); }
.site-nav a:not(.btn):hover { color: var(--link); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  display: flex;
  min-height: 720px;
  background: var(--ink);
}
.hero-text {
  flex: 0 0 640px;
  padding: 96px 64px 80px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-size: 84px;
  line-height: 0.95;
  color: var(--white);
}
.hero p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-on-dark);
  max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-image {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  object-fit: cover;
}

/* Sustainability */
.sustainability {
  background: var(--green-bg);
  border-bottom: 1px solid var(--green-line);
}
.sustainability-inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.sustainability-label {
  flex-shrink: 0;
  width: 280px;
  padding-left: 20px;
  border-left: 5px solid var(--green);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sustainability-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.sustainability-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}
.sustainability p { font-size: 21px; line-height: 1.5; color: #1F2A22; }

/* Facts */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid {
  min-height: 112px;
  padding-top: 24px;
  padding-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact-title { font-family: var(--display); font-weight: 700; font-size: 30px; }
.fact-text { font-size: 15px; color: var(--text-muted); }

/* About */
.about-inner {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  gap: 80px;
  align-items: center;
}
.about-text {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-text p { font-size: 18px; line-height: 1.65; color: var(--text); }
.about-gallery {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.about-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
}
.about-gallery img.wide { grid-column: span 2; height: 340px; }

/* Capabilities */
.capabilities { background: var(--white); }
.capabilities > .container {
  padding-top: 112px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.capabilities-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}
.capabilities-heading { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.capabilities-head p { max-width: 420px; font-size: 18px; line-height: 1.6; color: var(--text); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--ground);
  border-radius: 6px;
  overflow: hidden;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.card-num { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--link); }
.card h3 { font-size: 28px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--text); }

/* Quality */
.quality { background: var(--ink); }
.quality > .container {
  padding-top: 112px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.quality-head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.quality h2 { color: var(--white); }
.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.quality-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.quality-item h3 { font-weight: 600; font-size: 26px; color: var(--white); }
.quality-item p { font-size: 16px; line-height: 1.6; color: var(--text-on-dark); }

/* Contact */
.contact > .container { padding-top: 120px; padding-bottom: 120px; }
.contact-box {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.contact-info {
  flex: 0 0 560px;
  padding: 64px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info h2 { font-size: 52px; color: var(--white); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-on-dark);
}
.contact-label { font-weight: 600; color: var(--white); }
.contact-details a { color: var(--accent-light); }
.contact-details a:hover { color: var(--white); }

.contact-form {
  flex: 1 1 auto;
  min-width: 0;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-form h3 { font-size: 32px; }
.contact-form .btn { align-self: flex-start; padding: 0 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.form-grid .span-2 { grid-column: span 2; }
.form-grid input,
.form-grid select,
.form-grid textarea {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}
.form-grid textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
}
.form-status.ok { background: var(--green-bg); color: #1F4A30; border: 1px solid var(--green-line); }
.form-status.err { background: #FBE9E5; color: #7A1F0E; border: 1px solid #F0C2B7; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #9AA0AA; font-size: 15px; }
.footer-inner {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  text-transform: uppercase;
}
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { color: var(--text-on-dark); }
.footer-nav a:hover { color: var(--white); }

/* Tablet */
@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  .hero-text { flex-basis: 520px; padding-left: var(--gutter); }
  .hero h1 { font-size: 68px; }
  .about-text { flex-basis: 420px; }
  .contact-info { flex-basis: 420px; padding: 48px; }
  .contact-form { padding: 48px; }
}

@media (max-width: 960px) {
  h2 { font-size: 44px; }
  .hero { flex-direction: column; min-height: 0; }
  .hero-text { flex-basis: auto; padding: 72px var(--gutter) 56px; }
  .hero-image { height: 420px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-inner { flex-direction: column; align-items: stretch; padding-top: 88px; padding-bottom: 88px; gap: 48px; }
  .about-text { flex-basis: auto; }
  .capabilities > .container, .quality > .container { padding-top: 88px; padding-bottom: 88px; }
  .capabilities-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact > .container { padding-top: 88px; padding-bottom: 88px; }
  .contact-box { flex-direction: column; }
  .contact-info { flex-basis: auto; }
  .sustainability-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-inner { flex-direction: column; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 72px; }
  .header-inner { height: 72px; }
  .site-nav { top: 72px; }
  .logo img { height: 32px; }
  h2 { font-size: 38px; }
  .hero-text { padding-top: 56px; padding-bottom: 48px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 18px; }
  .hero-image { height: 280px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sustainability-label { width: auto; }
  .sustainability p { font-size: 18px; }
  .facts-grid { grid-template-columns: 1fr; gap: 20px; }
  .fact-title { font-size: 26px; }
  .about-gallery { grid-template-columns: 1fr; }
  .about-gallery img.wide { grid-column: auto; height: 240px; }
  .about-gallery img { height: 200px; }
  .cards { grid-template-columns: 1fr; gap: 24px; }
  .card img { height: 200px; }
  .contact-info, .contact-form { padding: 32px 20px; }
  .contact-info h2 { font-size: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .contact-form .btn { align-self: stretch; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }
}
