:root {
  --primary: #1e63b1;
  --secondary: #49b950;
  --dark: #183356;
  --light: #f5f7fb;
  --text: #3c4f6a;
  --accent: #eaf3ff;
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: #fff;
}

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

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.section-label {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  max-width: 836px;
  margin: 0.5rem auto 1.25rem;
}

.link {
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e6f0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  gap: 0.5rem;
  color: var(--dark);
}

.logo a {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--secondary), #7dd56f);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #14b8a6;
}

/* Navigation dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown > a:hover {
  color: #14b8a6;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f0f5ff;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
  z-index: 100;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.lang-button {
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  min-height: 520px;
  background: linear-gradient(120deg, #e4f2d4, #d7f1ff 60%, #f5f6ff);
  display: grid;
  place-items: center;
  position: relative;
}

.hero-overlay {
  width: 100%;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  padding: 4rem 0 5rem;
}

.hero-subtitle {
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin: 0.75rem 0 2rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  background: linear-gradient(135deg, var(--primary), #49b950);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  line-height: 1.3;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.hero-tabs article {
  background: rgba(255, 255, 255, 0.85);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(30, 99, 177, 0.08);
  overflow: hidden;
  min-height: 140px;
}

.hero-tabs h3 {
  margin: 0 0 0.75rem;
  color: var(--dark);
}

.hero-tabs a {
  text-decoration: none;
  font-weight: 700;
  color: var(--secondary);
}

.hover-text-link {
  position: relative;
  display: block;
  min-height: 1.5em;
}

.hover-text-link .default-text,
.hover-text-link .hover-text {
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
  line-height: 1.5;
}

.hover-text-link .hover-text {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  font-size: 0.9em;
  white-space: normal;
  word-wrap: break-word;
}

.hero-tabs article:hover .hover-text-link .default-text {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-tabs article:hover .hover-text-link .hover-text {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Home scroll reveal animations -------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children inside revealed sections */
.reveal.is-visible .hero-tabs article,
.reveal.is-visible .product-panels article,
.reveal.is-visible .application-grid figure,
.reveal.is-visible .why-grid article {
  opacity: 1;
  transform: translateY(0);
}

.hero-tabs article,
.product-panels article,
.application-grid figure,
.why-grid article {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-tabs article:nth-child(1),
.product-panels article:nth-child(1),
.application-grid figure:nth-child(1),
.why-grid article:nth-child(1) {
  transition-delay: 0.05s;
}

.hero-tabs article:nth-child(2),
.product-panels article:nth-child(2),
.application-grid figure:nth-child(2),
.why-grid article:nth-child(2) {
  transition-delay: 0.12s;
}

.hero-tabs article:nth-child(3),
.product-panels article:nth-child(3),
.application-grid figure:nth-child(3),
.why-grid article:nth-child(3) {
  transition-delay: 0.18s;
}

.hero-tabs article:nth-child(4),
.product-panels article:nth-child(4),
.application-grid figure:nth-child(4),
.why-grid article:nth-child(4) {
  transition-delay: 0.24s;
}

.who {
  padding: 5rem 0 1.5rem;
  text-align: center;
}

.who .lead {
  margin-bottom: 1rem;
}

.who-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2.5rem;
}

.why {
  background: var(--light);
  padding: 4rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-grid article {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

svg.icon {
  background: none;
  border-radius: 0;
  color: var(--primary);
  fill: currentColor;
}

.products {
  padding: 4rem 0 5rem;
}

.products h2 {
  text-align: center;
  margin: 0;
  font-size: 2rem;
  color: var(--dark);
}

.product-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.product-panels article {
  border: 1px solid #e4ebf5;
  border-radius: 20px;
  padding: 2rem;
}

.product-panels article.product-cicp {
  background-image: url('img/cobalt_blue.png');
  background-size: 50%;
  background-position: calc(100% - 10px) 45%;
  background-repeat: no-repeat;
}

.product-panels article.product-ir {
  background-image: url('img/cobalt_green.png');
  background-size: 50%;
  background-position: calc(100% - 10px) 45%;
  background-repeat: no-repeat;
}

@media (min-width: 721px) {
  .product-panels article.product-cicp {
    background-size: 35%;
    background-position: calc(100% - 2rem) 45%;
  }

  .product-panels article.product-ir {
    background-size: 35%;
    background-position: calc(100% - 2rem) 45%;
  }
}

.product-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  box-shadow: inset 0 15px 25px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  display: block;
}

.product-image.blue {
  background: radial-gradient(circle at 30% 30%, #5ea7ff, #0a3c91);
}

.product-image.dark {
  background: radial-gradient(circle at 30% 30%, #4c4c4c, #1a1a1a);
}

.product-panels ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  line-height: 1.8;
}

.applications {
  background: linear-gradient(160deg, #f1f7ff, #fff);
  padding: 4rem 0 5rem;
}

.application-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.app-image {
  height: 180px;
  border-radius: 16px;
  background: var(--accent);
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.app-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  border-radius: 0 0 16px 16px;
}

.application-grid figure a {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.application-grid figure a:hover {
  opacity: 0.8;
}

.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: visible;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-grid h4 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid h4 a:hover {
  color: #14b8a6;
}

.footer-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  margin-left: 0.5rem;
  pointer-events: auto;
  z-index: 10;
  position: relative;
}

.footer-toggle .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(45deg);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.footer-grid ul,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.footer-grid ul li a,
.footer-list li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid ul li a:hover,
.footer-list li a:hover {
  color: #14b8a6;
  text-decoration: none;
}

.footer-grid p a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-grid p a:hover {
  color: #14b8a6;
  text-decoration: none;
}

.contact-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.footer-grid p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-logo .logo-mark {
  background: #fff;
  color: var(--primary);
}

.footer-logo .logo-text {
  color: #fff;
}

.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  font-weight: 700;
  place-items: center;
  color: #fff;
  text-decoration: none;
}

.social a svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  overflow: visible !important;
  vertical-align: middle;
  box-sizing: content-box;
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.wechat-container {
  position: relative;
}

.wechat-qrcode {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  pointer-events: none;
  white-space: nowrap;
  min-width: 170px;
}

.wechat-qrcode.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: block !important;
}

.wechat-qrcode.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wechat-qrcode img {
  width: 150px;
  height: 150px;
  display: block;
}

.wechat-qrcode::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.wave-banner {
  position: relative;
  background: linear-gradient(120deg, #0b419e, #1e63b1);
  color: #fff;
  overflow: hidden;
}

.wave-banner::before,
.wave-banner::after {
  content: '';
  position: absolute;
  left: 0;
  width: 140%;
  height: 140px;
  background: #6bd161;
  transform: rotate(-4deg);
}

.wave-banner::before {
  top: 40px;
}

.wave-banner::after {
  top: 110px;
  background: #fff;
  opacity: 0.1;
}

.glass-hero {
  padding: 4rem 0 6rem;
}

.glass-hero__content {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.glass-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.glass-hero .lead {
  color: #e0edff;
  text-align: left;
  margin: 0;
}

.hero-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.dual-column {
  padding: 4rem 0;
}

.dual-column__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.dual-column p {
  line-height: 1.8;
}

.dual-column .accent {
  color: var(--secondary);
}

.image-stack {
  position: relative;
  height: 320px;
}

.image-rect {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 260px;
  height: 320px;
  border-radius: 18px;
  background: linear-gradient(180deg, #9edcff, #0e4c9e);
  overflow: hidden;
}

.image-rect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.image-rect.small {
  width: 180px;
  height: 180px;
  top: 0;
  right: 0;
  left: auto;
  background: #e6edf7;
  box-shadow: 0 25px 45px rgba(24, 51, 86, 0.15);
  overflow: hidden;
}

.feature-ribbon {
  background: linear-gradient(120deg, #1165b6, #0b419e);
  color: #fff;
  padding: 3rem 0;
}

.feature-ribbon__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-ribbon article {
  text-align: center;
  padding: 1rem 1.5rem;
}

.feature-ribbon .icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Plastic page icons */
.icon.uv::before {
  content: '☀';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.shield::before,
.icon.shield::after {
  content: none;
}

.icon.shield .shield-icon {
  width: 50%;
  height: 50%;
}

.icon.shield .shield-icon path {
  fill: #18c36b;
}

.icon.temperature::before {
  content: '🌡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.heat::before {
  content: '↑';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.durability::before {
  content: '⚡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.heat-resistance::before {
  content: '🌡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.weatherability::before {
  content: '☂';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.chemical-resistance::before {
  content: '🧪';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.thermal::before {
  content: '🌡';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.opacity::before {
  content: '⬛';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.icon.sintering::before {
  content: '🔥';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.glass-overview {
  padding: 4rem 0 5rem;
}

.glass-overview.contact-bg {
  background: radial-gradient(ellipse 80% 80% at 30% 50%, rgba(30, 99, 177, 0.15) 0%, rgba(20, 184, 166, 0.12) 50%, transparent 70%);
  background-attachment: fixed;
}

.glass-overview.contact-wave {
  background-image: url('img/bgwaveg.png');
  background-repeat: no-repeat;
  background-position: center 50%;
  background-size: cover;
}

.contact-panel {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  border: 1px solid #e4ebf5;
  box-shadow: 0 10px 30px rgba(15, 35, 52, 0.06);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.5rem 0;
  line-height: 1.7;
}

.contact-info .contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 0;
  margin-top: 0.15rem;
}

.contact-info a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.contact-info a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #14b8a6);
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease-out;
}

.contact-info a:hover::after {
  transform: scaleX(1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1.5px solid #d0d9e6;
  padding: 0.8rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 99, 177, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  border: none;
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.3);
  filter: brightness(1.03);
}

.contact-form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.25);
}

@media (max-width: 720px) {
  .contact-panel {
    padding: 1.5rem 1.75rem;
  }
}

.glass-overview__grid.contact-layout {
  align-items: flex-start;
  gap: 3rem;
}

.glass-overview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.image-tower {
  height: 360px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff, #b7c6d6);
  overflow: hidden;
}

.image-tower img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.company-hero {
  background: linear-gradient(180deg, #f5fbff, #f0f7f2);
  padding: 4rem 0 5rem;
}

.hero-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.company-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: transparent;
  background: linear-gradient(120deg, #1296db, #18c36b);
  -webkit-background-clip: text;
  background-clip: text;
}

.timeline-section {
  background: linear-gradient(180deg, #f3f8ff, #f7fff3);
  padding: 4rem 0 5rem;
}

.timeline-section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 960px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #b3cff5;
  transform: translateX(-50%);
}

.timeline li {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
  width: 50%;
  padding: 0 2rem;
  box-sizing: border-box;
}

.timeline li:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline li:nth-child(even) {
  margin-left: auto;
  text-align: left;
}

.timeline-year {
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  min-width: 70px;
  text-align: center;
}

.timeline-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 35px rgba(15, 51, 99, 0.08);
  width: 100%;
}

/* Fancy timeline animations (triggered via .reveal.is-visible on the section) */
.timeline-section .timeline::before {
  transform-origin: top;
  transform: translateX(-50%) scaleY(0);
  transition: transform 0.8s ease-out;
}

.timeline-section.reveal.is-visible .timeline::before {
  transform: translateX(-50%) scaleY(1);
}

.timeline li {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-section.reveal.is-visible .timeline li {
  opacity: 1;
  transform: translateY(0);
}

.timeline li:nth-child(1) { transition-delay: 0.05s; }
.timeline li:nth-child(2) { transition-delay: 0.12s; }
.timeline li:nth-child(3) { transition-delay: 0.18s; }
.timeline li:nth-child(4) { transition-delay: 0.24s; }
.timeline li:nth-child(5) { transition-delay: 0.30s; }
.timeline li:nth-child(6) { transition-delay: 0.36s; }
.timeline li:nth-child(7) { transition-delay: 0.42s; }
.timeline li:nth-child(8) { transition-delay: 0.48s; }
.timeline li:nth-child(9) { transition-delay: 0.54s; }

.facility-section {
  padding: 3.5rem 0;
}

.facility-section.alt {
  background: #f5f8ff;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.facility-grid.reverse {
  direction: rtl;
}

.facility-grid.reverse > * {
  direction: ltr;
}

.facility-grid article h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

.facility-grid p {
  line-height: 1.8;
}

.facility-image {
  border-radius: 20px;
  background: linear-gradient(135deg, #d0e4ff, #90b9e8);
  min-height: 260px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
}

.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-image.tall {
  min-height: 320px;
}

.facility-image.wide {
  min-height: 260px;
}

@media (max-width: 720px) {
  .facility-image,
  .facility-image.tall,
  .facility-image.wide {
    background: none;
    box-shadow: none;
    min-height: auto;
  }

  .facility-image img {
    height: auto;
  }

  .container {
    width: min(1200px, 95vw);
  }

  .header-bar {
    flex-wrap: nowrap;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: none;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    order: 3;
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
  }

  .main-nav.active {
    max-height: 300px;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e0e6f0;
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  /* Mobile dropdown menu */
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.5rem 0;
  }

  .dropdown-menu a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .product-panels {
    grid-template-columns: 1fr;
  }

  .product-panels article.product-cicp {
    background-size: 40%;
  }

  .product-panels article.product-ir {
    background-size: 40%;
  }

  .timeline::before {
    left: 16px;
    transform: none;
    right: auto;
  }

  .timeline {
    display: block;
    max-width: none;
    padding-top: 1rem;
  }

  .timeline li,
  .timeline li:nth-child(even) {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 0 2.5rem;
  }

  .timeline-year {
    align-self: flex-start;
  }

  /* 小屏时显示展开/收起按钮 */
  .footer-toggle {
    display: block !important;
  }

  /* 小屏时默认隐藏所有 .footer-list，通过展开按钮控制显示 */
  .footer-grid .footer-list {
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease, opacity 0.3s ease !important;
    opacity: 0 !important;
  }
  
  /* 小屏时展开状态的 .footer-list */
  .footer-grid .footer-list.expanded {
    max-height: 1000px !important;
    opacity: 1 !important;
  }

  /* 小屏时增加 lead 段落宽度 */
  .glass-hero .lead {
    max-width: 100%;
  }

  /* 小屏时优化布局，增大内容区域宽度 */
  .glass-hero__content {
    gap: 1.5rem;
  }

  .glass-hero__content > div:first-child {
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .hero-circle {
    flex-shrink: 1;
    width: 150px;
    height: 150px;
  }

  /* 小屏时为 tailpipe 图片添加边框 */
  .image-rect.small img {
    border: 10px solid #e6edf7;
    box-sizing: border-box;
  }
}

/* Products Page Styles */
.products-banner {
  background: var(--secondary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.products-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: #fff;
}

.products-banner p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
}

.products-content {
  padding: 3rem 0 5rem;
  background: #fff;
}

.product-categories {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e4ebf5;
}

.product-categories a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.product-categories a:hover {
  color: var(--primary);
}

.product-categories a.active {
  color: var(--primary);
  position: relative;
}

.product-categories a.active::after {
  content: '';
  position: absolute;
  bottom: -1.75rem;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.product-categories-mobile {
  display: none;
}

.custom-select {
  display: none;
  flex: 1;
  position: relative;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid #d0d9e6;
  border-radius: 10px;
  background: linear-gradient(to bottom, #ffffff, #fafbfd);
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.select-trigger:hover {
  border-color: var(--primary);
  background: linear-gradient(to bottom, #ffffff, #f5f8ff);
  box-shadow: 0 4px 8px rgba(30, 99, 177, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.custom-select.active .select-trigger {
  border-color: var(--primary);
  background: linear-gradient(to bottom, #ffffff, #f0f5ff);
  box-shadow: 0 0 0 4px rgba(30, 99, 177, 0.15), 0 4px 12px rgba(30, 99, 177, 0.2);
}

.select-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.custom-select.active .select-arrow {
  transform: rotate(180deg);
}

.select-options {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e4ebf5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.custom-select.active .select-options {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}

.select-option {
  padding: 0.875rem 1.25rem;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.select-option:hover {
  background: #f0f5ff;
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 1.5rem;
}

.select-option.selected {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-left-color: #fff;
}

.select-option:active {
  background: #e0edff;
  transform: scale(0.98);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link,
.product-card-link * {
  text-decoration: none;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.3s, opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
}

.product-card.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

.product-card.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card-link:hover .product-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-color {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-color span {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  line-height: 1.3;
}

.product-details {
  flex: 1;
  line-height: 1.8;
}

.product-code {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.product-details p {
  margin: 0.4rem 0;
  color: var(--text);
}

/* Product Color Definitions */
.product-color.cobalt-blue-dark {
  background: #2157AA;
}

.product-color.cobalt-blue-light {
  background: #2562b3;
}

.product-color.cobalt-green-dark {
  background: #0D6437;
}

.product-color.cobalt-green-light {
  background: #003D1D;
}

.product-color.titanium-nickel-yellow {
  background: #F0DA2A;
}

.product-color.bismuth-yellow {
  background: #f2df30;
}

.product-color.titanium-chromium-brown-dark {
  background: #E79515;
}

.product-color.titanium-chromium-brown-light {
  background: #F5AA2D;
}

.product-color.zinc-ferrum-yellow {
  background: #D29D34;
}

.product-color.iron-chromium-brown-dark {
  background: #250301;
}

.product-color.iron-chromium-brown-light {
  background: #210704;
}

.product-color.cobalt-black {
  background: #261915;
}

.product-color.copper-chromite-black {
  background: #261915;
}

.product-color.manganese-ferrum-black {
  background: #261915;
}

@media (max-width: 720px) {
  .products-banner h1 {
    font-size: 1.8rem;
  }

  .products-banner p {
    font-size: 1rem;
  }

  .product-categories {
    display: none;
  }

  .product-categories-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e4ebf5;
  }

  .product-categories-mobile a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .custom-select {
    display: flex;
  }

  .product-card {
    gap: 1rem;
    padding: 1rem;
  }

  .product-color {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .product-color span {
    font-size: 0.75rem;
  }

  .product-details {
    font-size: 0.9rem;
  }
}


