/* 위브이앤엠 홈페이지 — 색·서체는 03_브랜드/로고_2026리뉴얼/04_최종_글라스리본_20261204/README 그대로 */
@font-face { font-family: "Freesentation"; font-weight: 400; font-display: swap; src: url("fonts/Freesentation-4Regular.woff2") format("woff2"); }
@font-face { font-family: "Freesentation"; font-weight: 500; font-display: swap; src: url("fonts/Freesentation-5Medium.woff2") format("woff2"); }
@font-face { font-family: "Freesentation"; font-weight: 600; font-display: swap; src: url("fonts/Freesentation-6SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Freesentation"; font-weight: 700; font-display: swap; src: url("fonts/Freesentation-7Bold.woff2") format("woff2"); }

:root {
  --rose: #D6457F;
  --peach: #F2A06E;
  --plum: #1E1820;
  --charcoal: #3B3640;
  --gray: #7B7280;
  --white: #FFFFFF;
  --line: #E6E1E8;
  --tint: #F7F5F8;
  --ribbon: linear-gradient(90deg, var(--rose), var(--peach));
  --wrap: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Freesentation", "Pretendard", "Malgun Gothic", sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--gray); font-size: .92em; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 60px; width: auto; margin-left: -16px; } /* PNG 안에 규정 여백이 들어 있음 */
.nav { display: flex; gap: 32px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--charcoal); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ribbon); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

/* Hero */
.hero { background: var(--plum); color: var(--white); text-align: center; }
.hero-inner { padding-top: 56px; padding-bottom: 72px; }
.hero-logo { width: auto; height: 300px; margin: 0 auto 28px; }
.hero-kicker { margin: 0 0 14px; color: #C9C2CC; font-size: 15px; letter-spacing: .04em; }
.hero h1 { margin: 0 0 18px; font-weight: 600; font-size: 42px; line-height: 1.35; letter-spacing: -.01em; }
.hero-lead { margin: 0 auto 32px; max-width: 640px; color: #D9D3DC; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; min-width: 148px; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 16px; text-align: center; }
.btn-light { background: var(--white); color: var(--plum); }
.btn-line { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.btn:hover { opacity: .88; }

/* Facts strip */
.facts { border-bottom: 1px solid var(--line); position: relative; }
.facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ribbon); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 8px 24px; text-align: center; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact-label { display: block; color: var(--gray); font-size: 14px; margin-bottom: 2px; }
.fact strong { font-weight: 600; font-size: 19px; color: var(--charcoal); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.sec-title { margin: 0 0 40px; font-weight: 700; font-size: 32px; line-height: 1.3; color: var(--charcoal); }
.sec-title .sec-en { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--rose); }
.sec-title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 16px; background: var(--ribbon); border-radius: 2px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.about-text p { margin: 0 0 16px; font-size: 18px; }
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--charcoal); }
.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 34%; background: var(--tint); font-weight: 600; color: var(--charcoal); white-space: nowrap; }

/* Business cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px 24px; display: flex; flex-direction: column; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ribbon); }
.card-no { font-weight: 600; font-size: 14px; color: var(--rose); letter-spacing: .06em; }
.card h3 { margin: 6px 0 10px; font-weight: 700; font-size: 20px; line-height: 1.4; }
.card p { margin: 0 0 18px; color: #5A5460; font-size: 16px; flex: 1; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--rose); border: 1px solid var(--rose); border-radius: 999px; padding: 2px 10px; }

/* License */
.lic-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.lic { border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.lic h3 { margin: 0 0 4px; font-weight: 700; font-size: 21px; line-height: 1.4; }
.lic-sub { margin: 0 0 18px; color: var(--gray); font-size: 15px; }
.lic dl { margin: 0; }
.lic dl div { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.lic dt { color: var(--gray); min-width: 72px; }
.lic dd { margin: 0; font-weight: 600; }
.lic-main { background: var(--tint); }
.lic-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lic-table th { text-align: left; font-weight: 600; color: var(--gray); font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--charcoal); }
.lic-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lic-table td.num { color: var(--gray); text-align: right; }
.lic-table th:last-child { text-align: right; }
.note { margin: 20px 0 0; color: var(--gray); font-size: 15px; }

/* Records */
.rec-table { width: 100%; border-collapse: collapse; background: var(--white); border-top: 2px solid var(--charcoal); }
.rec-table th { background: var(--tint); font-weight: 600; font-size: 15px; text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rec-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rec-table td:first-child { white-space: nowrap; width: 110px; }
.rec-table td:nth-child(2) { width: 180px; }
.rec-table td:last-child { width: 120px; color: var(--gray); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-list { margin: 0; border-top: 2px solid var(--charcoal); }
.contact-list div { display: flex; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.contact-list dt { min-width: 80px; font-weight: 600; }
.contact-list dd { margin: 0; }
.tel { text-decoration: none; font-weight: 600; }
.contact-box { background: var(--tint); border-radius: 10px; padding: 28px; position: relative; overflow: hidden; }
.contact-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--rose), var(--peach)); }
.contact-box p { margin: 0; }

/* Footer */
.site-footer { background: var(--plum); color: #BDB5C1; padding: 40px 0 32px; font-size: 14px; }
.footer-logo { height: 56px; width: auto; margin-left: -12px; margin-bottom: 12px; }
.footer-info { margin: 0 0 12px; line-height: 1.8; }
.footer-info .sep { color: #5C5460; margin: 0 6px; }
.copy { margin: 0; color: #857C89; font-size: 13px; }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .lic-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --header-h: 104px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .header-inner { flex-direction: column; align-items: stretch; height: auto; padding-top: 6px; }
  .brand img { height: 52px; margin-left: -12px; }
  .nav { gap: 0; justify-content: space-between; overflow-x: auto; margin: 0 -4px; padding-bottom: 4px; }
  .nav a { font-size: 15px; padding: 8px 4px; white-space: nowrap; }
  .hero-inner { padding-top: 36px; padding-bottom: 52px; }
  .hero-logo { height: 210px; margin-bottom: 20px; }
  .hero-kicker { font-size: 13.5px; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15.5px; }
  .br-pc { display: none; }
  .btn { min-width: 0; flex: 1; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 18px 6px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 17px; }
  .section { padding: 60px 0; }
  .sec-title { font-size: 26px; margin-bottom: 28px; }
  .about-text p { font-size: 16px; }
  .info-table th, .info-table td { padding: 12px 10px; font-size: 15px; }
  .info-table th { width: 30%; white-space: normal; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .lic { padding: 22px 20px; }
  .lic-table td.num, .lic-table th:last-child { font-size: 14px; }
  /* 실적표는 휴대폰에서 카드로 */
  .rec-table thead { display: none; }
  .rec-table, .rec-table tbody, .rec-table tr, .rec-table td { display: block; width: auto !important; }
  .rec-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .rec-table td { border: 0; padding: 6px 16px; display: flex; gap: 12px; white-space: normal !important; }
  .rec-table td::before { content: attr(data-label); flex: 0 0 52px; color: var(--gray); font-size: 14px; padding-top: 1px; }
  .contact-list div { gap: 16px; }
  .contact-list dt { min-width: 64px; }
  .footer-info span { display: block; }
  .footer-info .sep, .footer-info br { display: none; }
}
