/* ===== Topbar Override ===== */
.topbar {
  background: #07111e;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.utility-bar {
  min-height: 38px;
  align-items: center;
}

.utility-note {
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
}

.utility-contacts {
  display: flex;
  gap: 22px;
  align-items: center;
}

.utility-contacts .contact-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #fff;
  font-size: 12.5px;
  transition: color .2s ease;
}

.utility-contacts .contact-link:hover {
  color: var(--gold);
}

.utility-contacts .contact-link span {
  color: var(--gold);
  font-weight: 800;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
}

/* ===== Site Header Override ===== */
.site-header {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header-main {
  border-bottom: 1px solid var(--line);
}

/* ===== Nav Shell (Primary Nav Structure) ===== */
.nav-shell {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.nav-shell .brand {
  max-width: 320px;
  white-space: nowrap;
  font-size: 19px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-shell .brand-copy {
  overflow: visible;
}

.nav-shell .brand-copy b {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
}

.nav-shell .brand-copy small {
  font-size: 11.5px;
  color: var(--red);
  font-weight: 700;
  line-height: 1.2;
}

.nav-shell .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-shell .brand-mark svg {
  width: 44px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(10, 25, 47, 0.15));
}

.nav-shell .brand-mark-symbol {
  color: var(--red);
}

/* ===== Menu inside nav-shell ===== */
.nav-shell .menu {
  justify-content: center;
  gap: clamp(9px, 1vw, 17px);
  font-size: 12px;
  white-space: nowrap;
}

/* Support wp_nav_menu generated <ul> inside .menu (nav element) */
.nav-shell .menu > ul,
.nav-shell .menu > ul.menu,
.nav-shell #primary-menu.menu > ul.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-shell .menu > ul > li {
  list-style: none;
}

/* Direct <a> links (fallback menu) and <li><a> links (wp_nav_menu) */
.nav-shell .menu a,
.nav-shell .menu > ul > li > a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

.nav-shell .menu a:after,
.nav-shell .menu > ul > li > a:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transition: width .2s ease;
}

.nav-shell .menu a:hover:after,
.nav-shell .menu a:focus:after,
.nav-shell .menu .current-menu-item > a:after,
.nav-shell .menu > ul > li.current-menu-item > a:after {
  width: 100%;
}

.nav-shell > .btn {
  padding: 9px 12px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(18, 168, 120, .18);
}

/* ===== Mobile Nav ===== */
@media (max-width: 1180px) {
  .utility-note {
    display: none;
  }

  .utility-bar {
    justify-content: center;
  }

  .nav-shell {
    position: relative;
    grid-template-columns: 1fr auto;
    min-height: 76px;
    gap: 14px;
  }

  .nav-shell .menu-toggle {
    display: block;
  }

  .nav-shell > .btn {
    display: none;
  }

  .nav-shell .menu {
    display: none;
    position: absolute;
    top: calc(100% - 7px);
    right: 4%;
    left: 4%;
    z-index: 25;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-shell .menu.open {
    display: flex;
  }

  /* Mobile: wp_nav_menu <ul> stacks vertically */
  .nav-shell .menu > ul,
  .nav-shell .menu > ul.menu,
  .nav-shell #primary-menu.menu > ul.menu {
    display: flex !important;
    position: static;
    padding: 0;
    box-shadow: none;
    border: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-shell .menu a,
  .nav-shell .menu > ul > li > a {
    padding: 9px 4px;
  }

  .nav-shell .menu a:after,
  .nav-shell .menu > ul > li > a:after {
    right: 4px;
  }
}

@media (max-width: 620px) {
  .utility-email {
    display: none;
  }

  .utility-contacts {
    gap: 0;
  }

  .nav-shell .brand {
    font-size: 16px;
  }

  .nav-shell .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* ===== Service Detail ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 35px;
  align-items: start;
}

.detail-main h2 {
  color: var(--navy);
  font-size: 32px;
  line-height: 1.35;
}

.service-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 110px;
}

.service-aside h2 {
  font-size: 27px;
}

.service-aside p {
  color: #c2d8d5;
}

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
}

.check-list li:before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  margin-left: 10px;
}

/* ===== Project Grid ===== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.project-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.project-card h2 {
  margin-top: auto;
  font-size: 25px;
}

.project-card p {
  color: #c2d8d5;
}

.project-note {
  margin-top: 25px;
  padding: 20px 25px;
  background: var(--mist);
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ===== Post List (legacy) ===== */
.post-list {
  margin-top: 20px;
}

.post-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.post-row h2 {
  margin: 3px 0;
  font-size: 23px;
  color: var(--navy);
}

.post-row p {
  margin: 0;
  color: var(--muted);
}

.post-row small {
  color: var(--green);
}

.empty-note {
  margin-top: 20px;
  background: var(--mist);
  padding: 25px;
  border-radius: 15px;
  color: var(--muted);
}

/* ===== Brand Logo ===== */
.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Topbar Contact Links ===== */
.topbar .contact-link {
  color: inherit;
  font-weight: 800;
}

/* ===== Contact Info Links ===== */
.contact-info a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 5px;
}

/* ===== Footer Inline Links ===== */
.site-footer .inline-contact-link {
  display: inline !important;
  margin: 0 !important;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}

/* ===== Article Grid ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px rgba(11, 38, 51, .04);
  transition: transform .3s, box-shadow .3s;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.article-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.article-card time {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.article-card h2 {
  margin: 10px 0;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.45;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-card .arrow-link {
  margin-top: auto;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 35px;
  flex-wrap: wrap;
}

/* Support both plain links and <ul><li> from paginate_links */
.pagination .page-numbers {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.pagination .page-numbers:hover {
  background: var(--mist);
}

.pagination .current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* When paginate_links returns <ul> with type='list' */
.pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination ul li {
  list-style: none;
}

.pagination ul li .page-numbers {
  display: block;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: background .2s, color .2s;
}

.pagination ul li .page-numbers:hover {
  background: var(--mist);
}

.pagination ul li .page-numbers.current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ===== Privacy Content ===== */
.privacy-content {
  max-width: 880px;
}

.privacy-content h2 {
  margin-top: 34px;
  color: var(--navy);
  font-size: 27px;
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
}

/* ===== Single Post ===== */
.single-hero {
  background: var(--navy);
  color: #fff;
  padding: 70px 0 50px;
}

.single-hero .eyebrow {
  color: var(--orange);
}

.single-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
  margin: 15px 0 10px;
}

.single-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #a9c1be;
  font-size: 14px;
}

.single-meta time {
  color: var(--green);
  font-weight: 800;
}

.single-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-content h2 {
  color: var(--navy);
  font-size: 27px;
  margin-top: 30px;
}

.single-content h3 {
  color: var(--navy);
  font-size: 22px;
  margin-top: 25px;
}

.single-content p {
  color: var(--muted);
  line-height: 2;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 20px 0;
}

.single-content ul,
.single-content ol {
  color: var(--muted);
  padding-right: 20px;
}

.single-content li {
  margin-bottom: 8px;
}

.single-content blockquote {
  border-right: 4px solid var(--green);
  padding: 15px 20px 15px 0;
  margin: 20px 0;
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy);
  font-size: 18px;
}

.single-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.single-nav a {
  color: var(--green);
  font-weight: 800;
}

/* ===== Responsive 850px Base ===== */
@media (max-width: 850px) {
  .service-detail,
  .project-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .service-aside {
    position: static;
  }

  .project-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===================================================
   ===== RICH ENTERPRISE FOOTER SYSTEM (v2.5.2) =====
   =================================================== */

/* Pre-Footer Trust Ribbon */
.footer-trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 34px 0;
  position: relative;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
}

.trust-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-text strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.trust-text small {
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}

/* Main Site Footer */
.site-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 65px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563EB, #38BDF8, #2563EB, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}

.footer-col-brand .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand-text b {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.footer-brand-text small {
  color: #60A5FA;
  font-size: 11.5px;
  font-weight: 700;
}

.footer-bio {
  color: #94A3B8;
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 18px;
  max-width: 380px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #93C5FD;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.footer-heading {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: #CBD5E1;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links li a::before {
  content: "›";
  color: #38BDF8;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-links li a:hover {
  color: #38BDF8;
  transform: translateX(-4px);
}

.footer-links li a:hover::before {
  transform: translateX(-2px);
}

/* Contact Cards in Footer */
.footer-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0E2038;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-contact-card:hover {
  background: #142C4E;
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

.fc-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  flex-shrink: 0;
}

.fc-card-whatsapp .fc-icon {
  background: rgba(34, 197, 94, 0.15);
}

.fc-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fc-label {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
}

.fc-val {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.fc-card-whatsapp .fc-val {
  color: #4ADE80;
}

.btn-footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-footer-cta:hover {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
}

.btn-footer-cta b {
  transition: transform 0.2s ease;
}

.btn-footer-cta:hover b {
  transform: translateX(-4px);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12.5px;
}

.footer-bottom .copyright {
  border: none;
  margin: 0;
  padding: 0;
  color: #94A3B8;
  font-size: 12.5px;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-meta-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-meta-links a:hover {
  color: #38BDF8;
}

.meta-sep {
  color: rgba(255, 255, 255, 0.2);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.back-to-top:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===================================================
   ===== MOBILE RESPONSIVE OVERHAUL & POLISH =====
   =================================================== */

/* Sticky Mobile Quick Actions Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent content overlap with sticky bottom bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Hide floating WA button on mobile in favor of sticky bottom bar */
  .floating-wa {
    display: none !important;
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(58px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(10, 25, 47, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
    z-index: 999;
    align-items: center;
    justify-content: space-around;
  }

  .mb-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    gap: 3px;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mb-btn:active {
    background: rgba(255, 255, 255, 0.08);
  }

  .mb-btn-call {
    color: #38bdf8;
  }

  .mb-btn-wa {
    color: #22c55e;
  }

  .mb-btn-quote {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: #ffffff !important;
    border-radius: 12px;
    margin: 6px 8px;
    height: calc(100% - 12px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  }

  .mb-icon {
    font-size: 17px;
    line-height: 1;
  }
}

/* Topbar Mobile Optimization */
@media (max-width: 768px) {
  .topbar {
    padding: 6px 0;
  }
  .topbar-inner {
    padding: 0;
    font-size: 12px;
  }
  .utility-note {
    display: none;
  }
  .utility-contacts {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .contact-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* Navigation Drawer Mobile Polish */
@media (max-width: 1180px) {
  .nav-shell {
    position: relative;
    min-height: 66px;
    padding: 10px 0;
  }

  .nav-shell .brand {
    font-size: 17px;
  }

  .nav-shell .brand-mark {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--line-strong);
    background: #ffffff;
    color: var(--navy);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:active {
    background: var(--mist);
    transform: scale(0.95);
  }

  .nav-shell > .btn {
    display: none !important;
  }

  .nav-shell .menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    left: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.2), 0 4px 12px rgba(10, 25, 47, 0.08);
    padding: 14px;
    flex-direction: column;
    z-index: 100;
    animation: menuSlideDown 0.22s ease-out;
  }

  .nav-shell .menu.open {
    display: flex !important;
  }

  .nav-shell .menu > ul {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .nav-shell .menu li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-shell .menu li:last-child {
    border-bottom: none;
  }

  .nav-shell .menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    min-height: 48px;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
  }

  .nav-shell .menu a:active {
    background: #f8fafc;
    color: var(--blue-accent);
  }

  .mobile-menu-cta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-cta .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
    border-radius: 12px;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero Section Mobile Polish */
@media (max-width: 850px) {
  .hero-home {
    padding: 35px 0 45px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow {
    margin: 0 auto 12px;
  }
  .hero-copy h1 {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.35;
  }
  .hero-copy p {
    font-size: 15px;
    line-height: 1.75;
    margin: 14px auto 24px;
    max-width: 480px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    font-size: 16px;
    border-radius: 14px;
  }
  .hero-actions .text-link {
    justify-content: center;
    min-height: 44px;
    font-size: 15px;
  }
  .hero-visual {
    height: auto !important;
    min-height: auto !important;
  }
  .hero-visual-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 24px 18px;
    border-radius: 20px;
  }
  .hero-shield-emblem {
    width: 105px;
    height: 105px;
    margin: 16px auto;
  }
  .hero-badge-certified {
    font-size: 12px;
    padding: 6px 14px;
  }
  .hero-metrics-pill {
    width: 100%;
    justify-content: space-around;
    padding: 10px 14px;
  }
  .signal {
    position: static !important;
    margin: 8px auto 0 !important;
    max-width: 340px;
    width: 100%;
    justify-content: center;
    transform: none !important;
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Sections & Cards on Mobile */
@media (max-width: 768px) {
  .section {
    padding: 55px 0;
  }
  .split-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
  }
  .split-head h2 {
    font-size: 26px;
  }
  .split-head p {
    font-size: 15px;
    max-width: 100%;
  }
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .solution-card {
    padding: 24px 20px;
    min-height: auto;
  }
  .mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mini-card {
    padding: 14px 16px;
    min-height: 60px;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .process-steps > div {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .process-steps span {
    margin-bottom: 0;
  }
  .cta-box {
    padding: 28px 20px;
    border-radius: 18px;
    text-align: center;
  }
  .cta-box .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* Footer Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 640px) {
  .footer-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-item {
    padding: 12px 14px;
  }
  .trust-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col-brand .footer-bio {
    max-width: 100%;
  }
  .footer-heading {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  .footer-links li a {
    padding: 6px 0;
    font-size: 14px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .footer-meta-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .back-to-top {
    align-self: center;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand b {
    font-size: 16px;
  }
  .brand small {
    font-size: 10.5px;
  }
}

