* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --sub: #475569;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #ef4444;
  --accent-dark: #dc2626;
  --soft: #eff6ff;
  --soft-orange: #fff7ed;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 22px 50px rgba(15, 23, 42, 0.12);
}

body {
  margin: 0;
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
  color: var(--text);
  line-height: 1.7;
  word-break: keep-all;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand {
  font-weight: 900;
  font-size: 22px;
  color: #0f172a;
  letter-spacing: -0.4px;
}

.brand-sub {
  font-size: 12px;
  color: #64748b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.top-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 165px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

.top-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.34);
}

/* 히어로 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #0ea5e9 100%);
  padding: 68px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-left h1 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.14;
  letter-spacing: -1.4px;
}

.hero-desc {
  margin: 0;
  max-width: 650px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-contact-inline {
  margin-top: 26px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.inline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-contact-inline strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.hero-contact-inline p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

/* 우측 카드 공통 */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quick-box,
.visual-card,
.panel,
.posts-wrap,
.faq-box,
.bottom-direct-call {
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* 빠른상담 */
.quick-box {
  padding: 24px;
}

.quick-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
}

.quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.quick-row strong {
  font-size: 28px;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.quick-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.2);
}

.quick-desc {
  margin: 16px 0 14px;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
  font-size: 14px;
  color: #64748b;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

/* 비주얼 카드 */
.visual-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 255px;
}

.visual-card-text {
  flex: 1;
}

.visual-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: var(--accent);
}

.visual-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.3;
  color: #0f172a;
  letter-spacing: -0.8px;
}

.visual-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.3;
  color: var(--primary-dark);
  letter-spacing: -0.8px;
}

.visual-card-text p:last-child {
  margin: 0;
  font-size: 14px;
  color: #475569;
}

.visual-icons {
  width: 185px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}

.aircon-icon,
.outdoor-icon {
  position: relative;
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.aircon-icon {
  width: 122px;
  height: 74px;
}

.aircon-icon::before,
.aircon-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 6px;
  border-radius: 999px;
  background: #cbd5e1;
}

.aircon-icon::before {
  top: 22px;
}

.aircon-icon::after {
  top: 36px;
}

.outdoor-icon {
  width: 122px;
  height: 96px;
}

.outdoor-icon::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 6px solid #94a3b8;
}

.outdoor-icon::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 40px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.check-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.22);
}

/* 본문 */
.main-area {
  padding: 36px 0 90px;
}

.two-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel {
  padding: 28px;
}

.panel:hover,
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.panel-badge,
.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft-orange);
  color: #c2410c;
  font-size: 12px;
  font-weight: 900;
}

.panel h2,
.posts-wrap h2,
.faq-top h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.28;
  color: #0f172a;
  letter-spacing: -0.8px;
}

.panel-text {
  margin: 0 0 18px;
  font-size: 15px;
  color: #64748b;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.info-table {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f7;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row strong {
  font-size: 15px;
  color: #111827;
}

.info-row p {
  margin: 0;
  font-size: 15px;
  color: #475569;
}

/* 최신글 */
.posts-wrap {
  margin-top: 30px;
  padding: 28px;
}

.post-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.post-card {
  margin-top: 0;
  padding: 24px;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.post-date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.post-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.42;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.post-card p {
  margin: 0 0 18px;
  font-size: 15px;
  color: #64748b;
}

.post-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

/* FAQ */
.faq-box {
  margin-top: 30px;
  padding: 28px;
}

.faq-item + .faq-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #d1d9e6;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.45;
  color: #0f172a;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
  color: #64748b;
}

/* 하단 상담 버튼 */
.bottom-direct-call {
  margin-top: 30px;
  padding: 30px 20px;
  text-align: center;
}

.bottom-direct-call a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 60px;
  padding: 0 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.22);
}

.bottom-direct-call p {
  margin: 12px 0 0;
  font-size: 14px;
  color: #64748b;
}

/* 푸터 */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #e5e7eb;
  padding: 34px 0 42px;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.footer-left strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-left p {
  margin: 4px 0;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.footer-menu a {
  font-size: 14px;
  color: #e5e7eb;
}

.footer-menu a:hover {
  color: #93c5fd;
}

.footer-call-box {
  text-align: right;
}

.footer-call-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  padding: 0 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer-call-box p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #cbd5e1;
}

/* 반응형 */
@media (max-width: 1100px) {
  .hero-grid,
  .two-panel,
  .post-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .footer-call-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .brand-group {
    align-items: center;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero-left h1 {
    font-size: 33px;
  }

  .hero-desc,
  .panel-text,
  .info-row p,
  .post-card p,
  .faq-item p {
    font-size: 14px;
  }

  .quick-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .quick-row strong {
    font-size: 24px;
  }

  .visual-card {
    flex-direction: column;
    min-height: auto;
  }

  .visual-icons {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
  }

  .panel h2,
  .posts-wrap h2,
  .faq-top h2,
  .visual-card h2 {
    font-size: 25px;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bottom-direct-call a,
  .footer-call-box a {
    min-width: 100%;
  }
}