/* 제품·사업분야 페이지 */
.page-products .menu a.active { color: var(--blue); }
.page-products main .wrap,
.page-products .prod-tabs .wrap {
  width: min(1180px, calc(100% - 48px));
}
.page-products .prod-hero > .wrap {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.prod-hero {
  position: relative; min-height: var(--subpage-hero-h); overflow: hidden; color: #fff;
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(4,18,38,.94) 0%, rgba(4,18,38,.78) 42%, rgba(8,40,78,.42) 100%),
    url("../images/products-hero.png") right center / cover no-repeat;
}
.prod-hero:before {
  content: ""; position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(700px) rotateX(55deg) translateY(-60px); opacity: .35;
}
.prod-hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  text-align: left; box-sizing: border-box;
}
.prod-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; color: #9bd652;
}
.prod-eyebrow:before { content: ""; width: 28px; height: 2px; background: #9bd652; }
.prod-hero h1 {
  font-size: clamp(34px, 4.8vw, 58px); line-height: 1.18;
  margin: 22px 0 18px; letter-spacing: -.045em; max-width: 860px;
}
.prod-hero p {
  max-width: 720px; margin: 0; font-size: 17px; line-height: 1.8; color: #e4eaf1;
}
.prod-breadcrumbs {
  margin-top: 28px; font-size: 13px; color: #c9d2dc; letter-spacing: .02em;
}

.prod-tabs {
  position: sticky; top: var(--header-h, 84px); z-index: 40;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(7,25,52,.06);
}
.prod-tabs-inner { display: flex; justify-content: center; }
.prod-tabs a {
  padding: 20px 36px; font-weight: 800; color: #556174;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.prod-tabs a:hover { color: var(--blue); border-color: var(--blue); }

.prod-intro { padding: 96px 0 56px; text-align: center; }
.prod-kicker {
  color: var(--blue); font-weight: 900; letter-spacing: .14em; font-size: 13px;
}
.prod-intro h2 {
  font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.035em; margin: 12px 0;
}
.prod-intro p {
  color: var(--muted); line-height: 1.8; max-width: 760px; margin: 0 auto; font-size: 16px;
}

.prod-business {
  padding: 52px 0 84px;
  scroll-margin-top: calc(var(--header-h) + 68px);
}
.prod-business.is-alt { background: var(--soft, #f5f7fa); }

.prod-section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px; gap: 24px;
}
.prod-section-head h2 {
  display: flex; align-items: center; gap: 4px;
  font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.035em; margin: 12px 0 0;
}
.prod-section-head p {
  max-width: 560px; color: var(--muted); line-height: 1.75; margin: 0; font-size: 15px;
}
.prod-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: var(--navy); color: #fff; font-weight: 900; font-size: 18px; margin-right: 10px;
}

.prod-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(7,31,66,.06);
  transition: transform .25s var(--ease, ease), box-shadow .25s;
}
.prod-card:hover {
  transform: translateY(-6px); box-shadow: 0 18px 38px rgba(7,31,66,.13);
}
.prod-photo {
  height: 210px; overflow: hidden; background: #eef2f6;
}
.prod-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
  transition: transform .35s;
}
.prod-photo-placeholder {
  display: grid; place-items: center; padding: 24px;
  background: linear-gradient(145deg, #17283a, #5b6c7d); color: #fff;
}
.prod-photo-placeholder span {
  text-align: center; font-size: 14px; line-height: 1.6; font-weight: 900; letter-spacing: .12em;
}
.prod-card:hover .prod-photo img { transform: scale(1.04); }
.prod-card-body { padding: 20px; }
.prod-card-body strong { display: block; font-size: 17px; letter-spacing: -.02em; }
.prod-card-body p {
  font-size: 14px; color: var(--muted); line-height: 1.65; margin: 8px 0 0;
}

.prod-contact {
  padding: 80px 0; background: var(--navy); color: #fff;
}
.prod-contact-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.prod-contact h2 {
  font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -.03em; line-height: 1.3;
}
.prod-contact p { margin: 0; color: #c8d3df; line-height: 1.7; }
.prod-contact-btn {
  flex: 0 0 auto; background: #fff; color: var(--navy); font-weight: 900;
  padding: 16px 24px; border-radius: 10px;
  transition: transform .25s, box-shadow .25s;
}
.prod-contact-btn:hover {
  transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

@media (max-width: 1020px) {
  .prod-tabs-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prod-tabs a { padding: 18px 22px; font-size: 14px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .prod-hero { min-height: auto; height: auto; }
  .prod-hero-inner { padding: 64px 0; min-height: auto; height: auto; }
  .prod-tabs { top: var(--header-h); }
  .prod-tabs-inner {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prod-tabs a { padding: 16px 14px; font-size: 13px; }
  .prod-intro { padding: 72px 0 40px; }
  .prod-business { padding: 40px 0 64px; }
  .prod-grid { grid-template-columns: 1fr; }
  .prod-photo { height: 200px; }
  .prod-contact-inner { flex-direction: column; align-items: flex-start; }
  .prod-hero h1 br,
  .prod-contact h2 br { display: none; }
}
