:root {
  --blue:       #111111;
  --blue-dark:  #000000;
  --blue-deep:  #0a0a0a;
  --blue-mid:   #333333;
  --blue-light: #555555;
  --blue-pale:  #f9f9f9;
  --blue-tint:  #f0f0f0;
  --white:      #ffffff;
  --off-white:  #fafafa;
  --text:       #111111;
  --text-mid:   #555555;
  --text-light: #777777;
  --gold:       #555555;
  --green:      #2e9e5b;
  --red:        #d72631;
  --nav-h:      72px;
  
  --ff-head:    'Outfit', sans-serif;
  --ff-ui:      'Outfit', sans-serif;
  --ff-body:    'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ────────── NAV ────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 2px 20px rgba(26,82,168,0.12);

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  padding: 0 5vw;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-label {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}

.nav-logo-label .brand {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--blue-dark);
  line-height: 1;
}

.nav-logo-label .sub {
  font-size: 0.58rem;
  letter-spacing: 2px;
  color: var(--blue-light);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links li a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-mid);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.nav-links li a:hover, .nav-links li a.active {
  color: var(--blue);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  transform: scaleX(1);
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch a, .lang-switch span {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-switch .active, .lang-switch a:hover {
  color: var(--blue-dark);
  font-weight: 600;
}

/* ────────── HERO ────────── */
#hero {
  min-height: 100vh;
  background: var(--white);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 5vw 80px;
  position: relative; overflow: hidden;
  gap: 2rem;
}

.hero-bg-pattern {
  position: absolute;
  top: 50%; right: 0;
  transform: translateY(-50%);
  width: 45%; height: 100%;
  z-index: 0; opacity: 0.15;
  background-image: url('../assets/buddha-line.jpg');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  flex: 0 0 60%; max-width: 60%;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);
  padding: 6px 16px; border-radius: 2px; margin-bottom: 2rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase; color: var(--text-mid);
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 300; line-height: 1.1; color: var(--text);
  animation: fadeUp 0.9s 0.35s ease forwards;
}
.hero-h1 strong { font-weight: 600; color: var(--text); }

.hero-divider {
  width: 60px; height: 3px; background: var(--text);
  margin: 2rem 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}

.hero-desc {
  font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; max-width: 580px;
  animation: fadeUp 0.9s 0.55s ease forwards;
}

.hero-btns {
  display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
  animation: fadeUp 0.9s 0.85s ease forwards;
}

.btn-hero-primary {
  padding: 14px 36px; background: var(--text); color: var(--white);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; border: none;
  cursor: pointer; border-radius: 2px; transition: all 0.2s; text-decoration: none;
}
.btn-hero-primary:hover { background: var(--text-mid); color: var(--white); }

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

/* ────────── SHARED ────────── */
section { position: relative; overflow: hidden; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 5vw; }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem;
}
.section-eyebrow::before { content:''; display:block; width:24px; height:2px; background:var(--blue); }

h2.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; line-height: 1.2; color: var(--text);
}
h2.sec-title.white { color: var(--white); }
h2.sec-title strong { font-weight: 600; }

.blue-bar { width: 48px; height: 3px; background: var(--blue); margin: 1.2rem 0; }
.blue-bar.gold { background: var(--gold); }

/* ────────── ABOUT ────────── */
#about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3.5rem; }
.about-text p { color: var(--text-mid); line-height: 1.8; font-size: 0.97rem; margin-bottom: 1.1rem; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-pillars { display: flex; flex-direction: column; gap: 1rem; }
.pillar {
  padding: 2rem 2rem;
  background: var(--white); border: 1px solid #dde7f5;
  border-left: 4px solid var(--blue);
  box-shadow: 0 2px 12px rgba(26,82,168,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover { box-shadow: 0 6px 24px rgba(26,82,168,0.14); transform: translateX(4px); }
.pillar-title { font-size: 0.88rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 0.3rem; }
.pillar-text { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; }

/* ────────── CAPABILITIES ────────── */
#capabilities { background: var(--blue-deep); }
.section-eyebrow.white { color: rgba(255,255,255,0.6); }
.section-eyebrow.white::before { background: rgba(255,255,255,0.4); }

.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.cap-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 2.2rem 2.3rem;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.cap-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); border-color: rgba(255,255,255,0.25); }

.cap-title { font-size: 0.95rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 0.6rem; }
.cap-text { font-size: 0.86rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ────────── INTEGRATION / MANUFACTURING ────────── */
#integration { background: #050f1e; position: relative; }
.int-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 1rem; }
.int-text p { color: rgba(255,255,255,0.75); font-size: 0.97rem; line-height: 1.8; margin-bottom: 1.1rem; }
.int-text strong { color: var(--white); font-weight: 600; }

.int-items { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.int-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 3px solid var(--blue-light);
}
.int-item-text { font-size: 0.87rem; color: rgba(255,255,255,0.75); }
.int-item-text strong { color: #fff; font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 2px; }

/* ────────── QUALITY ────────── */
#quality { background: var(--blue-tint); }
.quality-top { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.quality-text p { color: var(--text-mid); font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.quality-text strong { color: var(--text); font-weight: 600; }

.cert-stack { display: flex; flex-direction: column; gap: 1rem; }
.cert-badge {
  background: var(--white); border: 1px solid #c8d8f0;
  padding: 1rem 1rem; text-align: center;
  border-top: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(26,82,168,0.08);
}
.cert-name { font-size: 1.5rem; font-weight: 600; color: var(--blue-dark); }
.cert-sub { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-top: 3px; }

.quality-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 2.5rem; }
.qcard {
  background: var(--white); border: 1px solid #d0dff5;
  padding: 1.5rem 1rem;
  border-bottom: 3px solid var(--blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qcard:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,82,168,0.12); }
.qcard-title { font-size: 0.84rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 0.4rem; }
.qcard-text { font-size: 0.82rem; color: var(--text-light); line-height: 1.65; }

/* ────────── CONTACT / FOOTER ────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 5vw;
  text-align: center;
}
.footer-logo {
  font-size: 1.2rem; font-weight: 600; letter-spacing: 3px;
  color: var(--white); margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-grid, .int-layout, .quality-top { grid-template-columns: 1fr; gap: 2rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .quality-cards { grid-template-columns: 1fr 1fr; }
  .hero-inner { flex: 0 0 100%; max-width: 100%; }
}
