:root {
  --color-brand: #0097d8;
  --color-brand-dark: #0274be;
  --color-brand-hover: #00a0df;
  --color-text: #3a3a3a;
  --color-line: #ccc;
  --color-panel: rgba(255, 255, 255, 0.85);
  --font-body: "Open Sans", sans-serif;
  --header-height: 70px;
  --header-height-mobile: 50px;
  --content-max: 1200px;
  --panel-max: 700px;
}

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

html {
  font-size: 125%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8571428571;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-brand-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-text);
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

h1 {
  font-size: 2rem;
  line-height: 1.4;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.2rem;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  background: transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--content-max);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 20px;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 20px 1em 0;
  color: #fff;
  font-weight: 400;
  line-height: var(--header-height);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: rgba(255, 255, 255, 0.7);
}

.section {
  position: relative;
}

.section--image {
  min-height: 100vh;
  display: grid;
  align-items: center;
  scroll-margin-top: var(--header-height-mobile);
}

.section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 20px;
}

.section__inner--hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.section__bg {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.section__bg--one {
  background-image: url("/assets/images/one.jpg");
  background-image: image-set(
    url("/assets/images/one.webp") type("image/webp"),
    url("/assets/images/one.jpg") type("image/jpeg")
  );
}

.section__bg--two {
  background-image: url("/assets/images/two.jpg");
  background-image: image-set(
    url("/assets/images/two.webp") type("image/webp"),
    url("/assets/images/two.jpg") type("image/jpeg")
  );
}

@media (min-width: 768px) {
  .section__bg,
  .hero__bg {
    background-attachment: fixed;
  }
}

@media (max-width: 1024px) {
  .section__bg,
  .hero__bg {
    background-position: center center;
  }
}

.hero {
  min-height: 100vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-brand);
  background-image: url("/assets/images/hero-bg-1.svg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__content {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: 10px;
}

.hero__logo {
  width: min(400px, 80vw);
}

.panel-columns {
  padding: 20%;
}

.panel-wrap {
  max-width: var(--panel-max);
  margin: 0 auto;
  padding: 10px;
}

.panel {
  width: 100%;
  padding: 10% 5%;
  background: var(--color-panel);
}

.panel__logo {
  width: min(250px, 70%);
  margin: 0 auto 1.2rem;
}

.underlines {
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
}

.underlines a {
  color: inherit;
}

.underlines a:hover,
.underlines a:focus {
  color: var(--color-brand-dark);
}

.spacer {
  display: block;
  width: 100%;
}

.spacer--50 {
  height: 50px;
}

.spacer--100 {
  height: 100px;
}

.doctors {
  display: block;
}

.doctor-card {
  text-align: center;
}

.doctor-card img {
  width: 245px;
  max-width: 100%;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  display: inline;
  font-weight: 400;
  text-align: left;
}

.form-field input,
.form-field textarea,
.button {
  font: inherit;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  color: var(--color-text);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--color-brand-dark);
  outline-offset: 2px;
}

.button {
  justify-self: start;
  border: 0;
  border-radius: 2px;
  padding: 20px 40px;
  background: var(--color-brand-dark);
  color: #fff;
  font-weight: inherit;
  line-height: 1;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--color-brand-hover);
  color: #fff;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 700;
  text-align: left;
}

.form-status.is-success {
  color: #2f6b3f;
}

.form-status.is-error {
  color: #9a2f2f;
}

.map-wrap {
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 976px) {
  .panel-columns {
    padding: 10%;
  }
}

@media (max-width: 921px) {
  .site-header__inner {
    min-height: var(--header-height-mobile);
  }

  .site-nav a {
    padding: 0 20px;
    font-size: 0.9rem;
    line-height: var(--header-height-mobile);
  }

  .hero__content {
    min-height: calc(100vh - var(--header-height-mobile));
  }

  h1 {
    font-size: 1.5rem;
  }

  .section__bg,
  .hero__bg {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .section--image .section__inner {
    padding: 0;
  }

  .panel-columns {
    padding: 20px;
  }
}
