/* =========================================================================
   VYNEX CO.,LTD — Corporate Website
   "전선 하나에도 신뢰를 담습니다"
   Restrained, corporate, precision-manufacturing design language.
   ========================================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  /* Brand — royal blue from the VYNEX mark */
  --brand: #101fb0;
  --brand-ink: #0b1785;
  --brand-bright: #2138d6;
  --brand-050: #eef0fd;
  --brand-100: #dbe0fb;

  /* Dark / navy */
  --navy: #0a1130;
  --navy-2: #0e1740;
  --navy-3: #142057;

  /* Neutral scale */
  --ink: #0f1626;
  --body: #3c4457;
  --muted: #6b7280;
  --faint: #9aa1b0;
  --line: #e7e9ef;
  --line-2: #d7dbe4;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --soft-2: #eef1f6;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 22, 38, .05), 0 6px 20px rgba(15, 22, 38, .05);
  --shadow-md: 0 10px 34px rgba(15, 22, 38, .09);
  --shadow-lg: 0 30px 70px rgba(10, 17, 48, .16);

  --maxw: 1220px;
  --gutter: clamp(20px, 5vw, 60px);

  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans SC", "Noto Sans Thai", "Segoe UI", Roboto,
    "Malgun Gothic", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Consolas", "JetBrains Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Copy protection — disable text selection & image drag site-wide */
body {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
input, textarea { -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.client img, .app-photo img, .hero-slide img, .prod-media img, .cert-doc img, .fac-photos img, .ov-visual img, .c-map img { pointer-events: none; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: keep-all; /* keep Korean words intact; break only at spaces */
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.16; letter-spacing: -.021em; font-weight: 700; word-break: keep-all; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(74px, 9vw, 130px); }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.kicker.on-dark { color: #8ea0ff; }
.kicker.on-dark::before { background: #8ea0ff; }

.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(27px, 3.9vw, 43px); margin-top: 20px; color: var(--ink); font-weight: 800; }
.sec-head .lead { margin-top: 20px; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.75; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  transition: transform .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 31, 176, .32); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-line.on-dark { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-line.on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.site-header.scrolled {
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom-color: var(--line); box-shadow: 0 1px 16px rgba(15, 22, 38, .04);
}

/* Logo lockup */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-type { font-weight: 800; font-size: 22px; letter-spacing: .01em; }
.site-header:not(.scrolled) .logo-type { color: #fff; }
.site-header.scrolled .logo-type { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-size: 14.5px; font-weight: 500; padding: 9px 14px; border-radius: 7px; transition: color .2s, background .2s; }
.site-header:not(.scrolled) .nav a { color: rgba(255, 255, 255, .8); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-header.scrolled .nav a { color: var(--body); }
.site-header.scrolled .nav a:hover { color: var(--brand); background: var(--soft); }

.header-cta { margin-left: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; border-radius: 8px; background: var(--brand); color: #fff !important; transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--brand-bright); transform: translateY(-1px); }

.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; border-radius: 2px; transition: .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* Language switcher */
.header-right { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 7px; border: 1px solid transparent; background: transparent; cursor: pointer; font-family: var(--font); transition: background .2s, border-color .2s, color .2s; }
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn .chev { width: 12px; height: 12px; opacity: .7; transition: transform .25s; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.site-header:not(.scrolled) .lang-btn { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .2); }
.site-header:not(.scrolled) .lang-btn:hover { background: rgba(255, 255, 255, .1); }
.site-header.scrolled .lang-btn { color: var(--body); border-color: var(--line-2); }
.site-header.scrolled .lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 148px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 20; }
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; background: transparent; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--body); cursor: pointer; font-family: var(--font); transition: background .15s, color .15s; }
.lang-menu button:hover { background: var(--soft); color: var(--ink); }
.lang-menu button.active { color: var(--brand); font-weight: 700; }
.lang-menu button .flag { font-size: 15px; margin-right: 9px; }
.lang-menu button .tick { width: 15px; height: 15px; opacity: 0; }
.lang-menu button.active .tick { opacity: 1; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(155deg, var(--navy-2) 0%, var(--navy) 55%, #070c22 100%);
  padding-top: 74px;
}
.hero-blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 30% 0%, #000 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(120% 90% at 30% 0%, #000 45%, transparent 88%);
}
.hero-glow { position: absolute; top: -10%; right: -6%; width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(33, 56, 214, .34), transparent 62%); }

.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
  padding-block: clamp(64px, 8vw, 104px) clamp(84px, 9vw, 120px); }

.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #93a2ff; font-weight: 600; }
.hero-kicker::before { content: ""; width: 24px; height: 2px; background: #93a2ff; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; margin-top: 24px; letter-spacing: -.035em; line-height: 1.1; }
.hero h1 .en { display: block; font-size: clamp(15px, 1.7vw, 19px); font-weight: 500; letter-spacing: .04em; color: rgba(255, 255, 255, .62); margin-top: 18px; font-family: var(--mono); text-transform: none; }
.hero-sub { margin-top: 26px; font-size: clamp(15.5px, 1.7vw, 17.5px); color: rgba(255, 255, 255, .76); max-width: 500px; line-height: 1.78; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-types { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-types span { font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, .8); padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.hero-foot { margin-top: 34px; display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: rgba(255, 255, 255, .5); font-family: var(--mono); letter-spacing: .04em; flex-wrap: wrap; }
.hero-foot .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }

/* Hero visual — slideshow (photo fills, rounded, shadow + reflection sheen) */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 3;
  background: #fff; box-shadow: 0 26px 60px rgba(6, 12, 34, .38), 0 6px 16px rgba(6, 12, 34, .2);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); background: #fff; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.active img { animation: heroRise .9s var(--ease) both; }
@keyframes heroRise { from { opacity: .5; transform: scale(1.015); } to { opacity: 1; transform: none; } }
/* glossy reflection sheen */
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 22%, transparent 42%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(15,22,38,.06);
}
.hero-dots { position: absolute; right: 14px; bottom: 16px; z-index: 3; display: flex; gap: 7px; }
.hero-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(15, 22, 38, .25); transition: background .3s, width .3s; }
.hero-dots button.active { background: var(--brand); width: 20px; border-radius: 4px; }
.hero-accent-line { position: absolute; left: -14px; top: 24px; width: 3px; height: 64px; background: var(--brand-bright); border-radius: 2px; z-index: 3; }

/* =========================================================================
   Stat strip
   ========================================================================= */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 32px 26px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-feature-settings: "tnum"; display: flex; align-items: baseline; }
.stat .num em { font-style: normal; color: var(--brand); font-size: .55em; margin-left: 2px; font-weight: 700; }
.stat .num .plus { color: var(--brand); margin-left: 1px; }
.stat .cap { margin-top: 8px; font-size: 13px; color: var(--muted); }
.stat .cap b { display: block; color: var(--body); font-weight: 600; font-size: 13.5px; }
.stat .grow { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--brand); background: var(--brand-050); padding: 4px 9px; border-radius: 999px; }
.stat .grow svg { width: 11px; height: 11px; }

/* =========================================================================
   Overview
   ========================================================================= */
.overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ov-copy h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-top: 20px; line-height: 1.24; }
.ov-copy .statement { margin-top: 22px; font-size: clamp(16px, 1.7vw, 18px); color: var(--body); line-height: 1.85; }
.ov-copy .statement b { color: var(--ink); font-weight: 600; }
.ov-facts { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ov-fact { background: #fff; padding: 20px 22px; }
.ov-fact .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ov-fact .v { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--ink); }
.ov-fact .v small { font-weight: 500; color: var(--muted); font-size: 13px; }

.ov-visual { position: relative; }
.ov-visual .img-main { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 22px 46px rgba(15, 22, 38, .16), 0 4px 12px rgba(15, 22, 38, .08); aspect-ratio: 2 / 3; background: #fff; display: grid; place-items: center; }
.ov-visual .img-main img { width: 100%; height: 100%; object-fit: cover; }
.ov-visual .img-main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.05) 20%, transparent 40%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 0 0 1px rgba(15,22,38,.06);
}
.ov-cap { margin-top: 14px; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }
.ov-cap::before { content: ""; width: 18px; height: 2px; background: var(--brand); }

/* =========================================================================
   Strengths
   ========================================================================= */
.strengths { background: var(--soft); border-block: 1px solid var(--line); }
.str-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 54px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.str-card { background: #fff; padding: 36px 30px 38px; transition: background .25s var(--ease); position: relative; }
.str-card + .str-card { border-left: 1px solid var(--line); }
.str-card:hover { background: var(--brand); color: #fff; }
.str-card .idx { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--faint); transition: color .25s; }
.str-card:hover .idx { color: rgba(255, 255, 255, .7); }
.str-card .ic { width: 46px; height: 46px; margin: 20px 0 22px; color: var(--brand); transition: color .25s; }
.str-card:hover .ic { color: #fff; }
.str-card .ic svg { width: 100%; height: 100%; }
.str-card h3 { font-size: 18px; font-weight: 700; }
.str-card p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.72; transition: color .25s; }
.str-card:hover p { color: rgba(255, 255, 255, .82); }

/* =========================================================================
   Vision (dark)
   ========================================================================= */
.vision { background: linear-gradient(160deg, var(--navy-2), var(--navy) 70%); color: #fff; position: relative; overflow: hidden; }
.vision .hero-blueprint { opacity: .32; }
.vision-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin-inline: auto; }
.vision-inner h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; margin-top: 22px; letter-spacing: -.03em; line-height: 1.14; }
.vision-inner h2 .hl { color: #93a2ff; }
.vision-inner .vq { margin-top: 24px; color: rgba(255, 255, 255, .74); font-size: clamp(15.5px, 1.7vw, 18px); line-height: 1.85; max-width: 660px; margin-inline: auto; }
.pillars { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.pillar { border-top: 2px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.pillar .pn { font-family: var(--mono); font-size: 12px; color: #93a2ff; letter-spacing: .1em; }
.pillar h3 { font-size: 19px; margin-top: 12px; font-weight: 700; }
.pillar p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .66); line-height: 1.7; }

/* =========================================================================
   Products
   ========================================================================= */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.prod-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.prod-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #f3f5f8, #e9edf3); overflow: hidden; position: relative; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.045); }
.prod-media .no { position: absolute; top: 13px; left: 13px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--brand); background: rgba(255, 255, 255, .94); padding: 5px 9px; border-radius: 6px; letter-spacing: .04em; }
.prod-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 18.5px; font-weight: 700; }
.prod-body .en { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--brand); text-transform: uppercase; margin-top: 6px; }
.prod-body p { margin-top: 13px; font-size: 13.5px; color: var(--muted); line-height: 1.72; }

/* Applications — real appliance photo cards */
.apps { margin-top: 64px; padding-top: 52px; border-top: 1px solid var(--line); position: relative; }
.apps-head { margin-bottom: 30px; }
.apps-head h3 { font-size: 22px; font-weight: 800; }
.apps-head p { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 620px; line-height: 1.7; }
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .22s, box-shadow .25s, transform .25s; }
.app-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.app-photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, #fbfcfd, #f1f4f8); display: grid; place-items: center; padding: 14%; }
.app-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.app-card:hover .app-photo img { transform: scale(1.06); }
.app-name { padding: 13px 10px 15px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--body); border-top: 1px solid var(--line); }

/* =========================================================================
   Global / Facilities
   ========================================================================= */
.global { background: var(--soft); border-block: 1px solid var(--line); }
.fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.fac-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fac-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.fac-head .role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.fac-head h3 { font-size: 21px; font-weight: 800; margin-top: 7px; }
.fac-head .flag { font-size: 13px; font-weight: 600; color: var(--body); display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; }
.fac-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.fac-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fac-photos.single img { aspect-ratio: 16 / 9; }
.fac-map { aspect-ratio: 16 / 9; overflow: hidden; border-top: 2px solid var(--line); background: var(--soft-2); }
.fac-map img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fac-foot { padding: 20px 26px 24px; display: flex; gap: 11px; color: var(--body); font-size: 14px; line-height: 1.6; }
.fac-foot svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--brand); }

/* =========================================================================
   Certifications
   ========================================================================= */
.certs .sec-head { margin-bottom: 50px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-doc { background: var(--soft-2); padding: 22px 22px 0; height: 240px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.cert-doc img { max-height: 218px; width: auto; border-radius: 4px 4px 0 0; box-shadow: 0 -2px 20px rgba(15, 22, 38, .12); border: 1px solid var(--line-2); border-bottom: 0; }
.cert-meta { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.cert-meta .cn { font-size: 16px; font-weight: 700; }
.cert-meta .cd { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* =========================================================================
   Clients
   ========================================================================= */
.clients { background: var(--soft); border-block: 1px solid var(--line); }
.client-wall { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.client { background: #fff; aspect-ratio: 16 / 7; display: grid; place-items: center; padding: 26px 30px; }
.client img { max-height: 48px; max-width: 76%; width: auto; object-fit: contain; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(30px, 4vw, 52px); margin-top: 52px; align-items: stretch; }
.contact-side { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.contact-side .c-item { padding: 14px 18px; }
.contact-side .c-item .ic { width: 40px; height: 40px; }
.contact-side .c-item .ic svg { width: 19px; height: 19px; }
.contact-side .c-item .v { font-size: 15px; }
.contact-side .c-item .v.addr { font-size: 13px; }
.c-equip { flex: 1 1 auto; min-height: 150px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 4px; background: var(--soft); display: grid; place-items: center; padding: 18px; }
.c-equip img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .9;
  /* fade the photo edges out naturally */
  -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 92%);
  mask-image: radial-gradient(120% 120% at 50% 50%, #000 55%, transparent 92%);
}
.c-list { display: grid; gap: 12px; }
.c-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: #fff; transition: border-color .22s, box-shadow .22s; }
.c-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.c-item .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; }
.c-item .ic svg { width: 21px; height: 21px; }
.c-item .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.c-item .v { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.c-item .v.addr { font-size: 13.5px; font-weight: 500; line-height: 1.5; }

/* Inquiry form */
.c-form { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px clamp(22px, 3vw, 34px) 30px; box-shadow: var(--shadow-sm); }
.c-form h3 { font-size: 19px; font-weight: 700; }
.c-form .fnote { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.form-grid { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--body); }
.field label .req { color: var(--brand); margin-left: 3px; }
.field input, .field textarea { font-family: var(--font); font-size: 14.5px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--soft); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(16, 31, 176, .1); }
.field textarea { resize: vertical; min-height: 118px; }
.form-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot .privacy { font-size: 12px; color: var(--faint); }
.c-form button[type="submit"] { width: 100%; justify-content: center; }

.c-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.c-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.c-map .mimg { aspect-ratio: 4 / 3; overflow: hidden; }
.c-map .mimg img { width: 100%; height: 100%; object-fit: cover; }
.c-map .mcap { padding: 15px 18px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--body); border-top: 1px solid var(--line); }
.c-map .mcap b { color: var(--ink); font-weight: 700; }
.c-map .mcap svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* CTA band */
.cta { background: linear-gradient(140deg, var(--brand-ink), var(--navy) 85%); color: #fff; overflow: hidden; position: relative; }
.cta .hero-blueprint { opacity: .28; }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 680px; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 800; letter-spacing: -.03em; }
.cta-inner p { margin-top: 16px; color: rgba(255, 255, 255, .78); font-size: 16.5px; }
.cta-inner .btns { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: #eef0fd; }

/* =========================================================================
   Footer
   ========================================================================= */
.footer { background: #070c22; color: rgba(255, 255, 255, .58); padding-block: 60px 32px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo-type { color: #fff; }
.footer .f-desc { margin-top: 18px; font-size: 14px; line-height: 1.75; max-width: 340px; }
.footer h4 { color: #fff; font-size: 12px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer .f-links a { display: block; padding: 6px 0; font-size: 14px; transition: color .2s; }
.footer .f-links a:hover { color: #fff; }
.footer .f-contact li { font-size: 14px; padding: 6px 0; display: flex; gap: 10px; line-height: 1.55; }
.footer .f-contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; opacity: .6; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom .biz { font-family: var(--mono); letter-spacing: .02em; }

/* Toast notification */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); z-index: 200;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
  background: var(--navy); color: #fff; padding: 15px 22px; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(6, 12, 34, .32); font-size: 15px; font-weight: 600;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .tc { width: 26px; height: 26px; flex: none; border-radius: 50%; background: #22c55e; display: grid; place-items: center; }
.toast .tc svg { width: 15px; height: 15px; color: #fff; }
.toast.err .tc { background: #f59e0b; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1080px) {
  .str-grid { grid-template-columns: repeat(2, 1fr); }
  .str-card:nth-child(3), .str-card:nth-child(4) { border-top: 1px solid var(--line); }
  .str-card:nth-child(3) { border-left: 0; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { border-top: 1px solid rgba(255,255,255,.15); padding: 22px 0; }
}
@media (max-width: 1080px) {
  .apps-strip { grid-template-columns: 1fr 1fr; }
  .apps-strip .apps-shot:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header .wrap { height: 64px; }
  .lang-btn .lang-label { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .c-equip { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .nav.open { display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 10px var(--gutter) 22px; box-shadow: var(--shadow-md); border-top: 1px solid var(--line); }
  .nav.open a { color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav.open .header-cta { display: inline-flex; margin: 16px 0 0; justify-content: center; color: #fff !important; }
  .hero .wrap { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-accent-line { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(even) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(5) { grid-column: 1 / -1; border-bottom: 0; }
  .overview-grid { grid-template-columns: 1fr; }
  .ov-visual { max-width: 520px; }
  .fac-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .f-brand { grid-column: 1 / -1; }
}
/* Tablet portrait / foldable-open (≈ 640–1080) */
@media (min-width: 641px) and (max-width: 1080px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .client-wall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .str-grid { grid-template-columns: 1fr; }
  .str-card { border-left: 0 !important; }
  .str-card + .str-card { border-top: 1px solid var(--line); }
  .prod-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .c-maps { grid-template-columns: 1fr; }
  .ov-facts { grid-template-columns: 1fr; }
  .hero-kicker { font-size: 10.5px; letter-spacing: .1em; }
  .stat { padding: 24px 18px; }
  .stat .grow { display: none; }
}

/* Narrow foldables (Galaxy Z Fold cover ≈ 344–400px) & small phones */
@media (max-width: 400px) {
  :root { --gutter: 18px; }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero-types span { font-size: 11.5px; padding: 5px 10px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .cert-grid { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .sec-head h2, .ov-copy h2 { font-size: clamp(24px, 7.5vw, 30px); }
  .logo-type { font-size: 20px; }
  .fac-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Large / desktop-wide & foldable-open landscape (≥ 1400) — keep content readable */
@media (min-width: 1400px) {
  :root { --maxw: 1280px; }
}
