/* RapidExpress Courier - Site */

:root {
  --rx-navy: #0f172a;
  --rx-slate: #334155;
  --rx-muted: #64748b;
  --rx-border: #e2e8f0;
  --rx-surface: #f8fafc;
  --rx-white: #ffffff;
  --rx-accent: #2563eb;
  --rx-accent-dark: #1d4ed8;
  --rx-accent-soft: #dbeafe;
  --rx-radius: 12px;
  --rx-radius-pill: 999px;
  --rx-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --rx-nav-h: 72px;
  --rx-font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--rx-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--rx-slate);
  background: var(--rx-white);
  overflow-x: hidden;
}

body img {
  max-width: 100%;
  height: auto;
  display: block;
}

body a:not(.rx-btn) {
  color: inherit;
  text-decoration: none;
}

a.rx-btn-primary,
button.rx-btn-primary {
  color: #fff;
}

a.rx-btn-white {
  color: var(--rx-navy);
}

a.rx-btn-ghost {
  color: var(--rx-navy);
}

a.rx-btn-outline-light {
  color: #fff;
}

.rx-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.rx-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  background: var(--rx-navy);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.rx-skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--rx-accent);
  outline-offset: 2px;
}

.rx-form-title {
  margin: 0 0 1rem;
  color: var(--rx-navy);
  font-size: 1.25rem;
}

/* Top bar */
.rx-topbar {
  background: var(--rx-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  padding: 0.55rem 0;
}

.rx-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.rx-topbar a {
  color: #fff;
}

.rx-topbar a:hover {
  color: var(--rx-accent-soft);
}

.rx-topbar-phone {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Header */
.rx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rx-border);
}

.rx-header-inner {
  min-height: var(--rx-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.rx-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.rx-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rx-accent), #3b82f6);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.rx-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.rx-logo-text strong {
  font-size: 1.05rem;
  color: var(--rx-navy);
  font-weight: 700;
}

.rx-logo-text span {
  font-size: 0.72rem;
  color: var(--rx-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rx-nav-toggle {
  display: none;
  border: 1px solid var(--rx-border);
  background: var(--rx-white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--rx-navy);
}

.rx-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rx-nav a,
.rx-nav summary {
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rx-slate);
  border-radius: 8px;
  white-space: nowrap;
}

.rx-nav a:hover,
.rx-nav summary:hover {
  color: var(--rx-accent);
  background: var(--rx-surface);
}

.rx-nav details {
  position: relative;
}

.rx-nav summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rx-nav summary::-webkit-details-marker {
  display: none;
}

.rx-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 220px;
  background: var(--rx-white);
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  box-shadow: var(--rx-shadow);
  padding: 0.45rem;
  display: none;
}

.rx-nav details[open] .rx-dropdown {
  display: block;
}

.rx-dropdown a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
}

.rx-header-cta {
  flex-shrink: 0;
}

/* Buttons */
.rx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--rx-radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.rx-btn:hover,
.rx-btn:focus,
.rx-btn:active,
.rx-btn:visited {
  text-decoration: none;
}

.rx-btn:active {
  transform: scale(0.98);
}

.rx-btn:focus-visible,
.rx-nav a:focus-visible,
.rx-nav summary:focus-visible,
.rx-bento-card:focus-visible,
.rx-dropdown a:focus-visible,
.rx-service-card a:focus-visible {
  outline: 2px solid var(--rx-accent);
  outline-offset: 2px;
}

.rx-btn-block {
  width: 100%;
}

.rx-btn-primary {
  background: var(--rx-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.rx-btn-primary:hover {
  background: var(--rx-accent-dark);
  color: #fff;
}

.rx-btn-ghost {
  background: transparent;
  color: var(--rx-navy);
  border: 1px solid var(--rx-border);
}

.rx-btn-ghost:hover {
  border-color: var(--rx-accent);
  color: var(--rx-accent);
}

.rx-btn-white {
  background: #fff;
  color: var(--rx-navy);
}

.rx-btn-white:hover {
  background: var(--rx-surface);
  color: var(--rx-navy);
}

.rx-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.rx-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Hero */
.rx-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.08), transparent 42%),
    linear-gradient(180deg, var(--rx-surface) 0%, var(--rx-white) 100%);
}

.rx-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.rx-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rx-accent);
  margin-bottom: 1rem;
}

.rx-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--rx-navy);
  max-width: 11ch;
}

.rx-hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--rx-muted);
  max-width: 42ch;
}

.rx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.rx-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rx-border);
}

.rx-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--rx-navy);
  line-height: 1.2;
}

.rx-stat span {
  font-size: 0.82rem;
  color: var(--rx-muted);
}

.rx-hero-visual {
  position: relative;
}

.rx-hero-image {
  border-radius: calc(var(--rx-radius) + 4px);
  overflow: hidden;
  box-shadow: var(--rx-shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.rx-track-card {
  position: absolute;
  left: -1.25rem;
  bottom: -1.25rem;
  width: min(100%, 320px);
  background: var(--rx-white);
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.1rem;
  box-shadow: var(--rx-shadow);
}

.rx-track-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--rx-navy);
}

.rx-track-form {
  display: flex;
  gap: 0.5rem;
}

.rx-track-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--rx-border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--rx-navy);
}

.rx-track-form input::placeholder {
  color: #94a3b8;
}

.rx-track-form input:focus {
  outline: 2px solid var(--rx-accent-soft);
  border-color: var(--rx-accent);
}

.rx-track-form button {
  padding: 0.7rem 1rem;
}

/* Trust logos */
.rx-trust {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rx-border);
}

.rx-trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rx-trust p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rx-muted);
  flex-shrink: 0;
}

.rx-logo-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0.72;
}

.rx-logo-row img {
  height: 22px;
  width: auto;
  filter: grayscale(1);
}

/* Sections */
.rx-section {
  padding: 5rem 0;
}

.rx-section-alt {
  background: var(--rx-surface);
}

.rx-section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.rx-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--rx-navy);
}

.rx-section-head p {
  margin: 0;
  color: var(--rx-muted);
}

/* Services bento */
.rx-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.rx-bento-card {
  position: relative;
  border-radius: var(--rx-radius);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}

.rx-bento-card:hover {
  transform: translateY(-3px);
}

.rx-bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.rx-bento-card > * {
  position: relative;
  z-index: 1;
}

.rx-bento-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.rx-bento-card p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.rx-bento-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.rx-bento-a {
  grid-column: span 7;
}

.rx-bento-b {
  grid-column: span 5;
}

.rx-bento-c {
  grid-column: span 4;
}

.rx-bento-d {
  grid-column: span 8;
  background: var(--rx-navy);
}

.rx-bento-d::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.9));
}

/* Process */
.rx-process-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.rx-process-image {
  border-radius: var(--rx-radius);
  overflow: hidden;
  box-shadow: var(--rx-shadow);
}

.rx-steps {
  display: grid;
  gap: 1.25rem;
}

.rx-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  background: var(--rx-white);
}

.rx-step-icon {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--rx-accent-soft);
  color: var(--rx-accent);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.rx-step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rx-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.rx-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--rx-navy);
}

.rx-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rx-muted);
}

/* How it works */
.rx-pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rx-pill-card {
  background: var(--rx-white);
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.5rem;
}

.rx-pill-card i {
  font-size: 1.5rem;
  color: var(--rx-accent);
  margin-bottom: 0.85rem;
}

.rx-pill-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--rx-navy);
}

.rx-pill-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rx-muted);
}

/* Testimonials */
.rx-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rx-quote {
  background: var(--rx-white);
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.35rem;
}

.rx-quote p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--rx-slate);
}

.rx-quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rx-quote-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.rx-quote-author strong {
  display: block;
  font-size: 0.92rem;
  color: var(--rx-navy);
}

.rx-quote-author span {
  font-size: 0.8rem;
  color: var(--rx-muted);
}

/* CTA band */
.rx-cta-band {
  background: var(--rx-navy);
  color: #fff;
  border-radius: calc(var(--rx-radius) + 4px);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.rx-cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.rx-cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.rx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Contact */
.rx-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 0;
  border-radius: var(--rx-radius);
  overflow: hidden;
  border: 1px solid var(--rx-border);
  box-shadow: var(--rx-shadow);
}

.rx-contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.rx-contact-panel {
  background: var(--rx-accent);
  color: #fff;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.rx-contact-panel h3 {
  margin: 0;
  font-size: 1.15rem;
}

.rx-contact-panel a {
  color: #fff;
  font-weight: 600;
}

.rx-contact-panel a:hover {
  text-decoration: underline;
}

/* Footer */
.rx-footer {
  background: var(--rx-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 0;
}

.rx-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rx-footer h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.95rem;
}

.rx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rx-footer a:hover {
  color: #fff;
}

.rx-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.88rem;
}

.rx-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
}

/* Reveal animation — only hide when JS is enabled */
html.js .rx-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js .rx-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Mobile */
@media (max-width: 1023px) {
  .rx-nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .rx-nav {
    display: none;
    position: absolute;
    top: var(--rx-nav-h);
    left: 0;
    right: 0;
    background: var(--rx-white);
    border-bottom: 1px solid var(--rx-border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    box-shadow: var(--rx-shadow);
  }

  .rx-nav.is-open {
    display: flex;
  }

  .rx-header {
    position: relative;
  }

  .rx-header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .rx-header-cta {
    display: none;
  }

  .rx-hero-grid,
  .rx-process-grid,
  .rx-contact-grid,
  .rx-footer-grid,
  .rx-pill-row,
  .rx-testimonials {
    grid-template-columns: 1fr;
  }

  .rx-section {
    padding: 3.5rem 0;
  }

  .rx-cta-actions {
    width: 100%;
  }

  .rx-cta-actions .rx-btn {
    flex: 1;
    min-width: 140px;
  }

  .rx-bento-a,
  .rx-bento-b,
  .rx-bento-c,
  .rx-bento-d {
    grid-column: span 12;
  }

  .rx-hero h1 {
    max-width: none;
  }

  .rx-track-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .rx-hero-stats {
    grid-template-columns: 1fr;
  }

  .rx-track-form {
    flex-direction: column;
  }
}

/* Inner pages */
.rx-page-hero {
  position: relative;
  padding: 3.5rem 0;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.rx-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.rx-page-hero .rx-container {
  position: relative;
  z-index: 1;
}

.rx-page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.rx-page-hero p {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.rx-breadcrumb {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rx-border);
  background: var(--rx-surface);
  font-size: 0.88rem;
}

.rx-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.rx-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--rx-muted);
}

.rx-breadcrumb a {
  color: var(--rx-accent);
}

.rx-breadcrumb [aria-current] {
  color: var(--rx-muted);
}

.rx-page-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.rx-sidebar {
  position: sticky;
  top: calc(var(--rx-nav-h) + 1rem);
}

.rx-sidebar-nav {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  overflow: hidden;
  background: var(--rx-white);
}

.rx-sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rx-border);
  font-weight: 500;
  color: var(--rx-slate);
}

.rx-sidebar-nav li:last-child a {
  border-bottom: none;
}

.rx-sidebar-nav a:hover,
.rx-sidebar-nav a.is-active {
  background: var(--rx-accent-soft);
  color: var(--rx-accent-dark);
}

.rx-sidebar-card {
  background: var(--rx-navy);
  color: #fff;
  border-radius: var(--rx-radius);
  padding: 1.35rem;
}

.rx-sidebar-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.rx-sidebar-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.rx-sidebar-card a {
  color: #fff;
  font-weight: 600;
}

.rx-content img.rx-content-hero {
  width: 100%;
  border-radius: var(--rx-radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--rx-shadow);
}

.rx-content h2 {
  margin: 0 0 0.75rem;
  color: var(--rx-navy);
  font-size: 1.5rem;
}

.rx-content p {
  margin: 0 0 1rem;
  color: var(--rx-muted);
}

.rx-list-check {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.rx-list-check li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.rx-list-check i {
  color: var(--rx-accent);
  margin-top: 0.2rem;
}

.rx-quote-block {
  background: var(--rx-surface);
  border-left: 4px solid var(--rx-accent);
  padding: 1.25rem 1.35rem;
  border-radius: 0 var(--rx-radius) var(--rx-radius) 0;
  margin: 1.5rem 0;
  font-size: 1.02rem;
  color: var(--rx-navy);
}

.rx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rx-service-card {
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  overflow: hidden;
  background: var(--rx-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rx-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rx-shadow);
}

.rx-service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rx-service-card-body {
  padding: 1.1rem;
}

.rx-service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--rx-navy);
}

.rx-service-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--rx-muted);
}

.rx-service-card a.rx-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rx-accent);
}

.rx-form-block {
  background: var(--rx-white);
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.75rem;
}

.rx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rx-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rx-field-full {
  grid-column: 1 / -1;
}

.rx-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rx-navy);
}

.rx-field input,
.rx-field textarea,
.rx-field select {
  border: 1px solid var(--rx-border);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--rx-navy);
  background: var(--rx-white);
}

.rx-field input:focus,
.rx-field textarea:focus {
  outline: 2px solid var(--rx-accent-soft);
  border-color: var(--rx-accent);
}

.rx-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rx-info-card {
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.5rem;
  text-align: center;
  background: var(--rx-white);
}

.rx-info-card i {
  font-size: 1.5rem;
  color: var(--rx-accent);
  margin-bottom: 0.75rem;
}

.rx-info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--rx-navy);
}

.rx-info-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rx-muted);
}

.rx-map-full iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.rx-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rx-stat-card {
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  padding: 1.35rem;
  background: var(--rx-white);
}

.rx-stat-card i {
  font-size: 1.4rem;
  color: var(--rx-accent);
  margin-bottom: 0.65rem;
}

.rx-stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--rx-navy);
  margin-bottom: 0.25rem;
}

.rx-stat-card span {
  display: block;
  font-size: 0.88rem;
  color: var(--rx-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.rx-stat-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--rx-muted);
}

.rx-track-panel {
  border: 1px solid var(--rx-border);
  border-radius: var(--rx-radius);
  overflow: hidden;
  background: var(--rx-white);
  box-shadow: var(--rx-shadow);
}

.rx-track-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--rx-border);
  background: var(--rx-surface);
}

.rx-track-panel-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--rx-navy);
}

.rx-track-id {
  font-size: 0.95rem;
  color: var(--rx-accent-dark);
  font-weight: 700;
}

.rx-track-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
}

.rx-track-box h3 {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--rx-navy);
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
}

.rx-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.rx-data-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rx-border);
  vertical-align: top;
}

.rx-data-table td:first-child {
  width: 38%;
  font-weight: 600;
  color: var(--rx-navy);
  padding-right: 1rem;
}

.rx-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  background: var(--rx-accent-soft);
  color: var(--rx-accent-dark);
  border-radius: var(--rx-radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
}

.rx-track-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.rx-track-search {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.rx-track-search h2 {
  margin: 0 0 0.5rem;
  color: var(--rx-navy);
}

.rx-track-search p {
  margin: 0 0 1.25rem;
  color: var(--rx-muted);
}

.rx-track-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rx-navy);
  text-align: left;
}

.rx-track-hint {
  margin: 0.45rem 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--rx-muted);
  text-align: left;
}

.rx-track-form-page {
  flex-direction: column;
  align-items: stretch;
}

.rx-track-form-page input {
  width: 100%;
  max-width: none;
}

.rx-nav a.is-active {
  color: var(--rx-accent);
  background: var(--rx-surface);
}

@media (max-width: 1023px) {
  .rx-page-grid,
  .rx-service-grid,
  .rx-contact-cards,
  .rx-stats-row,
  .rx-track-cols,
  .rx-form-grid {
    grid-template-columns: 1fr;
  }

  .rx-sidebar {
    position: static;
  }
}
