/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --black: #292929;
  --white: #FFFFFF;
  --purple: #422969;
  --red: #E71617;
  --teal: #C8E9EB;
  --offWhite: #F5F5F5;
  --gray: #908E8E;
  --body-font: "Causten", sans-serif;
  --round-body-font: "CaustenRound", sans-serif;
}

@font-face {
  font-family: "Causten";
  src: url("../fonts/Causten/Causten-Regular.woff2") format("woff2"), url("../fonts/Causten/Causten-Regular.woff") format("woff");
  font-weight: 400;
}
@font-face {
  font-family: "Causten";
  src: url("../fonts/Causten/Causten-RegularOblique.woff2") format("woff2"), url("../fonts/Causten/Causten-RegularOblique.woff") format("woff");
  font-weight: 400;
  font-style: oblique;
}
@font-face {
  font-family: "Causten";
  src: url("../fonts/CaustenRound/CaustenRound-Medium.woff2") format("woff2"), url("../fonts/CaustenRound/CaustenRound-Medium.woff") format("woff");
  font-weight: 500;
}
@font-face {
  font-family: "Causten";
  src: url("../fonts/Causten/Causten-MediumOblique.woff2") format("woff2"), url("../fonts/Causten/Causten-MediumOblique.woff") format("woff");
  font-weight: 500;
  font-style: oblique;
}
@font-face {
  font-family: "CaustenRound";
  src: url("../fonts/CaustenRound/CaustenRound-MediumOblique.woff2") format("woff2"), url("../fonts/CaustenRound/CaustenRound-MediumOblique.woff") format("woff");
  font-weight: 500;
  font-style: oblique;
}
@font-face {
  font-family: "Causten";
  src: url("../fonts/Causten/Causten-Bold.woff2") format("woff2"), url("../fonts/Causten/Causten-Bold.woff") format("woff");
  font-weight: 700;
}
@font-face {
  font-family: "CaustenRound";
  src: url("../fonts/CaustenRound/CaustenRound-Bold.woff2") format("woff2"), url("../fonts/CaustenRound/CaustenRound-Bold.woff") format("woff");
  font-weight: 700;
}
html, body {
  background-color: var(--white);
  color: var(--black);
  font-family: var(--body-font);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--black);
}

sup {
  text-decoration: none;
  font-size: 60%;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

ul {
  list-style-type: none !important;
  padding-left: 32px;
}
ul li {
  display: flex;
  align-items: start;
  padding-top: 8px;
}
ul li::before {
  content: url(../img/facility-lp/check.svg);
  display: inline-block;
  width: 1.5em;
  margin-right: 1em;
  margin-left: -1.5em;
}
ul li span {
  display: inline-block;
}

p, li {
  font-size: 24px;
  line-height: 1.33;
}
p:first-child, li:first-child {
  margin-top: 0;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}

li {
  margin-bottom: 12px;
}

hr {
  margin-top: 48px;
  border: 0;
  border-top: 2px solid var(--gray);
}

.body-container {
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 9px solid var(--purple);
  z-index: 100;
  background-color: white;
}
.site-header .logo {
  font-size: 32px;
  text-decoration: none;
}
.site-header .logo + .logo {
    margin-left: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-cta .cta-text {
  max-width: 320px;
  font-size: 24px;
}
.header-cta .cta-text .contact {
  margin: 0;
  line-height: 1;
}

.qr-code {
  width: 100px;
  height: 100px;
}

.site-nav {
  display: flex;
  gap: 32px;
  justify-content: start;
  align-items: center;
  padding: 20px 0;
}
.site-nav .logo {
  width: 33%;
  max-width: 150px;
}
.site-nav .logo.miami {
  max-width: 100px;
}
.site-nav .logo img {
  width: 100%;
}

.hero {
  position: relative;
}
.hero.container {
  display: flex;
  flex-direction: row-reverse;
}
.hero h1 {
  font-size: 82px;
  line-height: 70px;
  margin-bottom: 0;
  font-family: var(--round-body-font);
}
.hero .hero-bg {
  background-image: url(../img/facility-lp/banner-scabies.jpg);
  background-color: var(--offWhite);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  width: 100%;
  height: calc(100% - 40px);
  position: absolute;
  z-index: 0;
}
.hero .hero-text {
  background: var(--red);
  padding: 24px 48px 48px 48px;
  max-width: 560px;
  color: white;
  border-radius: 0 0 100px 32px;
  margin-bottom: -50px;
  z-index: 1;
  position: relative;
}
.hero .hero-text a {
  color: inherit;
}

.hero-space {
  margin-top: 64px;
}

.slider {
  overflow: hidden;
  position: relative;
  aspect-ratio: auto 2/1;
  background-color: var(--offWhite);
  flex-grow: 1;
  margin-left: -20px;
  border-right: 5px solid var(--purple);
  border-bottom: 5px solid var(--purple);
}

.slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.slider img:nth-child(1) {
  animation: fadeAnimation1 15s linear infinite;
}

.slider img:nth-child(2) {
  animation: fadeAnimation2 15s linear infinite;
}

.slider img:nth-child(3) {
  animation: fadeAnimation3 15s linear infinite;
}

@keyframes fadeAnimation1 {
  0%, 30% {
    opacity: 1;
  }
  33.33%, 63% {
    opacity: 0;
  }
  66.66%, 97.77% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeAnimation2 {
  0%, 30% {
    opacity: 0;
  }
  33.33%, 63% {
    opacity: 1;
  }
  66.66%, 100% {
    opacity: 0;
  }
}
@keyframes fadeAnimation3 {
  0%, 30% {
    opacity: 0;
  }
  33.33%, 63% {
    opacity: 0;
  }
  66.66%, 97.77% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.split-page {
  padding-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 100px;
}
.split-page .content {
  max-width: 640px;
  margin-bottom: 24px;
}
.split-page h2, .split-page h2 a {
  font-size: 32px;
  line-height: 1;
  color: var(--red);
}
.split-page h2 + ul,
.split-page h2 + p, .split-page h2 a + ul,
.split-page h2 a + p {
  margin-top: 4px;
}

.call-number {
  position: sticky;
  top: 140px;
  max-width: 600px;
}
.call-number h2 {
  background-color: #F6F6F6;
  padding: 16px;
  border: dashed 3px #A5A5A5;
  color: var(--black);
  font-size: 22px;
  line-height: 1.33;
  text-align: center;
  margin-bottom: 16px;
}
.call-number h2 a {
  font-size: inherit;
}
.call-number p {
  font-size: 20px;
}

.closer-look {
  position: relative;
  width: 184px;
  height: 184px;
  margin: 0 auto -100px auto;
}
.closer-look .scabies-zoom {
  width: 184px;
  height: 184px;
  background-color: var(--black);
  border-radius: 50%;
  border: 11px solid var(--white);
  box-shadow: 0 0 0 1px var(--purple);
  display: flex;
  justify-content: center;
  align-items: center;
}
.closer-look .magnifying-glass {
  position: absolute;
  bottom: -16px;
  right: -16px;
}

.closer-look-info {
  max-width: 400px;
  background-color: var(--offWhite);
  border-radius: 24px;
  border: 1px solid var(--purple);
  padding: 128px 40px 40px;
}
.closer-look-info p {
  color: var(--purple);
  font-size: 24px;
  font-weight: 700;
}

.callout {
  padding: 42px 0;
  background-color: var(--teal);
}
.callout .container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.callout h2 {
  color: var(--purple);
  margin: 0 0 16px;
  font-size: 39px;
  line-height: 1;
}
.callout p {
  margin: 0;
  font-weight: 500;
}
.callout .qr-code {
  width: 150px;
  height: 150px;
}

.treatment-info {
  padding-top: 32px;
}
.treatment-info h2 {
  color: var(--red);
  font-size: 30px;
  line-height: 1.33;
}
.treatment-info li {
  font-size: 21px;
}

.references {
  padding-top: 32px;
}
.references p {
  font-size: 13px;
}

.site-footer {
  padding: 32px 0;
}
.site-footer p {
  font-size: 11px;
  color: var(--gray);
  margin: 0;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .split-page {
    gap: 32px;
  }
  .split-page .content {
    max-width: 50%;
  }
  .hero.container {
    padding: 0;
  }
  .hero .hero-text {
    max-width: 50%;
  }
  .hero .hero-text h1 {
    font-size: 52px;
    line-height: 48px;
  }
  .slider {
    border-right: none;
  }
}
@media screen and (max-width: 1000px) {
  .split-page {
    gap: 24px;
    flex-direction: column;
  }
  .split-page .content {
    max-width: 100%;
  }
  .split-page .closer-look-info {
    margin: 0 auto;
  }
}
@media screen and (max-width: 767px) {
  .site-nav {
    justify-content: center;
  }
  .site-nav .qr-code {
    width: 80px;
    height: 80px;
  }
  .site-nav .cta-text {
    font-size: 16px;
  }
  .hero {
    position: relative;
  }
  .hero.container {
    display: block;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero .hero-bg {
    width: 100%;
    height: 300px;
    position: relative;
    z-index: 0;
    display: none;
  }
  .hero .hero-text {
    max-width: 100%;
    margin-top: -75px;
  }
  .hero .hero-text h1 {
    font-size: 46px;
    line-height: 42px;
  }
  .hero-space {
    margin-top: 32px;
  }
  .slider {
    aspect-ratio: auto 4/3;
    max-width: none;
    border-right: none;
    border-bottom: none;
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 100%;
  }
  .split-page {
    gap: 8px;
  }
  .split-page h2, .split-page h2 a {
    font-size: 26px;
    line-height: 28px;
  }
  .callout .container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
@media screen and (max-width: 600px) {
  p, li {
    font-size: 16px;
  }
  .site-footer p {
    font-size: 11px;
  }
  .call-number h2 {
    font-size: 16px;
  }
  .call-number h2 a {
    font-size: inherit;
  }
  .call-number p {
    font-size: 16px;
  }
}
@media screen and (max-width: 500px) {
  .site-nav {
    gap: 16px;
    padding: 8px 0;
  }
  .site-footer .container {
    flex-direction: row;
  }
}
[x-cloak] {
  display: none !important;
}

html.sr .fadeIn, html.sr .fadeUp {
  visibility: hidden;
}

.legal-code {
  color: #5F5F5F !important;
}
