:root {
  --navy: #0b2b59;
  --navy-deep: #071f42;
  --ink: #12233d;
  --slate: #356b94;
  --sky: #eaf3f9;
  --mist: #f5f9fc;
  --line: #d9e4ec;
  --white: #ffffff;
  --muted: #596a80;
  --shadow: 0 22px 60px rgba(11, 43, 89, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-width: 320px;
  overflow: hidden;
}

.content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.utility-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.93);
  font-size: 13px;
}

.utility-content {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-address,
.utility-right {
  display: flex;
  align-items: center;
  gap: 11px;
}

.utility-address span {
  color: #8db8d2;
  font-size: 9px;
}

.utility-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 228, 236, 0.75);
}

.nav-wrap {
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 310px;
  height: 120px;
  left: 80px;
  top: 20px;
  /* overflow: hidden; */
  flex: 0 0 auto;
}

.brand-mark img {
  position: absolute;
  width: 300px;
  height: auto;
  max-width: none;
  left: -63px;
  top: -51px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
  margin-left: auto;
  font-size: 24px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--slate);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.nav-phone {
  float: right;
  min-width: 135px;
  padding: 11px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-phone span {
  display: none;
}

.nav-phone:hover,
.nav-phone:focus-visible {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 35%, #f5f9fc 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 58px;
  padding-top: 62px;
  padding-bottom: 66px;
}

.hero-copy {
  animation: rise-in 520ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.osa-intro h2,
.about-copy h2,
.conditions-grid h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: #304159;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 760;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-deep);
}

.button-secondary {
  border-color: var(--slate);
  color: var(--slate);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--sky);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.trust-card {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 43, 89, 0.06);
  color: var(--ink);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.3;
}

.trust-icon {
  width: 29px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #b9d1e0;
  border-radius: 50%;
  color: var(--slate);
}

.portrait-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  animation: portrait-in 600ms 80ms ease both;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.86;
  border-radius: 28px 28px 72px 28px;
  background: #b7c9d6;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.physician-card {
  position: absolute;
  left: -44px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(217, 228, 236, 0.9);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 43, 89, 0.17);
}

.physician-card strong {
  color: var(--navy);
  font-size: 20px;
}

.physician-card span {
  color: var(--slate);
  font-size: 13px;
}

.hero-orbit {
  position: absolute;
  border: 72px solid rgba(234, 243, 249, 0.9);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 560px;
  height: 560px;
  right: -100px;
  top: 40px;
  z-index: 1;
}

.orbit-two {
  width: 420px;
  height: 420px;
  right: 260px;
  bottom: -290px;
  opacity: 0.65;
  z-index: 1;
}

.quick-contact {
  position: relative;
  z-index: 4;
  background: var(--navy);
  color: var(--white);
}

.quick-contact-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1fr;
  align-items: center;
}

.quick-contact-grid > div {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
}

.quick-contact-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.quick-label {
  color: #a6c7da;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-contact-grid a,
.quick-contact-grid span:not(.quick-label) {
  font-size: 14px;
  font-weight: 620;
}

.quick-contact-grid a:hover,
.quick-contact-grid a:focus-visible {
  text-decoration: underline;
}

.section {
  padding: 50px 0;
}

.services-section {
  background: var(--white);
}

.services-section p {
  z-index: 50;
}

.section-heading,
.osa-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-heading h2,
.osa-intro h2,
.about-copy h2,
.conditions-grid h2,
.contact-copy h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  position: relative;
  z-index: 50;
}

.section-heading > p,
.osa-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 175px;
  padding: 28px;
  background: var(--mist);
  border: 1px solid #e4edf3;
  border-radius: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 20px 45px rgba(11, 43, 89, 0.1);
}

/*
.service-number {
  display: block;
  margin-bottom: 44px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}*/

.service-card h3,
.osa-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

.service-card p,
.osa-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.osa-section {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
}

.eyebrow-light {
  color: #9bc0d7;
}

.osa-intro h2,
.contact-copy h2 {
  color: var(--white);
}

.osa-intro > p {
  color: rgba(255, 255, 255, 0.7);
}

.osa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.osa-card {
  min-height: 284px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.osa-card > span {
  display: block;
  margin-bottom: 58px;
  color: #9bc0d7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.osa-card h3 {
  color: var(--white);
}

.osa-card p {
  color: rgba(255, 255, 255, 0.72);
}

.medical-note {
  max-width: 940px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: 11px;
  line-height: 1.6;
}

.about-section {
  background: var(--mist);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 88px;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-wrap > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px 24px 74px 24px;
  box-shadow: var(--shadow);
}

.about-stat {
  position: absolute;
  right: -30px;
  bottom: -15px;
  max-width: 140px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 3px 5px;
  background: var(--white);
  border-radius: 13px;
  color: var(--white);
  box-shadow: 0 16px 36px rgba(11, 43, 89, 0.22);
}

.about-stat strong {
  font-size: 28px;
}

.about-stat span {
  max-width: 96px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
}

.about-role {
  margin: 10px 0 24px !important;
  color: var(--slate) !important;
  font-weight: 720;
}

.about-copy > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}

.credential-list span {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 670;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 780;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.conditions-section {
  background: var(--white);
}

.conditions-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: start;
}

.conditions-grid > div:first-child > p:last-child {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.condition-list div {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--mist);
  border: 1px solid #e5edf3;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.condition-list span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--sky);
  border-radius: 50%;
  color: var(--slate);
  font-size: 12px;
}

.contact-section {
  padding-top: 30px;
  background: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  padding: 68px;
  background: linear-gradient(135deg, var(--navy) 0%, #123c6d 100%);
  border-radius: 26px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--sky);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
  align-content: center;
}

.contact-details > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-details > div > span:first-child {
  color: #a6c7da;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details > div > span:last-child {
  color: var(--white);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.55;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  text-decoration: underline;
}

.site-footer {
  margin-top: 100px;
  padding: 64px 0 24px;
  background: #f1f6f9;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer-brand p {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.footer-logo {
  width: 250px;
  height: 110px;
}

.footer-logo img {
  width: 250px;
  left: -56px;
  top: -45px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-grid h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 13px;
}

.footer-grid a,
.footer-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #7b899a;
  font-size: 11px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portrait-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 18px;
  }

  .desktop-nav a:nth-child(2) {
    display: none;
  }

  .hero-grid {
    min-height: 610px;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .trust-card {
    min-height: 48px;
  }

  .footer-logo img {
    width: 250px;
    left: -56px;
    top: -45px;
  }
}

@media (max-width: 820px) {
  .content {
    width: min(100% - 32px, 680px);
  }

  .utility-content {
    min-height: 44px;
  }

  .utility-address {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .utility-right span:first-child,
  .utility-divider {
    display: none;
  }

  .nav-wrap {
    height: 185px;
  }

  .brand-mark {
    width: 310px;
    height: 120px;
    left: 80px;
    top: 20px;
  }

  .brand-mark img {
    width: 300px;
    left: -63px;
    top: -51px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-phone {
    min-width: auto;
    padding: 11px 14px;
    font-size: 0;
  }

  .nav-phone span {
    display: inline;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 58px;
    padding-bottom: 70px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .portrait-stage {
    max-width: 520px;
    justify-self: center;
  }

  .physician-card {
    left: 18px;
  }

  .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .quick-contact-grid {
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .quick-contact-grid > div,
  .quick-contact-grid > div:first-child {
    min-height: auto;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .quick-contact-grid > div:first-child {
    border-top: 0;
  }

  .section {
    padding: 50px 0;
  }

  .section-heading,
  .osa-intro,
  .about-grid,
  .conditions-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .osa-intro {
    gap: 22px;
  }

  .service-grid,
  .osa-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .conditions-grid {
    gap: 54px;
  }

  .about-photo-wrap {
    max-width: 520px;
  }

  .contact-card {
    gap: 46px;
    padding: 50px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 30px;
  }

  .footer-logo img {
    width: 250px;
  }
}

@media (max-width: 580px) {
  .content {
    width: min(100% - 28px, 500px);
  }

  .utility-address {
    display: none;
  }

  .utility-content {
    justify-content: center;
  }

  .utility-right {
    width: 100%;
    justify-content: center;
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand-mark {
    width: 300px;
    height: 120px;
  }

  .brand-mark img {
    width: 288px;
    left: -52px;
    top: -40px;
  }

  .hero-grid {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    border-radius: 20px 20px 52px 20px;
  }

  .physician-card {
    right: 14px;
    left: 14px;
    bottom: 14px;
    padding: 14px 18px;
  }

  .service-grid,
  .osa-card-grid,
  .condition-list,
  .contact-details,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .osa-card {
    min-height: auto;
  }

  .service-number,
  .osa-card > span {
    margin-bottom: 28px;
  }

  .about-stat {
    float: right;
    margin-right: 20px;
    bottom: -15px;
  }

  .contact-card {
    width: calc(100% - 28px);
    gap: 36px;
    padding: 34px 24px;
    border-radius: 20px;
  }

  .site-footer {
    margin-top: 76px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-logo img {
    width: 250px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
