/* ===== Theme G — fixed side navigation. Loaded after the base (A) stylesheet. ===== */
body.theme-g{
  --side:280px; --stone:#f2f3f3; --stone-2:#e7e9e9;
  --primary:#15191d; --ink:#15191d; --ink-2:#3e4449; --muted:#6f767c; --line:#e1e4e5; --bg-soft:#f2f3f3;
  --radius:6px; --radius-sm:4px; --shadow:none; --shadow-lg:0 20px 50px rgba(21,25,29,.12);
  --font:'Spoqa Han Sans Neo','Pretendard Variable',Pretendard,sans-serif;
  font-family:var(--font);background:#fff;color:var(--ink);letter-spacing:-.01em
}
.theme-g a:focus-visible,.theme-g button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.theme-g h1,.theme-g h2,.theme-g h3{font-weight:700;letter-spacing:-.03em}

/* side navigation */
.g-side{position:fixed;left:0;top:0;bottom:0;width:var(--side);background:var(--stone);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:36px 32px 28px;z-index:120}
.g-logo{margin-bottom:56px}
.theme-g .logo-text{font-size:24px;font-weight:700}
.theme-g .logo-text b{color:var(--accent)}
.theme-g .logo-sub{letter-spacing:.06em;color:var(--muted);opacity:1}
.g-nav{flex:1}
.g-nav>ul>li{position:relative}
.g-nav>ul>li>a{display:flex;align-items:center;justify-content:space-between;padding:11px 0;font-size:17px;font-weight:500;color:var(--ink-2);transition:color .2s,padding .2s}
.g-nav>ul>li.has-sub>a::after{content:"";width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);opacity:.5}
.g-nav>ul>li:hover>a,.g-nav>ul>li.is-active>a,.g-nav>ul>li:focus-within>a{color:var(--accent);padding-left:8px}
.g-nav>ul>li.is-active>a{font-weight:700}
.g-fly{position:absolute;left:calc(100% + 32px);top:-14px;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateX(-8px);transition:.2s;z-index:130}
.g-fly::before{content:"";position:absolute;left:-34px;top:0;bottom:0;width:34px}
.g-nav li:hover>.g-fly,.g-nav li:focus-within>.g-fly{opacity:1;visibility:visible;transform:none}
.g-fly strong{display:block;font-size:13px;color:var(--muted);font-weight:500;padding:0 10px 8px;border-bottom:1px solid var(--line);margin-bottom:6px}
.g-fly a{display:block;padding:9px 10px;border-radius:5px;font-size:15px;color:var(--ink-2)}
.g-fly a:hover{background:var(--stone);color:var(--accent)}
.g-side-foot{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:22px}
.g-note{font-size:13px;color:var(--muted);margin:0}
.g-phone{font-size:20px;font-weight:700;color:var(--ink)}
.g-cta{display:flex;align-items:center;justify-content:center;height:46px;border-radius:6px;background:var(--accent);color:#fff;font-weight:700}
.g-cta:hover{filter:brightness(1.1)}
.theme-g .lang-switch a{color:var(--ink)}
.g-top{display:none}
.g-main{margin-left:var(--side);min-height:100vh;display:flex;flex-direction:column}
.g-main main{flex:1}

/* layout helpers */
.g-wrap{padding:0 64px;max-width:1360px}
.g-sec{padding:96px 0}
.g-sec-flush{padding-bottom:0}
.g-sec-stone{background:var(--stone)}
.g-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:36px}
.g-title{font-size:clamp(26px,2.8vw,40px);line-height:1.3}
.g-text{color:var(--ink-2);font-size:17px;margin:20px 0 26px;max-width:560px}
.g-link{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--accent);white-space:nowrap}
.g-link::after{content:"";width:18px;height:2px;background:currentColor;transition:width .2s}
.g-link:hover::after{width:30px}
.g-btn{display:inline-flex;align-items:center;height:52px;padding:0 28px;border-radius:6px;background:var(--accent);color:#fff;font-weight:700}
.g-btn:hover{filter:brightness(1.1)}
.g-btn-white{background:#fff;color:var(--accent)}
.theme-g .btn{border-radius:6px}
.theme-g .btn .arrow{display:none}
.theme-g .btn-primary,.theme-g .btn-accent{background:var(--accent)}
.theme-g .eyebrow{color:var(--accent);letter-spacing:.02em;text-transform:none}
.theme-g .tag{background:var(--stone);color:var(--accent);border-radius:4px}
.theme-g .more-link{color:var(--accent)}
.theme-g .more-link .arrow{display:none}

/* hero: full height inside the content column */
.g-hero{position:relative;height:100vh;min-height:620px;max-height:960px;overflow:hidden;background:#222}
.g-hero .hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1s}
.g-hero .hero-slide::after{display:none}
.g-hero .hero-slide.is-active{opacity:1;visibility:visible}
.g-hero-img{position:absolute;inset:0;background:center/cover no-repeat;transform:scale(1.06);transition:transform 7s ease-out}
.g-hero .hero-slide.is-active .g-hero-img{transform:none}
.g-hero-card{position:absolute;left:64px;bottom:64px;max-width:580px;background:#fff;padding:40px 44px;border-radius:8px}
.g-kicker{color:var(--accent);font-weight:700;font-size:14px;margin-bottom:12px}
.g-hero-card h1,.g-hero-card .g-h1{font-size:clamp(28px,3.2vw,46px);line-height:1.25;font-weight:700;letter-spacing:-.035em}
.g-lead{color:var(--ink-2);margin:16px 0 0;font-size:16.5px}
.g-hero-card .g-btn{margin-top:26px}
.g-vctrl{position:absolute;right:40px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:18px;color:#fff;z-index:3}
.g-hero .hero-count{display:flex;flex-direction:column;align-items:center;font-weight:700;font-size:14px}
.g-hero .hero-count b{font-size:22px}
.g-hero .hero-count span{opacity:.6;border-top:1px solid rgba(255,255,255,.5);padding-top:6px;margin-top:6px}
.g-hero .hero-bars{flex-direction:column}
.g-hero .hero-bars button{width:3px;height:52px;background:rgba(255,255,255,.35)}
.g-hero .hero-bars button i{transform:scaleY(0);transform-origin:top}
.g-hero .hero-bars button.is-active i{animation:gBar var(--hero-interval,6s) linear forwards}
.g-hero.is-paused .hero-bars button.is-active i{animation-play-state:paused}
@keyframes gBar{to{transform:scaleY(1)}}

/* intro + stats */
.g-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:72px;align-items:center}
.g-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:0;margin:0;border-top:2px solid var(--ink)}
.g-stats>div{padding:26px 0 22px;border-bottom:1px solid var(--line)}
.g-stats>div:nth-child(odd){padding-right:24px;border-right:1px solid var(--line)}
.g-stats>div:nth-child(even){padding-left:24px}
.g-stats dd{margin:0;font-size:clamp(30px,3vw,44px);font-weight:700;color:var(--accent);letter-spacing:-.03em}
.g-stats dd small{font-size:.45em;color:var(--ink);margin-left:3px}
.g-stats dt{color:var(--muted);font-size:14.5px;margin-top:2px}

/* business: horizontal accordion */
.g-acc{display:flex;height:540px;margin-top:8px}
.g-acc-item{position:relative;flex:1;background:#333 center/cover no-repeat;color:#fff;display:flex;align-items:flex-end;transition:flex .55s cubic-bezier(.3,.7,.2,1);overflow:hidden;border-right:1px solid rgba(255,255,255,.25)}
.g-acc-item::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,14,18,.88) 0%,rgba(10,14,18,.25) 60%,rgba(10,14,18,.1) 100%)}
.g-acc-item:hover,.g-acc-item:focus{flex:2.6}
.g-acc-body{position:relative;padding:34px;display:flex;flex-direction:column;gap:10px}
.g-acc-body strong{font-size:24px;font-weight:700}
.g-acc-body span{font-size:15px;opacity:0;max-height:0;transition:opacity .4s .1s,max-height .4s;line-height:1.6;max-width:420px}
.g-acc-item:hover .g-acc-body span,.g-acc-item:focus .g-acc-body span{opacity:.88;max-height:140px}

/* products: horizontal strip */
.g-arrows{display:flex;gap:6px;align-items:center}
.g-arrows button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px;color:var(--ink)}
.g-arrows button:hover{border-color:var(--accent);color:var(--accent)}
.g-arrows .g-link{margin-left:14px}
.g-strip{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 64px 16px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.g-card{flex:0 0 360px;scroll-snap-align:start;display:flex;flex-direction:column;gap:4px}
.g-card-img{display:block;aspect-ratio:4/5;border-radius:8px;overflow:hidden;background:var(--stone);margin-bottom:14px}
.g-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.g-card:hover .g-card-img img{transform:scale(1.04)}
.g-card small{color:var(--accent);font-weight:700;font-size:13px}
.g-card strong{font-size:19px;font-weight:700}
.g-card-sum{color:var(--muted);font-size:14.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* facility + certs */
.g-two{display:grid;grid-template-columns:1.25fr 1fr;gap:64px}
.g-list li a{display:grid;grid-template-columns:120px 1fr;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid var(--stone-2)}
.g-list-img{aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:#ddd}
.g-list-img img{width:100%;height:100%;object-fit:cover}
.g-list strong{display:block;font-size:17px}
.g-list em{font-style:normal;color:var(--muted);font-size:14px}
.g-list a:hover strong{color:var(--accent)}
.g-certs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.g-certs a{aspect-ratio:3/4;background:#fff;border-radius:6px;padding:10px;border:1px solid var(--line)}
.g-certs img{width:100%;height:100%;object-fit:contain}
.g-certs a:hover{border-color:var(--accent)}

.g-news li a{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.g-news time{color:var(--muted)}
.g-news a:hover span{color:var(--accent)}
.g-cta-band{background:var(--accent);color:#fff;padding:72px 0}
.g-cta-in{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.g-cta-in h2{font-size:clamp(26px,2.8vw,38px)}
.g-cta-in p{opacity:.85;margin-top:10px}

/* footer */
.g-footer{background:var(--ink);color:#aab1b6;padding:56px 0 48px;font-size:14px}
.g-footer-in{padding:0 64px;display:grid;grid-template-columns:240px 1fr;gap:40px}
.g-footer .logo-text{color:#fff}
.ci p{margin:0 0 6px;display:flex;flex-wrap:wrap;gap:4px 18px}
.ci-privacy{color:#fff;font-weight:700}
.ci-copy{margin-top:18px !important;color:#7d858b}

/* sub pages */
.g-sub{display:grid;grid-template-columns:1fr 38%;min-height:340px;background:var(--stone);border-bottom:1px solid var(--line)}
.g-sub-text{padding:80px 64px 56px;display:flex;flex-direction:column;justify-content:flex-end}
.g-sub h1{font-size:clamp(32px,3.6vw,52px)}
.g-sub p{margin-top:12px;color:var(--ink-2);font-size:17px;max-width:560px}
.g-sub-img{background:center/cover no-repeat}
.g-crumb{display:flex;gap:10px;font-size:13.5px;color:var(--muted);margin-bottom:auto;padding-bottom:40px}
.g-crumb span::before{content:"/";margin-right:10px}
.theme-g .container{max-width:none;padding:0 64px}
.theme-g .subnav{top:0}
.theme-g .subnav a.is-on,.theme-g .subnav a:hover{color:var(--accent);border-color:var(--accent)}
.theme-g .page-body{padding:72px 0 100px}
.theme-g .filter-tabs a.is-on,.theme-g .filter-tabs a:hover{background:var(--accent);border-color:var(--accent)}
.theme-g .p-view{background:rgba(11,110,110,.55)}
.theme-g .pagination .is-current{background:var(--accent);border-color:var(--accent)}
.theme-g .contact-aside{background:var(--ink)}
.theme-g .contact-aside dd{color:#fff}
.theme-g .badge-pin{background:var(--accent)}
.theme-g .fl-contact{background:var(--accent)}
.theme-g .fl-call{background:var(--ink)}
.theme-g .prose th{background:var(--stone)}
.theme-g .loc-item .ico{background:var(--stone);color:var(--accent)}

@media (max-width:1100px){
  .g-side{display:none}
  .g-top{display:flex;position:sticky;top:0;z-index:100;height:64px;align-items:center;justify-content:space-between;padding:0 18px;background:#fff;border-bottom:1px solid var(--line)}
  .g-top .menu-toggle{display:block;color:var(--ink)}
  .g-main{margin-left:0}
  .g-wrap,.g-footer-in,.theme-g .container{padding:0 24px}
  .g-strip{padding:0 24px 16px}
  .g-sub-text{padding:56px 24px 40px}
  .theme-g .subnav{top:64px}
  .g-intro,.g-two{grid-template-columns:1fr;gap:48px}
  .g-hero-card{left:24px;right:24px;bottom:32px;max-width:none}
  .g-vctrl{right:16px;top:auto;bottom:auto;top:96px;transform:none}
}
@media (max-width:720px){
  .g-hero{height:82vh;min-height:560px}
  .g-hero-card{padding:24px 22px;left:14px;right:14px;bottom:14px}
  .g-hero-card h1,.g-hero-card .g-h1{font-size:25px}
  .g-lead{font-size:14.5px}
  .g-vctrl{display:none}
  .g-sec{padding:60px 0}
  .g-sec-flush{padding-bottom:0}
  .g-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
  .g-acc{flex-direction:column;height:auto}
  .g-acc-item{min-height:150px;flex:none;border-right:0;border-bottom:1px solid rgba(255,255,255,.25)}
  .g-acc-item:hover,.g-acc-item:focus{flex:none}
  .g-acc-body{padding:20px}
  .g-acc-body strong{font-size:20px}
  .g-acc-body span{opacity:.85;max-height:none;font-size:13.5px}
  .g-arrows button{display:none}
  .g-arrows .g-link{margin-left:0}
  .g-card{flex-basis:72vw}
  .g-certs{grid-template-columns:repeat(3,1fr);gap:8px}
  .g-list li a{grid-template-columns:90px 1fr;gap:14px}
  .g-news li a{grid-template-columns:1fr;gap:2px}
  .g-footer-in{grid-template-columns:1fr;gap:20px}
  .g-sub{grid-template-columns:1fr;min-height:0}
  .g-sub-img{display:none}
  .g-crumb{padding-bottom:20px}
}
@media (prefers-reduced-motion:reduce){.g-acc-item,.g-hero-img,.g-hero .hero-slide{transition:none}}

