/* =========================================================
   송앤코 SONG & CO. — style.css
   톤: 네이비 + 골드 / 심플 & 고급 / 60대 사용자 중심 큰 글씨
   ========================================================= */

/* ---------- 1. 기본 설정 ---------- */
:root {
  --navy: #10233c;
  --navy-deep: #0a1728;
  --navy-soft: #1c3552;
  --gold: #b08d57;
  --gold-light: #d4b483;
  --cream: #f8f6f2;
  --cream-2: #efeae1;
  --white: #ffffff;
  --text: #1e2a36;
  --muted: #566472;
  --line: #ddd6ca;
  --shadow-sm: 0 2px 10px rgba(16, 35, 60, .06);
  --shadow-md: 0 12px 34px rgba(16, 35, 60, .10);
  --shadow-lg: 0 24px 60px rgba(16, 35, 60, .18);
  --radius: 4px;
  --wrap: 1180px;
  /* 메인 서체: 나눔고딕 */
  --serif: "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --sans: "Nanum Gothic", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.03em;
  word-break: keep-all;
}

p { margin: 0 0 1em; word-break: keep-all; }
p:last-child { margin-bottom: 0; }

ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

button { font-family: inherit; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 2. 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover { background: #9c7c4a; border-color: #9c7c4a; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: #c2bcae;
}
.btn-outline:hover { border-color: var(--navy); background: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.btn-block { width: 100%; }

/* ---------- 3. 상단 연락 바 ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfd8e3;
  font-size: .95rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  flex-wrap: wrap;
}
.topbar-copy {
  margin: 0;
  letter-spacing: .04em;
  font-size: .9rem;
  color: #9fb0c4;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #eef2f7;
  font-weight: 500;
}
.topbar-contact a:hover { color: var(--gold-light); }
.tb-label {
  display: inline-block;
  padding: 2px 7px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--gold-light);
  border-radius: 2px;
}
.tb-divider { color: #4a5f78; }

/* ---------- 4. 헤더 ---------- */
/* 주의: 이 영역에는 backdrop-filter / filter / transform 을 쓰지 않습니다.
   (containing block 이 생겨 모바일 메뉴판(position:fixed) 이 헤더 높이로 잘립니다) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(16, 35, 60, .10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .02em;
}
.brand-text small {
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--gold);
  font-weight: 700;
}

.gnb { display: flex; align-items: center; gap: 34px; }
.gnb > ul { display: flex; align-items: center; gap: 30px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}
.gnb > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .22s ease;
}
.gnb > ul > li > a:hover::after,
.gnb > ul > li > a.is-active::after { width: 100%; }

.gnb-call { min-height: 48px; padding: 0 22px; font-size: .98rem; }

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. 히어로 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-circuit.jpg");
  background-size: cover;
  background-position: center 42%;
  opacity: .34;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 23, 40, .96) 0%, rgba(10, 23, 40, .88) 42%, rgba(10, 23, 40, .55) 100%);
  z-index: -1;
}
.hero-inner {
  padding: 96px 0 84px;
  max-width: 1180px;
}
.hero-kicker {
  margin: 0 0 22px;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold-light);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.035em;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-desc {
  max-width: 34em;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  line-height: 1.85;
  color: #dbe4ee;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}
.hero-actions .btn { min-width: 210px; }

/* ---------- 6. 신뢰 스트립 ---------- */
.strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip-item {
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}
.strip-item:last-child { border-right: 0; padding-right: 0; }
.strip-item + .strip-item { padding-left: 34px; }
.strip-item h2 {
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.strip-item h2::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  vertical-align: 2px;
}
.strip-item p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 7. 공통 섹션 ---------- */
.section { padding: 96px 0; }
.section-kicker {
  margin: 0 0 12px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--gold);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.04em;
  margin-bottom: 22px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 20px;
  background: var(--gold);
}
.section-desc {
  max-width: 44em;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
}
.section-head { margin-bottom: 52px; }
.section-head-light .section-title { color: #fff; }
.section-head-light .section-desc { color: #c3cfdd; }

/* ---------- 8. 회사소개 ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 64px;
  align-items: start;
}
.about-text .lead {
  font-size: 1.14rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.1em;
}
.about-text p { color: var(--muted); font-size: 1.03rem; line-height: 1.9; }
.about-text .lead { color: var(--text); }

.about-sign {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 34px;
  padding: 14px 26px;
  background: #fff;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.about-sign span { font-size: .95rem; color: var(--muted); }
.about-sign strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: .04em;
}

.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
}
.about-card h3 {
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

.info-list { margin-bottom: 26px; }
.info-list > div {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eeebe4;
  font-size: 1rem;
  line-height: 1.6;
}
.info-list > div:last-child { border-bottom: 0; }
.info-list dt {
  flex: 0 0 96px;
  color: var(--muted);
  font-size: .95rem;
}
.info-list dd {
  flex: 1;
  color: var(--text);
  font-weight: 500;
  word-break: keep-all;
}
.info-list dd a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.info-list.compact > div { padding: 11px 0; }
.info-list.compact dt { flex-basis: 68px; }

/* ---------- 9. 소개제품 ---------- */
.products { background: #fff; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product-link { display: block; height: 100%; }
.product-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfcfa 0%, #f2eee6 100%);
  display: grid;
  place-items: center;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.product-card:hover .product-photo img { transform: scale(1.06); }

.product-body { position: relative; padding: 26px 26px 30px; }
.product-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-bottom: 3px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  border-bottom: 1px solid rgba(176, 141, 87, .45);
  transition: color .2s ease, border-color .2s ease;
}
.product-more span { font-size: 1.1rem; line-height: 1; }
.product-card:hover .product-more { color: var(--navy); border-color: var(--navy); }
.product-no {
  position: absolute;
  top: -22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
}
.product-body h3 {
  font-size: 1.22rem;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.03em;
}
.product-body p {
  margin: 0;
  font-size: .99rem;
  line-height: 1.7;
  color: var(--muted);
}

.product-note {
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  font-size: .96rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 10. 제품문의 ---------- */
.contact {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(212, 180, 131, .18);
  border-radius: 50%;
}
.contact .wrap { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  margin-bottom: 34px;
}
.contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 46px 44px;
  background: linear-gradient(140deg, rgba(212, 180, 131, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(212, 180, 131, .5);
  transition: background .25s ease, transform .25s ease;
}
.contact-main:hover {
  background: linear-gradient(140deg, rgba(212, 180, 131, .28), rgba(255, 255, 255, .08));
  transform: translateY(-3px);
}
.contact-label {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.contact-tel {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.25;
}
.contact-sub { font-size: .98rem; color: #c3cfdd; }

.contact-side {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
}
.contact-row {
  position: relative;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .contact-label { color: #93a6bb; letter-spacing: .14em; margin-bottom: 2px; }
.contact-value {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  word-break: break-all;
}
.contact-value a { text-decoration: underline; text-underline-offset: 4px; }
.contact-value a:hover { color: var(--gold-light); }

.copy-btn {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 42px;
  padding: 0 14px;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.copy-btn:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.inquiry-guide {
  padding: 36px 38px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: center;
}
.inquiry-guide h3 {
  grid-column: 1 / -1;
  font-size: 1.14rem;
  color: #fff;
  letter-spacing: -.02em;
}
.inquiry-guide ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: 1.02rem;
  color: #c3cfdd;
}
.inquiry-guide ol li { position: relative; padding-left: 16px; }
.inquiry-guide ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.inquiry-guide ol b { color: #fff; font-weight: 700; }
.inquiry-guide .btn { justify-self: start; }
.inquiry-guide .btn + .btn { margin-left: 10px; }

/* ---------- 11. 오시는 길 ---------- */
.location { background: #fff; }
.location-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 64px;
  align-items: center;
}
.address {
  font-style: normal;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 16px;
}
.address span { font-weight: 500; color: var(--muted); font-size: 1.04rem; }
.location-desc {
  max-width: 38em;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.location-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0 0 8px;
}
.location-map {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #eae5dc;
  border-bottom: 1px solid var(--line);
}
.map-road {
  position: absolute;
  background: #fff;
  box-shadow: 0 0 0 1px #ddd6ca;
}
.map-road-1 { left: -10%; right: -10%; top: 58%; height: 16px; transform: rotate(-8deg); }
.map-road-2 { top: -12%; bottom: -12%; left: 30%; width: 12px; transform: rotate(6deg); }
.map-road-3 { left: -10%; right: -10%; top: 22%; height: 9px; transform: rotate(4deg); }
.map-pin {
  position: absolute;
  left: 47%;
  top: 44%;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
}
.location-card .info-list { padding: 12px 30px 6px; margin-bottom: 0; }

/* ---------- 12. 푸터 ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #9fb0c4;
  padding: 54px 0 34px;
  font-size: .96rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.footer-brand p { margin: 0; font-size: .93rem; color: #8093a9; }
.footer-info p { margin: 0 0 8px; line-height: 1.7; }
.footer-info a { color: #dbe4ee; }
.footer-info a:hover { color: var(--gold-light); }
.footer-biz { color: #7d90a6; font-size: .9rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: .88rem;
  color: #7d90a6;
}
.footer-bottom p { margin: 0; }
.link-btn {
  padding: 6px 0;
  font-size: .9rem;
  color: #b9c6d5;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(185, 198, 213, .4);
  cursor: pointer;
}
.link-btn:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ---------- 13. 모바일 하단 전화 바 ---------- */
.call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16, 35, 60, .12);
  padding: 8px;
  gap: 8px;
}
.call-bar-tel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}
.call-bar-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: rgba(212, 180, 131, .22);
  color: var(--gold-light);
  font-size: 1.1rem;
}
.call-bar-tel small {
  display: block;
  font-size: .74rem;
  color: #b9c6d5;
  letter-spacing: .04em;
  line-height: 1.2;
}
.call-bar-tel strong { font-size: 1.1rem; letter-spacing: -.01em; }
.call-bar-mail {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 18px;
  min-height: 54px;
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--cream-2);
  border-radius: var(--radius);
}

/* ---------- 15. 토스트 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  z-index: 300;
  padding: 14px 26px;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 16. 인쇄 ---------- */
@media print {
  .site-header,
  .topbar,
  .call-bar,
  .modal,
  .toast { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .contact { background: #fff; color: #000; }
  .contact .section-title,
  .contact-tel { color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================
   17. 반응형
   ========================================================= */

/* 태블릿 가로 */
@media (max-width: 1080px) {
  .gnb { gap: 22px; }
  .gnb > ul { gap: 22px; }
  .gnb-call { display: none; }
  .about-grid { gap: 42px; }
  .location-grid { gap: 42px; }
}

/* 태블릿 */
@media (max-width: 900px) {
  body { font-size: 17.5px; }

  .menu-toggle { display: block; }

  .gnb {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;      /* 모바일 주소창 제외한 실제 화면 높이 */
    min-height: 100vh;   /* dvh 미지원 브라우저 대비 */
    width: min(86vw, 360px);
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 26px 40px;
    background: var(--navy);
    box-shadow: -18px 0 40px rgba(8, 18, 32, .35);
    transform: translateX(105%);
    /* 닫힌 상태에서는 그리지 않아 화면 오른쪽에 어두운 조각이 비치지 않게 합니다 */
    visibility: hidden;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1), visibility .32s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 120;
  }
  .gnb.is-open {
    transform: none;
    visibility: visible;
  }
  .gnb > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .gnb > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .gnb > ul > li > a {
    padding: 20px 4px;
    font-size: 1.2rem;
    color: #fff;
  }
  .gnb > ul > li > a::after { display: none; }

  .gnb-call {
    display: inline-flex;
    margin-top: 26px;
    width: 100%;
    min-height: 58px;
  }
  .menu-toggle {
    position: relative;
    z-index: 130;
  }
  .menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .4);
  }
  .menu-toggle[aria-expanded="true"] span { background: #fff; }

  .header-inner { min-height: 76px; }
  .brand-mark { width: 46px; height: 46px; font-size: .86rem; }
  .brand-text strong { font-size: 1.42rem; }

  .hero-inner { padding: 68px 0 62px; }

  .strip-grid { grid-template-columns: 1fr; }
  .strip-item {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .strip-item + .strip-item { padding-left: 0; }
  .strip-item:last-child { border-bottom: 0; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-card { padding: 30px 26px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .product-body { padding: 22px 20px 26px; }
  .product-body h3 { font-size: 1.12rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-main { padding: 34px 28px; }
  .inquiry-guide {
    grid-template-columns: 1fr;
    padding: 28px 26px;
  }
  .inquiry-guide ol { flex-direction: column; gap: 8px; }
  .inquiry-guide .btn { width: 100%; }
  .inquiry-guide .btn + .btn { margin-left: 0; margin-top: 10px; }

  .location-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr; gap: 22px; }

  /* 모바일 하단 바 (본문 가림 방지) */
  .call-bar { display: flex; }
  body { padding-bottom: 76px; }
  .toast { bottom: 96px; }
}

/* 스마트폰 */
@media (max-width: 600px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }

  .topbar-inner {
    justify-content: center;
    padding: 8px 0;
    min-height: 0;
    row-gap: 4px;
  }
  .topbar-copy { display: none; }
  .topbar-contact { font-size: .86rem; gap: 6px; }
  .tb-label { display: none; }

  .hero h1 { font-size: 2rem; }
  .hero-inner { padding: 54px 0 50px; }
  .hero-kicker { font-size: .78rem; letter-spacing: .2em; margin-bottom: 16px; }
  .hero-desc { font-size: 1rem; line-height: 1.8; margin-bottom: 30px; }
  .hero-actions { flex-direction: column; margin-bottom: 0; }
  .hero-actions .btn { width: 100%; min-width: 0; }

  .section { padding: 56px 0; }
  .section-title { font-size: 1.72rem; }
  .section-title::after { margin-top: 16px; }
  .section-desc { font-size: 1rem; }

  .about-text .lead { font-size: 1.06rem; }
  .about-text p { font-size: 1rem; }
  .about-sign { width: 100%; justify-content: center; }

  .product-grid { grid-template-columns: 1fr; gap: 26px; }
  .product-photo { aspect-ratio: 16 / 10; padding: 18px; }
  .product-body h3 { font-size: 1.18rem; }

  .contact-main { padding: 30px 24px; }
  .contact-row { padding: 20px 22px; }
  .contact-value { font-size: 1.06rem; }
  .copy-btn {
    position: static;
    transform: none;
    margin-top: 12px;
    min-height: 44px;
    padding: 0 16px;
  }

  .address { font-size: 1.08rem; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; }
  .location-card .info-list { padding: 10px 22px 4px; }
  .info-list > div { flex-direction: column; gap: 2px; }
  .info-list dt { flex-basis: auto; }

  .footer-bottom { justify-content: center; text-align: center; }
  .footer-info p { font-size: .92rem; }

  .call-bar-mail { padding: 0 14px; font-size: .92rem; }
  .call-bar-tel strong { font-size: 1.02rem; }
  body { padding-bottom: 84px; }
}
