/* Shared safeguards and navigation layout for the complete landing page. */
.site-shell { min-width: 0; overflow-x: clip; }

.contact-us__photo > img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.contact-us__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-us__form-status {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  line-height: 1.5;
}

.contact-us__form-status[data-state="error"] {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.contact-us__form button:disabled { cursor: wait; opacity: .7; }

@media (max-width: 900px) {
  .introduction,
  .home-solutions,
  .login-hub,
  .for-companies__hero,
  .for-company-solutions,
  .about-us__hero,
  .about-role,
  .about-purpose,
  .contact-us,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .for-companies__features { padding-right: 18px; padding-left: 18px; }
  .for-companies__trust { padding-right: 18px; padding-left: 18px; }
  .for-company-solutions { padding-right: 18px; padding-left: 18px; }

  .navbar {
    position: sticky;
    flex-wrap: nowrap;
    padding-right: 18px;
    padding-left: 18px;
  }

  .navbar__menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 12px;
    padding: 0;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    background: #fff;
    color: #17243b;
  }

  .navbar__menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .navbar--menu-open .navbar__menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
  .navbar--menu-open .navbar__menu-toggle span:nth-child(2) { opacity: 0; }
  .navbar--menu-open .navbar__menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .navbar__links { display: none; }
  .navbar--menu-open .navbar__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 51;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 18px 14px;
    border-top: 1px solid #edf1f6;
    background: #fff;
    box-shadow: 0 12px 20px #0f172a14;
  }

  .navbar__link {
    display: flex;
    min-height: 46px;
    align-items: center;
    flex: 0 0 auto;
    border-bottom: 1px solid #f0f2f6;
    font-size: 14px;
  }

  .navbar__link--active::after { display: none; }
  .navbar__mobile-login { display: flex !important; }
  .navbar__actions .navbar__contact { display: none; }
  .for-companies__floating--ewa { left: 0; }
  .for-companies__floating--lms { right: 0; }
  .for-companies__benefit-card { right: 0; }
}

@media (max-width: 520px) {
  .navbar { padding: 10px 18px 9px; }
  .navbar__logo { height: 21px; }
  .navbar__actions { gap: 9px; }
  .navbar__menu-toggle { margin-left: 8px; }

  .introduction__panel,
  .login-hub__panel { max-width: 100%; }

  .about-us__flow-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    margin: 0 10px -24px;
  }

  .about-us__flow-cards > .about-us__arrow { display: none; }
  .about-us__flow-card { align-items: center; gap: 10px; padding: 11px 12px; }
  .about-us__flow-card strong { font-size: 11px; }
  .about-us__flow-card small { font-size: 9px; }
  .about-us__platform { grid-column: auto; width: 76px; height: 76px; justify-self: center; }
  .about-us__platform strong { font-size: 9px; }
  .about-us__platform small { font-size: 7px; }

  .for-companies__floating--lms { top: 54px; }

  .contact-us__form-card,
  .contact-us__partnership { min-width: 0; }
  .contact-us__methods strong { overflow-wrap: anywhere; }

  .footer { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 360px) {
  .navbar { padding-right: 18px; padding-left: 18px; }
  .navbar__logo { height: 19px; }
  .navbar__actions { gap: 7px; }
  .navbar__contact { padding: 7px 9px; font-size: 11px; }
  .lang-switch { transform: scale(.92); transform-origin: right center; }

  .introduction__actions { align-items: stretch; flex-direction: column; }
  .introduction__button { width: 100%; }
  .contact-us__feature { gap: 7px; }
  .contact-us__features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .navbar__menu-toggle span { transition: none; }
}
