/* ============================================================
   김반장 에어컨설비 — 반응형 원페이지 스타일
   ============================================================ */

:root {
  --navy: #0B3C5D;
  --navy-dark: #082C46;
  --blue: #1D6FA5;
  --sky: #38BDF8;
  --light: #EAF4FA;
  --bg: #F5FAFD;
  --orange: #F97316;
  --amber: #F59E0B;
  --green: #10B981;
  --text: #1F2937;
  --muted: #5B6B7B;
  --white: #FFFFFF;
  --border: #E2ECF3;
  --shadow: 0 10px 30px rgba(11, 60, 93, 0.08);
  --shadow-lg: 0 22px 48px rgba(11, 60, 93, 0.13);
  --radius: 18px;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand2 { display: flex; align-items: center; gap: 12px; }

.brand-logo { border-radius: 12px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -0.3px; }
.brand-text em { font-size: 12px; font-style: normal; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 16px; }
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--navy); }
.nav .nav-cta {
  color: var(--white);
  background: var(--orange);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.nav .nav-cta:hover { background: #e8640a; color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, #E7F4FC 0%, rgba(231, 244, 252, 0) 60%),
    linear-gradient(180deg, #F8FCFE 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.badge {
  display: inline-block;
  background: var(--light);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
  color: var(--navy-dark);
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 20px 0 28px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: 0;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { background: #e8640a; }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--sky); box-shadow: var(--shadow); }

.btn-block { width: 100%; justify-content: center; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.hero-art img {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section:nth-of-type(even) { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy-dark);
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Cards (에어컨 서비스) ===== */
.grid { display: grid; gap: 24px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card-art img { margin: 0 auto 20px; }

.card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-top: 18px;
}
.tags li {
  background: var(--light);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

/* ===== 일반설비 ===== */
.facility-intro {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.facility-copy h3 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.facility-copy p { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.facility-art img { width: 100%; max-width: 540px; margin: 0 auto; }

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--light);
  color: var(--blue);
  margin-bottom: 16px;
}

.feature h4 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ===== 진행 절차 ===== */
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== 연락처 ===== */
.contact-wrap {
  display: grid;
  gap: 32px;
  align-items: start;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--sky);
}
.info-row strong { display: block; font-size: 15px; margin-bottom: 2px; }
.info-row a, .info-row span { color: #D7E7F2; font-size: 15px; }
.info-row a:hover { color: var(--white); text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  gap: 18px;
}

.contact-form label { display: flex; flex-direction: column; gap: 7px; }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form label span { font-size: 14px; font-weight: 700; color: var(--navy); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #FBFDFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}
.contact-form textarea { resize: vertical; }

.form-note { font-size: 12.5px; color: var(--muted); }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: #C6D8E5;
  padding: 48px 0 36px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 10px; }
.footer-brand strong { color: var(--white); font-size: 17px; }
.footer-brand p { font-size: 13px; color: #9FB6C8; }

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: 14px; color: #C6D8E5; }
.footer-links a:hover { color: var(--sky); }

.footer-copy { font-size: 13px; color: #8FA8BB; line-height: 1.8; }

/* ===== 서브 페이지(관리 가이드) 공통 ===== */
.page-hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, #E7F4FC 0%, rgba(231, 244, 252, 0) 60%),
    linear-gradient(180deg, #F8FCFE 0%, #FFFFFF 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy-dark);
  margin: 14px 0;
}
.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.nav a.active { color: var(--navy); }

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--light);
  color: var(--blue);
}
.guide-icon svg { width: 16px; height: 16px; display: block; }

.guide-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.guide-card ul { list-style: none; }
.guide-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.guide-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #D7E7F2; margin-bottom: 26px; font-size: 16px; }

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: 0; }
  .nav .nav-cta { text-align: center; margin-top: 12px; }
  .nav-toggle { display: flex; }
}

@media (min-width: 900px) {
  .header-inner { height: 80px; }
  html { scroll-padding-top: 96px; }

  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; padding-top: 96px; padding-bottom: 96px; }

  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  .facility-intro { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-wrap { grid-template-columns: 0.85fr 1.15fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }

  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .footer-copy { width: 100%; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
