/* ============================================================
   BCEMS (博程電子) Corporate Website
   Main Stylesheet — Production Ready
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  --primary-dark:   #0b1d38;
  --primary:        #14365c;
  --primary-light:  #1e5a99;
  --accent:         #c75a1d;
  --accent-hover:   #e06a22;
  --bg-light:       #f2f4f8;
  --bg-white:       #ffffff;
  --text-primary:   #1a1a2e;
  --text-secondary: #5a6270;
  --text-light:     #8a93a0;
  --border:         #dde1e8;
  --shadow:         0 4px 24px rgba(11, 29, 56, 0.08);
  --shadow-hover:   0 8px 32px rgba(11, 29, 56, 0.14);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans TC', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
}

h6 {
  font-size: 0.875rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.en-label {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

/* ============================================================
   4. Utility Classes
   ============================================================ */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.mt-48 { margin-top: 48px; }

/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-white:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================================
   6. Navigation / Site Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--transition),
              box-shadow var(--transition);
}

.site-header.scrolled {
  background-color: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(11, 29, 56, 0.4);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  margin-right: 12px;
  width: auto;
}

.logo-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), background-color var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color var(--transition);
  font-family: inherit;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   7. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(100vh, 700px);
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  overflow: hidden;
}

/* Subtle circuit-board-like grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.05) 79px,
      rgba(255, 255, 255, 0.05) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(255, 255, 255, 0.05) 79px,
      rgba(255, 255, 255, 0.05) 80px
    );
  pointer-events: none;
  z-index: 1;
}

/* Radial depth gradient overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(30, 90, 153, 0.35) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  max-width: 700px;
  color: #ffffff;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero .hero-tagline {
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1.6;
}

.hero .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

.iso-badge {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  min-width: 120px;
  transition: background-color var(--transition), transform var(--transition);
}

.iso-badge:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.iso-badge .iso-number {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.iso-badge .iso-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* ============================================================
   8. Sections Base
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}

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

.section-dark .section-desc,
.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   9. Feature Cards (Why Bocheng)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-card {
  background-color: #ffffff;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-top-color var(--transition);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  transition: background-color var(--transition);
}

.feature-card:hover .icon {
  background-color: var(--primary);
  color: #ffffff;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.feature-card .en-label {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   10. Services Grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #ffffff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  transition: width var(--transition), background-color var(--transition);
}

.service-card:hover::before {
  width: 6px;
  background-color: var(--accent);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.service-card .service-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bg-light);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.service-card h3 {
  margin-bottom: 8px;
  padding-right: 48px;
}

.service-card .en-label {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   11. Process Timeline
   ============================================================ */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-color: var(--border);
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.process-step .step-number {
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow);
  transition: background-color var(--transition), transform var(--transition);
}

.process-step:hover .step-number {
  background-color: var(--accent);
  transform: scale(1.1);
}

.process-step h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.process-step .en-label {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   12. Quality Section
   ============================================================ */
.quality-flow {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-bottom: 60px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.quality-step {
  flex: 1;
  padding: 32px 20px;
  text-align: center;
  position: relative;
  background: #ffffff;
  transition: background-color var(--transition);
}

.quality-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--border);
  z-index: 1;
  line-height: 1;
}

.quality-step:nth-child(odd) {
  background-color: var(--bg-light);
}

.quality-step:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.quality-step:hover h4,
.quality-step:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.quality-step .step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.quality-step h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.quality-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.qc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.qc-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  background-color: #ffffff;
}

.qc-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.qc-card .qc-label {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.qc-card .qc-sublabel {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.qc-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   13. ISO Certification Cards
   ============================================================ */
.iso-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.iso-card {
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  background-color: #ffffff;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.iso-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.iso-card .iso-label {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.iso-card .iso-version {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.iso-card .iso-date {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.iso-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   14. Stats / Info Grid
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 32px;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Dark variant */
.section-dark .stat-item .stat-number {
  color: #ffffff;
}

.section-dark .stat-item .stat-label {
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   15. Company Info Table
   ============================================================ */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  padding: 16px 20px;
  vertical-align: top;
  font-size: 0.95rem;
}

.info-table td:first-child {
  font-weight: 600;
  width: 160px;
  color: var(--primary);
  background-color: var(--bg-light);
  white-space: nowrap;
}

/* ============================================================
   16. Core Values
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  background-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.value-card h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.value-card .en-label {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   17. Future / Development Roadmap
   ============================================================ */
.roadmap {
  list-style: none;
  counter-reset: roadmap;
}

.roadmap li {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background-color var(--transition);
}

.roadmap li:last-child {
  border-bottom: none;
}

.roadmap li:hover {
  background-color: var(--bg-light);
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius-md);
  margin: 0 -12px;
}

.roadmap li .step-num {
  min-width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.roadmap li:hover .step-num {
  background-color: var(--accent);
}

.roadmap li .roadmap-content h4 {
  margin-bottom: 4px;
}

.roadmap li .roadmap-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   18. Contact Form
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  background-color: #ffffff;
  color: var(--text-primary);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 54, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6270' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* ============================================================
   19. Contact Info Sidebar
   ============================================================ */
.contact-info {
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 48px 40px;
  border-radius: var(--radius-xl);
}

.contact-info h3 {
  color: #ffffff;
  margin-bottom: 32px;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background-color var(--transition);
}

.contact-item:hover .icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-item .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  display: block;
}

.contact-item .value {
  font-weight: 500;
  color: #ffffff;
  font-size: 0.95rem;
}

.contact-item .value a {
  color: #ffffff;
  transition: color var(--transition);
}

.contact-item .value a:hover {
  color: var(--accent);
}

/* ============================================================
   20. Footer
   ============================================================ */
.site-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  align-items: flex-start;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================================
   21. Page Header (Inner Pages)
   ============================================================ */
.page-header {
  background-color: var(--primary-dark);
  padding: 140px 0 80px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.04) 59px,
      rgba(255, 255, 255, 0.04) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.04) 59px,
      rgba(255, 255, 255, 0.04) 60px
    );
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-header .page-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.page-header .breadcrumb a:hover {
  color: #ffffff;
}

.page-header .breadcrumb span {
  color: var(--accent);
  font-weight: 600;
}

.page-header .breadcrumb .separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   22. CTA Section
   ============================================================ */
.cta-section {
  background-color: var(--primary);
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   23. Organization Chart
   ============================================================ */
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.org-card {
  text-align: center;
  padding: 32px 20px;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.org-card .org-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.org-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.org-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   24. Milestone Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 4px;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow);
  transition: background-color var(--transition), transform var(--transition);
}

.timeline-item:hover::before {
  background-color: var(--accent);
  transform: scale(1.2);
}

.timeline-item .timeline-date {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-item h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   25. Scroll Animations
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Staggered delays for child elements */
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 100ms; }
.fade-up:nth-child(3) { transition-delay: 200ms; }
.fade-up:nth-child(4) { transition-delay: 300ms; }
.fade-up:nth-child(5) { transition-delay: 400ms; }
.fade-up:nth-child(6) { transition-delay: 500ms; }

/* ============================================================
   26. Divider
   ============================================================ */
.divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
  margin: 20px auto;
}

.divider-left {
  margin-left: 0;
}

/* ============================================================
   27. Section Header Group
   ============================================================ */
.section-header {
  margin-bottom: 60px;
}

.section-header.text-center .section-desc {
  margin: 0 auto;
}

/* ============================================================
   28. Card Tag / Badge
   ============================================================ */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--bg-light);
  color: var(--text-secondary);
}

.tag-accent {
  background-color: rgba(199, 90, 29, 0.12);
  color: var(--accent);
}

.tag-primary {
  background-color: rgba(20, 54, 92, 0.1);
  color: var(--primary);
}

/* ============================================================
   29. Map / Location Block
   ============================================================ */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  display: block;
  border: 0;
}

/* ============================================================
   30. Scroll-to-Top Button
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition),
              background-color var(--transition), transform var(--transition);
  z-index: 900;
  border: none;
  box-shadow: var(--shadow);
  font-size: 1.1rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

/* ============================================================
   31. Responsive — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  /* Typography */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
  .section-title { font-size: 1.875rem; }

  /* Hero */
  .hero h1 { font-size: 2.6rem; }
  .hero-badges { display: none; }

  /* Grids */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .org-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  /* Navigation */
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    display: none;
    box-shadow: 0 8px 32px rgba(11, 29, 56, 0.25);
    gap: 4px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .hamburger {
    display: flex;
  }

  /* Process */
  .process-timeline::before {
    top: 80px;
    left: 8%;
    right: 8%;
  }
}

/* ============================================================
   32. Responsive — Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.3rem; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 1rem; }

  /* Sections */
  .section { padding: 60px 0; }

  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero .hero-subtitle { font-size: 1.1rem; }
  .hero .hero-tagline { font-size: 0.9rem; letter-spacing: 2px; }
  .hero-inner { flex-direction: column; }
  .hero-badges { display: none; }
  .hero .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .qc-cards { grid-template-columns: 1fr; }
  .iso-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: 1fr; }

  /* Process timeline — vertical */
  .process-timeline {
    flex-direction: column;
    gap: 32px;
    padding: 20px 0;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 3px;
    height: auto;
  }

  .process-step {
    display: flex;
    gap: 20px;
    text-align: left;
    padding: 0;
  }

  .process-step .step-number {
    margin: 0;
    flex-shrink: 0;
  }

  .process-step .step-content {
    flex: 1;
  }

  /* Quality flow */
  .quality-flow {
    flex-direction: column;
  }

  .quality-step::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -12px;
    transform: translateX(-50%);
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Page header */
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 1.875rem; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; }

  /* Info table */
  .info-table td:first-child {
    width: auto;
    min-width: 120px;
  }

  /* Contact info */
  .contact-info { padding: 32px 24px; }

  /* Scroll top */
  .scroll-top { bottom: 20px; right: 20px; }

  /* Sections */
  .section-header { margin-bottom: 40px; }
}

/* ============================================================
   33. Responsive — Small (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section-title { font-size: 1.5rem; }

  /* Hero */
  .hero h1 { font-size: 1.75rem; }
  .hero .hero-subtitle { font-size: 1rem; }

  /* Container */
  .container { padding: 0 16px; }

  /* Buttons */
  .btn { padding: 12px 24px; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 20px; }
  .stat-item .stat-number { font-size: 2rem; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-card { padding: 24px 12px; }

  /* ISO badge in hero */
  .iso-card .iso-label { font-size: 2.2rem; }
  .iso-card { padding: 32px 28px; }

  /* Features */
  .feature-card { padding: 28px 20px; }

  /* Footer */
  .footer-main { gap: 24px; }

  /* Timeline */
  .timeline { padding-left: 28px; }
  .timeline::before { left: 8px; }
  .timeline-item::before { left: -21px; }
}

/* ============================================================
   34. Print Styles
   ============================================================ */
@media print {
  .site-header,
  .hamburger,
  .scroll-top,
  .hero-badges,
  .cta-section,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 40px 0;
  }

  .page-header {
    padding: 40px 0;
    background: #f0f0f0 !important;
    color: #000 !important;
  }

  .page-header h1 {
    color: #000 !important;
  }
}

/* ============================================================
   35. Accessibility
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-up,
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Dual Certification Badges */
.dual-cert-content {
  text-align: center;
}
.dual-cert-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.dual-cert-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cert-badge-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 40px 48px;
  text-align: center;
  backdrop-filter: blur(4px);
  flex: 1;
  max-width: 360px;
  min-width: 260px;
  transition: all 0.3s ease;
}
.cert-badge-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cert-badge-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.cert-badge-label {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}
.cert-badge-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.cert-badge-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.cert-badge-tag {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.cert-badge-card--green {
  border-color: rgba(76,175,80,0.3);
}
.cert-badge-card--green:hover {
  border-color: rgba(76,175,80,0.5);
}
.dual-cert-connector {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .dual-cert-badges {
    flex-direction: row;
    gap: 16px;
  }
  .cert-badge-card {
    padding: 28px 24px;
    min-width: 140px;
  }
  .cert-badge-label {
    font-size: 1.4rem;
  }
  .dual-cert-connector {
    font-size: 1.5rem;
  }
}

/* Department Flow - 跨部門協同 */
.dept-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 40px 0;
}
.dept-flow__item {
  flex-shrink: 0;
}
.dept-box {
  padding: 16px 32px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  text-align: center;
  min-width: 90px;
  transition: all 0.3s ease;
}
.dept-box:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.dept-flow__arrow {
  padding: 0 12px;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.dept-flow__desc {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .dept-flow {
    gap: 8px;
  }
  .dept-box {
    padding: 12px 20px;
    font-size: 0.85rem;
    min-width: 70px;
  }
  .dept-flow__arrow {
    padding: 0 6px;
    font-size: 1rem;
  }
}

/* Engineering Support Grid - 工程支援 */
.engineering-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.eng-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 28px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.eng-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.eng-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.eng-card__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
}
.engineering-desc {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .engineering-grid {
    gap: 12px;
  }
  .eng-card {
    padding: 14px 20px;
  }
  .eng-card__label {
    font-size: 0.85rem;
  }
}

/* Environmental Management Grid */
.env-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.env-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.env-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.env-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}
.env-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.env-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  .env-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .env-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .env-card {
    padding: 16px;
    gap: 12px;
  }
}

/* Certificate Image Embed */
.cert-img-link {
  display: block;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  max-width: 280px;
}
.cert-img-link:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  border-color: #1e5a99;
}
.cert-img {
  width: 100%;
  height: auto;
  display: block;
}
.iso-card .cert-img-link {
  margin: 20px auto 0;
}
@media (max-width: 768px) {
  .cert-img-link {
    max-width: 220px;
  }
}

/* Form Validation & Success Overlay */
.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}
.error-msg {
  display: block;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 6px;
}
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,26,0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.success-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.success-overlay__inner {
  background: white;
  border-radius: 20px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 420px;
  width: 90%;
}
.success-overlay.visible .success-overlay__inner {
  transform: scale(1);
}
.success-overlay__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}
.success-overlay__icon svg {
  width: 100%;
  height: 100%;
}
.checkmark-circle {
  stroke: #14365c;
  stroke-width: 2;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: checkmark-circle 0.6s ease-in-out forwards;
}
.checkmark-check {
  stroke: #14365c;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmark-check 0.3s 0.4s ease-in-out forwards;
}
@keyframes checkmark-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes checkmark-check {
  to { stroke-dashoffset: 0; }
}
.success-overlay__msg {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.8;
}

/* ============================================================
   36. MISSING CLASS ADDITIONS �X All Pages
   Added to fix classes used in HTML but not yet defined in CSS.
   DO NOT remove or modify existing rules above; only additions here.
   ============================================================ */

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36A. SECTION BACKGROUND VARIANTS
   services.html uses BEM double-dash; other pages use single-dash
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.section-white,
.section--white {
  background-color: var(--bg-white);
}

.section--alt {
  background-color: var(--bg-light);
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36B. NAV ACTIVE STATE (explicit named rule)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.nav-links a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36C. HERO SECTION EXTRAS
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* checkmark icon inside .iso-badge (index.html hero) */
.iso-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 12px;
  line-height: 1;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36D. SECTION CTA �X Centred button wrapper
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36E. FEATURE CARD �X Named element classes
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36F. SERVICE CARD �X Non-BEM classes (index.html)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 48px;
  color: var(--text-primary);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36G. SERVICE CARD �X BEM classes (services.html)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.service-card__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bg-light);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.service-card__body {
  flex: 1;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.service-card__subtitle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36H. PROCESS STEP �X Hyphen classes (index.html)
        (process-step__* BEM is in 36I below)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.process-step-number {
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--bg-light);
  box-shadow: var(--shadow);
  transition: background-color var(--transition), transform var(--transition);
}

.process-step:hover .process-step-number {
  background-color: var(--accent);
  transform: scale(1.1);
}

.process-step-content {
  /* text container below the circle number */
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.process-step-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Arrow inside each step �X hidden in desktop circular layout */
.process-step-arrow {
  display: none;
  text-align: center;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  margin: 8px 0;
  line-height: 1;
}

.process-highlight {
  text-align: center;
  margin-top: 40px;
  padding: 20px 28px;
  background-color: var(--bg-white);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.process-highlight p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36I. PROCESS STEP �X BEM classes (services.html)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.process-step__number {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 12px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: background-color var(--transition), transform var(--transition);
}

.process-step:hover .process-step__number {
  background-color: var(--accent);
  transform: scale(1.1);
}

.process-step__content {
  text-align: center;
}

.process-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.process-step__en {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.process-step__detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Standalone arrow sibling between steps (services.html) */
.process-timeline__arrow {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 16px;
  line-height: 1;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36J. HIGHLIGHT BOX (services.html inline quote)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.highlight-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-top: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36K. PAGE HEADER BEM & EXTRAS
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.page-header__title,
.page-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.page-header__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

/* In dark sections the subtitle is light */
.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36L. BREADCRUMB �X BEM & hyphen separator variants
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.breadcrumb__sep,
.breadcrumb-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__current,
.breadcrumb-current {
  color: var(--accent);
  font-weight: 600;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36M. SERVICE OVERVIEW (services.html intro section)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.service-overview {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  text-align: center;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36N. ABOUT GRID �X Two-column overview layout
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.info-card-title {
  padding: 20px 24px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Extend info-table to support <th> elements (about.html uses th not td:first-child) */
.info-table th {
  padding: 14px 20px;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--bg-light);
  white-space: nowrap;
  width: 140px;
  vertical-align: top;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36O. HIGHLIGHT QUOTE (about.html blockquote)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.highlight-quote {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 24px;
  margin: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
  line-height: 1.6;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36P. TIMELINE EXTRAS (about.html elements)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
/* .timeline-marker is a DOM element; visual dot handled by .timeline-item::before */
.timeline-marker {
  display: none;
}

/* Content wrapper beside the dot */
.timeline-content {
  flex: 1;
}

.timeline-event {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36Q. MILESTONE & TEAM HIGHLIGHT (about.html call-outs)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.milestone-highlight,
.team-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 40px;
  box-shadow: var(--shadow);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.milestone-highlight p,
.team-highlight p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.highlight-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36R. ORG CARD �X Named element classes
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.org-dept {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.org-duties {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.org-duties li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.5;
}

.org-duties li::before {
  content: '\203A';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.1rem;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36S. VALUE CARD �X Named classes (about.html & quality.html)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.4;
}

.value-en {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36T. ROADMAP �X about.html version (different from .roadmap list)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition), padding-right var(--transition);
}

.roadmap-item:last-child {
  border-bottom: none;
}

.roadmap-item:hover {
  padding-left: 8px;
}

.roadmap-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  min-width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.roadmap-item:hover .step-num {
  background-color: var(--accent);
}

.step-body {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36U. ODM HIGHLIGHT CARD (about.html future development)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.odm-highlight-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  color: #ffffff;
  position: sticky;
  top: 100px;
}

.odm-badge {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.odm-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.odm-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 12px;
}

.odm-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.odm-points {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.odm-points li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

.odm-points li:last-child {
  border-bottom: none;
}

.odm-points li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36V. QUALITY PAGE �X Two-column philosophy layout
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.col-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.detail-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.quality-quote {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
}

.quote-mark {
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 900;
  font-style: normal;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36W. QUALITY FLOW VERTICAL (quality-philosophy col-diagram)
        Override base .quality-flow to be vertical in this context
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.quality-philosophy .quality-flow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin-bottom: 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
}

.flow-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.flow-step--accent {
  border-color: var(--accent);
  background-color: rgba(199, 90, 29, 0.04);
}

.flow-step--accent:hover {
  border-color: var(--accent-hover);
}

.flow-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  width: 40px;
  text-align: center;
}

.flow-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.flow-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.flow-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.flow-arrow {
  text-align: center;
  font-size: 1.2rem;
  color: var(--accent);
  padding: 2px 0 2px 28px;
  line-height: 1;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36X. VALUES GRID �X 5-column explicit modifier
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.values-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36Y. QC CARD �X Extended classes (index.html & quality.html)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.qc-icons {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* Big QC code �X quality.html uses .qc-badge, index.html uses .qc-code */
.qc-badge,
.qc-code {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.qc-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

/* qc-subtitle: used as Chinese title in quality.html, EN label in index.html */
.qc-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.qc-en {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: block;
}

.qc-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36Z. ISO CARD �X Flex layout & child classes
        (index.html uses iso-card-badge/body; quality.html uses iso-card-left/right)
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */

/* Add flex layout to existing .iso-card (cascade adds display:flex) */
.iso-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Prevent section-dark's h3/p overrides from bleeding into white iso-cards */
.section-dark .iso-card h3 {
  color: var(--text-primary);
}

.section-dark .iso-card p {
  color: var(--text-secondary);
}

/* quality.html �X horizontal split inside iso-card */
.iso-card-left {
  flex: 0 0 200px;
  min-width: 160px;
  text-align: center;
}

.iso-card-right {
  flex: 1;
}

.iso-logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 16px;
}

.iso-logo-badge--green {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.iso-badge-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.iso-badge-year {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.iso-system-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}

.iso-date-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
}

.iso-date-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.iso-date-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.iso-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* index.html �X badge left + body right */
.iso-card-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
}

.iso-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 12px;
}

.iso-card-code {
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.iso-card-body {
  flex: 1;
}

.iso-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.iso-card-date {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.iso-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36AA. FOOTER NAMED CLASSES
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.footer-motto {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-style: italic;
}

/* �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w
   36BB. RESPONSIVE ADDITIONS
   �w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w�w */
@media (max-width: 1024px) {
  /* About grid �� single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Roadmap grid �� single column */
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .odm-highlight-card {
    position: static; /* un-stick on tablet */
  }

  /* Two-column quality layout �� single column */
  .two-col-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ISO card left column narrower on tablet */
  .iso-card-left {
    flex: 0 0 160px;
    min-width: 140px;
  }

  /* 5-column values �� 3 on tablet */
  .values-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* BEM process arrows smaller */
  .process-timeline__arrow {
    font-size: 1.1rem;
    padding-top: 12px;
  }
}

@media (max-width: 768px) {
  /* ISO card flex �� stack vertically */
  .iso-card {
    flex-direction: column;
    gap: 24px;
  }

  .iso-card-left {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    text-align: left;
  }

  .iso-logo-badge {
    flex: 0 0 100px;
    margin-bottom: 0;
    padding: 16px 12px;
  }

  .iso-badge-title {
    font-size: 1.2rem;
  }

  .iso-card-badge {
    flex: 0 0 100px;
    min-width: 100px;
    padding: 20px 12px;
  }

  .iso-date-row {
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* 5-column values �� 2 on mobile */
  .values-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hide BEM arrows in vertical mobile process layout */
  .process-timeline__arrow {
    display: none;
  }

  /* Show hyphen-style step arrow on mobile */
  .process-step-arrow {
    display: block;
  }

  /* Section CTA spacing */
  .section-cta {
    margin-top: 32px;
  }

  /* Page title sizes */
  .page-header__title,
  .page-title {
    font-size: 1.875rem;
  }

  /* Milestone/team highlight */
  .milestone-highlight,
  .team-highlight {
    padding: 20px 24px;
  }

  /* ODM card */
  .odm-highlight-card {
    padding: 28px 24px;
  }

  .odm-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  /* 5-column values �� 2 on small mobile */
  .values-grid--5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* About grid */
  .about-grid {
    gap: 28px;
  }

  /* Roadmap */
  .roadmap-grid {
    gap: 28px;
  }

  /* ISO card left: stack vertically on small screens */
  .iso-card-left {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }

  .iso-logo-badge {
    flex: none;
    width: 100%;
  }

  .iso-date-row {
    flex-direction: column;
    justify-content: center;
  }
}

/* col-diagram: right column in two-col-layout (quality.html) */
.col-diagram {
  /* Container for quality flow diagram �X inherits grid sizing from two-col-layout */
}
