html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
}
.text-balance{
  text-wrap: balance;
}
#page {
}
section:not(.hero) {
  overflow: hidden;
}

/* Hero sticks in place so #history slides over it on scroll */
section.hero {
  position: sticky;
  top: 0;
  z-index: 1;
}

@font-face {
  font-family: 'gotham-bold';
  src: url('https://lp.leonmedicalcenters.com/wp-content/uploads/useanyfont/6829Gotham-Bold.woff2') format('woff2'),
    url('https://lp.leonmedicalcenters.com/wp-content/uploads/useanyfont/6829Gotham-Bold.woff') format('woff');
  font-display: auto;
}

.gotham-bold {
  font-family: 'gotham-bold' !important;
}

@font-face {
  font-family: 'gotham-black';
  src: url('https://lp.leonmedicalcenters.com/wp-content/themes/leon-health/assets/fonts/Gotham-Black.otf') format('otf');
  font-display: auto;
}

.gotham-black {
  font-family: 'gotham-black' !important;
}

body {
  background: #fff;
}

.hero{
  position: relative;
}
.hero:before{
  content: " ";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.g-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* Dark blue bar slides down from above on scroll */
#hero-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #627077;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

#hero-nav.scrolled::before {
  transform: translateY(0);
}

/* Suppress the drop-in transition when the nav snaps to "scrolled" immediately on load */
#hero-nav.no-transition::before,
#hero-nav.no-transition .navbar-brand {
  transition: none !important;
}

/* Nav logo stays hidden until the background bar has dropped in */
#hero-nav .navbar-brand {
  opacity: 0;
  transition: opacity 0.3s ease;
  transition-delay: 0s;
}

#hero-nav.scrolled .navbar-brand {
  opacity: 1;
  transition-delay: 0.2s;
}

/* Nav active indicator — direction-aware enter/exit */
#hero-nav .nav-link {
  position: relative;
  text-transform: uppercase;
}

#hero-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

#hero-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Scrolling down: enter from left, exit to right */
#hero-nav.dir-down .nav-link.active::after    { transform-origin: left center;  }
#hero-nav.dir-down .nav-link:not(.active)::after { transform-origin: right center; }

/* Scrolling up: enter from right, exit to left */
#hero-nav.dir-up .nav-link.active::after      { transform-origin: right center; }
#hero-nav.dir-up .nav-link:not(.active)::after  { transform-origin: left center;  }

#hero-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

#hero-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Language toggle — pill button so it stands apart from the regular nav links */
#hero-nav .nav-link.lang-toggle {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.35rem 1.15rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: background 0.25s ease, border-color 0.25s ease;
  line-height: 2;
}

#hero-nav .nav-link.lang-toggle::after {
  display: none;
}

#hero-nav .nav-link.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

@media (max-width: 767px) {
  #hero-nav .nav-link.lang-toggle {
    display: inline-block;
    width: fit-content;
    margin: 0.5rem auto 0;
  }
}

.hero-divider {
  width: 100px;
  border-top: 4px solid rgba(255,255,255,1);
  margin: 1.25rem auto;
  opacity: 1;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; transform: translateY(0);   }
  50%       { opacity: 1;   transform: translateY(5px); }
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0);   }
  50%       { transform: rotate(45deg) translateY(4px); }
}

#hero-scroll {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-scroll {
  letter-spacing: 3px;
  font-size: 11px;
  opacity: 0.85;
  display: block;
  transition: letter-spacing 0.4s ease, opacity 0.3s ease;
}

.scroll-chevron {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin: 2px auto;
  position: relative;
  animation: chevronBounce 1.6s ease-in-out infinite;
}

/* Top chevron bounces; bottom chevron follows with a delay */
.scroll-chevron:first-of-type {
  animation-delay: 0s;
}
.scroll-chevron:last-of-type {
  top: -10px;
  animation-delay: 0.2s;
  opacity: 0.6;
}

/* Pulse the whole block */
#hero-scroll {
  animation: scrollPulse 2.4s ease-in-out infinite;
}

/* Hover: pause pulse, spread letters, nudge arrows down */
#hero-scroll:hover {
  animation-play-state: paused;
}
#hero-scroll:hover .hero-scroll {
  letter-spacing: 8px;
  opacity: 1;
}
#hero-scroll:hover .scroll-chevron {
  animation-play-state: paused;
  transform: rotate(45deg) translateY(5px);
  transition: transform 0.3s ease;
}

.letter {
  letter-spacing: 5px;
}

.btn-orange {
  background-color: #F37C21;
}

.btn-orange:hover,
.btn-orange:focus {
  background-color: #F68F42;
  color: #fff;
}

#contact-form-alert.alert-success,
#contact-form-alert.alert-danger {
  background-color: #627077;
  border-color: #627077;
  color: #fff;
}

.text-blue {
  color: #2c4a6b;
}

.text-leon-blue {
  color: #2c4a6b;
}

.modal-dialog {
  width: min(92vw, 960px);
  max-width: none;
  margin: clamp(1rem, 4vw, 2rem) auto;
}

.modal-content {
  border: none;
  border-radius: 0;
  padding: 0;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 0;
}

.modal-body {
  padding: 0;
}

.embed-responsive {
  height: auto;
  overflow: hidden;
  padding-bottom: 0;
  aspect-ratio: 16 / 9;
  position: relative;
  max-height: calc(100vh - 2rem);
}

.embed-responsive iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#gform_15 input[type="text"],
#gform_15 input[type="email"],
#gform_15 input[type="tel"] {
  background: white !important;
  border: 1px solid #D7D8D9 !important;
  text-align: left;
}

#gform_15 input::placeholder {
  color: #B4C0CB;
}

label[for="input_15_3"],
label[for="input_15_6"],
label[for="input_15_8"] {
  opacity: 0 !important
}

#gform_15 label,
#gform_15 legend {
  color: #335476 !important;
  font-family: gotham;
  font-size: 18px;
  text-align: left
}

#gform_fields_15 {
  column-gap: 50px !important;
  row-gap: 30px !important
}

#gform_submit_button_15 {
  background-color: #F37C21 !important;
  border: none;
  font-weight: 300 !important;
  font-size: 1.25rem !important;
  padding-right: 3rem !important;
  padding-left: 3rem !important;
  padding-block: 15px !important;
  letter-spacing: 2px !important;
  margin: 50px auto;
}

/* ── HISTORY SECTION ── */
#history {
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  background: url("lp-assets/bg-history.jpg") center / cover no-repeat;
  padding-top: 100px !important;
}

.history-label {
}

.history-slide {
  display: grid;
  grid-template-columns: 55% 45%;
  grid-template-rows: 1fr;
  min-height: 45vh;
  padding: 2rem;
}

.history-year-wrap {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  text-align: right;
  overflow: hidden;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 0px;
  height: 9.15em;
}

.history-text-wrap {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  padding-bottom: 0.5rem;
  text-align: left;
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}

#history.in-view .owl-item.active .history-text-wrap {
  opacity: 1;
  transform: translateX(0);
}

.history-year {
  font-family: 'gotham-bold', sans-serif;
  font-size: clamp(72px, 13vw, 170px);
  font-weight: 900;
  font-kerning: none;
  font-variant-ligatures: none;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "kern" 0, "liga" 0, "clig" 0, "lnum" 1, "tnum" 1;
  color: #2c4a6b;
  line-height: 1;
  margin: 0 auto;
  width: fit-content;
  display: block;
  margin-top: 1.1em;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
  transition: margin-top 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#history.in-view .owl-item.active .history-year {
  margin-top: 0;
}

.history-text {
  color: #333;
  line-height: 1.8;
  max-width: 90%;
  text-align: left;
}

.slide-1 { background-color: #f0f4f8; }
.slide-2 { background-color: #fef6e4; }
.slide-3 { background-color: #eef6ee; }
.slide-4 { background-color: #f3eef8; }
.slide-5 { background-color: #fdecea; }

/* Temporarily reveal the shared history background image. */
#history .history-slide {
  background-color: transparent !important;
}

/* ── EXCELLENCE SECTION ── */
#excellence {
  overflow: visible;
  min-height: 100vh;
}

.excellence-wrap {
  max-width: 1024px;
  margin: 0 auto;
  position: relative;
}
@media screen and (max-width: 767px){
  .excellence-wrap{
    padding-bottom: 80px !important;
  }
}

#excellence-card {
  /* background: white;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.09); */
}

#excellence-title {
  font-family: 'gotham-bold', sans-serif;
  text-align: center;
  margin-bottom: 1.5rem;
}

#excellence-text {
  line-height: 1.8;
  color: #444;
}

#excellence-emblem {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: url(lp-assets/medical-excellence.svg) center center;
  background-size: contain;
  position: relative;
  margin: 0 auto;
}
@media screen and (max-width: 767px){
  #excellence-emblem {
    width: 200px;
    height: 200px;
  }
}

#excellence{
  position: relative;
  z-index: 2;
  background: linear-gradient(to bottom, #fff 0%, #e5ebee 100%);
  display: flex;
  align-items: center;
  padding-top: 100px !important;
}
@media screen and (max-width: 767px){
  #excellence{

  }
}

/* ── MODEL SECTION ── */
#model {
  background: linear-gradient(to bottom, #e5ebee 0%, #dfe6ea 100%);
  position: relative;
  z-index: 2;
  --model-parallax-1-x: 0px;
  --model-parallax-1-y: 0px;
  --model-parallax-2-x: 0px;
  --model-parallax-2-y: 0px;
  --model-parallax-3-x: 0px;
  --model-parallax-3-y: 0px;
  --model-parallax-4-x: 0px;
  --model-parallax-4-y: 0px;
  padding-top: 100px !important;
  min-height: 100vh;
}

.model-heading {
  font-family: 'gotham-bold', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.model-diagram-wrap {
  width: 100%;

  margin: 0 auto;
  overflow: visible;
}

.model-diagram {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0 auto;
  isolation: isolate;
}

.model-decor-circle {
  position: absolute;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.model-decor-circle.circle-1 {
  width: 34%;
  aspect-ratio: 1;
  top: 7%;
  left: -24%;
  transform: translate3d(var(--model-parallax-1-x), var(--model-parallax-1-y), 0);
}

.model-decor-circle.circle-2 {
  width: 46%;
  aspect-ratio: 1;
  top: 6%;
  left: 5%;
  transform: translate3d(var(--model-parallax-2-x), var(--model-parallax-2-y), 0);
}

.model-decor-circle.circle-3 {
  width: 44%;
  aspect-ratio: 1;
  top: 29%;
  left: 54%;
  transform: translate3d(var(--model-parallax-3-x), var(--model-parallax-3-y), 0);
}

.model-decor-circle.circle-4 {
  width: 28%;
  aspect-ratio: 1;
  top: 17%;
  right: -24%;
  transform: translate3d(var(--model-parallax-4-x), var(--model-parallax-4-y), 0);
}

.model-patient {
  position: absolute;
  width: 26.39%;
  height: 35.19%;
  border-radius: 50%;
  background: #555;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  overflow: hidden;
  border: 2px solid #264a72;
}

.model-patient img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.model-patient-label {
  position: absolute;
  top: calc(50% + 22%);
  left: 50%;
  transform: translateX(-50%);
  color: #264a72;
  font-size: 1.35rem;
  letter-spacing: 0.55rem;
  text-transform: uppercase;
  z-index: 3;
}

.model-node {
  position: absolute;
  width: 23.61%;
  height: 31.48%;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: -14px 18px 34px rgba(38, 74, 114, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #264a72;
  text-transform: uppercase;
  z-index: 2;
  overflow: visible;
}

/*
  Container 720×540 → patient center (360, 270), r=95
  All nodes at distance 200px from patient center on arc angles:
    node-1: 120° → center (260, 97)  → top-left (175, 12)
    node-2:  60° → center (460, 97)  → top-left (375, 12)
    node-3: 210° → center (187, 370) → top-left (102, 285)
    node-4: 330° → center (533, 370) → top-left (448, 285)
  Symmetric: 260+460=720 ✓  187+533=720 ✓  97=97 ✓  370=370 ✓
*/
#model-node-1 { top: 0%; left: 20.83%; }
#model-node-2 { top: 0%; left: 55.56%; }
#model-node-3 { top: 37.04%; left: 6.94%; }
#model-node-4 { top: 37.04%; left: 69.44%; }

/*
  ::after lines: from node center → patient circumference (~105px)
  transform-origin: 0 50% anchors the line at the node center
  Angles (clockwise from 3-o'clock, toward patient center):
    node-1 at (260,97):  direction to (360,270) → angle 60°
    node-2 at (460,97):  direction to (360,270) → angle 120°
    node-3 at (187,370): direction to (360,270) → angle -30°
    node-4 at (533,370): direction to (360,270) → angle 210°
*/
.model-node::after {
  /* content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  height: 1.5px;
  background: linear-gradient(to right, transparent 85px, #bbb 85px);
  transform-origin: 0 50%;
  pointer-events: none; */
}

#model-node-1::after { width: 100%; transform: rotate(60deg);  }
#model-node-2::after { width: 100%; transform: rotate(120deg); }
#model-node-3::after { width: 100%; transform: rotate(0deg); }
#model-node-4::after { width: 100%; transform: rotate(180deg); }

.model-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media screen and (max-width: 767px){
  .model-stats {
    transform: scale(1.5);
  }
}

#model-number {
  font-family: 'gotham-bold', sans-serif;
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  display: inline-block;
}

#model-services {
  font-size: clamp(20px, 3vw, 34px);
  color: #1a1a1a;
  line-height: 1.2;
  display: inline-block;
}

/* Timeline dots */
#history .owl-dots {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 0 20px;
  margin-top: 3rem;
}

#history .owl-dots::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 63%;
  height: 1px;
  background: #ccc;
  transform: translateY(-50%);
}

#history .owl-dot {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
}

#history .owl-dot:first-child {
  justify-content: flex-start;
  flex: .5;
}

#history .owl-dot:last-child {
  justify-content: flex-end;
  flex: .5;
}

#history .owl-dot span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  border: 2px solid #aaa;
  display: block;
  transition: background 0.3s, border-color 0.3s;
}

#history .owl-dot.active span {
  background: #2c4a6b;
  border-color: #2c4a6b;
}

#history .owl-nav {
  position: absolute;
  top: 38%;
  left: -50px;
  right: -50px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

#history .owl-nav button.owl-prev,
#history .owl-nav button.owl-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(44, 74, 107, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  pointer-events: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

#history .owl-nav button.owl-prev:hover,
#history .owl-nav button.owl-next:hover {
  background: #F37C21;
  transform: scale(1.06);
}

#history .owl-nav button.disabled {
  opacity: 0.32;
  cursor: default;
  transform: none;
}

#history .owl-nav button span {
  display: block;
  margin-top: -4px;
}

/* ── EXPLORE SECTION ── */
#explore {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 28% 100%, rgba(203, 189, 167, 0.68) 0%, rgba(203, 189, 167, 0.36) 22%, rgba(203, 189, 167, 0) 52%),
    radial-gradient(circle at 72% 100%, rgba(203, 189, 167, 0.72) 0%, rgba(203, 189, 167, 0.34) 24%, rgba(203, 189, 167, 0) 54%),
    linear-gradient(to bottom, #dfe6ea 0%, #929cad 100%);
  padding-top: 100px !important;
}

#explore-canvas {
  display: block;
  margin: 0 auto;
  /* width/height set by JS */
}

#explore-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ── CONTACT SECTION ── */
#contact {
  z-index: 2;
  background:
    radial-gradient(circle at 100% 100%, rgba(244, 224, 193, 0.78) 0%, rgba(244, 224, 193, 0.35) 24%, rgba(244, 224, 193, 0) 52%),
    linear-gradient(110deg, #c4d3da 0%, #d4d7d2 52%, #efe2cc 100%);
  min-height: 720px;
  display: flex;
  align-items: center;
}

#contact .contact-title {
  color: #264a72;
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.95;
}

#contact .contact-title span {
  font-family: 'gotham-black', sans-serif;
}

#contact .contact-copy {
  color: #264a72;
  line-height: 1.45;
  max-width: 460px;
}

#contact .btn-orange {
  min-width: 340px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

#contact .gform_fields {
  display: grid;
  gap: 2rem;
}

#contact .gfield {
  border: 0;
  margin: 0;
  padding: 0;
}

#contact .gfield_label {
  color: #264a72;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"],
#contact select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: transparent;
  color: #264a72;
  font-size: 1.35rem;
  line-height: 1.4;
  padding: 0 0 1rem;
  outline: 0;
}

#contact input::placeholder,
#contact select {
  color: #6f98b7;
  opacity: 1;
}

#contact .gchoice {
  position: relative;
}

#contact .gchoice input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

#contact .gchoice label {
  min-width: 180px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: #264a72;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.35rem;
  padding: 0.7rem 1.6rem;
}

#contact .gchoice label::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
}

#contact .gchoice input:checked + label::before {
  background: #264a72;
}

#contact .ginput_container_consent {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#contact .ginput_container_consent input {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  appearance: none;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: transparent;
}

#contact .ginput_container_consent input:checked {
  background: #264a72;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.9);
}

#contact .ginput_container_consent label {
  color: #264a72;
  font-size: 1.25rem;
  line-height: 1.35;
}

#contact .gform_footer {
  margin-top: 1rem;
}

@media screen and (max-width: 991px) {
  #contact {
    min-height: 0;
  }

  #contact .btn-orange {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .history-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .history-year-wrap {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    height: 3.8em;
  }

  .history-text-wrap {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    transform: translateX(0);
  }

  #history .owl-nav {
    top: auto;
    bottom: 86px;
    left: 0;
    right: 0;
  }

  #history .owl-nav button.owl-prev,
  #history .owl-nav button.owl-next {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
}

@media (max-width:767px) {
  .modal-dialog {
    width: calc(100vw - 1.25rem);
    margin: 0.625rem auto;
  }

  .modal-content {
    max-height: calc(100vh - 1.25rem);
  }

  .embed-responsive {
    max-height: calc(100vh - 1.25rem);
  }

  .hero-banner {
    min-height: 100svh;
  }

  #hero-nav-links {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 1rem;
    margin-top: 0.5rem;
  }

  #hero-title {
    margin-top: 20px;
  }

  #hero-subtitle {
  }
  #hero-scroll{
    width: fit-content;
    margin: 0 auto;
  }

  .hero-divider {
    margin: 1rem auto;
  }

  .model-diagram-wrap {
    max-width: 420px;
    padding-inline: 0;
  }

  .model-diagram {
    aspect-ratio: 1 / 1;
  }

  .model-patient {
    width: 31%;
    height: 31%;
    top: 58%;
    left: 50%;
  }

  .model-patient-label {
    bottom: -2.25rem;
    font-size: 12px;
  }

  .model-node {
    width: 27%;
    height: 27%;
  }

  .model-node::after {
    width: 23%;
    background: linear-gradient(to right, transparent 50%, #bbb 40%);
  }

  #model-node-1 {
    top: 16%;
    left: 14%;
  }

  #model-node-2 {
    top: 16%;
    left: 58%;
  }

  #model-node-3 {
    top: 48%;
    left: 1%;
  }

  #model-node-4 {
    top: 48%;
    left: 72%;
  }

  .model-stats {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  #model-number {
    font-size: clamp(48px, 14vw, 72px);
  }

  #model-services {
    font-size: clamp(18px, 5vw, 26px);
  }

  #gform_fields_15 {
    column-gap: normal !important;
    row-gap: 20px !important
  }

  label[for="input_15_3"],
  label[for="input_15_6"],
  label[for="input_15_8"] {
    display: none !important
  }
}
