@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #0A0910;
  font-family: 'Pretendard', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #FFD400; color: #0A0910; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.page { width: 100%; background: #0A0910; overflow-x: hidden; }

.eyebrow {
  font-size: 12px; font-weight: 700; color: #FFD400; letter-spacing: 2.5px; text-transform: uppercase;
}

.notice-banner {
  background: #14121C;
  border-bottom: 1px solid rgba(255, 212, 0, .25);
  padding: 10px 24px;
  font-size: 12px; font-weight: 500; line-height: 1.6;
  color: #FFE45C;
  text-align: center;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  background: rgba(10, 9, 16, 0);
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
header.site-header.scrolled {
  background: rgba(10, 9, 16, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 100%;
}
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 64px; width: auto; display: block; }

.menu-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span { width: 20px; height: 2px; background: #F5F4F2; display: block; }

nav.desktop-nav { display: flex; align-items: center; gap: 40px; }
nav.desktop-nav a.nav-link {
  color: #F5F4F2; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .85;
}
nav.desktop-nav a.nav-link.active,
nav.mobile-nav a.nav-link.active {
  color: #C9A400; opacity: 1; font-weight: 700;
}
.cta-btn {
  background: #FFD400; color: #0A0910; padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
}

nav.mobile-nav {
  position: absolute; top: 76px; left: 0; right: 0; background: #0A0910;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: none; flex-direction: column; padding: 8px 24px 20px; gap: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}
nav.mobile-nav.open { display: flex; }
nav.mobile-nav a.nav-link {
  color: #F5F4F2; text-decoration: none; font-size: 16px; font-weight: 500;
  padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
nav.mobile-nav .cta-btn { padding: 14px; text-align: center; margin-top: 12px; }

@media (max-width: 880px) {
  .menu-btn { display: flex; }
  nav.desktop-nav { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0A0910;
  padding-top: 76px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, #1a1824 0px, #1a1824 2px, #14121C 2px, #14121C 26px);
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-photo.visible { opacity: 1; }
.hero-empty-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-empty-label span {
  font-size: 13px; font-weight: 600; color: rgba(245, 244, 242, .3); letter-spacing: 2px;
}
.hero-spotlight {
  position: absolute; inset: 0; pointer-events: none; transition: background .12s ease-out;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,16,.15) 0%, rgba(10,9,16,.55) 55%, rgba(10,9,16,.96) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 0 24px 48px; animation: fadeUp .8s ease both;
}
.hero-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: #0A0910; background: #FFD400;
  padding: 5px 12px; border-radius: 999px; letter-spacing: .3px; margin-bottom: 16px;
}
.hero-content h1 {
  margin: 0 0 14px; font-size: 42px; line-height: 1.15; font-weight: 800; color: #F5F4F2; letter-spacing: -1px;
}
.hero-content h1 .accent { color: #FFD400; }
.hero-content p.lead { margin: 0 0 24px; font-size: 15px; line-height: 1.65; color: #9A97A4; max-width: 520px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px; background: #FFD400; color: #0A0910;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none;
}

@media (max-width: 880px) {
  .hero-content h1 { font-size: 28px; }
}

/* Rental products marquee */
.marquee {
  position: relative; overflow: hidden; padding: 28px 0;
  background: #0F0D16; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex; width: max-content; gap: 16px;
  animation: marquee-scroll 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .product-card { flex: 0 0 auto; width: 225px; }

@keyframes marquee-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

@media (max-width: 880px) {
  .marquee-track .product-card { width: 180px; }
}

/* Bridge */
.bridge { padding: 160px 24px; text-align: center; }
.bridge-inner { max-width: 720px; margin: 0 auto; }
.bridge-inner .eyebrow { display: block; margin: 0 0 24px; }
.bridge-inner .lead { font-size: 26px; line-height: 1.65; color: #F5F4F2; font-weight: 500; margin: 0; }
.bridge-inner .lead .accent { color: #FFD400; }

@media (max-width: 880px) {
  .bridge { padding: 80px 24px; }
}

/* Categories */
.categories { display: flex; flex-direction: column; }
.category-banner {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: repeating-linear-gradient(115deg, #161420 0px, #161420 2px, #0A0910 2px, #0A0910 26px);
}
.category-photo-layer { position: absolute; inset: 0; }
.category-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.category-photo.visible { opacity: 1; }
.category-empty-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.category-empty-label span {
  font-size: 12px; font-weight: 600; color: rgba(245, 244, 242, .3); letter-spacing: 2px;
}
.category-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,9,16,.94) 0%, rgba(10,9,16,.55) 45%, rgba(10,9,16,.2) 100%);
}
.category-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  max-width: 1280px; margin: 0 auto; padding: 48px 40px 48px;
}
.category-content .eyebrow { display: block; margin: 0 0 12px; }
.category-content h3 {
  font-weight: 800; font-size: clamp(28px, 3.2vw, 44px);
  color: #F5F4F2; margin: 0 0 14px; letter-spacing: -.5px;
}
.category-content .desc { font-size: 15px; line-height: 1.7; color: #C9C7D1; margin: 0 0 32px; max-width: 480px; }

.category-content.align-right { align-items: flex-end; text-align: right; }
.category-content.align-right .desc { margin-left: auto; }

.category-products { display: flex; gap: 16px; flex-wrap: wrap; }
.category-products .product-card { flex: 0 1 160px; width: 160px; }
.category-content.align-right .category-products { justify-content: flex-end; }

@media (max-width: 880px) {
  .category-banner { min-height: 560px; }
  .category-products .product-card { flex: 0 1 120px; width: 120px; }
}

/* Product cards (shared by category grid + related products) */
.product-card {
  display: block; text-decoration: none; background: #14121C;
  border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden;
  transition: border-color .2s;
}
.product-card:hover { border-color: rgba(255,212,0,.4); }
.product-card-photo {
  position: relative; aspect-ratio: 1;
  background: repeating-linear-gradient(135deg,#1c1a26 0px,#1c1a26 2px,#14121C 2px,#14121C 18px);
}
.product-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card-photo .ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600; color: rgba(245,244,242,.25); letter-spacing: 1px;
}
.product-card-body { padding: 12px; }
.product-card-name {
  margin: 0; font-size: 13px; color: #F5F4F2; font-weight: 600; word-break: keep-all; line-height: 1.4;
}

.wip-note {
  padding: 60px 24px; text-align: center; font-size: 13px; font-weight: 500; color: #5a5766;
}

/* Product detail page */
.product-detail { max-width: 1080px; margin: 0 auto; padding: 40px 24px 96px; }
.breadcrumb { font-size: 13px; color: #6b6876; margin: 0 0 28px; }
.breadcrumb a { color: #6b6876; text-decoration: none; }
.breadcrumb a:hover { color: #F5F4F2; }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.product-gallery-main {
  position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#1c1a26 0px,#1c1a26 2px,#14121C 2px,#14121C 18px);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-main .ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: rgba(245,244,242,.3); letter-spacing: 2px;
}
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery-thumbs button {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: #14121C;
}
.product-gallery-thumbs button.active { border-color: #FFD400; }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-info .eyebrow { display: block; margin: 0 0 12px; }
.product-info h1 { font-size: 30px; font-weight: 800; color: #F5F4F2; margin: 0 0 16px; letter-spacing: -.5px; }
.product-info .price-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: #0A0910; background: #FFD400;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.product-info .desc { font-size: 15px; line-height: 1.8; color: #C9C7D1; margin: 0 0 32px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 12px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.spec-table th { width: 120px; color: #9A97A4; font-weight: 500; }
.spec-table td { color: #F5F4F2; }

.product-cta {
  display: inline-flex; align-items: center; gap: 10px; background: #FFD400; color: #0A0910;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
}

@media (max-width: 880px) {
  .product-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Simple content pages (회사소개 등) */
.simple-page { max-width: 1080px; margin: 0 auto; padding: 64px 24px 96px; }
.simple-page h1 { font-size: 32px; font-weight: 800; color: #F5F4F2; margin: 0 0 20px; letter-spacing: -.5px; }
.simple-page .lead { font-size: 16px; line-height: 1.85; color: #C9C7D1; margin: 0 0 20px; max-width: 640px; }

.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.about-point { background: #14121C; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 24px; }
.about-point .num { color: #FFD400; font-weight: 700; font-size: 13px; margin: 0 0 10px; }
.about-point h3 { font-size: 17px; font-weight: 700; color: #F5F4F2; margin: 0 0 8px; }
.about-point p { font-size: 14px; line-height: 1.7; color: #9A97A4; margin: 0; }

@media (max-width: 880px) {
  .about-points { grid-template-columns: 1fr; }
}

/* Rental products catalog grid */
.rental-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

@media (max-width: 1180px) {
  .rental-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .rental-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Photo galleries (시스템품목 / 행사갤러리) */
.system-section { margin-bottom: 56px; }
.system-section h2 { font-size: 20px; font-weight: 800; color: #F5F4F2; margin: 0 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-photo {
  position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: repeating-linear-gradient(135deg,#1c1a26 0px,#1c1a26 2px,#14121C 2px,#14121C 18px);
  display: flex; align-items: center; justify-content: center;
}
.gallery-photo.clickable { cursor: pointer; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-photo .ph-label { font-size: 10px; font-weight: 600; color: rgba(245,244,242,.25); letter-spacing: 1px; }
.gallery-photo .gallery-photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px 6px;
  font-size: 12px; color: #F5F4F2; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-empty { color: #6b6876; font-size: 14px; }

.gallery-more-btn {
  margin-top: 16px; background: transparent; border: 1px solid rgba(255,255,255,.15); color: #F5F4F2;
  border-radius: 999px; padding: 10px 22px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.gallery-more-btn:hover { border-color: rgba(255,212,0,.4); color: #FFD400; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100; background: rgba(6,5,10,.94);
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: min(90vw, 1100px); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-content img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; display: block; }
.lightbox-caption { color: #F5F4F2; font-size: 15px; font-weight: 500; text-align: center; margin: 0; min-height: 22px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none; color: #F5F4F2;
  font-size: 26px; line-height: 1; cursor: pointer; padding: 8px;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); color: #F5F4F2; width: 48px; height: 48px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(255,212,0,.15); border-color: rgba(255,212,0,.4); color: #FFD400; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 600px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Contact / quote request */
.contact { padding: 100px 24px 120px; }
.contact-inner {
  max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 440px; gap: 64px; align-items: start;
}
.contact-intro .eyebrow { display: block; margin: 0 0 16px; }
.contact-intro h2 {
  font-size: 34px; font-weight: 800; color: #F5F4F2; margin: 0 0 18px;
  line-height: 1.35; letter-spacing: -.5px;
}
.contact-intro h2 .accent { color: #FFD400; }
.contact-intro .lead { font-size: 15px; line-height: 1.85; color: #9A97A4; max-width: 420px; margin: 0 0 32px; }

.contact-trust { display: flex; flex-direction: column; gap: 14px; }
.contact-trust-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #C9C7D1; }
.contact-trust-item .mark { color: #FFD400; font-weight: 700; }

.contact-card {
  position: relative; background: #14121C; border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; margin-bottom: 32px;
}
.contact-card-titlebar {
  display: flex; align-items: center; gap: 6px; padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.contact-card-titlebar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); }
.contact-card-title { margin-left: 8px; font-size: 13px; font-weight: 700; color: #FFD400; letter-spacing: .3px; }

.contact-form { padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: block; font-size: 13px; color: #9A97A4; font-weight: 500; }
.contact-form label .req { color: #FF8A65; margin-left: 2px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  margin-top: 8px; width: 100%; background: #0A0910; border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px; padding: 13px 14px; color: #F5F4F2; font-size: 14px; font-family: inherit;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%239A97A4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact-form textarea { resize: vertical; min-height: 84px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-submit {
  margin-top: 4px; background: #FFD400; color: #0A0910; border: none; border-radius: 10px;
  padding: 15px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.contact-submit:disabled { opacity: .6; cursor: not-allowed; }
.contact-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: #6b6876; }
.contact-status { margin: 8px 0 0; text-align: center; font-size: 13px; min-height: 16px; }
.contact-status.ok { color: #8be28b; }
.contact-status.error { color: #ff8a80; }

.contact-badge {
  position: absolute; left: 20px; bottom: -22px; display: flex; align-items: center; gap: 10px;
  background: #1b1826; border: 1px solid rgba(255,212,0,.3); border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
}
.contact-badge-icon { font-size: 18px; }
.contact-badge-title { margin: 0; font-size: 12px; font-weight: 700; color: #F5F4F2; }
.contact-badge-sub { margin: 0; font-size: 11px; color: #9A97A4; }

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* About page extras */
.stats-row {
  display: flex; gap: 40px; flex-wrap: wrap; margin: 48px 0;
  padding: 32px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
}
.stat { flex: 1 1 140px; }
.stat .value { font-size: 32px; font-weight: 800; color: #FFD400; margin: 0 0 4px; }
.stat .label { font-size: 13px; color: #9A97A4; margin: 0; }

.section-heading-row {
  display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 20px; gap: 16px; flex-wrap: wrap;
}
.section-heading-row h2 { font-size: 22px; font-weight: 800; color: #F5F4F2; margin: 0; }
.section-heading-row a { font-size: 13px; color: #9A97A4; text-decoration: none; white-space: nowrap; }
.section-heading-row a:hover { color: #FFD400; }

/* Footer */
.site-footer { background: #FFD400; padding: 32px 24px; }
.site-footer-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.footer-links { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: #0A0910; }
.footer-links span.sep { margin: 0 8px; opacity: .6; }
.footer-info { font-size: 13px; color: #0A0910; line-height: 1.9; margin: 0; }

@media (max-width: 600px) {
  .footer-links { font-size: 12px; }
  .footer-info { font-size: 12px; }
}
