:root {
  --bg-white: #ffffff;
  --bg-gray: #f3f4f7;
  --bg-beige: #f7f1e6;
  --navy: #1b3358;
  --navy-dark: #12233d;
  --text: #333d47;
  --text-light: #6b7280;
  --border: #e4e6eb;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 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(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.logo svg { flex: none; }
.gnb {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.gnb a { padding: 4px 2px; }
.gnb a:hover { color: var(--navy); }
.gnb .btn-call {
  background: var(--navy);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.gnb .btn-call:hover { background: var(--navy-dark); }

@media (max-width: 640px) {
  .site-header .wrap { height: 56px; }
  .logo { font-size: 16px; }
  .gnb { gap: 12px; font-size: 13px; }
  .gnb .btn-call { padding: 7px 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background-image: linear-gradient(180deg, var(--bg-gray) 0%, var(--bg-white) 100%), var(--hero-img);
  background-size: cover, cover;
  background-position: center, center;
  padding: 64px 0 48px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.68) 55%, rgba(255,255,255,0.94) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(27,51,88,0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 14px;
  line-height: 1.35;
}
.hero p.sub {
  max-width: 560px;
  margin: 0 auto 26px;
  color: var(--text-light);
  font-size: 16px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-badges span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
}
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 34px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 10px 24px rgba(27,51,88,0.22);
}
.btn-primary:hover { background: var(--navy-dark); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  display: inline-block;
  background: var(--bg-white);
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 34px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: rgba(27,51,88,0.06); }

/* ---------- back button ---------- */
.back-nav { padding: 18px 0 0; }
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}
.btn-back:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- section heading ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; color: var(--navy-dark); margin: 0 0 10px; }
.section-head p { color: var(--text-light); font-size: 15px; margin: 0; }

/* ---------- NSEO card grid ---------- */
.service-grid {
  padding: 56px 0;
  background: var(--bg-white);
}
.card-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(20,30,50,0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.service-card .thumb { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-card .body { padding: 16px 16px 20px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.service-card p { font-size: 13.5px; color: var(--text-light); margin: 0 0 16px; flex: 1; }
.btn-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(27,51,88,0.08);
  padding: 6px 14px;
  border-radius: 999px;
  align-self: flex-start;
}
.btn-more:hover { background: rgba(27,51,88,0.16); }

@media (max-width: 980px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .card-row { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
}

/* ---------- season zigzag ---------- */
.season { padding: 8px 0; }
.season-row {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}
.season-row:nth-child(odd) { background: var(--bg-white); }
.season-row:nth-child(even) { background: var(--bg-beige); }
.season-row .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.season-photo { text-align: center; }
.season-photo img {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto;
}

/* ---------- season particle fx (covers full row) ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.fx span { position: absolute; top: -15%; left: var(--l); animation-delay: var(--d); animation-iteration-count: infinite; animation-timing-function: linear; }

.fx-spring span { font-size: 18px; animation-name: fx-drift; animation-duration: 6s; }
.fx-spring span::before { content: "🌸"; }

.fx-autumn span { font-size: 18px; animation-name: fx-drift; animation-duration: 7.5s; }
.fx-autumn span::before { content: "🍂"; }
.fx-autumn span:nth-child(even)::before { content: "🍁"; }

.fx-winter span { font-size: 16px; color: #eaf4ff; text-shadow: 0 0 3px rgba(255,255,255,0.8); animation-name: fx-snow; animation-duration: 8s; }
.fx-winter span::before { content: "❄"; }

.fx-summer span {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, rgba(150,190,255,0) 0%, rgba(150,190,255,0.85) 60%, rgba(150,190,255,0) 100%);
  border-radius: 2px;
  animation-name: fx-rain;
  animation-duration: 0.9s;
}

@keyframes fx-drift {
  0% { transform: translate(0, -15%) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translate(18px, 55%) rotate(160deg); }
  92% { opacity: 1; }
  100% { transform: translate(-14px, 118%) rotate(320deg); opacity: 0; }
}
@keyframes fx-rain {
  0% { transform: translate(0, -15%); opacity: 0.9; }
  100% { transform: translate(-22px, 120%); opacity: 0.9; }
}
@keyframes fx-snow {
  0% { transform: translate(0, -15%) rotate(0deg); opacity: 0.85; }
  25% { transform: translate(16px, 20%) rotate(90deg); }
  50% { transform: translate(-10px, 50%) rotate(180deg); }
  75% { transform: translate(20px, 80%) rotate(270deg); }
  100% { transform: translate(-6px, 118%) rotate(360deg); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .fx span { animation: none; }
}
.season-text h3 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--navy-dark); margin: 0 0 14px; }
.season-text p { font-size: 15px; color: var(--text); margin: 0 0 14px; max-width: 46ch; }
.season-highlight {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(27,51,88,0.08);
  padding: 8px 14px;
  border-radius: 10px;
}

@media (max-width: 780px) {
  .season-row .wrap { grid-template-columns: 1fr; gap: 20px; }
  .season-row { padding: 40px 0; }
  .season-text { text-align: center; }
  .season-text p { margin-left: auto; margin-right: auto; }
}

/* ---------- about ---------- */
.about { background: var(--bg-beige); padding: 60px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; color: var(--navy-dark); margin: 0 0 16px; }
.about p { font-size: 15.5px; color: var(--text); max-width: 50ch; }
.about-photo img { width: 100%; max-width: 480px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin: 0 auto; }

@media (max-width: 780px) {
  .about .wrap { grid-template-columns: 1fr; text-align: center; }
  .about p { margin-left: auto; margin-right: auto; }
}

/* ---------- process ---------- */
.process { padding: 60px 0; background: var(--bg-white); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.process-step {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
}
.process-step .num {
  width: 34px; height: 34px;
  line-height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin: 0 auto 12px;
}
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--navy-dark); margin: 0 0 8px; }
.process-step p { font-size: 13px; color: var(--text-light); margin: 0; }

@media (max-width: 980px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---------- image grid (detail pages) ---------- */
.photo-grid { padding: 8px 0 48px; }
.photo-grid .grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.photo-grid .grid5 figure { margin: 0; text-align: center; }
.photo-grid .grid5 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .photo-grid .grid5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .photo-grid .grid5 { grid-template-columns: 1fr; max-width: 340px; }
}

/* ---------- generic content block (detail pages) ---------- */
.content-block { padding: 20px 0 48px; }
.content-block .wrap { max-width: 780px; }
.content-block h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--navy-dark); margin: 36px 0 14px; text-align: center; }
.content-block p { font-size: 15.5px; color: var(--text); margin: 0 0 14px; }
.check-list { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; }
.check-list li {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text);
}

/* ---------- FAQ accordion ---------- */
.faq { background: var(--bg-gray); padding: 60px 0; }
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .icon {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  position: relative;
}
.accordion-item summary .icon::before,
.accordion-item summary .icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-item summary .icon::before { width: 10px; height: 1.6px; }
.accordion-item summary .icon::after { width: 1.6px; height: 10px; transition: transform .15s; }
.accordion-item[open] summary .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-item .a-body { padding: 0 20px 20px; font-size: 14.5px; color: var(--text-light); }
.faq-cta { text-align: center; margin-top: 30px; }

/* ---------- CTA ---------- */
.cta-final {
  background: var(--navy-dark);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-final h2 { font-size: clamp(22px, 3.6vw, 30px); font-weight: 800; margin: 0 0 14px; }
.cta-final p { font-size: 15.5px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 26px; }
.cta-final .btn-primary { background: #fff; color: var(--navy-dark); box-shadow: none; }
.cta-final .btn-primary:hover { background: var(--bg-gray); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); padding: 34px 0 100px; font-size: 13.5px; }
.site-footer .foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.site-footer .foot-top a { font-weight: 700; color: #fff; }
.site-footer .biz-info p { margin: 3px 0; }
@media (max-width: 640px) { .site-footer { padding-bottom: 120px; } }

/* ---------- floating call (PC) ---------- */
.float-call {
  position: fixed;
  right: 26px;
  bottom: 90px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(27,51,88,0.3);
}
.float-call svg { width: 24px; height: 24px; }
.float-call span { font-size: 10.5px; font-weight: 700; }
@media (max-width: 780px) { .float-call { display: none; } }

/* ---------- mobile fixed bottom bar ---------- */
.mobile-call-bar { display: none; }
@media (max-width: 780px) {
  .mobile-call-bar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--navy);
    color: #fff;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.12);
  }
}

/* ---------- sitemap page ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.sitemap-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.sitemap-card h3 { font-size: 16px; font-weight: 700; color: var(--navy-dark); margin: 0 0 8px; }
.sitemap-card p { font-size: 13.5px; color: var(--text-light); margin: 0 0 14px; }
@media (max-width: 640px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0 20px;
}
.contact-box p { font-size: 15.5px; color: var(--text); }
.prep-list {
  max-width: 640px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}
.prep-list li {
  list-style: none;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
}
@media (max-width: 640px) { .prep-list { grid-template-columns: 1fr; } }

section[id] { scroll-margin-top: 72px; }
