/* VibeForce rebuild v2: boutique Salesforce consultancy */

:root {
  --rebuild-ink: #e8eaf0;
  --rebuild-muted: #9aa0b0;
  --rebuild-line: rgba(255, 255, 255, 0.12);
  --rebuild-panel: #12151d;
  --rebuild-panel-2: #171b25;
}

.home-page--rebuild main .container {
  text-align: left;
}

.nav__links {
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .nav__link--desktop {
    display: none;
  }
}

.rb-hero {
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(2.75rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.rb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(1, 118, 211, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 12% 80%, rgba(249, 115, 22, 0.1), transparent 65%);
  pointer-events: none;
}

.rb-hero > .container {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.rb-hero__eyebrow {
  margin-bottom: 1rem;
}

.rb-hero__title {
  font-size: clamp(2.15rem, 5.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1.15rem;
  text-wrap: balance;
  color: #fff;
}

.rb-hero__accent {
  color: var(--cta);
}

.rb-hero__sub {
  color: var(--rebuild-muted);
  font-size: clamp(1.02rem, 2vw, 1.145rem);
  line-height: 1.7;
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.rb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: rgba(27, 150, 255, 0.5);
  background: rgba(27, 150, 255, 0.08);
}

.rb-section {
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}

.rb-section--anchor {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(1, 118, 211, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent);
  border-top: 1px solid var(--rebuild-line);
  border-bottom: 1px solid var(--rebuild-line);
}

.rb-section__label {
  margin-bottom: 0.75rem;
}

.rb-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
  max-width: 22ch;
}

.rb-section__lead {
  color: var(--rebuild-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 40rem;
  margin: 0 0 1.75rem;
}

.rb-problem {
  max-width: 42rem;
}

.rb-problem p {
  color: var(--rebuild-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.rb-problem__cost {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.08);
  border-radius: 0.85rem;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* How we work journey */
.rb-journey {
  display: grid;
  gap: 1rem;
  counter-reset: stage;
}

@media (min-width: 900px) {
  .rb-journey {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rb-stage-card {
  counter-increment: stage;
  padding: 1.5rem 1.35rem 1.45rem;
  background: var(--rebuild-panel);
  border: 1px solid var(--rebuild-line);
  border-radius: 1rem;
  border-top: 3px solid var(--cta);
  min-height: 100%;
}

.rb-stage-card__n {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta);
  margin: 0 0 0.45rem;
}

.rb-stage-card__n::before {
  content: "Stage " counter(stage) " · ";
}

.rb-stage-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.rb-stage-card p {
  margin: 0;
  color: var(--rebuild-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rb-stage-card__get {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rebuild-line);
  color: var(--text);
  font-size: 0.935rem;
  line-height: 1.55;
}

.rb-stage-card__get strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sf-blue-bright);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

/* Diff comparison */
.rb-diff {
  display: grid;
  gap: 0.85rem;
}

.rb-diff__row {
  display: grid;
  gap: 0.65rem;
  padding: 1.15rem 1.2rem;
  background: var(--rebuild-panel);
  border: 1px solid var(--rebuild-line);
  border-radius: 0.85rem;
}

@media (min-width: 800px) {
  .rb-diff__row {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.rb-diff__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
}

.rb-diff__typical {
  margin: 0;
  color: var(--rebuild-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rb-diff__us {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Cards */
.rb-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .rb-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .rb-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rb-card {
  padding: 1.35rem 1.25rem;
  background: var(--rebuild-panel);
  border: 1px solid var(--rebuild-line);
  border-radius: 0.9rem;
}

.rb-card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
}

.rb-card p,
.rb-card li {
  margin: 0;
  color: var(--rebuild-muted);
  font-size: 0.935rem;
  line-height: 1.6;
}

.rb-card ul {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.rb-case {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(27, 150, 255, 0.06), var(--rebuild-panel) 40%);
  border: 1px solid var(--rebuild-line);
  border-radius: 1rem;
  min-height: 100%;
}

.rb-case__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 3.25rem;
  margin-bottom: 0.15rem;
}

.rb-case__logo img {
  max-height: 3rem;
  max-width: 9.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rb-case__status {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sf-blue-bright);
  border: 1px solid rgba(27, 150, 255, 0.35);
  background: rgba(27, 150, 255, 0.1);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.rb-case__status--progress {
  color: var(--cta);
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.1);
}

.rb-case__client {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.rb-case__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.rb-case__block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rebuild-muted);
  margin: 0 0 0.35rem;
}

.rb-case__block p,
.rb-case__block li {
  color: var(--rebuild-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

.rb-case__block ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.rb-engage {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .rb-engage {
    grid-template-columns: 1fr 1fr 1.15fr;
  }
}

.rb-engage__card {
  padding: 1.4rem 1.25rem;
  background: var(--rebuild-panel);
  border: 1px solid var(--rebuild-line);
  border-radius: 1rem;
}

.rb-engage__card--featured {
  border-color: rgba(249, 115, 22, 0.45);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.12), var(--rebuild-panel) 45%);
}

.rb-engage__card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.rb-engage__card p {
  margin: 0;
  color: var(--rebuild-muted);
  font-size: 0.935rem;
  line-height: 1.6;
}

.rb-engage__pref {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta);
}

.rb-ceo {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .rb-ceo {
    grid-template-columns: 11rem 1fr;
    gap: 2rem;
  }
}

.rb-ceo__photo {
  width: 11rem;
  height: 11rem;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid var(--rebuild-line);
  background: var(--rebuild-panel);
}

.rb-ceo__name {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

.rb-ceo__role {
  color: var(--cta);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.85rem;
}

.rb-ceo p {
  color: var(--rebuild-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 0.75rem;
  max-width: 40rem;
}

.rb-ceo a {
  color: var(--sf-blue-bright);
  font-weight: 600;
}

.rb-faq {
  display: grid;
  gap: 0.75rem;
}

.rb-faq details {
  border: 1px solid var(--rebuild-line);
  border-radius: 0.75rem;
  background: var(--rebuild-panel);
  padding: 0.95rem 1.1rem;
}

.rb-faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.rb-faq summary::-webkit-details-marker {
  display: none;
}

.rb-faq details[open] summary {
  margin-bottom: 0.55rem;
}

.rb-faq p {
  margin: 0;
  color: var(--rebuild-muted);
  font-size: 0.935rem;
  line-height: 1.6;
}

.rb-final {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, transparent, rgba(1, 118, 211, 0.08));
  border-top: 1px solid var(--rebuild-line);
}

.rb-final h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin: 0 auto 0.9rem;
  letter-spacing: -0.03em;
}

.rb-final p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: var(--rebuild-muted);
  line-height: 1.65;
}

.rb-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.rb-callout {
  max-width: 40rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(27, 150, 255, 0.3);
  background: rgba(27, 150, 255, 0.08);
  border-radius: 0.85rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.rb-page-hero {
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 2.5rem;
}

.rb-page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 0 1rem;
}

.rb-page-hero p {
  color: var(--rebuild-muted);
  max-width: 40rem;
  line-height: 1.65;
  margin: 0;
}

.footer__brand {
  align-items: flex-start;
}

.footer__tagline {
  color: var(--rebuild-muted);
  font-size: 0.8125rem;
  margin: 0.35rem 0 0;
  max-width: 22rem;
  line-height: 1.4;
}

.rb-form {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin-top: 1.25rem;
}

.rb-field {
  display: grid;
  gap: 0.4rem;
}

.rb-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #c4c8d4;
}

.rb-field input,
.rb-field textarea {
  width: 100%;
  background: var(--surface-input);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  border-radius: var(--radius-sm);
  font: inherit;
  padding: 0.8rem 1rem;
}

.rb-field input:focus,
.rb-field textarea:focus {
  outline: none;
  border-color: rgba(1, 118, 211, 0.55);
  box-shadow: 0 0 0 3px rgba(1, 118, 211, 0.18);
}
