/* ==========================================================
   WINECOMPLEX / About Us
   Footer styles (cleaned final version)
========================================================== */

#footer,
#footer * {
  box-sizing: border-box;
}

#footer {
  display: block;
  background: #f6f3ee;
  color: #1f1f1f;
  border-top: 1px solid rgba(31, 31, 31, 0.12);
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

#footer a {
  color: #1f1f1f;
  text-decoration: none;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

#footer a:hover {
  color: #8a7458;
}

/* ----------------------------------------------------------
   Footer banner list
---------------------------------------------------------- */

#footer_banner_list {
  display: block;
  padding: 32px 0 0;
  background: transparent;
  border-bottom: 0;
}

#footer_banner_list .item_list {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#footer_banner_list .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 22px 18px;
  background: #f1ebe3;
  border: 1px solid rgba(31, 31, 31, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 1px 2px rgba(31, 31, 31, 0.03);
  text-align: center;
  overflow: hidden;
  aspect-ratio: auto;
}

#footer_banner_list .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}

#footer_banner_list .item::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  height: 1px;
  background: rgba(31, 31, 31, 0.20);
  transform: scaleX(0.68);
  transform-origin: center;
  transition:
    transform 0.32s ease,
    background-color 0.32s ease,
    opacity 0.32s ease;
  opacity: 1;
}

#footer_banner_list .item:hover {
  background: #f6f0e8;
  border-color: rgba(138, 116, 88, 0.32);
}

#footer_banner_list .item:hover::after {
  transform: scaleX(1);
  background: rgba(138, 116, 88, 0.46);
}

.wc-footer-banner__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(31, 31, 31, 0.78);
  text-transform: uppercase;
}

.wc-footer-banner__title {
  display: block;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: #171717;
}

/* ----------------------------------------------------------
   Large banner
---------------------------------------------------------- */

#footer_large_banner {
  position: relative;
  display: block;
  min-height: 340px;
  margin-top: 32px;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  overflow: hidden;
}

#footer_large_banner .image,
#footer_large_banner .image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#footer_large_banner .image img {
  object-fit: cover;
}

#footer_large_banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(246, 243, 238, 0.32) 0%,
    rgba(246, 243, 238, 0.42) 36%,
    rgba(246, 243, 238, 0.30) 100%
  );
  z-index: 1;
}

#footer_large_banner .content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 64px));
  min-height: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: #1f1f1f;
}

#footer_large_banner .catch {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.9;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: #1f1f1f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

#footer_large_banner .button,
#footer_large_banner .c-button01 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(31, 31, 31, 0.26);
  color: #1f1f1f;
  background: rgba(246, 243, 238, 0.72);
  backdrop-filter: blur(4px);
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
}

#footer_large_banner .button:hover,
#footer_large_banner .c-button01:hover {
  background: rgba(246, 243, 238, 0.88);
  border-color: rgba(31, 31, 31, 0.42);
  color: #1f1f1f;
}

/* ----------------------------------------------------------
   Footer inner
---------------------------------------------------------- */

#footer_inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

#footer_logo_area,
#footer_menu,
#footer_widget,
#footer .footer_content {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  float: none;
}

#footer .footer_content {
  padding: 56px 32px 60px;
  border-right: 1px solid rgba(31, 31, 31, 0.08);
}

#footer .footer_content:first-child {
  padding-left: 0;
}

#footer .footer_content:last-child {
  padding-right: 0;
  border-right: 0;
}

/* ----------------------------------------------------------
   Footer logo area
---------------------------------------------------------- */

#footer_logo_area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#footer_logo {
  margin: 0;
}

#footer_logo .image {
  width: auto;
  height: 28px;
  display: block;
}

#footer_info {
  max-width: 340px;
}

#footer_info p {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: rgba(31, 31, 31, 0.84);
}

/* ----------------------------------------------------------
   Footer navigation
---------------------------------------------------------- */

#footer_menu {
  display: block;
}

.wc-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wc-footer-nav__group {
  min-width: 0;
}

#footer .wc-footer-nav__title {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.54);
}

.wc-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-footer-nav li {
  margin: 0 0 12px;
  line-height: 1.7;
}

.wc-footer-nav li:last-child {
  margin-bottom: 0;
}

.wc-footer-nav a {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #1f1f1f;
}

.wc-footer-nav a:hover {
  color: #8a7458;
}

/* ----------------------------------------------------------
   Footer instagram
---------------------------------------------------------- */

#footer_widget {
  display: block;
}

.wc-footer-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.54);
}

.wc-footer-instagram {
  max-width: 340px;
}

.wc-footer-instagram-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

.wc-footer-instagram-list li {
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.wc-footer-instagram-list a {
  display: block;
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(31, 31, 31, 0.78);
}

.wc-footer-instagram-list a:hover {
  color: #8a7458;
}

/* ----------------------------------------------------------
   Footer bottom
---------------------------------------------------------- */

#footer_menu_bottom {
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  background: #f8f5f0;
}

#footer_menu_bottom ul {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  list-style: none;
}

#footer_menu_bottom ul a {
  display: block;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.72);
}

/* ----------------------------------------------------------
   Copyright
---------------------------------------------------------- */

#copyright {
  min-height: 64px;
  padding: 18px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f6f3ee;
}

#copyright p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.55);
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */

@media (max-width: 1000px) {
  #footer_banner_list .item_list,
  #footer_inner,
  #footer_large_banner .content,
  #footer_menu_bottom ul {
    width: calc(100% - 40px);
  }

  #footer_banner_list .item_list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #footer_banner_list .item {
    min-height: 84px;
    padding: 18px 16px;
  }

  #footer_inner {
    grid-template-columns: 1fr;
  }

  #footer .footer_content {
    padding: 38px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  }

  #footer .footer_content:last-child {
    border-bottom: 0;
  }

  #footer_info,
  .wc-footer-instagram {
    max-width: none;
  }

  .wc-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 767px) {
  #footer_banner_list {
    padding-top: 20px;
  }

  #footer_banner_list .item_list,
  #footer_inner,
  #footer_large_banner .content,
  #footer_menu_bottom ul {
    width: calc(100% - 24px);
  }

  #footer_banner_list .item_list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #footer_banner_list .item {
    min-height: 66px;
    padding: 16px 14px;
  }

  .wc-footer-banner__eyebrow {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .wc-footer-banner__title {
    font-size: 12px;
  }

  #footer_large_banner {
    min-height: 260px;
  }

  #footer_large_banner .content {
    min-height: 260px;
    gap: 18px;
    padding: 34px 0;
  }

  #footer_large_banner .catch {
    font-size: 20px;
    line-height: 1.8;
  }

  #footer_logo .image {
    height: 24px;
  }

  .wc-footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .wc-footer-nav__title {
    margin-bottom: 12px;
  }

  .wc-footer-nav a,
  #footer_info p,
  .wc-footer-instagram-list a {
    font-size: 12px;
  }

  #footer_menu_bottom {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #footer_menu_bottom ul {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 18px 12px;
  }

  #footer_menu_bottom ul a {
    padding: 0 10px;
    white-space: nowrap;
  }

  #copyright {
    min-height: 52px;
    padding: 14px 12px;
  }

  #copyright p {
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.1em;
  }
}