/* P189 — Homepage footer only. */
#homeFooter.premium-footer {
  position: relative;
  isolation: isolate;
  padding: 0;
  border: 0;
  background: #141a51;
  color: #f3f3f7;
  font-size: .94rem;
  line-height: 1.65;
}
#homeFooter.premium-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/home-footer-botanical.png') center / cover no-repeat;
  opacity: .4761; /* 15% relative increase from V418 (.414 × 1.15). */
  filter: brightness(1.35) saturate(.6); /* Lift the existing leaves toward muted blue-grey. */
  pointer-events: none;
}
#homeFooter .home-shell { width: min(1320px, calc(100% - 64px)); max-width: 1320px; }
#homeFooter .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 30px;
  padding-block: 62px 48px;
}
#homeFooter .footer-main > * { min-width: 0; }
#homeFooter .footer-column { border-left: 1px solid #e8d6a31c; padding-left: 28px; }
#homeFooter .footer-brand-lockup { display: inline-flex; align-items: center; gap: 15px; color: #fffdf6; text-decoration: none; }
#homeFooter .footer-brand-lockup img { display: block; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: contain; }
#homeFooter .footer-brand-lockup strong { display: block; font-size: 1.9rem; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
#homeFooter .footer-brand-lockup small { display: block; margin-top: 7px; font-size: .68rem; line-height: 1.4; letter-spacing: .25em; }
#homeFooter .footer-tagline { margin: 26px 0 10px; font-size: .96rem; color: #f5f2e9; }
#homeFooter .footer-description { margin: 0; color: #ced3e4; font-size: .91rem; }
#homeFooter .footer-socials { display: flex; gap: 12px; margin-top: 24px; }
#homeFooter .footer-social { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 12px; border: 1px solid #ded5b647; border-radius: 50%; background: #ffffff04; color: #e5e8f2; }
#homeFooter .footer-social { opacity: .8; }
#homeFooter .footer-social svg { width: 17px; height: 17px; fill: currentColor; }
#homeFooter h2 { margin: 0 0 22px; font: inherit; font-size: 1.1rem; font-weight: 650; color: #ecd49a; line-height: 1.45; }
#homeFooter h2::after { content: ""; display: block; width: 32px; height: 1px; margin-top: 12px; background: #d8bb78; }
/* P206 — section-heading accents only; background and botanical treatment stay unchanged. */
#homeFooter :is(#footerExploreTitle, #footerLegalTitle, #footerContactTitle) { color: #DDBB80; }
#homeFooter :is(#footerExploreTitle, #footerLegalTitle, #footerContactTitle)::after { height: 2px; background: #BB8A3D; }
#homeFooter ul { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
#homeFooter li { margin: 0; padding: 0; }
#homeFooter a { color: inherit; text-underline-offset: 4px; overflow-wrap: anywhere; }
#homeFooter .footer-column li a { text-decoration: none; color: #e3e6f0; }
#homeFooter .footer-column li a:hover { color: #f1d99f; text-decoration: underline; }
#homeFooter .footer-form { display: grid; gap: 10px; margin: 0; }
#homeFooter .footer-field { display: grid; min-width: 0; }
/* Keep actual labels available to assistive technology; placeholders are supplementary. */
#homeFooter .footer-field > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
#homeFooter input, #homeFooter textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; margin: 0; border: 1px solid #dce0ed; border-radius: 7px; background: #fcfbfa; padding: 11px 13px; color: #1d3150; font: inherit; font-size: .88rem; line-height: 1.5; }
#homeFooter input { min-height: 44px; }
#homeFooter textarea { min-height: 96px; resize: vertical; }
#homeFooter input::placeholder, #homeFooter textarea::placeholder { color: #647087; opacity: 1; }
#homeFooter .footer-submit { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 46px; margin: 1px 0 0; padding: 11px 18px; border: 1px solid #d7b86e; border-radius: 999px; background: #ecd098; color: #18254a; font: inherit; font-size: .92rem; font-weight: 700; line-height: 1.5; }
#homeFooter .footer-submit:disabled { opacity: .55; cursor: not-allowed; }
#homeFooter a#footerContactSubmit { box-sizing: border-box; text-decoration: none; }
#homeFooter :is(a, button, input, textarea):focus-visible { outline: 2px solid #f1d99f; outline-offset: 4px; }
#homeFooter .footer-bottom { border-top: 1px solid #e8d6a335; }
#homeFooter .footer-bottom-inner { display: block; padding-block: 22px; color: #d7dcec; font-size: .8rem; text-align: center; }
#homeFooter .footer-bottom-brand { display: block; min-width: 0; white-space: normal; overflow-wrap: normal; }
@media (max-width: 1100px) {
  #homeFooter .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 38px 32px; padding-block: 48px 36px; }
  #homeFooter .footer-column { padding-left: 24px; }
  #homeFooter .footer-main > :nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  #homeFooter .home-shell { width: calc(100% - 40px); }
  #homeFooter .footer-main { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 38px 30px; }
  #homeFooter .footer-column { border-left: 0; border-top: 1px solid #e8d6a31c; padding: 26px 0 0; }
  #homeFooter .footer-brand-lockup strong { font-size: 1.8rem; }
  #homeFooter .footer-tagline { margin-top: 22px; }
  #homeFooter .footer-description { max-width: 32em; }
  #homeFooter h2 { margin-bottom: 18px; }
  #homeFooter ul { gap: 13px; }
  #homeFooter .footer-bottom-inner { padding-block: 20px; }
}

/* P200 — only the Footer's Security Technology disclosure. */
#homeFooter .footer-security-trigger {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 0; border: 0; background: transparent; color: #e3e6f0;
  font: inherit; line-height: inherit; text-align: start; cursor: pointer;
}
#homeFooter .footer-security-trigger:hover { color: #f1d99f; }
#homeFooter .footer-info-icon {
  display: inline-grid; place-items: center; flex: 0 0 17px;
  width: 17px; height: 17px; border: 1px solid #d8bb78; border-radius: 50%;
  color: #ecd49a; font-size: 11px; font-weight: 700; line-height: 1;
}
#homeFooter .footer-security-popover {
  position: fixed; z-index: 100; box-sizing: border-box;
  width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  overflow: auto; margin: 0; padding: 24px 36px 22px 20px;
  border: 1px solid #c6ad76; border-radius: 12px;
  background: #fffaf0; color: #18254a;
  box-shadow: 0 8px 24px #07132a26; font-size: .9rem; line-height: 1.65;
  overflow-wrap: break-word;
}
#homeFooter .footer-security-popover[hidden] { display: none; }
#homeFooter .footer-security-popover p { margin: 0; }
#homeFooter .footer-security-close {
  position: absolute; top: 3px; right: 3px; display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #18254a; font: inherit; font-size: 1.3rem; cursor: pointer;
}
#homeFooter .footer-security-popover button:focus-visible { outline-color: #80602a; outline-offset: 0; }
