/* Scoped to the shared footer; existing page styles stay intact. */
.df-footer {
  position: relative; isolation: isolate; padding: 0; margin: 0; width: 100%; max-width: none;
  text-align: left; color: #fff;
  background: #122b42 url('footer-assets/background.webp') center 56% / cover no-repeat;
  border-top: 5px solid #8cc63f;
  font: 400 16px/1.6 system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
.df-footer::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(5,23,41,.74), rgba(8,30,48,.60) 55%, rgba(5,23,41,.62)), linear-gradient(0deg, rgba(4,19,34,.64), transparent 65%);
}
.df-footer *, .df-footer *::before, .df-footer *::after { box-sizing: border-box; }
.df-footer__inner { width: min(1280px, 100%); margin: 0 auto; padding: 48px 48px 20px; }
.df-footer p { margin: 0; color: #fff; max-width: none; font-size: 1rem; }
.df-footer a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.df-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.df-footer a:focus-visible { outline: 3px solid #d4ff8c; outline-offset: 5px; border-radius: 3px; }
.df-footer__opening { display: grid; grid-template-columns: .8fr 1.6fr; align-items: center; gap: 70px; padding-bottom: 44px; }
.df-footer__logo { display: block; width: 250px; max-width: 100%; background: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 4px; box-shadow: 0 10px 36px #0003; }
.df-footer__logo img { width: 100%; height: auto; display: block; border-radius: inherit; opacity: .68; }
.df-footer__brand > p { margin-top: 22px; font-size: .95rem; }
.df-footer .df-footer__eyebrow { color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 14px; }
.df-footer h2 { color: #fff; font: 650 clamp(28px,3.2vw,46px)/1.13 system-ui, sans-serif; letter-spacing: -.035em; margin: 0 0 18px; text-align: left; }
.df-footer h2 em { font-style: normal; color: #d1f7a1; }
.df-footer .df-footer__button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 54px; margin-top: 25px; padding: 14px 22px; color: #12283e; background: #b5e46c; border: 2px solid transparent; border-radius: 4px; font-weight: 750; text-decoration: none; }
.df-footer .df-footer__button:hover { background: #d1f7a1; border-color: #fff; }
.df-footer__button span { font-size: 1.4rem; line-height: 1; }
.df-footer__details { display: grid; grid-template-columns: 1.15fr .75fr 1fr; gap: 46px; padding: 32px 0 27px; border-top: 1px solid #ffffff59; }
.df-footer h3 { font-size: .83rem; color: #fff; font-weight: 750; line-height: 1.4; margin: 0 0 20px; letter-spacing: .02em; }
.df-footer__details a { display: flex; align-items: center; min-height: 44px; width: fit-content; gap: 12px; font-size: .95rem; }
.df-footer__details h3 + a { align-items: flex-start; line-height: 1.5; }
.df-footer__details h3 + .df-footer__phone { line-height: 1.1; }
.df-footer__details .df-footer__phone { font-size: clamp(23px,2.2vw,30px); font-weight: 700; letter-spacing: -.03em; }
.df-footer__details .df-footer__email { display: block; align-content: center; max-width: 100%; font-size: .89rem; }
.df-footer__details p { font-size: .95rem; margin-bottom: 12px; }
.df-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 25px; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff40; padding-top: 14px; }
.df-footer__bottom p, .df-footer__bottom a { font-size: .76rem; }
.df-footer__bottom > a, .df-footer__bottom p a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.df-footer .df-footer__image-note { margin-top: 8px; font-size: .72rem; }
.df-back-to-top { position:fixed; right:18px; bottom:calc(18px + env(safe-area-inset-bottom,0px)); z-index:110; display:flex; flex-direction:column; align-items:center; justify-content:center; width:52px; height:52px; border:2px solid #143b6b; border-radius:50%; background:#8cc63f; color:#102e50; text-decoration:none; box-shadow:0 3px 14px #0004; font:700 11px/1.1 system-ui,sans-serif; }
.df-back-to-top span:first-child { font-size:22px; }
.df-back-to-top:hover { background:#b5e46c; }
.df-back-to-top:focus-visible { outline:3px solid #143b6b; outline-offset:4px; box-shadow:0 0 0 7px white; }
.df-footer__inner { padding-bottom:88px; }
@media (max-width: 1000px) {
  .df-footer__inner { padding: 48px 30px 16px; }
  .df-footer__opening { gap: 35px; grid-template-columns: .8fr 1.3fr; }
  .df-footer__details { gap: 26px; grid-template-columns: 1.2fr .8fr; }
  .df-footer__details > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .df-footer { background-image: url('footer-assets/background-mobile.webp'); background-position: 59% center; }
  .df-footer::before { background: linear-gradient(90deg, rgba(5,23,41,.72), rgba(5,23,41,.62)), linear-gradient(0deg, rgba(5,23,41,.45), transparent); }
  .df-footer__inner { padding: 34px 24px 88px; text-align:center; }
  .df-footer__opening { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .df-footer__logo { width: 215px; margin-inline:auto; }
  .df-footer__brand > p { margin-top: 16px; }
  .df-footer h2 { font-size: clamp(27px,7.4vw,40px); text-align:center; }
  .df-footer__invitation h2 br { display: initial; }
  .df-footer .df-footer__button { width: 100%; gap: 12px; justify-content:center; }
  .df-footer__details a { margin-inline:auto; justify-content:center; }
  .df-footer__details .df-footer__email { overflow-wrap:anywhere; }
  .df-footer__details { grid-template-columns: 1fr; gap: 26px; padding-top: 27px; }
  .df-footer__details > :last-child { grid-column: auto; }
  .df-footer__bottom { display: block; }
  .df-footer__bottom > p:first-child { margin-top: 12px; }
}
