/* Shared fixes for the ZYNO Kenya shell. */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.site-nav { position: sticky; top: 0; z-index: 1000; width: 100%; }
.site-nav > ul, .site-nav-links { list-style: none; }
.site-nav-links { display: flex; align-items: center; }
.site-nav .has-dropdown { position: relative; }
.site-nav .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 1002; min-width: 250px; max-height: 75vh; overflow-y: auto; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.site-nav .has-dropdown:hover .dropdown-menu, .site-nav .has-dropdown:focus-within .dropdown-menu { display: block; }
.site-nav .dropdown-menu a { display: block; padding: 10px 16px; white-space: nowrap; color: #0b172a; text-decoration: none; font-weight: 500; }
.site-nav .dropdown-menu a:hover, .site-nav .dropdown-menu a:focus-visible { background: #f1f5f9; color: #65c83f; }
.nav-mobile-panel { z-index: 1003; }
.nav-mobile-overlay { z-index: 1002; }
.mobile-dropdown-menu { display: none; }
.nav-mobile-panel.active { display: block; }
.nav-mobile-overlay.active { display: block; }
.site-nav a:focus-visible, .site-nav button:focus-visible, footer a:focus-visible { outline: 3px solid #ff7a1a; outline-offset: 3px; }
footer .footer-brand a { color: inherit; }
footer .footer-brand img { max-width: 190px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .92rem; }
.consent input { margin-top: 4px; }
.contact-page .contact-form { display: grid; gap: 16px; }
.contact-page .contact-form label:not(.consent):not(.form-trap) { display: grid; gap: 6px; }
.contact-page input, .contact-page textarea { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
.product-demo-dialog { box-sizing: border-box; width: min(620px, calc(100% - 28px)); max-height: min(90vh, 900px); overflow-y: auto; border: 0; border-radius: 16px; padding: 30px; color: #0b172a; box-shadow: 0 24px 70px rgba(2,17,39,.28); }
.product-demo-dialog::backdrop { background: rgba(2,17,39,.62); }
.product-demo-dialog h2 { margin: 0 42px 8px 0; font-family: 'Sora', sans-serif; }
.product-demo-dialog > p { margin: 0 0 18px; color: #526174; }
.product-demo-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: #526174; font-size: 30px; cursor: pointer; }
.product-demo-form { display: grid; gap: 12px; }
.product-demo-form label:not(.consent):not(.form-trap) { display: grid; gap: 5px; font-weight: 550; }
.product-demo-form input:not([type=checkbox]), .product-demo-form select, .product-demo-form textarea { box-sizing: border-box; width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 7px; font: inherit; }
.product-demo-form textarea { resize: vertical; }
.product-demo-form .form-submit { justify-self: start; }
.zyno-faq { padding: 56px 24px; }
.zyno-faq .container { max-width: 1000px; margin: 0 auto; }
.zyno-faq details { border-bottom: 1px solid #dbe2ea; padding: 16px 0; }
.zyno-faq summary { cursor: pointer; font-weight: 650; }
.zyno-faq details p { max-width: 78ch; line-height: 1.65; }
@media (max-width: 900px) {
  .site-nav > ul.site-nav-links { display: none; }
  .site-nav { box-sizing: border-box; }
  .site-nav .logo img { display: block; width: auto; max-width: min(150px, 48vw); height: auto; }
  .site-nav .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 6px;
    background: #142640;
  }
  .site-nav .nav-mobile-bar { width: 24px; height: 2px; margin: 3px 0; background: #fff; }
  .hero { box-sizing: border-box; width: 100%; gap: 32px; padding: 56px 20px 40px; }
  .hero-text { box-sizing: border-box; width: 100%; min-width: 0; }
  .hero h1 { font-size: clamp(1.8rem, 7.2vw, 2.6rem); overflow-wrap: anywhere; }
  .hero p { width: 100%; }
  .hero-visual { box-sizing: border-box; min-width: 0; height: auto; }
  .hero-visual img { width: 100%; height: auto; }
  .hero .btn-primary, .hero .btn-outline { margin: 0 8px 12px 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-grid > * { min-width: 0; overflow-wrap: anywhere; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 450px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .btn-primary, .hero .btn-outline { max-width: 100%; box-sizing: border-box; text-align: center; }
}

/* ─── CONTACT FORM CONSENT & SUBMIT ─── */
.consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 20px 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #7fd349;
}

.consent a {
    color: #7fd349;
    text-decoration: underline;
}

.consent a:hover {
    color: #62a331;
    text-decoration: none;
}

#contact_us_dataa {
    background: #7fd349;
    color: #fff !important;
    border: none;
    padding: 13px 32px;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    margin-top: 16px;
    width: 100%;
    max-width: 300px;
    display: inline-block;
    text-align: center;
}

#contact_us_dataa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

#contact_us_dataa:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
