/* Sendrix static site */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body.sx-body { margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.sx-page img:not(.sx-logo-img) { max-width: 100%; height: auto; }

.sx-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.sx-logo--footer {
  display: inline-block;
  margin-bottom: 18px;
}

.sx-logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(140px, 32vw);
  object-fit: contain;
}

.sx-logo-img--footer {
  height: 28px;
  max-width: 140px;
}

/* ── Nav ── */
@media (max-width: 960px) {
  [data-sx-nav-desktop] { display: none !important; }
  [data-sx-nav-actions] { display: none !important; }
  [data-sx-nav-toggle] { display: flex !important; }
  .sx-nav-inner { padding: 0 16px !important; gap: 16px !important; }
}
@media (min-width: 961px) {
  [data-sx-nav-mobile] { display: none !important; }
}

/* ── Footer ── */
@media (max-width: 860px) {
  .sx-foot-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
}
@media (max-width: 520px) {
  .sx-foot-grid { grid-template-columns: 1fr !important; }
}

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .sx-page [style*="padding:150px 32px"] { padding: 120px 24px 64px !important; }
  .sx-page [style*="padding:96px 32px"] { padding: 72px 24px !important; }
  .sx-page [style*="padding:80px 32px"] { padding: 64px 24px !important; }
  .sx-page [style*="padding:72px 32px"] { padding: 56px 24px !important; }
  .sx-page [style*="padding:64px 32px"] { padding: 48px 24px !important; }
  .sx-page [style*="padding:80px 32px 64px"] { padding: 64px 24px 48px !important; }
  .sx-page [style*="padding:84px 32px 0"] { padding: 72px 24px 0 !important; }
  .sx-page [style*="padding:0 32px"] { padding-left: 24px !important; padding-right: 24px !important; }
  .sx-page [style*="max-width:1280px"] { max-width: 100% !important; }
  .sx-page [style*="max-width:1100px"] { max-width: 100% !important; }
  .sx-page [style*="max-width:960px"] { max-width: 100% !important; }

  .sx-page h1[style*="font-size:54px"],
  .sx-page h1[style*="font-size:52px"],
  .sx-page h1[style*="font-size:48px"],
  .sx-page h1[style*="font-size:42px"] { font-size: 40px !important; line-height: 1.12 !important; }

  .sx-page h2[style*="font-size:44px"],
  .sx-page h2[style*="font-size:40px"],
  .sx-page h2[style*="font-size:38px"],
  .sx-page h2[style*="font-size:36px"] { font-size: 32px !important; line-height: 1.15 !important; }

  .sx-page [style*="grid-template-columns:1.2fr 1fr"],
  .sx-page [style*="grid-template-columns:1.1fr 1fr"],
  .sx-page [style*="grid-template-columns:1.3fr 1fr"],
  .sx-page [style*="grid-template-columns:1fr 1.15fr"],
  .sx-page [style*="grid-template-columns:1fr 1fr"],
  .sx-page [style*="grid-template-columns:200px 1fr"],
  .sx-page [style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .sx-page [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sx-page [style*="margin:54px auto -90px"] { margin-bottom: -48px !important; }

  .sx-page [style*="border-radius:20px;padding:64px"],
  .sx-page [style*="border-radius:20px;padding:56px"] { padding: 40px 32px !important; }

  .sx-page [style*="border-right:1px solid #EDEEF2"][style*="aspect-ratio:16/10"] {
    border-right: none !important;
    border-bottom: 1px solid #EDEEF2 !important;
  }
}

/* ── Mobile (≤640px) ── */
@media (max-width: 640px) {
  .sx-page [style*="padding:150px 32px"] { padding: 96px 16px 48px !important; }
  .sx-page [style*="padding:96px 32px"],
  .sx-page [style*="padding:80px 32px"],
  .sx-page [style*="padding:80px 32px 64px"],
  .sx-page [style*="padding:72px 32px"],
  .sx-page [style*="padding:64px 32px"] { padding: 48px 16px !important; }
  .sx-page [style*="padding:84px 32px 0"] { padding: 64px 16px 0 !important; }
  .sx-page [style*="padding:0 32px 100px"],
  .sx-page [style*="padding:0 32px 80px"],
  .sx-page [style*="padding:0 32px 72px"] { padding-left: 16px !important; padding-right: 16px !important; padding-bottom: 64px !important; }
  .sx-page [style*="padding:0 32px"] { padding-left: 16px !important; padding-right: 16px !important; }

  .sx-page h1[style*="font-size"] { font-size: 32px !important; line-height: 1.15 !important; }
  .sx-page h2[style*="font-size"] { font-size: 26px !important; line-height: 1.2 !important; }
  .sx-page h3[style*="font-size:22px"],
  .sx-page h3[style*="font-size:20px"] { font-size: 18px !important; }

  .sx-page [style*="font-size:18px"][style*="color:#565969"],
  .sx-page [style*="font-size:17px"],
  .sx-page p[style*="font-size:18px"] { font-size: 16px !important; }

  .sx-page [style*="grid-template-columns:repeat(3"],
  .sx-page [style*="grid-template-columns:repeat(2"],
  .sx-page [style*="grid-template-columns:1.2fr 1fr"],
  .sx-page [style*="grid-template-columns:1.1fr 1fr"],
  .sx-page [style*="grid-template-columns:1.3fr 1fr"],
  .sx-page [style*="grid-template-columns:1fr 1.15fr"],
  .sx-page [style*="grid-template-columns:1fr 1fr"],
  .sx-page [style*="grid-template-columns:200px 1fr"],
  .sx-page [style*="grid-template-columns:auto 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .sx-page [style*="display:flex"][style*="gap:48px"],
  .sx-page [style*="display:flex"][style*="gap:40px"],
  .sx-page [style*="display:flex"][style*="gap:32px"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .sx-page [style*="min-width:150px"] {
    min-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .sx-page [style*="color:#C9C6F5"][style*="font-size:20px"] { display: none !important; }

  .sx-page [style*="margin:54px auto -90px"] { margin: 32px auto -24px !important; }

  .sx-page [style*="border-radius:20px;padding:28px"],
  .sx-page [style*="border-radius:16px;padding:32px"],
  .sx-page [style*="border-radius:20px;padding:64px"],
  .sx-page [style*="border-radius:20px;padding:56px"],
  .sx-page [style*="border-radius:20px;padding:72px 56px"] { padding: 20px 16px !important; }

  .sx-page [style*="padding:44px"] { padding: 24px 20px !important; }
  .sx-page [style*="padding:40px"][style*="border:1px solid #E7E8EE"] { padding: 24px 16px !important; }

  .sx-page [style*="display:flex;flex-wrap:wrap;gap:12px"] { gap: 8px !important; }

  [data-contact-form] [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .sx-page [style*="font-size:48px"][style*="font-weight:800"] { font-size: 36px !important; }
  .sx-page [style*="font-size:56px"] { font-size: 40px !important; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .sx-page h1[style*="font-size"] { font-size: 28px !important; }
  .sx-page [style*="display:inline-flex"][style*="padding:14px 28px"],
  .sx-page [style*="display:inline-flex"][style*="padding:13px 24px"],
  .sx-page [style*="display:inline-flex"][style*="padding:12px 22px"] {
    width: 100% !important;
    justify-content: center !important;
  }
  .sx-page [style*="display:flex"][style*="gap:12px"][style*="margin-top:32px"] {
    flex-direction: column !important;
  }
}

[data-sx-nav-link]:hover { background: #F4F3FC !important; color: #0E0E12 !important; }
[data-sx-cta]:hover { background: #14B8A6 !important; }
[data-sx-foot-link]:hover { color: #ffffff !important; }

[data-sx-nav-mobile][hidden] { display: none !important; }
[data-sx-nav-mobile].sx-open { display: flex !important; }

.sx-faq-item summary::-webkit-details-marker { display: none; }
.sx-faq-item[open] .sx-faq-icon {
  background: #4F46E5 !important;
  color: #fff !important;
  transform: rotate(45deg);
}

@keyframes sx-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes sx-scan { 0% { transform: translateY(0); } 100% { transform: translateY(132px); } }
@keyframes sx-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #4F46E5 !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12) !important;
}
