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

:root {
  --navy: #1a2744;
  --gold: #c8a96e;
  --light: #f4f6f9;
  --white: #ffffff;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
}

body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); }

/* ── NAVBAR ── */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; color: var(--navy);
}
.logo-text { color: var(--white); font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo-sub { color: var(--gold); font-size: 11px; letter-spacing: 2px; display: block; }
nav ul { list-style: none; display: flex; gap: 32px; }
nav ul a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.2s; }
nav ul a:hover, nav ul a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 9px 22px; border-radius: 4px; font-weight: 700 !important;
}
.nav-cta:hover { background: #e0be82; color: var(--navy) !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0d1c38 0%, #1a2744 50%, #2d4a7a 100%);
  padding: 80px 5% 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-body {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-visual { flex: 0 0 420px; height: 380px; }
.hero-visual svg { width: 100%; height: 100%; }
.hero-badge {
  display: inline-block;
  background: rgba(200,169,110,0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 5px;
  font-weight: 700; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-primary:hover { background: #e0be82; transform: translateY(-1px); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: var(--white);
  padding: 13px 28px; border-radius: 5px;
  font-weight: 600; font-size: 15px;
  text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.stat-card { text-align: center; }
.hero .stat-card {
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 22px 20px;
}
.hero .stat-card:last-child { border-right: none; }
.stat-card .num { font-size: 36px; font-weight: 800; color: var(--gold); }
.stat-card .label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; letter-spacing: 0.5px; }

/* ── SECTION ── */
section { padding: 80px 5%; }
.section-tag { color: var(--gold); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.section-sub { color: var(--text-light); font-size: 16px; line-height: 1.7; max-width: 580px; }
.section-header { margin-bottom: 50px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── PRODUCTS GRID ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card:hover { box-shadow: 0 8px 30px rgba(26,39,68,0.12); transform: translateY(-3px); border-color: var(--gold); }
.cat-icon {
  width: 64px; height: 64px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
}
.cat-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cat-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }
.cat-card .cat-count { margin-top: 14px; color: var(--gold); font-size: 13px; font-weight: 700; }

/* ── FEATURES ── */
.features-bg { background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feat-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  border-left: 4px solid var(--gold);
}
.feat-icon { font-size: 32px; margin-bottom: 16px; }
.feat-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feat-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ── MATERIALS ── */
.materials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mat-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 36px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mat-card::after {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 120px; height: 120px;
  background: rgba(200,169,110,0.08);
  border-radius: 50%;
}
.mat-card h3 { font-size: 22px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.mat-card .formula { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.mat-props { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prop-tag {
  background: rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #c8a96e 0%, #e0be82 100%);
  padding: 70px 5%;
  text-align: center;
}
.cta-banner h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.cta-banner p { color: rgba(26,39,68,0.75); font-size: 17px; margin-bottom: 32px; }
.btn-dark {
  background: var(--navy); color: var(--white);
  padding: 15px 40px; border-radius: 5px;
  font-weight: 700; font-size: 16px;
  text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-dark:hover { background: #2d4a7a; transform: translateY(-1px); }
.whatsapp-link.disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

/* ── FOOTER ── */
footer {
  background: #0f1b36;
  color: rgba(255,255,255,0.65);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── PRODUCTS PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #2d4a7a);
  padding: 60px 5%;
  color: var(--white);
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 16px; }

.filters {
  background: var(--light);
  padding: 24px 5%;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.filter-label { font-size: 13px; color: var(--text-light); font-weight: 600; white-space: nowrap; }

.products-layout { display: flex; padding: 40px 5%; gap: 30px; }
.sidebar { flex: 0 0 220px; }
.sidebar h3 { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.sidebar ul { list-style: none; margin-bottom: 30px; }
.sidebar ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.15s;
}
.sidebar ul li a:hover, .sidebar ul li a.active {
  background: var(--light);
  color: var(--navy);
  font-weight: 600;
}
.products-main { flex: 1; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-bar span { font-size: 14px; color: var(--text-light); }
#search-input {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  width: 260px;
  outline: none;
}
#search-input:focus { border-color: var(--navy); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s;
  background: var(--white);
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: #b0b0b0; transform: translateY(-2px); }
a.product-card { text-decoration: none; color: inherit; display: block; }
.product-card .material-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.badge-alumina { background: #e8f4fd; color: #1565c0; }
.badge-zirconia { background: #fce8e8; color: #c62828; }
.badge-sic { background: #e8f5e9; color: #2e7d32; }
.badge-si3n4 { background: #f3e5f5; color: #6a1b9a; }
.badge-ceramic { background: #f1f3f5; color: #4b5563; }
.product-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.product-card .desc { font-size: 12px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-tag { font-size: 11px; background: var(--light); padding: 3px 8px; border-radius: 3px; color: var(--text-light); }
.product-card .moq { font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 10px; }
.product-photo {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--light);
  border-radius: 7px 7px 0 0;
}
.real-product-card .desc {
  min-height: 58px;
}

/* ── ABOUT PAGE ── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro img { width: 100%; border-radius: 10px; }
.about-lead {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 600;
}
.about-copy {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-factory-panel {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(26,39,68,0.1);
}
.factory-main-image {
  aspect-ratio: 4 / 3;
  background: var(--light);
}
.factory-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.factory-note {
  padding: 20px 22px;
  background: #13213e;
}
.factory-note strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 6px;
}
.factory-note span {
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.6;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--navy), #2d4a7a);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { background: var(--light); border-radius: 8px; padding: 24px; text-align: center; }
.cert-card .icon { font-size: 36px; margin-bottom: 10px; }
.cert-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); }
.about-intro .section-title { font-size: 40px; }
.about-intro + section .feat-card h3,
#certifications .cert-card h4 { font-size: 19px; }
.about-intro + section .feat-card p,
#certifications .cert-card p { font-size: 15px !important; line-height: 1.75; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 30px 20px; border: 1px solid var(--border); border-radius: 10px; }
.team-avatar { width: 80px; height: 80px; background: var(--navy); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.team-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.team-card p { font-size: 13px; color: var(--text-light); }

/* ── CONTACT PAGE ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-light); }
.contact-form { background: var(--light); border-radius: 12px; padding: 40px; }
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  background: var(--white);
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #2d4a7a; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 60px 5%; }
  .hero h1 { font-size: 32px; }
  .hero-stats { flex: none; width: 100%; }
  nav ul { display: none; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .products-layout { flex-direction: column; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}

/* Homepage refinement */
.refined-hero { padding-top: 56px; }
.refined-hero-body {
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  gap: 52px;
}
.refined-hero .hero-content { flex: 0 0 42%; max-width: 600px; padding: 18px 0; }
.refined-hero h1 {
  font-size: clamp(34px, 3.1vw, 48px);
  max-width: 640px;
  line-height: 1.16;
}
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-proof span {
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  padding: 7px 11px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.product-hero-visual {
  flex: 1;
  min-width: 520px;
  height: 500px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 190px;
  gap: 18px;
  position: relative;
}
.product-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-main,
.hero-photo-stack img,
.material-orbit-card { border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 16px 38px rgba(0,0,0,0.22); }
.hero-photo-main {
  min-height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1b2d4d;
}
.hero-photo-stack { display: grid; gap: 14px; }
.hero-photo-stack img {
  min-height: 0;
  border-radius: 8px;
  background: #1b2d4d;
}
.material-orbit-card {
  position: absolute;
  left: 18px;
  top: 18px;
  width: min(310px, calc(100% - 36px));
  background: rgba(13,28,56,0.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 8px;
  padding: 14px 16px;
}
.material-orbit-card strong { display: block; color: var(--gold); font-size: 14px; margin-bottom: 5px; }
.material-orbit-card span { display: block; color: rgba(255,255,255,0.72); font-size: 13px; line-height: 1.55; }
.technical-intro { background: #fff; }
.selector-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px; }
.selector-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}
.selector-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,39,68,0.1); border-color: var(--gold); }
.selector-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--light); }
.selector-card h3 { color: var(--navy); font-size: 18px; line-height: 1.35; margin: 10px 18px 8px; }
.selector-card p { color: var(--text-light); font-size: 14px; line-height: 1.65; margin: 0 18px 18px; }
.selector-card .material-badge { margin: 18px 18px 0; }
.selector-featured { display: grid; grid-template-columns: 44% 1fr; grid-column: span 1; }
.selector-featured img { height: 100%; min-height: 330px; }
.selector-featured h3 { font-size: 22px; margin-top: 12px; }
.selector-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 18px 22px; }
.selector-specs span { background: var(--light); color: var(--navy); border-radius: 4px; padding: 6px 9px; font-size: 12px; font-weight: 700; }
.knowledge-section { background: #f5f7fb; }
.knowledge-layout { display: grid; grid-template-columns: 1fr 0.92fr; gap: 48px; align-items: start; }
.knowledge-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.knowledge-points div,
.purity-panel,
.process-grid div,
.application-grid div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.knowledge-points div { padding: 18px; }
.knowledge-points strong,
.application-grid strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 7px; }
.knowledge-points span,
.application-grid span { display: block; color: var(--text-light); font-size: 14px; line-height: 1.6; }
.purity-panel { padding: 26px; box-shadow: 0 12px 34px rgba(26,39,68,0.08); }
.purity-panel h3 { color: var(--navy); font-size: 22px; margin-bottom: 16px; }
.purity-panel table { width: 100%; border-collapse: collapse; font-size: 13px; }
.purity-panel th { color: var(--navy); text-align: left; background: var(--light); }
.purity-panel th,
.purity-panel td { border-bottom: 1px solid var(--border); padding: 12px 10px; vertical-align: top; line-height: 1.45; }
.panel-link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 800; text-decoration: none; }
.shape-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.shape-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  transition: all 0.2s;
}
.shape-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,39,68,0.1); }
.shape-card img { width: 100%; height: 180px; object-fit: cover; display: block; background: var(--light); }
.shape-card h3 { color: var(--navy); font-size: 17px; margin: 16px 18px 8px; }
.shape-card p { color: var(--text-light); font-size: 13px; line-height: 1.55; margin: 0 18px 20px; }
.custom-parts-section { background: #ffffff; padding-top: 40px; }
.custom-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.custom-part-card {
  display: grid;
  grid-template-columns: 142px 1fr;
  min-height: 154px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  transition: all 0.2s;
}
.custom-part-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,39,68,0.1); border-color: var(--gold); }
.custom-part-card img {
  width: 100%;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
  display: block;
  background: var(--light);
}
.custom-part-card div { padding: 18px 18px 16px; }
.custom-part-card span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.custom-part-card h3 { color: var(--navy); font-size: 17px; line-height: 1.3; margin: 8px 0; }
.custom-part-card p { color: var(--text-light); font-size: 13px; line-height: 1.55; }
.application-band { background: #13213e; }
.application-band .section-title { color: var(--white); }
.application-band .section-sub { color: rgba(255,255,255,0.68); }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.application-grid div { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); padding: 20px; }
.application-grid strong { color: var(--gold); }
.application-grid span { color: rgba(255,255,255,0.72); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-grid div { padding: 22px; }
.process-grid span { display: block; color: var(--gold); font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.process-grid h3 { color: var(--navy); font-size: 16px; margin-bottom: 8px; }
.process-grid p { color: var(--text-light); font-size: 13px; line-height: 1.6; }

@media (max-width: 1024px) {
  .product-hero-visual { min-width: 0; grid-template-columns: 1fr; }
  .hero-photo-stack { grid-template-columns: 1fr 1fr; }
  .selector-grid { grid-template-columns: 1fr; }
  .selector-featured { grid-template-columns: 1fr; }
  .selector-featured img { min-height: 240px; }
  .knowledge-layout { grid-template-columns: 1fr; }
  .shape-grid,
  .custom-parts-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .refined-hero { padding: 46px 5% 0; }
  .refined-hero .hero-body { gap: 30px; padding-bottom: 38px; }
  .refined-hero h1 { font-size: 31px; }
  .hero-photo-main { min-height: 240px; }
  .hero-photo-stack { display: none; }
  .material-orbit-card { position: static; margin-top: 12px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .knowledge-points,
  .shape-grid,
  .custom-parts-grid,
  .application-grid,
  .process-grid { grid-template-columns: 1fr; }
  .custom-part-card { grid-template-columns: 120px 1fr; }
}

/* Legacy-inspired homepage hero */
.legacy-hero {
  min-height: min(650px, calc(100vh - 70px));
  padding: 0 5%;
  justify-content: center;
  background: #111827;
}
.legacy-hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.72) 44%, rgba(17, 24, 39, 0.58) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.22) 0%, rgba(17, 24, 39, 0.72) 100%);
}
.legacy-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("photos/zirconia-custom.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(0.8);
  transform: scale(1.04);
}
.legacy-hero-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 64px 0 70px;
}
.legacy-copy { max-width: 680px; }
.legacy-copy .hero-badge {
  background: rgba(200, 169, 110, 0.14);
  backdrop-filter: blur(8px);
}
.legacy-copy h1 {
  color: #fff;
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 1.04;
  font-weight: 900;
  margin-bottom: 28px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.32);
}
.legacy-copy p {
  max-width: 650px;
  color: rgba(255,255,255,0.9);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.55;
  margin-bottom: 30px;
}
.legacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.legacy-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 36px;
  border-radius: 4px;
  background: #4bb7b8;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  transition: transform 0.2s, background 0.2s;
}
.legacy-contact-btn:hover {
  transform: translateY(-1px);
  background: #58c5c6;
}
.legacy-product-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.58);
  padding-bottom: 5px;
}
.legacy-product-link:hover { border-color: var(--gold); color: var(--gold); }
.legacy-feature-photo {
  justify-self: end;
  width: min(520px, 100%);
  aspect-ratio: 1.55;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(0,0,0,0.34);
}
.legacy-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.legacy-quick-points {
  position: absolute;
  z-index: 2;
  left: 5%;
  right: 5%;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1380px;
  margin: 0 auto;
}
.legacy-quick-points span {
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(17,24,39,0.5);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

/* Floating WhatsApp contact */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 16px 10px 10px;
  border-radius: 8px;
  background: #25d366;
  color: #0b2f1a;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0,0,0,0.24);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.whatsapp-float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #16833d;
  font-size: 12px;
  font-weight: 900;
}
.whatsapp-float-text {
  color: #063b1d;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .legacy-hero-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 52px 0 86px;
  }
  .legacy-feature-photo {
    justify-self: start;
    width: min(620px, 100%);
  }
}

@media (max-width: 768px) {
  .legacy-hero {
    min-height: auto;
    padding: 0 5%;
  }
  .legacy-hero-body {
    padding: 46px 0 104px;
  }
  .legacy-copy h1 {
    font-size: 40px;
    line-height: 1.08;
  }
  .legacy-copy p {
    font-size: 18px;
  }
  .legacy-feature-photo {
    aspect-ratio: 1.25;
  }
  .legacy-quick-points {
    bottom: 18px;
  }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 8px;
  }
  .whatsapp-float-text {
    display: none;
  }
}

/* SEO capability landing pages */
.capability-hero {
  background: linear-gradient(135deg, #13213e 0%, #203556 100%);
  color: var(--white);
  padding: 64px 5%;
}
.capability-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: 44px;
  align-items: center;
}
.capability-hero h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  margin: 12px 0 18px;
}
.capability-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
}
.capability-hero img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 52px rgba(0,0,0,0.26);
}
.capability-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.capability-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.capability-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}
a.capability-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
a.capability-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(26,39,68,0.12);
}
.capability-card h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
}
.capability-card p,
.capability-card li {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}
.capability-card ul { padding-left: 18px; }
.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.content-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
}
.content-panel h2 {
  color: var(--navy);
  font-size: 26px;
  margin-bottom: 14px;
}
.content-panel p,
.content-panel li {
  color: var(--text-light);
  line-height: 1.75;
  font-size: 15px;
}
.content-panel ul { padding-left: 20px; }
.wide-photo {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(26,39,68,0.12);
}
.internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.internal-links a {
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.internal-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 1024px) {
  .capability-hero-inner,
  .content-columns { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .capability-hero { padding: 48px 5%; }
  .capability-hero p { font-size: 16px; }
  .capability-grid { grid-template-columns: 1fr; }
}
