@charset "UTF-8";
/* Global footer and fixed quick actions */

.av-footer__heading {
  --av-selection-bg: #fcf145;
  --av-selection-ink: var(--av-black);
}

/* ============================================================
   푸터
   ============================================================ */
.av-footer {
  border-top: 0;
  background: var(--av-bg-soft);
  padding-block: 72px 0;
  font-size: .9375rem;
  color: var(--av-fg-muted);
}
.av-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content;
  column-gap: clamp(56px, 5.5vw, 92px);
  align-items: start;
}
.av-footer__company { min-width: 0; }
.av-footer__logo {
  display: flex;
  width: 190px;
  margin-bottom: 24px;
  transform: translateY(-5px);
}
.av-footer__logo img { display: block; width: 100%; height: auto; }
.av-footer__line {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  line-height: 1;
}
.av-footer__company-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.av-footer__privacy { margin: 0; line-height: 1; }
.av-footer__biz-link {
  color: inherit;
  transition: color .2s var(--av-ease);
}
.av-footer__biz-link:hover { color: var(--av-white); }
.av-footer__policies {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  line-height: 1;
}
.av-footer__policies a {
  color: rgba(255,255,255,.55);
  transition: color .2s var(--av-ease);
}
.av-footer__policies a:hover { color: var(--av-white); }
.av-footer a:hover { color: var(--av-white); }

.av-footer__column {
  width: max-content;
  min-height: 174px;
  padding-inline-start: 0;
}
.av-footer__column--cs {
  justify-self: end;
}
.av-footer__column--bank {
  justify-self: end;
  margin-inline-end: 12px;
  text-align: left;
}
.av-footer__heading {
  min-height: 74px;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #fcf145;
}
.av-footer__phone {
  display: block;
  width: max-content;
  margin-bottom: 12px;
  font-family: var(--av-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
  color: var(--av-white);
}
.av-footer__details {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--av-fg-muted);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.75;
}
.av-footer__details p:last-child { margin-top: 0; color: inherit; }
.av-footer__bank {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  color: var(--av-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.av-footer__bank span:last-child { font-weight: 600; }
.av-footer__holder {
  margin-top: 12px;
  color: var(--av-fg-muted);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.75;
}

.av-footer__base {
  margin-top: 56px;
  border-top: 1px solid var(--av-line);
}
.av-footer__base-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--av-fg-dim);
  font-size: 1rem;
}
.av-footer__base strong { color: var(--av-fg-muted); font-weight: 700; }
.av-footer__social { display: flex; align-items: center; gap: 6px; }
.av-footer__social a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.av-footer__social svg { width: 28px; height: 28px; }
.av-footer__social a:hover { color: var(--av-white); }

.av-quick-actions {
  position: fixed;
  right: max(40px, env(safe-area-inset-right));
  bottom: max(40px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.av-quick-actions__button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  line-height: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  cursor: pointer;
  transition: color .25s var(--av-ease), background-color .25s var(--av-ease), opacity .25s var(--av-ease);
}
.av-quick-actions__button svg {
  display: block;
  width: 23px;
  height: 23px;
  margin: auto;
}
.av-quick-actions__button--top { background: #E60012; color: #FFFFFF; }
.av-quick-actions__button > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.av-quick-actions__button--instagram { background: #FFFFFF; color: #E60012; }
.av-quick-actions__button--chat { background: #fcf145; color: #121212; }
.av-quick-actions__button:hover { opacity: .82; }
.av-quick-actions__button--top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: color .25s var(--av-ease), background-color .25s var(--av-ease),
              opacity .3s var(--av-ease), transform .3s var(--av-ease), visibility .3s;
}
.av-quick-actions__button--top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.av-quick-actions__button--top.is-visible:hover { opacity: .82; }

@media (max-width: 700px) {
  .av-quick-actions {
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .av-quick-actions__button { width: 46px; height: 46px; flex-basis: 46px; }
  .av-quick-actions__button svg { width: 21px; height: 21px; }
}

@media (max-width: 1000px) {
  .av-footer__inner { grid-template-columns: 1fr 1fr; }
  .av-footer__company { grid-column: 1 / -1; }
  .av-footer__column {
    width: auto;
    justify-self: stretch;
    margin-inline-end: 0;
    padding-block-start: 28px;
    border-top: 1px solid var(--av-line);
    border-inline-start: 0;
  }
  .av-footer__bank { align-items: flex-start; }
}
@media (max-width: 640px) {
  .av-footer { padding-block: 52px 0; }
  .av-footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .av-footer__company { grid-column: auto; }
  .av-footer__column { min-height: 0; padding-inline-start: 0; }
  .av-footer__line { flex-direction: column; gap: 5px; line-height: 1.4; }
  .av-footer__privacy { line-height: 1.4; }
  .av-footer__policies { line-height: 1.4; }
  .av-footer__base { margin-top: 42px; }
  .av-footer__base-inner { min-height: 68px; }
}

/* Mobile footer: paired company fields and two-column service information. */
@media (max-width: 640px) {
  .av-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }
  .av-footer__company {
    grid-column: 1 / -1;
  }
  .av-footer__line {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 14px;
  }
  .av-footer__line--identity,
  .av-footer__line--registration,
  .av-footer__line--contact {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px 12px;
  }
  .av-footer__line--registration > span:nth-child(3),
  .av-footer__line--contact > span:nth-child(3) {
    grid-column: 1 / -1;
  }
  .av-footer__line--identity > span,
  .av-footer__line--registration > span:nth-child(-n + 2),
  .av-footer__line--contact > span:nth-child(-n + 2) {
    white-space: nowrap;
  }
  .av-footer__company-info {
    font-size: .875rem;
    gap: 10px;
  }
  .av-footer__company-info .av-footer__line {
    line-height: 1.4;
  }
  .av-footer__column--cs,
  .av-footer__column--bank {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }
  .av-footer__heading {
    min-height: 58px;
    font-size: 1.0625rem;
    letter-spacing: .09em;
    white-space: nowrap;
  }
  .av-footer__phone { font-size: 1.1125rem; }
  .av-footer__bank { font-size: 1rem; }
  .av-footer__details,
  .av-footer__holder { font-size: .875rem; }
  .av-footer__base-inner {
    min-height: 0;
    padding-block: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }
  .av-footer__social {
    order: -1;
    margin-inline-start: -10px;
  }
  .av-footer__base-inner > p {
    max-width: 100%;
    margin: 0;
    font-size: clamp(.72rem, 3.35vw, .875rem);
    line-height: 1.3;
    white-space: nowrap;
  }
}


.av-footer { flex: 0 0 auto; }

/* Footer light and dark theme overrides */
/* ── 컬러 모드 기반 ───────────────────────────────────────
   기본은 light. 추후 전환 버튼은 html[data-theme] 값만 바꾸면 된다. */
.av-footer__logo .av-footer__logo-image--dark { display: none; }

/* 현재 헤더·푸터 팔레트는 다크 모드에서 그대로 유지한다. */
html[data-theme="dark"] .av-footer {
  background-color: var(--av-bg-soft);
  color: var(--av-fg-muted);
}
html[data-theme="dark"] .av-footer__heading { color: #fcf145; }
html[data-theme="dark"] .av-footer__logo-image--light { display: none; }
html[data-theme="dark"] .av-footer__logo-image--dark { display: block; }
html[data-theme="dark"] .av-footer__social a { color: rgba(255,255,255,.5); }
html[data-theme="dark"] .av-footer__social a:hover { color: var(--av-white); }
html[data-theme="dark"] .av-footer__base-inner > p { color: #fff; }

/* 라이트 모드 푸터 */
html[data-theme="light"] .av-footer {
  background-color: #f8f8f8;
  color: #121212;
}
html[data-theme="light"] .av-footer__heading { color: #E60012; }
html[data-theme="light"] .av-footer__phone,
html[data-theme="light"] .av-footer__bank,
html[data-theme="light"] .av-footer__base-inner,
html[data-theme="light"] .av-footer__base strong {
  color: #121212;
}
html[data-theme="light"] .av-footer__company-info,
html[data-theme="light"] .av-footer__company-info a,
html[data-theme="light"] .av-footer__details,
html[data-theme="light"] .av-footer__details a,
html[data-theme="light"] .av-footer__holder,
html[data-theme="light"] .av-footer__holder a,
html[data-theme="light"] .av-footer__policies,
html[data-theme="light"] .av-footer__policies a {
  color: rgba(18,18,18,.7);
}
html[data-theme="light"] .av-footer__base {
  border-top-color: rgba(18,18,18,.16);
}
html[data-theme="light"] .av-footer__company-info a:hover,
html[data-theme="light"] .av-footer__details a:hover,
html[data-theme="light"] .av-footer__holder a:hover,
html[data-theme="light"] .av-footer__policies a:hover,
html[data-theme="light"] .av-footer__company-info a:focus-visible,
html[data-theme="light"] .av-footer__details a:focus-visible,
html[data-theme="light"] .av-footer__holder a:focus-visible,
html[data-theme="light"] .av-footer__policies a:focus-visible {
  color: #121212;
}
html[data-theme="light"] .av-footer a:hover { color: #121212; }
html[data-theme="light"] .av-footer__social a {
  color: rgba(18,18,18,.5);
}
html[data-theme="light"] .av-footer__social a:hover { color: #121212; }

/* Footer surface participating in the shared noise treatment. */
.av-footer {
  background-image: var(--av-noise-image) !important;
  background-repeat: repeat !important;
  background-size: 180px 180px !important;
  background-blend-mode: soft-light;
}


/* Softer, tighter floating-action shadow in the light theme. */
html[data-theme="light"] .av-quick-actions__button {
  box-shadow: 0 3px 10px rgba(0, 0, 0, .11);
}
