/* ============================
   아자스카이 공통 스타일
   ============================ */

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

:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2440;
  --primary-light: #eef2f6;
  --accent: #c9a45d;
  --accent-dark: #a8853d;
  --text: #1a1a1a;
  --text-light: #4a4a4a;
  --bg: #ffffff;
  --bg-gray: #f7f8fa;
  --border: #d8dde5;
  --shadow: 0 2px 8px rgba(15, 36, 64, 0.08);
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Malgun Gothic", "맑은 고딕", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a { text-decoration: none; color: inherit; }

/* ====== CHANNEL BAR ====== */
.channel-bar {
  background: #0f2440;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 6px 20px;
  border-bottom: 1px solid rgba(201, 164, 93, 0.3);
}

.channel-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.channel-bar-label { opacity: 0.8; }

.channel-bar-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.channel-bar-links a {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.channel-bar-links a:hover { color: #ffd54f; }

@media (max-width: 600px) {
  .channel-bar-label { display: none; }
  .channel-bar-inner { justify-content: center; }
}

/* ====== HEADER ====== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.3px;
}

.logo span { color: var(--accent); font-weight: 700; }

/* 공식 본사 뱃지 */
.hq-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 1px;
  margin-left: 8px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(201, 164, 93, 0.15);
}

.hq-badge::before {
  content: '◆';
  color: var(--accent);
  font-size: 9px;
}

@media (max-width: 600px) {
  .hq-badge { font-size: 9px; padding: 2px 6px; margin-left: 6px; }
  .hq-badge::before { display: none; }
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tel a {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-tel a:hover { background: var(--accent-dark); }

/* ====== HERO ====== */
.hero {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 90px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 19px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(245,124,0,0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,124,0,0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ====== STATS BAR ====== */
.stats-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 20px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 2px;
}

/* ====== SECTIONS ====== */
.section {
  padding: 72px 20px;
}

.section-gray { background: var(--bg-gray); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}

.section-title em {
  font-style: normal;
  color: var(--primary);
}

.section-sub {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 48px;
}

/* ====== CARDS ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,92,181,0.15);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.65;
}

/* ====== USE CASES ====== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.use-case-item {
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.use-case-item .icon { font-size: 24px; flex-shrink: 0; }
.use-case-item span { font-size: 15px; font-weight: 600; }

/* ====== PROCESS ====== */
.process-steps {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  counter-reset: step;
}

.step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 28px 16px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--primary);
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 14px;
}

.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p { font-size: 13px; color: var(--text-light); }

/* ====== FAQ ====== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.faq-q::before {
  content: 'Q';
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 13px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.faq-a {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  padding-left: 34px;
}

/* ====== SERVICE AREA ====== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.area-tag {
  background: var(--primary-light);
  color: var(--primary);
  text-align: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(26,92,181,0.2);
  transition: all 0.15s;
}

.area-tag:hover, .area-tag.active {
  background: var(--primary);
  color: #fff;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  opacity: 0.88;
  margin-bottom: 36px;
}

.cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  padding: 20px 48px;
  border-radius: 50px;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: all 0.2s;
}

.cta-tel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ====== FOOTER ====== */
footer {
  background: #111827;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

.footer-info p { margin-bottom: 5px; }
.footer-info strong { color: #fff; }

.footer-channel-title {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  width: fit-content;
}

.footer-link.naver-place {
  background: rgba(3, 199, 90, 0.12);
  color: #03c75a;
  border: 1px solid rgba(3, 199, 90, 0.25);
}
.footer-link.naver-place:hover { background: rgba(3, 199, 90, 0.22); }

.footer-link.naver-blog {
  background: rgba(3, 199, 90, 0.08);
  color: #1ec800;
  border: 1px solid rgba(3, 199, 90, 0.2);
}
.footer-link.naver-blog:hover { background: rgba(3, 199, 90, 0.16); }

.footer-link.tistory {
  background: rgba(255, 99, 0, 0.10);
  color: #ff6300;
  border: 1px solid rgba(255, 99, 0, 0.22);
}
.footer-link.tistory:hover { background: rgba(255, 99, 0, 0.20); }

.footer-link.wordpress {
  background: rgba(33, 117, 155, 0.12);
  color: #21759b;
  border: 1px solid rgba(33, 117, 155, 0.25);
}
.footer-link.wordpress:hover { background: rgba(33, 117, 155, 0.22); }

/* ====== FOOTER 연혁 타임라인 ====== */
.footer-timeline {
  background: #0a1628;
  border-top: 1px solid #1f2937;
  padding: 36px 24px 32px;
}

.footer-timeline-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-timeline-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 24px;
}

.footer-timeline-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-top: 14px;
}

.footer-timeline-list::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,164,93,0.4) 20%, rgba(201,164,93,0.4) 80%, transparent);
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #0a1628;
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.timeline-event {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer-timeline-list {
    flex-direction: column;
    gap: 18px;
    padding-top: 0;
  }
  .footer-timeline-list::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 24px; text-align: left; }
  .timeline-item::before { top: 6px; left: 0; transform: none; }
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  text-align: center;
  padding: 18px 24px;
  font-size: 13px;
  color: #4b5563;
}

footer strong { color: #fff; }

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 24px;
  }
}

/* ====== FLOATING CTA ====== */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.float-btn {
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(245,124,0,0.5);
  transition: all 0.2s;
  white-space: nowrap;
}

.float-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

/* ====== HEADER NAV ====== */
.header-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.header-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.15s;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 960px) {
  .header-nav { display: none; }
}

/* ====== GALLERY ====== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(26,92,181,0.0);
  transition: background 0.3s;
}

.gallery-item:hover .overlay { background: rgba(26,92,181,0.15); }

/* ====== SUB-PAGE HERO ====== */
.subpage-hero {
  background: linear-gradient(135deg, rgba(13,61,138,0.90) 0%, rgba(26,92,181,0.84) 100%),
    url('images/KakaoTalk_20250421_182649122.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 64px 20px 72px;
}

.subpage-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.subpage-hero h1 em { font-style: normal; color: var(--accent); }

.subpage-hero p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* ====== PRICE TABLE ====== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.price-table tr:nth-child(even) td { background: var(--bg-gray); }
.price-table td strong { color: var(--primary); }

/* ====== LOCAL PAGE SPECIFIC ====== */
.local-area-section {
  background: var(--primary);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.local-area-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.local-area-section p {
  opacity: 0.85;
  margin-bottom: 24px;
}

.dong-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.dong-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .btn-primary { font-size: 17px; padding: 14px 28px; }

  .section { padding: 52px 16px; }
  .section-title { font-size: 24px; }

  .stats-inner { gap: 30px; }

  .step:not(:last-child)::after { display: none; }
  .process-steps { flex-direction: column; }

  .cta-tel { font-size: 22px; padding: 16px 32px; }
  .cta-section h2 { font-size: 24px; }

  .header-tel a { font-size: 15px; padding: 9px 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .logo { font-size: 18px; }
}
