/* Patimed Footer – WordPress plugin styles */
:root {
  --ink: #1a1714;
  --muted: #6d655c;
  --accent: #7eb8e8;
  --accent-soft: #d7ebf8;
  --purple: #6e4aa3;
  --purple-deep: #5a3a8c;
  --purple-soft: #f1ebf8;
  --purple-mist: #e6dcf3;
  --footer-bg: #f3eef8;
  --footer-sky-top: #ebe4f4;
  --footer-sky-mid: #f3eef8;
  --footer-sky-bottom: #faf7fc;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-display: "Inter", "Segoe UI", sans-serif;
  --font-brand: "Inter", "Segoe UI", sans-serif;
}

.site-footer-stack,
.site-footer-stack * {
  box-sizing: border-box;
}

.site-footer-stack {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
}

.footer-accent-line {
  width: 100%;
  height: 3px;
  background: var(--purple-deep);
}

.ball-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--footer-sky-top) 0%,
      var(--footer-sky-mid) 48%,
      var(--footer-sky-bottom) 100%
    );
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 28px 32px;
  align-items: start;
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 28px;
  border-bottom: 1px solid rgba(26, 23, 20, 0.14);
}

.footer-nav-pair {
  display: contents;
}

.footer-brand,
.footer-links,
.footer-corporate,
.footer-contact {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-title,
.footer-links-title,
.footer-corporate-title,
.footer-contact-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.25;
}

.footer-title {
  max-width: 11ch;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

.footer-links-title,
.footer-corporate-title,
.footer-contact-title {
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
}

.footer-links-list,
.footer-corporate-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-list a,
.footer-corporate-list a,
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover,
.footer-corporate-list a:hover {
  color: var(--ink);
}

.footer-ico {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--purple-deep);
}

.footer-links-list a span,
.footer-corporate-list a span,
.footer-contact-item > span {
  min-width: 0;
}

.footer-text {
  max-width: 36ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
}

.footer-social-link:hover {
  color: #1a1714;
  background: rgba(26, 23, 20, 0.06);
}

.footer-play {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(148px, 16vw, 188px);
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.footer-play:active {
  cursor: grabbing;
}

.footer-play canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-legal {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 14px 24px 18px;
  border-top: 1px solid rgba(26, 23, 20, 0.12);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
}

.footer-legal p {
  margin: 0;
}

.footer-contact-list {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.footer-contact-item {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.footer-contact-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-contact-list a:hover {
  border-bottom-color: currentColor;
}

@media (max-width: 1100px) {
  .footer-main {
    gap: 24px 28px;
        width: min(100%, calc(100% - 32px));
  }

}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        padding: 0;
        border-bottom: none;
  }

  .footer-nav-pair {
    display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        border-bottom: 1px solid rgba(26, 23, 20, 0.16);
  }

  .footer-brand,
  .footer-links,
  .footer-corporate,
  .footer-contact {
    gap: 14px;
        padding: 24px 28px;
        border-bottom: 1px solid rgba(26, 23, 20, 0.16);
  }

  .footer-links,
  .footer-corporate {
    border-bottom: none;
  }

  .footer-links {
    padding-right: 18px;
        border-right: 1px solid rgba(26, 23, 20, 0.16);
  }

  .footer-corporate {
    padding-left: 18px;
  }

  .footer-text {
    max-width: none;
  }

  .footer-play {
    height: clamp(176px, 48vw, 240px);
  }

}

@media (max-width: 640px) {
  .footer-brand,
  .footer-links,
  .footer-corporate,
  .footer-contact {
    padding: 22px 20px;
  }

  .footer-links {
    padding-right: 14px;
  }

  .footer-corporate {
    padding-left: 14px;
  }

  .footer-logo {
    width: 64px;
        height: 64px;
  }

  .footer-title {
    max-width: none;
  }

  .footer-links-list,
  .footer-corporate-list {
    gap: 12px;
  }

  .footer-contact-list {
    gap: 14px;
  }

  .footer-play {
    height: clamp(168px, 54vw, 220px);
  }

  .footer-legal {
    padding: 12px 20px 16px;
  }

}

/* Elementor / theme: full-bleed footer shortcode */
.site-footer-stack {
  position: relative;
  left: 50%;
  right: auto;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
}

.elementor-widget-shortcode:has(.site-footer-stack),
.elementor-shortcode:has(.site-footer-stack),
.elementor-widget-container:has(.site-footer-stack) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-location-footer .e-con:has(.site-footer-stack),
.elementor-location-footer .e-con-inner:has(.site-footer-stack),
.elementor-location-footer .elementor-container:has(.site-footer-stack),
.elementor-location-footer .elementor-widget-wrap:has(.site-footer-stack),
.elementor-location-footer .elementor-element:has(.site-footer-stack) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
