/* =====================================================
   DMCK ODM/OEM Website — Main Stylesheet
   Brand Colors:
     Primary   : #0F2A4A
     Secondary : #1F4E79
     BG        : #FFFFFF
     Accent    : #D9DDE3
   ===================================================== */

/* ── CSS Custom Properties ── */
:root {
  --primary:     #0F2A4A;
  --primary-dark:#081B31;
  --secondary:   #1F4E79;
  --accent:      #D9DDE3;
  --gold:        #B8965A;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;
  --light-bg:    #F0F3F7;
  --text-dark:   #111827;
  --text-mid:    #374151;
  --text-light:  #6B7280;
  --border:      #E5E9EF;

  --font-sans: 'Noto Sans KR', 'Montserrat', sans-serif;
  --font-en:   'Montserrat', sans-serif;

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

  --shadow-sm: 0 2px 8px rgba(15,42,74,.08);
  --shadow-md: 0 6px 24px rgba(15,42,74,.12);
  --shadow-lg: 0 16px 48px rgba(15,42,74,.18);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
  --container: 1200px;
  --section-py: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section Padding ── */
.section-padding { padding: var(--section-py) 0; }

/* ── Backgrounds ── */
.bg-light { background: var(--light-bg); }
.bg-dark  { background: var(--primary); color: var(--white); }

/* ── Utility ── */
.mt-32 { margin-top: 32px; }
.hidden { display: none !important; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.section-eyebrow {
  font-family: var(--font-en);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}
.cert-eyebrow { color: var(--accent); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 20px;
}
.cert-title { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
}
.cert-desc { color: var(--accent); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc {
  margin: 0 auto;
}

.highlight { color: var(--secondary); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-sm  { padding: 10px 20px; font-size: .85rem; }
.btn-lg  { padding: 16px 40px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--primary);
}
.logo-sub {
  font-family: var(--font-en);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary);
  background: var(--light-bg);
}

.header-cta { flex-shrink: 0; padding: 10px 24px; font-size: .85rem; }

/* Language Switcher (Desktop) */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  transition: var(--transition);
}
.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
  color: var(--secondary);
  border-color: var(--secondary);
  background: var(--light-bg);
}
.lang-toggle i.fa-globe { font-size: .82rem; color: var(--secondary); }
.lang-toggle .lang-caret {
  font-size: .65rem;
  transition: transform var(--transition);
}
.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1001;
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.lang-option:hover {
  background: var(--light-bg);
  color: var(--secondary);
}
.lang-option.active {
  background: var(--secondary);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 16px 24px 24px; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav li:last-child { border-bottom: none; margin-top: 16px; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--secondary); }
.mobile-nav-cta {
  display: flex !important;
  justify-content: center;
  padding: 14px 0 !important;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--light-bg);
}
.mobile-lang-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.mobile-lang-options {
  display: flex;
  gap: 8px;
}
.mobile-lang-option {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
}
.mobile-lang-option:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}
.mobile-lang-option.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 60%, #2A6BAC 100%);
  z-index: 0;
}

/* Subtle texture overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(255,255,255,.05) 0%, transparent 50%);
}

/* Pattern dots */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
}

.hero-overlay { position: absolute; inset: 0; background: rgba(8,27,49,.3); }

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 120px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0;
}
.hero-headline + .hero-headline {
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: #90C4F0;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  padding: 24px 0;
  max-width: 700px;
}
.stat-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 4px 20px;
}
.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num small {
  font-size: .9rem;
  font-weight: 500;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  margin: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 1.2rem;
  animation: bounceDown 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section { padding: var(--section-py) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-title { margin-top: 4px; }

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-body {
  font-size: .98rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 28px;
}

.about-checkpoints {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-checkpoints li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-mid);
}
.about-checkpoints li i {
  color: var(--secondary);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: .9rem;
}

/* About Visual */
.about-visual { position: relative; }

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-main:hover img { transform: scale(1.03); }

.about-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text-light);
  text-transform: uppercase;
}
.about-badge span {
  display: block;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

/* =====================================================
   BRAND STORY SECTION
   ===================================================== */
.brand-story-section {
  background: var(--primary);
  padding: 72px 0;
}

.brand-quote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.brand-quote p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,.88);
  line-height: 1.9;
  font-weight: 300;
}
.brand-quote p strong {
  color: #90C4F0;
  font-weight: 700;
}
.brand-quote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-en);
  font-size: .88rem;
  letter-spacing: .12em;
  color: var(--accent);
  font-style: normal;
}

/* =====================================================
   HISTORY / TIMELINE
   ===================================================== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical line — aligned with the dot's horizontal center (114px + 20px/2 = 124px) */
.timeline::before {
  content: '';
  position: absolute;
  left: 124px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--secondary), var(--primary));
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 56px;
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child { padding-bottom: 0; }

/* Dot — centered within the gap between the year column and the card,
   so it never overlaps the right-aligned year text (which ends at the
   96px column boundary). Line sits on the same center point. */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 114px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--secondary);
  z-index: 1;
  transition: border-color var(--transition), background var(--transition);
}
.timeline-item:hover::before {
  background: var(--secondary);
}

.timeline-year {
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: right;
  padding-top: 4px;
  padding-right: 4px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.timeline-year span { display: inline-block; }

.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.timeline-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.highlight-card {
  border-color: var(--secondary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.highlight-card h3,
.highlight-card p { color: var(--white) !important; }

/* =====================================================
   STRENGTH SECTION
   ===================================================== */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.strength-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.strength-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), #2A6BAC);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.strength-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.strength-card:hover::before { transform: scaleX(1); }

.strength-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.strength-card:hover .strength-icon {
  background: var(--secondary);
  color: var(--white);
}
.strength-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.strength-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Success Case */
.success-case {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex;
  justify-content: center;
}
.success-case-inner { text-align: center; }
.success-case-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: #FFD580;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.success-case h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.success-case p {
  font-size: .98rem;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 28px;
}
.success-case .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.success-case .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--secondary);
}
.product-icon {
  width: 52px;
  height: 52px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.product-card:hover .product-icon {
  background: var(--secondary);
  color: var(--white);
}
.product-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.6;
}
.product-card-cta {
  background: var(--primary);
  border-color: var(--primary);
}
.product-card-cta h3,
.product-card-cta p { color: var(--white) !important; }
.product-card-cta .product-icon {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.product-card-cta:hover { background: var(--secondary); border-color: var(--secondary); }

/* MOQ Highlight */
.moq-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 36px;
  font-size: .95rem;
}
.moq-highlight i {
  font-size: 1.5rem;
  color: #90C4F0;
  flex-shrink: 0;
}
.moq-highlight strong {
  font-weight: 700;
  white-space: nowrap;
}
.moq-highlight span {
  color: rgba(255,255,255,.78);
}

/* =====================================================
   FACILITY SECTION
   ===================================================== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.facility-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.facility-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.facility-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.facility-card:hover .facility-img img { transform: scale(1.06); }

.facility-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,42,74,.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.facility-img-overlay span {
  font-family: var(--font-en);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}

.facility-info { padding: 24px 28px; }
.facility-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.facility-info p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* Facility Specs */
.facility-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.spec-item {
  text-align: center;
}
.spec-item i {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}
.spec-item h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.spec-item p {
  font-size: .82rem;
  color: var(--text-light);
}

/* =====================================================
   CERTIFICATIONS SECTION
   ===================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cert-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-4px);
}

.cert-logo {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--white);
  margin: 0 auto 20px;
}
.cert-card h3 {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cert-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

.cert-cta {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 40px;
}
.cert-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 20px;
}

/* =====================================================
   GLOBAL SECTION — Country Card Layout
   ===================================================== */
.section-padding-sm { padding: 64px 0; }

.container-narrow {
  max-width: 1180px;
}

.country-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  transition: var(--transition);
}
.country-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.country-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.country-flag-badge {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.country-card-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.country-card p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.process-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.process-step:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.process-step:hover .step-num { color: var(--secondary); }

.step-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  margin-bottom: 12px;
  word-break: keep-all;
}
.step-body p {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--secondary); }
.faq-question[aria-expanded="true"] { color: var(--secondary); }

.faq-icon {
  font-size: .85rem;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-answer.open {
  max-height: 400px;
}
.faq-answer p {
  padding: 0 0 24px;
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item i {
  color: #90C4F0;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 2px;
}
.contact-item span {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.req { color: var(--secondary); }

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(31,78,121,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Checkbox — explicitly reset so the generic .form-group input rules
   above (width/padding/appearance:none) never leak onto it. Native
   checkbox appearance is restored so the check mark is always visible
   and the click target matches the visible box exactly. */
.form-group.form-check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.form-check .field-error {
  flex-basis: 100%;
  width: 100%;
  margin-left: 0;
}
.checkbox-label {
  display: block;
  font-size: .85rem;
  color: var(--text-mid);
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.form-group.form-check input[type="checkbox"],
.checkbox-label input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin: 2px 0 0 0;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  flex-shrink: 0;
  accent-color: var(--secondary);
  cursor: pointer;
  pointer-events: auto;
  opacity: 1;
  position: relative;
  z-index: 2;
}
.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.checkbox-label span {
  cursor: pointer;
}
.privacy-link {
  color: var(--secondary);
  text-decoration: underline;
  position: relative;
  z-index: 3;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success i {
  font-size: 3rem;
  color: #22c55e;
  margin-bottom: 16px;
}
.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-mid);
  font-size: .95rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.footer-logo .logo-mark { color: var(--white); font-size: 1.6rem; }
.footer-logo .logo-sub  { color: var(--accent); }

.footer-tagline {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.footer-company {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

.footer-links h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-cert h4 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cert-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}
.footer-since {
  font-family: var(--font-en);
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 4px;
}
.footer-disclaimer {
  font-size: .75rem !important;
}

/* =====================================================
   MOBILE FIXED CTA
   ===================================================== */
.mobile-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 800;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* Hero fade-in */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .8s ease forwards;
}
.fade-in-up.delay-1 { animation-delay: .2s; }
.fade-in-up.delay-2 { animation-delay: .4s; }
.fade-in-up.delay-3 { animation-delay: .6s; }
.fade-in-up.delay-4 { animation-delay: .9s; }

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

/* =====================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .lang-switcher { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-img-main img { height: 340px; }

  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-specs { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .process-step { padding: 24px 20px; }

  .country-card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ===================================================== */
@media (max-width: 768px) {
  :root { --section-py: 56px; --header-h: 64px; }

  .container { padding: 0 20px; }

  /* Mobile Fixed CTA */
  .mobile-fixed-cta { display: block; }
  .back-to-top { bottom: 76px; right: 16px; }

  /* Hero */
  .hero-content { padding-top: calc(var(--header-h) + 32px); padding-bottom: 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; padding: 16px 0; gap: 0; }
  .stat-divider { width: auto; height: 1px; }
  .stat-item { padding: 12px 20px; }

  /* Timeline — mobile-specific layout to prevent dot/year overlap.
     The year column keeps a guaranteed left padding (floor) so the
     right-aligned year text can never creep left into the dot's area,
     regardless of how many characters the year label has. */
  .timeline::before { left: 9px; }
  .timeline-item {
    grid-template-columns: 70px 1fr;
    gap: 0 16px;
    padding-bottom: 32px;
  }
  .timeline-item::before {
    left: 2px;
    top: 6px;
    width: 14px;
    height: 14px;
  }
  .timeline-year {
    font-size: .74rem;
    text-align: right;
    padding-top: 2px;
    padding-left: 26px;
    padding-right: 0;
    white-space: nowrap;
  }
  .timeline-card { padding: 18px 16px; }

  /* Strength */
  .strength-grid { grid-template-columns: 1fr; }
  .success-case { padding: 36px 24px; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card { padding: 24px 16px; }

  /* Facility */
  .facility-grid { grid-template-columns: 1fr; }
  .facility-specs { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; }

  /* Certs */
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process-step { padding: 28px 24px; }

  /* Contact form */
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

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

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

  /* MOQ */
  .moq-highlight { flex-direction: column; text-align: center; }

  /* Global Country Cards */
  .country-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .country-card { padding: 24px 24px; }
  .section-padding-sm { padding: 48px 0; }
}

/* =====================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ===================================================== */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .facility-specs { grid-template-columns: 1fr; }
  .hero-stats { max-width: 100%; }

  /* Timeline — extra-narrow tuning: slightly tighter columns/gap
     while keeping the year text clear of the dot. */
  .timeline::before { left: 7px; }
  .timeline-item {
    grid-template-columns: 58px 1fr;
    gap: 0 12px;
  }
  .timeline-item::before {
    left: 0;
    width: 13px;
    height: 13px;
  }
  .timeline-year {
    font-size: .68rem;
    padding-left: 20px;
    letter-spacing: .02em;
  }
  .timeline-card { padding: 16px 14px; }
}
