/* ============================================================
   OMRVA — 2026 Redesign
   Loaded AFTER style.css to override the template's wavy defaults.
   Scope is intentionally broad: we WANT these to win the cascade
   on every page. Section-level rebuilds can add more specific
   classes (prefixed with .rd-) on top as pages migrate.
   ============================================================ */

/* Lock the document to the viewport width so any stray overflow
   (slightly-oversize backgrounds, negative-margin decorations, browser
   zoom sub-pixel rounding) doesn't expose a white gutter on the right
   when the user zooms out. `overflow-x: clip` is stronger than `hidden`
   — it forbids scrolling AND prevents overflow from participating in
   layout at all. */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

:root {
  /* Palette — brand blue stays; deeper navy + neutrals added for depth */
  --rd-blue: #18adfe;
  --rd-blue-hover: #0d8ecf;
  --rd-blue-deep: #0B3A66;       /* hero overlays, utility bar option */
  --rd-blue-ink: #063054;        /* headlines on light backgrounds */
  --rd-charcoal: #1A1D22;
  --rd-text: #2A2F36;
  --rd-muted: #5B6471;
  --rd-line: #E3E7EC;
  --rd-bg-soft: #F6F8FB;
  --rd-white: #ffffff;

  /* Type scale */
  --rd-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --rd-h1-size: clamp(2.4rem, 4.2vw, 4.2rem);
  --rd-h2-size: clamp(1.9rem, 2.8vw, 2.8rem);
  --rd-h3-size: clamp(1.3rem, 1.6vw, 1.6rem);

  /* Shared */
  --rd-radius: 4px;
  --rd-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Typography — Inter, bold display weights, tighter tracking ── */
body, .theme-1, .footer-div, .footer-nav-div, p, li, a, h1, h2, h3, h4, h5, h6 {
  font-family: var(--rd-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { color: var(--rd-text); }

h1, .hero-title, .hero-title-v-2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: var(--rd-h1-size);
}
h2, .section-title, .section-title-v-2 {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-size: var(--rd-h2-size);
  color: var(--rd-blue-ink);
}
h3, h4 { font-weight: 700; letter-spacing: -0.01em; }
p { line-height: 1.65; }

/* Kill the template's thin-weight section eyebrows — bolder is better. */
.section-title span, .section-title-v-2 span,
.sub-section, .sub-section-v-2 {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
}

/* ── Color lock — flatten gradients to the primary blue ──
   Do NOT paint .theme-1 or .hero-area-v-2 here: .theme-1 is reused on
   header/footer/section wrappers, and painting it white hides nested
   content. .hero-area-v-2 houses the home-page <video> background,
   which a solid background-color would visually sit in front of on
   some layouts when the video element isn't stretched to cover. */
.bg-blue { background-color: var(--rd-blue-deep); }
.bg-soft { background-color: var(--rd-bg-soft); }

/* Links stay blue, but underline on hover instead of swipe */
a { color: var(--rd-blue); transition: color .15s var(--rd-ease); }
a:hover { color: var(--rd-blue-hover); }

/* ── Buttons — flat, bold, predictable ── */
.button, .hero-button, .form-button, .contact-button, .button-light, .button-dark, .button-black {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .95rem;
  line-height: 1;
  border-radius: var(--rd-radius);
  border: 2px solid transparent;
  text-transform: none;
  transition: background-color .18s var(--rd-ease), color .18s var(--rd-ease),
              border-color .18s var(--rd-ease), transform .18s var(--rd-ease),
              box-shadow .18s var(--rd-ease);
  box-shadow: none;
  position: relative;
  overflow: visible;
}
.button:before, .hero-button:before, .form-button:before { display: none !important; }

/* Primary — solid brand blue */
.button-primary, .button-light, .hero-button, .contact-button, .form-button {
  background-color: var(--rd-blue) !important;
  color: var(--rd-white) !important;
  border-color: var(--rd-blue) !important;
}
.button-primary:hover, .button-light:hover, .hero-button:hover,
.contact-button:hover, .form-button:hover {
  background-color: var(--rd-blue-hover) !important;
  border-color: var(--rd-blue-hover) !important;
  color: var(--rd-white) !important;
  box-shadow: 0 6px 18px rgba(24, 173, 254, 0.28);
  transform: translateY(-1px);
}

/* Secondary outline — white bg, blue border+text, fills on hover */
.button-outline, .button-dark {
  background-color: transparent !important;
  color: var(--rd-blue) !important;
  border-color: var(--rd-blue) !important;
}
.button-outline:hover, .button-dark:hover {
  background-color: var(--rd-blue) !important;
  color: var(--rd-white) !important;
  border-color: var(--rd-blue) !important;
  transform: translateY(-1px);
}

/* Ghost (for hero overlay contexts — white text + thin border) */
.button-ghost {
  background-color: transparent !important;
  color: var(--rd-white) !important;
  border-color: rgba(255,255,255,.7) !important;
}
.button-ghost:hover {
  background-color: var(--rd-white) !important;
  color: var(--rd-blue-ink) !important;
  border-color: var(--rd-white) !important;
}

/* ── Utility bar (top of page, above main nav) ──
   Template's <header> is position:absolute; top:0, so it sits on top of
   the flow. We pin the utility bar to the page top and push the header
   down by the bar's height. --rd-util-h is the shared value so both
   sides stay in sync at each breakpoint. */
:root { --rd-util-h: 38px; }
@media (max-width: 640px) { :root { --rd-util-h: 32px; } }

/* Inside the utility bar, kill the desktop copylink's dotted-underline
   + "copied" floating label — they collide with the adjacent link and
   overflow into the nav below. Copying still happens silently via the
   existing click handler. */
.rd-utility-bar a.omr-copylink { border-bottom: none; }
.rd-utility-bar a.omr-copylink::after { display: none; }

.rd-utility-bar {
  background-color: var(--rd-blue-deep);
  color: var(--rd-white);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  height: var(--rd-util-h);
  display: flex;
  align-items: center;
  line-height: 1.4;
  /* Pin to the viewport top. On mobile Safari the address bar
     collapses on first scroll which was causing the relative-positioned
     bar to momentarily leave a gap at the top; fixed removes that
     ambiguity entirely. */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}
/* Reserve the utility-bar space at the top of the document so the fixed
   bar doesn't overlap real content. */
body { padding-top: var(--rd-util-h); }
/* Push the template's absolutely-positioned header down so it sits below
   the utility bar. The header's containing block is the viewport
   (body is position: static), so this is measured from viewport top. */
body > header, body > header.theme-1 { top: var(--rd-util-h) !important; }
.rd-utility-bar .rd-util-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  width: 100%;
}
.rd-utility-bar .rd-util-left,
.rd-utility-bar .rd-util-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rd-utility-bar a {
  color: var(--rd-white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity .15s var(--rd-ease);
}
.rd-utility-bar a:hover { color: var(--rd-white); opacity: .82; }
.rd-utility-bar i { margin-right: 7px; opacity: .9; }
.rd-utility-bar .rd-util-pipe { opacity: .35; padding: 0 4px; }

@media (max-width: 640px) {
  .rd-utility-bar { font-size: .8rem; padding: 6px 0; }
  .rd-utility-bar .rd-util-inner { padding: 0 14px; gap: 8px; }
  .rd-utility-bar .rd-util-left { display: none; }
  .rd-utility-bar .rd-util-right { width: 100%; justify-content: center; }
}

/* ── Kill the wavy SVG dividers — hard edges look more deliberate ── */
.footer-shape,
.hero-area-v-2 .shape-bg,
.hero-area-v-2 .shape-svg,
.wave-shape, .section-shape,
svg.shape-wave {
  display: none !important;
}
/* Some dividers are inline backgrounds on sections — neutralize. */
section[class*="div-padding"]::before,
section[class*="div-padding"]::after {
  display: none !important;
}

/* ── Section rhythm — straight edges, consistent vertical rhythm ── */
.rd-section { padding: 88px 0; }
.rd-section--tight { padding: 56px 0; }
.rd-section--soft { background: var(--rd-bg-soft); }
.rd-section--ink  { background: var(--rd-charcoal); color: var(--rd-white); }
.rd-section--ink  h1, .rd-section--ink h2, .rd-section--ink h3 { color: var(--rd-white); }
.rd-section--blue { background: var(--rd-blue); color: var(--rd-white); }
.rd-section--blue h1, .rd-section--blue h2 { color: var(--rd-white); }

/* ── Hero overlay tweak — deeper, more cinematic ── */
.hero-area-v-2.dark-overlay-3::before,
.hero-area-v-2 .dark-overlay::before {
  background: linear-gradient(180deg, rgba(6,24,48,.72) 0%, rgba(6,24,48,.55) 100%) !important;
}

/* ── Nav — fully transparent, no blur, no tint.
   White logo + nav links get a soft text-shadow so they stay legible
   over light body sections once you scroll past the hero/breadcrumb. */
.header__lower {
  background-color: transparent;
  box-shadow: none;
}
.header__lower .logo img,
.header__lower .navbar-dark .navbar-nav .nav-link {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.header__lower .logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25));
}
.header__lower .container { padding-top: 8px; padding-bottom: 8px; }
/* Logo asset is already white-on-transparent — no filter. */
.header__lower .logo img { filter: none; display: block; }
.header__lower .navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 14px !important;
}
.header__lower .navbar-dark .navbar-nav .nav-link:hover,
.header__lower .navbar-dark .navbar-nav .nav-item.active .nav-link {
  color: var(--rd-blue) !important;
}
.header__lower .navbar-dark .navbar-nav .nav-link i { color: #ffffff; }
.header__lower .navbar-dark .navbar-nav .nav-link:hover i,
.header__lower .navbar-dark .navbar-nav .nav-item.active .nav-link i {
  color: var(--rd-blue);
}

/* Hamburger toggle — white stroke on a semi-transparent backdrop so
   it's visible against both the hero video and the solid dark nav. */
.header__lower .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 6px 10px;
  border-radius: var(--rd-radius);
  background: rgba(255, 255, 255, .08);
}
.header__lower .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(24, 173, 254, .35); }
.header__lower .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 26px; height: 26px;
}

/* Mobile menu — below lg, the collapse drops the nav links as a full-
   width panel under the header with generous tap targets. */
@media (max-width: 991.98px) {
  /* Trim the Bootstrap container/row/col horizontal padding stack so
     the hamburger's icon doesn't sit ~24-30px from the viewport edge
     (container + col gutter + toggler padding all add up). */
  .header__lower .container { padding-left: 14px !important; padding-right: 14px !important; }
  .header__lower .row { margin-left: 0 !important; margin-right: 0 !important; }
  .header__lower .col-12 { padding-left: 0 !important; padding-right: 0 !important; }
  .header__lower .navbar {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }
  .header__lower .logo { margin: 0; flex: 0 0 auto; }
  /* margin-left: auto on a flex item eats all remaining free space,
     pushing the toggler to the hard right edge of the flex line.
     margin-right: -4px pulls its tappable box a few pixels past the
     container padding so the icon itself reads as "at the right edge"
     rather than floating in a gutter. */
  .header__lower .navbar-toggler {
    margin-left: auto !important;
    margin-right: -4px !important;
    flex: 0 0 auto;
    padding: 6px 8px !important;
  }
  .header__lower .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--rd-line);
    padding-top: 8px;
  }
  /* Force column on mobile: Bootstrap's .navbar-expand-lg sets the nav
     to row above lg, column below. Some environments end up with a
     lingering row-direction from utility CSS — lock it explicitly. */
  .header__lower .navbar-nav {
    flex-direction: column !important;
    align-items: stretch;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .header__lower .navbar-nav .nav-item { width: 100%; }
  .header__lower .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 4px !important;
    border-bottom: 1px solid var(--rd-line);
  }
  .header__lower .navbar-nav .nav-item:last-child .nav-link { border-bottom: none; }
  .header__lower .navbar-nav .nav-link i { width: 22px; text-align: center; margin-right: 8px; }
  /* Ensure Bootstrap's ms-lg-auto (pushes ul right on lg+) doesn't leak
     into mobile via a residual margin from some other class. */
  .header__lower .navbar-nav.ms-lg-auto { margin: 0 !important; }
}

/* ── Cards (services, features) — flat, subtle border, meaningful hover ── */
.rd-card {
  background: var(--rd-white);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  overflow: hidden;
  transition: transform .2s var(--rd-ease), box-shadow .2s var(--rd-ease),
              border-color .2s var(--rd-ease);
}
.rd-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 58, 102, 0.08);
  border-color: var(--rd-blue);
}
.rd-card__img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.rd-card__body { padding: 22px 24px 26px; }
.rd-card__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--rd-blue-ink); }
.rd-card__text { color: var(--rd-muted); font-size: .95rem; margin: 0; }

/* ── Stats strip ── */
.rd-stats {
  background: var(--rd-blue-deep);
  color: var(--rd-white);
  padding: 64px 0;
}
.rd-stats .rd-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.rd-stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--rd-white);
}
.rd-stat-label {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}

/* ── Side-by-side image + text block ── */
.rd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Reverse column order using grid column placement instead of
   `direction: rtl` — the rtl trick was causing subtle horizontal
   overflow at some zoom levels (the `direction` property leaks into
   margin resolution for some layout contexts, which pushed a pixel or
   two past the right edge). */
.rd-split--reverse > :first-child { grid-column: 2; }
.rd-split--reverse > :last-child { grid-column: 1; grid-row: 1; }
@media (max-width: 900px) {
  .rd-split--reverse > :first-child,
  .rd-split--reverse > :last-child { grid-column: auto; grid-row: auto; }
}
.rd-split__img { width: 100%; border-radius: var(--rd-radius); display: block; object-fit: cover; }
.rd-split__eyebrow {
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
  margin-bottom: 12px;
  display: block;
}
.rd-split__title { margin-bottom: 18px; }
.rd-split__text { color: var(--rd-muted); font-size: 1.02rem; margin-bottom: 22px; }
@media (max-width: 900px) {
  .rd-split { grid-template-columns: 1fr; gap: 32px; }
  .rd-split--reverse { direction: ltr; }
}

/* ── Footer polish — flat background, no wavy top ──
   Matches utility bar + CTA band deep-blue so the top strip, the final
   CTA, and the footer read as one cohesive brand color instead of a
   three-tone (blue → blue → charcoal) sandwich. */
.footer-div { background: var(--rd-blue-deep) !important; }
.footer-nav-div { background: var(--rd-blue-deep) !important; }
.footer-div::before, .footer-div::after { display: none !important; }
.footer-div h4 { color: var(--rd-white); font-weight: 700; letter-spacing: .01em; margin-bottom: 18px; }
.footer-div p, .footer-div li, .footer-div address { color: rgba(255,255,255,.75); }
.footer-div a { color: rgba(255,255,255,.82); }
.footer-div a:hover { color: var(--rd-blue); }
.footer-div .copyright-div { border-top: 1px solid rgba(255,255,255,.08); }
/* Template's .footer-nav-div had 260px top padding because the original
   had a tall wavy svg stacked above it. We killed the wave, so the
   padding makes the footer needlessly tall. */
.footer-nav-div { padding: 60px 0 50px !important; }

/* ── Scroll-reveal animations ──
   Replaces WOW.js + animate.css for rebuilt sections. Elements start in
   a pre-reveal state (hidden + translated); IntersectionObserver adds
   .rd-reveal when they enter the viewport, and a simple CSS transition
   brings them to the natural position. Single trigger per element. */
.wow {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1),
              transform .6s cubic-bezier(.22, .61, .36, 1);
}
/* Only hint the compositor while an element is actively reaching its
   reveal state. Leaving `will-change` on every .wow for the whole page
   lifetime was keeping dozens of permanent GPU layers around, which
   caused chunky/glitchy scrolling on long pages. After the reveal
   transition we can drop the hint — the element won't animate again. */
.wow:not(.rd-reveal) { will-change: opacity, transform; }
.wow.animate__fadeInLeft  { transform: translate3d(-48px, 0, 0); }
.wow.animate__fadeInRight { transform: translate3d(48px, 0, 0); }
.wow.animate__fadeInUp    { transform: translate3d(0, 28px, 0); }
.wow.animate__fadeInDown  { transform: translate3d(0, -28px, 0); }

.wow.rd-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Neutralize animate.css's keyframe-based animations so nothing plays
   twice. Keep the class-name API (`animate__animated`, `animate__fadeInUp`)
   intact so existing templates still opt in, but the actual motion is
   driven by the transition rules above. */
.animate__animated { animation: none !important; }

/* Respect OS-level reduced motion — snap straight to final state. */
@media (prefers-reduced-motion: reduce) {
  .wow { transition: none; opacity: 1; transform: none; }
}

/* ── Hero content (overrides template's .hero-area-left + .hero-title-v-2
      typography without rewiring the markup) ── */
.rd-hero-content {
  max-width: 760px;
  color: var(--rd-white);
  position: relative;
  z-index: 2;
}
.rd-hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.rd-hero-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--rd-white);
  margin-bottom: 22px;
}
.rd-hero-title span { color: var(--rd-blue); }
.rd-hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.6;
  color: rgba(255,255,255,.86);
  margin-bottom: 30px;
  max-width: 620px;
}
.rd-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.rd-hero-ctas .button { padding: 16px 32px; font-size: 1rem; }

/* Deeper overlay on the hero video for legibility */
.hero-area-v-2.dark-overlay-3::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6,24,48,.82) 0%, rgba(6,24,48,.55) 55%, rgba(6,24,48,.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-area-v-2 .container { position: relative; z-index: 2; }

/* ── Services teaser grid ── */
.rd-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.rd-service-card {
  background: var(--rd-white);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--rd-ease), box-shadow .22s var(--rd-ease), border-color .22s var(--rd-ease);
  text-decoration: none;
  color: inherit;
}
.rd-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(11, 58, 102, 0.12);
  border-color: var(--rd-blue);
  color: inherit;
}
.rd-service-card__img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--rd-bg-soft);
}
.rd-service-card__body { padding: 24px 26px 28px; flex: 1; }
.rd-service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rd-blue-ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.rd-service-card__text {
  font-size: .95rem;
  color: var(--rd-muted);
  line-height: 1.55;
  margin: 0;
}
.rd-service-card__cta {
  margin-top: 14px;
  color: var(--rd-blue);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}

/* ── Centered section heading block ── */
.rd-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 8px;
  padding: 0 24px;
}
.rd-heading__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
  margin-bottom: 10px;
}
.rd-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
}
.rd-heading p {
  color: var(--rd-muted);
  font-size: 1.04rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ── Bullet list for split sections ── */
.rd-bullet-list { list-style: none; padding: 0; margin: 0 0 28px; }
.rd-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--rd-text);
  font-weight: 500;
}
.rd-bullet-list li::before {
  content: "";
  width: 22px; height: 22px;
  background: var(--rd-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.5 10.8L3.7 8l-1 1 3.8 3.8L13.3 5l-1-1z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

/* ── Final CTA band ── */
.rd-cta-band {
  background: var(--rd-blue-deep);
  padding: 72px 24px;
  text-align: center;
  color: var(--rd-white);
  position: relative;
  overflow: hidden;
}
.rd-cta-band__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--rd-white);
}
.rd-cta-band__sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 640px;
}
.rd-cta-band .rd-cta-band__actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Stats grid uses existing .rd-stats / .rd-stat-num */

/* ── "Our App" section — driver app pitch + store buttons + screenshots ── */
.rd-app {
  background: linear-gradient(180deg, var(--rd-bg-soft) 0%, var(--rd-white) 100%);
  padding: 96px 0;
  overflow: hidden;
}
.rd-app__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 900px) {
  .rd-app { padding: 72px 0; }
  .rd-app__inner { grid-template-columns: 1fr; gap: 40px; }
}
.rd-app__copy h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.rd-app__copy p {
  color: var(--rd-muted);
  font-size: 1.02rem;
  margin: 0 0 24px;
  max-width: 520px;
}
.rd-app__stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.rd-app__stores a {
  display: inline-block;
  transition: transform .18s var(--rd-ease), filter .18s var(--rd-ease);
}
.rd-app__stores a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 6px 12px rgba(11, 58, 102, .15));
}
.rd-app__stores img {
  height: 54px;
  width: auto;
  display: block;
}

/* Phone mockups — fanned out with light rotation for visual interest */
.rd-app__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  perspective: 1000px;
}
@media (max-width: 900px) {
  .rd-app__phones { min-height: 420px; }
}
.rd-app__phone {
  position: relative;
  width: 210px;
  background: linear-gradient(160deg, #2A2F36 0%, #0f1216 100%);
  border-radius: 38px;
  padding: 7px;
  /* Layered shadows for a floating-mock feel: soft ambient + tighter
     contact shadow + a subtle inner highlight ring for the bezel. */
  box-shadow:
    0 22px 52px rgba(11, 58, 102, .28),
    0 6px 14px rgba(0, 0, 0, .18),
    inset 0 0 0 1.5px rgba(255, 255, 255, .06);
  transition: transform .3s var(--rd-ease);
}
.rd-app__phone::before {
  /* Dynamic Island — small centered pill, sits a few pixels below the
     top of the screen inside the bezel. More modern than the
     notch-strip style. */
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 16px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .03);
}
.rd-app__phone::after {
  /* Side-button indent for a bit of silhouette detail — right-side
     power button, barely visible but adds depth. */
  content: "";
  position: absolute;
  right: -2px;
  top: 110px;
  width: 3px;
  height: 48px;
  background: #2A2F36;
  border-radius: 0 2px 2px 0;
  z-index: 0;
}
.rd-app__phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  /* Match the source screenshot aspect (1080x1920 = 9:16) so nothing
     gets cropped top/bottom. Previously tried 9:19.5 for a taller
     iPhone look, but that clipped the screenshot content. */
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.rd-app__phone--center {
  z-index: 3;
  transform: translateY(-8px);
}
.rd-app__phone--left {
  position: absolute;
  left: calc(50% - 190px);
  z-index: 2;
  transform: rotate(-8deg) translateY(20px) scale(.88);
}
.rd-app__phone--right {
  position: absolute;
  left: calc(50% + 30px);
  z-index: 2;
  transform: rotate(8deg) translateY(20px) scale(.88);
}
.rd-app__phone:hover {
  transform: translateY(-14px);
}
.rd-app__phone--left:hover {
  transform: rotate(-8deg) translateY(6px) scale(.92);
}
.rd-app__phone--right:hover {
  transform: rotate(8deg) translateY(6px) scale(.92);
}
@media (max-width: 600px) {
  .rd-app__phone { width: 160px; }
  .rd-app__phone--left { left: calc(50% - 150px); }
  .rd-app__phone--right { left: calc(50% + 20px); }
}

/* ── Page hero banner (breadcrumb-div on About/Services/Careers/Contact) ──
   Overrides the template's tall generic banner with a focused, typographic
   page title area. Background image provided inline by the page template. */
.rd-breadcrumb {
  position: relative;
  min-height: clamp(280px, 38vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 72px;
  color: var(--rd-white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.rd-breadcrumb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(6,24,48,.86) 0%, rgba(6,24,48,.62) 60%, rgba(6,24,48,.5) 100%);
  pointer-events: none;
}
.rd-breadcrumb__inner { position: relative; z-index: 2; max-width: 820px; }
.rd-breadcrumb__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
  margin-bottom: 14px;
}
.rd-breadcrumb__title {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rd-white);
  margin: 0 0 14px;
}
.rd-breadcrumb__sub {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 640px;
}

/* ── Contact info cards (3-up) ── */
.rd-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.rd-info-card {
  background: var(--rd-white);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .18s var(--rd-ease), box-shadow .18s var(--rd-ease), border-color .18s var(--rd-ease);
}
.rd-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--rd-blue);
  box-shadow: 0 10px 28px rgba(11, 58, 102, .09);
}
.rd-info-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(24,173,254,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-blue);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.rd-info-card__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rd-muted);
  margin-bottom: 8px;
}
.rd-info-card__value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rd-blue-ink);
  margin: 0 0 14px;
  word-break: break-word;
}
.rd-info-card__action {
  display: inline-block;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--rd-blue);
  text-decoration: none;
}
.rd-info-card__action:hover { color: var(--rd-blue-hover); }

/* ── Form polish (for contact + careers) ── */
.rd-form { max-width: 620px; }
.rd-form h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  margin-bottom: 6px;
  color: var(--rd-blue-ink);
}
.rd-form__note {
  font-size: .82rem;
  color: var(--rd-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}
.rd-form .form-floating { margin-bottom: 14px; }
.rd-form .form-control {
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 14px 16px;
  font-size: .98rem;
  background: var(--rd-white);
  transition: border-color .15s var(--rd-ease), box-shadow .15s var(--rd-ease);
}
.rd-form .form-control:focus {
  border-color: var(--rd-blue);
  box-shadow: 0 0 0 3px rgba(24,173,254,.18);
  outline: none;
}
.rd-form textarea.form-control { min-height: 140px; resize: vertical; }
.rd-form .form-floating > label { padding: 14px 16px; color: var(--rd-muted); }
.rd-form .btn, .rd-form button[type="submit"] {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--rd-radius);
  background: var(--rd-blue) !important;
  color: var(--rd-white) !important;
  border: 2px solid var(--rd-blue) !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .18s var(--rd-ease), transform .18s var(--rd-ease), box-shadow .18s var(--rd-ease);
  margin-top: 8px;
}
.rd-form .btn:hover, .rd-form button[type="submit"]:hover {
  background: var(--rd-blue-hover) !important;
  border-color: var(--rd-blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(24,173,254,.24);
}

/* ── Requirements / info block for careers right column ── */
.rd-req {
  background: var(--rd-bg-soft);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 32px 28px;
}
.rd-req h3 {
  font-size: 1.3rem;
  margin: 0 0 18px;
  color: var(--rd-blue-ink);
}
.rd-req ul { list-style: none; padding: 0; margin: 0; }
.rd-req li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--rd-line);
  font-size: .96rem;
  color: var(--rd-text);
  line-height: 1.55;
}
.rd-req li:last-child { border-bottom: none; }
.rd-req li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px; height: 16px;
  background: var(--rd-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.5 10.8L3.7 8l-1 1 3.8 3.8L13.3 5l-1-1z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

/* Split grid: allow form side (or map side) to grow wider on large screens */
.rd-form-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .rd-form-split { grid-template-columns: 1fr; gap: 32px; }
}
.rd-map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  border-radius: var(--rd-radius);
  overflow: hidden;
  display: block;
}

/* ── Benefit ribbon (under the hero) ── */
.rd-ribbon {
  background: var(--rd-white);
  border-bottom: 1px solid var(--rd-line);
  padding: 22px 0;
}
.rd-ribbon__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: center;
}
.rd-ribbon__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rd-text);
  font-weight: 600;
  font-size: .95rem;
}
.rd-ribbon__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(24,173,254,.12);
  color: var(--rd-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .rd-ribbon { padding: 16px 0; }
  .rd-ribbon__inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rd-ribbon__item { font-size: .86rem; }
}

/* ── Why Choose OMR grid ── */
.rd-why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.rd-why-grid > .rd-why-card {
  flex: 1 1 280px;
  max-width: calc((100% - 22px * 2) / 3);
}
@media (max-width: 900px) {
  .rd-why-grid > .rd-why-card { max-width: calc((100% - 22px) / 2); }
}
@media (max-width: 600px) {
  .rd-why-grid > .rd-why-card { max-width: 100%; }
}
.rd-why-card {
  background: var(--rd-white);
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  padding: 28px 26px;
  transition: transform .2s var(--rd-ease), box-shadow .2s var(--rd-ease), border-color .2s var(--rd-ease);
}
.rd-why-card:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 12px 28px rgba(11, 58, 102, .08);
  border-color: var(--rd-blue);
}
.rd-why-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--rd-blue);
  color: var(--rd-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.rd-why-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--rd-blue-ink);
  margin: 0 0 8px;
}
.rd-why-card__text {
  color: var(--rd-muted);
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
}

/* ── Floating "Call Now" button (mobile only) ──
   Sticks in the bottom-right on touch devices so the phone number is
   one tap away regardless of scroll position. Desktop hides it — the
   utility bar's phone link is already visible up top. */
.rd-call-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rd-blue);
  color: var(--rd-white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(24, 173, 254, .4),
              0 4px 10px rgba(11, 58, 102, .25);
  z-index: 9999;
  transition: transform .18s var(--rd-ease), box-shadow .18s var(--rd-ease);
}
.rd-call-float:hover, .rd-call-float:active {
  transform: scale(1.05);
  color: var(--rd-white);
  box-shadow: 0 14px 34px rgba(24, 173, 254, .55),
              0 6px 14px rgba(11, 58, 102, .3);
}
/* Only real touch devices (phones/tablets) — a narrow desktop browser
   window shouldn't expose a tel: link that would try to open a random
   handler (FaceTime / Skype / nothing) on click. */
@media (pointer: coarse) {
  .rd-call-float { display: inline-flex; }
}
/* Subtle pulse to draw the eye without being obnoxious */
.rd-call-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(24,173,254,.55);
  animation: rd-pulse 2.2s ease-out infinite;
}
@keyframes rd-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(24,173,254,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(24,173,254,0); }
  100% { box-shadow: 0 0 0 0 rgba(24,173,254,0); }
}
@media (prefers-reduced-motion: reduce) {
  .rd-call-float::after { animation: none; }
}

/* ── Services page cards — taller with description + icon/image ── */
.rd-services-full {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Variant: full-bleed background photo with overlay + text pinned at the
   bottom. For the services page, where the stock portrait photos
   (amb.png, wheelchair.png, stretch.png) read best as a whole card. */
.rd-service-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 3 / 4;
  border-radius: var(--rd-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--rd-white);
  background-size: cover;
  background-position: center top;
  transition: transform .22s var(--rd-ease), box-shadow .22s var(--rd-ease);
  isolation: isolate;
}
.rd-service-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,24,48,0) 35%, rgba(6,24,48,.92) 100%);
  transition: background .25s var(--rd-ease);
  z-index: 1;
}
.rd-service-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 58, 102, .22);
  color: var(--rd-white);
}
.rd-service-hero:hover::before {
  background: linear-gradient(180deg, rgba(24,173,254,.25) 0%, rgba(6,24,48,.95) 100%);
}
.rd-service-hero__body {
  position: relative;
  z-index: 2;
  padding: 28px 28px 26px;
}
.rd-service-hero__title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--rd-white);
}
.rd-service-hero__text {
  font-size: .94rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  margin: 0 0 12px;
}
.rd-service-hero__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  color: var(--rd-blue);
}

/* ── Team collage (About page) — main photo + inset secondary photo ── */
.rd-team-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  max-width: 100%;
}
.rd-team-collage__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--rd-radius);
  display: block;
}
.rd-team-collage__aside {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 48%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--rd-radius);
  box-shadow: 0 18px 40px rgba(11, 58, 102, .22);
  border: 4px solid var(--rd-white);
}
@media (max-width: 900px) {
  .rd-team-collage__aside {
    right: 0;
    bottom: -12px;
    width: 40%;
  }
}

/* ── Locations block ──
   Dark card with copy on the left, a stylized Virginia silhouette on
   the right. Mirrors the Global Rescue pattern (dark bg + decorative
   map accent) without the clutter of a live Google Maps embed. */
.rd-locations {
  background: var(--rd-blue-deep);
  color: var(--rd-white);
  border-radius: var(--rd-radius);
  padding: 40px 36px;
  box-shadow: 0 14px 32px rgba(11, 58, 102, .18);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: 32px;
  align-items: center;
}
@media (max-width: 780px) {
  .rd-locations { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
}
.rd-locations::before {
  /* Thin accent rule along the top — Global Rescue cue. */
  content: "";
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}
.rd-locations__copy { min-width: 0; }
.rd-locations__map {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
}
@media (max-width: 780px) {
  .rd-locations__map { margin: 0 auto; }
}
.rd-locations__map img {
  width: 100%;
  height: auto;
  display: block;
}
.rd-locations__eyebrow {
  display: block;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--rd-blue);
  margin-bottom: 14px;
}
.rd-locations__title {
  font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--rd-white);
}
.rd-locations__sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 520px;
}
.rd-locations__address {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--rd-blue);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--rd-radius) var(--rd-radius) 0;
}
.rd-locations__address-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rd-blue);
  margin-bottom: 4px;
}
.rd-locations__address address {
  font-style: normal;
  font-size: .98rem;
  font-weight: 600;
  color: var(--rd-white);
  margin: 0;
}
.rd-locations__areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 28px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.rd-locations__areas li {
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
  padding-left: 18px;
  position: relative;
}
.rd-locations__areas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rd-blue);
}
.rd-locations .button-primary,
.rd-locations .button-ghost {
  /* Buttons sit on the dark card — primary blue + ghost-white read
     well here without extra overrides. */
}


