/* =============================================
   LION SAFE — Style Sheet
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', -apple-system, sans-serif; color: #1a1a2e; line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; transition: all 0.2s; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 0.9rem;
  cursor: pointer; border: 2px solid transparent; transition: all 0.25s; font-family: inherit;
}
.btn-primary  { background: #1a3a6b; color: #fff; border-color: #1a3a6b; }
.btn-primary:hover  { background: #0f2548; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,58,107,.3); }
.btn-outline  { background: transparent; color: #1a3a6b; border-color: #1a3a6b; }
.btn-outline:hover  { background: #1a3a6b; color: #fff; transform: translateY(-2px); }
.btn-gold     { background: #FFD700; color: #1a1a2e; border-color: #FFD700; }
.btn-gold:hover     { background: #f0c800; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,215,0,.4); }
.btn-kakao    { background: #FEE500; color: #3c1e1e; border-color: #FEE500; }
.btn-kakao:hover    { background: #f0d800; transform: translateY(-2px); }
.btn-dark     { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.btn-dark:hover     { background: #000; transform: translateY(-2px); }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-sm  { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* =============================================
   HEADER
   ============================================= */
.header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.header-notice {
  background: #1a3a6b; color: rgba(255,255,255,.9); font-size: 0.8rem; padding: 7px 0;
  display: flex; align-items: center;
}
.header-notice .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.header-notice span { display: flex; align-items: center; gap: 6px; }
.header-notice .divider { opacity: .4; }

.header-main { padding: 14px 0; }
.header-inner { display: flex; align-items: center; gap: 28px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px; background: #1a3a6b; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem;
  overflow: hidden;
}
.logo-text strong { display: block; font-size: 1rem; font-weight: 900; letter-spacing: 1px; color: #1a3a6b; }
.logo-text small  { display: block; font-size: 0.68rem; color: #888; }

.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 32px; }
.gnb a { font-weight: 500; font-size: 0.95rem; color: #333; position: relative; padding-bottom: 3px; }
.gnb a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: #1a3a6b; transition: width .3s; }
.gnb a:hover { color: #1a3a6b; }
.gnb a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: #1a3a6b; border-radius: 2px; transition: all .3s; }

/* =============================================
   PROMO BANNER
   ============================================= */
.promo-banner { position: relative; overflow: hidden; }
.banner-slides { position: relative; }
.banner-slide {
  display: none; padding: 72px 0; min-height: 420px; align-items: center;
}
.banner-slide.active { display: flex; }

.banner-content {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; width: 100%;
}
.banner-text { color: #fff; }
.banner-tag {
  display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 5px 14px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 18px; backdrop-filter: blur(8px);
}
.banner-text h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.banner-text h2 em { font-style: normal; color: #FFD700; }
.banner-text p  { font-size: 1rem; color: rgba(255,255,255,.8); margin-bottom: 28px; }

/* Safe product mockup (CSS art) */
.product-mockup {
  position: relative; width: 160px; flex-shrink: 0;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}
.product-mockup.large .mockup-body { width: 140px; height: 180px; }
.mockup-body {
  width: 120px; height: 150px;
  background: linear-gradient(145deg, #c0c0c0, #808080);
  border-radius: 12px; position: relative; overflow: hidden;
  border: 3px solid #666;
}
.mockup-door {
  position: absolute; inset: 6px; background: linear-gradient(145deg, #b0b0b0, #707070);
  border-radius: 8px; border: 2px solid #555; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.mockup-door.fire { border-color: #ff6b00; background: linear-gradient(145deg, #444, #222); }
.mockup-handle {
  width: 12px; height: 36px; background: linear-gradient(#FFD700, #b8860b);
  border-radius: 6px; box-shadow: 2px 2px 4px rgba(0,0,0,.4);
}
.mockup-keypad {
  width: 32px; height: 32px; background: #222; border-radius: 6px;
  display: grid; place-items: center; font-size: 0.4rem; color: #0f0; letter-spacing: 1px;
}
.mockup-keypad::after { content: '• • •\A• • •\A• •'; white-space: pre; color: #0f0; font-size: 6px; line-height: 1.4; }
.fire-icon { font-size: 1.2rem; color: #ff6b00; }
.mockup-badge {
  position: absolute; top: -10px; right: -10px;
  background: #FFD700; color: #1a1a2e; font-size: 0.75rem; font-weight: 900;
  padding: 4px 10px; border-radius: 100px; box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* Slider controls */
.banner-prev, .banner-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.2); border: none; color: #fff; width: 44px; height: 44px;
  border-radius: 50%; font-size: 1rem; cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s; z-index: 10;
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-prev:hover, .banner-next:hover { background: rgba(255,255,255,.35); }
.banner-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.dot.active { background: #FFD700; width: 24px; border-radius: 4px; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { background: #f8f9fc; border-bottom: 1px solid #e8edf5; padding: 16px 0; }
.trust-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: #333; }
.trust-item i { color: #1a3a6b; font-size: 1rem; }

/* =============================================
   SECTION COMMON
   ============================================= */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  color: #1a3a6b; text-transform: uppercase; margin-bottom: 10px;
}
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: #1a1a2e; margin-bottom: 10px; }
.section-header p  { color: #666; }

/* =============================================
   PRODUCTS
   ============================================= */
.products-section { padding: 80px 0; }

.products-header { margin-bottom: 48px; }
.products-header .section-header { margin-bottom: 24px; }

.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 22px; border-radius: 100px; border: 1.5px solid #d0d8e8;
  background: #fff; color: #555; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.filter-tab:hover  { border-color: #1a3a6b; color: #1a3a6b; }
.filter-tab.active { background: #1a3a6b; border-color: #1a3a6b; color: #fff; }

.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid #e8edf5; border-radius: 14px;
  overflow: hidden; transition: all .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,58,107,.12); border-color: #c5cfe8; }
.product-card.hidden { display: none; }

.product-img { position: relative; aspect-ratio: 1; overflow: hidden; }

/* CSS placeholder images */
.img-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.img-placeholder i { font-size: 2.8rem; opacity: .7; }
.img-placeholder span { font-size: 0.75rem; font-weight: 700; opacity: .6; letter-spacing: 1px; }

.c-home   { background: linear-gradient(135deg, #dde4f5, #bbc8e8); color: #1a3a6b; }
.c-home2  { background: linear-gradient(135deg, #c8d5f0, #a8bae0); color: #1a3a6b; }
.c-home3  { background: linear-gradient(135deg, #d5dfee, #b0c0dc); color: #1a3a6b; }
.c-office  { background: linear-gradient(135deg, #fde8d8, #f5c8a8); color: #c2410c; }
.c-office2 { background: linear-gradient(135deg, #fddcc8, #f0b898); color: #c2410c; }
.c-fire    { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; }
.c-fire2   { background: linear-gradient(135deg, #bbf7d0, #86efac); color: #065f46; }
.c-special { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }

/* 사진 등록 후 실제 이미지로 교체 안내 */
.img-placeholder::after {
  content: '사진 등록 예정';
  font-size: 0.7rem;
  opacity: .45;
  position: absolute;
  bottom: 8px;
}
.product-img { position: relative; }

.product-tag {
  position: absolute; top: 12px; left: 12px;
  background: #1a3a6b; color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px;
}
.tag-office  { background: #c2410c; }
.tag-fire    { background: #065f46; }
.tag-special { background: #92400e; }

.best-badge {
  position: absolute; top: 10px; right: 10px;
  width: 48px; height: 48px; border-radius: 50%;
  background: #e8621a; color: #fff;
  font-size: 0.75rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(232,98,26,.4);
  z-index: 2; letter-spacing: 0.5px;
}

.product-info { padding: 18px 16px 20px; }
.product-info h3 { font-size: 0.95rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; line-height: 1.4; }
.product-info p  { font-size: 0.8rem; color: #777; margin-bottom: 16px; line-height: 1.5; }

/* =============================================
   MID PROMO
   ============================================= */
.mid-promo { padding: 40px 0; background: #f8f9fc; }
.mid-promo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mid-promo-card {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px; border-radius: 16px; color: #fff;
}
.mid-promo-card i { font-size: 2rem; flex-shrink: 0; }
.mid-promo-card div { flex: 1; }
.mid-promo-card strong { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.mid-promo-card p { font-size: 0.85rem; opacity: .85; }
.mid-promo-card.gold  { background: linear-gradient(120deg, #b45309, #d97706); }
.mid-promo-card.navy  { background: linear-gradient(120deg, #0f2548, #1a3a6b); }

/* =============================================
   ABOUT
   ============================================= */
.about-section { padding: 80px 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-label { margin-bottom: 12px; }
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #1a1a2e; margin-bottom: 18px; line-height: 1.35; }
.about-text p  { color: #555; font-size: 0.95rem; margin-bottom: 12px; }
.about-stats   { display: flex; gap: 32px; margin-top: 32px; padding-top: 32px; border-top: 1px solid #e8edf5; }
.about-stat strong { display: block; font-size: 1.7rem; font-weight: 900; color: #1a3a6b; }
.about-stat span   { font-size: 0.8rem; color: #888; }
.about-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.badge-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 28px 16px; background: #f8f9fc; border-radius: 14px; border: 1px solid #e8edf5;
  text-align: center; transition: all .3s;
}
.badge-card:hover { background: #eef2ff; border-color: #c5cfe8; transform: translateY(-3px); }
.badge-card i    { font-size: 1.8rem; color: #1a3a6b; }
.badge-card span { font-size: 0.85rem; font-weight: 700; color: #333; }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section { padding: 80px 0; background: #f8f9fc; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #e8edf5; transition: all .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,58,107,.1); }
.review-photo { height: 180px; position: relative; display: flex; align-items: center; justify-content: center; }
.c-home-review   { background: linear-gradient(135deg, #dde4f5, #bbc8e8); }
.c-office-review { background: linear-gradient(135deg, #fde8d8, #f5c8a8); }
.c-fire-review   { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.photo-label { background: rgba(0,0,0,.3); color: #fff; padding: 6px 14px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.review-stars { font-size: 1rem; color: #FFD700; padding: 16px 20px 0; }
.review-card p { padding: 10px 20px; font-size: 0.875rem; color: #555; line-height: 1.7; }
.review-author { display: block; padding: 0 20px 20px; font-size: 0.8rem; color: #999; font-weight: 600; }

/* =============================================
   CONTACT
   ============================================= */
.contact-section { padding: 80px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info .btn { margin-top: 0; }
.contact-info .btn:first-of-type { margin-top: auto; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; background: #eef2ff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #1a3a6b; flex-shrink: 0;
}
.contact-item strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-item p { color: #1a1a2e; }
.contact-item small { font-size: 0.8rem; color: #999; }
.contact-form { background: #f8f9fc; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; }
.contact-form button[type="submit"] { margin-top: auto; }
.contact-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #444; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #e0e7f0; border-radius: 10px;
  font-size: 0.95rem; font-family: inherit; color: #1a1a2e; background: #fff;
  outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1a3a6b; box-shadow: 0 0 0 3px rgba(26,58,107,.1); }
.form-group textarea { resize: vertical; }

/* =============================================
   LOCATION
   ============================================= */
.location-section { padding: 80px 0; background: #f8f9fc; }
.location-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location-map { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.1); line-height: 0; }
.location-map > div { display: block; }
/* 카카오맵 하단 정보 박스 숨김 */
.location-map .wrap_map_info { display: none !important; }
.location-info { display: flex; flex-direction: column; gap: 0; }
.location-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid #eef0f5;
}
.location-item:first-child { padding-top: 0; }
.location-item:last-child { border-bottom: none; padding-bottom: 0; }
.location-item i {
  width: 44px; height: 44px; background: #1a3a6b; color: #fff;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.95rem;
}
.location-item div { display: flex; flex-direction: column; gap: 2px; }
.location-item strong { font-size: 0.78rem; color: #aaa; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.location-item p { font-weight: 700; color: #1a1a2e; font-size: 0.95rem; line-height: 1.4; }
.location-item small { color: #bbb; font-size: 0.8rem; }

@media (max-width: 768px) {
  .location-inner { grid-template-columns: 1fr; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: #0d1b3e; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-text small  { color: rgba(255,255,255,.5); }
.footer-brand .logo-icon { background: rgba(255,255,255,.1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: 0.9rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; }
.footer-links a:hover { color: #FFD700; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; margin-bottom: 10px; }
.footer-contact i { color: #FFD700; width: 16px; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,.35); display: flex; flex-direction: column; gap: 4px; }

/* =============================================
   FLOATING
   ============================================= */
.float-cta {
  position: fixed; right: 24px; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.25); z-index: 999; transition: transform .2s;
}
.float-cta:hover { transform: scale(1.12); }
.float-phone { bottom: 168px; background: #1a3a6b; color: #fff; }
.float-kakao { bottom: 104px; background: #FEE500; color: #3c1e1e; }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; padding: 36px; width: 100%; max-width: 440px;
  position: relative; animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: #f0f0f0; border: none;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 0.9rem; color: #555;
}
.modal h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.modal-product-name { font-size: 0.85rem; color: #1a3a6b; font-weight: 600; margin-bottom: 20px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner  { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-notice .divider { display: none; }
  .gnb { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 24px; box-shadow: 0 8px 30px rgba(0,0,0,.1); z-index: 100; }
  .gnb.open { display: block; }
  .gnb ul { flex-direction: column; gap: 0; }
  .gnb a { display: block; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: 1rem; }
  .hamburger { display: flex; }
  .header-cta  { display: none; }
  .header-inner { position: relative; }

  .banner-slide { padding: 48px 0; min-height: auto; }
  .banner-content { grid-template-columns: 1fr; }
  .banner-image  { display: none; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mid-promo-inner { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 28px; }
  .trust-items   { gap: 20px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .about-badges { grid-template-columns: 1fr 1fr; }
  .about-stats  { gap: 16px; }
  .float-cta    { right: 16px; }
}
