/* =========================================================
   Intris – dark footer (charcoal, contact card) + mobile tab bar (v1.6.4)
   ========================================================= */

/* Hide the theme's old footer. */
.btSiteFooter,
.btSiteFooterWidgets,
.btSiteFooterCopyMenu { display: none !important; }

.if-footer {
  --if-bg: #141416;
  --if-card: #1c1c20;
  --if-ink: #ffffff;
  --if-text: #aeaeb6;
  --if-muted: #8a8a94;
  --if-line: #2c2c31;
  --if-red: #c41e3a;
  --if-purple: #692d8e;
  --if-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --if-font-head: "Sora", "Figtree", system-ui, sans-serif;

  position: relative;
  background: var(--if-bg);
  color: var(--if-text);
  font-family: var(--if-font);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  border-top: 3px solid var(--if-red);
}
.if-footer *, .if-footer *::before, .if-footer *::after { box-sizing: border-box; }
:where(.if-footer) :is(p, ul, h2, h3) { margin: 0; padding: 0; }
.if-footer ul { list-style: none; }
.if-footer li { margin: 0; padding: 0; }
.if-footer li::before { display: none !important; }
.if-footer a { color: inherit; text-decoration: none; }
.if-footer a:focus-visible,
.if-footer button:focus-visible,
.if-footer summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* Same container as the header and the page content. */
.if-wrap {
  width: 91.67%;
  max-width: 1464px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 64px) 0 0;
}
@media (max-width: 900px) {
  .if-wrap { width: calc(100% - 2 * max(13px, 3.4vw)); }
}

/* ---------- Layout: brand + link columns | contact card ---------- */
.if-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(0, 1fr);
  gap: 40px clamp(32px, 4vw, 56px);
  align-items: start;
}
.if-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-bottom: 36px; }
.if-logo { display: inline-block; }
/* White, tightly cropped logo; specific enough to beat the Customizer's Additional CSS. */
.if-footer .if-logo img { display: block; height: 34px; width: auto; }
.if-brand__text { max-width: 46ch; font-size: 14px; }
.if-footer .if-brand__link {
  flex-basis: 100%;
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  font-weight: 600; font-size: 14.5px;
  color: #fff;
}
.if-footer .if-brand__link svg { width: 16px; height: 16px; transition: transform .15s; }
.if-footer .if-brand__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.if-footer .if-brand__link:hover svg { transform: translateX(3px); }

.if-lists { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }

.if-col__title {
  display: block;
  margin-bottom: 16px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--if-line);
  font-family: var(--if-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--if-ink);
}
.if-acc summary { list-style: none; }
.if-acc summary::-webkit-details-marker { display: none; }
.if-acc ul { display: grid; gap: 9px; }
.if-acc li a { font-size: 14px; color: var(--if-text); transition: color .15s; }
.if-acc li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.if-acc li a.if-all { font-weight: 600; color: #fff; }
.if-acc li a.if-hl { font-weight: 600; color: #fff; }

/* Desktop: lists always open, headings not clickable */
@media (min-width: 621px) {
  .if-acc summary { pointer-events: none; cursor: default; }
}

/* Contact card */
.if-card {
  background: var(--if-card);
  border: 1px solid var(--if-line);
  border-radius: 12px;
  padding: 26px;
}
.if-card__title {
  margin-bottom: 20px !important;
  font-family: var(--if-font-head);
  font-size: 18px; line-height: 1.35; font-weight: 600;
  color: #fff;
}
.if-contact { display: grid; gap: 12px; margin: 0 0 22px !important; }
.if-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.if-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: #e0516b; }
.if-contact a { color: #fff; transition: color .15s; }
.if-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.if-contact .if-phone { font-weight: 600; font-variant-numeric: tabular-nums; }
.if-muted { color: var(--if-text); }

.if-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #c41e3a 0%, #692d8e 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .15s, box-shadow .15s;
}
.if-btn svg { width: 18px; height: 18px; }
.if-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(196, 30, 58, .7); }

.if-social { display: flex; gap: 8px; margin-top: 18px; }
.if-social a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid #34343a;
  border-radius: 8px;
  color: #fff;
  transition: background-color .15s, border-color .15s;
}
.if-social a:hover { background: #fff; border-color: #fff; color: #141416; }
.if-social svg { width: 17px; height: 17px; }

/* ---------- Bottom bar ---------- */
.if-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: clamp(36px, 4vw, 52px);
  padding: 20px 0 24px;
  border-top: 1px solid var(--if-line);
  font-size: 13px;
  color: var(--if-muted);
}
.if-copy { margin-right: 8px !important; }
.if-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.if-legal a:hover { color: #fff; }
.if-top {
  margin-left: auto;
  padding: 8px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
}
.if-top:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .if-layout { grid-template-columns: minmax(0, 1fr); }
  .if-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .if-card { max-width: 560px; }
}
@media (max-width: 620px) {
  .if-lists { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--if-line); }
  .if-brand { margin-bottom: 24px; }
  .if-col__title { border-bottom: 0; padding-bottom: 0; }
  .if-card { padding: 20px; max-width: none; }
  .if-acc { border-bottom: 1px solid var(--if-line); }
  .if-acc summary.if-col__title {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 !important;
    min-height: 54px;
    cursor: pointer;
  }
  .if-acc summary::after { content: "+"; font-family: var(--if-font); font-size: 22px; font-weight: 400; color: var(--if-muted); }
  .if-acc[open] summary::after { content: "\2212"; }
  .if-acc ul { padding-bottom: 16px; }
  .if-top { margin-left: 0; }
}

/* =========================================================
   Mobile app-style tab bar (phones and small tablets)
   ========================================================= */
.ic-tabs { display: none; }
@media (max-width: 1080px) {
  .ic-tabs {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9980;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
            backdrop-filter: blur(14px) saturate(1.5);
    border-top: 1px solid #e6e7ea;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, .06);
    font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  }
  .ic-tabs a,
  .ic-tabs button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px;
    padding: 4px 2px;
    border: 0;
    border-radius: 12px;
    background: none;
    color: #5c5f68 !important;
    font: 600 11.5px/1.1 "Figtree", system-ui, sans-serif;
    text-decoration: none !important;
    cursor: pointer;
  }
  .ic-tabs svg { width: 22px; height: 22px; flex: none; }
  .ic-tabs [aria-current="page"],
  .ic-tabs button[aria-expanded="true"] { color: #692d8e !important; }
  .ic-tabs a.ic-tabs__go { background: linear-gradient(135deg, #c41e3a 0%, #692d8e 100%); color: #fff !important; }
  .ic-tabs a:focus-visible,
  .ic-tabs button:focus-visible { outline: 2px solid #692d8e; outline-offset: 1px; }

  /* keep page content and the theme's back-to-top button clear of the bar */
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  body .bt_bb_back_to_top { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* the drawer stops above the tab bar so Services can close it again */
  .ih-drawer { bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
  .ih-drawer__foot { display: none; }
}
/* =========================================================
   Theme "Page top" button: compact so it never covers content
   ========================================================= */
body .bt_bb_back_to_top .bt_back_to_top_button_no_icon { padding: .65em 1.1em; font-size: 14px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); }
body .bt_bb_back_to_top .bt_back_to_top_button_no_icon:before { font-size: 1.25em; margin-right: .4em; }
@media (max-width: 1080px) {
  /* icon-only circle on phones and tablets */
  body .bt_bb_back_to_top .bt_back_to_top_button_no_icon { width: 40px; height: 40px; padding: 0; border-radius: 50%; opacity: .92; }
  /* visually hidden, still read by screen readers and AI agents */
  body .bt_bb_back_to_top .bt_bb_back_to_top_text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  body .bt_bb_back_to_top .bt_back_to_top_button_no_icon:before { margin: 0; font-size: 22px; }
}

@media print { .ic-tabs { display: none !important; } }

/* FAQ numbers on the home page: darker purple for a readable 4.5:1 contrast on white. */
.if-list .if-number { color: #7a4590 !important; }
