.footer-component-host {
  --footer-red: #e21d36;
  --footer-red-dark: #861126;
  --footer-ink: #2d1015;
  --footer-muted: #76545b;
  display: block;
  border-top: 1px solid rgba(35, 13, 17, .08);
  background: #fff;
  color: var(--footer-ink);
  font-family: "DM Sans", sans-serif;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 65%, rgba(226, 29, 54, .055), transparent 25rem),
    linear-gradient(180deg, #fff 0%, #fff8f9 100%);
}

.footer-inner { position: relative; z-index: 1; }
.footer-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.footer-glow-one { top: 8rem; left: -12rem; width: 24rem; height: 24rem; border: 1px solid rgba(226, 29, 54, .07); }
.footer-glow-two { right: -12rem; bottom: 1rem; width: 27rem; height: 27rem; border: 1px solid rgba(90, 9, 22, .06); }

.footer-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #efdce0;
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 12px 34px rgba(43, 8, 14, .09);
}

.footer-callout-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff 30%, #fff1f3);
  box-shadow: inset 0 0 0 1px rgba(226,29,54,.1), 0 7px 18px rgba(89,12,24,.08);
  color: var(--footer-red);
  font-size: 1.35rem;
}

.footer-callout-copy span {
  display: block;
  margin-bottom: .2rem;
  color: #9b5360;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-callout-copy h2 {
  margin: 0;
  color: var(--footer-ink);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

.footer-callout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 44px;
  padding: .7rem 1rem;
  border: 1px solid var(--footer-red);
  border-radius: 12px;
  background: var(--footer-red);
  box-shadow: 0 10px 22px rgba(226,29,54,.2);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.footer-callout-button:hover {
  border-color: #bd1228;
  background: #bd1228;
  color: #fff;
  transform: translateY(-2px);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr .7fr .8fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: 3.5rem 0 3rem;
}

.footer-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--footer-ink); text-decoration: none; }
.footer-brand:hover { color: var(--footer-ink); }
.footer-logo-mark {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 30%, #fff1f3);
  box-shadow: inset 0 0 0 1px rgba(226,29,54,.1), 0 7px 18px rgba(89,12,24,.08);
}
.footer-logo-mark img { width: 54px; height: 54px; object-fit: contain; }
.footer-rotary-logo-wrap { position: relative; display: block; width: 165px; height: 58px; flex: 0 0 165px; overflow: hidden; border-radius: 7px; background: #fff; }
.footer-rotary-logo { position: absolute; top: 50%; left: 50%; width: 210px; max-width: none; height: auto; transform: translate(-50%, -50%); }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: var(--footer-ink); font-size: 1.05rem; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.footer-brand small { margin-top: .27rem; color: #9b5360; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-intro { max-width: 21rem; margin: 1.2rem 0 1.35rem; color: var(--footer-muted); font-size: .86rem; line-height: 1.7; }

.footer-socials { display: flex; gap: .6rem; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #ead0d5;
  border-radius: 10px;
  background: #fff;
  color: var(--footer-red);
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.footer-socials a:hover { background: #fff0f2; color: #bd1228; transform: translateY(-2px); }

.footer-main h3 {
  margin: .45rem 0 1.15rem;
  color: var(--footer-ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links-column ul { margin: 0; padding: 0; list-style: none; }
.footer-links-column li + li { margin-top: .7rem; }
.footer-links-column a { position: relative; color: #644149; font-size: .86rem; font-weight: 600; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.footer-links-column a::before { content: ""; position: absolute; top: 50%; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--footer-red); opacity: 0; transform: translate(-3px,-50%); transition: opacity .2s ease; }
.footer-links-column a:hover { padding-left: .65rem; color: var(--footer-red); }
.footer-links-column a:hover::before { opacity: 1; }

.footer-contact-column { min-width: 0; }
.footer-contact-item { display: flex; align-items: center; gap: .72rem; margin-bottom: .9rem; color: #4c2930; font-size: .81rem; font-weight: 600; line-height: 1.25; text-decoration: none; }
a.footer-contact-item:hover { color: var(--footer-red); }
.footer-contact-item > i { display: grid; flex: 0 0 2.15rem; place-items: center; width: 2.15rem; height: 2.15rem; border: 1px solid #f3dfe3; border-radius: 10px; background: #fff1f3; color: var(--footer-red); }
.footer-contact-item small { display: block; margin-bottom: .2rem; color: #9b6b74; font-size: .65rem; font-weight: 600; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-inline: calc((100vw - 100%) / -2);
  padding: 1rem max(calc((100vw - 100%) / 2), 1rem);
  background: linear-gradient(90deg, #5a0916, #861126 55%, #a51730);
  color: rgba(255,255,255,.78);
  font-size: .71rem;
}

.footer-bottom p { margin: 0; }
.footer-legal-links { display: flex; gap: 1.25rem; }
.footer-legal-links a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-legal-links a:hover { color: #ffd6dc; }
.footer-made-with { justify-self: end; }
.footer-made-with i { margin-right: .25rem; color: #ff7186; font-size: .65rem; }
.footer-load-error { padding: 1rem; background: #fff1f3; color: #8e1526; text-align: center; }

@media (max-width: 991.98px) {
  .footer-main { grid-template-columns: 1.35fr 1fr 1fr; }
  .footer-contact-column { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
  .footer-contact-column h3 { grid-column: 1 / -1; margin-bottom: .2rem; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-made-with { display: none; }
}

@media (max-width: 767.98px) {
  .footer-callout { grid-template-columns: auto 1fr; }
  .footer-callout-button { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 3rem 0 2.5rem; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-contact-column { grid-template-columns: 1fr; }
  .footer-contact-column h3 { grid-column: auto; }
}

@media (max-width: 575.98px) {
  .site-footer {
    background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
  }

  .footer-glow {
    display: none;
  }

  .footer-inner {
    padding-inline: .85rem;
  }

  .footer-callout {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: .8rem;
    margin-top: 1rem;
    margin-bottom: 0;
    padding: 1rem;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
  }

  .footer-callout-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.18rem;
  }

  .footer-callout-copy span {
    font-size: .58rem;
    letter-spacing: .1em;
  }

  .footer-callout-copy h2 {
    font-size: 1.18rem;
    line-height: 1.2;
  }

  .footer-callout-button {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #f1dfe3;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(255, 255, 255, .88);
  }

  .footer-brand-column,
  .footer-links-column,
  .footer-contact-column {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .footer-brand-column {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1dfe3;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    width: 100%;
  }

  .footer-logo-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }

  .footer-logo-mark img {
    width: 44px;
    height: 44px;
  }

  .footer-rotary-logo-wrap {
    width: min(145px, calc(100vw - 8.8rem));
    height: 48px;
    flex: 0 1 min(145px, calc(100vw - 8.8rem));
  }

  .footer-rotary-logo {
    width: 180px;
  }

  .footer-intro {
    max-width: none;
    margin: .9rem 0 1rem;
    font-size: .84rem;
    line-height: 1.6;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-socials a {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 12px;
  }

  .footer-main h3 {
    margin: 0 0 .75rem;
    font-size: .72rem;
  }

  .footer-links-column,
  .footer-contact-column {
    padding-top: .25rem;
  }

  .footer-links-column + .footer-links-column,
  .footer-contact-column {
    padding-top: 1rem;
    border-top: 1px solid #f1dfe3;
  }

  .footer-links-column li + li {
    margin-top: .2rem;
  }

  .footer-links-column a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: .55rem .7rem;
    border-radius: 10px;
    background: #fff;
    font-size: .86rem;
  }

  .footer-links-column a::before {
    content: none;
  }

  .footer-links-column a::after {
    content: "\F285";
    color: #d6a7b0;
    font-family: "bootstrap-icons";
    font-size: .72rem;
  }

  .footer-links-column a:hover {
    padding-left: .7rem;
    background: #fff1f3;
  }

  .footer-contact-column {
    display: block;
  }

  .footer-contact-item {
    min-height: 52px;
    margin-bottom: .5rem;
    padding: .55rem .65rem;
    border: 1px solid #f3dfe3;
    border-radius: 12px;
    background: #fff;
    font-size: .78rem;
  }

  .footer-contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .footer-contact-item:last-child {
    margin-bottom: 0;
  }

  .footer-contact-item > i {
    flex-basis: 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
  }

  .footer-contact-item small {
    font-size: .6rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: .65rem;
    padding-block: .95rem;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 1rem;
    order: -1;
  }
}
