:root {
  --bg: #edf1f5;
  --bg-soft: #f7f9fc;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --surface-muted: #f1f4f8;
  --line: #d7e0e9;
  --line-strong: #c1ceda;
  --text: #162131;
  --muted: #556273;
  --navy: #36526f;
  --navy-deep: #11253b;
  --sage: #5f6e7d;
  --sage-deep: #324354;
  --accent: #d9792b;
  --accent-strong: #bc5f18;
  --accent-soft: #f5d2b6;
  --shadow: 0 20px 48px rgba(16, 34, 54, 0.09);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --container: 1220px;
  --display: "Space Grotesk", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  background: linear-gradient(180deg, #f8fafc 0%, #edf1f5 52%, #f6f8fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 37, 59, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 37, 59, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.24;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.rb-container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.rb-page {
  position: relative;
  z-index: 1;
}

.rb-topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rb-topbar__inner,
.rb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rb-topbar__inner {
  min-height: 48px;
}

.rb-topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  color: rgba(255, 255, 255, 0.8);
}

.rb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(193, 206, 218, 0.78);
}

.rb-header__inner {
  min-height: 86px;
}

.rb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rb-brand__mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(211, 138, 61, 0.95), rgba(197, 111, 44, 0.95)),
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  box-shadow: 0 14px 28px rgba(17, 37, 59, 0.14);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.rb-brand__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rb-brand__copy strong {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.rb-brand__copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rb-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rb-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.rb-nav__list a {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 12px 14px;
  border-radius: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.rb-nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.rb-nav__list a:hover,
.rb-nav__list a[aria-current="page"] {
  color: var(--navy-deep);
  background: transparent;
  transform: none;
}

.rb-nav__list a:hover::after,
.rb-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.rb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rb-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(221, 211, 196, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  font-weight: 800;
  cursor: pointer;
}

.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rb-btn:hover {
  transform: translateY(-2px);
}

.rb-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 26px rgba(188, 95, 24, 0.22);
}

.rb-btn--dark {
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  box-shadow: 0 18px 28px rgba(53, 69, 93, 0.22);
}

.rb-btn--ghost {
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(193, 206, 218, 0.96);
}

.rb-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(211, 138, 61, 0.24);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.9);
}

.rb-preview-bar strong {
  font-size: 15px;
}

.rb-preview-bar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.rb-page-hero {
  padding: 42px 0 26px;
}

.rb-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 26px;
}

.rb-home-hero .rb-container {
  position: relative;
}

.rb-home-hero__frame {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 700px;
  padding: 48px 42px 38px;
  border-radius: 18px;
  border: 1px solid rgba(193, 206, 218, 0.52);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.08), rgba(10, 18, 28, 0.44)),
    linear-gradient(90deg, rgba(9, 18, 31, 0.7) 0%, rgba(9, 18, 31, 0.34) 42%, rgba(9, 18, 31, 0.06) 76%),
    url("../img/home-hero-current.png") 50% 56% / cover no-repeat;
}

.rb-home-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(217, 121, 43, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.rb-home-hero__content,
.rb-home-hero__stats {
  position: relative;
  z-index: 1;
}

.rb-home-hero__content {
  max-width: 820px;
  padding: 0;
}

.rb-kicker--light {
  color: rgba(255, 238, 221, 0.92);
}

.rb-home-hero__content h1 {
  margin: 18px 0 18px;
  max-width: 12ch;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(46px, 6.4vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 28px rgba(10, 12, 16, 0.34);
}

.rb-home-hero__content p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: 18px;
  line-height: 1.75;
  text-shadow: 0 8px 26px rgba(10, 12, 16, 0.28);
}

.rb-home-hero__usp {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
}

.rb-home-hero__usp li {
  position: relative;
  padding: 0 0 0 28px;
  color: rgba(255, 250, 242, 0.92);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 8px 24px rgba(10, 12, 16, 0.28);
}

.rb-home-hero__usp li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.88em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.rb-btn--light {
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 22px rgba(10, 18, 28, 0.12);
  backdrop-filter: none;
}

.rb-home-hero__micro {
  margin-top: 18px;
  color: rgba(255, 250, 242, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 22px rgba(10, 12, 16, 0.26);
}

.rb-home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-top: 28px;
}

.rb-home-hero__stats article {
  padding: 20px 20px 18px;
  border-radius: 12px;
  background: rgba(9, 18, 31, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
}

.rb-home-hero__stats strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.rb-home-hero__stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

.rb-photo-hero {
  padding: 42px 0 26px;
}

.rb-photo-hero__frame {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding: 40px 40px 34px;
  border-radius: 16px;
  border: 1px solid rgba(193, 206, 218, 0.52);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.1), rgba(10, 18, 28, 0.52)),
    linear-gradient(100deg, rgba(8, 17, 30, 0.72) 0%, rgba(8, 17, 30, 0.42) 46%, rgba(8, 17, 30, 0.12) 80%),
    url("../img/home-hero-current.png") center 56% / cover no-repeat;
}

.rb-photo-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(217, 121, 43, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.rb-photo-hero__content,
.rb-photo-hero__chips {
  position: relative;
  z-index: 1;
}

.rb-photo-hero__content {
  max-width: 760px;
}

.rb-photo-hero__content h1 {
  margin: 18px 0 18px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 5.8vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 30px rgba(8, 10, 14, 0.34);
}

.rb-photo-hero__content p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 251, 244, 0.9);
  font-size: 17px;
  line-height: 1.72;
  text-shadow: 0 8px 24px rgba(8, 10, 14, 0.28);
}

.rb-photo-hero__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.rb-photo-hero__chips article {
  padding: 16px;
  border-radius: 12px;
  background: rgba(10, 18, 31, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
}

.rb-photo-hero__chips strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.rb-photo-hero__chips span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 251, 244, 0.84);
  font-size: 13px;
  line-height: 1.5;
}

.rb-card,
.rb-visual,
.rb-section,
.rb-sidebar-card,
.rb-reference-card,
.rb-article-card,
.rb-service-card,
.rb-kpi-card,
.rb-detail-box {
  border: 1px solid rgba(215, 224, 233, 0.96);
  box-shadow: var(--shadow);
}

.rb-card,
.rb-section,
.rb-sidebar-card,
.rb-reference-card,
.rb-article-card,
.rb-service-card,
.rb-kpi-card,
.rb-detail-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.rb-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 40px;
}

.rb-hero-copy::before {
  content: "";
  position: absolute;
  right: -110px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(217, 121, 43, 0.16), transparent 72%);
}

.rb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rb-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.rb-hero-copy h1,
.rb-section-head h2,
.rb-process-head h2,
.rb-article-body h1,
.rb-archive-head h1,
.rb-contact-head h1 {
  margin: 18px 0 18px;
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.rb-hero-copy h1,
.rb-contact-head h1 {
  font-size: clamp(44px, 7vw, 78px);
}

.rb-hero-copy p,
.rb-section-head p,
.rb-process-head p,
.rb-archive-head p,
.rb-contact-head p,
.rb-article-intro,
.rb-detail-box p,
.rb-sidebar-card p,
.rb-service-card p,
.rb-article-card p,
.rb-reference-card p {
  color: var(--muted);
  line-height: 1.75;
}

.rb-pill-list,
.rb-inline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.rb-pill-list li,
.rb-inline-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 224, 233, 0.9);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.rb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.rb-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.rb-kpi-card {
  padding: 16px 18px;
}

.rb-kpi-card strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.rb-kpi-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rb-panel-stack {
  display: grid;
  gap: 18px;
}

.rb-visual {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(17, 37, 59, 0.22), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(247, 249, 252, 0.5), rgba(247, 249, 252, 0)),
    linear-gradient(135deg, #7a91aa, #d2dbe4 58%, #edf1f5);
}

.rb-visual::before,
.rb-visual::after {
  content: "";
  position: absolute;
  border-radius: 28px;
}

.rb-visual::before {
  inset: 18px 16px auto auto;
  width: 42%;
  height: 36%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0));
}

.rb-visual::after {
  left: 10%;
  bottom: -8%;
  width: 74%;
  height: 56%;
  background:
    linear-gradient(180deg, rgba(17, 37, 59, 0.14), rgba(17, 37, 59, 0)),
    linear-gradient(180deg, #e6edf3 0%, #ffffff 100%);
  box-shadow: 0 -18px 40px rgba(17, 37, 59, 0.1);
}

.rb-visual__badge {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rb-visual__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(215, 224, 233, 0.82);
}

.rb-visual__caption strong {
  display: block;
  font-size: 18px;
}

.rb-visual__caption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.rb-section {
  margin: 26px 0 0;
  padding: 38px;
}

.rb-section-head,
.rb-process-head,
.rb-archive-head,
.rb-contact-head {
  max-width: 760px;
}

.rb-grid {
  display: grid;
  gap: 18px;
}

.rb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rb-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rb-service-card,
.rb-article-card,
.rb-reference-card,
.rb-detail-box,
.rb-sidebar-card {
  padding: 28px;
}

.rb-service-card__eyebrow,
.rb-article-card__eyebrow,
.rb-reference-card__eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rb-service-card h3,
.rb-article-card h3,
.rb-reference-card h3,
.rb-detail-box h3,
.rb-sidebar-card h3,
.rb-faq-item h3 {
  margin: 14px 0 10px;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.rb-link-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 800;
}

.rb-link-row::after {
  content: "→";
}

.rb-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.rb-process-grid .rb-visual {
  min-height: 420px;
}

.rb-step-list {
  display: grid;
  gap: 14px;
}

.rb-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 224, 233, 0.9);
}

.rb-step__num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.rb-step strong {
  display: block;
  font-size: 18px;
}

.rb-step span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
}

.rb-stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.rb-stats-band article {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 224, 233, 0.9);
}

.rb-stats-band strong {
  display: block;
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.05em;
}

.rb-stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rb-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.36fr);
  gap: 20px;
  margin-top: 26px;
}

.rb-article-body,
.rb-sidebar-card,
.rb-faq-item,
.rb-quote-box {
  background: var(--surface);
  border: 1px solid rgba(215, 224, 233, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.rb-article-body {
  padding: 40px;
}

.rb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.rb-breadcrumbs span:last-child {
  color: var(--navy-deep);
}

.rb-article-body h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.rb-article-body h2 {
  margin: 34px 0 14px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.rb-article-body p,
.rb-article-body li {
  color: var(--muted);
  line-height: 1.82;
}

.rb-article-body ul {
  margin: 16px 0;
  padding-left: 20px;
}

.rb-article-body .cta-header,
.rb-article-body .cta-strong,
.rb-article-body .cta-mini,
.rb-article-body .cta-box,
.rb-article-body .pro-tip,
.rb-article-body .warning-box,
.rb-article-body .solution-box,
.rb-article-body .mistake-box,
.rb-article-body .explanation-box,
.rb-article-body .sidebar-cta,
.rb-article-body .contact-options,
.rb-article-body .rb-legacy-banner {
  margin: 28px 0 !important;
  padding: 26px 26px 24px !important;
  border: 1px solid rgba(193, 206, 218, 0.94) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow) !important;
  color: var(--text) !important;
  text-align: center !important;
}

.rb-article-body .cta-header,
.rb-article-body .cta-strong,
.rb-article-body .cta-box,
.rb-article-body .sidebar-cta,
.rb-article-body .rb-legacy-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.rb-article-body .cta-mini,
.rb-article-body .pro-tip,
.rb-article-body .warning-box,
.rb-article-body .solution-box,
.rb-article-body .mistake-box,
.rb-article-body .explanation-box,
.rb-article-body .contact-options {
  background: rgba(255, 255, 255, 0.98) !important;
  text-align: left !important;
}

.rb-article-body .cta-mini {
  border-left: 4px solid var(--accent) !important;
}

.rb-article-body .pro-tip,
.rb-article-body .explanation-box,
.rb-article-body .solution-box {
  border-left: 4px solid var(--navy) !important;
}

.rb-article-body .warning-box,
.rb-article-body .mistake-box {
  border-left: 4px solid #c58a32 !important;
}

.rb-article-body .cta-header *,
.rb-article-body .cta-strong *,
.rb-article-body .cta-box *,
.rb-article-body .sidebar-cta *,
.rb-article-body .rb-legacy-banner * {
  color: inherit !important;
}

.rb-article-body .cta-mini *,
.rb-article-body .pro-tip *,
.rb-article-body .warning-box *,
.rb-article-body .solution-box *,
.rb-article-body .mistake-box *,
.rb-article-body .explanation-box *,
.rb-article-body .contact-options * {
  color: inherit !important;
}

.rb-article-body .cta-header > div,
.rb-article-body .cta-strong > div,
.rb-article-body .cta-mini > div,
.rb-article-body .cta-box > div,
.rb-article-body .sidebar-cta > div,
.rb-article-body .rb-legacy-banner > div {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.rb-article-body .cta-header a,
.rb-article-body .cta-strong a,
.rb-article-body .cta-mini a,
.rb-article-body .cta-box a,
.rb-article-body .sidebar-cta a,
.rb-article-body .rb-legacy-banner a,
.rb-legacy-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
}

.rb-article-body .cta-header a[href*="/kontakt/"],
.rb-article-body .cta-strong a[href*="/kontakt/"],
.rb-article-body .cta-mini a[href*="/kontakt/"],
.rb-article-body .cta-box a[href*="/kontakt/"],
.rb-article-body .sidebar-cta a[href*="/kontakt/"],
.rb-article-body .rb-legacy-banner a[href*="/kontakt/"],
.rb-legacy-button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong)) !important;
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(188, 95, 24, 0.22) !important;
}

.rb-article-body .cta-header a[href^="tel:"],
.rb-article-body .cta-strong a[href^="tel:"],
.rb-article-body .cta-mini a[href^="tel:"],
.rb-article-body .cta-box a[href^="tel:"],
.rb-article-body .sidebar-cta a[href^="tel:"],
.rb-article-body .rb-legacy-banner a[href^="tel:"],
.rb-legacy-button--dark {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

.rb-legacy-button--light {
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--navy-deep) !important;
  border: 1px solid rgba(193, 206, 218, 0.94) !important;
  box-shadow: none !important;
}

.rb-article-body .cta-box h2,
.rb-article-body .cta-box h3,
.rb-article-body .cta-strong h2,
.rb-article-body .cta-strong h3,
.rb-article-body .sidebar-cta h3,
.rb-article-body .rb-legacy-banner h2,
.rb-article-body .rb-legacy-banner h3 {
  margin-top: 0;
  color: inherit !important;
}

.rb-article-body .cta-box p,
.rb-article-body .cta-strong p,
.rb-article-body .sidebar-cta p,
.rb-article-body .rb-legacy-banner p {
  color: inherit !important;
}

.rb-legacy-banner {
  margin: 28px 0;
  padding: 28px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(17, 37, 59, 0.98), rgba(54, 82, 111, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  color: #fff;
  box-shadow: var(--shadow);
}

.rb-legacy-banner__inner {
  display: grid;
  gap: 18px;
}

.rb-legacy-banner h2,
.rb-legacy-banner h3,
.rb-legacy-banner h4 {
  margin: 0;
  color: #fff;
}

.rb-legacy-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.rb-legacy-section {
  margin: 24px 0;
}

.rb-legacy-section__inner {
  display: grid;
  gap: 18px;
}

.rb-legacy-divider {
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(54, 82, 111, 0.28), transparent);
}

.rb-legacy-share,
.rb-legacy-countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(193, 206, 218, 0.94);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.rb-legacy-share span,
.rb-legacy-countdown strong {
  color: var(--navy-deep);
  font-weight: 900;
}

.rb-legacy-share a {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(17, 37, 59, 0.06);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.rb-legacy-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.rb-legacy-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(215, 224, 233, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.rb-legacy-gallery__item img,
.rb-legacy-image {
  width: 100%;
  height: auto;
}

.rb-legacy-slider,
.rb-legacy-sidebar {
  margin: 24px 0;
}

.rb-legacy-text-box,
.rb-legacy-text,
.rb-legacy-html {
  margin: 18px 0;
}

.rb-legacy-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.rb-legacy-col {
  min-width: 0;
}

.rb-legacy-gap {
  height: 18px;
}

.rb-legacy-title {
  margin: 28px 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.rb-legacy-faq {
  margin-top: 20px;
}

.rb-legacy-faq-item {
  margin: 0;
}

.rb-legacy-faq__body p:first-child {
  margin-top: 0;
}

.rb-note-box,
.rb-quote-box {
  margin: 26px 0;
  padding: 22px;
}

.rb-note-box {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(54, 82, 111, 0.08), rgba(217, 121, 43, 0.06));
  border: 1px solid rgba(54, 82, 111, 0.16);
}

.rb-quote-box {
  background: linear-gradient(135deg, rgba(217, 121, 43, 0.08), rgba(255, 255, 255, 0.96));
}

.rb-quote-box strong {
  display: block;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.rb-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.rb-faq-item {
  padding: 22px;
}

.rb-sidebar-stack {
  display: grid;
  gap: 16px;
}

.rb-sidebar-card {
  padding: 22px;
}

.rb-sidebar-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.78;
}

.rb-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rb-category-strip a {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(215, 224, 233, 0.9);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.rb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  margin-top: 24px;
}

.rb-contact-card,
.rb-form-card {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(215, 224, 233, 0.96);
  box-shadow: var(--shadow);
}

.rb-contact-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.rb-contact-card li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(215, 224, 233, 0.9);
}

.rb-contact-card li a {
  color: var(--navy-deep);
  font-weight: 800;
}

.rb-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.rb-form-card .wpcf7 form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.rb-form-card .wpcf7 p {
  margin: 0;
}

.rb-form-card .wpcf7 label {
  display: grid;
  gap: 8px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.rb-form-card .wpcf7 input[type="text"],
.rb-form-card .wpcf7 input[type="email"],
.rb-form-card .wpcf7 input[type="tel"],
.rb-form-card .wpcf7 input[type="url"],
.rb-form-card .wpcf7 input[type="number"],
.rb-form-card .wpcf7 textarea,
.rb-form-card .wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
}

.rb-form-card .wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.rb-form-card .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(188, 95, 24, 0.22);
  cursor: pointer;
}

.rb-form-card .wpcf7 .wpcf7-response-output {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
}

.rb-form-card .wpcf7-not-valid-tip {
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.rb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rb-field {
  display: grid;
  gap: 8px;
}

.rb-field label {
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rb-field input,
.rb-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.rb-field textarea {
  min-height: 150px;
  resize: vertical;
}

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

.rb-form-actions {
  margin-top: 18px;
}

.rb-map {
  min-height: 240px;
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(54, 82, 111, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #e6edf3, #d8e3ee);
  border: 1px solid rgba(215, 224, 233, 0.92);
}

.rb-map::before {
  content: "Bratislava a okolie • servisne uzemie";
  display: inline-flex;
  margin: 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.rb-footer {
  margin: 30px 0 22px;
}

.rb-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1fr);
  gap: 18px;
  padding: 30px;
  border-radius: 16px;
  background: #10253c;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.rb-footer h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.rb-footer p,
.rb-footer li,
.rb-footer a {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.rb-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rb-footer__credit {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.rb-footer__credit a {
  color: #fff;
  font-weight: 800;
}

.rb-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.rb-preview-card {
  padding: 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(215, 224, 233, 0.96);
  box-shadow: var(--shadow);
}

.rb-preview-card strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.rb-preview-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.rb-preview-card .rb-link-row {
  margin-top: 18px;
}

.rb-page-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(217, 121, 43, 0.12);
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.rb-split-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 18px;
}

.rb-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.rb-table-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(221, 211, 196, 0.84);
}

.rb-table-grid strong {
  display: block;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rb-table-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.64;
}

@media (max-width: 1080px) {
  .rb-page-hero__grid,
  .rb-process-grid,
  .rb-article-shell,
  .rb-contact-grid,
  .rb-split-rail {
    grid-template-columns: 1fr;
  }

  .rb-legacy-row {
    grid-template-columns: 1fr;
  }

  .rb-home-hero__frame {
    min-height: 680px;
    padding: 38px 30px 30px;
    background:
      linear-gradient(180deg, rgba(17, 24, 31, 0.08), rgba(17, 24, 31, 0.42)),
      linear-gradient(180deg, rgba(13, 20, 29, 0.48) 0%, rgba(13, 20, 29, 0.24) 56%, rgba(13, 20, 29, 0.08) 100%),
      url("../img/home-hero-current.png") 52% 56% / cover no-repeat;
  }

  .rb-home-hero__content {
    max-width: 700px;
  }

  .rb-home-hero__stats {
    grid-template-columns: 1fr;
  }

  .rb-photo-hero__frame {
    min-height: 580px;
    padding: 30px 24px 24px;
    background:
      linear-gradient(180deg, rgba(16, 22, 30, 0.1), rgba(16, 22, 30, 0.5)),
      linear-gradient(180deg, rgba(11, 16, 23, 0.56) 0%, rgba(11, 16, 23, 0.3) 58%, rgba(11, 16, 23, 0.14) 100%),
      url("../img/home-hero-current.png") 54% 54% / cover no-repeat;
  }

  .rb-photo-hero__chips {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .rb-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rb-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .rb-topbar__inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rb-header__inner {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .rb-brand {
    flex: 1 1 calc(100% - 72px);
    gap: 12px;
  }

  .rb-nav {
    position: relative;
    margin-left: auto;
  }

  .rb-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .rb-nav__list {
    display: none;
  }

  .rb-menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .rb-nav.is-open .rb-nav__list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(300px, calc(100vw - 32px));
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(215, 224, 233, 0.96);
    box-shadow: var(--shadow);
  }

  .rb-nav.is-open .rb-nav__list a {
    justify-content: space-between;
    padding: 12px 0;
  }

  .rb-nav.is-open .rb-nav__list a::after {
    display: none;
  }

  .rb-hero-meta,
  .rb-grid--3,
  .rb-grid--2,
  .rb-form-grid,
  .rb-stats-band {
    grid-template-columns: 1fr;
  }

  .rb-home-hero__frame {
    min-height: 620px;
    padding: 22px;
    background:
      linear-gradient(180deg, rgba(13, 20, 29, 0.18), rgba(13, 20, 29, 0.58)),
      linear-gradient(180deg, rgba(13, 20, 29, 0.56) 0%, rgba(13, 20, 29, 0.3) 42%, rgba(13, 20, 29, 0.18) 100%),
      url("../img/home-hero-current.png") 62% 50% / cover no-repeat;
  }

  .rb-home-hero__content {
    max-width: 100%;
  }

  .rb-home-hero__content h1 {
    max-width: none;
    font-size: clamp(38px, 10vw, 60px);
  }

  .rb-home-hero__usp li {
    padding-left: 24px;
    font-size: 15px;
  }

  .rb-photo-hero {
    padding-top: 30px;
  }

  .rb-photo-hero__frame {
    min-height: 540px;
    padding: 22px 18px 20px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(16, 22, 30, 0.12), rgba(16, 22, 30, 0.56)),
      linear-gradient(180deg, rgba(11, 16, 23, 0.64) 0%, rgba(11, 16, 23, 0.34) 46%, rgba(11, 16, 23, 0.22) 100%),
      url("../img/home-hero-current.png") 60% 50% / cover no-repeat;
  }

  .rb-photo-hero__content h1 {
    font-size: clamp(36px, 9.8vw, 56px);
  }

  .rb-photo-hero__content p {
    font-size: 14px;
  }

  .rb-photo-hero__chips article {
    padding: 14px;
    border-radius: 16px;
  }
}

@media (max-width: 640px) {
  .rb-topbar {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .rb-section,
  .rb-hero-copy,
  .rb-article-body,
  .rb-contact-card,
  .rb-form-card,
  .rb-footer__inner {
    padding: 22px;
  }

  .rb-brand__copy strong {
    font-size: 16px;
  }

  .rb-brand__copy span {
    font-size: 9px;
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .rb-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .rb-preview-grid,
  .rb-footer__inner {
    grid-template-columns: 1fr;
  }

  .rb-preview-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .rb-page-hero {
    padding-top: 26px;
  }

  .rb-home-hero__frame {
    min-height: 560px;
    padding: 16px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(13, 20, 29, 0.18), rgba(13, 20, 29, 0.68)),
      linear-gradient(180deg, rgba(13, 20, 29, 0.56) 0%, rgba(13, 20, 29, 0.42) 48%, rgba(13, 20, 29, 0.28) 100%),
      url("../img/home-hero-current.png") 64% 50% / cover no-repeat;
  }

  .rb-home-hero__content h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .rb-home-hero__content p,
  .rb-home-hero__usp li {
    font-size: 13px;
  }

  .rb-home-hero__micro {
    font-size: 11px;
    line-height: 1.5;
  }

  .rb-home-hero__stats article {
    padding: 16px;
    border-radius: 14px;
  }

  .rb-photo-hero {
    padding-top: 22px;
  }

  .rb-photo-hero__frame {
    min-height: 500px;
    padding: 16px 14px 16px;
    border-radius: 18px;
  }

  .rb-photo-hero__content h1 {
    font-size: clamp(32px, 10.4vw, 44px);
  }

  .rb-photo-hero__chips strong {
    font-size: 21px;
  }

  .rb-photo-hero__chips span {
    font-size: 12px;
  }

  .rb-legacy-gallery {
    grid-template-columns: 1fr;
  }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  background: #fff;
  color: var(--navy-deep);
  z-index: 9999;
}

.alignleft {
  float: left;
  margin: 0 24px 18px 0;
}

.alignright {
  float: right;
  margin: 0 0 18px 24px;
}

.aligncenter {
  display: block;
  margin: 0 auto 24px;
}

.wp-caption,
.wp-block-image,
.wp-block-gallery {
  max-width: 100%;
  margin: 0 0 24px;
}

.wp-caption-text,
.gallery-caption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
