/**
 * JSW NeoSteel Fastbuild–inspired landing (reference: jswneosteel.in/Fastbuild/)
 * Industrial hero, stacked trust lines, enquiry card, benefits, shapes grid.
 */

:root {
  --fb-red: #c8102e;
  --fb-red-dark: #a30d25;
  --fb-navy: #0b1f3a;
  --fb-charcoal: #1a1a1a;
  --fb-muted: #5a6570;
  --fb-cream: #f5f6f8;
  --fb-white: #ffffff;
  --fb-radius: 12px;
}

.fb-page {
  font-family: var(--font-body);
  color: var(--fb-charcoal);
  background: var(--fb-white);
}

/* —— Top header (white bar, logo + horizontal nav) —— */
.fb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fb-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fb-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: 72px;
}

.fb-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  max-width: min(100%, 22rem);
  text-decoration: none;
  color: var(--fb-navy);
}

.fb-header__brand:hover {
  color: var(--fb-navy);
}

.fb-header__brand-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  border: 1px solid rgba(11, 31, 58, 0.12);
}

.fb-header__brand-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 0.14rem;
  line-height: 1.1;
  text-align: left;
}

.fb-header__brand-name {
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.12rem, 2.2vw, 1.48rem);
  letter-spacing: 0.03em;
  line-height: 1.06;
  text-transform: uppercase;
}

.fb-header__brand-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.58);
}

.fb-header__tray {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.fb-header__tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.fb-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--fb-charcoal);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.fb-header__icon-btn:hover {
  background: rgba(11, 31, 58, 0.06);
  color: var(--fb-red);
}

.fb-header__icon {
  display: block;
  flex-shrink: 0;
}

.fb-header__badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--fb-red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05rem;
  text-align: center;
  pointer-events: none;
}

.fb-header__quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  background: var(--fb-red);
  color: #fff !important;
  border: none;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    filter 0.15s ease;
}
.fb-header__quote-cta:hover {
  background: var(--fb-red-dark);
  color: #fff !important;
}

.fb-header__toggle {
  display: none;
  border: none;
  background: var(--fb-navy);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.fb-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.fb-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fb-charcoal);
  text-decoration: none;
}

.fb-nav a:hover {
  color: var(--fb-red);
}

/* Consistent keyboard focus across Fastbuild pages */
:where(.fb-page a, .fb-page button, .fb-page input, .fb-page select, .fb-page textarea, .fb-page summary, .fb-page [role="button"], .fb-page [tabindex]):focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.55);
  outline-offset: 3px;
}

:where(.fb-header__icon-btn, .fb-header__toggle, .fb-header__quote-cta, .fb-btn):focus-visible {
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .fb-header__tray {
    margin-left: auto;
  }
  .fb-header__toggle {
    display: inline-flex;
  }
  .fb-nav {
    order: 5;
    display: none;
    flex: 1 0 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0;
  }
  .fb-nav.fb-nav--open {
    display: flex;
  }
}

/* —— Hero —— */
.fb-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: stretch;
  background: var(--fb-navy);
  color: #fff;
}

.fb-hero__bg {
  position: absolute;
  inset: 0;
}

.fb-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 31, 58, 0.92) 0%,
    rgba(11, 31, 58, 0.75) 45%,
    rgba(26, 26, 26, 0.55) 100%
  );
}

.fb-hero__grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fb-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 3.5rem 1.25rem 4rem;
  }
}

.fb-hero__product {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.fb-hero__title {
  margin: 0;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.fb-hero__subtitle {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.fb-hero__stack {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.fb-hero__stack li {
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.fb-hero__stack li + li {
  margin-top: 0.15rem;
}

.fb-hero__stack li em {
  font-style: normal;
  color: var(--fb-red);
}

/* Home — Cement · UltraTech UBS strip (allied catalogue) */
.fb-utbs-strip {
  background: linear-gradient(90deg, #fff4d6 0%, #ffe9a8 50%, #fff0cc 100%);
  border-top: 1px solid rgba(180, 140, 40, 0.25);
  border-bottom: 1px solid rgba(180, 140, 40, 0.2);
  padding: 1.35rem 1.25rem;
}

.fb-utbs-strip__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.fb-utbs-strip__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b4810;
}

.fb-utbs-strip__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3a2f1f;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.fb-utbs-strip .fb-btn {
  margin-top: 0.25rem;
}

/* Enquiry card */
.fb-enquiry {
  scroll-margin-top: 5.5rem;
  background: var(--fb-white);
  color: var(--fb-charcoal);
  border-radius: var(--fb-radius);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/*
 * Fixed vertical “Enquire now” tab (JSW Fastbuild–style): shown when the in-hero
 * enquiry card is not visible, so users can jump back to the form.
 */
.fb-enquire-flytab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9.5rem;
  padding: 0.65rem 0.45rem;
  border: none;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #1a4a9a 0%, #143d7a 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: -4px 4px 20px rgba(11, 31, 58, 0.25);
  cursor: pointer;
  transform: translate3d(100%, -50%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    visibility 0.28s;
}

.fb-enquire-flytab.is-visible {
  transform: translate3d(0, -50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fb-enquire-flytab:hover,
.fb-enquire-flytab:focus-visible {
  background: linear-gradient(180deg, #1e52a8 0%, #173f82 100%);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.fb-enquire-flytab__text {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .fb-enquire-flytab {
    transition: none;
  }
}

@media print {
  .fb-enquire-flytab {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .fb-enquiry {
    margin-right: 0;
    margin-left: auto;
  }
}

.fb-enquiry h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fb-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fb-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fb-muted);
}

.fb-form input,
.fb-form select,
.fb-form textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}

.fb-form input:focus,
.fb-form select:focus,
.fb-form textarea:focus {
  outline: 2px solid rgba(200, 16, 46, 0.25);
  border-color: var(--fb-red);
}

.fb-form button[type="submit"] {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  background: linear-gradient(180deg, #e02040 0%, var(--fb-red) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.fb-form button[type="submit"]:hover {
  filter: brightness(1.05);
}

/* —— Intro / body sections —— */
.fb-section {
  padding: 3rem 1.25rem;
}

.fb-section--cream {
  background: var(--fb-cream);
}

.fb-section__inner {
  max-width: 920px;
  margin: 0 auto;
}

.fb-section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fb-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fb-section .richtext {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
}

/* Home — in-page #services / #solutions (navbar anchors; offset for sticky header) */
#main-content #services,
#main-content #solutions {
  scroll-margin-top: 5.5rem;
}

.fb-home-anchor-title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fb-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fb-home-anchor-lede {
  margin: 0 auto 1.75rem;
  max-width: 44rem;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--fb-muted);
}

.fb-home-services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .fb-home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .fb-home-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fb-home-svc-card {
  padding: 1.2rem 1.1rem;
  border-radius: var(--fb-radius);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  box-shadow: 0 2px 12px rgba(11, 31, 58, 0.06);
}

.fb-home-svc-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: var(--fb-cream);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--fb-navy);
  margin-bottom: 0.65rem;
}

.fb-home-svc-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-home-svc-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

.fb-home-solutions-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .fb-home-solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fb-home-sol-card {
  padding: 1.25rem 1.15rem;
  border-radius: var(--fb-radius);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: linear-gradient(180deg, #fff 0%, var(--fb-cream) 100%);
}

.fb-home-sol-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fb-red);
}

.fb-home-sol-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.55;
}

.fb-home-anchor-foot {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Home page — embedded /services/ and /solutions/ previews (same markup as inner pages) */
.home-embed {
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.home-embed__head {
  background: var(--fb-cream);
  padding: 1.25rem 1.25rem 1rem;
}

.home-embed__head-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.home-embed__title {
  margin: 0;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fb-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-embed__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fb-red);
  text-decoration: none;
  white-space: nowrap;
}

.home-embed__link:hover {
  text-decoration: underline;
}

.fb-split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .fb-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* Benefits */
.fb-benefits-title {
  text-align: center;
  margin: 0 0 2rem;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fb-navy);
}

.fb-benefits-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .fb-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .fb-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fb-benefit-card {
  background: var(--fb-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 3px solid var(--fb-red);
  border-radius: 10px;
  padding: 1.25rem 1.15rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.fb-benefit-card__num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--fb-red);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.fb-benefit-card p {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fb-charcoal);
}

.fb-benefit-card .sub {
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--fb-muted);
}

/* Shapes */
.fb-shapes-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.fb-shapes-head h2 {
  margin: 0 0 0.75rem;
}

.fb-shapes-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem 0.65rem;
  align-items: start;
}

/* Image cells are borderless; text placeholders keep the dashed tile. */
.fb-shape-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.35rem;
  min-height: 4.25rem;
  text-align: center;
  border: 1px dashed #cfd6e0;
  background: transparent;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fb-muted);
  box-shadow: none;
}

.fb-shape-cell--media,
.fb-shape-cell:has(.fb-shape-cell__img) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0;
  padding: 0.15rem 0;
  min-height: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  aspect-ratio: auto;
  box-shadow: none;
}

.fb-shape-cell__img {
  display: block;
  max-width: 100%;
  max-height: 6.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.fb-shape-cell__cap {
  display: block;
  line-height: 1.25;
  font-size: 0.65rem;
  font-weight: 700;
  max-width: 100%;
}

/* Stats strip */
.fb-stats {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-align: center;
}

.fb-stat {
  padding: 1rem;
  background: var(--fb-white);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.fb-stat__val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fb-red);
}

.fb-stat__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fb-muted);
  margin-top: 0.25rem;
}

/* CTA strip */
.fb-cta-strip {
  background: linear-gradient(90deg, var(--fb-navy) 0%, #132a4a 100%);
  color: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
}

.fb-cta-strip h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.fb-cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.fb-btn--red {
  background: var(--fb-red);
  color: #fff;
}

.fb-btn--red:hover {
  background: var(--fb-red-dark);
  color: #fff;
}

.fb-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.fb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Footer */
.fb-footer {
  background: #0d1117;
  color: rgba(255, 255, 255, 0.72);
  padding: 2.25rem 1.25rem;
  font-size: 0.88rem;
}

.fb-footer__brand-row {
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
}

.fb-footer__brand:hover {
  color: #fff;
}

.fb-footer__brand-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #0a0a0a;
}

.fb-footer__brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.18rem;
  line-height: 1.1;
  text-align: left;
}

.fb-footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.52rem);
  letter-spacing: 0.03em;
  line-height: 1.06;
  text-transform: uppercase;
}

.fb-footer__brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.fb-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
@media (min-width: 720px) {
  .fb-footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

.fb-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.fb-footer a:hover {
  color: var(--fb-red);
}

.fb-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fb-red);
  color: #fff;
  font-weight: 800;
  margin-left: 0.35rem;
}

/* Octavertex Media — compact credit, inherits footer background */
.fb-footer__credit {
  margin-top: 0.65rem;
  padding: 0.25rem 0 0;
  text-align: center;
}

.fb-footer__credit-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s ease;
}

.fb-footer__credit-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.fb-footer__credit-text {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fb-footer__credit-logo {
  display: block;
  max-width: 96px;
  width: 100%;
  height: auto;
  opacity: 0.88;
}

.fb-footer__credit-link:hover .fb-footer__credit-logo {
  opacity: 1;
}

/* Full-height careers (and similar) layouts: footer sticks to bottom */
.fb-page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.fb-page-shell > main,
.fb-page-shell > .fb-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Careers pages (shared) */
.fb-careers-hero {
  background: linear-gradient(135deg, var(--fb-navy) 0%, #1a3352 100%);
  color: #fff;
  padding: 2.5rem 1.25rem;
}

.fb-careers-hero--index {
  padding: 3rem 1.25rem 3.25rem;
}

.fb-careers-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.9);
}

.fb-careers-hero h1 {
  margin: 0;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
}

.fb-careers-hero--index h1 {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  line-height: 1.15;
  max-width: 18ch;
}

.fb-careers-hero__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
}

.fb-careers-value-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.25rem 0;
}
@media (min-width: 720px) {
  .fb-careers-value-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.fb-careers-value-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--fb-radius);
  padding: 1.15rem 1.1rem;
}

.fb-careers-value-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.fb-careers-value-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.fb-careers-section {
  padding: 2.5rem 1.25rem;
}

.fb-careers-section--cream {
  background: var(--fb-cream);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.fb-careers-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.fb-careers-section h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-careers-section .fb-sub {
  margin: 0 0 1.5rem;
  color: var(--fb-muted);
  font-size: 0.95rem;
  max-width: 42rem;
  line-height: 1.5;
}

.fb-careers-pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .fb-careers-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fb-careers-pill {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: var(--fb-radius);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.05);
}

.fb-careers-pill h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-careers-pill p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fb-muted);
}

.fb-careers-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  counter-reset: step;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .fb-careers-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.fb-careers-step {
  position: relative;
  padding-top: 0.25rem;
  text-align: left;
}

.fb-careers-step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--fb-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.fb-careers-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-careers-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--fb-muted);
}

.fb-careers-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.fb-careers-list__head {
  margin-bottom: 1rem;
}

.fb-careers-list__head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-careers-list__head p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fb-muted);
}

.fb-careers-empty {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--fb-cream);
  border-radius: var(--fb-radius);
  border: 1px dashed #cfd6e0;
}

.fb-careers-empty p {
  margin: 0 0 1rem;
  color: var(--fb-muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.fb-careers-empty a {
  font-weight: 700;
  color: var(--fb-red);
}

.fb-careers-detail__role-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display), "DM Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-job-row {
  display: block;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e8ecf0;
  text-decoration: none;
  color: inherit;
}

.fb-job-row:hover {
  background: #fafbfc;
}

.fb-job-row h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fb-navy);
}

.fb-job-meta {
  font-size: 0.85rem;
  color: var(--fb-muted);
}
