@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #2ea3f2;
  --blue-dark: #1b8fdc;
  --navy: #014db7;
  --text: #666666;
  --heading: #333333;
  --soft: #635757;
  --orange: #f0a020;
  --pink: #e45370;
  --line: #e6e6e6;
  --max: 1140px;
  --header: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }

a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 0.4em;
}

p { margin: 0 0 1em; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  height: 32px;
}

.topbar .wrap,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar a { color: #fff; }

.topbar a:hover { color: #fff; opacity: 0.85; }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.site-header {
  position: relative;
  z-index: 30;
  background: #fff;
  height: var(--header);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.logo {
  position: absolute;
  left: max(16px, calc((100% - var(--max)) / 2));
  top: 8px;
  z-index: 40;
}

.logo img {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.16);
}

.nav-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--header);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu > li { position: relative; }

.menu > li > a,
.search-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px 28px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.menu > li > a.is-active,
.menu > li > a:hover,
.search-toggle:hover { color: var(--blue-dark); }

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.8;
}

.submenu {
  display: none;
  position: absolute;
  top: 70%;
  left: 0;
  min-width: 320px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--blue);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 50;
}

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu { display: block; }

.submenu a {
  display: block;
  padding: 10px 18px;
  color: #444;
  font-weight: 600;
  font-size: 13px;
}

.submenu a:hover,
.submenu a.is-active { background: #f5f9fd; color: var(--blue); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span:before,
.menu-toggle span:after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  position: relative;
}

.menu-toggle span:before,
.menu-toggle span:after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span:before { top: -7px; }
.menu-toggle span:after { top: 7px; }

.search-panel {
  display: none;
  position: absolute;
  right: max(16px, calc((100% - var(--max)) / 2));
  top: calc(100% + 8px);
  width: min(420px, calc(100% - 32px));
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 14px;
  z-index: 60;
}

.search-panel.is-open { display: block; }

.search-panel input {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 24px;
  padding: 10px 16px;
  font: inherit;
  color: var(--heading);
}

.search-results { list-style: none; margin: 10px 0 0; padding: 0; }

.search-results a {
  display: block;
  padding: 8px 6px;
  color: var(--heading);
  border-bottom: 1px solid #f1f1f1;
}

.search-results p { margin: 0; color: #888; font-size: 12px; }

.slider {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #eef7fd;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 18% 70px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
}

.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 300;
  color: var(--soft);
  margin-bottom: 8px;
}

.slide h2 .keep { white-space: nowrap; }

.slide p { font-size: 16px; max-width: 720px; margin-left: auto; margin-right: auto; }

.slide.dark h2,
.slide.dark p,
.slide.dark .slide-kicker { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25); }

.slide-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 24px;
  cursor: pointer;
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(1, 77, 183, 0.28);
  cursor: pointer;
}

.dots button.is-active { background: var(--navy); }

.btn[hidden] { display: none; }

.btn {
  display: inline-block;
  border-radius: 3px;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.6;
}

.btn:hover { background: rgba(46, 163, 242, 0.08); color: var(--blue-dark); }

.btn-solid {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 12px 26px;
}

.btn-solid:hover { background: #013e96; color: #fff; }

.btn-pill {
  background: rgba(1, 77, 183, 0.1);
  border-color: transparent;
  color: rgba(1, 77, 183, 0.85);
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 14px;
}

.btn-pill:hover { background: rgba(1, 77, 183, 0.16); color: var(--navy); }

.section { padding: 64px 0; }

.services-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}

.services-3 img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin: 0 auto 18px;
}

.services-3 h3 { font-size: 18px; font-weight: 600; }

.services-3 h3 a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-3 h3 a:hover { color: var(--navy); }

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.action-card { text-align: left; }

.action-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.action-card h3 { font-size: 18px; margin-bottom: 14px; }

.feature-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.feature-band {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.92) 68%),
    url("../assets/pills.jpg") right center / cover no-repeat;
  padding: 70px 0;
}

.tiles { display: grid; gap: 16px; }

.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  border-radius: 6px;
  padding: 16px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  background-size: cover;
  background-position: center;
}

.tile span { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); }

.tile svg {
  width: 36px;
  height: 36px;
  flex: none;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  padding: 7px;
}

.tile-blue {
  background-image:
    radial-gradient(circle at 100% 50%, rgba(138, 182, 247, 0.35) 20%, rgba(138, 182, 247, 0.92) 100%),
    url("../assets/tile-refills.jpg");
}

.tile-pink {
  background-image:
    radial-gradient(circle at 100% 50%, rgba(249, 192, 203, 0.35) 20%, rgba(249, 192, 203, 0.94) 100%),
    url("../assets/tile-family.jpg");
  color: #7a3b4a;
}

.tile-gold {
  background-image:
    radial-gradient(circle at 100% 50%, rgba(255, 226, 181, 0.35) 20%, rgba(255, 226, 181, 0.94) 100%),
    url("../assets/tile-history.jpg");
  color: #8a5a12;
}

.feature-copy { padding-right: 4vw; }

.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.eyebrow.orange { color: var(--orange); }
.eyebrow.pink { color: var(--pink); }

.feature-copy h2,
.cta-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: #2b2b2b;
  line-height: 1.15;
}

.cta-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 80px 8vw 130px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(247, 249, 252, 0.2) 36%, #f4f7fb 62%),
    url("../assets/doctor.jpg") left center / cover no-repeat;
  overflow: hidden;
}

.cta-copy { width: min(520px, 50%); position: relative; z-index: 1; }

.cta-banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 100px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.site-footer {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(126, 176, 224, 0.78), rgba(186, 214, 238, 0.82)),
    url("../assets/footer-pills.jpg") center / cover no-repeat;
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
}

.contact-item { text-align: center; }

.contact-item h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin: 6px 0 2px;
}

.contact-item a,
.contact-item p { color: #fff; margin: 0; }

.icon-bubble {
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
}

.icon-bubble svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 1.8; }

.subscribe h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  margin-bottom: 18px;
}

.subscribe form { display: grid; gap: 12px; }

.subscribe input,
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 0;
  border-radius: 28px;
  padding: 14px 18px;
  font: inherit;
  color: var(--heading);
  background: #fff;
}

.form-card textarea { border-radius: 16px; min-height: 140px; resize: vertical; }

.subscribe .btn-solid,
.form-card .btn-solid { width: 100%; border-radius: 28px; }

.legal {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero {
  position: relative;
  color: #fff;
  background: linear-gradient(105deg, #1a6ec8 0%, #4ea4ef 46%, #e8f3fc 100%);
  padding: 78px 0 130px;
  overflow: hidden;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p { color: #fff; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
}

.page-hero p { font-size: 20px; font-weight: 400; opacity: 0.95; }

.page-hero .wrap { padding-left: 200px; }

.page-hero:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 78px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.prose {
  width: min(860px, calc(100% - 40px));
  margin: 10px auto 40px;
}

.prose h2 { font-size: 32px; font-weight: 500; margin-top: 1.4em; }

.prose h3 { font-size: 22px; margin-top: 1.2em; }

.block {
  padding: 8px 0 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ececec;
}

.block h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.help-card {
  width: min(980px, calc(100% - 40px));
  margin: -10px auto 48px;
  border-radius: 4px;
  padding: 48px 40px;
  text-align: center;
  color: #4d4d4d;
  background:
    linear-gradient(90deg, rgba(236, 242, 248, 0.92), rgba(236, 242, 248, 0.72)),
    url("../assets/hero-ailment.jpg") right center / cover no-repeat;
}

.help-card h2 { font-size: 34px; font-weight: 500; }

.price-row,
.card-grid,
.split {
  display: grid;
  gap: 22px;
}

.price-row { grid-template-columns: 1fr 1fr; margin: 10px 0 28px; }

.price-card,
.info-card,
.service-card {
  background: #f7fafc;
  border-radius: 8px;
  padding: 22px 24px;
}

.price-card strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
}

.card-grid { grid-template-columns: 1fr 1fr; }

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 10px;
}

.service-list a,
.service-list li {
  display: block;
  background: #f6f9fc;
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  color: var(--heading);
  font-weight: 600;
}

.split { grid-template-columns: 1.15fr 0.85fr; align-items: start; }

.split img { width: 100%; border-radius: 8px; object-fit: cover; }

.form-card {
  background: #f7fafc;
  border-radius: 10px;
  padding: 28px;
  display: grid;
  gap: 12px;
}

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--heading);
  font-size: 13px;
  min-width: 0;
}

.form-card label.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.form-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 0;
  flex: 0 0 auto;
}

.form-card input[type="file"] {
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.form-card small { font-weight: 500; color: var(--text); }

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.note, .disclaimer {
  background: #fff8ef;
  border-left: 4px solid var(--orange);
  padding: 12px 14px;
  color: #5c5348;
}

.disclaimer { background: #fff4f6; border-left-color: var(--pink); }

.form-success {
  background: #eef8f1;
  color: #21693a;
  border-radius: 8px;
  padding: 12px 14px;
}

.form-error {
  background: #fff4f6;
  color: #8d2940;
  border-radius: 8px;
  padding: 12px 14px;
}

.wait-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 30, 60, 0.55);
}

.wait-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wait-card p {
  margin: 18px 0 0;
  color: var(--heading);
  font-size: 18px;
  line-height: 1.45;
}

.wait-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 4px solid #d7ebf8;
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: wait-spin 0.8s linear infinite;
}

@keyframes wait-spin {
  to { transform: rotate(360deg); }
}

ul.clean { padding-left: 18px; }
ul.clean li { margin: 0 0 8px; }

@media (max-width: 980px) {
  .logo img { width: 120px; height: 120px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-wrap { position: static; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0 16px;
    z-index: 40;
  }
  .menu.is-open { display: flex; }
  .menu > li > a,
  .search-toggle { padding: 12px 20px; }
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border-top: 0;
    min-width: 0;
    padding-left: 10px;
  }
  .menu > li.is-open > .submenu { display: block; }
  .services-3,
  .action-grid,
  .feature-inner,
  .footer-grid,
  .price-row,
  .card-grid,
  .service-list,
  .split,
  .form-row,
  .rx-grid { grid-template-columns: 1fr; }
  .slider { height: auto; min-height: 460px; }
  .slide { padding: 130px 28px 70px; position: relative; }
  .slide:not(.is-active) { position: absolute; }
  .slider-btn { display: none; }
  .page-hero .wrap { padding-left: 0; padding-top: 78px; }
  .cta-copy { width: min(520px, 100%); }
  .cta-banner { justify-content: center; text-align: left; padding-top: 140px; }
  .feature-copy { padding: 10px 0 0; }
}
