/* ============ Cozlink Makeup Brush — minimal elegant theme ============ */
:root {
  --bg: #faf8f5;
  --bg-tint: #f3ede6;
  --ink: #211d1a;
  --ink-soft: #6f665e;
  --accent: #b06e4f;      /* copper */
  --accent-dark: #8f563c;
  --line: #e6ddd3;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(33, 29, 26, .08);
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer; transition: all .25s ease;
  background: none; font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.logo-text { font-weight: 700; letter-spacing: .12em; font-size: 16px; display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 9px; letter-spacing: .28em; color: var(--ink-soft); font-weight: 500; }
.main-nav { display: flex; gap: 34px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 6px 0; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.lang-toggle:hover { border-color: var(--ink); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250,248,245,.96) 0%, rgba(250,248,245,.88) 38%, rgba(250,248,245,.25) 75%, rgba(250,248,245,0) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; max-width: none; width: 100%; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: .3em; font-weight: 700;
  color: var(--accent-dark); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.08; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 24px; max-width: 620px;
}
.hero-desc { font-size: 17px; color: var(--ink-soft); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 24px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 34px; font-weight: 700; color: var(--accent-dark); letter-spacing: -.01em; }
.stat span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tinted { background: var(--bg-tint); }
.section-eyebrow {
  font-size: 12px; letter-spacing: .3em; font-weight: 700;
  color: var(--accent-dark); margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; }
.lead { font-size: 16px; color: var(--ink-soft); max-width: 640px; }
.section > .container > .section-title, .section-eyebrow + .section-title { margin-bottom: 44px; }

/* ---------- Cards (home categories) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(33,29,26,.14); }
.card img { height: 210px; object-fit: cover; object-position: center 40%; }
.card h3 { font-size: 18px; padding: 18px 20px 6px; }
.card p { font-size: 13.5px; color: var(--ink-soft); padding: 0 20px 22px; }

/* ---------- Product grid (featured) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.product img { height: 220px; object-fit: cover; object-position: center 45%; }
.product figcaption { padding: 16px 18px 20px; }
.product h4 { font-size: 15px; letter-spacing: .04em; margin-bottom: 4px; }
.product figcaption > p { font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; }
.spec { font-size: 12.5px; color: var(--ink-soft); display: block; }

/* ---------- OEM strip ---------- */
.oem-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.oem-strip img { border-radius: var(--radius); box-shadow: var(--shadow); height: 340px; object-fit: cover; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--bg-tint); padding: 72px 0; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 460px; width: 100%; object-fit: cover; }
.split-text p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Materials ---------- */
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.material {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  border-top: 3px solid var(--accent);
}
.material h4 { font-size: 16px; margin-bottom: 8px; }
.material p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.service-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .1em; margin-bottom: 12px; }
.service h3 { font-size: 17px; margin-bottom: 10px; }
.service p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 8px 0 28px; }
.check-list li {
  padding: 10px 0 10px 32px; position: relative; color: var(--ink-soft); font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 10px;
  color: var(--accent-dark); font-weight: 700;
}

/* ---------- Catalog / filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all .2s; font-family: inherit; color: var(--ink-soft);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.catalog-item {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s ease;
}
.catalog-item:hover { transform: translateY(-4px); }
.catalog-item img { height: 250px; object-fit: cover; object-position: center 45%; width: 100%; }
.catalog-item figcaption { padding: 18px 20px 22px; }
.catalog-item h4 { font-size: 16px; margin-bottom: 4px; }
.catalog-item figcaption > p { font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
.catalog-item .spec { font-size: 13px; color: var(--ink-soft); }

/* ---------- OEM band ---------- */
.oem-band {
  margin-top: 72px; background: var(--ink); color: var(--white);
  border-radius: var(--radius); padding: 56px 52px;
}
.oem-band .section-eyebrow { color: #d9a583; }
.oem-band .section-title { color: var(--white); margin-bottom: 10px; }
.oem-band .check-list li { color: #cfc6bd; border-bottom-color: rgba(255,255,255,.14); }
.oem-band .check-list li::before { color: #d9a583; }
.oem-band .btn-primary { background: var(--accent); }
.oem-band .btn-primary:hover { background: var(--accent-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.info-list { display: flex; flex-direction: column; gap: 20px; margin: 28px 0; }
.info-list > div { border-bottom: 1px dashed var(--line); padding-bottom: 18px; }
.info-list dt { font-size: 12px; letter-spacing: .18em; font-weight: 700; color: var(--accent-dark); margin-bottom: 6px; text-transform: uppercase; }
.info-list dd { font-size: 15px; }
.kr-sub { color: var(--ink-soft); font-size: 13.5px; }
.info-note { font-size: 13.5px; color: var(--ink-soft); background: var(--bg-tint); border-radius: var(--radius); padding: 18px 20px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; background: var(--bg); color: var(--ink);
  transition: border-color .2s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.form-ok { margin-top: 16px; color: #2e7d4f; font-size: 14px; font-weight: 600; }
.form-error { color: #b03a2e; font-size: 13px; margin-bottom: 12px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc6bd; padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer .logo-text { color: var(--white); }
.site-footer .logo-sub { color: #8f867d; }
.site-footer p { font-size: 13.5px; margin-top: 14px; }
.footer-kr { color: #8f867d; }
.site-footer h5 {
  color: var(--white); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 16px;
}
.site-footer a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px;
  text-align: center; font-size: 12.5px; color: #8f867d;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .product-grid, .material-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-strip, .split, .contact-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav-burger { display: block; }
}
@media (max-width: 600px) {
  .card-grid, .product-grid, .material-grid, .service-grid,
  .catalog-grid, .stats-grid, .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 520px; }
  .oem-band { padding: 40px 28px; }
  .contact-form-wrap { padding: 28px 22px; }
}
