:root {
  --shell-navy: #071426;
  --shell-navy-soft: #0d2447;
  --shell-blue: #1768e5;
  --shell-cyan: #67d4ff;
  --shell-gold: #f3b94f;
  --shell-ink: #0b1730;
  --shell-text: #53627a;
  --shell-line: rgba(11, 23, 48, 0.11);
}

body.gb-shell-ready #root > div > header,
body.gb-shell-ready #root header,
body.gb-shell-ready #root footer {
  display: none !important;
}

.gb-obsolete-card,
.gb-obsolete-card-grid {
  display: none !important;
}

.gb-shell-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10050;
  height: 82px;
  border-bottom: 1px solid rgba(11, 23, 48, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 38px rgba(7, 20, 38, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
}

.gb-shell-header__inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.gb-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--shell-ink);
  text-decoration: none;
}

.gb-shell-brand:hover,
.gb-shell-nav a:hover,
.gb-shell-header a:hover {
  transform: none !important;
  box-shadow: none !important;
}

.gb-shell-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.gb-shell-brand strong,
.gb-footer-brand strong {
  display: block;
  color: var(--shell-ink);
  font: 700 0.96rem/1.15 'Poppins', sans-serif;
  letter-spacing: 0.035em;
}

.gb-shell-brand span,
.gb-footer-brand span {
  display: block;
  margin-top: 3px;
  color: #708097;
  font-size: 0.62rem;
  line-height: 1.15;
  letter-spacing: 0.09em;
}

.gb-shell-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gb-shell-nav a {
  position: relative;
  padding: 10px 11px;
  color: #3c4a60;
  border-radius: 9px;
  font: 500 0.86rem/1 'Poppins', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.gb-shell-nav a::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell-blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.gb-shell-nav a:hover,
.gb-shell-nav a[aria-current='page'] {
  color: var(--shell-blue);
  background: #f4f7fb;
}

.gb-shell-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.gb-shell-quote,
.gb-footer-cta__actions a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px !important;
  background: var(--shell-blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(23, 104, 229, 0.22) !important;
  font: 600 0.84rem/1 'Poppins', sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.gb-shell-menu {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--shell-line);
  border-radius: 10px !important;
  background: #fff;
  color: var(--shell-ink);
  box-shadow: none !important;
  font-size: 1.35rem;
}

.gb-journey {
  padding: clamp(72px, 9vw, 118px) 20px;
  background: #f6f8fb;
}

.gb-journey__layout {
  width: min(1160px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(56px, 8vw, 110px);
}

.gb-journey__intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.gb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--shell-blue);
  font: 700 0.75rem/1.2 'Poppins', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gb-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--shell-gold);
}

.gb-journey h2 {
  margin: 0 0 20px;
  color: var(--shell-ink) !important;
  font-size: clamp(2.25rem, 4.5vw, 4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.05em;
}

.gb-journey__intro p {
  margin: 0 0 28px;
  color: var(--shell-text) !important;
  line-height: 1.75;
}

.gb-journey__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--shell-blue);
  font-weight: 650;
  text-decoration: none;
}

.gb-journey__timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gb-journey__timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 1px;
  background: #cfd8e5;
}

.gb-journey__step {
  position: relative;
  padding: 0 0 42px 48px;
}

.gb-journey__step:last-child {
  padding-bottom: 0;
}

.gb-journey__step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 2px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--shell-blue);
  box-shadow: 0 0 0 1px #b6c7dc;
}

.gb-journey__step.is-current::before {
  background: var(--shell-gold);
  box-shadow: 0 0 0 5px rgba(243, 185, 79, 0.16);
}

.gb-journey__year {
  display: block;
  margin-bottom: 8px;
  color: var(--shell-blue);
  font: 700 0.78rem/1.2 'Poppins', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gb-journey__step h3 {
  margin: 0 0 9px;
  color: var(--shell-ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
}

.gb-journey__step p {
  max-width: 660px;
  margin: 0;
  color: var(--shell-text) !important;
  line-height: 1.7;
}

.gb-journey__proof {
  width: min(1160px, 100%);
  margin: 58px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--shell-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gb-journey__proof div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--shell-ink);
  font-weight: 650;
}

.gb-journey__proof i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e8f1ff;
  color: var(--shell-blue);
}

.gb-shell-footer {
  position: relative;
  z-index: 2;
  background: var(--shell-navy) !important;
  color: #d8e2f0;
}

.gb-footer-cta {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.gb-footer-cta[hidden] {
  display: none !important;
}

.gb-footer-cta h2 {
  margin: 0 0 7px;
  color: #fff !important;
  font-size: clamp(1.55rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.04em;
}

.gb-footer-cta p {
  margin: 0;
  color: #9eacc0 !important;
}

.gb-footer-cta__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.gb-footer-cta__actions a:last-child {
  color: #cfe8f7 !important;
  font-weight: 600;
  text-decoration: none;
}

.gb-footer-main {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.75fr 1.25fr;
  gap: clamp(32px, 5vw, 72px);
}

.gb-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.gb-footer-brand img {
  width: 48px;
  height: 48px;
}

.gb-footer-brand strong {
  color: #fff;
}

.gb-footer-brand span {
  color: #8f9db2;
}

.gb-footer-about p {
  max-width: 360px;
  margin: 0;
  color: #9eacc0 !important;
  font-size: 0.92rem;
  line-height: 1.75;
}

.gb-footer-main h3 {
  margin: 4px 0 20px;
  color: #fff !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.gb-footer-main li + li {
  margin-top: 11px;
}

.gb-footer-main a {
  color: #aebbd0 !important;
  font-size: 0.9rem;
  line-height: 1.5;
  text-decoration: none;
}

.gb-footer-main a:hover,
.gb-footer-bottom a:hover,
.gb-footer-cta a:hover {
  color: var(--shell-cyan) !important;
  transform: none !important;
  box-shadow: none !important;
}

.gb-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aebbd0;
  font-size: 0.89rem;
  line-height: 1.55;
}

.gb-footer-contact i {
  margin-top: 3px;
  color: var(--shell-cyan);
}

.gb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gb-footer-bottom__inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7f8da3;
  font-size: 0.8rem;
}

.gb-footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.glorys-premium .gb-shell-footer .gb-footer-bottom__links a,
.gb-footer-bottom__links a {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: #d8e2f0 !important;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

body.glorys-premium .gb-shell-footer .gb-footer-bottom__links a:hover,
.gb-footer-bottom__links a:hover {
  border-color: rgba(102, 213, 255, .38);
  background: rgba(102, 213, 255, .08);
}

@media (max-width: 1080px) {
  .gb-shell-nav a { padding-inline: 8px; font-size: 0.79rem; }
  .gb-shell-quote { padding-inline: 13px; }
  .gb-footer-main { grid-template-columns: 1.2fr 0.8fr 1fr; }
  .gb-footer-expertise { display: none; }
}

@media (max-width: 900px) {
  .gb-shell-header { height: 74px; }
  .gb-shell-header__inner { width: min(100% - 28px, 1240px); }
  .gb-shell-menu { display: inline-grid; place-items: center; }
  .gb-shell-quote { display: none; }
  .gb-shell-nav {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    margin: 0;
    padding: 12px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--shell-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(7, 20, 38, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .gb-shell-header.is-open .gb-shell-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .gb-shell-nav a { padding: 13px 14px; font-size: 0.9rem; }
  .gb-shell-nav a::after { display: none; }
  .gb-journey__layout { grid-template-columns: 1fr; gap: 50px; }
  .gb-journey__intro { position: static; }
  .gb-journey__proof { grid-template-columns: 1fr; }
  .gb-footer-main { grid-template-columns: 1fr 1fr; }
  .gb-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .gb-shell-header__inner { gap: 10px; }
  .gb-shell-brand > span > span { display: none; }
  .gb-shell-brand strong { font-size: 0.82rem; }
  .gb-shell-brand span { font-size: 0.52rem; }
  .gb-shell-brand img { width: 38px; height: 38px; }
  .gb-internal-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.25rem, 11vw, 2.85rem) !important;
    overflow-wrap: break-word;
  }
  .gb-internal-hero h1 span {
    display: block !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }
  .gb-internal-hero [class*="space-x-8"] {
    gap: clamp(0.75rem, 4vw, 1.25rem) !important;
    justify-content: space-between !important;
  }
  .gb-internal-hero [class*="space-x-8"] > * {
    margin-left: 0 !important;
    min-width: 0;
  }
  .gb-journey { padding: 64px 18px; }
  .gb-journey__step { padding-left: 40px; }
  .gb-footer-cta { align-items: flex-start; flex-direction: column; padding: 34px 0; }
  .gb-footer-cta__actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .gb-footer-main { grid-template-columns: 1fr; padding: 42px 0; }
  .gb-footer-about { grid-column: auto; }
  .gb-footer-bottom__inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  .gb-footer-bottom__links { flex-wrap: wrap; gap: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .gb-shell-nav { transition: none; }
}
