* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  color: #2b3440;
  background: #F5F9FC;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  position: relative;
}
a { text-decoration: none; color: inherit; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
img { max-width: 100%; display: block; }

/* soft decorative gradient shapes, airy/sky feel */
.bg-deco {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.bg-deco span {
  position: absolute; border-radius: 40%;
  filter: blur(10px);
  opacity: 0.55;
}
.bg-deco .s1 {
  width: 520px; height: 520px; top: -220px; left: -200px;
  background: linear-gradient(135deg, #DCEEFB, #EAF4FC);
}
.bg-deco .s2 {
  width: 420px; height: 420px; top: 320px; right: -220px;
  background: linear-gradient(135deg, #E9F3FC, #F7FBFE);
}
.bg-deco .s3 {
  width: 480px; height: 480px; bottom: -240px; left: -160px;
  background: linear-gradient(135deg, #EFF6FC, #FBFDFF);
}

/* Sticky top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,249,252,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27,75,122,0.08);
}
.topbar-inner {
  max-width: 760px; margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 16px; color: #1B4B7A; }
.brand img { height: 34px; width: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 8px rgba(27,75,122,0.18); }
.brand span { color: #2b3440; }
.topbar .call-btn {
  background: #1B4B7A; color: #fff; font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: 20px;
}

/* Top navigation (real pages) */
.subnav {
  max-width: 760px; margin: 0 auto;
  display: flex; gap: 20px;
  padding: 0 22px 10px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 13.5px; font-weight: 700; color: #6b7a8a;
  white-space: nowrap; padding-bottom: 4px; flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.subnav a:hover, .subnav a.active { color: #1B4B7A; border-color: #1B4B7A; }

/* Hero: full-bleed photo carousel (home page only) */
.hero {
  position: relative;
  height: 78vh; min-height: 480px; max-height: 640px;
  overflow: hidden;
  background: #0f2138;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg-blur {
  position: absolute; inset: -20px;
  background-size: cover; background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.1);
  transform: scale(1.12);
}
.hero-slide .bg-sharp {
  position: absolute; inset: 0;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,35,60,0.15) 0%, rgba(15,35,60,0.05) 40%, rgba(10,25,45,0.78) 100%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 22px 40px 22px;
  max-width: 760px; margin: 0 auto;
  color: #fff;
}
.hero-content .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 700;
  margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.35);
}
.hero-content h1 {
  font-size: 28px; font-weight: 900; line-height: 1.4; margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-content p { font-size: 14.5px; color: rgba(255,255,255,0.92); margin-bottom: 24px; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.hero-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 22px; border-radius: 26px; font-weight: 800; font-size: 14px;
}
.btn-white { background: #1B4B7A; color: #ffffff; box-shadow: 0 8px 22px rgba(10,25,45,0.35); }
.btn-outline { background: #FEE500; color: #3A1D1D; box-shadow: 0 8px 22px rgba(10,25,45,0.35); border: none; }

.hero-dots {
  position: absolute; top: 20px; right: 22px; z-index: 3;
  display: flex; gap: 6px;
}
.hero-dots i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.45);
  transition: all .3s ease;
}
.hero-dots i.active { background: #fff; width: 16px; border-radius: 4px; }

.hero-contact-card {
  position: absolute; top: 24px; left: 22px; z-index: 3;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 12px 18px;
  box-shadow: 0 6px 20px rgba(15,35,60,0.15);
}
.hero-contact-card .label { font-size: 11px; color: #6b7a8a; font-weight: 700; }
.hero-contact-card .num { font-size: 15px; color: #1B4B7A; font-weight: 900; margin-top: 2px; }

/* Page header (inner pages, no photo carousel) */
.page-header {
  padding: 44px 0 30px 0;
  position: relative; z-index: 2;
}
.page-header .section-label { justify-content: center; }
.page-header h1 {
  font-size: 24px; font-weight: 900; color: #1c2733; margin-bottom: 10px;
}
.page-header p { font-size: 14px; color: #5a6672; }
.breadcrumb { font-size: 12px; color: #8b96a3; margin-bottom: 10px; }
.breadcrumb a { color: #3E86C9; font-weight: 700; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Section generic */
section { padding: 44px 0; position: relative; z-index: 2; }
.section-label {
  font-size: 13px; font-weight: 700; color: #3E86C9; margin-bottom: 8px;
  letter-spacing: 0.02em;
}
h2 { font-size: 22px; font-weight: 900; margin-bottom: 14px; color: #1c2733; }
.lead { font-size: 15px; color: #5a6672; margin-bottom: 30px; }

/* Logo card in about section */
.logo-card-wrap { margin-bottom: 26px; }
.logo-card-wrap img {
  width: 100%; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(27,75,122,0.14);
}

/* Trust row */
.trust-row {
  display: flex; justify-content: space-between; gap: 12px;
  background: #fff; border-radius: 18px; padding: 22px 16px;
  box-shadow: 0 8px 28px rgba(27,75,122,0.08);
  margin-top: 8px;
}
.trust-item { flex: 1; text-align: center; }
.trust-item .num { font-size: 20px; font-weight: 900; color: #1B4B7A; }
.trust-item .label { font-size: 12px; color: #8b96a3; margin-top: 4px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.product-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(27,75,122,0.08);
}
.product-photo {
  height: 140px; background: linear-gradient(135deg, #EAF3FB, #F6FAFD);
  display: flex; align-items: center; justify-content: center;
  color: #9fb3c4; font-size: 12px; font-weight: 700;
  overflow: hidden;
}
.product-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product-body { padding: 14px 16px 18px 16px; }
.product-body .name { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: #1c2733; }
.product-body .desc { font-size: 12.5px; color: #7a8794; line-height: 1.55; }

/* Process steps */
.process-list { display: flex; flex-direction: column; gap: 12px; }
.process-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(27,75,122,0.07);
}
.process-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: #1B4B7A; color: #fff; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.process-body .name { font-weight: 800; font-size: 14.5px; color: #1c2733; margin-bottom: 4px; }
.process-body .desc { font-size: 13px; color: #7a8794; line-height: 1.6; }
.process-connector { width: 2px; height: 10px; background: #E0EDF7; margin-left: 34px; }

/* Home teaser links */
.teaser-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: #3E86C9; margin-top: 16px;
}
.section-head-row {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.section-head-row .more-link { font-size: 13px; font-weight: 700; color: #3E86C9; }

/* Gallery */
.gallery-strip {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip img {
  height: 150px; width: auto; border-radius: 14px; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(27,75,122,0.1);
}
.gallery-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.gallery-grid img {
  width: 100%; height: 170px; object-fit: cover; border-radius: 16px;
  box-shadow: 0 6px 18px rgba(27,75,122,0.1);
}

/* Reviews */
.reviews-img { width: 100%; border-radius: 18px; box-shadow: 0 8px 24px rgba(27,75,122,0.1); }

.review-stat-row {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 8px 28px rgba(27,75,122,0.08);
  margin-bottom: 22px;
}
.review-stat-row .star-num { font-size: 30px; font-weight: 900; color: #1B4B7A; }
.review-stat-row .star-num .icon { color: #F5A623; font-size: 24px; }
.review-stat-row .stat-sub { font-size: 13px; color: #6b7a8a; }
.review-stat-row .stat-sub b { color: #1c2733; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.review-card {
  background: #fff; border-radius: 18px; padding: 20px 20px 18px 20px;
  box-shadow: 0 6px 20px rgba(27,75,122,0.08);
  border: 1.5px solid transparent;
}
.review-card.highlight { border-color: #3E86C9; box-shadow: 0 8px 26px rgba(62,134,201,0.18); }
.review-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px;
}
.review-card-name { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: #1c2733; }
.review-badge {
  font-size: 11px; font-weight: 700; color: #3E86C9; background: #E9F3FC;
  padding: 2px 8px; border-radius: 10px;
}
.review-card-stars { font-size: 13px; font-weight: 800; color: #F5A623; white-space: nowrap; }
.review-card-date { font-size: 12px; color: #9aa7b2; margin-bottom: 10px; }
.review-card-text { font-size: 14.5px; color: #465264; line-height: 1.7; }
.review-card-help { font-size: 12px; color: #b6bfc8; margin-top: 12px; }

/* Service area */
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag {
  background: #fff; border: 1px solid #E0EDF7; color: #476279;
  font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 18px;
}
.area-note { font-size: 12.5px; color: #8b96a3; margin-top: 14px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(27,75,122,0.07);
  overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 18px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: #1c2733;
}
.faq-q .q-mark {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: #1B4B7A; color: #fff; font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.faq-q .chevron { flex-shrink: 0; color: #9fb3c4; transition: transform 0.25s ease; font-size: 13px; }
.faq-item.open .faq-q .chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 18px;
}
.faq-item.open .faq-a { padding: 0 18px 20px 18px; }
.faq-a p { font-size: 13.5px; color: #5a6672; line-height: 1.7; padding-left: 34px; }

/* Event banner */
.event-banner {
  background: linear-gradient(120deg, #EAF3FC, #F7FBFE);
  border: 1.5px solid #BFDCF2; border-radius: 18px;
  padding: 22px 20px; text-align: center;
}
.event-banner .tag {
  display: inline-block; background: #1B4B7A; color: #fff; font-size: 12px;
  font-weight: 700; padding: 4px 12px; border-radius: 14px; margin-bottom: 10px;
}
.event-banner .msg { font-size: 16px; font-weight: 700; color: #1c2733; line-height: 1.5; }
.event-banner .sub { font-size: 13px; color: #6b7a8a; margin-top: 6px; }
.event-banner .period { font-size: 12px; color: #3E86C9; font-weight: 700; margin-top: 8px; }

/* Event popup modal (home page, on load) */
.event-modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15,25,40,0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.event-modal-overlay.show { opacity: 1; pointer-events: auto; }
.event-modal {
  background: #fff; border-radius: 22px; max-width: 340px; width: 100%;
  padding: 30px 24px 24px 24px; text-align: center; position: relative;
  box-shadow: 0 20px 60px rgba(15,35,60,0.35);
  transform: translateY(14px) scale(0.97); opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.event-modal-overlay.show .event-modal { transform: translateY(0) scale(1); opacity: 1; }
.event-modal .close-btn {
  position: absolute; top: 12px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #F1F5F9; color: #6b7a8a; font-size: 16px; font-weight: 700;
  cursor: pointer;
}
.event-modal .tag {
  display: inline-block; background: #1B4B7A; color: #fff; font-size: 12px;
  font-weight: 700; padding: 5px 14px; border-radius: 14px; margin-bottom: 16px;
}
.event-modal .icon-badge {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px auto;
  background: linear-gradient(135deg, #E9F3FC, #DCEEFB);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(62,134,201,0.18);
}
.event-modal .icon-badge svg { width: 28px; height: 28px; }
.event-modal .lede { font-size: 13.5px; color: #6b7a8a; font-weight: 700; margin-bottom: 4px; }
.event-modal .amount {
  font-size: 42px; font-weight: 900; line-height: 1.2; margin-bottom: 14px;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #1B4B7A 10%, #3E86C9 60%, #5FA8E8 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.event-modal .amount span {
  font-size: 22px; font-weight: 800; margin-left: 2px;
  background: linear-gradient(100deg, #1B4B7A 10%, #3E86C9 60%, #5FA8E8 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.event-modal .desc {
  font-size: 12.5px; color: #3a5068; line-height: 1.65; margin-bottom: 4px;
  background: #EAF3FC; border: 1px solid #D6E8F8; border-radius: 12px; padding: 12px 14px;
}
.event-modal .desc .cond { display: block; font-weight: 800; color: #1B4B7A; margin-bottom: 3px; }
.event-modal .period {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: #3E86C9;
  background: #E9F3FC; padding: 5px 12px; border-radius: 12px; margin: 12px 0 18px 0;
}
.event-modal .modal-buttons { display: flex; gap: 8px; }
.event-modal .modal-buttons .btn { flex: 1; justify-content: center; font-size: 13.5px; padding: 12px 10px; }
.event-modal .dismiss-link {
  display: inline-block; margin-top: 16px; font-size: 12px; color: #9aa7b2;
  border-bottom: 1px solid #d8dfe6; padding-bottom: 1px; cursor: pointer;
}

/* Contact */
.contact-card {
  background: linear-gradient(135deg, #16324F, #1B4B7A);
  border-radius: 20px; padding: 32px 24px; text-align: center; color: #fff;
}
.contact-card h3 { font-size: 19px; font-weight: 900; margin-bottom: 6px; }
.contact-card .phone { font-size: 26px; font-weight: 900; color: #9FD3FF; margin: 14px 0; }
.contact-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.contact-buttons .btn { font-size: 13.5px; padding: 12px 18px; }
.btn-blue { background: #3E86C9; color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

footer {
  text-align: center; padding: 26px 20px 40px 20px;
  font-size: 12px; color: #9aa7b2; position: relative; z-index: 2;
}

/* Floating action buttons */
.fab-container {
  position: fixed; right: 18px; bottom: 22px; z-index: 200;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.fab-container.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(15,35,60,0.25);
  transition: transform 0.2s ease;
}
.fab:active { transform: scale(0.92); }
.fab-call { background: #1B4B7A; }
.fab-kakao { background: #FEE500; }
.fab-top { background: #ffffff; border: 1.5px solid #E0EDF7; width: 42px; height: 42px; box-shadow: 0 4px 14px rgba(15,35,60,0.14); align-self: flex-end; }
.fab-top svg path { fill: #6b7a8a; }
.fab svg { width: 24px; height: 24px; }
.fab-top svg { width: 18px; height: 18px; }

/* Desktop phone number popup (shown instead of attempting a tel: dial) */
.phone-popup {
  position: fixed; left: 50%; bottom: 32px; z-index: 1200;
  transform: translate(-50%, 14px);
  display: flex; align-items: center; gap: 14px;
  background: #1B4B7A; color: #fff; padding: 16px 20px; border-radius: 16px;
  box-shadow: 0 16px 36px rgba(10,25,45,0.4);
  font-size: 19px; font-weight: 800; letter-spacing: 0.3px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.phone-popup.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.phone-popup .phone-popup-label { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.7); display: block; margin-bottom: 2px; }
.phone-popup-copy {
  background: #ffffff; color: #1B4B7A; border: none; border-radius: 10px;
  padding: 9px 13px; font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
}
