/* Just Your Day custom footer ---------------------------------------------
   Replace:
   wp-content/themes/just-your-day-blocksy-child/assets/css/jyd-footer.css
*/

/* Hide Blocksy's default footer only. Do not hide the custom JYD footer. */
body.jyd-site .ct-footer,
body.jyd-site footer#footer.ct-footer {
  display: none !important;
}

body.jyd-site .jyd-site-footer {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 11% 22%, rgba(181, 138, 106, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(185, 194, 167, 0.22), transparent 28rem),
    linear-gradient(135deg, rgba(255, 250, 243, 0.96) 0%, rgba(248, 244, 239, 0.92) 45%, rgba(239, 225, 206, 0.96) 100%);
  border-top: 1px solid rgba(181, 138, 106, 0.22);
}

body.jyd-site .jyd-site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(181, 138, 106, 0.62), transparent);
}

body.jyd-site .jyd-site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(181, 138, 106, 0.07), transparent 22rem),
    radial-gradient(circle at 100% 100%, rgba(185, 194, 167, 0.1), transparent 24rem);
}

body.jyd-site .jyd-footer-botanical-strip {
  min-height: 74px;
  border-bottom: 1px solid rgba(181, 138, 106, 0.13);
  background:
    linear-gradient(rgba(255, 250, 243, 0.7), rgba(255, 250, 243, 0.7)),
    repeating-linear-gradient(125deg, transparent 0 28px, rgba(185, 194, 167, 0.14) 28px 30px),
    linear-gradient(135deg, rgba(232, 215, 191, 0.42), rgba(255, 250, 243, 0.18));
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

body.jyd-site .jyd-footer-botanical-strip span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jyd-gold-deep, #9b7354);
  font-family: var(--jyd-serif, "Cormorant Garamond", serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

body.jyd-site .jyd-footer-botanical-strip span::before,
body.jyd-site .jyd-footer-botanical-strip span::after {
  content: "";
  width: 48px;
  height: 1px;
  background: rgba(181, 138, 106, 0.55);
}

body.jyd-site .jyd-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

body.jyd-site .jyd-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(150px, 0.55fr));
  gap: 38px;
  padding: 48px 0 42px;
  position: relative;
}

body.jyd-site .jyd-footer-main::before,
body.jyd-site .jyd-footer-main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(181, 138, 106, 0.1);
  border-radius: 50%;
}

body.jyd-site .jyd-footer-main::before {
  width: 340px;
  height: 340px;
  right: -170px;
  top: -90px;
  background: rgba(185, 194, 167, 0.08);
}

body.jyd-site .jyd-footer-main::after {
  width: 240px;
  height: 240px;
  left: -150px;
  bottom: -80px;
  background: rgba(181, 138, 106, 0.05);
}

body.jyd-site .jyd-footer-brand,
body.jyd-site .jyd-footer-col {
  position: relative;
  z-index: 1;
}

body.jyd-site .jyd-footer-brand {
  padding-right: 24px;
}

body.jyd-site .jyd-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

body.jyd-site .jyd-footer-logo-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(181, 138, 106, 0.34);
  background:
    radial-gradient(circle at 50% 32%, rgba(181, 138, 106, 0.38) 0 18%, transparent 19%),
    linear-gradient(to bottom, transparent 48%, rgba(185, 194, 167, 0.34) 49% 56%, transparent 57%),
    rgba(255, 250, 243, 0.7);
  box-shadow: 0 14px 34px rgba(71, 61, 51, 0.08);
  position: relative;
  flex: 0 0 auto;
  display: block;
  overflow: visible;
  text-decoration: none;
}

body.jyd-site .jyd-footer-logo-mark.has-footer-logo {
  border-color: transparent;
  background: transparent;
  box-shadow: 0 14px 34px rgba(71, 61, 51, 0.06);
}

body.jyd-site .jyd-footer-logo-mark.has-footer-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

body.jyd-site .jyd-footer-logo-mark.has-css-mark::before,
body.jyd-site .jyd-footer-logo-mark.has-css-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(181, 138, 106, 0.28);
}

body.jyd-site .jyd-footer-logo-mark.has-css-mark::before {
  inset: 8px;
}

body.jyd-site .jyd-footer-logo-mark.has-css-mark::after {
  width: 42px;
  height: 16px;
  left: 16px;
  top: 42px;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

body.jyd-site .jyd-footer-wordmark strong {
  display: block;
  font-family: var(--jyd-serif, "Cormorant Garamond", serif);
  font-size: 2.1rem;
  line-height: 0.95;
  font-weight: 700;
  color: var(--jyd-charcoal, #473d33);
  letter-spacing: -0.02em;
}

body.jyd-site .jyd-footer-wordmark span {
  display: block;
  margin-top: 5px;
  color: var(--jyd-gold-deep, #9b7354);
  font-family: var(--jyd-script, "Great Vibes", cursive);
  font-size: 1.55rem;
  line-height: 1;
}

body.jyd-site .jyd-footer-brand p {
  max-width: 420px;
  margin: 0 0 24px;
  color: var(--jyd-muted, #7f7062);
  font-size: 0.96rem;
  line-height: 1.8;
  font-weight: 300;
}

body.jyd-site .jyd-footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.jyd-site .jyd-footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(181, 138, 106, 0.22);
  background: rgba(255, 250, 243, 0.58);
  color: var(--jyd-gold-deep, #9b7354);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.jyd-site .jyd-footer-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--jyd-sage, #b9c2a7);
}

body.jyd-site .jyd-footer-col h3 {
  margin: 0 0 18px;
  color: var(--jyd-charcoal, #473d33);
  font-family: var(--jyd-serif, "Cormorant Garamond", serif);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.jyd-site .jyd-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

body.jyd-site .jyd-footer-list a {
  color: var(--jyd-muted, #7f7062);
  font-size: 0.9rem;
  line-height: 1.3;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  text-decoration: none;
}

body.jyd-site .jyd-footer-list a:hover {
  color: var(--jyd-gold-deep, #9b7354);
  transform: translateX(3px);
}

body.jyd-site .jyd-footer-contact-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(181, 138, 106, 0.18);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 34px rgba(71, 61, 51, 0.04);
}

body.jyd-site .jyd-footer-email,
body.jyd-site .jyd-footer-contact-card a {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--jyd-gold-deep, #9b7354);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

body.jyd-site .jyd-footer-email:hover,
body.jyd-site .jyd-footer-contact-card a:hover {
  color: var(--jyd-charcoal, #473d33);
}

body.jyd-site .jyd-footer-noscript-email {
  display: block;
  margin-bottom: 12px;
  color: var(--jyd-gold-deep, #9b7354);
  font-size: 0.9rem;
  font-weight: 700;
}

body.jyd-site .jyd-footer-contact-card p {
  margin: 0;
  color: var(--jyd-muted, #7f7062);
  font-size: 0.9rem;
  line-height: 1.65;
}

body.jyd-site .jyd-footer-bottom-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(181, 138, 106, 0.15);
  background: rgba(255, 250, 243, 0.36);
}

body.jyd-site .jyd-footer-bottom {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0 24px;
}

body.jyd-site .jyd-footer-bottom p {
  margin: 0;
  color: var(--jyd-muted, #7f7062);
  font-size: 0.78rem;
  line-height: 1.5;
}

body.jyd-site .jyd-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

body.jyd-site .jyd-footer-legal a {
  color: var(--jyd-muted, #7f7062);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

body.jyd-site .jyd-footer-legal a:hover {
  color: var(--jyd-gold-deep, #9b7354);
}

@media (max-width: 980px) {
  body.jyd-site .jyd-footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0 36px;
  }

  body.jyd-site .jyd-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 680px) {
  body.jyd-site .jyd-footer-botanical-strip {
    min-height: 64px;
  }

  body.jyd-site .jyd-footer-botanical-strip span {
    letter-spacing: 0.2em;
  }

  body.jyd-site .jyd-footer-botanical-strip span::before,
  body.jyd-site .jyd-footer-botanical-strip span::after {
    width: 24px;
  }

  body.jyd-site .jyd-footer-inner,
  body.jyd-site .jyd-footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  body.jyd-site .jyd-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0;
  }

  body.jyd-site .jyd-footer-logo-row {
    align-items: flex-start;
  }

  body.jyd-site .jyd-footer-bottom {
    display: grid;
    padding: 22px 0 26px;
  }

  body.jyd-site .jyd-footer-legal {
    justify-content: flex-start;
    gap: 12px 16px;
  }
}
