:root{
  --navy:#0f2f4f;
  --navy-dark:#071b30;
  --blue:#2d8cff;
  --text:#1f2d3d;
  --muted:#5d6b7a;
  --bg:#f5f8fb;
  --white:#fff;
  --shadow:0 14px 40px rgba(15,47,79,.10);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,"Noto Sans KR",sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
a{color:inherit}
img{max-width:100%;display:block}

.site-header{
  position:sticky;
  top:0;
  z-index:999;
  height:72px;
  background:rgba(15,47,79,.98);
  box-shadow:0 4px 18px rgba(0,0,0,.14);
  overflow:hidden;
}
.site-header.scrolled{
  height:60px;
  background:rgba(15,47,79,.94);
  backdrop-filter:blur(10px);
}
.header-inner{
  max-width:1180px;
  height:100%;
  margin:0 auto;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.logo{
  height:100%;
  display:flex;
  align-items:center;
  padding:0;
  background:none;
  flex:0 0 auto;
}
.logo::before,.logo::after{display:none!important;content:none!important}
.logo img{
  height:54px;
  width:auto;
  object-fit:contain;
}
.header-right{
  display:flex;
  align-items:center;
  gap:28px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}
.main-nav a{
  position:relative;
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:600;
  opacity:.95;
}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--blue);
  transition:.3s;
}
.main-nav a:hover::after{width:100%}
.lang-buttons{display:flex;gap:8px}
.lang-buttons button{
  min-width:42px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  font-weight:700;
}
.menu-toggle{
  display:none;
  background:none;
  border:0;
  color:#fff;
  font-size:28px;
  cursor:pointer;
}

.hero{
  position:relative;
  min-height:640px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  color:#fff;
}
.hero video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  pointer-events:none;
  -webkit-user-select:none;
  user-select:none;
}
.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(5,18,31,.34),rgba(5,18,31,.25));
}
.hero-content{
  position:relative;
  z-index:2;
  width:min(1120px,92vw);
  margin:0 auto;
  padding:60px 0;
  animation:fadeUp 1.1s ease both;
}
.eyebrow{
  margin:0 0 28px;
  font-size:17px;
  letter-spacing:8px;
  font-weight:800;
  opacity:.95;
}
.hero h1{
  margin:0;
  font-size:clamp(40px,5.6vw,72px);
  line-height:1.12;
  letter-spacing:-3px;
  font-weight:900;
  word-break:keep-all;
  overflow-wrap:normal;
}
.hero h1 span{
  display:block;
  white-space:nowrap;
}
.hero-desc{
  max-width:760px;
  margin:28px auto 0;
  font-size:clamp(16px,1.6vw,20px);
  font-weight:600;
  word-break:keep-all;
}
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:36px;
  flex-wrap:wrap;
}
.btn{
  min-width:150px;
  padding:14px 24px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  transition:.3s;
}
.btn-primary{background:#fff;color:var(--navy)}
.btn-secondary{border:1px solid rgba(255,255,255,.8);color:#fff;background:rgba(255,255,255,.06)}
.btn:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.24)}

.section{
  max-width:1180px;
  margin:0 auto;
  padding:86px 22px;
}
.section-heading{text-align:center;margin:0 auto 42px;max-width:900px}
.section-kicker{
  margin:0 0 10px;
  color:var(--blue);
  font-weight:900;
  letter-spacing:3px;
}
h2{
  color:var(--navy);
  margin:0 0 18px;
  font-size:clamp(30px,4vw,44px);
  line-height:1.2;
  letter-spacing:-1px;
}
h2 span{font-size:.45em;color:#7d8b99;font-weight:600}
.section-heading p:not(.section-kicker){color:var(--muted);font-size:17px;word-break:keep-all}

.about-grid{
  display:grid;
  grid-template-columns:1.25fr .85fr;
  gap:28px;
  align-items:stretch;
}
.about-image-card,.strength-card,.contact-box,.network-card,.stat-card,.business-card,.product-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.about-image-card{overflow:hidden;min-height:420px}
.about-image-card img{width:100%;height:100%;object-fit:cover}
.strength-card{padding:36px}
.strength-card h3{margin:0 0 18px;color:var(--navy);font-size:24px}
ul{padding-left:20px;margin:0}
li{margin-bottom:10px}

.stats-section{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding-top:20px;
  padding-bottom:20px;
}
.stat-card{text-align:center;padding:26px 18px}
.stat-card strong{display:block;color:var(--navy);font-size:34px;line-height:1;font-weight:900}
.stat-card span{display:block;margin-top:10px;color:var(--muted);font-weight:700}

.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.product-card{overflow:hidden;padding-bottom:24px;transition:.3s}
.product-card:hover{transform:translateY(-6px)}
.slider{position:relative;width:100%;height:230px;overflow:hidden;background:#e9eef3}
.slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s ease;cursor:pointer}
.slider img.active{opacity:1;z-index:1}
.product-card h3{margin:22px 22px 10px;color:var(--navy);font-size:22px;line-height:1.2}
.product-card h3 span{display:block;margin-top:4px;color:var(--muted);font-size:14px;font-weight:700}
.product-card p{margin:0 22px;color:var(--muted);font-size:15px;word-break:keep-all}

.business-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-bottom:30px;
}
.business-card{padding:32px;text-align:center}
.business-icon{width:68px;height:68px;margin:0 auto 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef6ff;font-size:30px}
.business-card h3{margin:0 0 10px;color:var(--navy);font-size:22px}
.business-card p{margin:0;color:var(--muted);word-break:keep-all}
.network-card{text-align:center;padding:36px;margin-top:28px}
.network-card h3{margin:0 0 22px;color:var(--navy);font-size:25px;letter-spacing:.5px}
.network-card img{width:100%;max-width:900px;height:auto;display:block;margin:0 auto 20px}
.market-list{font-weight:900!important;color:var(--navy)!important}
.work-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:32px;
}
.work-gallery img{width:100%;height:240px;object-fit:cover;border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.08);cursor:pointer;transition:.3s}
.work-gallery img:hover{transform:scale(1.03)}

.work-video-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
  margin-top:32px;
}

.work-video-gallery video{
  width:100%;
  height:340px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(0,0,0,.12);
  background:#000;
}



.contact-grid{display:grid;grid-template-columns:1fr 480px;gap:26px;align-items:stretch}
.contact-grid-single{grid-template-columns:1fr;max-width:780px;margin:0 auto}
.contact-box{padding:34px}
.contact-box h3{margin:0 0 18px;color:var(--navy);font-size:24px}
.contact-box p{margin:0 0 12px;color:var(--muted)}
.contact-box strong{display:inline-block;min-width:82px;color:var(--navy)}

.contact-photo{
  overflow:hidden;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
  min-height:420px;
}
.contact-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:grayscale(100%) contrast(1.05) brightness(1.06);
}

.contact-map{
  width:100%;
  height:280px;
  margin-top:22px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid #d5e0ea;
  background:#eef3f8;
}
.contact-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

form input,form textarea{
  width:100%;
  padding:14px 15px;
  margin-bottom:13px;
  border:1px solid #d5e0ea;
  border-radius:12px;
  font-size:15px;
  font-family:inherit;
}
.form-button{
  width:100%;
  border:0;
  border-radius:12px;
  padding:15px;
  background:var(--navy);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.form-note{font-size:13px!important;margin-top:10px!important}
footer{background:var(--navy);color:#fff;text-align:center;padding:34px 20px;font-size:14px}
footer p{margin:6px 0}
.footer-brand{font-weight:900;letter-spacing:2px;font-size:16px}
.footer-sub{opacity:.82}

.footer-brand-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:32px;
  margin:0 auto 16px;
}
.footer-logo{
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.footer-logo img{
  height:52px;
  width:auto;
  max-width:100%;
  object-fit:contain;
}
.footer-miju img{height:52px;}
.footer-divider{display:none;}
.footer-text-divider{
  display:inline-block;
  margin:0 12px;
  opacity:.55;
  font-weight:400;
}

.hidden{display:none!important}

.image-modal{display:none;position:fixed;z-index:9999;inset:0;background:rgba(0,0,0,.86);justify-content:center;align-items:center;padding:20px}
.image-modal-content{max-width:92%;max-height:90%;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.image-modal-close{position:absolute;top:20px;right:28px;background:none;border:0;color:#fff;font-size:44px;cursor:pointer}

.reveal{opacity:0;transform:translateY(30px);transition:.8s ease}
.reveal.visible{opacity:1;transform:translateY(0)}
@keyframes fadeUp{from{opacity:0;transform:translateY(35px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:980px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .business-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .stats-section{grid-template-columns:repeat(2,1fr)}
  .work-gallery{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .site-header{height:auto;min-height:64px;overflow:visible}
  .header-inner{min-height:64px;flex-wrap:wrap}
  .logo img{height:44px}
  .menu-toggle{display:block}
  .header-right{display:none;width:100%;padding:0 0 16px;flex-direction:column;align-items:flex-start;gap:16px}
  .header-right.open{display:flex}
  .main-nav{flex-direction:column;align-items:flex-start;gap:14px}
  .hero{min-height:560px}
  .hero h1{font-size:clamp(34px,9vw,46px);letter-spacing:-1.5px}
  .hero h1 span{white-space:normal}
  .hero-desc{font-size:16px}
  .eyebrow{font-size:13px;letter-spacing:5px}
  .section{padding:64px 18px}
  .product-grid,.stats-section{grid-template-columns:1fr}
  .work-gallery{grid-template-columns:repeat(2,1fr)}
  .work-gallery img{height:160px}
  .work-video-gallery{grid-template-columns:1fr;}
  .work-video-gallery video{height:220px;}
  .network-card{padding:20px;}
  .network-card h3{font-size:22px;}
  .network-card img{width:100%;max-width:100%;height:auto;}
  .market-list{font-size:14px;line-height:1.8;}
  .contact-grid{grid-template-columns:1fr;}
  .contact-photo{min-height:360px;order:2;}
  .contact-box{order:1;}
  .contact-map{height:200px;}

  .footer-brand-wrap{
    gap:22px;
    width:100%;
    max-width:420px;
  }
  .footer-logo{height:42px;}
  .footer-logo img{height:38px;}
  .footer-miju img{height:38px;}
  .footer-brand{font-size:13px;line-height:1.7;}
  .footer-text-divider{margin:0 8px;}
  .about-image-card{min-height:260px}
}

/* Header dual-brand layout */
.brand-group{
  height:100%;
  display:flex;
  align-items:center;
  gap:30px;
  flex:0 0 auto;
}
.logo-world img{height:54px;}
.logo-miju{
  height:54px;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.logo-miju img{
  height:100%;
  width:auto;
  object-fit:contain;
}
.brand-divider{display:none;}

/* Family business */
.family-section{padding-top:44px;}
.family-card{
  display:grid;
  grid-template-columns:390px 1fr;
  overflow:hidden;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.family-logo-panel{
  min-height:250px;
  padding:34px;
  background:linear-gradient(135deg,#071b30,#0f4f9a);
  display:flex;
  align-items:center;
  justify-content:center;
}
.family-logo-panel img{
  width:min(375px,100%);
  height:auto;
  object-fit:contain;
}
.family-info{
  padding:42px 46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.family-info h2{
  margin-bottom:8px;
  font-size:clamp(30px,3.2vw,42px);
}
.family-info h3{
  margin:0 0 20px;
  color:var(--navy);
  font-size:21px;
  line-height:1.45;
  word-break:keep-all;
}
.family-info p:not(.section-kicker){
  margin:0;
  color:var(--muted);
  font-size:17px;
  word-break:keep-all;
}

@media(max-width:980px){
  .family-card{grid-template-columns:1fr;}
  .family-logo-panel{min-height:210px;}
}
@media(max-width:760px){
  .brand-group{gap:18px;}

  /* 모바일 상단 로고 크기 통일 */
  .logo-world img,
  .logo-miju img{
    height:42px;
    width:auto;
    object-fit:contain;
  }

  .logo-miju{
    height:auto;
    padding:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .family-section{padding-top:28px;}
  .family-info{padding:30px 24px;}
  .family-logo-panel{min-height:180px;padding:26px;}
  .family-logo-panel img{width:min(325px,100%);}
}


/* =========================================================
   FINAL MOBILE HEADER + OUTSIDE HAMBURGER + DROPDOWN
   - Header stays 64px.
   - Hamburger sits outside the header, lower-left.
   - Dropdown starts below the hamburger and ends at language buttons.
   ========================================================= */
@media(max-width:760px){
  .site-header,
  .site-header.scrolled,
  .site-header.mobile-menu-open,
  .site-header.scrolled.mobile-menu-open{
    height:64px !important;
    min-height:64px !important;
    max-height:64px !important;
    overflow:visible !important;
    background:rgba(15,47,79,.98) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .header-inner{
    height:64px !important;
    min-height:64px !important;
    max-height:64px !important;
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 18px !important;
    z-index:1002;
  }

  .brand-group{
    height:64px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:18px !important;
    width:auto !important;
    max-width:calc(100vw - 36px) !important;
    margin:0 auto !important;
    min-width:0 !important;
  }

  .logo-world img,
  .logo-miju img{
    height:40px !important;
    width:auto !important;
    object-fit:contain !important;
  }

  .logo-miju{
    height:auto !important;
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }

  /* Header 밖 좌측 아래에 떠 있는 햄버거 버튼 */
  .menu-toggle{
    display:block !important;
    position:fixed !important;
    left:22px !important;
    top:76px !important;
    z-index:1005;
    width:38px !important;
    height:38px !important;
    padding:0 !important;
    line-height:38px !important;
    text-align:center !important;
    background:transparent !important;
    border:0 !important;
    color:#ffffff !important;
    font-size:28px !important;
    text-shadow:0 2px 8px rgba(0,0,0,.35);
  }

  .header-right{
    display:none !important;
  }

  .header-right.open{
    display:flex !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:122px !important;
    width:100vw !important;
    z-index:1003;

    flex-direction:column !important;
    align-items:flex-start !important;
    gap:16px !important;

    background:rgba(7,27,48,.50) !important;
    backdrop-filter:blur(7px) !important;
    -webkit-backdrop-filter:blur(7px) !important;

    border:0 !important;
    border-top:1px solid rgba(255,255,255,.10) !important;
    box-shadow:0 12px 26px rgba(0,0,0,.18) !important;

    padding:24px 42px 28px !important;
    margin:0 !important;
  }

  body.mobile-menu-open::before{
    display:none !important;
    content:none !important;
  }

  .header-right.open .main-nav{
    width:100% !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:17px !important;
  }

  .header-right.open .main-nav a{
    color:#ffffff !important;
    opacity:1 !important;
    font-size:17px !important;
    font-weight:800 !important;
    letter-spacing:.2px;
    text-shadow:0 2px 8px rgba(0,0,0,.36);
  }

  .header-right.open .main-nav a::after{
    background:#ffffff !important;
  }

  .header-right.open .lang-buttons{
    display:flex !important;
    gap:10px !important;
    margin-top:2px !important;
  }

  .header-right.open .lang-buttons button{
    color:#ffffff !important;
    background:rgba(255,255,255,.12) !important;
    border:1px solid rgba(255,255,255,.38) !important;
    text-shadow:0 1px 4px rgba(0,0,0,.25);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
  }

  .footer-brand{
    display:flex !important;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    font-size:11px !important;
    letter-spacing:1px !important;
    line-height:1.4 !important;
  }

  .footer-text-divider{
    margin:0 4px !important;
    flex:0 0 auto;
  }
}


/* Footer dual-brand alignment */
.footer-brand-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
  margin:0 auto 14px;
}

.footer-logo{
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.footer-logo img{
  height:46px;
  width:auto;
  max-width:100%;
  object-fit:contain;
}

.footer-brand{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.footer-text-divider{
  display:inline-block;
  opacity:.65;
  margin:0 4px;
}

@media(max-width:760px){
  .footer-brand-wrap{
    gap:22px;
    margin-bottom:12px;
  }

  .footer-logo{
    height:42px;
  }

  .footer-logo img{
    height:38px;
  }

  .footer-brand{
    flex-wrap:nowrap;
    white-space:nowrap;
    font-size:11px;
    letter-spacing:1px;
    line-height:1.4;
  }

  .footer-text-divider{
    margin:0 3px;
  }
}

