@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/Montserrat-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/Montserrat-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/Montserrat-SemiBold.ttf") format("truetype");
}

:root {
  --cream: #fdfbf8;
  --hero-cream: #f8f4ec;
  --brown: #391d08;
  --body: #333333;
  --gold: #d19058;
  --nav-gold: #d9bd83;
  --blue: #0074a3;
  --red: #c90027;
  --dark-red: #a1001f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
}

.design-frame {
  width: 1920px;
  min-height: 754px;
  background: #ffffff;
}

.top-header {
  width: 1920px;
  height: 100px;
  padding: 14px 184.141px 5.31px 184px;
  display: flex;
  align-items: center;
  gap: 74px;
  background: var(--cream);
}

.logo {
  width: 123px;
  height: 80.69px;
  display: block;
  flex: 0 0 auto;
}

.header-content {
  width: 1339.717px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.contact-block {
  display: grid;
  grid-template-columns: 20px auto;
  column-gap: 12px;
  align-items: start;
  color: var(--body);
}

.address-block {
  width: 231.33px;
  height: 48px;
}

.location-icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  display: block;
}

.location-outer {
  position: absolute;
  left: 12.5%;
  top: 4.17%;
  width: 75%;
  height: 91.66%;
}

.location-dot {
  position: absolute;
  left: 37.5%;
  top: 29.17%;
  width: 25%;
  height: 25%;
}

.address-block p {
  width: 199.33px;
  height: 48px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.divider {
  width: 1px;
  height: 50px;
  background: #e8e1d7;
  flex: 0 0 auto;
}

.phone-block {
  width: 231.125px;
  grid-template-columns: 20px 199.125px;
  column-gap: 12px;
}

.header-icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.phone-block p {
  width: 199.125px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-block a {
  height: 22px;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  color: var(--body);
  display: flex;
  align-items: center;
}

.phone-block span {
  height: 15px;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: var(--gold);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.call-button,
.consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(90deg, var(--red) 0%, var(--dark-red) 100%);
  box-shadow: 0 0 20px 4px rgba(161, 0, 31, 0.3);
  white-space: nowrap;
}

.call-button {
  height: 42px;
  padding: 13px 31px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

.social-button {
  width: 45px;
  height: 45px;
  display: block;
}

.social-button img {
  width: 45px;
  height: 45px;
  display: block;
}

.search-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-link img {
  width: 18px;
  height: 18px;
}

.search-link span,
.accessibility-link span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.search-link span {
  width: 104.271px;
  height: 16px;
  display: flex;
  align-items: center;
}

.accessibility-link {
  width: 185.721px;
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}

.accessibility-link img {
  width: 31.721px;
  height: 18.505px;
  flex: 0 0 auto;
}

.accessibility-link span {
  width: 104.271px;
}

.main-nav {
  width: 1920px;
  height: 50px;
  padding: 0 220px;
  background: linear-gradient(90deg, #3f1822 13.462%, #57212f 86.538%);
}

.main-nav ul {
  position: relative;
  width: 1480px;
  height: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: absolute;
  top: 17.5px;
  height: 15px;
  display: flex;
  align-items: center;
}

.main-nav a {
  color: var(--nav-gold);
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav .active {
  top: 0;
  bottom: 0;
  left: 40px;
  width: 57px;
  height: 50px;
}

.main-nav .active a {
  color: #ffffff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.main-nav .active::after {
  content: "";
  position: absolute;
  box-sizing: content-box;
  left: 18.43px;
  bottom: 0;
  width: 20px;
  height: 10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--cream);
}

.main-nav li:nth-child(2) {
  left: 238.58px;
}

.main-nav li:nth-child(3) {
  left: 424.25px;
}

.main-nav li:nth-child(4) {
  left: 615.38px;
}

.main-nav li:nth-child(5) {
  left: 938.19px;
}

.main-nav li:nth-child(6) {
  left: 1132.27px;
}

.main-nav li:nth-child(7) {
  left: 1360.42px;
}

.hero {
  position: relative;
  width: 1920px;
  height: 604px;
  overflow: hidden;
  background: var(--hero-cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg img {
  position: absolute;
  left: 52.8%;
  top: 0;
  width: 47.22%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(248, 244, 236) 46.816%, rgba(249, 244, 236, 0.6) 57.379%, rgba(249, 244, 236, 0) 69.974%);
}

.doctor {
  position: absolute;
  left: 1203px;
  bottom: 0;
  width: 395px;
  height: 553px;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: absolute;
  left: 320px;
  top: 302px;
  transform: translateY(-50%);
  width: 635px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.hero-copy {
  display: flex;
  width: 635px;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.eyebrow {
  margin: 0;
  padding: 0 0 1px 3px;
  border-bottom: 1px solid var(--blue);
  color: var(--brown);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

h1 {
  width: 635px;
  margin: 0;
  color: var(--brown);
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--red) 0%, var(--dark-red) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--brown);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.benefits li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  flex: 0 0 auto;
  background: url("./assets/bullet.svg") center / contain no-repeat;
}

.consult-row {
  width: 635px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.consult-button {
  width: 298px;
  height: 56px;
  padding: 20px 53px;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.consult-row p {
  margin: 0;
  color: var(--brown);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.consult-row span {
  color: var(--blue);
}

.stats {
  width: 635px;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: center;
}

.stats dt,
.stats dd {
  margin: 0;
}

.stats img {
  width: 40px;
  height: 40px;
  display: block;
}

.stats div:first-child img {
  width: 36px;
  height: 36px;
  margin: 2px;
}

.stats div:nth-child(3) img {
  width: 36px;
  height: 33.65px;
  margin: 3.175px 2px;
}

.stats dd {
  color: var(--brown);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  white-space: nowrap;
}

@media (max-width: 1919px) {
  .page-shell {
    overflow-x: hidden;
  }

  .design-frame {
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .top-header {
    width: 100%;
    height: auto;
    min-height: 100px;
    padding: 14px clamp(24px, 5vw, 80px) 10px;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
  }

  .header-content {
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 50px;
    flex: 1 1 900px;
    gap: 18px 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .main-nav {
    width: 100%;
    height: auto;
    min-height: 50px;
    padding: 0 clamp(24px, 6vw, 120px);
  }

  .main-nav ul {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 50px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
  }

  .main-nav li,
  .main-nav .active,
  .main-nav li:nth-child(2),
  .main-nav li:nth-child(3),
  .main-nav li:nth-child(4),
  .main-nav li:nth-child(5),
  .main-nav li:nth-child(6),
  .main-nav li:nth-child(7) {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    height: 50px;
  }

  .main-nav li {
    align-items: center;
  }

  .main-nav .active a {
    position: static;
    transform: none;
  }

  .main-nav .active::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    width: 100%;
    height: 604px;
  }

  .hero-bg img {
    left: auto;
    right: 0;
    width: 50%;
  }

  .doctor {
    left: auto;
    right: clamp(80px, 12vw, 220px);
    width: clamp(300px, 24vw, 395px);
    height: auto;
  }

  .hero-content {
    left: clamp(48px, 8vw, 220px);
    width: min(635px, 52vw);
  }

  .hero-copy,
  h1,
  .consult-row,
  .stats {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .top-header {
    align-items: flex-start;
  }

  .header-content {
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .divider {
    display: none;
  }

  .main-nav {
    padding: 0 32px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 0;
  }

  .main-nav li,
  .main-nav .active,
  .main-nav li:nth-child(2),
  .main-nav li:nth-child(3),
  .main-nav li:nth-child(4),
  .main-nav li:nth-child(5),
  .main-nav li:nth-child(6),
  .main-nav li:nth-child(7) {
    height: 32px;
  }

  .main-nav .active::after {
    display: none;
  }

  .hero {
    height: 620px;
  }

  .hero-content {
    left: 48px;
    width: min(560px, calc(100% - 400px));
  }

  h1 {
    font-size: 44px;
  }

  .doctor {
    right: 40px;
    width: 300px;
  }
}

@media (max-width: 899px) {
  .top-header {
    padding: 16px 24px;
    gap: 20px;
  }

  .header-content {
    gap: 18px 22px;
  }

  .contact-block,
  .address-block,
  .phone-block {
    width: auto;
    max-width: 100%;
  }

  .address-block p,
  .phone-block p,
  .phone-block a,
  .phone-block span {
    width: auto;
    height: auto;
  }

  .phone-block span {
    white-space: normal;
  }

  .main-nav {
    padding: 0 24px;
  }

  .main-nav ul {
    gap: 12px 22px;
  }

  .hero {
    height: auto;
    min-height: 760px;
    padding: 48px 24px 280px;
  }

  .hero-bg img {
    left: 0;
    width: 100%;
    opacity: 0.28;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgb(248, 244, 236) 0%, rgba(248, 244, 236, 0.92) 54%, rgba(248, 244, 236, 0.65) 100%);
  }

  .doctor {
    right: 24px;
    width: min(310px, 70vw);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .hero-copy {
    max-width: 650px;
  }

  h1 {
    max-width: 650px;
    font-size: 40px;
  }

  .consult-row {
    max-width: 650px;
  }

  .stats {
    max-width: 460px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .top-header {
    padding: 14px 16px 18px;
  }

  .logo {
    width: 104px;
    height: auto;
  }

  .header-content {
    gap: 16px;
  }

  .header-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .call-button {
    width: 100%;
    max-width: 260px;
  }

  .accessibility-link {
    width: auto;
    min-width: 185.721px;
  }

  .main-nav {
    padding: 0 16px;
  }

  .main-nav ul {
    gap: 10px 18px;
    padding: 12px 0;
  }

  .main-nav li,
  .main-nav .active,
  .main-nav li:nth-child(2),
  .main-nav li:nth-child(3),
  .main-nav li:nth-child(4),
  .main-nav li:nth-child(5),
  .main-nav li:nth-child(6),
  .main-nav li:nth-child(7) {
    height: 28px;
  }

  .hero {
    min-height: 1000px;
    padding: 36px 16px 450px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-copy {
    gap: 12px;
  }

  .eyebrow {
    font-size: 12px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.15;
  }

  .benefits,
  .consult-row p,
  .stats dd {
    font-size: 14px;
  }

  .consult-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .consult-button {
    width: 100%;
    max-width: 298px;
    padding: 18px 24px;
  }

  .stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
  }

  .doctor {
    right: 0;
    width: min(280px, 72vw);
    opacity: 0.72;
  }
}
