/* Resource/css/style.css */
:root{--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--bg:#f8fafc;--card:#ffffff;--brand:#1f6bc2;--brand-weak:#e7f0fb;--accent:#ff8a00;--radius:24px;--shadow-sm:0 2px 6px rgba(15,23,42,.06);--shadow-md:0 8px 24px rgba(15,23,42,.08);--shadow-lg:0 20px 48px rgba(15,23,42,.12)}
*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:Pretendard,"Noto Sans KR",system-ui,-apple-system,Segoe UI,Roboto,Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--ink);background:#fff;letter-spacing:-.2px}

/* HEADER (hide on scroll down, show on scroll up) */
.nav-wrap{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(226,232,240,.7);background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(8px);transform:translateY(0);transition:transform .35s ease, box-shadow .2s ease}
.nav-wrap.nav-hidden{transform:translateY(-100%);box-shadow:none}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:26px 16px}
.brand{display:flex;align-items:center;gap:12px;cursor:pointer}
.logo{height:52px;width:auto;border-radius:14px}
.brand-en{font-weight:800;color:#0f172a;white-space:nowrap}
.nav{display:flex;align-items:center;gap:10px;margin-left:auto}
.menu,.menu-btn{border:none;outline:none;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border-radius:14px;transition:background .15s ease;height:46px;min-width:126px}
.menu:hover,.menu-btn:hover{background:var(--brand-weak)}
.menu-btn{background:transparent;cursor:pointer}
.has-dropdown{position:relative}
.chev{width:7px;height:7px;border-right:2px solid #334155;border-bottom:2px solid #334155;transform:rotate(45deg);margin-left:6px}
.dropdown{position:absolute;top:calc(100% + 8px);left:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-md);padding:8px;min-width:220px;display:none}
.dropdown a{display:block;padding:12px 14px;border-radius:10px;color:var(--ink);text-decoration:none;cursor:pointer}
.dropdown a:hover{background:var(--bg)}
.cta{margin-left:10px;background:var(--accent);color:#fff;text-decoration:none;padding:0 20px;border-radius:999px;font-weight:800;box-shadow:0 8px 18px rgba(255,138,0,.25);height:46px;display:inline-grid;place-items:center}
.hamburger{display:none;margin-left:8px;width:46px;height:46px;border-radius:12px;border:1px solid var(--line);background:linear-gradient(#1f2937,#1f2937) center/60% 2px no-repeat}
.hamburger::before,.hamburger::after{content:"";display:block;width:60%;height:2px;background:#1f2937;margin:8px auto 0}
.ico{width:18px;height:18px;display:inline-grid;place-items:center}
.ico svg{width:18px;height:18px;fill:none;stroke:#1f2937;stroke-width:2}
@media(max-width:980px){.brand-en{display:none}.nav{display:none;position:absolute;top:100px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:12px 10px;box-shadow:var(--shadow-sm)}.nav.show{display:grid;grid-template-columns:1fr}.hamburger{display:block}}

/* HERO */
.hero{background:radial-gradient(1200px 400px at 10% -10%,#e7f0fb 0%,transparent 60%),radial-gradient(1200px 600px at 110% 0%,#eef6ff 0%,transparent 60%),#ffffff;padding:56px 16px;border-bottom:1px solid var(--line)}
.hero-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:center}
.hero-title{font-size:64px;line-height:1.06;margin:0 0 10px;font-weight:900}
.hero-lead{font-size:18px;color:#1f2937;margin:0 0 18px}
.hero-btn{display:inline-block;background:#fff;color:#ff8a00;border:2px solid #ff8a00;text-decoration:none;padding:12px 22px;border-radius:999px;font-weight:800}
.hero-photo{display:flex;justify-content:flex-end}
.hero-card{margin:0;width:100%;max-width:720px;border-radius:28px;overflow:hidden;box-shadow:var(--shadow-lg);background:#f3f4f6}
.hero-card--main{height:clamp(440px,50vw,600px);transform:translateY(-26px)}
.hero-card--main img{width:100%;height:100%;object-fit:cover;display:block;object-position:center}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero-photo{justify-content:center}.hero-card--main{transform:translateY(-18px);height:clamp(320px,54vw,520px)}}
@media(max-width:640px){.hero-title{font-size:44px}}

/* SUB-HERO */
.hero-sub{background:#eef2f7;padding:60px 16px;text-align:center}
.hero-sub h2{margin:0 0 10px;font-size:68px;font-weight:900}
.hero-sub p{margin:0;color:#111;font-size:22px}

/* SECTIONS */
.section{padding:72px 16px}
.container{max-width:1100px;margin:0 auto}
.section-title{margin:0 0 6px;font-size:36px;font-weight:900;text-align:center}
.section-desc{color:#8a93a3;margin:0 0 24px;font-size:20px;text-align:center}
.section-about{background:#ffffff}
.section-examples{background:#f7fafc}
.section-products{background:#fbf8f3}
.section-support{background:#f4f6fb}
.section-contact{background:#ffffff}
.about-copy{font-size:17px;color:#1f2937;margin:0 0 16px;text-align:center}
.section-about .container{max-width:1280px}
.about-grid{gap:8px}

/* GRIDS + CARDS */
.row{display:grid;gap:14px}
.row.tight{gap:8px}
.row.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.row.three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:980px){.row.four{grid-template-columns:repeat(2,1fr)}.row.three{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.row.four,.row.three{grid-template-columns:1fr}.section-title{font-size:30px}.section-desc{font-size:18px}}

.card-img{position:relative;aspect-ratio:3/4;border-radius:var(--radius);overflow:hidden;background:#f1f5f9;box-shadow:var(--shadow-sm)}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}

.product{padding:6px}
.product-img{aspect-ratio:3/4}
.product-title{text-align:center;font-size:18px;margin:10px 0 0}
.row.three .product .card-img{border-radius:18px}

/* SUPPORT */
.support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:780px){.support-grid{grid-template-columns:1fr}}
.support-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm)}
.support-title{font-weight:800;display:flex;align-items:center;gap:10px;margin-bottom:8px}
.support-title .ico{width:32px;height:32px;border-radius:10px;background:var(--brand-weak);display:inline-grid;place-items:center;box-shadow:var(--shadow-sm)}
.support-title svg{width:18px;height:18px;fill:#1f6bc2}
.support-card p{color:var(--muted);margin:0}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:stretch}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr}}
.contact-info{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;justify-content:center;min-height:420px}
.contact-list{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:10px}
.btns{display:flex;gap:10px;margin-top:12px;justify-content:center}
.btn{display:inline-block;background:#1f6bc2;color:#fff;text-decoration:none;padding:10px 14px;border-radius:12px;box-shadow:0 8px 18px rgba(31,107,194,.2);font-weight:700}
.btn:hover{filter:brightness(.97)}
.contact-map iframe{width:100%;height:420px;border:0;border-radius:18px;box-shadow:var(--shadow-sm)}
.email-text{pointer-events:none;user-select:text}

/* FOOTER + biz button */
.footer{background:#fff;padding:24px 0;text-align:center;border-top:1px solid #e0e0e0;margin-top:34px;font-size:13px;color:#555;line-height:1.7}
.footer .copy{margin-top:8px;color:#99a1ad}
.footer .biz-btn{display:inline-block;margin-left:8px;padding:4px 10px;font-size:12px;color:#fff;background:#7b8794;border-radius:10px;text-decoration:none;vertical-align:middle;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.footer .biz-btn:hover{filter:brightness(.95)}

/* LIGHTBOX */
.lightbox{position:fixed;inset:0;background:rgba(2,6,23,.82);display:none;align-items:center;justify-content:center;z-index:60}
.lightbox.open{display:flex}
.lightbox-img{max-width:min(92vw,1200px);max-height:86vh;border-radius:16px;box-shadow:var(--shadow-lg)}
.lightbox-close{position:absolute;top:18px;right:18px;width:38px;height:38px;border-radius:999px;border:0;background:#fff;cursor:pointer;box-shadow:var(--shadow-sm)}
.lightbox-close::before{content:"✕";display:block;text-align:center;font-size:18px;line-height:38px}

/* POPUP (topmost) */
.popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);display:grid;place-items:center;z-index:2147483647}
.popup{position:relative;width:min(92vw,640px);border-radius:18px;overflow:hidden;background:#000}
.popup-img{display:block;width:100%;height:auto}
.popup-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#000;color:#fff}
.popup-btn{background:#fff;border:0;border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer}
.popup-btn.ghost{background:transparent;color:#fff;border:1px solid #fff}
.popup-close{position:absolute;top:8px;right:8px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:18px;cursor:pointer}
