/* ===== Neulbom (늘봄) — site styles ===== */
:root {
  --green-900: #1f3d27;
  --green-700: #2f6a3d;
  --green-600: #3f7d4e;
  --green-400: #6fae6a;
  --green-100: #e6f2e2;
  --cream: #fffaf0;
  --cream-2: #f7f1e3;
  --blossom: #f4b6c2;
  --ink: #1d2420;
  --ink-2: #4a544d;
  --line: #e2e6df;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(31, 61, 39, .18);
  --header-h: 68px;
  --maxw: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.muted { color: var(--ink-2); font-weight: 400; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--green-700); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 250, 240, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px -14px rgba(0,0,0,.25); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-ko { font-size: 1.35rem; font-weight: 800; color: var(--green-700); }
.brand-en { font-size: .85rem; color: var(--ink-2); letter-spacing: .06em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--green-700); background: var(--green-100); }
.site-nav a.nav-cta { background: var(--green-600); color: #fff; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--green-700); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-700); }
.btn-ghost { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn-ghost:hover { background: var(--green-100); }
.btn-light { background: #fff; color: var(--green-700); font-size: 1.1rem; padding: 16px 30px; }
.btn-light:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(244, 182, 194, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(111, 174, 106, .18), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.eyebrow-light { color: #cfe8c8; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--green-600); position: relative; white-space: nowrap; isolation: isolate; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em;
  background: var(--blossom); opacity: .55; z-index: -1; border-radius: 4px;
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art svg { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tint { background: var(--cream-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-desc { color: var(--ink-2); font-size: 1.05rem; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.about-body p { color: var(--ink-2); font-size: 1.06rem; }
.about-body strong { color: var(--ink); }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--green-600); line-height: 1.2; }
.stat-label { display: block; font-size: .88rem; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0ca; }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px dashed var(--line); padding-top: 16px; }
.card li { position: relative; padding-left: 18px; font-size: .92rem; color: var(--ink-2); margin: 6px 0; }
.card li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); }
.card-accent { background: linear-gradient(160deg, var(--green-700), var(--green-600)); color: #fff; border-color: transparent; }
.card-accent p, .card-accent li { color: rgba(255,255,255,.88); }
.card-accent .card-icon { background: rgba(255,255,255,.16); color: #fff; }
.card-accent ul { border-top-color: rgba(255,255,255,.25); }
.card-accent li::before { background: var(--blossom); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-400) 0 8px, transparent 8px 16px); opacity: .6;
}
.steps li { position: relative; text-align: center; padding: 0 6px; }
.step-no {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; background: #fff; border: 2px solid var(--green-600); color: var(--green-700); font-weight: 800;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--ink-2); font-size: .94rem; }

/* Company */
.company-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.info-table { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-table > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.info-table > div:last-child { border-bottom: 0; }
.info-table dt { background: var(--green-100); color: var(--green-900); font-weight: 700; padding: 16px 20px; font-size: .95rem; }
.info-table dd { margin: 0; padding: 16px 20px; color: var(--ink); font-size: .97rem; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; position: relative; overflow: hidden; }
.contact::before, .contact::after {
  content: ""; position: absolute; border-radius: 50%; background: var(--blossom); opacity: .12;
}
.contact::before { width: 420px; height: 420px; right: -120px; top: -160px; }
.contact::after { width: 260px; height: 260px; left: -80px; bottom: -120px; background: var(--green-400); }
.contact-inner { position: relative; text-align: center; max-width: 760px; }
.contact p { color: rgba(255,255,255,.85); font-size: 1.06rem; }
.contact-actions { margin: 30px 0 26px; }
.contact-hints { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(255,255,255,.8); font-size: .95rem; }
.contact-hints strong { color: #fff; margin-right: 8px; }

/* Footer */
.site-footer { background: #17251b; color: #b9c4bc; padding: 44px 0 36px; font-size: .9rem; }
.footer-inner { display: grid; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-brand .muted { color: #8fa294; font-weight: 500; font-size: .85rem; letter-spacing: .05em; }
.footer-info { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 0; }
.footer-info span:not(:last-child)::after { content: "|"; margin: 0 12px; color: #4f5e53; }
.footer-info a { color: #d7e3da; }
.copyright { margin: 0; color: #7d8c81; font-size: .85rem; }

/* To top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-600); color: #fff; text-decoration: none; font-weight: 800;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art svg { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 20px;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -18px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px 14px; }
  .site-nav a.nav-cta { margin: 6px 0 0; text-align: center; }

  .hero-inner, .about-grid, .company-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; order: -1; }
  .br-pc { display: none; }
  .about-grid, .company-grid { gap: 28px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stats li { padding: 16px 8px; }
  .stat-num { font-size: 1.5rem; }
  .info-table > div { grid-template-columns: 1fr; }
  .info-table dt { padding: 10px 16px; }
  .info-table dd { padding: 12px 16px; }
  .footer-info { flex-direction: column; }
  .footer-info span::after { display: none; }
  .brand-en { display: none; }
}
