/* ceilingfanpro.urbanfixkor.com - 어반픽스 천장실링팬 */

:root {
  --white: #ffffff;
  --gray: #f4f5f7;
  --gray-border: #e3e6eb;
  --beige: #f8f2e6;
  --beige-border: #ecdfc4;
  --navy: #16305c;
  --navy-dark: #0e2143;
  --sky: #e9f2fc;
  --sky-border: #cfe2f5;
  --text: #33363d;
  --text-light: #6b7078;
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: 64px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; border-top: 1px solid rgba(17,24,39,0.07); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; }
.section-head p { margin-top: 12px; color: var(--text-light); font-size: 16px; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray); }
.bg-beige { background: var(--beige); }
.bg-navy { background: var(--navy); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 700; color: var(--navy); }
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: var(--text); }
.nav-menu a:hover { color: var(--navy); }
.nav-menu a.nav-cta {
  background: var(--navy); color: var(--white); padding: 9px 18px; border-radius: 100px;
}
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 30%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 68%);
  z-index: -1;
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 64% 42%;
}
.hero-inner { max-width: 620px; padding: 60px 0; }
.hero-eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--navy);
  background: var(--white); border: 1px solid var(--beige-border);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 42px; font-weight: 800; letter-spacing: -1px; color: var(--navy-dark);
  line-height: 1.35;
}
.hero-sub { margin-top: 18px; font-size: 17px; color: var(--text); max-width: 520px; }
.hero-tags { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tag {
  font-size: 14px; font-weight: 700; color: var(--navy);
  background: var(--white); border: 1px solid var(--beige-border); padding: 7px 14px; border-radius: 100px;
}
.hero-cta { margin-top: 30px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 100px; font-size: 16px; font-weight: 700;
  border: none; transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* Back button */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-light);
  background: var(--gray); border: 1px solid var(--gray-border);
  padding: 7px 14px; border-radius: 100px; margin: 24px 0 0;
}
.back-link:hover { color: var(--navy); border-color: var(--navy); }

/* Card grids */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 20px rgba(20,30,60,0.05);
  display: flex; flex-direction: column;
}
.card-thumb { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--gray); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0 auto; }
.card-grid-lg .card-thumb { aspect-ratio: 1/1.05; }
.card-thumb-consult {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--navy);
}
.card-thumb-consult svg { width: 44%; height: 44%; }
.card-consult .card-body h3 { color: var(--navy); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; }
.card-body p { font-size: 14px; color: var(--text-light); flex: 1; }
.card-link { font-size: 14px; font-weight: 700; color: var(--navy); }

.photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; justify-items: center; }
.photo-grid figure { margin: 0; width: 100%; text-align: center; }
.photo-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 0 auto;
  border: 1px solid var(--gray-border);
}
.photo-grid figcaption { margin-top: 8px; font-size: 12.5px; color: var(--text-light); }

.single-photo { max-width: 460px; margin: 0 auto; }
.single-photo img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius); border: 1px solid var(--gray-border);
  box-shadow: 0 10px 26px rgba(20,30,60,0.08);
}

/* Before / After */
.case-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 860px; margin: 0 auto; }
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 16px; border: 1px solid var(--gray-border); }
.case-item { text-align: center; }
.case-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin: 0 auto; }
.case-item span { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--text-light); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.4; }
.about-text p { margin-top: 18px; font-size: 16px; color: var(--text); max-width: 480px; }
.about-photo { text-align: center; }
.about-photo img, .about-photo video { width: 100%; max-width: 460px; aspect-ratio: 4/4.5; object-fit: cover; object-position: 64% 42%; border-radius: var(--radius); margin: 0 auto; }

/* Season banner */
.season {
  padding: 90px 0; text-align: center; position: relative; overflow: hidden;
  border-top: 1px solid var(--gray-border);
}
.season h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.5; color: var(--text); }

.season-lines { margin: 30px auto 0; max-width: 560px; }
.season-line {
  font-size: 18px; color: var(--text-light); line-height: 1.8;
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.season.in-view .season-line { opacity: 1; transform: none; }
.season.in-view .season-line:nth-child(1) { transition-delay: .1s; }
.season.in-view .season-line:nth-child(2) { transition-delay: .35s; }
.season.in-view .season-line:nth-child(3) { transition-delay: .6s; }

.season-wind { position: relative; height: 60px; margin-top: 34px; overflow: hidden; }
.wind-icon {
  position: absolute; left: -15%; color: #2f6fed;
  opacity: 0; animation: wind-flow 4s linear infinite;
}
.wind-icon-swirl { width: 64px; height: 34px; top: 2%; animation-delay: 0s; }
.wind-icon-line { width: 46px; height: 16px; top: 44%; animation-delay: 1.3s; }
.wind-icon-swirl-sm { width: 52px; height: 28px; top: 72%; animation-delay: 2.6s; }

@keyframes wind-flow {
  0% { left: -15%; opacity: 0; }
  12% { opacity: .75; }
  85% { opacity: .75; }
  100% { left: 110%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wind-icon { animation: none; opacity: .6; left: 40%; }
}

/* Situation / checklist / process cards */
.sit-grid { grid-template-columns: repeat(3, 1fr); }
.sit-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start;
}
.sit-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--beige); color: var(--navy); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.sit-card p { font-size: 15px; }

.sit-card {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.sit-grid.in-view .sit-card { opacity: 1; transform: none; }
.sit-grid.in-view .sit-card:nth-child(1) { transition-delay: .0s; }
.sit-grid.in-view .sit-card:nth-child(2) { transition-delay: .09s; }
.sit-grid.in-view .sit-card:nth-child(3) { transition-delay: .18s; }
.sit-grid.in-view .sit-card:nth-child(4) { transition-delay: .27s; }
.sit-grid.in-view .sit-card:nth-child(5) { transition-delay: .36s; }
.sit-grid.in-view .sit-card:nth-child(6) { transition-delay: .45s; }

.process-grid { grid-template-columns: repeat(5, 1fr); }
.process-card { text-align: center; padding: 8px; }
.process-step {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  margin: 0 auto 16px;
}
.process-card h3 { font-size: 15.5px; font-weight: 700; }
.process-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-light); }

.check-grid { grid-template-columns: repeat(2, 1fr); }
.check-item {
  display: flex; align-items: center; gap: 12px; background: var(--white);
  border: 1px solid var(--gray-border); border-radius: 10px; padding: 15px 18px; font-size: 15px; font-weight: 500;
}
.check-item svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--navy); }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-border); padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--gray-border); }
.faq-q { font-size: 16px; font-weight: 700; display: flex; gap: 10px; }
.faq-q span.mark { color: var(--navy); flex-shrink: 0; }
.faq-a { margin-top: 10px; font-size: 14.5px; color: var(--text-light); padding-left: 24px; }

.faq-card-grid { grid-template-columns: repeat(2, 1fr); }
.faq-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: 0 6px 20px rgba(20,30,60,0.05);
}
.faq-card .faq-a { padding-left: 0; }

/* Final CTA */
.final-cta {
  padding: 72px 0; border-top: 1px solid rgba(17,24,39,0.07);
  background: var(--sky); color: var(--text);
}
.final-cta .container {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.final-cta-text { text-align: left; }
.final-cta h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: var(--navy-dark); }
.final-cta p { margin-top: 16px; max-width: 480px; font-size: 15.5px; color: var(--text-light); }
.final-cta .btn { margin-top: 28px; }
.final-cta-visual {
  flex-shrink: 0; width: 180px; height: 180px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--sky-border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(22,48,92,0.1);
}
.final-cta-visual svg { width: 62%; height: 62%; color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: 16px; }
.footer-brand svg { width: 22px; height: 22px; }
.footer-sitemap-link { font-size: 14px; font-weight: 600; color: var(--white); border: 1px solid rgba(255,255,255,0.3); padding: 8px 16px; border-radius: 100px; }
.footer-biz { margin-top: 20px; font-size: 13px; line-height: 2; color: rgba(255,255,255,0.6); }
.footer-biz b { color: rgba(255,255,255,0.85); font-weight: 600; }

/* Floating call button (PC) */
.float-call {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  box-shadow: 0 10px 26px rgba(15,33,67,0.35);
}
.float-call svg { width: 22px; height: 22px; }
.float-call span { font-size: 10.5px; font-weight: 700; }

/* Mobile fixed bottom bar */
.mobile-call-bar { display: none; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-text p { max-width: none; }
  .faq-card-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid-lg { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .section { padding: 52px 0; }
  .final-cta .container { flex-direction: column; text-align: center; }
  .final-cta-text { text-align: center; }
  .final-cta p { margin-left: auto; margin-right: auto; }
  .final-cta-visual { order: -1; width: 120px; height: 120px; }
  .section-head h2 { font-size: 24px; }
  .hero { min-height: 440px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 45%, rgba(255,255,255,0.2) 72%, rgba(255,255,255,0.4) 100%);
  }
  .hero-video { object-position: 60% 38%; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .grid-5 { grid-template-columns: 1fr; }
  .grid-3, .grid-6, .sit-grid { grid-template-columns: 1fr; }
  .case-pair { grid-template-columns: 1fr; }
  .case-before { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .float-call { display: none; }
  body { padding-bottom: 78px; }
  .mobile-call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 12px 16px; background: var(--white); border-top: 1px solid var(--gray-border);
    box-shadow: 0 -6px 18px rgba(20,30,60,0.08);
  }
  .mobile-call-bar .btn { width: 100%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 26px; }
}
