/* Keep the footer brand legible and contact values stable in both directions. */
/* Use the tight transparent logo instead of shrinking the padded UI asset. */
/* The logo card shrinks with the brand column, so at 125%+ browser zoom (narrower CSS viewport)
   it no longer spills over the next footer column. */
.footer-brand-logo {
  display: inline-flex;
  max-width: 100%;
}
.footer-brand-logo .logo-icon {
  padding: 14px 18px;
  background: #fff;
  border-radius: 14px;
  box-sizing: border-box;
  max-width: 100%;
}
.footer-brand-logo .brand-logo:not(.brand-logo--ui) {
  width: 220px;
  height: auto;
  max-width: 100%;
  max-height: none;
}
.footer-brand-logo .brand-logo-picture--dark { display: none !important; }
.footer-brand-logo .brand-logo-picture--light { display: contents !important; }
.footer-brand { min-width: 0; }
.footer-col .contact-ltr, .contact-card .contact-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.contact-card > div:last-child { min-width: 0; }
.contact-card p { overflow-wrap: anywhere; }
#contact { scroll-margin-top: 180px; }

/* App-style headset launcher and its two contact choices. */
.aw-sc-launcher[hidden] { display: none !important; }
.contact-launcher {
    position: fixed;
    inset-inline-end: var(--aw-float-inline-end, 24px);
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 951;
}
.contact-launcher__toggle {
    width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(15,43,62,.78); color: #fff;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0,35,55,.2);
    display: grid; place-items: center; cursor: pointer; font-size: 24px;
}
.contact-launcher__toggle:focus-visible,
.contact-launcher__choices :focus-visible { outline: 3px solid var(--primary, #00a9d5); outline-offset: 3px; }
.contact-launcher__choices {
    position: absolute; bottom: 70px; inset-inline-end: 0;
    width: min(265px, calc(100vw - 48px)); padding: 8px;
    background: var(--bg-card, #fff); color: var(--text-primary, #102b3e);
    border: 1px solid var(--border, #e2e8f0); border-radius: 22px;
    box-shadow: 0 8px 30px rgba(0,35,55,.18);
}
.contact-launcher__choices[hidden] { display: none; }
.contact-launcher__choices a, .contact-launcher__choices button {
    width: 100%; min-height: 48px; padding: 12px 10px;
    display: flex; align-items: center; gap: 12px;
    border: 0; border-radius: 14px; background: transparent;
    color: inherit; text-align: start; font: inherit;
    line-height: 1.5; text-decoration: none; cursor: pointer;
}
.contact-launcher__choices a:hover, .contact-launcher__choices button:hover { background: var(--bg-secondary, #eff8fb); }
.contact-launcher__choices i { width: 24px; flex-shrink: 0; text-align: center; font-size: 22px; }
.contact-launcher__choices .fa-whatsapp { color: #17bf62; }
/* App download QR codes: sit under the footer logo/description, each with its store icon inside. */
.footer-app-downloads { margin-top: 4px; text-align: start; }
.footer-app-downloads h4 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 700; }
.footer-app-downloads__stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
.footer-app-downloads__store { display: flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; transition: transform .2s ease; }
.footer-app-downloads__store:hover, .footer-app-downloads__store:focus-visible { transform: translateY(-2px); }
.footer-app-downloads__qr { position: relative; display: block; width: 120px; height: 120px; padding: 6px; background: #fff; border: 1px solid var(--border, #e2e8f0); border-radius: 14px; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.footer-app-downloads__qr img { display: block; width: 100%; height: 100%; border-radius: 6px; }
/* Keep badge + white ring <= ~16% of the code width: the App Store code stops scanning past ~20% covered. */
.footer-app-downloads__qr-badge { position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 4px; background: #fff; box-shadow: 0 0 0 2px #fff; font-size: 11px; line-height: 1; }
.footer-app-downloads__label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; }
.footer-app-downloads__label i { font-size: 0.95rem; }
.footer-app-downloads__store--google-play .footer-app-downloads__qr-badge i,
.footer-app-downloads__store--google-play .footer-app-downloads__label i { color: #01875f; }
.footer-app-downloads__store--app-store .footer-app-downloads__qr-badge i { color: #000; }
@media (max-width: 768px) {
  .footer-app-downloads, .footer-app-downloads__stores { justify-content: center; text-align: center; }
}
/* Leave room for the existing back-to-top control without covering the contact choices. */
.contact-launcher:has(.contact-launcher__choices:not([hidden])) { z-index: 953; }

/* Short national address in the footer "Contact Us" column (moved from the header). */
.footer .footer-short-address { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.85rem; }
.footer .footer-short-address > i { opacity: .85; }
.footer .footer-short-address .store-short-address__label { color: inherit; font-weight: 600; }
.footer .footer-short-address .store-short-address__box { background: #fff; color: #0f172a; border-color: rgba(148, 163, 184, .7); }

/* Footer: brand + 5 link columns (Radar DR-0033). Smaller screens keep responsive.css rules. */
@media (min-width: 1025px) {
  .footer .footer-grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 28px; }
}

/* Contact Us column: icon stays on the same line as the email / phone. */
.footer .footer-grid .footer-col:last-child > a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer .footer-grid .footer-col:last-child > a > i { flex: 0 0 auto; }
.footer .footer-grid .footer-col:last-child .contact-ltr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* About pages not written yet (Our Certificates / Our Projects). */
.about-coming-soon { padding: 64px 0 80px; }
.about-coming-soon__card { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 32px; border: 1px solid var(--border, #e2e8f0); border-radius: 20px; background: var(--bg-card, #fff); box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.about-coming-soon__icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 20px; background: var(--accent-light, #e0f7fb); color: var(--accent, #0891b2); font-size: 30px; }
.about-coming-soon__title { margin: 0 0 10px; font-size: 1.8rem; }
.about-coming-soon__text { margin: 0 0 24px; color: var(--text-secondary, #64748b); }

/* Leave room for the pinned search bar when jumping to the contact section. */
#contact { scroll-margin-top: 110px; }
