body.sc-demo-page,
body.page-template-page-demo {
  --wp--style--global--content-size: 1400px;
  --wp--style--global--wide-size: 1400px;
}

body.sc-demo-page .wp-block-post-content,
body.sc-demo-page .entry-content,
body.sc-demo-page .is-layout-constrained,
body.sc-demo-page .wp-site-blocks > .wp-block-group {
  max-width: none !important;
}

body.sc-demo-page .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
}

.sc-demo {
  --demo-navy: #141856;
  --demo-teal: #008ea5;
  --demo-orange: #ff5400;
  --demo-ink: #0e0b31;
  --demo-muted: #3b3f5c;
  --demo-font: Lato, "Segoe UI", sans-serif;
  --demo-display: Poppins, Lato, sans-serif;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  color: var(--demo-ink);
  font-family: var(--demo-font);
}

.sc-demo *,
.sc-demo *::before,
.sc-demo *::after {
  box-sizing: border-box;
}

.sc-demo img {
  max-width: 100%;
  height: auto;
}

.sc-demo a {
  color: inherit;
  text-decoration: none !important;
}

.sc-demo h1,
.sc-demo h2,
.sc-demo h3 {
  margin: 0;
  font-family: var(--demo-display);
  line-height: 1.2;
}

.sc-demo p {
  margin: 0;
}

.sc-demo__wrap {
  width: min(1400px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.sc-demo__hero .sc-demo__wrap {
  width: min(1200px, calc(100% - 5rem));
}

.sc-demo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2.75rem;
  padding: 1.05em 2.1em;
  border-radius: 30px;
  background: var(--demo-orange);
  color: #fff !important;
  font-family: var(--demo-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.sc-demo__btn svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.sc-demo__btn:hover {
  background: #e04b00;
}

.sc-demo__hero {
  background-image: linear-gradient(to bottom right, var(--demo-navy), var(--demo-teal));
  color: #fff;
  padding: 4.5rem 0 3.75rem;
}

.sc-demo__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.sc-demo__hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
}

.sc-demo__lede {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: var(--demo-orange);
  font-size: 1.2rem;
  line-height: 1.55;
}

.sc-demo__hero-media {
  display: flex;
  justify-content: center;
}

.sc-demo__hero-media img {
  display: block;
  width: min(100%, 480px);
  border-radius: 8px;
}

.sc-demo__reserve {
  padding: 4.5rem 0 2rem;
  text-align: center;
  background: #fff;
}

.sc-demo__reserve h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.sc-demo__reserve > .sc-demo__wrap > p {
  max-width: 46rem;
  margin: 1rem auto 2rem;
  color: var(--demo-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sc-demo__form {
  max-width: 52rem;
  margin: 0 auto;
  text-align: left;
  background: transparent;
}

.sc-demo__form .sc-hs-form,
.sc-demo__form [data-hs-forms-root] {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sc-demo__form iframe {
  display: block;
  width: 100% !important;
  min-height: 720px;
  border: 0;
  background: transparent;
}

.sc-demo__tagline {
  padding: 2.5rem 0 3rem;
  text-align: center;
  background: #fff;
}

.sc-demo__tagline p {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--demo-ink);
  font-family: var(--demo-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.5;
}

.sc-demo__video {
  padding: 0 0 3.5rem;
  background: #fff;
}

.sc-demo__video-box {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1028;
}

.sc-demo__video-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sc-demo__video-box img,
.sc-demo__video-box video {
  display: block;
  width: 100%;
  height: auto;
}

.sc-demo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: var(--demo-orange);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.sc-demo__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%);
}

.sc-demo__more {
  padding: 3rem 0 5rem;
  background: #fff;
}

.sc-demo__more h2 {
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
}

.sc-demo__more h2 span {
  font-weight: 200;
}

.sc-demo__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.sc-demo__card {
  padding: 1.75rem;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 24, 86, 0.08);
}

.sc-demo__card img {
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 576 / 383;
}

.sc-demo__card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.sc-demo__card p {
  margin-bottom: 1rem;
  color: var(--demo-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.sc-demo__card a {
  color: var(--demo-orange);
  font-weight: 700;
}

.sc-demo__card a:hover {
  color: var(--demo-navy);
}

@media (max-width: 900px) {
  .sc-demo__hero .sc-demo__wrap {
    width: min(1200px, calc(100% - 2.5rem));
  }

  .sc-demo__hero {
    padding: 3.25rem 0 0;
  }

  .sc-demo__hero-grid,
  .sc-demo__cards {
    grid-template-columns: 1fr;
  }

  .sc-demo__hero-media {
    margin: 0 -1.25rem;
  }

  .sc-demo__hero-media img {
    border-radius: 0;
  }
}
