/* ========================================
   하수구왕자 누수공주 - Dark Blue Pro Theme
   ======================================== */
:root {
  --primary: #00B4D8;
  --primary-dark: #0077B6;
  --primary-light: #48CAE4;
  --primary-glow: rgba(0, 180, 216, 0.3);
  --emergency: #FF3B30;
  --emergency-glow: rgba(255, 59, 48, 0.3);
  --bg-dark: #0B1426;
  --bg-darker: #070E1A;
  --bg-card: #111D33;
  --bg-light: #F0F5FA;
  --bg-white: #FFFFFF;
  --text-white: #FFFFFF;
  --text-black: #1A1A2E;
  --text-gray: #6B7B8D;
  --text-light: #9AAFC0;
  --gold: #F5A623;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Noto Sans KR', 'Inter', -apple-system, sans-serif; color: var(--text-black); background: var(--bg-white); line-height: 1.6; word-break: keep-all; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all var(--transition); position: relative; }
.btn-emergency { background: var(--emergency); color: white; box-shadow: 0 4px 20px var(--emergency-glow); }
.btn-emergency:hover { background: #E0342B; transform: translateY(-2px); box-shadow: 0 8px 30px var(--emergency-glow); }
.btn-outline-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-icon { font-size: 18px; }

/* Top Bar */
.topbar { background: var(--emergency); color: white; padding: 8px 0; font-size: 13px; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 16px; }
.topbar-badge { background: white; color: var(--emergency); padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 900; letter-spacing: 0.05em; }
.topbar-phone { color: white; font-weight: 900; text-decoration: underline; }

/* Header */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 20, 38, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,180,216,0.1); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-size: 18px; font-weight: 900; color: var(--primary-light); }
.logo-sub { font-size: 12px; font-weight: 600; color: var(--text-light); letter-spacing: 0.05em; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav-link { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; padding: 4px 0; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-link:hover { color: var(--primary-light); }
.nav-link:hover::after { width: 100%; }
.nav-cta { background: var(--emergency); color: white !important; padding: 8px 20px; border-radius: 50px; font-weight: 700; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: #E0342B; transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--primary-light); transition: all 0.3s ease; transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav { position: fixed; inset: 0; background: rgba(7, 14, 26, 0.97); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.5s ease; }
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mobile-nav-link { color: white; font-size: 24px; font-weight: 700; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
.mobile-nav.active .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,20,38,0.92) 0%, rgba(7,14,26,0.75) 50%, rgba(11,20,38,0.88) 100%); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.badge { padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 700; }
.badge-emergency { background: var(--emergency); color: white; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--emergency-glow); } 50% { box-shadow: 0 0 0 10px rgba(255,59,48,0); } }
.badge-trust { background: rgba(0,180,216,0.15); color: var(--primary-light); border: 1px solid rgba(0,180,216,0.3); }
.badge-rating { background: rgba(245,166,35,0.15); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
.hero-title { font-size: clamp(40px, 7vw, 72px); font-weight: 900; color: white; line-height: 1.15; margin-bottom: 24px; }
.hero-line { display: block; }
.hero-accent { color: var(--primary-light); text-shadow: 0 0 40px var(--primary-glow); }
.hero-desc { font-size: clamp(15px, 2vw, 18px); color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px; background: rgba(255,255,255,0.05); border-radius: var(--radius); border: 1px solid rgba(0,180,216,0.1); backdrop-filter: blur(10px); }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--primary-light); line-height: 1; }
.hero-stat-suffix { font-size: clamp(16px, 2vw, 22px); font-weight: 700; color: var(--primary-light); }
.hero-stat-label { display: block; font-size: 13px; color: var(--text-light); margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator { width: 28px; height: 44px; border: 1.5px solid rgba(0,180,216,0.3); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-indicator span { display: block; width: 3px; height: 8px; background: var(--primary-light); border-radius: 2px; animation: scrollBounce 2s infinite; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: 0.3; } }

/* Section Commons */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.section-tag-light { font-size: 12px; font-weight: 700; color: var(--primary-light); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.2; color: var(--text-black); }
.section-title-light { font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.2; color: white; }
.section-desc { font-size: 17px; color: var(--text-gray); margin-top: 12px; }
.section-desc-light { font-size: 17px; color: var(--text-light); margin-top: 12px; }

/* Trust Banner */
.trust-banner { padding: 80px 0; background: var(--bg-light); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: white; border: 1px solid #e8eef3; transition: all var(--transition); }
.trust-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); border-color: var(--primary); }
.trust-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.trust-item h3 { font-size: 18px; font-weight: 800; color: var(--text-black); margin-bottom: 8px; }
.trust-item p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

/* Services */
.services { padding: 120px 0; background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { border-radius: var(--radius); overflow: hidden; border: 1px solid #e8eef3; transition: all var(--transition); background: white; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: var(--primary); }
.service-card-img { position: relative; height: 200px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(11,20,38,0.5)); }
.service-card-badge { position: absolute; top: 12px; left: 12px; background: var(--emergency); color: white; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text-black); }
.service-card-body p { font-size: 14px; color: var(--text-gray); line-height: 1.7; margin-bottom: 16px; }
.service-price-tag { display: inline-block; background: rgba(0,180,216,0.1); color: var(--primary-dark); padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; }

/* Pricing */
.pricing { position: relative; padding: 120px 0; overflow: hidden; }
.pricing-bg { position: absolute; inset: 0; background: var(--bg-dark); background-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,180,216,0.06) 0%, transparent 70%); }
.pricing-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card { background: var(--bg-card); border-radius: var(--radius); padding: 32px 24px; border: 1px solid rgba(0,180,216,0.1); transition: all var(--transition); position: relative; }
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,0.3); box-shadow: 0 20px 50px rgba(0,180,216,0.08); }
.pricing-card-featured { border-color: var(--primary); background: linear-gradient(135deg, var(--bg-card), rgba(0,180,216,0.08)); }
.pricing-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.pricing-header h3 { font-size: 18px; font-weight: 800; color: white; }
.pricing-price { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.price-from { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.price-amount { font-size: 36px; font-weight: 900; color: var(--primary-light); }
.price-unit { font-size: 16px; font-weight: 600; color: var(--text-light); }
.pricing-features { list-style: none; }
.pricing-features li { font-size: 14px; color: var(--text-light); padding: 8px 0; padding-left: 20px; position: relative; }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.pricing-note { position: relative; text-align: center; font-size: 13px; color: var(--text-light); margin-top: 32px; }

/* Process */
.process { padding: 120px 0; background: var(--bg-light); }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-timeline::before { content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary)); opacity: 0.3; }
.process-step { text-align: center; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-dark); color: var(--primary-light); font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 2px solid var(--primary); position: relative; z-index: 1; }
.step-body h3 { font-size: 18px; font-weight: 800; color: var(--text-black); margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--text-gray); line-height: 1.6; margin-bottom: 12px; }
.step-time { display: inline-block; background: rgba(0,180,216,0.1); color: var(--primary-dark); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }

/* Reviews */
.reviews { padding: 120px 0; background: white; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.review-card { padding: 28px; border-radius: var(--radius); border: 1px solid #e8eef3; transition: all var(--transition); background: white; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); border-color: var(--primary); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.review-badge { font-size: 11px; font-weight: 700; color: var(--primary-dark); background: rgba(0,180,216,0.1); padding: 3px 10px; border-radius: 20px; }
.review-text { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.review-name { font-size: 14px; font-weight: 700; color: var(--text-black); }
.review-info { font-size: 12px; color: var(--text-gray); }

/* Contact */
.contact { position: relative; padding: 120px 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background: var(--bg-dark); background-image: radial-gradient(ellipse 50% 50% at 30% 50%, rgba(0,180,216,0.08) 0%, transparent 70%); }
.contact-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-title { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: white; line-height: 1.2; margin: 16px 0; }
.contact-desc { font-size: 18px; color: var(--text-light); line-height: 1.8; margin-bottom: 32px; }
.contact-buttons { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card { background: var(--bg-card); border-radius: var(--radius); padding: 40px; border: 1px solid rgba(0,180,216,0.15); }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.info-item:last-child { border-bottom: none; }
.info-icon { font-size: 28px; flex-shrink: 0; }
.info-item h4 { font-size: 15px; font-weight: 700; color: var(--primary-light); margin-bottom: 4px; }
.info-item p { font-size: 14px; color: var(--text-light); }
.info-sub { font-size: 12px; color: var(--text-gray); margin-top: 2px; }

/* Footer */
.footer { background: var(--bg-darker); padding: 60px 0 32px; color: var(--text-gray); }
.footer-top { display: flex; justify-content: space-between; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.04); margin-bottom: 24px; }
.footer-logo-text { font-size: 18px; font-weight: 900; color: var(--primary-light); }
.footer-tagline { font-size: 13px; color: var(--text-gray); margin-top: 8px; }
.footer-links { display: flex; gap: 56px; }
.footer-col h5 { font-size: 12px; font-weight: 700; color: var(--primary-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-gray); margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary-light); }
.portfolio-disclaimer { text-align: center; color: #e53e3e; font-weight: 700; font-size: 13px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid rgba(229,62,62,0.3); border-radius: 6px; background: rgba(229,62,62,0.05); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 12px; color: #556; line-height: 1.8; }
.footer-copy { margin-top: 8px; }

/* Animations */
.anim-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.anim-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services, .pricing, .process, .reviews, .contact { padding: 80px 0; }
  .trust-banner { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; max-width: 320px; }
  .contact-buttons { align-items: stretch; }
  .topbar-inner { font-size: 12px; gap: 8px; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 16px; }
  .footer-links { flex-direction: column; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .anim-on-scroll { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
