/*
Theme Name: Blue Rocket Bold
Theme URI: https://bluerocketeng.com
Author: Blue Rocket
Description: Lightweight, conversion-focused WordPress theme for Blue Rocket logistics. Built for the upgraded subdomain redesign.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: bluerocket
*/

:root {
  --navy: #0b1f33;
  --navy-2: #123352;
  --blue: #126fe0;
  --blue-dark: #0d5bbd;
  --orange: #ff7a1a;
  --orange-dark: #e6670d;
  --ink: #102a43;
  --muted: #5d7186;
  --line: #dce6f0;
  --bg: #f6f9fc;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 14px 38px rgba(11, 31, 51, 0.12);
  --shadow-sm: 0 6px 18px rgba(11, 31, 51, 0.08);
  --container: 1200px;
  --header-h: 76px;
  --topbar-h: 38px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.section--tight { padding: 68px 0; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy); color: #dce8f5; }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Header */
.topbar {
  background: var(--navy);
  color: #c7d7e8;
  font-size: 0.82rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); }
.topbar__meta { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta svg { width: 14px; height: 14px; color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 150px; height: auto; max-height: 46px; object-fit: contain; }
.brand__fallback {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand__fallback span { color: var(--blue); }

.primary-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--navy); font-weight: 600; font-size: 0.94rem; }
.primary-nav a:hover { color: var(--blue); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 0.92rem; white-space: nowrap; }
.header__phone svg { width: 17px; height: 17px; color: var(--blue); }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 26, 0.28); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #f0f6fc; color: var(--navy); }
.btn--small { padding: 10px 17px; font-size: 0.87rem; }
.btn svg { width: 17px; height: 17px; }

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 108px 0 92px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(11,31,51,0.97) 0%, rgba(11,31,51,0.88) 46%, rgba(11,31,51,0.35) 100%), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(18,111,224,0.35), transparent 70%);
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: #9fc6f5; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero__lead { font-size: 1.14rem; color: #dbe7f4; max-width: 620px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16); }
.hero__trust li { display: flex; align-items: center; gap: 9px; color: #cfe0f2; font-size: 0.9rem; font-weight: 600; }
.hero__trust svg { width: 18px; height: 18px; color: var(--orange); }
.hero__trust ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }

/* Stats */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-size: 2.35rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1.1; }
.stat__label { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

/* Section headings */
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--orange); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section--navy .section-head p { color: #c3d5e8; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about__badge {
  position: absolute;
  right: -18px; bottom: 26px;
  background: var(--orange);
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 210px;
}
.about__badge strong { display: block; font-size: 1.6rem; line-height: 1; }
.about__badge span { font-size: 0.84rem; font-weight: 600; }
.about__list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); }
.about__list svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: #b8d4f2; box-shadow: var(--shadow); }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #eaf3ff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.service-card__link { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; }
.service-card__link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* Features */
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 26px; }
.feature__icon { width: 46px; height: 46px; border-radius: 11px; background: rgba(255,122,26,0.16); color: var(--orange); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: #bfd2e6; font-size: 0.9rem; margin: 0; }

/* Process */
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem;
}
.step::after { content: ""; position: absolute; top: 19px; left: 48px; right: -12px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* Industries */
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; font-weight: 700; color: var(--navy); font-size: 0.95rem; display: flex; align-items: center; gap: 11px; }
.industry svg { width: 19px; height: 19px; color: var(--orange); flex: 0 0 auto; }
.industry small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }

/* Proof */
.proof__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.proof__quote { border-left: 4px solid var(--orange); padding-left: 24px; }
.proof__quote p { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.proof__quote cite { font-style: normal; color: var(--muted); font-size: 0.9rem; }
.logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.logos img { max-height: 54px; width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 0.2s ease, opacity 0.2s ease; }
.logos img:hover { filter: none; opacity: 1; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); font-size: 0.94rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 54px 0; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,0.92); }

/* Contact split */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 18px; }
.contact-card h3 { margin-bottom: 14px; font-size: 1.05rem; }
.contact-line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; }
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { width: 19px; height: 19px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.contact-line span { display: block; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.contact-line a, .contact-line strong { color: var(--navy); font-weight: 700; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.hours li:last-child { border-bottom: 0; }
.hours span { color: var(--muted); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field label .req { color: var(--orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.94rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(18,111,224,0.13); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.form-alert { padding: 14px 16px; border-radius: 9px; margin-bottom: 20px; font-weight: 600; font-size: 0.92rem; }
.form-alert--success { background: #e8f7ef; color: #17683c; border: 1px solid #b9e5cc; }
.form-alert--error { background: #fff0e8; color: #a2440f; border: 1px solid #ffd0b5; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 70px 0 62px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(18,111,224,0.35), transparent 70%); }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe0f2; font-size: 1.08rem; margin-bottom: 0; }
.breadcrumb { color: #9fc6f5; font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.breadcrumb a { color: #9fc6f5; }

/* Entry content */
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.2em; }
.entry-content img { border-radius: var(--radius); }
.entry-content ul, .entry-content ol { padding-left: 22px; }

/* Footer */
.site-footer { background: var(--navy); color: #b9cde1; padding: 70px 0 22px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; margin-bottom: 50px; }
.footer__brand img { width: 160px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 0.92rem; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #b9cde1; font-size: 0.92rem; }
.footer a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; }
.footer__bottom a { color: #fff; font-weight: 700; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .primary-nav ul { gap: 18px; }
  .header__phone { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .step:nth-child(3)::after { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 14px 20px 22px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 12px 0; }
  .header__actions .btn { display: none; }
  .about__grid,
  .proof__inner,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 60;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(11,31,51,0.12);
    padding: 10px 16px;
    gap: 10px;
  }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: 68px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 68px; }
  .hero::before { background-image: linear-gradient(90deg, rgba(11,31,51,0.96), rgba(11,31,51,0.78)), var(--hero-img, none); }
  .hero__trust { gap: 14px; }
  .services__grid,
  .features__grid,
  .industries__grid,
  .process__grid,
  .form-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step { padding-top: 0; padding-left: 56px; min-height: 44px; }
  .step::before { top: 0; }
  .about__badge { right: 12px; bottom: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar__meta span:last-child { display: none; }
  .form-card { padding: 22px; }
  .cta-band__inner { padding: 42px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
