/* Jonnex Technologies — modern company homepage layout */

body.company-site {
  font-family: Inter, system-ui, sans-serif;
  background: #ffffff;
  color: #1a1d21;
}

body.company-site .floating-nav,
body.company-site .scroll-progress {
  display: none !important;
}

/* Top utility bar */
.topbar {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
  padding: 0.45rem 20px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.topbar a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar a:hover {
  color: #f86800;
}
.topbar i {
  margin-right: 0.35rem;
  color: #f86800;
}
.topbar-right a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.topbar-right a i {
  margin: 0;
  color: #fff;
}

/* ===== Header: logo left · tabs centred · CTA right ===== */
body.company-site header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #edf0f5;
  box-shadow: 0 6px 20px rgba(10, 20, 40, 0.04);
}
body.company-site .nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  height: 78px;
  position: relative;
}
body.company-site .brand { justify-self: start; }
body.company-site .logo { width: 190px; height: 52px; }
body.company-site .nav > nav { justify-self: center; position: relative; }
body.company-site .header-cta { justify-self: end; }

body.company-site nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
body.company-site nav a {
  color: #1a1d21;
  font-weight: 600;
  font-size: 0.95rem;
}
body.company-site nav a.active,
body.company-site nav a:hover {
  color: #003098;
}
body.company-site nav a::after {
  background: #f86800;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
}

/* Orange call-to-action (header button + the copy inside the mobile menu) */
body.company-site .header-cta,
body.company-site .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f86800;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
body.company-site .header-cta:hover,
body.company-site .nav-cta:hover {
  background: #003098;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 48, 152, 0.22);
}
body.company-site .nav-cta::after { display: none; }

body.company-site .menu-toggle { display: none; }
body.company-site .menu-toggle span { background: #003098; }
body.company-site .nav-cta-mobile { display: none; }

/* Hamburger layout (phones and small tablets) */
@media (max-width: 960px) {
  body.company-site .nav {
    display: flex;
    justify-content: space-between;
    position: static;      /* lets the dropdown span the whole header */
    height: 70px;
  }
  body.company-site .nav > nav {
    position: static;
    justify-self: auto;
    width: auto;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
  }
  body.company-site .logo { width: 160px; height: 46px; }
  body.company-site .header-cta { display: none; }
  body.company-site .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 10px 7px;
    align-items: stretch;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 100;
  }
  body.company-site .menu-toggle span { height: 3px; border-radius: 3px; }
  body.company-site .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  body.company-site .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  body.company-site nav ul#menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 0.25rem 0 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
    box-shadow: 0 16px 28px rgba(10, 20, 40, 0.12);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    z-index: 99;
  }
  body.company-site nav ul#menu.open { display: flex; }
  body.company-site nav ul#menu li {
    margin: 0;
    border-bottom: 1px solid #f0f3f8;
  }
  body.company-site nav ul#menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    color: #1a1d21 !important;
    background: transparent;
  }
  body.company-site nav ul#menu li a.active { color: #003098 !important; background: #f3f6fd; }
  body.company-site nav ul#menu li a:hover { background: #f3f6fd; }
  body.company-site nav ul#menu li a::after { display: none; }
  body.company-site nav ul#menu li.nav-cta-mobile {
    display: block;
    border-bottom: 0;
    padding: 0.9rem 1.25rem 0.25rem;
  }
  body.company-site nav ul#menu li.nav-cta-mobile a.nav-cta {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    color: #fff !important;
    background: #f86800;
  }
}

/* Between hamburger and full desktop: tighten so nothing collides */
@media (min-width: 961px) and (max-width: 1100px) {
  body.company-site nav ul { gap: 1.25rem; }
  body.company-site .logo { width: 165px; height: 46px; }
  body.company-site .header-cta { padding: 0.65rem 0.9rem; font-size: 0.85rem; }
}

/* Hero */
.hero-modern {
  position: relative;
  min-height: auto;
  height: auto;
  background:
    radial-gradient(900px 420px at 85% 15%, rgba(248, 104, 0, 0.08), transparent 55%),
    radial-gradient(700px 420px at 10% 80%, rgba(0, 48, 152, 0.07), transparent 50%),
    #f7f9fc;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}
.hero-modern-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e8eefc;
  color: #003098;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero-modern h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  color: #0b1b3a;
  font-weight: 800;
  max-width: 14ch;
}
.hero-modern h1 .accent {
  color: #f86800;
}
.hero-modern .hero-lead {
  margin: 0 0 1.6rem;
  color: #5c6570;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 42ch;
}
.hero-modern .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f86800;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: #003098;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 48, 152, 0.2);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #003098;
  border: 1.5px solid #d7deea;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  border-radius: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-secondary:hover {
  border-color: #003098;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 20, 40, 0.08);
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

/* Shared media treatment — hero, product, about */
.media-frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(10, 30, 70, 0.1);
  aspect-ratio: 16 / 10;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(0, 48, 152, 0.08) 0%,
    transparent 42%,
    rgba(248, 104, 0, 0.06) 100%
  );
}
.media-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(0, 48, 152, 0.14);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual-frame {
  max-width: 540px;
}
.hero-visual-frame img {
  object-position: center top;
}
.hero-orbit {
  position: absolute;
  inset: 8% 4% auto auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(248, 104, 0, 0.1);
  z-index: -1;
}
.hero-orbit.two {
  inset: auto auto 6% 2%;
  width: 160px;
  height: 160px;
  background: rgba(0, 48, 152, 0.08);
}

/* Products & services */
.products-modern {
  background: #fff;
  padding: 4.5rem 0 3rem;
}
.services-modern {
  background: #f7f9fc;
  padding: 3.5rem 0 4.5rem;
}
.services-intro {
  margin: -0.5rem 0 1.75rem;
  color: #5c6570;
  max-width: 44rem;
  line-height: 1.65;
}
.services-five {
  grid-template-columns: repeat(5, 1fr);
}
.product-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(10, 20, 40, 0.05);
}
.product-featured-media {
  margin: 0;
}
.product-featured-media img {
  object-position: center top;
}
.product-featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.35rem 0.5rem 0.35rem 0;
  min-width: 0;
}
.product-featured .product-logo {
  width: 48px;
  height: auto;
  border-radius: 6px;
  background: #000;
  margin-bottom: 0.7rem;
}
.product-featured .product-label {
  color: #003098;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product-featured h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: #0b1b3a;
  line-height: 1.25;
}
.product-featured .product-lead {
  margin: 0 0 1rem;
  color: #5c6570;
  line-height: 1.65;
  font-size: 0.98rem;
}
.product-feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.product-feature-list li {
  background: #f7f9fc;
  border: 1px solid #e8ecf3;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: #0b1b3a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}
.product-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f86800;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s ease, gap 0.2s ease;
}
.product-demo-link:hover {
  background: #003098;
  transform: translateY(-2px);
  gap: 0.65rem;
}
.product-demo-url {
  color: #8a93a0;
  font-size: 0.8rem;
  margin-top: 0.55rem;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #0b1b3a;
}
.section-kicker {
  color: #003098;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-link {
  color: #f86800;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.section-link:hover {
  color: #003098;
  gap: 0.65rem;
}
.service-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.svc-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 1.35rem 1.2rem 1.2rem;
  box-shadow: 0 8px 24px rgba(10, 20, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 48, 152, 0.18);
  box-shadow: 0 16px 34px rgba(0, 48, 152, 0.1);
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  color: #fff;
}
.svc-icon.orange { background: #f86800; }
.svc-icon.blue { background: #003098; }
.svc-icon.teal { background: #0f766e; }
.svc-icon.slate { background: #414a51; }
.svc-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #0b1b3a;
}
.svc-card p {
  margin: 0 0 1rem;
  color: #667085;
  line-height: 1.55;
  font-size: 0.93rem;
  flex: 1;
}
.svc-card .more {
  color: #003098;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}
.svc-card:hover .more {
  color: #f86800;
  gap: 0.55rem;
}

/* Trust strip */
.trust-strip {
  background: #0b1b3a;
  color: #fff;
  padding: 1.6rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.trust-item i {
  color: #f86800;
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}
.trust-item span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.15rem;
}

/* About modern */
.about-modern {
  background: #fff;
  padding: 4.5rem 0;
}
.about-modern-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-modern h2 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #0b1b3a;
  line-height: 1.2;
}
.about-modern p {
  color: #5c6570;
  line-height: 1.7;
  margin: 0 0 1.3rem;
  max-width: 48ch;
}
/* About uses shared .media-frame */
.stats-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mission-vision-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.mv-card {
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  color: #fff;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mv-card:hover {
  transform: translateY(-5px);
}
.mv-mission {
  background: linear-gradient(135deg, #003098 0%, #0a369b 100%);
  box-shadow: 0 12px 28px rgba(0, 48, 152, 0.2);
}
.mv-vision {
  background: linear-gradient(135deg, #f86800 0%, #d45500 100%);
  box-shadow: 0 12px 28px rgba(248, 104, 0, 0.2);
}
.mv-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.mv-card h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.35rem;
}
.mv-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: none;
}
.stat-modern {
  background: #f7f9fc;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(10, 20, 40, 0.08);
}
.stat-modern i {
  color: #003098;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}
.stat-modern:nth-child(4) i {
  color: #f86800;
}
.stat-modern strong {
  display: block;
  font-size: 1.45rem;
  color: #0b1b3a;
  margin-bottom: 0.25rem;
}
.stat-modern span {
  color: #667085;
  font-size: 0.9rem;
}

/* Contact modern */
.contact-modern {
  background: #f7f9fc;
  padding: 4.5rem 0;
  position: relative;
  overflow: visible;
}
body.company-site #contact.contact-modern {
  background: #f7f9fc;
}
body.company-site #contact.contact-modern::before {
  display: none;
}
.contact-intro {
  margin: -0.5rem 0 1.75rem;
  color: #5c6570;
  max-width: 40rem;
  line-height: 1.65;
}
.contact-modern-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.contact-panel,
.contact-form-card {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 10px 28px rgba(10, 20, 40, 0.04);
}
.contact-panel h3,
.contact-form-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: #0b1b3a;
}
.contact-modern-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-modern-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(0, 48, 152, 0.08);
  color: #003098;
  font-size: 0.95rem;
}
.contact-modern-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a93a0;
  margin-bottom: 0.2rem;
}
.contact-modern-list a,
.contact-modern-list span {
  color: #0b1b3a;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
}
.contact-modern-list a:hover {
  color: #f86800;
}
.contact-modern .social-links-contact {
  display: flex;
  gap: 0.65rem;
  padding-top: 0.25rem;
}
.contact-modern .social-links-contact a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f7f9fc;
  border: 1px solid #e8ecf3;
  color: #0b1b3a;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.contact-modern .social-links-contact a:hover {
  background: #003098;
  border-color: #003098;
  color: #fff;
}
.contact-modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.contact-modern-form .form-group {
  margin-bottom: 0.9rem;
}
.contact-modern-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #414a51;
}
.contact-modern-form input,
.contact-modern-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fafbfc;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: #0b1b3a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-modern-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-modern-form input:focus,
.contact-modern-form textarea:focus {
  outline: none;
  border-color: rgba(0, 48, 152, 0.45);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 48, 152, 0.1);
}
.contact-submit {
  margin-top: 0.25rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
body.company-site .footer {
  background: #0a0a0a;
}

@media (max-width: 1100px) {
  .services-five {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .service-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-five {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-featured,
  .contact-modern-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.1rem;
  }
  .stats-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-vision-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-modern-grid,
  .about-modern-grid {
    grid-template-columns: 1fr;
  }
  .hero-modern h1 {
    max-width: none;
  }
  .hero-visual-frame {
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }
  .topbar-right { display: none; }
  .service-carousel,
  .services-five,
  .trust-grid,
  .stats-grid-modern,
  .mission-vision-modern,
  .contact-modern-form .form-row {
    grid-template-columns: 1fr;
  }
  .hero-modern {
    padding: 3rem 0 2.5rem;
  }
  .product-featured {
    padding: 0.9rem;
  }
  .contact-modern {
    padding: 3.5rem 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .svc-card:hover,
  .stat-modern:hover,
  .media-frame:hover {
    transform: none;
  }
}

/* Install app banner disabled */
.pwa-install-banner,
.menu-install-item { display: none !important; }

/* Contact social icons */
body.company-site .social-links-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
body.company-site .social-links-contact a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #e5e9f0;
  background: #fff;
  color: #0b1b3a;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.company-site .social-links-contact a i {
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
}
body.company-site .social-links-contact a.social-wa { color: #128c7e; }
body.company-site .social-links-contact a.social-x { color: #0a0a0a; }
body.company-site .social-links-contact a.social-tt { color: #0a0a0a; }
body.company-site .social-links-contact a:hover {
  transform: translateY(-3px);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(10, 20, 40, 0.12);
}
body.company-site .social-links-contact a.social-wa:hover { background: #25d366; }
body.company-site .social-links-contact a.social-x:hover { background: #0a0a0a; }
body.company-site .social-links-contact a.social-tt:hover { background: #0a0a0a; }

/* Topbar + footer social clarity */
body.company-site .topbar-right a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}
body.company-site .topbar-right a i {
  font-size: 0.95rem;
  color: #fff;
}
body.company-site .topbar-right a:hover {
  background: #f86800;
}
body.company-site .footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
body.company-site .footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
body.company-site .footer-social a i {
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
}
body.company-site .footer-social a:hover {
  background: #f86800;
  transform: translateY(-2px);
}


/* ===== Accessibility ===== */
:focus-visible {
  outline: 3px solid #f86800;
  outline-offset: 3px;
  border-radius: 4px;
}
html { scroll-padding-top: 90px; }

/* ===== Scroll reveal (only when JS is running) ===== */
.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Contact form ===== */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0.9rem 0 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.4em;
}
.form-status.success { color: #1b7a3d; }
.form-status.error { color: #c0392b; }
.form-status a { color: inherit; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .animate-on-scroll { opacity: 1; transform: none; }
}

/* Small phones: keep the top bar to one line (phone only) */
@media (max-width: 480px) {
  .topbar-left a:nth-child(2) { display: none; }
}

/* ===== Services grid: five cards that never leave one orphaned ===== */
.service-carousel.services-five { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1279px) {
  /* 3 cards on the first row, the last 2 centred beneath */
  .service-carousel.services-five { grid-template-columns: repeat(6, 1fr); }
  .service-carousel.services-five .svc-card { grid-column: span 2; }
  .service-carousel.services-five .svc-card:nth-child(4) { grid-column: 2 / span 2; }
  .service-carousel.services-five .svc-card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 760px) {
  .service-carousel.services-five { grid-template-columns: 1fr; }
  .service-carousel.services-five .svc-card,
  .service-carousel.services-five .svc-card:nth-child(4),
  .service-carousel.services-five .svc-card:nth-child(5) { grid-column: auto; }
}

/* ===== More products (placeholders until details/screenshots are ready) ===== */
.product-more { margin-top: 2.5rem; }
.product-more-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: #0a1a3a;
}
.product-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem;
  background: #fff;
  border: 1.5px dashed #cdd6e6;
  border-radius: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: #003098;
  box-shadow: 0 14px 30px rgba(0, 48, 152, 0.08);
  transform: translateY(-3px);
}
.product-card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.6rem;
  border-radius: 14px;
  color: #fff;
  font-size: 1.5rem;
}
.product-card-icon.edu { background: linear-gradient(135deg, #0f9b8e, #0b6f8a); }
.product-card-icon.bank { background: linear-gradient(135deg, #003098, #1a56d6); }
.product-card-media { width: 100%; margin-bottom: 0.6rem; }
.product-soon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #8a4b00;
  background: #fff3e3;
  border-radius: 99px;
}
.product-card h3 {
  margin: 0.1rem 0 0.2rem;
  font-size: 1.25rem;
  color: #0a1a3a;
}
.product-card p {
  margin: 0 0 0.9rem;
  color: #5b6472;
  line-height: 1.6;
}
.product-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #f86800;
  text-decoration: none;
}
.product-card-link:hover { color: #003098; }
@media (max-width: 760px) {
  .product-more-grid { grid-template-columns: 1fr; }
}
