@charset "utf-8";

/* =========================================================
   WONEUM NEXT Footer v24
   - Finishing pass for 4-column information footer
   - Tighter columns, cleaner headings, safer company info
   ========================================================= */

#ft {
  border: 0;
  background: var(--we-color-primary-strong, #262522);
  color: rgba(255, 255, 255, 0.74);
}

#ft_wr {
  max-width: var(--we-layout-max);
}

.we-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.we-footer__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 0%, rgba(198, 162, 74, 0.14), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(143, 163, 184, 0.18), transparent 26%),
    linear-gradient(145deg, #262522 0%, #4e4035 58%, #262522 100%);
}

.we-footer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 112px 112px;
  opacity: .14;
  pointer-events: none;
}

.we-footer__inner {
  display: flex;
  flex-direction: column;
  padding-block: clamp(48px, 5vw, 68px) 24px;
}

.we-footer__main {
  display: grid;
  grid-template-columns: minmax(310px, 1.32fr) minmax(160px, .78fr) minmax(160px, .78fr) minmax(260px, 1.04fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.we-footer__brandCol,
.we-footer__navCol,
.we-footer__companyCol {
  min-width: 0;
}

.we-footer__companyCol {
  text-align: left;
}

.we-footer__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  text-decoration: none;
}

.we-footer__logo img {
  display: block;
  width: auto;
  max-width: min(270px, 68vw);
  max-height: 68px;
  object-fit: contain;
  opacity: .95;
}

.we-footer__desc {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.72;
  letter-spacing: -0.028em;
}

.we-footer__miniActions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.we-footer__miniAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.86) !important;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: -0.025em;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.we-footer__miniAction:hover,
.we-footer__miniAction:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
  color: #fff !important;
}

.we-footer__miniAction--primary {
  border-color: rgba(198, 162, 74, .64);
  background: linear-gradient(135deg, #d8bd72, #c6a24a);
  color: #262522 !important;
  box-shadow: 0 12px 28px rgba(198, 162, 74, .18);
}

.we-footer__miniAction--primary:hover,
.we-footer__miniAction--primary:focus-visible {
  background: linear-gradient(135deg, #e4ca83, #c6a24a);
  color: #262522 !important;
}

.we-footer__navCol h2,
.we-footer__companyCol h2 {
  position: relative;
  margin: 0 0 16px;
  color: rgba(255,255,255,.96);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.we-footer__navCol h2::before,
.we-footer__companyCol h2::before {
  display: none;
}

.we-footer__linkList {
  display: grid;
  gap: 9px;
}

.we-footer__linkList a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.028em;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.we-footer__linkList a::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: .34;
  transform: rotate(45deg);
}

.we-footer__linkList a:hover,
.we-footer__linkList a:focus-visible {
  color: #fff !important;
  transform: translateX(2px);
}

.we-footer__companyList {
  display: grid;
  gap: 9px;
  margin: 0;
}

.we-footer__companyList div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.we-footer__companyList dt,
.we-footer__companyList dd {
  margin: 0;
  min-width: 0;
}

.we-footer__companyList dt {
  color: rgba(255,255,255,.38);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.65;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.we-footer__companyList dd,
.we-footer__companyList a,
.we-footer__emptyInfo {
  color: rgba(255,255,255,.78) !important;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: -0.028em;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.we-footer__companyList a:hover,
.we-footer__companyList a:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.we-footer__emptyInfo {
  margin: 0;
  color: rgba(255,255,255,.52) !important;
}

.we-footer__connect {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, .58fr) minmax(440px, 2fr) auto;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  margin-top: clamp(34px, 4vw, 50px);
  padding: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(198,162,74,.16), transparent 34%),
    rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 48px rgba(0,0,0,.12);
  backdrop-filter: blur(16px);
}

.we-footer__connectHeading {
  min-width: 0;
}

.we-footer__connectHeading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--we-color-accent, #c6a24a);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

.we-footer__connectHeading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.3;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.we-footer__related,
.we-footer__social {
  min-width: 0;
}

.we-footer__related > strong,
.we-footer__social > strong {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,.44);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.we-footer__relatedLinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.we-footer__relatedLinks a {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82) !important;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.we-footer__relatedLinks a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.we-footer__relatedLinks a i {
  margin-left: auto;
  color: var(--we-color-accent, #c6a24a);
  font-size: 13px;
  font-style: normal;
  opacity: .78;
  transition: transform .2s ease;
}

.we-footer__relatedLinks a:hover,
.we-footer__relatedLinks a:focus-visible {
  border-color: rgba(198,162,74,.46);
  background: rgba(255,255,255,.09);
  color: #fff !important;
  outline: none;
  transform: translateY(-2px);
}

.we-footer__relatedLinks a:hover i,
.we-footer__relatedLinks a:focus-visible i {
  transform: translate(2px, -2px);
}

.we-footer__socialLinks {
  display: flex;
  gap: 8px;
}

.we-footer__socialLink {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.86) !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.we-footer__socialLink svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.we-footer__socialLink svg .is-fill {
  fill: currentColor;
  stroke: none;
}

.we-footer__socialLink--youtube svg {
  fill: currentColor;
  stroke: none;
}

.we-footer__socialLink--youtube svg .is-play {
  fill: var(--we-color-primary-strong, #262522);
}

.we-footer__socialLink:hover,
.we-footer__socialLink:focus-visible {
  border-color: rgba(255,255,255,.28);
  background: #fff;
  color: var(--we-color-primary-strong, #262522) !important;
  outline: none;
  transform: translateY(-2px);
}

.we-footer__socialLink--youtube:hover,
.we-footer__socialLink--youtube:focus-visible {
  color: #e62117 !important;
}

.we-footer__socialFallback {
  font-size: 18px;
}

.we-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.we-footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.we-footer__adminLogin {
  color: inherit;
  text-decoration: none;
}

.we-footer__adminLogin:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--we-color-accent, #c6a24a);
  outline-offset: 4px;
}

.we-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.we-footer__legal a {
  color: rgba(255,255,255,.58) !important;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.we-footer__legal a:hover,
.we-footer__legal a:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.we-footer__meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  text-align: right;
}

.we-topBtn {
  position: fixed;
  right: max(20px, calc((100vw - var(--we-layout-max)) / 2));
  bottom: 26px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  background: rgba(255,255,255,.94);
  color: #082326;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}

.we-topBtn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Circular page-scroll progress around the top button. */
.we-topBtn__progress {
  position: absolute;
  inset: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  overflow: visible;
  transform: rotate(-90deg);
  pointer-events: none;
}

.we-topBtn__progressTrack,
.we-topBtn__progressValue {
  fill: none;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.we-topBtn__progressTrack {
  stroke: rgba(78,64,53,.16);
}

.we-topBtn__progressValue {
  stroke: var(--we-color-accent, #c6a24a);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .1s linear;
}

.we-topBtn > i {
  position: relative;
  z-index: 1;
}

.we-topBtn:hover,
.we-topBtn:focus-visible {
  background: var(--we-color-surface, #fbf7f0);
}

@media (max-width: 1180px) {
  .we-footer__main {
    grid-template-columns: minmax(280px, 1.15fr) repeat(2, minmax(150px, .8fr));
  }

  .we-footer__companyCol {
    grid-column: 2 / -1;
  }

  .we-footer__companyList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 28px;
  }
}

@media (max-width: 860px) {
  .we-footer__inner {
    padding-block: 40px 22px;
  }

  .we-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .we-footer__brandCol {
    grid-column: 1 / -1;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .we-footer__companyCol {
    grid-column: 1 / -1;
  }

  .we-footer__companyList {
    grid-template-columns: 1fr 1fr;
  }

  .we-footer__connect {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .we-footer__connectHeading {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .we-footer__socialLinks {
    flex-wrap: wrap;
  }

  .we-footer__bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .we-footer__legal {
    justify-content: flex-start;
  }

  .we-footer__meta {
    grid-column: 1;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .we-footer__main,
  .we-footer__companyList {
    grid-template-columns: 1fr;
  }

  .we-footer__brandCol {
    padding-bottom: 26px;
  }

  .we-footer__miniActions {
    width: 100%;
  }

  .we-footer__miniAction {
    flex: 1 1 100%;
  }

  .we-footer__companyList div {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .we-footer__connect {
    padding: 18px;
    border-radius: 20px;
  }

  .we-footer__relatedLinks {
    grid-template-columns: 1fr;
  }

  .we-footer__socialLink {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }

  .we-topBtn {
    right: 16px;
    bottom: 16px;
  }
}

/* Brand-only footer must not inherit the multi-column responsive grid. */
.we-footer.we-footer--brandOnly .we-footer__main {
  grid-template-columns: minmax(0, 1fr);
}

.we-footer.we-footer--brandOnly .we-footer__brandCol {
  grid-column: auto;
}


/* v24 finishing polish */
.we-footer__brandCol {
  align-self: start;
}

.we-footer__brandCol .we-footer__desc {
  word-break: keep-all;
}

.we-footer__navCol,
.we-footer__companyCol {
  padding-top: 7px;
}

.we-footer__linkList a,
.we-footer__companyList dd {
  word-break: keep-all;
}

.we-homeSection--cta + #ft,
.we-homeSection--cta + .we-footer {
  margin-top: 0 !important;
}

@media (min-width: 861px) {
  .we-footer__main {
    align-items: start;
  }

  .we-footer__companyList div {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .we-footer__navCol,
  .we-footer__companyCol {
    padding-top: 0;
  }

  .we-footer__desc {
    max-width: none;
  }
}


/* =========================================================
   WONEUM NEXT Footer v25
   - Footer brand area simplified
   - Removed duplicate CTA buttons in footer brand column
   - Stronger left alignment and calmer spacing
   ========================================================= */

.we-footer__brandCol {
  display: block;
  text-align: left;
}

.we-footer__brandCol .we-footer__logo {
  margin-bottom: 15px;
}

.we-footer__brandCol .we-footer__desc {
  max-width: 285px;
  margin: 0;
  text-align: left;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: normal;
}

.we-footer__miniActions {
  display: none !important;
}

@media (min-width: 1181px) {
  .we-footer__main {
    grid-template-columns: minmax(300px, 1.18fr) minmax(170px, .78fr) minmax(170px, .78fr) minmax(270px, 1.04fr);
    column-gap: clamp(38px, 4.4vw, 74px);
  }
}

@media (min-width: 861px) {
  .we-footer__brandCol {
    padding-right: clamp(10px, 2vw, 28px);
  }

  .we-footer__navCol,
  .we-footer__companyCol {
    padding-top: 13px;
  }
}

@media (max-width: 860px) {
  .we-footer__brandCol .we-footer__desc {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .we-footer__brandCol .we-footer__desc {
    max-width: none;
  }
}


/* =========================================================
   WONEUM NEXT Footer v26
   - Footer customization support from home.builder.php
   - Custom background, compact mode, expanded company fields
   ========================================================= */

.we-footer--customBg .we-footer__bg {
  display: none;
}

.we-footer--customBg {
  background: transparent;
}

.we-footer--compact .we-footer__main {
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(150px, .72fr));
  gap: clamp(24px, 3vw, 46px);
}

.we-footer--compact .we-footer__inner {
  padding-block: clamp(38px, 4vw, 54px) 22px;
}

.we-footer--compact .we-footer__desc {
  max-width: 320px;
}

.we-footer--brandOnly .we-footer__main {
  grid-template-columns: minmax(0, 1fr);
}

.we-footer__companyList div.is-hidden {
  display: none;
}

@media (max-width: 1180px) {
  .we-footer--compact .we-footer__main {
    grid-template-columns: minmax(280px, 1.15fr) repeat(2, minmax(150px, .8fr));
  }
}

/* =========================================================
   PATCH v31: responsive footer readability
   - Keep company information readable on tablet/mobile widths.
   - Add safe breathing room near the fixed mobile bottom navigation.
   ========================================================= */
@media (max-width: 1180px) and (min-width: 861px) {
  .we-footer__main,
  .we-footer--compact .we-footer__main {
    grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(150px, .72fr));
  }

  .we-footer__companyCol {
    grid-column: 1 / -1;
  }

  .we-footer__companyList {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 28px;
  }
}

@media (max-width: 1100px) {
  .we-footer__inner {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 720px) {
  .we-footer__inner {
    padding-block: 34px calc(112px + env(safe-area-inset-bottom));
  }

  .we-footer__main {
    gap: 14px;
  }

  .we-footer__brandCol {
    padding-bottom: 20px;
    border-bottom-color: rgba(255,255,255,.08);
  }

  .we-footer__logo {
    margin-bottom: 12px;
  }

  .we-footer__logo img {
    max-width: min(220px, 64vw);
    max-height: 54px;
  }

  .we-footer__desc {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.65;
  }

  .we-footer__navCol,
  .we-footer__companyCol {
    padding: 17px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .we-footer__navCol h2,
  .we-footer__companyCol h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .02em;
  }

  .we-footer__linkList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .we-footer__linkList a {
    width: auto;
    min-height: 40px;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.78) !important;
    font-size: 12px;
  }

  .we-footer__linkList a::after {
    display: none;
  }

  .we-footer__companyList {
    gap: 7px;
  }

  .we-footer__companyList div {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .we-footer__companyList div:last-child {
    border-bottom: 0;
  }

  .we-footer__companyList dt {
    color: rgba(255,255,255,.42);
    font-size: 11px;
    line-height: 1.55;
  }

  .we-footer__companyList dd,
  .we-footer__companyList a,
  .we-footer__emptyInfo {
    font-size: 12px;
    line-height: 1.6;
  }

  .we-footer__bottom {
    gap: 9px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .we-footer__legal {
    gap: 8px 12px;
  }

  .we-footer__bottom p,
  .we-footer__legal a {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .we-footer__companyList div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .we-footer__companyList dt {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .we-topBtn__progressValue { transition: none; }
}
