/* Footer v2: white logo on navy, links, services that open their details, quick contact.
   The previous version is kept in backups/footer.html. */
.site-foot { position: relative; isolation: isolate; overflow: hidden; padding-top: 64px; background: var(--navy); color: #fff; }
/* the brand's blue/silver accent runs along the top edge */
.site-foot::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(to left, var(--blue) 0 30%, #9aa3b2 30% 42%, transparent 42%); }
html[dir="ltr"] .site-foot::before { background: linear-gradient(to right, var(--blue) 0 30%, #9aa3b2 30% 42%, transparent 42%); }
.site-foot::after { content: ''; position: absolute; z-index: -1; bottom: -120px; inset-inline-end: -80px; width: 380px; height: 480px; background: rgb(255 255 255 / 3%); clip-path: polygon(0 0,43% 0,100% 50%,43% 100%,0 100%,57% 50%); }

.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.foot-logo img { width: 128px; height: auto; }
.foot-brand p { margin-top: 18px; color: #b9c4da; font-size: 14px; line-height: 2; max-width: 330px; }
.foot-tagline { display: inline-block; margin-top: 12px; color: #8abaff; font-size: 14px; font-weight: 800; }

.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 16px; font-weight: 900; }
.foot-col h3::before { content: ''; width: 18px; height: 3px; background: var(--blue); clip-path: polygon(3px 0,100% 0,calc(100% - 3px) 100%,0 100%); }
.foot-col a, .foot-col button { padding: 0; background: none; color: #b9c4da; font-size: 14px; font-weight: 600; text-align: start; transition: color .2s, transform .2s var(--ease); }
.foot-col a:hover, .foot-col button:hover, .foot-col a:focus-visible, .foot-col button:focus-visible { color: #fff; transform: translateX(-3px); }
html[dir="ltr"] .foot-col a:hover, html[dir="ltr"] .foot-col button:hover { transform: translateX(3px); }

.foot-contact a { display: flex; align-items: flex-start; gap: 12px; width: 100%; line-height: 1.6; }   /* full-width rows: every icon starts on the same edge */
.foot-contact a > span { flex: 1; min-width: 0; }
/* icons sit level with the label + first line, so they keep an even rhythm even when the address wraps */
.foot-contact a > i { margin-top: 5px; }
.foot-contact i { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; background: rgb(255 255 255 / 7%); color: #8abaff; font-size: 14px; clip-path: polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%); }
.foot-contact small { display: block; color: #6f80a3; font-size: 12px; font-weight: 700; }
.foot-contact bdi { color: #fff; font: 700 15px Arial, sans-serif; letter-spacing: .02em; }
.foot-contact a:hover { transform: none; }

.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 9%); color: #6f80a3; font-size: 13px; }
.foot-gateway { font: 700 10px Arial, sans-serif; letter-spacing: .2em; color: #4a6496; }

@media (max-width: 1023px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .site-foot { padding-top: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .foot-brand, .foot-contact { grid-column: 1 / -1; }
  .foot-bottom { flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px; padding-block: 18px 84px; }  /* clear of the floating WhatsApp button */
  .foot-gateway { display: none; }
}

/* Designer credit, in the bottom bar */
.designed { display: flex; justify-content: end; align-items: center; gap: 15px; }
.designed p { color: #C0C0C0; font-size: 13px; }
.designed .svg-cop { width: 93px; }
.designed .svg-cop img { display: block; width: 100%; height: auto; }

/* Floating WhatsApp: the plain round icon, with a soft ripple and a nudge every few seconds. */
.whatsapp-float { position: fixed; z-index: 40; bottom: 24px; inset-inline-end: 24px; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgb(37 211 102 / 35%); transition: transform .25s var(--ease); }
.whatsapp-float > i { width: auto; height: auto; background: none; font-size: 30px; animation: wa-nudge 4s ease-in-out infinite; }
.whatsapp-float::before, .whatsapp-float::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: wa-ripple 2.4s ease-out infinite; }
.whatsapp-float::after { animation-delay: 1.2s; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes wa-ripple { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes wa-nudge { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float > i, .whatsapp-float::before, .whatsapp-float::after { animation: none; }
}
@media (max-width: 767px) {
  .whatsapp-float { bottom: 18px; inset-inline-end: 18px; width: 52px; height: 52px; border: 0; }
  .whatsapp-float > i { font-size: 28px; }
  .foot-bottom { padding-bottom: 84px; }   /* clear of the floating WhatsApp button */
  .designed { justify-content: center; }
}
