@font-face {
  font-family: 'JejuMyeongjo';
  src: url('/newhome/assets/fonts/JejuMyeongjo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pretendard';
  src: url('/newhome/assets/fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #72806f;
  --deep-green: #454d43;
  --ink-green: #142828;
  --gold: #cfa548;
  --yellow: #ffe100;
  --body-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 1024px; color: #212121; font-family: Pretendard, Arial, sans-serif; background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.content-width { width: min(var(--body-width), calc(100% - 80px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 9999; top: -60px; left: 20px; padding: 12px 18px; background: #fff; }
.skip-link:focus { top: 15px; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 71px; background: var(--green); box-shadow: 0 1px 0 rgba(255,255,255,.08); overflow: visible; }
.header-inner { width: min(1370px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.brand { width: 150px; display: flex; align-items: center; }
.brand img { width: 133px; max-height: 48px; object-fit: contain; }
.brand-fallback, .trust-logo-fallback { display: none; color: var(--gold); font-weight: 800; letter-spacing: 2px; }
.brand img:not([src]), .brand img[src=""] { display: none; }
.brand img:not([src]) + .brand-fallback, .brand img[src=""] + .brand-fallback { display: inline; }
.desktop-nav { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 0; font-family: JejuMyeongjo, serif; }
.desktop-nav > a, .nav-more-button { min-width: 130px; height: 40px; display: grid; place-items: center; color: #fff; font-size: 18px; border: 0; background: transparent; cursor: pointer; transition: opacity .2s; }
.desktop-nav > a:hover, .desktop-nav > a.active, .nav-more-button:hover { opacity: .72; }
.nav-more { position: relative; }
.nav-dropdown { visibility: hidden; opacity: 0; position: absolute; top: 42px; left: 50%; width: 130px; transform: translateX(-50%) translateY(-4px); background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,.18); transition: .2s; }
.nav-more:hover .nav-dropdown, .nav-more.open .nav-dropdown { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.nav-dropdown a { display: block; padding: 12px 18px; text-align: center; font-size: 14px; }
.nav-dropdown a:hover { color: #fff; background: #239805; }
.menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 1px; background: #fff; }
.menu-panel { position: fixed; z-index: 1200; top: 0; right: -360px; width: 340px; height: 100vh; padding: 90px 45px; background: #fff; transition: right .3s ease; box-shadow: -12px 0 35px rgba(0,0,0,.18); }
.menu-panel.open { right: 0; }
.menu-panel nav { display: grid; gap: 22px; }
.menu-panel a { font-family: JejuMyeongjo, serif; font-size: 22px; }
.menu-close { position: absolute; top: 20px; right: 25px; border: 0; background: transparent; font-size: 38px; cursor: pointer; }
.menu-dim { position: fixed; z-index: 1100; inset: 0; background: rgba(0,0,0,.42); }

.hero { position: relative; height: 785px; overflow: hidden; background: var(--deep-green) url('../images/main-hero.jpg') center/cover no-repeat; color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: rgba(44,55,46,.48); }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 80px)); height: 100%; margin: auto; padding-top: 78px; display: flex; align-items: center; flex-direction: column; text-align: center; }
.hero-kicker { margin: 0 0 28px; font-family: JejuMyeongjo, serif; font-size: 30px; font-weight: 700; }
.hero h1 { margin: 0 0 28px; font-family: JejuMyeongjo, serif; font-size: clamp(50px, 5vw, 72px); line-height: 1.12; font-weight: 400; letter-spacing: -2px; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero-copy { margin: 0 0 26px; font-family: JejuMyeongjo, serif; font-size: 20px; line-height: 1.65; }
.phone-card { width: 382px; min-height: 188px; margin-top: 2px; display: grid; place-items: center; border-radius: 7px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.phone-card img { width: 100%; height: auto; }
.phone-card-fallback { display: none; color: var(--deep-green); font-family: JejuMyeongjo, serif; font-size: 22px; line-height: 1.6; }
.phone-card-fallback b { font-size: 34px; }
.kakao-button { margin-top: 32px; padding: 13px 28px; background: var(--yellow); color: #181818; border-radius: 5px; font-size: 23px; font-weight: 800; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.hero small { margin-top: 18px; font-size: 13px; }

.section-white { background: #fff; }
.trust-section { padding: 30px 0 0; }
.trust-logo { height: 92px; display: grid; place-items: center; }
.trust-logo img { max-width: 156px; max-height: 82px; object-fit: contain; }
.trust-grid { margin-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; }
.trust-grid article { min-height: 220px; text-align: center; display: flex; align-items: center; flex-direction: column; }
.trust-grid img { width: 92px; height: 92px; object-fit: contain; margin-bottom: 25px; }
.trust-grid h2 { margin: 0; font-family: JejuMyeongjo, serif; font-size: 18px; line-height: 1.55; color: #272727; }
.trust-line { position: relative; height: 38px; border-top: 1px solid #3d3d3d; }
.trust-line span { position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #111; }

.category-section { padding: 55px 0 95px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.section-heading h2 { margin: 0 auto; padding-left: 82px; font-family: JejuMyeongjo, serif; color: var(--ink-green); font-size: 46px; letter-spacing: -1px; }
.category-arrows { width: 82px; display: flex; justify-content: end; gap: 10px; }
.category-arrows button { border: 0; background: transparent; color: #37433a; font-size: 28px; cursor: pointer; padding: 4px; }
.category-viewport { overflow: hidden; }
.category-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.25,.8,.25,1); }
.category-card { flex: 0 0 calc((100% - 40px) / 3); overflow: hidden; background: #eeeae5; transition: transform .25s, box-shadow .25s; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,.13); }
.category-image { aspect-ratio: 1.15/1; overflow: hidden; background: #ded9d0; }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.category-card:hover img { transform: scale(1.035); }
.category-card strong { min-height: 82px; display: grid; place-items: center; font-family: JejuMyeongjo, serif; font-size: 30px; color: #594c43; background: #e7e3df; }

.process-section { padding: 10px 0 145px; }
.process-section img { width: 100%; min-height: 320px; object-fit: contain; }
.process-fallback { display: none; padding: 50px; background: #faf5ed; text-align: center; }
.process-fallback ol { display: flex; justify-content: center; gap: 70px; list-style: none; padding: 0; }

.features-section { padding: 105px 0 115px; background: var(--deep-green); color: #fff; }
.feature-layout { display: grid; grid-template-columns: minmax(420px, .88fr) minmax(500px, 1fr); gap: 78px; align-items: start; }
.visual-slider { position: relative; height: 760px; overflow: hidden; background: #313b32; }
.visual-track { position: relative; height: 100%; }
.visual-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.02); transition: opacity .65s ease, transform 1s ease; }
.visual-slide.active { opacity: 1; transform: scale(1); }
.visual-slide img { width: 100%; height: 100%; object-fit: cover; }
.visual-controls { position: absolute; left: 32px; right: 28px; bottom: 24px; display: flex; align-items: center; gap: 12px; color: #fff; }
.visual-progress { flex: 1; height: 1px; background: rgba(255,255,255,.45); }
.visual-progress span { display: block; width: 0; height: 2px; margin-top: -1px; background: #fff; }
.visual-controls button { width: 26px; height: 30px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.visual-toggle { font-size: 15px !important; }
.feature-copy { padding-top: 20px; }
.feature-copy > h2 { margin: 0 0 65px; font-family: JejuMyeongjo, serif; font-size: 48px; line-height: 1.32; font-weight: 400; letter-spacing: -1px; }
.feature-copy article { margin-bottom: 38px; }
.feature-copy article span { color: #f8c429; font-family: Georgia, serif; font-style: italic; font-size: 18px; }
.feature-copy h3 { margin: 11px 0 20px; font-family: JejuMyeongjo, serif; font-size: 24px; font-weight: 400; }
.feature-copy p { margin: 0; color: #e4e6e2; font-size: 14px; line-height: 1.85; word-break: keep-all; }

.site-footer { padding: 46px 0 55px; background: #fff; color: #777; text-align: center; font-size: 12px; line-height: 1.9; }
.site-footer strong { color: #424242; font-family: JejuMyeongjo, serif; font-size: 16px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin: 12px 0; }
.footer-links a:last-child { font-weight: 700; }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1240px) {
  .desktop-nav > a, .nav-more-button { min-width: 105px; font-size: 16px; }
  .hero h1 { font-size: 58px; }
  .feature-layout { gap: 50px; grid-template-columns: .9fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.mega-menu{position:absolute;left:0;right:0;top:71px;background:#9cab97;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 16px 28px rgba(0,0,0,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease;pointer-events:none}
.site-header:hover .mega-menu,.site-header:focus-within .mega-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
.mega-menu-inner{width:min(1370px,calc(100% - 48px));margin:0 auto;padding:18px 0 22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.mega-column{min-width:0}.mega-title{display:block;margin-bottom:10px;color:#f4f5f2;font-family:JejuMyeongjo,serif;font-size:15px}.mega-links{display:grid;gap:8px}.mega-links a{display:block;color:#f1f4ef;font-size:13px;line-height:1.35;opacity:.92}.mega-links a:hover{opacity:1;text-decoration:underline}


/* homepage mega-menu layer fix */
.desktop-nav,.nav-more,.menu-button{position:relative;z-index:5;}
.nav-more button{position:relative;z-index:6;}
.nav-dropdown{z-index:20;}
.mega-menu{z-index:1;}
