.intro,
.detail-hero {
  background: #edf5ff;
}
.intro .wrap,
.detail-hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  padding-block: clamp(24px, 3.3vw, 50px);
}
.intro h1 {
  font-size: clamp(23px, 4.5vw, 66px);
  line-height: 1.15;
  letter-spacing: -0.07em;
}
.intro em {
  color: var(--blue);
}
.intro .hero-photo {
  flex: 0 0 32%;
  height: clamp(104px, 17vw, 240px);
  aspect-ratio: auto;
  min-height: 0;
  border-radius: 16px;
}
.intro .hero-photo img {
  object-position: center;
}
.spread,
.strip,
.info-grid {
  padding-block: clamp(32px, 4.5vw, 64px);
}
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #2159b8;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.service-grid,
.info-grid,
.price-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-grid {
  margin-top: 22px;
}
.service-tile {
  border-radius: 20px;
  background: #f4f7fb;
  overflow: hidden;
}
.service-tile:nth-child(2) {
  background: #eaf3ff;
}
.tile-main {
  position: relative;
  isolation: isolate;
  padding: 28px 6% 26px;
  min-height: 205px;
}
.tile-main h3,
.detail-hero h1 {
  font-size: clamp(25px, 2.7vw, 42px);
  margin: 6px 0 15px;
}
.tile-main strong,
.tile-main p {
  display: block;
  max-width: 67%;
  font-size: clamp(14px, 1.3vw, 17px);
}
.tile-main p {
  margin-top: 6px;
}
.tile-main .service-art {
  position: absolute;
  right: 1%;
  bottom: 6%;
  width: 30%;
  height: 78%;
  object-fit: contain;
  z-index: -1;
}
.tile-foot {
  background: #e8eff7;
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.service-tile:nth-child(2) .tile-foot {
  background: #dbeafa;
}
.tile-foot small,
.tile-foot b,
.detail-hero small,
.apply-bar small {
  display: block;
}
.tile-foot small {
  color: var(--muted);
}
.tile-foot .btn {
  padding: 11px 14px;
  font-size: 0.91rem;
}
.status-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 16px;
}
.status-strip svg,
.status-strip b {
  color: var(--blue);
}
.status-strip b {
  margin-left: auto;
}
.why.strip {
  background: #f0f6fd;
}
.why.strip h2 {
  max-width: 28em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.why-grid svg {
  background: white;
  color: var(--blue);
  box-sizing: content-box;
  padding: 12px;
  border-radius: 15px;
}
.why-grid h3 {
  margin: 14px 0 6px;
}
.ticket {
  background: #142e4f;
  border-radius: 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 46px);
}
.ticket .eyebrow,
.ticket small {
  color: #a1c9ff;
}
.ticket small {
  display: block;
  margin-top: 18px;
  letter-spacing: 0.1em;
}
.ticket h3 {
  margin: 3px 0 8px;
}
.ticket p {
  color: #e0e9f4;
  font-size: 0.93rem;
  margin-top: 5px;
}
.ticket figure {
  position: relative;
  flex: 0 0 29%;
  align-self: stretch;
  min-height: 130px;
  overflow: hidden;
  border-radius: 12px;
}
.ticket figure img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ticket figcaption {
  position: absolute;
  bottom: 7px;
  left: 12px;
  color: white;
  font-weight: 750;
  text-shadow: 0 1px 4px #182847;
}
.info-grid {
  padding-top: 0;
  gap: 6%;
}
.info-grid h2,
.detail-body h2 {
  margin-bottom: 18px;
}
.news-line {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.detail-hero .service-art {
  width: 31%;
  max-height: 280px;
  object-fit: contain;
}
.detail-hero b {
  display: block;
  margin-top: 16px;
  font-size: 1.4rem;
}
.detail-hero small {
  margin-bottom: 14px;
}
.detail-body {
  max-width: 980px;
  padding-block: 42px;
}
.detail-body > section {
  margin: 0 0 52px;
}
.detail-body section > h3 {
  margin: 20px 0 8px;
}
.benefit-band,
.cross {
  padding: 24px;
  background: #edf5ff;
  border-radius: 16px;
  margin-top: 20px;
}
.benefit-band h3 {
  color: var(--blue);
  margin: 5px 0;
}
.cross .btn {
  margin-top: 12px;
}
.route-steps {
  list-style: none;
  padding: 0;
}
.route-steps li,
.price-lines > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.route-steps small {
  color: var(--blue);
  font-weight: bold;
  white-space: nowrap;
}
.price-lines > div {
  justify-content: space-between;
}
.price-lines dd {
  margin: 0;
  font-weight: 700;
}
.apply-bar {
  display: none;
}
#mobile-nav small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  padding: 12px 18px 0;
}
@media (max-width: 850px) {
  .tile-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .tile-foot .btn {
    align-self: flex-start;
  }
}
@media (max-width: 670px) {
  .service-grid,
  .price-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .intro .hero-photo {
    border-radius: 10px;
  }
  .service-grid,
  .info-grid {
    gap: 18px;
  }
  .tile-main {
    min-height: 168px;
    padding: 20px;
  }
  .tile-foot {
    padding: 14px 20px;
  }
  .tile-foot .btn {
    align-self: stretch;
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .why-grid h3 {
    font-size: 1rem;
  }
  .why-grid p,
  .ticket p {
    font-size: 0.86rem;
  }
  .ticket figure {
    min-height: 90px;
    align-self: center;
    height: 108px;
  }
  .ticket h2 {
    font-size: 1.4rem;
  }
  .status-strip {
    font-size: 0.92rem;
    padding: 14px;
  }
  .detail-body {
    padding-bottom: 60px;
  }
  .apply-bar {
    position: sticky;
    bottom: 0;
    z-index: 4;
    background: white;
    box-shadow: 0 -2px 16px #132c4714;
    padding: 9px max(12px, env(safe-area-inset-right))
      max(9px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .apply-bar small {
    font-size: 0.68rem;
  }
  .apply-bar .btn {
    font-size: 0.86rem;
  }
  body:has(.apply-bar) .mobile-actions,
  body:has(dialog[open]) .apply-bar {
    display: none;
  }
  .info-grid section + section {
    margin-top: 16px;
  }
}

.clMain .clinic-progress {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.clMain [hidden] {
  display: none !important;
}
.quote-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  padding: 16px 0;
}
.quote-lines dd {
  text-align: right;
  margin: 0;
  font-weight: 700;
}
.quote-lines small {
  display: block;
  font-weight: 400;
  color: var(--muted);
}
.quote-lines > div:last-child {
  color: var(--blue);
  font-size: 1.14rem;
}
#pickup-preview .ticket {
  margin-top: 16px;
}

.benefits-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}
.benefits-columns > div {
  padding: 24px;
  background: #f4f7fb;
  border-radius: 16px;
}
.benefits-columns ul {
  padding-left: 1.2em;
  margin-bottom: 0;
}
.benefits-columns li {
  margin-top: 6px;
}
#secure-lookup {
  text-align: left;
  max-width: 540px;
  margin: 18px auto;
}
#secure-lookup label {
  display: grid;
  margin-bottom: 12px;
}
#secure-lookup input {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.journey progress,
.clMain progress {
  display: block;
  width: 100%;
  height: 8px;
  accent-color: var(--blue);
  margin: 14px 0;
}

.customer-clinic {
  background: linear-gradient(#eef6ff 0, #f9fbfe 290px, #fff 650px);
}
.customer-clinic .clMain {
  max-width: 880px;
  padding-block: clamp(30px, 4vw, 58px);
}
.customer-clinic .clMain > h1 {
  font-size: clamp(27px, 3.4vw, 44px);
  margin-top: 0;
}
.customer-clinic .clMain > .panel {
  padding: clamp(18px, 3vw, 32px);
  border-radius: 18px;
  margin-top: 18px;
  border-color: #e4ebf3;
}
.customer-clinic .clMain > .panel h2 {
  font-size: clamp(20px, 2.2vw, 28px);
}
.customer-clinic .clMain .clActions {
  margin-block: 20px;
}
.customer-clinic .rx-lines {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.rx-lines th,
.rx-lines td {
  text-align: right;
  padding: 8px 3px;
  border-bottom: 1px solid var(--border);
}
.rx-lines th:first-child,
.rx-lines td:first-child {
  text-align: left;
}
.customer-clinic .clMain .clGrid label {
  font-size: 15px;
}
.customer-clinic .clMain button.primary {
  background: var(--blue);
  padding: 10px 18px;
  border-radius: 9px;
}
@media (max-width: 840px) {
  body:not(:has(.mobile-actions)) {
    padding-bottom: 0;
  }
  #mobile-nav:not([hidden]) {
    grid-template-columns: 1fr;
  }
  #mobile-nav small {
    padding: 4px 0 0;
  }
  .mobile-actions {
    grid-template-columns: 1fr;
  }
}

.customer-clinic dialog {
  max-width: min(470px, calc(100vw - 36px));
  border: 0;
  border-radius: 18px;
  padding: 24px;
}
.customer-clinic dialog::backdrop {
  background: #10253c85;
}
.customer-clinic:has(dialog[open]) .mobile-actions {
  visibility: hidden;
}

.customer-clinic .field-grid input,.customer-clinic .field-grid select{width:100%}

.customer-clinic .dose-price-row {
  max-width: 40rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.dose-price-row .dose-price { font-variant-numeric: tabular-nums; }
.dose-price-row .clCount { user-select: none; -webkit-user-select: none; }
.dose-price-row button { touch-action: manipulation; min-height: 40px; min-width: 40px; }
.dose-price-row button:disabled { opacity: .45; }
.price-summary { background: #edf6ff; border-radius: 14px; padding: 0 clamp(12px, 3vw, 24px); margin: 20px 0 0; max-width: 40rem; }
.price-summary > div:last-child { border: 0; font-weight: 750; }
.price-summary dd { flex-shrink: 0; font-variant-numeric: tabular-nums; }
@media(max-width: 540px) {
  .customer-clinic .dose-price-row { grid-template-columns: 1fr auto; gap: 2px 10px; }
  .dose-price-row .dose-price { grid-column: 1; }
  .dose-price-row .clCount { grid-column: 2; grid-row: 1 / 3; }
}

/* Customer typography. Brand marks and English labels keep their own tracking. */
:is(.customer-site,.customer-clinic){letter-spacing:0;line-height:1.7}
:is(.customer-site,.customer-clinic) main :is(h1,h2,h3){letter-spacing:-.02em;line-height:1.35}
:is(.customer-site,.customer-clinic) main :is(p,li,label,dd){letter-spacing:0}
:is(.customer-site,.customer-clinic) .faq-list summary{letter-spacing:-.01em}
:is(.customer-site,.customer-clinic) .faq-list p{line-height:1.8}
:is(.customer-site,.customer-clinic) .faq-list p+p{margin-top:.6em}
:is(.customer-site,.customer-clinic) .ticket :is(p,strong){letter-spacing:0;line-height:1.7}
:is(.customer-site,.customer-clinic) .ticket h3{margin-block:8px}
