/* Cellar One footer - modern redesign
   - Uses high-specificity selectors to win against legacy Bootstrap/theme rules
*/

:root {
  --co-gold: #d97706;
  --co-gold-2: #f59e0b;
  --co-bg: #0a0a0a;
  --co-border: rgba(255, 255, 255, 0.10);
  --co-text: rgba(255, 255, 255, 0.92);
  --co-muted: rgba(255, 255, 255, 0.65);
  --co-faint: rgba(255, 255, 255, 0.40);
}

footer.co-footer {
  background: var(--co-bg) !important;
  color: var(--co-text);
  position: relative;
  overflow: hidden;
  width: 100%;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(217, 119, 6, 0.14), transparent 45%),
    radial-gradient(circle at 80% 100%, rgba(220, 38, 38, 0.10), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  animation: coFooterPattern 18s linear infinite;
}

@keyframes coFooterPattern {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 0, 44px 44px, -44px 44px; }
}

footer.co-footer * {
  box-sizing: border-box;
}

footer.co-footer a {
  color: var(--co-muted);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

footer.co-footer a:hover {
  color: var(--co-gold-2);
}

footer.co-footer .co-footer__border {
  border-top: 1px solid rgba(217, 119, 6, 0.20);
}

footer.co-footer .co-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

footer.co-footer .co-footer__glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(110px);
  opacity: 0.75;
  animation: coGlowFloat 10s ease-in-out infinite;
}

@keyframes coGlowFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(14px, -10px, 0) scale(1.04); }
}

footer.co-footer .co-footer__glow--tl {
  width: 420px;
  height: 420px;
  left: -160px;
  top: -160px;
  background: rgba(217, 119, 6, 0.16);
}

footer.co-footer .co-footer__glow--br {
  width: 560px;
  height: 560px;
  right: -220px;
  bottom: -220px;
  background: rgba(220, 38, 38, 0.12);
}

footer.co-footer .co-footer__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 28px;
}

footer.co-footer .co-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  footer.co-footer .co-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  footer.co-footer .co-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 48px;
  }
}

@media (min-width: 1280px) {
  footer.co-footer .co-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.3fr;
    gap: 40px;
  }
}

footer.co-footer .co-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

footer.co-footer .co-footer__logoWrap {
  padding: 8px;
  background: rgba(217, 119, 6, 0.10);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 14px;
  flex-shrink: 0;
}

footer.co-footer .co-footer__logo {
  height: 40px;
  width: auto;
  display: block;
}

footer.co-footer .co-footer__brandTitle {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: #ffffff;
}

footer.co-footer .co-footer__about {
  color: var(--co-muted);
  font-size: 13px;
  line-height: 1.75;
  max-width: 360px;
  margin: 16px 0 0;
}

footer.co-footer .co-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

footer.co-footer .co-footer__socialLink {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

footer.co-footer .co-footer__socialLink:hover {
  background: rgba(217, 119, 6, 0.95);
  border-color: rgba(217, 119, 6, 0.95);
  transform: translateY(-1px);
}

footer.co-footer .co-footer__socialIcon {
  color: rgba(255, 255, 255, 0.70);
}

footer.co-footer .co-footer__socialLink:hover .co-footer__socialIcon {
  color: #ffffff;
}

footer.co-footer .co-footer__sectionTitle {
  margin: 0 0 16px;
  font-weight: 800;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer.co-footer .co-footer__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--co-gold-2);
  flex-shrink: 0;
}

footer.co-footer .co-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

footer.co-footer .co-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
}

footer.co-footer .co-footer__linkDash {
  width: 0;
  height: 1px;
  background: var(--co-gold-2);
  transition: width 180ms ease;
}

footer.co-footer .co-footer__link:hover .co-footer__linkDash {
  width: 16px;
}

footer.co-footer .co-footer__city {
  margin-bottom: 14px;
}

footer.co-footer .co-footer__city:last-child {
  margin-bottom: 0;
}

footer.co-footer .co-footer__cityHead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

footer.co-footer .co-footer__contactIcon {
  color: var(--co-gold-2);
  flex-shrink: 0;
  align-self: center;
}

footer.co-footer .co-footer__cityHead strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

footer.co-footer .co-footer__cityAddress {
  font-size: 12px;
  line-height: 1.4;
  color: var(--co-faint);
}

footer.co-footer .co-footer__cityContacts {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

footer.co-footer .co-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--co-text);
  white-space: nowrap;
  flex-shrink: 0;
}

footer.co-footer .co-footer__pill:hover {
  border-color: rgba(217, 119, 6, 0.55);
  color: var(--co-gold-2);
}

footer.co-footer .co-footer__pill--wa {
  color: #25d366;
}

footer.co-footer .co-footer__pill--wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  color: #25d366;
}

footer.co-footer .co-footer__bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

@media (min-width: 768px) {
  footer.co-footer .co-footer__bottom {
    flex-direction: row;
    text-align: left;
  }
}

footer.co-footer .co-footer__copyright {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

footer.co-footer .co-footer__note {
  margin: 0;
  font-size: 12px;
  color: var(--co-faint);
}

footer.co-footer .co-footer__note a {
  color: var(--co-gold-2);
  font-weight: 600;
}

footer.co-footer .co-footer__note a:hover {
  color: #ffffff;
}
