@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

/* ── Base & Global ── */
:root {
  --brand-navy: #0f172a;
  --brand-dark: #1e293b;
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-cyan: #0891b2;
  --brand-amber: #f59e0b;
  --brand-orange: #ea580c;
  --brand-emerald: #10b981;
}

html {
  scroll-behavior: smooth;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  letter-spacing: -0.02em;
}

body {
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Glassmorphism Navigation ── */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.glass-nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Hero Gradient & Pattern ── */
.hero-gradient-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(15, 23, 42, 0.96) 100%);
}

.grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Custom Animations ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobile-menu:not(.hidden) {
  animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.8);
  }
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

.animate-float {
  animation: floatBadge 3s ease-in-out infinite;
}

/* ── Banner Grid (1줄 2개씩 bmain1~4) ── */
.banner-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .banner-2col-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.banner-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Gallery Strip / Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  background-color: #0f172a;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* ── Interactive Estimate Calculator Card Toggles ── */
.calc-card-input:checked + .calc-card-label {
  border-color: #2563eb;
  background-color: rgba(37, 99, 235, 0.08);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.calc-card-input:checked + .calc-card-label .check-indicator {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* ── Chips & Tags ── */
.kw-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
  text-decoration: none;
}

.kw-chip:hover {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  transform: translateY(-1px);
}

/* ── Bottom Pre-Footer Banner ── */
.pre-footer-banner {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 20px;
}
.pre-footer-banner img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  display: block;
}

/* ── Floating Actions Smart Docking ── */
#floatingActions {
  transition: bottom 0.12s ease-out, transform 0.25s ease;
}

/* ── Icon Display Assurance ── */
i.fa-solid, i.fa-regular, i.fa-brands {
  display: inline-block;
  line-height: 1;
}
svg.lucide {
  display: inline-block;
  vertical-align: middle;
}

