/*
Theme Name: Doctors Anytime Lead Site
Theme URI: https://doctorsanytime.net/
Author: Doctors Anytime
Description: A lead-generation WordPress theme for Doctors Anytime, powered by iDocsWeb.
Version: 1.1.9
License: GPL-2.0-or-later
Text Domain: doctors-anytime
*/

:root {
  --ink: #102232;
  --muted: #5d6d7d;
  --line: #d9e3ea;
  --soft: #eef6f8;
  --pale: #f7fbfb;
  --white: #fff;
  --teal: #0b7d7c;
  --teal-dark: #075f62;
  --navy: #142c46;
  --gold: #c89233;
  --rose: #a14b52;
  --shadow: 0 22px 55px rgba(16, 34, 50, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  padding: 0.65rem 1rem;
  position: absolute;
  top: -5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 234, 0.8);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.topbar__inner,
.nav,
.section__inner {
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

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

.topbar a {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  width: min(300px, 45vw);
  height: auto;
  max-height: 84px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__links a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav__links a:hover,
.nav__links a:focus {
  color: var(--teal);
}

.nav__links a.button {
  color: var(--white);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  background: var(--teal-dark);
  box-shadow: 0 12px 24px rgba(11, 125, 124, 0.22);
}

.button--light {
  background: var(--white);
  color: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.6);
}

.button--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 30, 47, 0.94) 0%, rgba(10, 30, 47, 0.82) 38%, rgba(10, 30, 47, 0.28) 73%, rgba(10, 30, 47, 0.18) 100%),
    url("assets/images/overnight-telemedicine-hero.webp") center right / cover no-repeat;
}

.hero__inner {
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 5.5rem 0 4rem;
}

.hero__content {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.95rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.2rem;
  max-width: 720px;
}

.proof-tile {
  position: relative;
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.proof-tile strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.proof-tile span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 28, 44, 0.96), rgba(20, 44, 70, 0.9) 48%, rgba(20, 44, 70, 0.42)),
    var(--landing-image) center right / cover no-repeat,
    var(--navy);
}

.landing-hero__inner {
  width: calc(100% - 2rem);
  max-width: var(--max);
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.45fr);
  gap: 2rem;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.landing-hero__content {
  max-width: 780px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 0.55rem;
  color: rgba(255, 255, 255, 0.42);
}

.landing-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.landing-hero__lead {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.landing-hero__panel {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.landing-hero__panel div {
  position: relative;
  min-height: 82px;
  display: grid;
  align-items: center;
  padding: 1rem 1rem 1rem 2.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 900;
  line-height: 1.25;
}

.landing-hero__panel div::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0.35rem rgba(200, 146, 51, 0.18);
}

.landing-card__link {
  margin-top: 1rem;
}

.landing-card__link a {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

.landing-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.landing-checks .check-list {
  margin-top: 0;
}

.landing-form__service {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pale);
}

.landing-form__service span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-form__service strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.section {
  padding: 5rem 0;
}

.section--soft {
  background: var(--pale);
}

.section--ink {
  background: var(--navy);
  color: var(--white);
}

.section--prisons {
  background:
    linear-gradient(120deg, rgba(7, 28, 44, 0.98), rgba(20, 44, 70, 0.94) 58%, rgba(15, 37, 61, 0.98)),
    var(--navy);
  color: var(--white);
}

.section--finder {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 28, 44, 0.98), rgba(20, 44, 70, 0.96) 58%, rgba(15, 37, 61, 0.98)),
    var(--navy);
  color: var(--white);
}

.section--finder::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent);
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section__header p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

h2 + .lead {
  margin-top: 1.3rem;
}

.section--ink .section__header p,
.section--ink .lead,
.section--ink .card p,
.section--ink .check-list li,
.section--finder .section__header p,
.section--prisons .lead,
.section--prisons .check-list li {
  color: rgba(255, 255, 255, 0.76);
}

.section .eyebrow,
.section__header .eyebrow,
.section--ink .section__header .eyebrow,
.section--finder .section__header .eyebrow {
  color: var(--gold);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-image {
  position: relative;
  margin: 1.6rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.section-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-image figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  background: rgba(16, 34, 50, 0.78);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}

.section-image--wide {
  margin-top: 1.2rem;
}

.section-image--wide img {
  aspect-ratio: 16 / 7;
}

.section-image--flush {
  margin: 0;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.18);
}

.section-image--flush img {
  aspect-ratio: 16 / 9;
}

.card {
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section--ink .card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(11, 125, 124, 0.12);
  color: var(--teal);
  font-weight: 900;
}

.card__icon span,
.card__icon::before,
.card__icon::after {
  content: "";
  position: absolute;
  display: block;
}

.card__icon--moon span {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  box-shadow: -6px 0 0 0 currentColor;
  transform: translateX(4px);
}

.card__icon--clinician span {
  width: 16px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 999px;
  top: 9px;
}

.card__icon--clinician::after {
  width: 23px;
  height: 12px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  bottom: 8px;
}

.card__icon--specialty span,
.card__icon--quality span {
  width: 23px;
  height: 23px;
  border: 3px solid currentColor;
  border-radius: 999px;
}

.card__icon--specialty::before,
.card__icon--quality::before {
  width: 3px;
  height: 17px;
  background: currentColor;
}

.card__icon--specialty::after,
.card__icon--quality::after {
  width: 17px;
  height: 3px;
  background: currentColor;
}

.card__icon--monitor span {
  width: 24px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.card__icon--monitor::after {
  width: 18px;
  height: 3px;
  bottom: 8px;
  background: currentColor;
  border-radius: 999px;
}

.card__icon--chat span {
  width: 25px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.card__icon--chat::after {
  left: 14px;
  bottom: 10px;
  width: 9px;
  height: 9px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-18deg);
}

.section--ink .card__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 2rem;
  align-items: center;
}

.panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cost-graphic {
  display: grid;
  gap: 1rem;
}

.cost-graphic__bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.75rem;
  min-height: 150px;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 246, 248, 0.82), rgba(255, 255, 255, 0.95));
  border: 1px solid var(--line);
}

.cost-graphic__bars span {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: var(--bar);
  min-height: 40px;
  padding: 0.7rem 0.5rem;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--rose), var(--gold));
  color: var(--white);
  text-align: center;
}

.cost-graphic__bars span:nth-child(2) {
  background: linear-gradient(180deg, var(--gold), #d3a754);
  color: var(--ink);
}

.cost-graphic__bars span:nth-child(3) {
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
}

.cost-graphic__bars strong {
  font-size: 0.82rem;
  line-height: 1.15;
}

.cost-graphic__callout {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.cost-graphic__callout strong {
  font-size: 1.05rem;
}

.cost-graphic__callout span {
  color: rgba(255, 255, 255, 0.72);
}

.metric-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

.metric-list strong {
  color: var(--ink);
}

.section--savings {
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 146, 51, 0.12), transparent 28%),
    linear-gradient(180deg, #fff, var(--pale));
}

.savings-calculator__shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.savings-calculator__controls,
.savings-calculator__results {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.savings-calculator__controls {
  display: grid;
  align-content: start;
  gap: 1.1rem;
  padding: 1.35rem;
  background: var(--white);
}

.range-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.range-field input {
  width: 100%;
  accent-color: var(--teal);
}

.range-field output {
  min-width: 58px;
  padding: 0.42rem 0.58rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.savings-calculator__assumptions {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.savings-calculator__assumptions li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
}

.savings-calculator__assumptions strong {
  color: var(--ink);
}

.savings-calculator__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.savings-calculator__results {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(7, 28, 44, 0.98), rgba(20, 44, 70, 0.95) 56%, rgba(15, 37, 61, 0.98)),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}

.savings-callout {
  display: grid;
  gap: 0.28rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.savings-callout span,
.savings-metric span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.savings-callout strong {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.savings-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.savings-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.savings-metric {
  display: grid;
  gap: 0.28rem;
  min-height: 148px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.savings-metric--highlight {
  border-color: rgba(200, 146, 51, 0.76);
  background: rgba(200, 146, 51, 0.16);
}

.savings-metric strong {
  color: var(--white);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  line-height: 1;
}

.savings-metric small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.35;
}

.savings-bars {
  display: grid;
  gap: 0.72rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.savings-bar {
  display: grid;
  grid-template-columns: minmax(105px, 0.28fr) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.savings-bar span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 850;
}

.savings-bar i {
  display: block;
  width: var(--bar);
  max-width: 100%;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
  transition: width 180ms ease;
}

.savings-bar--in-person i {
  background: linear-gradient(90deg, var(--gold), #e1bd6a);
}

.savings-bar--doctors i {
  background: linear-gradient(90deg, var(--teal), #67b6a9);
}

.savings-calculator__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.2rem;
}

.savings-calculator__footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.savings-calculator__footer strong {
  color: var(--gold);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.specialty-list li {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
}

.specialty-graphic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.35rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(11, 125, 124, 0.1), rgba(200, 146, 51, 0.12));
  border: 1px solid var(--line);
}

.specialty-graphic__item {
  position: relative;
  min-height: 84px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.42rem;
  padding: 0.7rem 0.45rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.specialty-graphic__item svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.specialty-graphic__item svg rect,
.specialty-graphic__item svg path:first-child {
  fill: rgba(11, 125, 124, 0.1);
}

.specialty-graphic__label {
  display: block;
}

.steps {
  counter-reset: step;
}

.prison-network {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.prison-network__content .button {
  margin-top: 1.5rem;
}

.prison-visual {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.prison-visual__header {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.prison-visual__header strong {
  font-size: 1.1rem;
}

.prison-visual__header span,
.prison-visual__grid span,
.prison-visual__flow span {
  color: rgba(255, 255, 255, 0.74);
}

.prison-visual__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.prison-visual__grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 0.42rem;
  padding: 1rem;
  border: 1px solid rgba(217, 227, 234, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.prison-visual__grid strong {
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.05;
}

.prison-visual__grid em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prison-visual__minimum {
  border-color: rgba(217, 227, 234, 0.95);
  box-shadow: none;
}

.prison-visual__minimum strong {
  font-size: 1.35rem;
}

.prison-visual__grid span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.prison-visual__flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: center;
}

.prison-visual__flow span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.prison-visual__flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.43rem;
  width: 0.32rem;
  height: 0.32rem;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.finder {
  position: relative;
  z-index: 1;
}

.finder__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.finder__controls {
  display: grid;
  gap: 0.85rem;
}

.finder__group {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.finder__group legend {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finder__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.finder__group--two .finder__options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.finder-option {
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.18;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.finder-option:hover,
.finder-option:focus {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.finder-option.is-active {
  border-color: rgba(255, 255, 255, 0.78);
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.finder__result {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(7, 28, 44, 0.42);
}

.finder__label {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finder__result h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.08;
}

.finder__result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.finder__result .finder__label {
  color: var(--gold);
}

.finder__bullets {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder__bullets li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.finder__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--gold);
}

.how-it-works {
  display: grid;
  gap: 1rem;
}

.workflow-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.workflow-tab {
  min-height: 48px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.workflow-tab:hover,
.workflow-tab:focus {
  border-color: rgba(20, 44, 70, 0.55);
  color: var(--navy);
  transform: translateY(-1px);
}

.workflow-tab.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(20, 44, 70, 0.22);
}

.workflow-panel {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 125, 124, 0.07), rgba(200, 146, 51, 0.1)),
    var(--white);
  box-shadow: var(--shadow);
}

.workflow-panel[hidden] {
  display: none;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.05rem;
  border: 1px solid rgba(217, 227, 234, 0.95);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.workflow-step__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--soft);
}

.workflow-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 900;
}

.workflow-steps h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.22;
}

.workflow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.step {
  position: relative;
  padding-left: 4.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  color: var(--ink);
  font-weight: 850;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq__answer {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(340px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-card a {
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.8rem;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.notice--success {
  background: #e8f6ef;
  color: #176342;
}

.notice--error {
  background: #faecec;
  color: #8e3131;
}

.site-footer {
  padding: 3rem 0;
  background: #071c2c;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  width: calc(100% - 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 920px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0;
  }

  .nav {
    min-height: 78px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16, 34, 50, 0.1);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links .button {
    width: 100%;
  }

  .hero,
  .hero__inner {
    min-height: 680px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(10, 30, 47, 0.96) 0%, rgba(10, 30, 47, 0.86) 55%, rgba(10, 30, 47, 0.48) 100%),
      url("assets/images/overnight-telemedicine-hero.webp") center / cover no-repeat;
  }

  .landing-hero {
    background:
      linear-gradient(90deg, rgba(7, 28, 44, 0.97), rgba(20, 44, 70, 0.88)),
      var(--landing-image) center / cover no-repeat,
      var(--navy);
  }

  .hero__proof,
  .landing-hero__inner,
  .landing-split,
  .section__header,
  .grid--3,
  .specialty-graphic,
  .savings-calculator__shell,
  .savings-comparison,
  .finder__shell,
  .prison-network,
  .split,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .topbar__inner,
  .nav,
  .section__inner,
  .hero__inner,
  .landing-hero__inner,
  .footer-grid,
  .hero__content,
  .landing-hero__content {
    max-width: calc(100vw - 2rem);
  }

  .hero,
  .hero__inner,
  .landing-hero__inner {
    min-height: auto;
  }

  .hero__inner,
  .landing-hero__inner {
    padding: 4.5rem 0 3rem;
  }

  .hero h1,
  .landing-hero h1 {
    font-size: 2.35rem;
  }

  .hero .eyebrow,
  .landing-hero .eyebrow {
    overflow-wrap: anywhere;
  }

  .hero__lead,
  .landing-hero__lead {
    font-size: 1rem;
  }

  .hero__proof,
  .grid--2,
  .finder__options,
  .savings-calculator__footer,
  .workflow-steps,
  .workflow-tabs,
  .form-grid,
  .prison-visual__grid,
  .prison-visual__flow {
    grid-template-columns: 1fr;
  }

  .workflow-tab {
    width: 100%;
  }

  .finder__shell {
    padding: 0.75rem;
  }

  .savings-calculator__controls,
  .savings-calculator__results {
    padding: 1rem;
  }

  .savings-calculator__assumptions li,
  .savings-bar {
    grid-template-columns: 1fr;
  }

  .savings-calculator__assumptions li {
    display: grid;
    gap: 0.25rem;
  }

  .savings-calculator__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .savings-calculator__footer .button {
    width: 100%;
  }

  .prison-visual__flow {
    display: none;
  }

  .prison-visual__flow span:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .brand__logo {
    width: min(230px, 62vw);
    max-height: 68px;
  }

  .proof-tile {
    min-height: auto;
  }
}
