:root {
  --rb-navy: #102a56;
  --rb-ink: #0b1f44;
  --rb-muted: #475569;
  --rb-line: #e2e8f0;
  --rb-soft: #f8fafc;
  --rb-white: #ffffff;
  --rb-orange: #102a56;
  --rb-amber: #d8a24a;
  --rb-green: #16a34a;
  --rb-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --rb-radius: 8px;
  --rb-container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rb-soft);
  color: var(--rb-navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.admin-bar .rb-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--rb-orange);
}

p {
  color: var(--rb-muted);
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  color: var(--rb-navy);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

h3 {
  font-size: 1.16rem;
}

.rb-container {
  width: var(--rb-container);
  margin-inline: auto;
}

.rb-section {
  padding: 92px 0;
}

.rb-section--white {
  background: var(--rb-white);
}

.rb-section--navy {
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-section--navy h2,
.rb-section--navy h3,
.rb-section--navy p,
.rb-section--navy a {
  color: var(--rb-white);
}

.rb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rb-orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rb-kicker::before {
  width: 22px;
  height: 3px;
  background: var(--rb-orange);
  border-radius: 99px;
  content: "";
}

.rb-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.rb-lead {
  color: var(--rb-muted);
  font-size: 1.12rem;
  max-width: 68ch;
}

.rb-topbar {
  background: var(--rb-navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.rb-topbar__inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  min-height: 42px;
}

.rb-topbar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rb-topbar a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.rb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--rb-white);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.rb-header__inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  min-height: 74px;
}

.rb-logo {
  display: inline-flex;
  align-items: center;
  color: var(--rb-navy);
  font-family: Manrope, Inter, sans-serif;
  font-weight: 900;
  flex: 0 0 auto;
  height: 48px;
}

.rb-logo img {
  height: 38px;
  max-width: 134px;
  object-fit: contain;
  width: auto;
}

.rb-logo__mark {
  align-items: center;
  background: var(--rb-navy);
  border-radius: 8px;
  color: var(--rb-white);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.rb-logo__text span {
  display: block;
  color: var(--rb-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.rb-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 0.96rem;
  font-weight: 800;
}

.rb-nav a {
  color: var(--rb-navy);
}

.rb-menu-toggle {
  display: none;
}

.rb-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.rb-button,
.wp-element-button,
.wp-block-button__link {
  align-items: center;
  background: var(--rb-orange);
  border: 0;
  border-radius: var(--rb-radius);
  color: var(--rb-white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 14px 20px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.rb-button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: #0b1f44;
  box-shadow: 0 14px 26px rgba(16, 42, 86, 0.24);
  color: var(--rb-white);
  transform: translateY(-1px);
}

.rb-button--dark {
  background: var(--rb-navy);
}

.rb-button--ghost {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  color: var(--rb-navy);
}

.rb-button--ghost:hover {
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-button--call {
  background: var(--rb-green);
}

.rb-hero {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.84) 45%, rgba(248, 250, 252, 0.18) 100%),
    url("../images/rentbus-hero-1600.jpg") center right / cover no-repeat;
  min-height: 560px;
  position: relative;
}

.rb-hero__inner {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
  min-height: 560px;
  padding: 48px 0 34px;
}

.rb-hero__copy {
  align-self: center;
}

.rb-hero__copy .rb-lead {
  font-size: 1.16rem;
  margin-top: 24px;
}

.rb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 16px;
}

.rb-hero__micro {
  color: var(--rb-navy);
  font-weight: 800;
}

.rb-hero__panel {
  align-self: end;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--rb-radius);
  box-shadow: var(--rb-shadow);
  color: var(--rb-white);
  padding: 24px;
}

.rb-hero__panel h3,
.rb-hero__panel p {
  color: var(--rb-white);
}

.rb-hero__stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.rb-stat {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
}

.rb-stat strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.45rem;
}

.rb-stat span {
  color: rgba(255, 255, 255, 0.74);
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
}

.rb-benefit-strip {
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-benefit-strip__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.rb-benefit-strip__item {
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
}

.rb-benefit-strip__item strong {
  display: block;
  font-size: 1rem;
}

.rb-benefit-strip__item span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.9rem;
}

.rb-grid {
  display: grid;
  gap: 20px;
}

.rb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rb-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 24px;
}

.rb-card h3 {
  margin: 15px 0 10px;
}

.rb-card p {
  margin-bottom: 0;
}

.rb-fleet-catalog {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rb-vehicle-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  box-shadow: var(--rb-shadow);
  overflow: hidden;
}

.rb-vehicle-card__image {
  aspect-ratio: 16 / 9;
  background: var(--rb-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.rb-vehicle-card__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.rb-vehicle-card__image span {
  background: rgba(8, 17, 31, 0.76);
  border-radius: 999px;
  color: var(--rb-white);
  font-weight: 900;
  padding: 9px 15px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.rb-vehicle-card__body {
  padding: 28px;
}

.rb-vehicle-card__body h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  max-width: none;
}

.rb-vehicle-card__meta,
.rb-vehicle-price {
  border-top: 1px solid var(--rb-line);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 0;
  padding-top: 20px;
}

.rb-vehicle-card__meta div,
.rb-vehicle-price div {
  display: grid;
  gap: 4px;
}

.rb-vehicle-card__meta dt,
.rb-vehicle-price dt {
  color: var(--rb-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.rb-vehicle-card__meta dd,
.rb-vehicle-price dd {
  color: var(--rb-navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
}

.rb-vehicle-card__meta dd span,
.rb-vehicle-price dd span {
  color: var(--rb-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.rb-fleet-note {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  margin-top: 28px;
  padding: 28px;
}

.rb-fleet-note h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  max-width: none;
}

.rb-vehicle-detail {
  display: grid;
  gap: 34px;
}

.rb-vehicle-detail__media img {
  border-radius: var(--rb-radius);
  max-height: 560px;
  object-fit: cover;
  width: 100%;
}

.rb-vehicle-detail__summary {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 28px;
}

.rb-vehicle-detail__summary h2,
.rb-vehicle-detail section h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  max-width: 24ch;
}

.rb-spec-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.rb-spec-grid div {
  background: var(--rb-soft);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 16px;
}

.rb-spec-grid span {
  color: var(--rb-muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.rb-spec-grid strong {
  color: var(--rb-navy);
  display: block;
}

.rb-feature-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.rb-feature-list li {
  background: rgba(16, 42, 86, 0.06);
  border-radius: 8px;
  color: var(--rb-navy);
  font-weight: 800;
  padding: 10px 12px;
}

.rb-gallery-toggle {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 22px;
}

.rb-gallery-toggle summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 900;
}

.rb-vehicle-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.rb-vehicle-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: var(--rb-radius);
  object-fit: cover;
  width: 100%;
}

.rb-icon {
  align-items: center;
  background: rgba(16, 42, 86, 0.08);
  border-radius: 8px;
  color: var(--rb-orange);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.rb-icon svg {
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.rb-fleet {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
}

.rb-photo {
  border-radius: var(--rb-radius);
  box-shadow: var(--rb-shadow);
  overflow: hidden;
}

.rb-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.rb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}

.rb-tag {
  background: var(--rb-soft);
  border: 1px solid var(--rb-line);
  border-radius: 999px;
  color: var(--rb-navy);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 8px 12px;
}

.rb-check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.rb-check-list li {
  color: var(--rb-muted);
  padding-left: 30px;
  position: relative;
}

.rb-check-list li::before {
  align-items: center;
  background: rgba(22, 163, 74, 0.12);
  border-radius: 999px;
  color: var(--rb-green);
  content: "✓";
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 20px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 4px;
  width: 20px;
}

.rb-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.rb-service-map {
  display: block;
}

.rb-city {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--rb-white);
  font-weight: 800;
  padding: 10px 15px;
}

.rb-city:hover {
  background: var(--rb-white);
  border-color: var(--rb-white);
  color: var(--rb-navy);
}

.rb-local-content .rb-city,
.rb-page-content .rb-city {
  background: var(--rb-soft);
  border-color: var(--rb-line);
  color: var(--rb-navy);
}

.rb-local-content .rb-city:hover,
.rb-page-content .rb-city:hover {
  background: var(--rb-navy);
  border-color: var(--rb-navy);
  color: var(--rb-white);
}

.rb-city-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0 34px;
}

.rb-city-card {
  background: var(--rb-soft);
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  color: var(--rb-muted);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.rb-city-card strong {
  color: var(--rb-navy);
  font-size: 1.02rem;
}

.rb-city-card span {
  line-height: 1.55;
}

.rb-city-card:hover {
  border-color: rgba(17, 44, 87, 0.28);
  box-shadow: 0 14px 34px rgba(8, 17, 31, 0.08);
  transform: translateY(-1px);
}

.rb-steps {
  counter-reset: steps;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}

.rb-steps--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-step {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  min-height: 175px;
  padding: 20px;
  position: relative;
}

.rb-step::before {
  background: var(--rb-navy);
  border-radius: 8px;
  color: var(--rb-white);
  content: counter(steps);
  counter-increment: steps;
  display: grid;
  font-weight: 900;
  height: 34px;
  place-items: center;
  width: 34px;
}

.rb-step h3 {
  margin: 18px 0 8px;
}

.rb-faq {
  display: grid;
  gap: 12px;
}

.rb-faq details {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 18px 22px;
}

.rb-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.rb-faq p {
  margin: 12px 0 0;
}

.rb-contact {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
}

.rb-contact-card {
  background: var(--rb-navy);
  border-radius: var(--rb-radius);
  color: var(--rb-white);
  padding: 30px;
}

.rb-contact-card h3,
.rb-contact-card p,
.rb-contact-card a {
  color: var(--rb-white);
}

.rb-contact-card .rb-button,
.rb-contact-card .rb-button--ghost {
  background: var(--rb-white);
  border-color: var(--rb-white);
  color: var(--rb-navy);
}

.rb-contact-card .rb-button:hover,
.rb-contact-card .rb-button--ghost:hover {
  background: var(--rb-orange);
  border-color: var(--rb-orange);
  color: var(--rb-white);
}

.rb-contact-link {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.48rem;
  font-weight: 900;
  margin: 14px 0;
  overflow-wrap: anywhere;
}

.rb-form {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 26px;
}

.rb-honeypot {
  display: none !important;
  left: -9999px;
  position: absolute;
  visibility: hidden;
}

.rb-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rb-form label {
  color: var(--rb-navy);
  display: grid;
  font-size: 0.91rem;
  font-weight: 900;
  gap: 7px;
  margin-bottom: 16px;
}

.rb-form input,
.rb-form textarea {
  background: var(--rb-soft);
  border: 1px solid var(--rb-line);
  border-radius: 8px;
  color: var(--rb-navy);
  font: inherit;
  min-height: 48px;
  min-width: 0;
  padding: 12px 13px;
  width: 100%;
}

.rb-form textarea {
  resize: vertical;
}

.rb-form input:focus,
.rb-form textarea:focus {
  border-color: var(--rb-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
  outline: 0;
}

.rb-checkbox {
  align-items: flex-start;
  display: flex !important;
  gap: 10px !important;
}

.rb-checkbox input {
  flex: 0 0 auto;
  min-height: auto;
  width: auto;
}

.rb-checkbox span {
  color: var(--rb-muted);
  font-weight: 600;
}

.rb-checkbox a {
  color: var(--rb-navy);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rb-form__note {
  font-size: 0.84rem;
  margin: 14px 0 0;
}

.rb-alert {
  border-radius: var(--rb-radius);
  font-weight: 800;
  margin-bottom: 16px;
  padding: 14px 16px;
}

.rb-alert--success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.rb-alert--error {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.rb-footer {
  background: #08111f;
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 0 24px;
}

.rb-footer__grid {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(300px, 1.25fr) minmax(210px, 0.7fr) minmax(230px, 0.75fr);
  align-items: start;
}

.rb-footer h3,
.rb-footer strong,
.rb-footer a {
  color: var(--rb-white);
}

.rb-footer p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 52ch;
}

.rb-footer__brand-logo,
.rb-credit__logo {
  background: var(--rb-white);
  border-radius: 8px;
  display: inline-flex;
  padding: 9px 12px;
}

.rb-footer__brand-logo img {
  height: 42px;
  width: auto;
}

.rb-footer ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.rb-footer li a {
  color: rgba(255, 255, 255, 0.78);
}

.rb-footer li a:hover {
  color: var(--rb-white);
}

.rb-footer__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 22px;
}

.rb-footer__legal {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.rb-footer__legal a {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.rb-footer__legal a:hover {
  color: var(--rb-white);
}

.rb-credit {
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  display: inline-flex;
  gap: 10px;
}

.rb-credit:hover {
  color: var(--rb-white);
}

.rb-credit__logo {
  padding: 6px 8px;
}

.rb-credit__logo img {
  height: 24px;
  width: auto;
}

.rb-mobile-call {
  display: none;
}

.rb-page-hero {
  background: var(--rb-navy);
  color: var(--rb-white);
  padding: 82px 0;
}

.rb-page-hero h1,
.rb-page-hero p {
  color: var(--rb-white);
}

.rb-page-content {
  padding: 70px 0;
}

.rb-page-content .wp-block-post-content {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: clamp(24px, 5vw, 54px);
}

.rb-page-content .wp-block-post-content:has(.rb-local-content) {
  background: transparent;
  border: 0;
  padding: 0;
}

.rb-page-content .rb-local-content,
.rb-page-content > .rb-container > .rb-local-content {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: clamp(24px, 5vw, 54px);
}

.rb-local-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  margin: 34px 0 12px;
  max-width: 30ch;
}

.rb-local-content h3 {
  margin: 24px 0 10px;
}

.rb-local-content ul {
  color: var(--rb-muted);
  margin: 0 0 18px;
  padding-left: 22px;
}

.rb-local-content .rb-button {
  margin-top: 18px;
}

.rb-local-content .rb-process-faq {
  margin-top: 44px;
}

.rb-local-content .rb-process-faq .rb-section-head {
  margin-bottom: 24px;
}

.rb-local-content .rb-process-faq .rb-lead {
  margin: 0;
}

.rb-page-media {
  margin: 0 0 28px;
}

.rb-page-media img {
  border-radius: var(--rb-radius);
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

.rb-inline-cta,
.rb-contact-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rb-contact-page {
  background: var(--rb-soft);
}

.rb-contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.rb-contact-aside,
.rb-contact-main {
  display: grid;
  gap: 18px;
}

.rb-contact-method,
.rb-contact-checklist,
.rb-contact-service {
  background: var(--rb-white);
  border: 1px solid var(--rb-line);
  border-radius: var(--rb-radius);
  padding: 24px;
}

.rb-contact-method--primary {
  background: var(--rb-navy);
  color: var(--rb-white);
}

.rb-contact-method--primary h2,
.rb-contact-method--primary h3,
.rb-contact-method--primary p,
.rb-contact-method--primary a {
  color: var(--rb-white);
}

.rb-contact-method h2,
.rb-contact-checklist h2,
.rb-contact-service h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 18ch;
}

.rb-contact-main .rb-form {
  box-shadow: var(--rb-shadow);
}

@media (max-width: 980px) {
  .rb-section {
    padding: 70px 0;
  }

  .rb-section-head,
  .rb-hero__inner,
  .rb-fleet,
  .rb-service-map,
  .rb-contact,
  .rb-contact-layout,
  .rb-footer__grid {
    grid-template-columns: 1fr;
  }

  .rb-nav {
    background: var(--rb-white);
    border-bottom: 1px solid var(--rb-line);
    box-shadow: var(--rb-shadow);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 18px 20px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .rb-nav.is-open {
    display: flex;
  }

  .rb-menu-toggle {
    background: var(--rb-soft);
    border: 1px solid var(--rb-line);
    border-radius: 8px;
    color: var(--rb-navy);
    display: inline-flex;
    font-weight: 900;
    min-height: 44px;
    padding: 10px 12px;
  }

  .rb-actions .rb-button--ghost {
    display: none;
  }

  .rb-grid--3,
  .rb-grid--4,
  .rb-fleet-catalog,
  .rb-benefit-strip__grid,
  .rb-steps,
  .rb-steps--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-hero {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.9) 52%, rgba(248, 250, 252, 0.36) 100%),
      url("../images/rentbus-hero-1600.jpg") center bottom / cover no-repeat;
  }

  .rb-hero__inner {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  :root {
    --rb-container: min(100vw - 24px, 1180px);
  }

  body {
    padding-bottom: 104px;
  }

  body.admin-bar .rb-header {
    top: 46px;
  }

  h1 {
    font-size: 2rem;
    max-width: 17ch;
  }

  h2 {
    font-size: 2.05rem;
    max-width: 14ch;
  }

  .rb-topbar {
    display: none;
  }

  .rb-header__inner {
    gap: 12px;
    justify-content: flex-start;
    min-height: 66px;
  }

  .rb-logo__text span {
    display: none;
  }

  .rb-actions {
    display: none;
  }

  .rb-menu-toggle {
    margin-left: auto;
  }

  .rb-logo img {
    height: 34px;
    max-width: 120px;
  }

  .rb-hero {
    min-height: 0;
  }

  .rb-hero__inner {
    min-height: 0;
    padding: 30px 0 24px;
  }

  .rb-hero__panel {
    display: none;
  }

  .rb-hero__copy .rb-lead {
    font-size: 1rem;
    margin-top: 16px;
  }

  .rb-hero__actions {
    gap: 10px;
    margin: 22px 0 0;
  }

  .rb-hero__actions .rb-button {
    min-height: 44px;
    padding: 12px 14px;
    width: 100%;
  }

  .rb-hero__micro {
    display: none;
  }

  .rb-hero__stats,
  .rb-grid--3,
  .rb-grid--4,
  .rb-fleet-catalog,
  .rb-spec-grid,
  .rb-feature-list,
  .rb-vehicle-gallery,
  .rb-vehicle-card__meta,
  .rb-vehicle-price,
  .rb-benefit-strip__grid,
  .rb-steps,
  .rb-steps--4,
  .rb-city-grid,
  .rb-form__grid {
    grid-template-columns: 1fr;
  }

  .rb-benefit-strip__item {
    padding: 18px 0;
  }

  .rb-card,
  .rb-contact-card {
    padding: 20px;
  }

  .rb-contact-page {
    overflow-x: hidden;
  }

  .rb-contact-layout,
  .rb-contact-main,
  .rb-contact-main .rb-form {
    min-width: 0;
    width: 100%;
  }

  .rb-contact-main .rb-form {
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  }

  .rb-form {
    padding: 18px 14px;
  }

  .rb-form__grid {
    gap: 12px;
  }

  .rb-form label {
    font-size: 0.94rem;
    gap: 8px;
    margin-bottom: 14px;
  }

  .rb-form input,
  .rb-form textarea {
    font-size: 16px;
    line-height: 1.3;
    min-height: 50px;
    padding: 11px 12px;
  }

  .rb-form input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    max-width: 100%;
    min-width: 0;
  }

  .rb-form textarea {
    min-height: 152px;
  }

  .rb-form textarea::placeholder {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .rb-checkbox {
    align-items: flex-start;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .rb-checkbox input {
    height: 20px;
    margin-top: 4px;
    width: 20px;
  }

  .rb-checkbox span {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .rb-form .rb-button {
    margin-top: 0;
    min-height: 50px;
    width: 100%;
  }

  .rb-form__note {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .rb-contact-link {
    font-size: 1.26rem;
  }

  .rb-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .rb-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .rb-mobile-call {
    align-items: center;
    background: var(--rb-green);
    bottom: 12px;
    border-radius: 8px;
    box-shadow: 0 18px 30px rgba(22, 163, 74, 0.28);
    color: var(--rb-white);
    display: flex;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    left: 14px;
    min-height: 52px;
    position: fixed;
    right: 14px;
    z-index: 80;
  }
}

@media (max-width: 420px) {
  .rb-page-content {
    padding: 42px 0;
  }

  .rb-contact-method,
  .rb-contact-checklist,
  .rb-contact-service,
  .rb-form {
    padding: 16px 12px;
  }

  .rb-form label {
    font-size: 0.9rem;
  }

  .rb-mobile-call {
    left: 10px;
    right: 10px;
  }
}
