/* ===== CSS Variables ===== */
:root {
  --navy: #0F2742;
  --blue: #1769AA;
  --orange: #FF8A00;
  --white: #FFFFFF;
  --gray-bg: #F5F7FA;
  --text-dark: #1F2933;
  --text-muted: #5F6B7A;
  --kakao: #FEE500;
  --kakao-text: #3C1E1E;
  --shadow: 0 4px 24px rgba(15, 39, 66, 0.10);
  --shadow-lg: 0 8px 40px rgba(15, 39, 66, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 64px;
  --mobile-cta-h: 60px;
  --transition: 0.2s ease;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  padding-bottom: var(--mobile-cta-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 138, 0, 0.35);
}

.btn-primary:hover {
  background: #e67d00;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.45);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--gray-bg);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.4);
}

.btn-accent:hover {
  background: #e67d00;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-kakao {
  background: var(--kakao);
  color: var(--kakao-text);
}

.btn-kakao:hover {
  background: #f5d800;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 39, 66, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span {
  color: var(--orange);
}

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

.header-phone {
  display: none;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 64px;
  overflow: hidden;
  background-color: var(--navy);
  background-image: linear-gradient(
    105deg,
    rgba(15, 39, 66, 0.93) 0%,
    rgba(15, 39, 66, 0.78) 42%,
    rgba(23, 105, 170, 0.32) 100%
  ), url("images/banner.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(15, 39, 66, 0.4);
}

.hero-sub {
  font-size: clamp(15px, 3vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 138, 0, 0.2);
  border: 1px solid rgba(255, 138, 0, 0.5);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd699;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Sections ===== */
.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

.section-title.light {
  color: var(--white);
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 15px;
}

/* ===== Services ===== */
.services {
  background: var(--gray-bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Advantages ===== */
.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.advantage-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
}

.advantage-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.advantage-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Process ===== */
.process {
  background: var(--navy);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 32px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 48px;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% - 48px);
  background: rgba(255, 255, 255, 0.15);
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  background: var(--gray-bg);
  aspect-ratio: 4 / 3;
}

.gallery-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slider img {
    transition: none;
  }
}

.gallery-caption {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-caption strong {
  font-size: 15px;
  color: var(--navy);
}

.gallery-caption p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Pricing ===== */
.pricing {
  background: var(--gray-bg);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}

.price-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.price-amount span {
  font-size: 36px;
  font-weight: 800;
  color: var(--orange);
}

.price-fee-highlight {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.price-fee-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

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

.faq-item {
  border-bottom: 1px solid #e8ecf0;
}

.faq-item:first-child {
  border-top: 1px solid #e8ecf0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center;
  padding: 80px 0;
}

.bottom-cta-phone {
  margin-bottom: 32px;
}

.bottom-cta-phone a {
  font-size: clamp(32px, 7vw, 48px);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
}

.bottom-cta .cta-group {
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background: #0a1e33;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 calc(40px + var(--mobile-cta-h));
  font-size: 14px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}

.footer-details a {
  color: var(--orange);
}

.footer-details a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* ===== Mobile Fixed CTA Bar ===== */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  height: var(--mobile-cta-h);
  background: var(--white);
  border-top: 1px solid #e8ecf0;
  box-shadow: 0 -4px 20px rgba(15, 39, 66, 0.12);
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--transition);
}

.mobile-cta-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-cta-call {
  background: var(--orange);
  color: var(--white);
}

.mobile-cta-call:hover {
  background: #e67d00;
}

.mobile-cta-sms {
  background: var(--blue);
  color: var(--white);
}

.mobile-cta-sms:hover {
  background: #125a8f;
}

.mobile-cta-kakao {
  background: var(--kakao);
  color: var(--kakao-text);
}

.mobile-cta-kakao:hover {
  background: #f5d800;
}

/* ===== Tablet ===== */
@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-steps {
    flex-direction: row;
    max-width: 100%;
    gap: 0;
  }

  .process-step {
    flex: 1;
    padding: 0 12px;
  }

  .process-step:not(:last-child)::after {
    left: auto;
    right: -50%;
    top: 24px;
    transform: none;
    width: 100%;
    height: 2px;
  }
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .header-phone {
    display: block;
  }

  .mobile-cta-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    min-height: 82vh;
    background-position: 75% center;
  }

  .advantage-list {
    gap: 12px;
  }

  .process-step p {
    max-width: 180px;
  }
}

@media (min-width: 1024px) {
  .service-card {
    padding: 24px 20px;
  }

  .service-card h3 {
    font-size: 16px;
  }

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

  .hero {
    min-height: 78vh;
    background-position: right center;
  }
}
