.dfao-refractive-page {
  --dfao-rf-navy: #062958;
  --dfao-rf-navy-deep: #031b3d;
  --dfao-rf-blue: #2864ce;
  --dfao-rf-blue-light: #4d86e8;
  --dfao-rf-green: #70c77d;
  --dfao-rf-ink: #173656;
  --dfao-rf-muted: #5b718a;
  --dfao-rf-line: #d9e6f2;
  --dfao-rf-surface: #f4f8fb;
  --dfao-rf-white: #fff;
  width: 100%;
  overflow: hidden;
  color: var(--dfao-rf-ink);
  background: var(--dfao-rf-white);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.dfao-managed-refractive-page .entry-title,
.dfao-managed-refractive-page .page-title {
  display: none !important;
}

.dfao-refractive-page *,
.dfao-refractive-page *::before,
.dfao-refractive-page *::after {
  box-sizing: border-box;
}

.dfao-refractive-page h1,
.dfao-refractive-page h2,
.dfao-refractive-page h3,
.dfao-refractive-page p,
.dfao-refractive-page ul,
.dfao-refractive-page figure {
  margin-top: 0;
}

.dfao-refractive-hero__inner,
.dfao-refractive-definition__inner,
.dfao-refractive-candidate__inner,
.dfao-refractive-exams__inner,
.dfao-refractive-techniques__inner,
.dfao-refractive-expectations__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.dfao-refractive-section-eyebrow,
.dfao-refractive-hero__eyebrow,
.dfao-refractive-candidate__eyebrow,
.dfao-refractive-expectations__eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: #24703d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dfao-refractive-section-eyebrow::before,
.dfao-refractive-hero__eyebrow::before,
.dfao-refractive-candidate__eyebrow::before,
.dfao-refractive-expectations__eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--dfao-rf-green);
}

.dfao-refractive-page h2 {
  margin-bottom: 24px;
  color: var(--dfao-rf-navy);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.04em;
}

.dfao-refractive-page h3 {
  color: var(--dfao-rf-navy);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.dfao-refractive-page p,
.dfao-refractive-page li {
  font-size: 19px;
  line-height: 1.72;
}

.dfao-refractive-hero {
  position: relative;
  min-height: 690px;
  padding: 78px 0 72px;
  isolation: isolate;
  background:
    radial-gradient(circle at 9% 9%, rgba(112, 199, 125, .17), transparent 31%),
    linear-gradient(122deg, #fafdff 0%, #f3f8fc 55%, #e9f2f9 100%);
}

.dfao-refractive-hero::after {
  position: absolute;
  right: -6%;
  bottom: -190px;
  width: 590px;
  height: 590px;
  border: 1px solid rgba(40, 100, 206, .12);
  border-radius: 50%;
  content: "";
}

.dfao-refractive-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, .78fr);
  align-items: center;
  gap: clamp(54px, 7vw, 105px);
}

.dfao-refractive-hero__content {
  max-width: 680px;
}

.dfao-refractive-hero h1 {
  max-width: 730px;
  margin-bottom: 28px;
  color: var(--dfao-rf-navy);
  font-size: clamp(52px, 6.4vw, 84px);
  font-weight: 850;
  line-height: .99;
  letter-spacing: -.058em;
}

.dfao-refractive-hero__lead {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--dfao-rf-muted);
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.58 !important;
}

.dfao-refractive-hero__visual {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: 17px;
}

.dfao-refractive-hero__photo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
  border: 8px solid rgba(255, 255, 255, .82);
  border-radius: 210px 210px 42px 42px;
  background: #efe4cf;
  box-shadow: 0 30px 80px rgba(6, 41, 88, .22);
}

.dfao-refractive-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
}

.dfao-refractive-hero__photo::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(3, 27, 61, .85));
}

.dfao-refractive-hero__photo figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 23px;
  left: 26px;
  color: #fff;
}

.dfao-refractive-hero__photo figcaption strong,
.dfao-refractive-hero__photo figcaption span {
  display: block;
}

.dfao-refractive-hero__photo figcaption strong {
  font-size: 18px;
  line-height: 1.35;
}

.dfao-refractive-hero__photo figcaption span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.dfao-refractive-hero__orbit,
.dfao-refractive-hero__glow,
.dfao-refractive-candidate__orbit,
.dfao-refractive-expectations__orbit {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.dfao-refractive-hero__orbit {
  z-index: 1;
  border: 1px solid rgba(40, 100, 206, .3);
}

.dfao-refractive-hero__orbit::after,
.dfao-refractive-candidate__orbit::after,
.dfao-refractive-expectations__orbit::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--dfao-rf-green);
  box-shadow: 0 0 18px var(--dfao-rf-green);
}

.dfao-refractive-hero__orbit--one {
  inset: -15px -10px 40px;
  animation: dfao-rf-spin 19s linear infinite;
}

.dfao-refractive-hero__orbit--two {
  inset: 38px -53px -7px 50px;
  border-style: dashed;
  animation: dfao-rf-spin-reverse 25s linear infinite;
}

.dfao-refractive-hero__glow--one {
  top: 19%;
  left: 5%;
  width: 210px;
  height: 210px;
  opacity: .55;
  background: rgba(112, 199, 125, .22);
  filter: blur(70px);
  animation: dfao-rf-drift 8s ease-in-out infinite;
}

.dfao-refractive-hero__glow--two {
  right: 7%;
  bottom: 8%;
  width: 260px;
  height: 260px;
  opacity: .4;
  background: rgba(40, 100, 206, .22);
  filter: blur(80px);
  animation: dfao-rf-drift 10s ease-in-out -2s infinite;
}

.dfao-refractive-definition {
  padding: 110px 0;
  background: #fff;
}

.dfao-refractive-definition__inner {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(64px, 8vw, 130px);
}

.dfao-refractive-definition__visual {
  position: relative;
  display: grid;
  width: min(100%, 440px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, rgba(77, 134, 232, .12) 0 1px, transparent 1px 25px),
    radial-gradient(circle, #eef7ff 0 47%, #e7f2fa 48% 100%);
}

.dfao-refractive-definition__visual > b {
  position: absolute;
  left: 8%;
  width: 37%;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, transparent, #75dd84);
  box-shadow: 0 0 18px rgba(112, 199, 125, .75);
  transform-origin: right center;
  animation: dfao-rf-scan 4.8s ease-in-out infinite;
}

.dfao-refractive-definition__cornea {
  position: relative;
  z-index: 2;
  display: grid;
  width: 55%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(40, 100, 206, .28);
  border-radius: 50%;
  background: radial-gradient(circle at 37% 32%, #fff 0 5%, #2e67cc 6% 38%, #0c3c82 65%, #062958);
  box-shadow: 0 22px 45px rgba(6, 41, 88, .24), inset 0 0 45px rgba(255, 255, 255, .15);
  animation: dfao-rf-float 7s ease-in-out infinite;
}

.dfao-refractive-definition__cornea span {
  width: 36%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, .05);
}

.dfao-refractive-definition__cornea i {
  position: absolute;
  top: 24%;
  left: 24%;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
}

.dfao-refractive-definition__orbit {
  position: absolute;
  border: 1px solid rgba(40, 100, 206, .26);
  border-radius: 50%;
}

.dfao-refractive-definition__orbit--one {
  inset: 9%;
  animation: dfao-rf-spin 21s linear infinite;
}

.dfao-refractive-definition__orbit--two {
  inset: 2%;
  border-style: dashed;
  animation: dfao-rf-spin-reverse 28s linear infinite;
}

.dfao-refractive-definition__text p {
  margin-bottom: 14px;
  color: var(--dfao-rf-muted);
}

.dfao-refractive-definition__errors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 30px 0 24px;
  padding: 0;
  list-style: none;
}

.dfao-refractive-definition__errors li {
  padding: 17px 13px;
  border: 1px solid var(--dfao-rf-line);
  border-radius: 14px;
  color: var(--dfao-rf-navy);
  background: #f8fbfe;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.dfao-refractive-definition__note {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 0;
  color: var(--dfao-rf-navy) !important;
  font-weight: 700;
}

.dfao-refractive-definition__note::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--dfao-rf-green);
  box-shadow: 0 0 0 5px rgba(112, 199, 125, .15);
}

.dfao-refractive-candidate {
  position: relative;
  padding: 110px 0;
  isolation: isolate;
  color: #fff;
  background: var(--dfao-rf-navy-deep);
}

.dfao-refractive-candidate::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .6;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.dfao-refractive-candidate__heading {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .7fr);
  align-items: end;
  gap: 35px 70px;
}

.dfao-refractive-candidate__heading .dfao-refractive-candidate__eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
  color: #95e6a0;
}

.dfao-refractive-candidate h2 {
  max-width: 660px;
  margin-bottom: 0;
  color: #fff;
}

.dfao-refractive-candidate__heading > p:last-child {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .67);
}

.dfao-refractive-candidate__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 52px 0 32px;
  padding: 0;
  list-style: none;
}

.dfao-refractive-candidate__grid li {
  min-height: 150px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.dfao-refractive-candidate__grid li:hover {
  border-color: rgba(112, 199, 125, .55);
  background: rgba(255, 255, 255, .09);
  transform: translateY(-6px);
}

.dfao-refractive-candidate__grid span {
  display: block;
  margin-bottom: 22px;
  color: #8fde9a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.dfao-refractive-candidate__grid p {
  margin-bottom: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.dfao-refractive-candidate__note {
  width: fit-content;
  margin-bottom: 0;
  padding: 17px 22px;
  border: 1px solid rgba(149, 230, 160, .3);
  border-radius: 13px;
  color: #c7f4cd;
  background: rgba(112, 199, 125, .09);
  font-weight: 700;
}

.dfao-refractive-candidate__orbit {
  border: 1px solid rgba(112, 199, 125, .16);
}

.dfao-refractive-candidate__orbit--one {
  top: -220px;
  right: -180px;
  width: 500px;
  height: 500px;
  animation: dfao-rf-spin 30s linear infinite;
}

.dfao-refractive-candidate__orbit--two {
  bottom: -280px;
  left: -240px;
  width: 520px;
  height: 520px;
  animation: dfao-rf-spin-reverse 34s linear infinite;
}

.dfao-refractive-exams {
  padding: 110px 0;
  background: var(--dfao-rf-surface);
}

.dfao-refractive-exams__inner {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(480px, 1fr);
  gap: clamp(50px, 8vw, 125px);
}

.dfao-refractive-exams__heading {
  position: sticky;
  top: 150px;
  align-self: start;
}

.dfao-refractive-exams__heading > p:last-child {
  margin-bottom: 0;
  color: var(--dfao-rf-muted);
}

.dfao-refractive-exams__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ccdae7;
  list-style: none;
}

.dfao-refractive-exams__list > li,
.dfao-refractive-exams__linked a {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid #ccdae7;
}

.dfao-refractive-exams__linked a {
  color: inherit;
  text-decoration: none;
}

.dfao-refractive-exams__list span {
  color: var(--dfao-rf-blue);
  font-size: 13px;
  font-weight: 850;
}

.dfao-refractive-exams__list p {
  margin-bottom: 0;
  color: var(--dfao-rf-ink);
  font-weight: 700;
}

.dfao-refractive-exams__linked a::after {
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: var(--dfao-rf-blue);
  clip-path: polygon(38% 0, 100% 0, 100% 62%, 80% 62%, 80% 34%, 15% 100%, 0 84%, 65% 19%, 38% 19%);
  content: "";
  color: var(--dfao-rf-blue);
  transition: transform .2s ease;
}

.dfao-refractive-exams__linked a:hover::after {
  transform: translate(4px, -4px);
}

.dfao-refractive-techniques {
  padding: 110px 0 122px;
  background: #fff;
}

.dfao-refractive-techniques__heading {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.dfao-refractive-techniques__heading .dfao-refractive-section-eyebrow {
  justify-content: center;
}

.dfao-refractive-techniques__heading > p:last-child {
  margin-bottom: 0;
  color: var(--dfao-rf-muted);
}

.dfao-refractive-techniques__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dfao-refractive-techniques__grid article {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 35px;
  border: 1px solid var(--dfao-rf-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, #f4f8fc);
  box-shadow: 0 20px 50px rgba(6, 41, 88, .07);
  transition: transform .28s ease, box-shadow .28s ease;
}

.dfao-refractive-techniques__grid article::after {
  position: absolute;
  right: -72px;
  bottom: -90px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(40, 100, 206, .18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 25px rgba(40, 100, 206, .03), 0 0 0 50px rgba(40, 100, 206, .025);
}

.dfao-refractive-techniques__grid article:hover {
  box-shadow: 0 28px 65px rgba(6, 41, 88, .13);
  transform: translateY(-8px);
}

.dfao-refractive-techniques__grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--dfao-rf-blue);
  font-size: 12px;
  font-weight: 850;
}

.dfao-refractive-techniques__grid h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
}

.dfao-refractive-techniques__grid p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: var(--dfao-rf-muted);
  font-size: 17px;
}

.dfao-refractive-expectations {
  position: relative;
  padding: 112px 0;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(125deg, var(--dfao-rf-navy-deep), #0c3f83);
}

.dfao-refractive-expectations__inner {
  max-width: 890px;
  text-align: center;
}

.dfao-refractive-expectations__eyebrow {
  justify-content: center;
  color: #9be9a6;
}

.dfao-refractive-expectations h2 {
  margin-bottom: 25px;
  color: #fff;
}

.dfao-refractive-expectations__inner > strong {
  display: block;
  margin-bottom: 18px;
  color: #91e29c;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1;
}

.dfao-refractive-expectations__text {
  max-width: 760px;
  margin: 0 auto 34px;
}

.dfao-refractive-expectations__text p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .75);
}

.dfao-refractive-expectations__button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 27px;
  border: 1px solid #8ee49a;
  border-radius: 12px;
  color: #062958;
  background: #91e29c;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .17);
  transition: transform .22s ease, background .22s ease;
}

.dfao-refractive-expectations__button::after {
  width: 18px;
  height: 14px;
  margin-left: 12px;
  background: currentColor;
  clip-path: polygon(0 42%, 60% 42%, 60% 0, 100% 50%, 60% 100%, 60% 58%, 0 58%);
  content: "";
}

.dfao-refractive-expectations__button:hover {
  color: #062958;
  background: #b0f0b8;
  transform: translateY(-3px);
}

.dfao-refractive-expectations__button:focus-visible,
.dfao-refractive-exams__linked a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.dfao-refractive-expectations__orbit {
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .11);
}

.dfao-refractive-expectations__orbit--one {
  top: -240px;
  right: -160px;
  width: 530px;
  height: 530px;
  animation: dfao-rf-spin 28s linear infinite;
}

.dfao-refractive-expectations__orbit--two {
  bottom: -300px;
  left: -190px;
  width: 570px;
  height: 570px;
  animation: dfao-rf-spin-reverse 34s linear infinite;
}

@keyframes dfao-rf-spin {
  to { transform: rotate(360deg); }
}

@keyframes dfao-rf-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes dfao-rf-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -16px, 0) scale(1.08); }
}

@keyframes dfao-rf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@keyframes dfao-rf-scan {
  0%, 100% { opacity: .45; transform: rotate(-12deg); }
  50% { opacity: 1; transform: rotate(12deg); }
}

@media (max-width: 1024px) {
  .dfao-refractive-hero {
    min-height: auto;
  }

  .dfao-refractive-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr);
    gap: 45px;
  }

  .dfao-refractive-definition__inner {
    grid-template-columns: 350px 1fr;
    gap: 55px;
  }

  .dfao-refractive-candidate__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dfao-refractive-exams__inner {
    grid-template-columns: .8fr 1fr;
    gap: 55px;
  }
}

@media (max-width: 767px) {
  .dfao-refractive-hero__inner,
  .dfao-refractive-definition__inner,
  .dfao-refractive-candidate__inner,
  .dfao-refractive-exams__inner,
  .dfao-refractive-techniques__inner,
  .dfao-refractive-expectations__inner {
    width: min(100% - 34px, 600px);
  }

  .dfao-refractive-page h2 {
    font-size: clamp(33px, 10.5vw, 46px);
  }

  .dfao-refractive-page p,
  .dfao-refractive-page li {
    font-size: 17px;
    line-height: 1.65;
  }

  .dfao-refractive-hero {
    padding: 68px 0 62px;
  }

  .dfao-refractive-hero__inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .dfao-refractive-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .dfao-refractive-hero__lead {
    font-size: 19px !important;
  }

  .dfao-refractive-hero__visual {
    width: min(91%, 390px);
  }

  .dfao-refractive-definition,
  .dfao-refractive-candidate,
  .dfao-refractive-exams,
  .dfao-refractive-techniques,
  .dfao-refractive-expectations {
    padding: 82px 0;
  }

  .dfao-refractive-definition__inner,
  .dfao-refractive-exams__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .dfao-refractive-definition__visual {
    width: min(91%, 390px);
    margin-inline: auto;
  }

  .dfao-refractive-definition__errors {
    grid-template-columns: 1fr;
  }

  .dfao-refractive-candidate__heading {
    grid-template-columns: 1fr;
    gap: 21px;
  }

  .dfao-refractive-candidate__grid,
  .dfao-refractive-techniques__grid {
    grid-template-columns: 1fr;
  }

  .dfao-refractive-candidate__grid li {
    min-height: auto;
  }

  .dfao-refractive-exams__heading {
    position: static;
  }

  .dfao-refractive-techniques__heading {
    text-align: left;
  }

  .dfao-refractive-techniques__heading .dfao-refractive-section-eyebrow {
    justify-content: flex-start;
  }

  .dfao-refractive-techniques__grid article {
    min-height: 275px;
  }

  .dfao-refractive-expectations__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dfao-refractive-page *,
  .dfao-refractive-page *::before,
  .dfao-refractive-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
