/* Mobile Support — premium landing overrides for scroll-world */

:root,
.sw-root {
  --sw-bg: #ffffff;
  --sw-ink: #0d1117;
  --sw-ink-soft: #5c636a;
  --sw-accent: #1271ff;
  /* SF Pro on Apple via system stack; licensed web hosting not used */
  --ms-font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --sw-font-display: var(--ms-font-sf);
  --sw-font-body: var(--ms-font-sf);
  --ms-purple: #6c00a2;
  --ms-navy: #001152;
  --ms-blue: #1271ff;
  --ms-magenta: #dd4aff;
  --ms-cyan: #64dcff;
  --ms-teal: #64dcff;
  --ms-pink: #dd4aff;
  --ms-rose: #1271ff;
  --ms-ink: #0d1117;
}

body#page-top {
  font-family: var(--ms-font-sf);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body#page-top .ms-after-world,
body#page-top .ms-site-header,
body#page-top .modal {
  font-family: var(--ms-font-sf);
}

/* Floating bubbles — brand palette (teal / pink / rose) */
.sw-pt:nth-child(3n + 1) {
  --sw-pt-color: var(--ms-teal);
}

.sw-pt:nth-child(3n + 2) {
  --sw-pt-color: var(--ms-pink);
}

.sw-pt:nth-child(3n) {
  --sw-pt-color: var(--ms-rose);
}

.sw-pt--dot::before {
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.92),
    color-mix(in srgb, var(--sw-pt-color, var(--ms-teal)) 50%, transparent) 42%,
    color-mix(in srgb, var(--sw-pt-color, var(--ms-teal)) 78%, transparent) 100%
  );
  box-shadow:
    0 0 14px color-mix(in srgb, var(--sw-pt-color, var(--ms-teal)) 40%, transparent),
    inset 0 -2px 6px color-mix(in srgb, var(--sw-pt-color, var(--ms-teal)) 25%, transparent);
}

.sw-pt--ring::before {
  background: color-mix(in srgb, var(--sw-pt-color, var(--ms-pink)) 8%, transparent);
  border: 2px solid color-mix(in srgb, var(--sw-pt-color, var(--ms-pink)) 62%, transparent);
  box-shadow:
    0 0 12px color-mix(in srgb, var(--sw-pt-color, var(--ms-pink)) 28%, transparent),
    inset 0 0 10px color-mix(in srgb, var(--sw-pt-color, var(--ms-pink)) 18%, transparent);
}

@keyframes ms-bubble-drift {
  0% {
    opacity: 0;
    transform: scale(var(--sw-sc, 1)) translate(0, 12vh) rotate(0);
  }
  12% {
    opacity: 0.55;
  }
  88% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(var(--sw-sc, 1)) translate(4vw, -22vh) rotate(210deg);
  }
}

.sw-pt {
  animation-name: ms-bubble-drift;
}

/* Hero framing for shared layer + first 3 sections (same photo) */
.sw-scene--shared .sw-scene__video,
.sw-scene--shared .sw-scene__still,
.sw-stage > .sw-scene:nth-child(-n+4) .sw-scene__still {
  object-position: center 58%;
}

.sw-scene--shared:not(.has-clip) .sw-scene__video {
  opacity: 0;
  visibility: hidden;
}

.sw-scene--shared.has-clip .sw-scene__still {
  opacity: 0;
}

.sw-scene--shared .sw-scene__video--hq {
  filter: contrast(1.05) saturate(1.08) brightness(1.02);
}

@media (max-width: 860px) {
  .sw-scene--shared .sw-scene__video--hq,
  .sw-scene--shared .sw-scene__still {
    object-position: center 55%;
  }
}

/* Brand logo — image only, no circle mask */
.sw-brand {
  display: block;
  flex-shrink: 0;
  width: 156px;
  height: 54px;
  text-decoration: none;
  background: url("../assets/img/ms2_logo.png") center / contain no-repeat;
}

.sw-brand__logo {
  display: block;
  height: 54px;
  width: 156px;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.sw-brand__mark {
  display: none;
}

.sw-brand__name {
  display: none;
}

@media (max-width: 860px) {
  .sw-brand {
    width: 132px;
    height: 46px;
  }

  .sw-brand__logo {
    height: 46px;
    width: 132px;
  }
}

.sw-topcta {
  background: linear-gradient(135deg, var(--ms-teal), var(--ms-pink));
  border: none;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(242, 102, 153, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.sw-topcta:hover,
.sw-topcta:focus,
.sw-topcta:visited {
  color: #fff;
  text-decoration: none;
}

.sw-topcta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 102, 153, 0.36);
}

.sw-copy__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}

.sw-copy__title-row .sw-copy__title {
  margin: 0;
  flex: 0 1 auto;
}

.sw-copy__title-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .sw-copy__title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sw-copy__title {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--sw-accent, var(--ms-teal)) 88%, #fff),
    color-mix(in srgb, var(--sw-accent, var(--ms-teal)) 62%, var(--ms-pink))
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* Scroll-world topbar hidden — single crawlable header (.ms-site-header) */
#world .sw-topbar {
  display: none !important;
}

.sw-topbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

/* Section nav — active item as pill, not square (Bootstrap override) */
.sw-nav .sw-nav__item {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.sw-nav .sw-nav__item.is-active {
  border-radius: 999px;
  color: #fff;
  background: var(--sw-accent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--sw-accent) 38%, transparent);
}

.sw-nav .sw-nav__item:hover:not(.is-active) {
  color: var(--ms-ink);
  background: color-mix(in srgb, var(--sw-accent) 12%, transparent);
  border-radius: 999px;
}

/* Hide vertical spine on section dots */
.sw-route::before {
  display: none;
}

/* Hide scroll-world overlay once footer gallery begins */
.sw-root.sw-past-footer .sw-copylayer,
.sw-root.sw-past-footer .sw-stage,
.sw-root.sw-past-footer .sw-route,
.sw-root.sw-past-footer .sw-hint,
.sw-root.sw-past-footer .sw-sky {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.sw-btn--primary {
  background: linear-gradient(135deg, var(--ms-teal), var(--ms-pink));
  border: none;
  box-shadow: 0 8px 24px rgba(242, 102, 153, 0.28);
}

.sw-btn--ghost {
  border-color: rgba(217, 106, 136, 0.45);
  color: var(--ms-rose);
}

/* Copy block: left column, vertically centered */
.sw-copy__num {
  display: none;
}

.sw-copy__eyebrow {
  margin-top: 0;
}

.sw-copy {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  max-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 860px) {
  .sw-copylayer {
    z-index: 35;
  }

  .sw-copylayer::before {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: auto;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.25) 35%,
      rgba(255, 255, 255, 0.2) 65%,
      rgba(255, 255, 255, 0.45) 100%
    );
  }

  .sw-copy {
    top: 50%;
    bottom: auto;
    left: clamp(18px, 5vw, 64px);
    right: clamp(18px, 5vw, 64px);
    width: auto;
    max-width: 560px;
    max-height: calc(100dvh - 200px);
    transform: translateY(-50%);
  }

  .sw-hint {
    bottom: calc(clamp(88px, 16vh, 140px) + env(safe-area-inset-bottom));
  }

  /* Pills: una sola fila en mobile, alineadas al copy */
  .sw-copy__tags {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    margin-top: 18px;
  }

  .sw-copy__tags li {
    flex: 0 0 auto;
    font-size: clamp(calc(0.62rem + 1px), calc(2.6vw + 1px), calc(0.76rem + 1px));
    padding: 6px clamp(8px, 2.2vw, 12px);
    white-space: nowrap;
  }
}

@media (max-height: 720px) {
  .sw-copy {
    max-height: calc(100vh - 160px);
    padding-bottom: 0;
  }
}

/* Keep route rail clear of social buttons */
@media (min-width: 861px) {
  .sw-route {
    right: clamp(18px, 3vw, 36px);
  }
}

/* ── Footer world (after scroll track) ── */
.ms-after-world {
  position: relative;
  z-index: 5;
  background: var(--sw-bg);
}

.ms-section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}

.ms-section__eyebrow {
  display: block;
  font-family: var(--sw-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ms-rose);
  margin-bottom: 0.75rem;
}

.ms-section__title {
  font-family: var(--sw-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--ms-ink);
}

.ms-section__lead {
  font-family: var(--sw-font-body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: #495057;
  max-width: 62ch;
  margin: 0 auto 2rem;
}

/* Gallery hero — texto sobre imagen fija */
.ms-gallery--hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 55vh, 620px);
  padding: clamp(3.5rem, 10vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  overflow: hidden;
}

.ms-gallery__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ms-gallery__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 17, 82, 0.78) 0%,
    rgba(108, 0, 162, 0.52) 55%,
    rgba(0, 17, 82, 0.65) 100%
  );
}

.ms-gallery__intro {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.ms-gallery--hero .ms-section__eyebrow {
  color: var(--ms-cyan);
}

.ms-gallery--hero .ms-section__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.ms-gallery--hero .ms-section__lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
}

/* Newsletter */
.ms-signup {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.ms-signup__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(156, 217, 217, 0.82), rgba(242, 102, 153, 0.78)),
    url("../assets/img/fin.jpg") center / cover no-repeat;
  z-index: 0;
}

.ms-signup__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.ms-signup__icon {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.ms-signup__title {
  font-family: var(--sw-font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0 0 2rem;
}

.ms-signup__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.ms-signup__input {
  flex: 1 1 240px;
  max-width: 420px;
  padding: 0.95rem 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--sw-font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ms-signup__input:focus {
  border-color: var(--ms-teal);
  box-shadow: 0 0 0 4px rgba(156, 217, 217, 0.35);
}

.ms-signup__btn {
  padding: 0.95rem 1.75rem;
  border: none;
  border-radius: 999px;
  font-family: var(--sw-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--ms-pink), var(--ms-rose));
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ms-signup__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ms-signup__btn:not(:disabled):hover {
  transform: translateY(-2px);
}

/* Map */
.ms-map {
  padding: 0;
}

.ms-map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border: 0;
}

.ms-map__link-wrap {
  margin: 0;
  padding: 0.75rem 1.25rem 1rem;
  text-align: center;
}

.ms-map__link {
  font-family: var(--sw-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ms-rose);
  text-decoration: none;
}

.ms-map__link:hover {
  color: var(--ms-pink);
  text-decoration: underline;
}

/* Contact cards */
.ms-contact {
  background: linear-gradient(
    135deg,
    rgba(156, 217, 217, 0.55) 0%,
    rgba(255, 255, 255, 0.95) 42%,
    rgba(242, 102, 153, 0.35) 100%
  );
  color: var(--ms-ink);
}

.ms-contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ms-contact__card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(156, 217, 217, 0.45);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 32px rgba(242, 102, 153, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ms-contact__card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 102, 153, 0.55);
  box-shadow: 0 16px 36px rgba(242, 102, 153, 0.2);
}

.ms-contact__card i {
  font-size: 1.6rem;
  color: var(--ms-pink);
  margin-bottom: 0.75rem;
}

.ms-contact__card h4 {
  font-family: var(--sw-font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  color: var(--ms-rose);
}

.ms-contact__card hr {
  width: 48px;
  margin: 0 auto 1rem;
  border-color: rgba(156, 217, 217, 0.65);
}

.ms-contact__card p,
.ms-contact__card a {
  font-family: var(--sw-font-body);
  font-size: 0.92rem;
  color: #495057;
  text-decoration: none;
}

.ms-contact__card a:hover {
  color: var(--ms-pink);
}

/* Footer */
.ms-footer {
  background: linear-gradient(135deg, var(--ms-teal), var(--ms-pink));
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--sw-font-body);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader img {
  width: 88px;
  height: auto;
}

/* ── Mobile Support: below scroll track ── */

.ms-features {
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
}

.ms-features.ms-section {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

#videos.ms-section.ms-section--tight-top {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

#videos.ms-section {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

#videos + #celular.ms-section {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.ms-features + #videos .ms-section__title {
  margin-top: 0;
}

.ms-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ms-features__item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 113, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 17, 82, 0.08);
}

.ms-features__item i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ms-features__item h3 {
  font-family: var(--sw-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ms-navy);
}

.ms-features__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #495057;
}

.ms-media-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 1000px;
  margin: 0 auto;
}

.ms-media-single {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.ms-media-single .ms-media-card {
  width: min(100%, 360px);
}

@media (min-width: 992px) {
  .ms-media-single .ms-media-card {
    width: min(100%, 520px);
    max-width: 520px;
    aspect-ratio: 1 / 1;
    max-height: none;
  }
}

.ms-media-card {
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 17, 82, 0.2);
  border: 2px solid rgba(18, 113, 255, 0.25);
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  margin: 0 auto;
  width: min(100%, 320px);
}

.ms-media-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ms-section--band {
  background: linear-gradient(180deg, #f4f7ff 0%, #eef2fa 100%);
  width: 100%;
  box-sizing: border-box;
}

.ms-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 992px) {
  .ms-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .ms-split--reverse .ms-split__media {
    order: 2;
  }
}

.ms-split__media img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 24px 48px rgba(108, 0, 162, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.9);
}

.ms-split__body h2 {
  font-family: var(--sw-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ms-navy);
}

.ms-split__body p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #495057;
  margin: 0;
}

.ms-cta-fin {
  position: relative;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.ms-cta-fin__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(108, 0, 162, 0.75), rgba(0, 17, 82, 0.82)),
    url("../assets/img/fin.jpg") center / cover no-repeat;
  z-index: 0;
}

.ms-cta-fin__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.ms-cta-fin h2 {
  font-family: var(--sw-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 0.5rem;
}

.ms-cta-fin p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0 0 1.75rem;
}

.ms-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: none;
  font-family: var(--sw-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-magenta));
  box-shadow: 0 12px 32px rgba(18, 113, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.ms-btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 36px rgba(221, 74, 255, 0.35);
}

.ms-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-family: var(--sw-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  background: transparent;
  margin-left: 0.75rem;
}

.ms-contact-banner {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: clamp(4rem, 10vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.ms-contact-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ms-contact-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 17, 82, 0.72) 0%,
    rgba(108, 0, 162, 0.45) 50%,
    rgba(0, 17, 82, 0.78) 100%
  );
}

.ms-contact-banner__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.ms-contact-banner .ms-section__title {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.ms-contact-banner .ms-section__lead {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
}

.ms-contact-banner .ms-btn-primary {
  margin-top: 0.25rem;
}

@media (max-width: 576px) {
  .ms-btn-ghost {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .ms-cta-fin .ms-btn-primary,
  .ms-cta-fin .ms-btn-ghost {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Skip link */
.ms-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: var(--ms-navy);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.ms-skip-link:focus {
  left: 0;
}

/* Site header — crawlable anchor nav (glass, same feel as scroll-world topbar) */
.ms-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: none;
}

.ms-site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.28rem clamp(1rem, 3vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo PNG has large empty margins — crop via overflow + oversized centered image */
.ms-site-header__brand {
  display: block;
  flex-shrink: 0;
  width: clamp(36px, 4.25vw, 48px);
  height: 0.75rem;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.ms-site-header__brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 82px;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ms-site-header__toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--ms-navy);
  padding: 0.35rem;
}

.ms-site-header__nav {
  flex: 1;
  min-width: 0;
}

.ms-site-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.35rem;
}

.ms-site-nav a,
.ms-site-nav__sub-toggle {
  font-family: var(--sw-font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ms-ink);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ms-site-nav a:hover,
.ms-site-nav a:focus-visible,
.ms-site-nav__sub-toggle:hover,
.ms-site-nav__sub-toggle:focus-visible {
  background: rgba(18, 113, 255, 0.1);
  color: var(--ms-blue);
  outline: none;
}

.ms-site-nav__has-sub {
  position: relative;
}

.ms-site-nav__sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 17, 82, 0.12);
  border: 1px solid rgba(18, 113, 255, 0.12);
  z-index: 10;
}

.ms-site-nav__sub.is-open {
  display: block;
}

.ms-site-nav__sub a {
  display: block;
  border-radius: 8px;
}

.ms-site-header__cta {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--ms-blue), var(--ms-magenta));
  white-space: nowrap;
}

@media (max-width: 991px) {
  .ms-site-header__toggle {
    display: block;
  }

  .ms-site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(18, 113, 255, 0.12);
    padding: 0.75rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(0, 17, 82, 0.08);
  }

  .ms-site-header__nav.is-open {
    display: block;
  }

  .ms-site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-site-nav__sub {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 0.5rem;
  }

  .ms-site-header__cta {
    display: none;
  }
}

/* FAQ */
.ms-faq {
  background: #fff;
}

.ms-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.ms-faq__item {
  border: 1px solid rgba(18, 113, 255, 0.15);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.ms-faq__item .accordion-button {
  font-family: var(--sw-font-display);
  font-weight: 600;
  color: var(--ms-navy);
  box-shadow: none;
}

.ms-faq__item .accordion-button:not(.collapsed) {
  background: rgba(18, 113, 255, 0.08);
  color: var(--ms-blue);
}

.ms-footer__small {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 0.35rem;
}

.ms-footer a {
  color: inherit;
  text-decoration: underline;
}
