/* --- Paddings de sección (solo en el sitio vanilla) ---
   En vis-home la regla main[data-page] > .inside-section (los paddings del Home: 118/132, 86/98 y
   72/82) es global y vive en la sección de Locations de globals.css. El sitio vanilla no la tiene
   (sus páginas de Locations conservan 112/124), así que aquí se acota a las subpáginas de What We
   Treat: quedan con los mismos paddings que en vis-home sin tocar las páginas de Locations. */
main[data-page="wwt"] > .inside-section { padding: 118px 0 132px; }
@media (max-width: 900px) { main[data-page="wwt"] > .inside-section { padding: 86px 0 98px; } }
@media (max-width: 640px) { main[data-page="wwt"] > .inside-section { padding: 72px 0 82px; } }

/* --- Shared pieces --- */
.inside-section--ink .section-heading p { color: rgba(255,255,255,.72); }
.inside-section--ink .medical-note { color: rgba(255,255,255,.66); }
main[data-page="wwt"] .medical-note { max-width: 86ch; font-size: 13px; line-height: 1.6; }
/* Note under a grid of cards (symptom note, availability, risks). */
main[data-page="wwt"] .wwt-note { margin-top: 26px; }
main[data-page="wwt"] .wwt-note + .wwt-note { margin-top: 8px; }
.center-action--pair { flex-wrap: wrap; align-items: center; gap: 12px 26px; }
/* Section names from the client's document can wrap to two lines on phones: the bar aligns
   with the first line (as QA-048 does on the market heroes). */
main[data-page="wwt"] .kicker { align-items: flex-start; line-height: 1.35; }
main[data-page="wwt"] .kicker i { flex: 0 0 3px; }
.wwt-icon { width: 24px; height: 24px; }
.wwt-icon-tile { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; color: var(--navy-700); border: 1px solid var(--azure-100); border-radius: 13px; background: var(--azure-050); }
.section--soft .wwt-icon-tile { background: #fff; }
.wwt-icon-tile--lg { width: 104px; height: 104px; border-radius: 50%; background: linear-gradient(145deg,#fff,var(--azure-050)); }
.wwt-icon-tile--lg .wwt-icon { width: 42px; height: 42px; }
/* Card rows that centre an incomplete last row instead of leaving a hole (data-cols = cards per row). */
.wwt-flow { --gap: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.wwt-flow > * { flex: 0 0 calc((100% - 2 * var(--gap)) / 3 - .01px); min-width: 0; }
.wwt-flow[data-cols="1"] > * { flex-basis: 100%; }
.wwt-flow[data-cols="2"] > * { flex-basis: calc((100% - var(--gap)) / 2 - .01px); }
.wwt-flow[data-cols="5"] > * { flex-basis: calc((100% - 4 * var(--gap)) / 5 - .01px); }
/* Chips that open a modal: 44 px touch height on the new pages and in the treatment modal. */
.wwt-field .path-chips button, .wwt-symptom-choice .path-chips button, .wwt-pain__card .path-chips button, .info-modal--treatment .path-chips button, .info-modal__procedures button { min-height: 44px; padding: 9px 14px; font-size: var(--fs-content); text-align: left; }
/* 44 px touch height for the compact card buttons of the new pages. */
main[data-page="wwt"] .provider-actions .button--compact { min-height: 44px; }
.wwt-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.loc-empty .wwt-empty-actions .button { margin-top: 0; }

/* --- Hero: three-level breadcrumb and the framing of each photo (image-prompts.md) --- */
.inside-hero--wwt .inside-hero__crumbs { right: 0; flex-wrap: wrap; }
/* The headline stays on the dark side of the shade, clear of the people on the right. */
.inside-hero--wwt h1 { max-width: 720px; }
.inside-hero--wwt-symptoms .inside-hero__media img { object-position: center 15%; }
.inside-hero--wwt-venous-disease .inside-hero__media img { object-position: center 35%; }
.inside-hero--wwt-arterial-disease .inside-hero__media img { object-position: center 45%; }
.inside-hero--wwt-pain-inflammation .inside-hero__media img { object-position: center 40%; }
.inside-hero--wwt-mens-health .inside-hero__media img { object-position: center 45%; }
.inside-hero--wwt-womens-health .inside-hero__media img { object-position: center 50%; }
.inside-hero--wwt-treatments-procedures .inside-hero__media img { object-position: center 40%; }

/* --- Symptom and sign cards (Home symptom grid) --- */
.wwt-symptom-grid--cta > button { grid-template-rows: auto auto auto; }
.wwt-symptom-grid--cta .symptom-illustration { grid-row: 1 / 4; }
.wwt-symptom-grid em { display: inline-flex; align-self: start; align-items: center; gap: 10px; margin-top: 4px; color: var(--navy-700); font-family: var(--heading); font-size: 13px; font-style: normal; font-weight: 600; }
.wwt-symptom-grid em .arrow { position: static; }
.wwt-symptom-choice { position: relative; display: grid; min-height: 220px; grid-template-columns: minmax(122px,140px) 1fr; gap: 9px 18px; align-content: center; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.wwt-symptom-choice .symptom-illustration { grid-row: 1 / 4; }
@media (min-width: 901px) {
  /* Seven cards in three columns: the last one sits in the middle. */
  .wwt-symptom-grid > :last-child:nth-child(3n+1) { grid-column: 2; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .wwt-symptom-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* --- Understanding (inside-split with a 3:2 image and points with icons) --- */
.wwt-split--media-first .inside-split__media { order: -1; }
.wwt-split__media { min-height: 0; aspect-ratio: 3 / 2; }
.wwt-split__media--illustration { border: 1px solid var(--border); background: #f6f9fc; box-shadow: 0 18px 50px rgba(15,32,108,.08); }
.wwt-split__media--illustration img { object-fit: contain; }
.wwt-split__media--illustration::after { display: none; }
.wwt-split__media--illustration > span { color: var(--navy-900); border-color: var(--border); background: rgba(255,255,255,.9); }
/* Dos columnas: la imagen ocupa todo el alto del texto en vez de flotar como una caja 3:2 en
   medio de una columna alta (feedback 2026-11-11). En una columna se mantiene la caja 3:2. */
@media (min-width: 901px) {
  .wwt-split { align-items: stretch; }
  .wwt-split__media { aspect-ratio: auto; min-height: 520px; }
  /* La ilustración vertical 3:4 llena la caja alta; cover solo recorta unos píxeles. */
  .wwt-split__media--illustration img { object-fit: cover; }
}
.inside-split__copy ul.wwt-points { gap: 20px; margin: 30px 0 34px; }
.inside-split__copy ul.wwt-points:last-child { margin-bottom: 0; }
.inside-split__copy .wwt-points li { align-items: flex-start; gap: 16px; }
.inside-split__copy .wwt-points li::before { content: none; }
.wwt-points li > div { display: grid; gap: 4px; }
.wwt-points strong { color: var(--ink); font-family: var(--heading); font-size: 16px; line-height: 1.35; }
.wwt-points li > div > span { line-height: 1.6; }
.inside-split__copy > .wwt-note { margin: -14px 0 30px; }

/* Carrusel de tarjetas de condición (2026-11-11): la pista y los controles del carrusel de
   especialistas, tres tarjetas a la vez en escritorio, dos en tablet y una (asomando la siguiente)
   en teléfono. */
.wwt-condition-carousel .provider-carousel__track { gap: 18px; padding-block: 8px 20px; }
.wwt-condition-carousel .provider-carousel__track > .wwt-condition-carousel__item { display: flex; flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.wwt-condition-carousel__item > .wwt-condition-card { width: 100%; }
@media (max-width: 900px) {
  .wwt-condition-carousel .provider-carousel__track > .wwt-condition-carousel__item { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 640px) {
  .wwt-condition-carousel .provider-carousel__track { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .wwt-condition-carousel .provider-carousel__track > .wwt-condition-carousel__item { flex-basis: 86%; }
}

/* FAQs (2026-11-11): en dos columnas el título y su botón acompañan el scroll junto a la lista
   larga de preguntas; en una columna el flujo es normal. */
.wwt-faqs .faq-heading .button { margin-top: 26px; }
@media (min-width: 901px) {
  .wwt-faqs .faq-heading { position: sticky; top: 140px; }
}

/* --- Symptoms and possible conditions (connection-system, symptom version) --- */
.wwt-connection__picker { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 30px; }
.wwt-connection__picker button { min-height: 44px; padding: 9px 15px; color: rgba(255,255,255,.82); border: 1px solid rgba(160,192,238,.34); border-radius: 999px; background: rgba(255,255,255,.04); font-family: var(--heading); font-size: 12px; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
.wwt-connection__picker button:hover { color: #fff; border-color: var(--azure-300); }
.wwt-connection__picker button.is-active { color: var(--navy-950); border-color: var(--azure-300); background: var(--azure-300); }
.wwt-connection .connection-journey__visual { min-height: 520px; }
.wwt-connection .connection-journey__content { justify-content: center; }
.wwt-connection .connection-journey__content header p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.78); }
.wwt-connection__wide { grid-column: 1 / -1; }
.wwt-connection__list { display: grid; margin: 0; padding: 0; list-style: none; }
.wwt-connection__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.1); }
.wwt-connection__list li:first-child { border-top: 0; }
.wwt-connection__list strong { font-family: var(--heading); font-size: 15px; font-weight: 600; }
.wwt-connection__list button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0; color: var(--azure-300); border: 0; background: none; font-family: var(--heading); font-size: 13px; font-weight: 600; }
.wwt-connection__list button:hover { color: #fff; }
.wwt-connection__note { color: rgba(255,255,255,.66); }
/* Chips that are buttons (potential treatments). Also used by the Condition → Treatment
   Connection of /what-we-treat and by the conditions table. */
.connection-chips { align-items: center; }
.connection-chips button { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 9px 14px; color: #fff; border: 1px solid rgba(160,192,238,.36); border-radius: 999px; background: rgba(255,255,255,.06); font-family: var(--heading); font-size: 12px; font-weight: 600; text-align: left; transition: border-color .25s, background .25s; }
.connection-chips button:hover { border-color: var(--azure-300); background: rgba(160,192,238,.16); }
.connection-chips .arrow { color: var(--azure-300); }

/* --- Numbered steps with a progress line --- */
.wwt-steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.wwt-steps::before { position: absolute; top: 27px; right: calc(100% / var(--cols, 5) - 56px); left: 0; height: 2px; content: ''; border-radius: 2px; background: linear-gradient(90deg,var(--azure-300),var(--azure-500) 62%,var(--red)); }
.wwt-steps li { position: relative; padding-right: 26px; }
.wwt-steps__number { position: relative; z-index: 1; display: grid; width: 56px; height: 56px; place-items: center; color: var(--navy-700); border: 1px solid var(--border); border-radius: 50%; background: #fff; box-shadow: 0 0 0 8px #fff; font-family: var(--display); font-size: 19px; font-weight: 600; }
.section--soft .wwt-steps__number { box-shadow: 0 0 0 8px var(--surface-alt); }
.inside-section--ink .wwt-steps__number { color: #fff; border-color: rgba(160,192,238,.5); background: var(--navy-950); box-shadow: 0 0 0 8px var(--navy-950); }
.wwt-steps h3 { margin-top: 26px; font-family: var(--heading); font-size: 17px; line-height: 1.35; text-wrap: balance; }
.wwt-steps p { margin-top: 10px; color: var(--body); font-size: var(--fs-content); line-height: 1.65; }
.inside-section--ink .wwt-steps p { color: rgba(255,255,255,.72); }
.wwt-steps .text-link { min-height: 44px; margin-top: 10px; font-size: 13.5px; }
main[data-page="wwt"] .wwt-steps-section .wwt-note { margin-top: 34px; }
@media (max-width: 1040px) {
  /* One column: the line runs down the left, through the numbers. */
  .wwt-steps { grid-template-columns: 1fr; gap: 28px; }
  .wwt-steps::before { top: 0; right: auto; bottom: 0; left: 27px; width: 2px; height: auto; background: linear-gradient(180deg,var(--azure-300),var(--azure-500) 62%,var(--red)); }
  .wwt-steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-right: 0; }
  .wwt-steps__number { grid-row: 1 / span 3; }
  .wwt-steps h3 { grid-column: 2; margin-top: 4px; }
  .wwt-steps p, .wwt-steps .text-link { grid-column: 2; }
}

/* --- Filter rows (specialist finder and Find a Treatment) --- */
.wwt-filter-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.wwt-filter-row label { display: flex; flex: 1 1 200px; flex-direction: column; gap: 7px; color: var(--navy-700); font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wwt-filter-row select {
  min-height: 52px; padding: 12px 42px 12px 14px; color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none;
  -webkit-appearance: none; appearance: none; border: 1px solid var(--border); border-radius: 12px; background-color: #fff; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f206c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.wwt-filter-reset { min-height: 52px; font-size: var(--fs-content); text-decoration: underline; text-underline-offset: 4px; }
.wwt-filter-reset:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.wwt-finder .loc-results-count { margin: 22px 0; }

/* --- Specialist cards (Home provider card with the conditions treated) --- */
.wwt-provider-grid .provider-card__body h3 { min-height: 0; margin-bottom: 14px; }
.wwt-provider-conditions { display: grid; gap: 7px; }
.wwt-provider-conditions > span { color: var(--body); font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.wwt-provider-conditions ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wwt-provider-conditions li { padding: 5px 10px; color: var(--navy-700); border-radius: 999px; background: var(--azure-050); font-size: 12.5px; line-height: 1.35; }
.wwt-provider-conditions li.wwt-provider-conditions__more { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line, rgba(8, 19, 63, .14)); }
@media (min-width: 1101px) {
  /* Three or six physicians: rows of three, centred, with the card width of the four-column grid. */
  .wwt-provider-grid--three { grid-template-columns: repeat(3, calc((100% - 42px) / 4)); justify-content: center; }
}

/* --- Condition cards --- */
.wwt-condition-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.wwt-condition-card:hover { border-color: var(--azure-300); box-shadow: var(--shadow-card); }
.wwt-condition-card__tag { align-self: flex-start; padding: 5px 10px; color: var(--navy-700); border-radius: 999px; background: var(--azure-050); font-family: var(--heading); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.wwt-condition-card h3 { color: var(--ink); font-family: var(--display); font-size: 25px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.wwt-condition-card > small { margin-top: -6px; color: var(--body); font-size: 12.5px; line-height: 1.45; }
.wwt-condition-card > p { color: var(--body); font-size: 15px; line-height: 1.65; }
/* Emergency line of a condition, on its card and in its modal. */
.wwt-condition-card > .wwt-urgent, .info-modal__urgent { padding: 10px 14px; color: var(--red-dark); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: rgba(177,32,40,.06); font-size: 14px; font-weight: 600; line-height: 1.5; }
.info-modal__urgent { margin-top: 16px; }
.wwt-field { display: grid; gap: 8px; }
.wwt-field h4, .wwt-treatment-card dt { margin: 0; color: var(--navy-700); font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.wwt-field ul { display: grid; gap: 5px; margin: 0; padding-left: 18px; color: var(--body); font-size: 14.5px; line-height: 1.55; }
.wwt-field p { color: var(--body); font-size: 14.5px; line-height: 1.62; }
.wwt-field .path-chips { margin-top: 2px; }
.wwt-condition-card > .text-link, .wwt-treatment-card__body > .text-link { min-height: 44px; margin-top: auto; font-size: var(--fs-content); }

/* --- Treatment cards (the directory of Treatments & Procedures) --- */
.wwt-treatment-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.wwt-treatment-card:hover { border-color: var(--azure-300); box-shadow: var(--shadow-card); }
.wwt-treatment-card__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 28px 26px 22px; }
.wwt-treatment-card__body > small { color: var(--navy-500); font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.wwt-treatment-card h3 { color: var(--ink); font-family: var(--heading); font-size: 19px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.wwt-treatment-card__body > p { color: var(--body); font-size: var(--fs-content); line-height: 1.62; }
.wwt-treatment-card dl { display: grid; gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--border); }
.wwt-treatment-card dd { margin: 5px 0 0; color: var(--body); font-size: var(--fs-content); line-height: 1.55; }
.wwt-treatment-card dd ul { display: grid; gap: 3px; margin: 0; padding-left: 18px; }

/* --- Procedure selector of the category pages (2026-11-12, proposal B, decision 37) ---
   List of procedures beside one record: illustration header, the page's fields and arrows. The
   list fills the height of the record; with two or three procedures it becomes tabs above it, and
   below 960 px a row that scrolls sideways. */
.wwt-px { display: grid; grid-template-columns: minmax(270px,.78fr) minmax(0,1.75fr); overflow: hidden; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: var(--shadow-card); }
.wwt-px__nav { display: flex; min-width: 0; flex-direction: column; margin: 0; padding: 0; list-style: none; border-right: 1px solid var(--border); background: #f5f8fc; }
.wwt-px__nav li { display: flex; flex: 1 1 auto; border-bottom: 1px solid var(--border); }
.wwt-px__nav li:last-child { border-bottom: 0; }
.wwt-px__nav button { position: relative; display: flex; width: 100%; min-height: 50px; align-items: center; gap: 14px; padding: 10px 22px; color: var(--navy-700); border: 0; background: none; font-family: var(--heading); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: background .2s, color .2s, padding .3s cubic-bezier(.23,1,.32,1); }
.wwt-px__nav button::before { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; content: ''; background: var(--red); transform: scaleY(0); transition: transform .3s cubic-bezier(.23,1,.32,1); }
.wwt-px__nav button:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.wwt-px__nav button[aria-selected="true"] { padding-left: 28px; color: var(--ink); background: #fff; }
.wwt-px__nav button[aria-selected="true"]::before { transform: scaleY(1); }
.wwt-px__detail { display: flex; min-width: 0; flex-direction: column; }
.wwt-px__detail[hidden] { display: none; }
.wwt-px__hero { position: relative; display: flex; min-height: 250px; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; padding: 34px clamp(26px,3.4vw,44px) 30px; color: #fff; background: rgb(24,32,74); }
.wwt-px__hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; animation: wwt-px-in .45s ease both; }
.wwt-px__hero img.is-photo { object-position: center 40%; }
.wwt-px__hero::after { position: absolute; inset: 0; z-index: -1; content: ''; background: linear-gradient(90deg, rgba(20,28,70,.92) 0%, rgba(20,28,70,.6) 45%, rgba(20,28,70,.1) 80%); }
.wwt-px__hero > div { display: grid; gap: 10px; }
.wwt-px__hero small { color: var(--azure-300); font-family: var(--heading); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wwt-px__hero h3 { max-width: 560px; color: #fff; font-family: var(--display); font-size: clamp(28px,2.6vw,38px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.wwt-px__hero p { max-width: 520px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.6; }
.wwt-px__body { display: flex; flex: 1; flex-direction: column; gap: 22px; padding: 30px clamp(26px,3.4vw,44px) 26px; }
.wwt-px__fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 28px; }
.wwt-px__fields .wwt-field { align-content: start; }
.wwt-px__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.wwt-px__foot > .text-link { min-height: 44px; font-size: 14px; }
.wwt-px__steps { display: flex; gap: 8px; }
.wwt-px__steps button { display: grid; width: 44px; height: 44px; place-items: center; color: var(--navy-700); border: 1px solid var(--border); border-radius: 50%; background: #fff; font-size: 16px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.wwt-px__steps button:hover { color: #fff; border-color: var(--navy-950); background: var(--navy-950); }
.wwt-px + .wwt-note { margin-top: 26px; }
.wwt-px--few { grid-template-columns: minmax(0,1fr); }
.wwt-px--few .wwt-px__nav { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--border); }
.wwt-px--few .wwt-px__nav li { flex: 1 1 0; border-right: 1px solid var(--border); border-bottom: 0; }
.wwt-px--few .wwt-px__nav li:last-child { border-right: 0; }
.wwt-px--few .wwt-px__nav button { min-height: 64px; justify-content: center; padding-left: 22px; }
.wwt-px--few .wwt-px__nav button::before { top: auto; right: 0; width: auto; height: 3px; transform: scaleX(0); }
.wwt-px--few .wwt-px__nav button[aria-selected="true"]::before { transform: scaleX(1); }
@keyframes wwt-px-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1199px) {
  .wwt-px__fields { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .wwt-px { grid-template-columns: minmax(0,1fr); }
  .wwt-px__nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .wwt-px__nav::-webkit-scrollbar { display: none; }
  .wwt-px__nav li { flex: 0 0 auto; border-right: 1px solid var(--border); border-bottom: 0; }
  .wwt-px__nav button { white-space: nowrap; }
  .wwt-px__nav button[aria-selected="true"] { padding-left: 22px; }
  .wwt-px__nav button::before { top: auto; right: 0; width: auto; height: 3px; transform: scaleX(0); }
  .wwt-px__nav button[aria-selected="true"]::before { transform: scaleX(1); }
}
@media (max-width: 760px) {
  .wwt-px { border-radius: 20px; }
  .wwt-px__hero { min-height: 220px; padding: 26px 22px 22px; }
  .wwt-px__hero img { object-position: 78% center; }
  .wwt-px__hero small { font-size: 11px; letter-spacing: .1em; }
  .wwt-px__body { padding: 24px 22px 20px; }
  .wwt-px__fields { grid-template-columns: minmax(0,1fr); gap: 16px; }
  /* Two-line names, so the next procedure peeks in and the row reads as scrollable. */
  .wwt-px__nav button { max-width: 230px; min-height: 60px; padding: 10px 16px; white-space: normal; font-size: 13.5px; }
  .wwt-px__nav button[aria-selected="true"] { padding-left: 16px; }
  .wwt-px--few .wwt-px__nav button { max-width: none; min-height: 56px; padding: 10px 14px; white-space: normal; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .wwt-px__hero img { animation: none; }
  .wwt-px__nav button, .wwt-px__nav button::before { transition: none; }
}
/* --- End of the procedure selector --- */

/* --- Why Choose VIS (five cards with an icon) --- */
.wwt-why-grid article { display: flex; flex-direction: column; gap: 10px; padding: 28px 22px 26px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.wwt-why-grid h3 { margin-top: 8px; color: var(--ink); font-family: var(--heading); font-size: 16px; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.wwt-why-grid p { color: var(--body); font-size: 14px; line-height: 1.6; }
/* Why Choose VIS on navy (2026-11-12): glass cards, as in the other navy sections. */
.inside-section--ink .wwt-why-grid article { border-color: rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); }
.inside-section--ink .wwt-why-grid h3 { color: #fff; }
.inside-section--ink .wwt-why-grid p { color: rgba(255,255,255,.72); }
.inside-section--ink .wwt-why-grid .wwt-icon-tile { color: var(--azure-300); border-color: rgba(160,192,238,.28); background: rgba(160,192,238,.1); }
.inside-section--ink .wwt-why-grid .text-inline-link { color: var(--azure-300); }

/* --- Potential Patient Benefits: five outcome cards without a hole (3 + 2) --- */
.outcome-grid--five { grid-template-columns: repeat(6,1fr); }
.outcome-grid--five > article { grid-column: span 2; }
.outcome-grid--five > article:nth-child(n+4) { grid-column: span 3; }
.outcome-grid--five article p { max-width: 420px; font-size: 14px; }

/* --- Care locations: markets under the map --- */
.wwt-market-list { margin-top: 44px; }
.wwt-market-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.wwt-market-card h3 { margin: 0; color: var(--ink); font-family: var(--heading); font-size: 16px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.wwt-market-card ul { display: grid; gap: 4px; margin: 0; padding-left: 17px; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.wwt-market-card .text-link { min-height: 44px; margin-top: auto; font-size: 13.5px; }

/* --- Tell Us Where It Hurts (six cards; each one opens its symptom or condition) --- */
.wwt-pain { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.wwt-pain__card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px 20px; color: var(--ink); text-align: left; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: transform .3s, border-color .3s, box-shadow .3s; }
button.wwt-pain__card:hover { border-color: var(--azure-500); box-shadow: var(--shadow-card); transform: translateY(-6px); }
.wwt-pain__art { display: block; width: 100%; height: 150px; margin-bottom: 4px; }
.wwt-pain__art img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.wwt-pain__card strong { font-family: var(--heading); font-size: 18px; line-height: 1.25; }
.wwt-pain__card small { color: var(--body); font-size: 14px; line-height: 1.55; }
.wwt-pain__related { margin-top: 4px; padding: 5px 11px; color: var(--navy-700); border-radius: 999px; background: var(--azure-050); font-size: 12.5px; font-weight: 600; }
.wwt-pain__card em { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; color: var(--navy-700); font-family: var(--heading); font-size: 13px; font-style: normal; font-weight: 600; }
.wwt-pain__card .path-chips { margin-top: 2px; }

/* --- Understanding Your Treatment Options (about-manifesto with points and icons) --- */
.wwt-considerations .about-manifesto > div > p { margin-top: 22px; }
.wwt-considerations__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.wwt-considerations__list li { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.wwt-considerations__list strong { display: block; color: var(--ink); font-family: var(--heading); font-size: 17px; line-height: 1.35; }
.wwt-considerations__list p { margin-top: 6px; font-size: 15px; line-height: 1.65; }

/* --- Treatments & Procedures: finder, categories, directory and table --- */
.wwt-treatment-finder form > label { display: block; margin-bottom: 6px; color: var(--navy-700); font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wwt-treatment-finder .search-box input { height: 100%; font-size: 16px; }
.wwt-search-clear { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; margin-right: -10px; padding: 0; color: var(--body); border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; }
.wwt-search-clear:hover { color: var(--red); }
.wwt-treatment-finder .wwt-filter-row { margin-top: 18px; }
.wwt-filter-help { margin-top: 10px; color: var(--body); font-size: var(--fs-content); line-height: 1.55; }
.wwt-finder-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; margin-top: 14px; }
.wwt-finder-status .loc-results-count { margin: 0; }
.wwt-treatment-categories .condition-grid article.is-selected { outline: 3px solid var(--red); outline-offset: 3px; }
.wwt-treatment-categories .condition-grid .text-link { min-height: 44px; }
.wwt-directory__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.wwt-directory__jump { color: var(--body); font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wwt-directory__toolbar .wwt-alpha { gap: 5px; margin-top: 0; }
.wwt-alpha button { min-width: 44px; padding: 10px 6px; }
.wwt-alpha button:disabled { color: #a8b2c2; border-color: transparent; background: transparent; cursor: default; }
.wwt-directory .loc-results-count { margin: 18px 0 22px; }
/* Paginador del directorio (6 tarjetas por página, 2026-11-11): Previous, círculos de página con el
   estilo de las letras, Next y el rango debajo. La rejilla vuelve a quedar bajo el header fijo.
   El paginador lo arma main.js; sin JS se ven las 30 tarjetas. */
.wwt-directory__grid { scroll-margin-top: 150px; }
.wwt-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 44px; }
.wwt-pager .wwt-pager__pages { flex-wrap: nowrap; gap: 6px; margin-top: 0; }
.wwt-pager__pages button { min-width: 44px; padding: 10px 6px; }
.wwt-pager__step { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 6px; color: var(--navy-700); border: 0; background: none; font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; transition: color .2s, opacity .2s; }
.wwt-pager__step:hover:not(:disabled) { color: var(--red); }
.wwt-pager__step:disabled { opacity: .35; cursor: not-allowed; }
.wwt-pager__range { flex: 1 1 100%; margin: 0; color: var(--body); font-size: var(--fs-content); text-align: center; }
.wwt-directory__cta { margin-top: 30px; }
.wwt-pager[hidden], .wwt-directory__cta[hidden] { display: none; }
.wwt-directory__cta + .wwt-note { margin-top: 34px; }
@media (max-width: 640px) {
  .wwt-pager { gap: 10px 6px; }
  .wwt-pager__step { min-width: 40px; justify-content: center; padding: 0; font-size: 16px; }
  /* Arrows only on a phone, so Previous, the five pages and Next fit on one line; the words stay
     for screen readers. */
  .wwt-pager__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wwt-pager .wwt-pager__pages { gap: 4px; }
  .wwt-pager__pages button { min-width: 42px; }
}
/* Conditions and Treatments (2026-11-11, proposal C chosen by the designer): a selector instead of
   the 23-row table. Above the card, the area tabs in one row (2026-11-12). Left: the conditions of
   that area, in the style of the Home treatments list (full-width rows split by rules, an arrow,
   a red bar and a tint on the active one) on the dark card. The progress line of the active row
   drives the automatic loop. Right: the potential treatments of the chosen condition with their
   short description, in the glass panel of the hub Condition → Treatment block. */
.wwt-ct__areas { display: flex; flex-wrap: nowrap; gap: 10px; margin-bottom: 22px; }
.wwt-ct__areas button { flex: 0 0 auto; min-height: 48px; padding: 10px 22px; color: rgba(255,255,255,.78); border: 1px solid rgba(160,192,238,.28); border-radius: 999px; background: none; font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.wwt-ct__areas button:hover { color: #fff; border-color: var(--azure-300); }
.wwt-ct__areas button[aria-pressed="true"] { color: var(--navy-950); border-color: var(--azure-300); background: var(--azure-300); }
.wwt-ct { display: grid; grid-template-columns: minmax(300px,.85fr) minmax(0,1.55fr); overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.055); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 34px 90px rgba(2,8,35,.34); }
.wwt-ct__nav { min-width: 0; border-right: 1px solid rgba(255,255,255,.1); background: rgba(5,12,39,.35); }
.wwt-ct__list { margin: 0; padding: 0; list-style: none; }
.wwt-ct__list li { border-bottom: 1px solid rgba(255,255,255,.1); }
.wwt-ct__list button { position: relative; display: grid; width: 100%; min-height: 76px; grid-template-columns: 1fr 22px; gap: 16px; align-items: center; padding: 16px 26px; overflow: hidden; color: rgba(255,255,255,.82); border: 0; background: transparent; text-align: left; transition: color .3s ease, background .3s ease, padding .3s cubic-bezier(.23,1,.32,1); }
.wwt-ct__list button::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ''; background: var(--red); transform: scaleY(0); transition: transform .3s cubic-bezier(.23,1,.32,1); }
.wwt-ct__list strong { font-family: var(--heading); font-size: clamp(15px,1.25vw,17px); line-height: 1.3; font-weight: 600; text-wrap: balance; }
.wwt-ct__list i { color: var(--azure-300); font-size: 17px; font-style: normal; transition: transform .3s ease; }
.wwt-ct__list button:hover { color: #fff; background: rgba(255,255,255,.04); }
.wwt-ct__list button[aria-pressed="true"] { padding-left: 32px; color: #fff; background: linear-gradient(90deg,rgba(160,192,238,.18),rgba(160,192,238,.04)); }
.wwt-ct__list button[aria-pressed="true"]::before { transform: scaleY(1); }
.wwt-ct__list button[aria-pressed="true"] i { transform: translate(3px,-3px); }
.wwt-ct__list button:focus-visible { z-index: 2; outline: 2px solid var(--azure-300); outline-offset: -2px; }
.wwt-ct__progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--red); transform-origin: left; animation: treatment-progress 6s linear both; }
.wwt-ct:hover .wwt-ct__progress, .wwt-ct:has(:focus-visible) .wwt-ct__progress, .wwt-ct[data-paused] .wwt-ct__progress, body.modal-open .wwt-ct__progress { animation-play-state: paused; }
/* Reduced motion: no line, no animationend, no loop (the global rule would shorten it to 0). */
@media (prefers-reduced-motion: reduce) { .wwt-ct__progress { display: none; animation: none !important; } }
.wwt-ct__detail { display: flex; min-width: 0; flex-direction: column; gap: 22px; padding: 34px clamp(26px,3.5vw,48px) 38px; animation: connection-panel-in .48s cubic-bezier(.2,.7,.2,1); }
.wwt-ct__detail header > span { color: var(--azure-300); font-family: var(--heading); font-size: var(--fs-content); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wwt-ct__detail h3 { margin-top: 8px; color: #fff; font-family: var(--display); font-size: clamp(30px,3vw,40px); font-weight: 600; line-height: 1.08; }
.wwt-ct__detail header .text-link { margin-top: 12px; color: var(--azure-300); }
.wwt-ct__detail header .text-link:hover { color: #fff; }
.wwt-ct__treatments { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.wwt-ct__treatments li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.04); }
.wwt-ct__treatments strong { font-family: var(--heading); font-size: 16px; line-height: 1.35; }
.wwt-ct__treatments p { margin: 0; color: rgba(255,255,255,.74); font-size: var(--fs-content); line-height: 1.6; }
.wwt-ct__treatments button { align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0; color: var(--azure-300); border: 0; background: none; font-family: var(--heading); font-size: var(--fs-content); font-weight: 600; }
.wwt-ct__treatments button:hover { color: #fff; }
/* No empty space under the last condition (2026-11-12): the rows share the height of the card, so
   the list always reaches the bottom edge, and on wide screens three or more treatments sit three
   to a row, which keeps the panel close to the height of the list (fewer jumps while it loops). */
@media (min-width: 761px) {
  .wwt-ct__nav { display: flex; flex-direction: column; }
  .wwt-ct__list { display: flex; flex: 1; flex-direction: column; }
  .wwt-ct__list li { display: flex; flex: 1 1 auto; }
  .wwt-ct__list li:last-child { border-bottom: 0; }
  .wwt-ct__list button { flex: 1; }
}
@media (min-width: 1200px) {
  .wwt-ct__treatments:has(> li:nth-child(3)) { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
/* Background of the treatments panel (2026-11-12): an anatomical illustration of the chosen
   condition, its subject on the right and plain navy on the left (behind the title). A veil keeps
   the left side and the bottom calm, and the treatment cards turn into dark glass over it. On
   phones the picture sits behind the header only and fades out below it. */
.wwt-ct__detail { position: relative; isolation: isolate; overflow: hidden; }
.wwt-ct__bg { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.wwt-ct__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.wwt-ct__bg::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(20,28,70,.9) 0%, rgba(20,28,70,.55) 38%, rgba(20,28,70,.08) 72%), linear-gradient(0deg, rgba(20,28,70,.5), transparent 45%); }
.wwt-ct__treatments li { background: rgba(16,24,62,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 760px) {
  .wwt-ct__bg { bottom: auto; height: 300px; }
  .wwt-ct__bg img { object-position: 80% 30%; }
  .wwt-ct__bg::after { background: linear-gradient(90deg, rgba(20,28,70,.85), rgba(20,28,70,.3) 70%), linear-gradient(0deg, rgb(24,32,74) 0%, transparent 70%); }
}
.wwt-ct__neutral { margin: 0; color: rgba(255,255,255,.76); font-size: 15px; font-style: italic; }
@media (max-width: 1100px) {
  /* The five tabs no longer fit in one row: they scroll sideways from the left edge. */
  .wwt-ct__areas { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .wwt-ct__areas::-webkit-scrollbar { display: none; }
}
@media (max-width: 760px) {
  .wwt-ct__areas { gap: 8px; margin-bottom: 16px;         flex-wrap: wrap;
        flex-direction: column;}
  .wwt-ct__areas button { min-height: 44px; padding: 9px 16px; font-size: var(--fs-content); }
  .wwt-ct { grid-template-columns: minmax(0,1fr); }
  .wwt-ct__nav { border-right: 0; }
  .wwt-ct__list button { min-height: 58px; padding: 12px 18px; gap: 12px; }
  .wwt-ct__list button[aria-pressed="true"] { padding-left: 22px; }
  .wwt-ct__list strong { font-size: 15px; }
  .wwt-ct__detail { padding: 26px 18px 28px; }
  .wwt-ct__treatments { grid-template-columns: 1fr; }
}

/* --- Final CTA: emergency note and the framing of each photo (image-prompts.md) --- */
/* CTA final de What We Treat (2026-11-11): aire arriba del kicker y debajo de la nota de
   emergencia, y un título más ancho y algo más chico para que quede en dos líneas en escritorio. */
.wwt-final { padding: clamp(84px, 8vw, 116px) 0; }
@media (min-width: 901px) {
  .wwt-final h2 { max-width: 900px; font-size: clamp(42px, 4.1vw, 60px); }
}
.wwt-final__note { display: block; margin-top: 10px; color: rgba(255,255,255,.7); font-size: var(--fs-content); line-height: 1.5; }
.wwt-final--symptoms > img, .wwt-final--arterial-disease > img, .wwt-final--mens-health > img { object-position: center top; }
.wwt-final--venous-disease > img { object-position: center 60%; }
.wwt-final--pain-inflammation > img { object-position: center 15%; }
.wwt-final--womens-health > img { object-position: center 25%; }
.wwt-final--treatments-procedures > img { object-position: center 10%; }

/* --- Treatment modal (any procedure of the catalog) and catalog links of the condition modal --- */
.info-modal__grid p { margin-top: 10px; color: var(--body); font-size: var(--fs-content); line-height: 1.7; }
.info-modal__grid h3 + .path-chips { margin-top: 12px; }
.info-modal__grid .path-chips + p { margin-top: 12px; }
.info-modal__procedures { margin-top: 14px; }

/* --- /what-we-treat: Schedule + text link to the subpage in each category block --- */
.condition-list__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 24px; }
.condition-list__actions .condition-list__consult { margin-top: 0; }
.condition-list__actions .text-link, .center-action--pair .text-link, main[data-page="wwt"] .center-action .text-link { min-height: 44px; }

/* --- Responsive --- */
@media (max-width: 1240px) {
  .wwt-flow[data-cols="5"] > * { flex-basis: calc((100% - 2 * var(--gap)) / 3 - .01px); }
}
@media (max-width: 1100px) {
  .wwt-flow[data-cols="3"] > * { flex-basis: calc((100% - var(--gap)) / 2 - .01px); }
  .wwt-pain { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .outcome-grid--five { grid-template-columns: repeat(2,1fr); }
  .outcome-grid--five > article, .outcome-grid--five > article:nth-child(n+4) { grid-column: auto; }
  .outcome-grid--five > article:last-child { grid-column: 1 / -1; }
  .wwt-connection .connection-journey__visual { min-height: 340px; }
}
@media (max-width: 760px) {
  .wwt-flow > *, .wwt-flow[data-cols] > * { flex-basis: 100%; }
  /* The stacked search field keeps its 58 px height (the row turns into a column). */
  .wwt-treatment-finder .loc-find__row .search-box { flex: 0 0 58px; }
}
@media (max-width: 640px) {
  .inside-hero--wwt-symptoms .inside-hero__media img, .inside-hero--wwt-treatments-procedures .inside-hero__media img { object-position: 70% center; }
  .inside-hero--wwt-venous-disease .inside-hero__media img { object-position: 88% center; }
  .inside-hero--wwt-arterial-disease .inside-hero__media img, .inside-hero--wwt-pain-inflammation .inside-hero__media img, .inside-hero--wwt-mens-health .inside-hero__media img, .inside-hero--wwt-womens-health .inside-hero__media img { object-position: 85% center; }
  .wwt-final--symptoms > img, .wwt-final--arterial-disease > img, .wwt-final--mens-health > img, .wwt-final--pain-inflammation > img { object-position: 80% top; }
  .wwt-final--venous-disease > img { object-position: 85% center; }
  .wwt-final--womens-health > img { object-position: 75% center; }
  .wwt-final--treatments-procedures > img { object-position: 75% top; }
  .wwt-symptom-choice { min-height: 178px; grid-template-columns: 116px 1fr; gap: 8px 15px; padding: 16px; }
  .wwt-icon-tile--lg { width: 88px; height: 88px; }
  .wwt-connection__picker { flex-wrap: nowrap; margin-right: calc(-1 * var(--gutter)); overflow-x: auto; padding: 0 var(--gutter) 8px 0; }
  .wwt-connection__picker button { flex: 0 0 auto; }
  .wwt-filter-row { flex-direction: column; align-items: stretch; }
  .wwt-filter-row label { flex: 0 0 auto; }
  .wwt-filter-reset { min-height: 44px; }
  .wwt-condition-card, .wwt-treatment-card__body { padding: 24px 20px 18px; }
  /* Specialist cards scroll sideways (the Home carousel width) instead of stacking twelve deep. */
  .wwt-provider-grid { display: flex; margin-right: calc(-1 * var(--gutter)); overflow-x: auto; overflow-y: hidden; padding: 4px var(--gutter) 22px 0; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
  .wwt-provider-grid > article { flex: 0 0 84%; scroll-snap-align: start; }
  .wwt-pain { grid-template-columns: 1fr; gap: 10px; }
  .wwt-pain__card { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: 4px 16px; align-items: center; padding: 14px 16px; }
  .wwt-pain__art { width: 84px; height: 84px; grid-row: 1 / span 4; margin: 0; align-self: start; }
  .wwt-pain__card > :not(.wwt-pain__art) { grid-column: 2; }
  .wwt-pain__card em { margin-top: 4px; padding-top: 0; }
  .wwt-pain__related { justify-self: start; }
  .wwt-directory__toolbar .wwt-alpha { flex-wrap: nowrap; width: calc(100% + var(--gutter)); margin-right: calc(-1 * var(--gutter)); overflow-x: auto; padding: 0 var(--gutter) 8px 0; }
  .wwt-alpha button { flex: 0 0 auto; }
  /* Only when there really are two actions (the Home keeps its single centred button). */
  .center-action--pair:has(> :nth-child(2)) { align-items: center; flex-direction: column; }
  .center-action--pair:has(> :nth-child(2)) .button { width: 100%; }
  .condition-list__actions { flex-direction: column; align-items: stretch; }
  .condition-list__actions .button { width: 100%; }
  .condition-list__actions .text-link { align-self: center; }
}

/* ===== QC round 1 corrections (VIS · What We Treat, 2026-11-11) =====
   Point fixes appended last so they win the cascade; existing tokens only. */

/* QA-009 / QA-011 · Text that sat in azure-500 on light backgrounds (3.47:1) uses navy-500
   (5.6:1). Arrows and icon glyphs keep azure-500: non-text elements need 3:1, not 4.5:1.
   The grey --muted token itself now resolves to --body (see :root). */
.provider-card__body > small, .search-results > button small, .finder-results article small,
.symptom-path article > span, .inside-condition__content > p, .guided-flow__result > span,
.inside-provider p, .article-grid article > span, .contact-detail-cards span,
.contact-location-grid article > span, .modal-provider-grid article > div > span,
.location-modal-detail > span, .modal-results span, .info-modal__eyebrow, .career-modal__grid span,
.finder-bio-link { color: var(--navy-500); }
/* A disabled control is exempt from contrast, but it must not look active. */
.wwt-filter-reset:disabled { opacity: .6; }

/* QA-040 · Focus ring: navy-500 on light backgrounds (>= 5:1), azure-300 only on navy sections. */
:is(.utility-bar, .site-header:not(.is-solid), .mobile-menu, .hero, .inside-hero, .section--navy,
    .inside-section--ink, .connection-system, .stories, .footer, .final-cta, .loc-featured,
    .loc-insurance-bg, .treatment-image, .technology-section, .inside-final, .care-journey,
    .guided-flow__choices, .condition-grid article, .skip-link) :is(button, a):focus-visible { outline-color: var(--azure-300); }

/* QA-044 · Clinical labels at >= 12 px (13 px on phones). 10-11 px stays only on decorative kickers. */
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .inside-hero__crumbs { font-size: 12px; }
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-field h4, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-treatment-card dt,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-condition-card__tag, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-treatment-card__body > small,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-provider-conditions > span, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-ct__detail header > span,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .condition-list__group header small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .provider-card__body > small,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .connection-switcher__card small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .connection-steps span,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .connection-steps strong, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .connection-details article > span,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .connection-details article > button small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .treatment-image figcaption em,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .treatment-image figcaption small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__top small,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__top > span, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__specialists > small,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__specialists button, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-marker span,
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .disclaimer, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-symptom-grid small { font-size: 12px; }
/* The phone number and the Schedule button of the location card are actions: 14 px. */
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__actions a, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__actions button { font-size: 14px; }
@media (max-width: 640px) {
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-field h4, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-treatment-card dt,
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-condition-card__tag, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-treatment-card__body > small,
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .wwt-provider-conditions > span, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .condition-list__group header small,
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .provider-card__body > small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__specialists > small,
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__specialists button { font-size: 13px; }
}

/* QA-003 · Category titles never exceed the card ("Pain & Inflammation Procedures" at 375 px). */
@media (max-width: 640px) {
  .wwt-treatment-categories .condition-grid h3, .wwt-treatment-categories .condition-grid .condition-card--wide h3 { font-size: clamp(24px, 6.8vw, 30px); overflow-wrap: break-word; }
}

/* QA-008 · The cards slide up 40 px (data-reveal) once the jump has landed, so the margin carries
   those 40 px: after the reveal the card sits fully below the header (and below "Jump to"). */
main.inside-page .condition-list__group[id] { scroll-margin-top: 180px; }
main.inside-page .journey-grid > article[id] { scroll-margin-top: 232px; }
@media (max-width: 1040px) {
  main.inside-page .condition-list__group[id] { scroll-margin-top: 136px; }
  main.inside-page .journey-grid > article[id] { scroll-margin-top: 200px; }
}
@media (max-width: 900px) {
  main.inside-page .journey-grid > article[id] { scroll-margin-top: 136px; }
}

/* QA-015 · "Heel Pain" (two conditions, a div with chips) follows the order of the other cards:
   the chips first, then "See Related Conditions →". Chips look like the single-condition chip
   (30 px) and keep a 44 px touch area through ::after. */
div.wwt-pain__card .path-chips { order: 1; gap: 14px 8px; }
div.wwt-pain__card > em { order: 2; }
div.wwt-pain__card > em::after { content: '→'; margin-left: 2px; }
.wwt-pain__card .path-chips button { position: relative; min-height: 30px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; }
.wwt-pain__card .path-chips button::after { position: absolute; inset: -7px -2px; content: ''; }

/* QA-020 / QA-036 · No grid ends with a lone card. */
@media (min-width: 641px) and (max-width: 900px) {
  .wwt-treatment-categories .condition-grid > article:last-child:nth-child(odd), :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .symptom-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 901px) {
  /* Seven symptom cards: 3 + 2 + 2 on a six-column track. */
  .wwt-symptom-grid:has(> :nth-child(7):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wwt-symptom-grid:has(> :nth-child(7):last-child) > * { grid-column: span 2; }
  .wwt-symptom-grid:has(> :nth-child(7):last-child) > :nth-child(n+4) { grid-column: span 3; }
}
/* Treatment grids with a lone last card: a wide card on tablets, a row of four on large screens. */
@media (max-width: 1240px) {
  .wwt-flow[data-cols="3"] > :last-child:nth-child(odd) { flex-basis: 100%; }
}
@media (min-width: 1241px) {
  .wwt-flow[data-cols="3"]:has(> :last-child:nth-child(3n+1):not(:only-child)) > :nth-last-child(-n+4) { flex-basis: calc((100% - 3 * var(--gap)) / 4 - .01px); }
}

/* QA-022 · Category cards of Treatments & Procedures: pointer, 200 ms ease-out hover and the
   whole card is the "View Treatments" target (the button stretches over it). */
.wwt-treatment-categories .condition-grid article { cursor: pointer; transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out; }
.wwt-treatment-categories .condition-grid article:hover { border-color: rgba(255,255,255,.5); }
.wwt-treatment-categories .condition-grid .text-link::after { position: absolute; inset: 0; content: ''; }

/* QA-028 · Modal close button: always a 44 px circle, never squeezed by a long title. */
.modal__close { width: 44px; height: 44px; flex: 0 0 44px; }

/* QA-029 · 44 px touch targets (visual size unchanged where it matters). */
.mobile-menu__group > div a, .mobile-menu__group > div button { display: flex; align-items: center; min-height: 44px; }
.inside-hero__crumbs a { padding-inline: 5px; margin-inline: -5px; }
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .map-location-card__specialists button { min-height: 44px; }
@media (max-width: 640px) {
  .regional-map .map-marker::before, .state-map .map-marker::before, .map-spider .map-marker::before { position: absolute; inset: -15px; content: ''; border-radius: 50%; }
}

/* QA-030 · Footer logo centred on phones (the link wraps the image, not the column). */
@media (max-width: 640px) {
  .footer__brand > a:first-child { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
  .footer__brand > a:first-child img { margin-inline: auto; }
}

/* QA-031 · "Condition → Treatment Connection" tracker: on phones the five steps stack as a list
   (a row of five cannot hold "Consultation" at a readable size). */
@media (max-width: 640px) {
  .connection-steps { grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; padding-bottom: 4px; overflow: visible; }
  .connection-steps li { flex-direction: row; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .connection-steps li:last-child { border-bottom: 0; }
  .connection-steps li::after { display: none; }
  .connection-steps span { min-width: 22px; font-size: 13px; }
  .connection-steps strong { font-size: 13px; }
}

/* QA-032 · Phones in landscape: shorter hero so the H1 shows whole, and no fixed Call / Schedule
   bar over it (the menu keeps both actions). */
@media (orientation: landscape) and (max-height: 500px) and (max-width: 940px) {
  .inside-hero { min-height: 0; padding-top: 74px; }
  .inside-hero__inner { min-height: 0; padding-top: 52px; padding-bottom: 28px; }
  .mobile-action-bar { display: none; }
  .footer__bottom { padding-bottom: 32px; }
}

/* QA-033 · Current page in the mobile menu: white, bolder, with an azure bar. */
.mobile-menu__group > div a[aria-current="page"] { position: relative; color: #fff; font-weight: 600; }
.mobile-menu__group > div a[aria-current="page"]::before { position: absolute; top: 10px; bottom: 10px; left: -12px; width: 3px; content: ''; border-radius: 2px; background: var(--azure-500); }
.mobile-menu nav > a[aria-current="page"] { border-bottom-color: var(--azure-500); }

/* QA-034 · Scrolling inside a modal never chains to the page behind it. */
.modal, .modal-backdrop { overscroll-behavior: contain; }

/* QA-038 · 1321-1480 px: the utility bar shows "7 States" whole (tighter tracking and gaps; the
   text keeps its 13 px). */
@media (min-width: 1321px) and (max-width: 1480px) {
  .utility-bar { letter-spacing: .01em; }
  .utility-bar__inner { gap: 12px; }
  .utility-bar nav { gap: 16px; }
}

/* QA-021 (agente contenido) · Disabled finder chips and letters: dimmed, not-allowed cursor, no hover. */
.wwt-treatment-finder .loc-chips button:disabled, .wwt-alpha button:disabled { cursor: not-allowed; }
.wwt-treatment-finder .loc-chips button:disabled { color: var(--body); opacity: .5; background: transparent; }
.wwt-treatment-finder .loc-chips button:disabled:hover, .wwt-alpha button:disabled:hover { border-color: transparent; }
.wwt-treatment-finder .loc-chips button:disabled:hover { border-color: var(--border); }

/* QA-044 (hub) · Condition chips and care-path labels of /what-we-treat: >= 12 px, 13 px on phones. */
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) :is(.connection-journey__visual small, .connection-journey__content header > span) { font-size: 12px; }
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .condition-list__items button { font-size: 12px; }
@media (max-width: 640px) {
  :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) .condition-list__items button { font-size: 13px; }
}

/* ===== QC round 2 corrections (VIS · What We Treat, 2026-11-11) =====
   Point fixes appended last so they win the cascade; existing tokens and colours only. */

/* QA-001 · Search results that link to a page (<a>) look exactly like the button results. */
.search-results > a { display: grid; min-height: 78px; grid-template-columns: 1fr auto; padding: 15px; border: 1px solid var(--border); border-radius: 11px; text-align: left; background: #fff; }
.search-results > a small { grid-column: 1; color: var(--navy-500); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.search-results > a strong { grid-column: 1; font-size: 12px; }
.search-results > a .arrow { grid-row: 1/3; grid-column: 2; align-self: center; }

/* QA-002 · 1041-1180 px: the desktop header fits and the CTA ends as far from the right edge as the
   logo starts from the left. The logo box narrows to its mobile width (the drawn logo keeps its size:
   it is height-bound at 141 px), the header gaps and the CTA padding tighten, and the nav gap grows
   with the viewport until it reaches the usual 20 px. 1181 px and up are untouched. */
@media (min-width: 1041px) and (max-width: 1180px) {
  .site-header { grid-template-columns: 150px 1fr auto; gap: 12px; }
  .brand-logo { width: 150px; }
  .brand-logo--adaptive { flex-basis: 150px; }
  .primary-nav { gap: clamp(11.5px, calc(11.5px + (100vw - 1041px) * .15), 20px); }
  .nav-dropdown > button, .nav-dropdown > a { gap: 6px; }
  .header-actions .button { padding-inline: 15px; }
}

/* QA-004 · Contact, "Send a Non-Urgent Message" on navy: light text like the other ink intros. */
.inside-section--ink .contact-form-grid > div > p:not(.kicker) { color: rgba(255,255,255,.7); }

/* QA-007 · Footer: 44 px touch areas without changing what is drawn. */
.footer__brand .footer__socials a { position: relative; }
.footer__brand .footer__socials a::after { position: absolute; inset: -3px; content: ''; border-radius: 50%; }
.footer__phone { padding-block: 7px; margin-block: -7px; }
.footer__bottom > span a { padding-block: 14px; }
@media (pointer: coarse) {
  .footer__top nav button, .footer__top nav > a { padding-inline: 8px; margin-inline: -8px; }
}

/* QA-008 · Utility bar on touch screens (iPad landscape): 44 px tall links inside the 44 px bar. */
@media (pointer: coarse) {
  .utility-bar nav a, .utility-bar nav button { display: inline-flex; min-height: 44px; align-items: center; }
}

/* QA-009 · Desktop dropdown: the open subpage is marked like in the mobile menu. */
.mini-menu a[aria-current="page"] { position: relative; color: var(--navy-900); font-weight: 600; }
.mini-menu a[aria-current="page"]::before { position: absolute; top: 10px; bottom: 10px; left: -12px; width: 3px; content: ''; border-radius: 2px; background: var(--azure-500); }

/* QA-012 · Same hover timing as the Home category card (350 ms, Home easing); the other What We
   Treat cards already use the Home values (buttons 250 ms, cards 300 ms, reveal 750 ms). */
.wwt-treatment-categories .condition-grid article { transition: transform .35s cubic-bezier(.23,1,.32,1), box-shadow .35s ease, border-color .35s ease; }

/* QA-013 · Hub: 44 px specialist buttons (as on the subpages) and text links. */
main:has(.inside-hero--what-we-treat) .provider-actions .button--compact { min-height: 44px; }
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) :is(.treatment-image figcaption .text-link, .location-map-actions .text-link) { min-height: 44px; }

/* QA-015 · Focus and anchor jumps never land under the fixed header. scroll-padding adds to every
   scroll-margin, so the margins calibrated in rounds 1 (QA-008, QA-059) drop by the same amount:
   the total offset of each anchor stays as it was. */
html { scroll-padding-top: 130px; }
.inside-section, .condition-list__group { scroll-margin-top: 0; }
main.inside-page [id] { scroll-margin-top: 10px; }
main.inside-page .condition-list__group[id] { scroll-margin-top: 50px; }
main.inside-page .journey-grid > article[id] { scroll-margin-top: 102px; }
@media (max-width: 1040px) {
  html { scroll-padding-top: 90px; }
  .inside-section { scroll-margin-top: 6px; }
  .condition-list__group { scroll-margin-top: 40px; }
  main.inside-page [id] { scroll-margin-top: 6px; }
  main.inside-page .condition-list__group[id] { scroll-margin-top: 46px; }
  main.inside-page .journey-grid > article[id] { scroll-margin-top: 110px; }
}
@media (max-width: 900px) {
  main.inside-page .journey-grid > article[id] { scroll-margin-top: 46px; }
}

/* QA-017 · Inside dialogs: 44 px condition chips and compact buttons (symptom and profile modals). */
[role="dialog"] .path-chips button, [role="dialog"] .button--compact { min-height: 44px; }

/* QA-021 · Category counters ("14 treatments", "8 conditions") and the hub's informative labels:
   12 px, 13 px on phones. The treatment belt, carousel counter and photo tag stay decorative. */
.condition-grid small { font-size: 12px; }
:is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) :is(.connection-switcher span, .connection-chips small, .guided-flow__result > span) { font-size: 12px; }
@media (max-width: 640px) {
  .condition-grid small, :is(main[data-page="wwt"], main:has(.inside-hero--what-we-treat)) :is(.connection-switcher span, .connection-chips small, .guided-flow__result > span) { font-size: 13px; }
}

/* QA-022 · "Jump to a letter": no lone letter. One row from 1280 px with a fine pointer (circles
   shrink to the space, 39-44 px); otherwise two balanced rows of 44 px (14 + 13), three of 9 on
   narrow tablets. Phones keep their horizontal scroller. */
@media (min-width: 641px) {
  .wwt-directory__toolbar .wwt-alpha { display: grid; flex: 1 1 100%; grid-template-columns: repeat(14, 44px); gap: 5px; }
  .wwt-alpha button { min-width: 0; }
}
@media (min-width: 641px) and (max-width: 779px) {
  .wwt-directory__toolbar .wwt-alpha { grid-template-columns: repeat(9, 44px); }
}
@media (min-width: 1280px) and (pointer: fine) {
  .wwt-directory__toolbar .wwt-alpha { grid-template-columns: repeat(27, minmax(0, 44px)); gap: 3px; }
  .wwt-alpha button { min-height: 0; padding: 0; aspect-ratio: 1; }
}

/* QA-024 · Journey steps: the "Read: …" links share one baseline at the foot of each step. */
@media (min-width: 1041px) {
  .wwt-steps li { display: flex; flex-direction: column; }
  .wwt-steps li > p:has(+ .text-link) { margin-bottom: 10px; } /* only steps that carry a link (step 04 has none) */
  .wwt-steps .text-link { margin-top: auto; }
}

/* QA-025 · Search fields show focus on the whole box (the input itself has no border). */
.search-box:has(input:focus) { border-color: var(--azure-500); box-shadow: 0 0 0 3px rgba(31,105,178,.35); }

/* QA-026 · Resources topic cards: counters and descriptions at >= 4.5:1 on every card colour. */
.education-links button > span { color: #fff; font-size: 12px; }
.education-links p { color: rgba(255,255,255,.88); font-size: 12px; }
@media (max-width: 640px) {
  .education-links button > span, .education-links p { font-size: 13px; }
}

/* QA-028 · The Home team photo keeps its CSS size once it carries width/height attributes (CLS). */
.about-image img { height: auto; }

@media(max-width:768px){
    .wwt-filter-row label{
        width: 100%;
        text-align: start;
    }
    #find-a-treatment {

        .loc-chips{
            flex-direction: column; 
        }
        .loc-chips button{
            width: 100%;
        }
    }
    .wwt-directory__toolbar .wwt-alpha{
        flex-wrap: wrap;
        justify-content: center;
    }
    .wwt-directory__toolbar{
        justify-content: center;
    }
    .wwt-directory .loc-results-count{
        text-align: center;
    }
    .wwt-treatment-card{
        text-align: center;
    }

    .wwt-treatment-card ul{
        text-align: start;
    }

    .wwt-treatment-card .text-link{
        margin-inline: auto;
    }
    #understanding-venous-disease .inside-split__grid{
        display: flex;
        flex-direction: column-reverse;
    }

    #understanding-venous-disease .inside-split__copy{
        text-align: center;
    }

    #understanding-venous-disease .wwt-split__media{
        width: 100%;
        height: 100%;
    }

    .kicker{
        margin-top: 0px !important;
    }

    .inside-hero__crumbs{
        justify-content: center;
    }

    .utility-bar.view .first-link{
        display: none;
    }
}