@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --mq-blue: #1f3b48;
  --mq-blue-dark: #16303b;
  --mq-electric: #097ebc;
  --mq-cyan: #5baac7;
  --mq-green: #3d983f;
  --mq-green-dark: #2f7d33;
  --mq-bg: #f1f3f4;
  --mq-card: #ffffff;
  --mq-line: #dce3ea;
  --mq-text: #06172a;
  --mq-muted: #4d6175;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: var(--mq-blue);
  font-weight: 900;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #4ab5e6;
  outline-offset: 3px;
}

body:not([data-shell-ready]) > header {
  visibility: hidden;
}

body {
  background: var(--mq-bg);
  color: var(--mq-text);
  font-family:
    Poppins,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.container,
.ma-container {
  width: min(1110px, calc(100% - 28px));
  margin: 0 auto;
}

.ma-topbar {
  background: #f7f9fa;
  border-bottom: 1px solid var(--mq-line);
  color: #0e253b;
  font-size: 13px;
}

.ma-topbar .ma-container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ma-contact-line {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  white-space: nowrap;
}

.ma-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--mq-line);
  box-shadow: 0 8px 20px rgba(7, 29, 51, 0.04);
}

.ma-header-main {
  height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  transition: height 0.22s ease;
}

.ma-logo {
  min-width: 110px;
  display: flex;
  align-items: center;
}

.ma-logo img {
  width: auto;
  height: 52px;
  object-fit: contain;
  transition: height 0.22s ease;
}

.ma-search {
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--mq-electric);
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(9, 126, 188, 0.07);
  transition: height 0.22s ease;
}

.ma-search input {
  width: 100%;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: none;
  color: var(--mq-text);
  font:
    500 14px/1 Poppins,
    sans-serif;
}

.ma-search button {
  height: 100%;
  padding: 0 24px;
  border: 0;
  background: linear-gradient(135deg, #097ebc, #1496d8);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.ma-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ma-icons a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--mq-line);
  border-radius: 999px;
}

.ma-icons img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.ma-nav {
  background: var(--mq-blue);
  box-shadow: 0 8px 14px rgba(7, 29, 51, 0.12);
}

.ma-nav-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.ma-service-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ma-category-btn {
  min-width: 240px;
  height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 0;
  border-radius: 6px;
  color: var(--mq-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.ma-service-dropdown {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 120;
  width: 286px;
  display: none;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--mq-line);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 34px rgba(7, 29, 51, 0.18);
}

.ma-service-dropdown.open {
  display: block;
}

.ma-service-dropdown a {
  display: block;
  padding: 12px 13px;
  background: #fff;
  border-bottom: 1px solid #eef2f5;
  border-radius: 9px;
  color: var(--mq-text);
}

.ma-service-dropdown a:hover {
  background: #f3f7fb;
}

.ma-service-dropdown strong,
.ma-service-dropdown span {
  display: block;
}

.ma-service-dropdown strong {
  color: var(--mq-electric);
  font-size: 13px;
}

.ma-service-dropdown span {
  margin-top: 4px;
  color: var(--mq-muted);
  font-size: 12px;
  font-weight: 600;
}

.ma-menu {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ma-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ma-menu a:hover,
.ma-menu a.is-active {
  background: rgba(91, 170, 199, 0.2);
  color: #fff;
}

.ma-menu a.is-active {
  box-shadow: inset 0 -3px 0 var(--mq-green);
}

.ma-social-mini {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ma-social-mini a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.ma-social-mini img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ma-mobile-toggle {
  display: none;
  padding: 10px 12px;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: var(--mq-blue);
  cursor: pointer;
  font-weight: 900;
}

.ma-footer {
  padding: 38px 0 20px;
  background: var(--mq-blue);
  color: #fff;
}

.ma-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  gap: 32px;
}

.ma-footer-brand p { max-width: 290px; }

.ma-footer-section {
  min-width: 0;
}

.ma-footer-section summary {
  list-style: none;
}

.ma-footer-section summary::-webkit-details-marker { display: none; }

.ma-footer-section summary h4 { display: inline-block; }

.ma-footer-links { display: block; }

.ma-footer-location {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #dbeaf7;
  font-size: 11px;
}

.ma-footer img {
  width: auto;
  height: 36px;
  margin-bottom: 12px;
  padding: 4px;
  background: #fff;
}

.ma-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
}

.ma-footer p,
.ma-footer a {
  display: block;
  margin: 7px 0;
  color: #dbeaf7;
  font-size: 13px;
}

.ma-copy {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-align: center;
}

.ma-whatsapp {
  position: fixed;
  right: 20px;
  top: 50%;
  bottom: auto;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 2px solid #fff;
  background: #238c39;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 0 4px rgba(52, 168, 83, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transform: translateY(-50%);
}

.ma-whatsapp img {
  width: 22px;
  height: 22px;
}

body:not(.jao-inspired) main > section {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid var(--mq-line);
}

body:not(.jao-inspired) .page-hero {
  padding: 52px 0 44px;
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(9, 126, 188, 0.06),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff, #f8fafb);
}

body:not(.jao-inspired) .page-hero::before {
  display: none;
}

body:not(.jao-inspired) .page-hero h1,
body:not(.jao-inspired) main h2,
body:not(.jao-inspired) main h3 {
  font-family: Poppins, sans-serif;
  text-transform: none;
}

body:not(.jao-inspired) .page-hero h1 {
  color: var(--mq-text);
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

body:not(.jao-inspired) .page-hero p {
  margin: 20px 0 0;
  color: var(--mq-muted);
  font-size: 1.05rem;
}

body:not(.jao-inspired) .brand-callout {
  margin-bottom: 16px;
  padding: 8px 12px;
  background: rgba(9, 126, 188, 0.08);
  border-left: 4px solid var(--mq-electric);
  color: var(--mq-blue);
  font-size: 0.72rem;
}

body:not(.jao-inspired) .btn {
  min-height: 45px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--mq-green), #4fbf55);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(61, 152, 63, 0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

body:not(.jao-inspired) .btn:hover {
  background: linear-gradient(135deg, var(--mq-green-dark), #43ae49);
}

.tracking-card,
.tracking-result,
.contact-form,
.contact-aside,
.manual-card,
.module-card {
  background: #fff;
  border: 1px solid rgba(91, 170, 199, 0.28);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(31, 59, 72, 0.08);
}

.tracking-card h3,
.contact-form h3,
.manual-card h3 {
  color: var(--mq-text);
  text-transform: none;
}

.tracking-result {
  margin-top: 24px;
  padding: 30px;
}

.tracking-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.tracking-status-head h2 {
  margin: 5px 0 8px;
  color: var(--mq-text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.kicker {
  color: var(--mq-electric);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-card {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.route-card > div,
.timeline-step,
.support-box {
  padding: 16px;
  background: #f7f9fb;
  border: 1px solid var(--mq-line);
  border-radius: 12px;
}

.route-card b,
.route-card span,
.timeline-step b,
.timeline-step span {
  display: block;
}

.route-card span,
.timeline-step span {
  margin-top: 6px;
  color: var(--mq-muted);
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.timeline-step.done {
  border-color: rgba(61, 152, 63, 0.42);
}

.timeline-step.active {
  border-color: rgba(9, 126, 188, 0.5);
  box-shadow: inset 0 3px 0 var(--mq-electric);
}

.timeline-step.alert {
  border-color: #d89b24;
  box-shadow: inset 0 3px 0 #d89b24;
}

.support-box {
  margin-top: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.tracking-form input,
.vip-login-grid input {
  border-color: rgba(9, 126, 188, 0.24);
  border-radius: 10px;
  background: #fff;
  font-family: Poppins, sans-serif;
}

.manual-card {
  min-height: 230px;
}

.manual-card p,
.contact-aside p,
.module-content p {
  color: var(--mq-muted);
}

@media (min-width: 981px) {
  body.mq-scrolled .ma-header-main {
    height: 64px;
  }

  body.mq-scrolled .ma-logo img {
    height: 42px;
  }

  body.mq-scrolled .ma-search {
    height: 38px;
  }
}

@media (max-width: 1400px) {
  .mq-site-header .ma-social-mini {
    display: none;
  }
}

@media (max-width: 1340px) {
  .mq-site-header .ma-nav-inner {
    min-height: 50px;
    flex-wrap: wrap;
    padding: 7px 0;
  }

  .mq-site-header .ma-mobile-toggle {
    display: inline-flex;
  }

  .mq-site-header .ma-service-selector {
    flex: 1;
  }

  .mq-site-header .ma-category-btn,
  .mq-site-header .ma-service-dropdown {
    width: 100%;
    min-width: 0;
  }

  .mq-site-header .ma-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    background: var(--mq-blue-dark);
    border-radius: 10px;
  }

  .mq-site-header .ma-menu.open {
    display: flex;
  }

  .mq-site-header .ma-menu a {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .ma-topbar .ma-container {
    justify-content: center;
    text-align: center;
  }

  .ma-contact-line {
    display: none;
  }

  .ma-header-main {
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 10px 0;
  }

  .ma-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .ma-nav-inner {
    min-height: 50px;
    flex-wrap: wrap;
    padding: 7px 0;
  }

  .ma-mobile-toggle {
    display: inline-flex;
  }

  .ma-service-selector {
    flex: 1;
  }

  .ma-category-btn,
  .ma-service-dropdown {
    width: 100%;
    min-width: 0;
  }

  .ma-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    background: var(--mq-blue-dark);
    border-radius: 10px;
  }

  .ma-menu.open {
    display: flex;
  }

  .ma-menu a {
    width: 100%;
  }

  .ma-social-mini {
    display: none;
  }

  .ma-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-card,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container,
  .ma-container {
    width: min(100% - 22px, 1110px);
  }

  .ma-topbar {
    font-size: 11px;
  }

  .ma-logo img {
    height: 42px;
  }

  .ma-icons {
    display: flex;
    gap: 6px;
  }

  .ma-icons a {
    width: 32px;
    height: 32px;
  }

  .ma-icons img {
    width: 18px;
    height: 18px;
  }

  .ma-search button {
    padding: 0 14px;
  }

  .ma-service-selector {
    width: 100%;
    min-width: 100%;
  }

  .route-card,
  .timeline {
    grid-template-columns: 1fr;
  }

  .ma-footer {
    padding: 22px 0 12px;
  }

  .ma-footer-grid { grid-template-columns: 1fr; gap: 0; }

  .ma-footer-grid > div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 11px;
  }

  .ma-footer-grid > div:first-child img {
    height: 30px;
    margin: 0;
  }

  .ma-footer-grid > div:first-child p {
    margin: 0;
  }

  .ma-footer-section { border-top: 1px solid rgba(255,255,255,.14); }
  .ma-footer-section summary { position: relative; padding: 12px 1px 9px; cursor: pointer; }
  .ma-footer-section summary::after { content: "+"; position: absolute; right: 2px; color: #75c8e9; font-weight: 800; }
  .ma-footer-section[open] summary::after { content: "−"; }
  .ma-footer-section summary h4 { margin: 0; }
  .ma-footer-links { padding: 0 0 10px; }

  .ma-footer h4 {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .ma-footer p,
  .ma-footer a {
    margin: 4px 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .ma-copy {
    margin-top: 14px;
    padding-top: 9px;
    font-size: 10px;
  }

  .ma-whatsapp {
    right: 12px;
    top: 50%;
    bottom: auto;
    padding: 12px;
  }

  .ma-whatsapp span {
    display: none;
  }

  body:not(.jao-inspired) main > section {
    padding: 54px 0;
  }

  body:not(.jao-inspired) .page-hero h1 {
    font-size: 2.7rem;
  }

  .tracking-status-head {
    display: grid;
  }
}
