@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');

:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --color-navy: #030F6A;
  --color-blue: #036FFB;
  --color-cyan: #10ACFB;
  --color-light-blue: #61BFFB;
  --color-ice-blue: #DCEAF7;
  --color-light-gray: #E0E0E0;

  --highlight-color-red: #B8321A;
  --highlight-color-gold: #FFB000;

  --text-dark: #172033;
  --text-muted: #46536a;
  --page-max-width: 1400px;
  --content-max-width: 1180px;
  --page-edge-padding: 20px;
}

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-nav,
.button,
.btn {
  font-family: var(--font-heading);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

p {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

/* Fix for 50px space at top of pages. */
#et-main-area,
#main-content {
  display: flow-root !important;
}

.entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Divi tweaks */
.et_pb_fullwidth_header_subhead {
  font-size: 17px;
}

/*
  Global Divi f
  The first Divi section is the page hero shell.
  The section keeps the site-wide 20px edge padding; .mb-page breaks out inside it.
*/
body.et_pb_pagebuilder_layout #main-content .et_builder_inner_content > .et_pb_section:first-child,
body .et_pb_section_0 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.et_pb_pagebuilder_layout #main-content .et_builder_inner_content > .et_pb_section:first-child > .et_pb_row:first-child,
body .et_pb_section_0 > .et_pb_row_0 {
  width: 100vw !important;
  max-width: 1400px !important;;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body .et_pb_section_0 > .et_pb_row_0 > .et_pb_column,
body .et_pb_section_0 > .et_pb_row_0 .et_pb_module,
body .et_pb_section_0 > .et_pb_row_0 .et_pb_code,
body .et_pb_section_0 > .et_pb_row_0 .et_pb_code_inner {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Shared MagicBrain page system */
.mb-page {
  width: 100vw;
  max-width: 1400px;
  margin-left: 0;
  margin-right: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #ffffff;
}

.mb-page * {
  box-sizing: border-box;
}

.mb-container {
  width: min(var(--content-max-width), 100%);
  margin: 0 auto;
}

.mb-page h1,
.mb-page h2,
.mb-page h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: inherit;
}

.mb-page h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mb-page h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mb-page h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
}

.mb-page p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}

.mb-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--highlight-color-gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mb-page-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 92px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 18%, rgba(16, 172, 251, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(3, 15, 106, 0.98), rgba(3, 111, 251, 0.88));
}

.mb-page-hero .mb-captioned-image figcaption {
  color: rgba(255, 255, 255, 0.9);
}

.mb-page-hero p {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 21px);
}

.mb-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.mb-page-hero-content {
  max-width: 780px;
}

.mb-actions,
.mb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.mb-btn:hover {
  transform: translateY(-1px);
}

.mb-btn-primary {
  border: 2px solid var(--color-cyan);
  background: var(--color-cyan);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 172, 251, 0.28);
}

.mb-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.82);
  background: transparent;
  color: #ffffff;
}

.mb-btn-light {
  width: 100%;
  border: 2px solid #ffffff;
  background: #ffffff;
  color: var(--color-navy);
}

.mb-btn-outline-navy {
  border: 2px solid var(--color-navy);
  background: transparent;
  color: var(--color-navy);
}

.mb-section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.mb-section-header p {
  font-size: 18px;
}

.mb-section-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  align-items: start;
}

.mb-section-grid p + p {
  margin-top: 18px;
}

.mb-card-grid {
  display: grid;
  gap: 20px;
}

.mb-card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.mb-card,
.mb-plan-card,
.mb-info-card,
.mb-help-card,
.mb-review-box,
.mb-trust-item,
.mb-hospitality-box,
.mb-contact-form-card {
  border: 1px solid rgba(3, 15, 106, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(3, 15, 106, 0.08);
}

.mb-card {
  padding: 26px;
  border-top: 5px solid var(--color-cyan);
}

.mb-card h3,
.mb-plan-card h3 {
  color: var(--color-navy);
}

.mb-image-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed rgba(3, 15, 106, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(220, 234, 247, 0.95), rgba(255, 255, 255, 0.95));
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 800;
  text-align: center;
}

.mb-page-hero .mb-image-placeholder {
  min-height: 360px;
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  color: #ffffff;
}

.mb-large-placeholder {
  min-height: 420px;
}

.mb-final-cta {
  padding: 84px 0;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 172, 251, 0.28), transparent 32%),
    linear-gradient(135deg, var(--color-blue), var(--color-navy));
}

.mb-final-cta p {
  max-width: 820px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.mb-final-cta .mb-actions,
.mb-final-cta .mb-hero-actions {
  justify-content: center;
}

/* Shared reusable page sections */
.mb-intro-section,
.mb-services-section,
.mb-proof-section {
  padding: 78px 0;
  background: #ffffff;
}

.mb-problems-section,
.mb-process-section,
.mb-plans-section {
  padding: 78px 0;
  background: var(--color-ice-blue);
}

.mb-split-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.mb-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 18px -10px rgba(0, 0, 0, 0.55);
}

.mb-page-hero .mb-image img {
  min-height: 360px;
  object-fit: cover;
}

.mb-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.mb-check-grid span {
  position: relative;
  padding: 12px 14px 12px 38px;
  border-radius: 10px;
  background: var(--color-ice-blue);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
}

.mb-check-grid span::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--color-cyan);
  font-weight: 800;
}

.mb-proof-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.mb-proof-list div {
  padding: 20px;
  border-radius: 14px;
  background: var(--color-ice-blue);
}

.mb-proof-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
}

.mb-proof-list span {
  display: block;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.mb-mtop-1 {
  margin-top: 0.75rem !important;
}

.mb-mtop-2 {
  margin-top: 1.5rem !important;
}

.mb-mtop-3 {
  margin-top: 2.25rem !important;
}

@media (max-width: 980px) {
  .mb-page-hero-grid,
  .mb-section-grid,
  .mb-split-feature {
    grid-template-columns: 1fr;
  }

  .mb-card-grid-3,
  .mb-proof-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --page-edge-padding: 14px;
  }

  .mb-container {
    width: min(100% - 28px, var(--content-max-width));
  }

  .mb-page-hero {
    min-height: 0;
    padding: 66px 0;
  }

  .mb-card-grid-3,
  .mb-check-grid,
  .mb-proof-list {
    grid-template-columns: 1fr;
  }

  .mb-intro-section,
  .mb-services-section,
  .mb-proof-section,
  .mb-problems-section,
  .mb-process-section,
  .mb-plans-section {
    padding: 54px 0;
  }

  .mb-btn,
  .mb-actions,
  .mb-hero-actions {
    width: 100%;
  }
}
.mb-captioned-image {
  margin: 0;
}

.mb-captioned-image figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.mb-captioned-image figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.mb-video-embed {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.mb-responsive-iframe {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 18px -10px rgba(0, 0, 0, 0.55);
  background: #000000;
}

.mb-responsive-iframe iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mb-page-webcam .mb-webcam-feature-box {
  display: grid;
  padding-bottom: 75px;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.mb-page-webcam .mb-webcam-feature-box .mb-video-embed {
  width: 100%;
  margin: 0;
}

@media (max-width: 980px) {
  .mb-page-webcam .mb-webcam-feature-box {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 980px) {
  .et_pb_row--with-menu .et_pb_column--with-menu,
  .et_pb_row--with-menu .et_pb_menu,
  .et_pb_row--with-menu .et_pb_menu_inner_container,
  .et_pb_row--with-menu .et_pb_menu__wrap,
  .et_pb_row--with-menu .et_mobile_nav_menu,
  .et_pb_row--with-menu .mobile_nav {
    position: static !important;
  }

  .et_pb_row--with-menu {
    position: relative !important;
  }

  .et_pb_row--with-menu .et_mobile_menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc((100vw - 100%) / -2) !important;
    margin-top: 10px !important;
    padding: 12px 0 !important;
    background: #ffffff !important;
    border-top: 3px solid var(--color-cyan) !important;
    box-shadow: 0 18px 40px rgba(3, 15, 106, 0.18) !important;
  }

  .et_pb_row--with-menu .et_mobile_menu li a {
    padding: 12px 22px !important;
    color: var(--color-navy) !important;
    white-space: normal !important;
  }
}
/* Desktop header layout */
@media (min-width: 981px) {
  .et_pb_row--with-menu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* Logo column */
  .et_pb_row--with-menu > .et_pb_column:first-child {
    flex: 0 0 360px !important;
    width: 360px !important;
    max-width: 360px !important;
    text-align: left !important;
  }

  .et_pb_row--with-menu .et_pb_image_0_tb_header {
    max-width: 340px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .et_pb_row--with-menu .et_pb_image_0_tb_header .et_pb_image_wrap,
  .et_pb_row--with-menu .et_pb_image_0_tb_header img {
    display: block !important;
    max-width: 340px !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Menu column */
  .et_pb_row--with-menu > .et_pb_column.et_pb_column--with-menu {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .et_pb_row--with-menu .et_pb_menu__wrap {
    justify-content: flex-end !important;
  }

  .et_pb_row--with-menu .et-menu-nav > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }

  .et_pb_row--with-menu .et-menu-nav > ul > li > a {
    white-space: nowrap !important;
  }
}
@media (max-width: 767px) {
  .mb-section-grid {
    gap: 24px;
  }

  .mb-section-grid > div:first-child h2 {
    margin-bottom: 0;
  }

  .mb-section-grid > div:first-child {
    margin-bottom: 0;
  }
}
