/* The desktop footer remains open; compact link groups expand on small screens. */
.footer-fold__summary { list-style: none; }
.footer-fold__summary::-webkit-details-marker { display: none; }
.footer-fold__summary::marker { content: ''; }
.footer-fold__arrow { display: none; }
@media (width > 600px) {
  .footer-fold__summary { pointer-events: none; }
}
@media (600px < width <= 1000px) {
  .site-footer > .container { width: calc(100% - 48px); }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-column--about, .footer-column--contact, .footer-column--trust { grid-column: 1 / -1; }
  .footer-column--categories, .footer-column--quick { grid-column: auto; }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-contact__item:last-child { grid-column: 1 / -1; }
  .footer-trust-marks { min-height: 110px; }
}
@media (width <= 600px) {
  .site-footer { width: calc(100% - 24px); margin: 0 auto 16px; border-radius: 24px; }
  .site-footer > .container { width: calc(100% - 32px); }
  .footer-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; padding-block: 22px; border-color: rgb(255 255 255 / 9%); }
  .footer-benefit { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 16px 8px 14px; border-radius: 13px; background: rgb(255 255 255 / 3%); text-align: center; }
  .footer-benefit__image { width: 42px; height: 42px; flex: 0 0 42px; object-fit: contain; }
  .footer-benefit__title { margin: 0 0 5px; font-size: 11px; font-weight: 700; line-height: 21px; }
  .footer-benefit__description { margin: 0; font-size: 10px; line-height: 20px; color: rgb(255 255 255 / 63%); }
  .site-footer__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 24px 0; }
  .site-footer__main > .footer-column { grid-column: 1; min-width: 0; }
  .footer-column--about { padding-bottom: 24px; }
  .footer-logo { width: 166px; height: 39px; margin: 0 auto 16px; }
  .footer-logo img { width: 166px; height: 39px; }
  .site-footer__description { color: rgb(255 255 255 / 68%); font-size: 11px; line-height: 25px; text-align: center; overflow-wrap: break-word; }
  .footer-column__title { margin: 0 0 18px; color: var(--color-primary); font-size: 14px; font-weight: 800; line-height: 26px; text-align: center; }
  .footer-column--categories, .footer-column--quick { border-top: 1px solid rgb(255 255 255 / 9%); }
  .footer-column--quick { border-bottom: 1px solid rgb(255 255 255 / 9%); }
  .footer-fold__summary { position: relative; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px 32px; cursor: pointer; }
  .footer-fold__summary .footer-column__title { margin: 0; font-size: 12px; color: rgb(255 255 255 / 85%); }
  .footer-fold__arrow { position: absolute; inset-inline-end: 4px; top: calc(50% - 13px); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / 5%); color: #b7c0c5; transition: transform 320ms ease, color 320ms ease; }
  .footer-fold__arrow svg { width: 10px; height: 6px; }
  .footer-fold[open] .footer-fold__arrow { transform: rotate(180deg); color: var(--color-primary); }
  .footer-fold[open] .footer-fold__summary .footer-column__title { color: var(--color-primary); }
  .footer-fold .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding-bottom: 14px; }
  .footer-fold .site-footer__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 7px 0; color: rgb(255 255 255 / 66%); font-size: 11px; line-height: 22px; text-align: center; overflow-wrap: anywhere; }
  .footer-column--contact { padding-block: 24px; }
  .footer-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .footer-contact__item { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 10px; min-width: 0; padding: 16px 8px 8px; border: 1px solid rgb(255 255 255 / 7%); border-radius: 13px; background: rgb(255 255 255 / 3%); text-align: center; }
  .footer-contact__item > .footer-svg { width: 32px; height: 32px; overflow: visible; }
  .footer-contact__item > div { width: 100%; min-width: 0; }
  .footer-contact__label { margin-bottom: 1px; font-size: 10px; line-height: 20px; color: rgb(255 255 255 / 53%); }
  .site-footer .footer-contact__phone { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; font-size: 14px; font-weight: 700; line-height: 24px; letter-spacing: 0; white-space: nowrap; }
  .footer-contact__item:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; text-align: start; }
  .footer-contact__address { margin: 0; font-size: 11px; line-height: 24px; color: rgb(255 255 255 / 68%); }
  .footer-column--trust { padding: 0 0 24px; }
  .footer-column--trust .footer-column__title { margin-bottom: 12px; font-size: 12px; }
  .footer-trust-marks { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 0; }
  .footer-trust-marks img { box-sizing: content-box; width: auto; max-width: none; height: 88px; padding: 12px; border-radius: 12px; background: rgb(255 255 255 / 4%); object-fit: contain; }
  .site-footer__bottom { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 9%); }
  .footer-socials { order: -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; gap: 4px; justify-self: auto; }
  .footer-socials__item { display: block; width: auto; min-width: 0; height: 42px; }
  .footer-socials__link { width: 100%; height: 42px; border-radius: 8px; }
  .footer-socials .footer-svg { width: 28px; height: 28px; overflow: visible; }
  .site-footer__copyright { margin: 0; font-size: 10px; line-height: 23px; text-align: center; color: rgb(255 255 255 / 45%); }
  @supports (interpolate-size: allow-keywords) {
    .footer-fold { interpolate-size: allow-keywords; }
    .footer-fold::details-content { height: 0; overflow: clip; transition: height 320ms ease, content-visibility 320ms allow-discrete; }
    .footer-fold[open]::details-content { height: auto; }
  }
}
@media (width <= 350px) {
  .site-footer > .container { width: calc(100% - 28px); }
  .footer-benefit { padding-inline: 6px; }
  .footer-benefit__title { font-size: 10px; }
  .site-footer .footer-contact__phone { font-size: 12px; }
  .footer-contact__item { padding-inline: 6px; }
  .footer-socials .footer-svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-fold__arrow, .footer-fold::details-content { transition: none; }
}

/* Keep the final footer actions above the fixed mobile navigation. */
@media (max-width: 1000px) {
      footer.site-footer { margin-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important; }
}

}