/* Visterra Runs — Plan Martín pilot (Rome Marathon 2027, Spanish).
   Loaded ONLY by /rome-marathon-2027-es. Same tokens as race-pages.css (Portland standard):
   flat fills, one orange accent, big condensed type, no gradients / glows / glass. */

/* ── shared pieces ── */
.pm-lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--vr-body); max-width: 60ch; margin-bottom: 36px; }
.pm-hero-line { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--vr-orange-on-dark); margin: -8px 0 26px; }
.pm-tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vr-orange); margin-bottom: 14px; }

/* ── 2. Tres caminos ── */
.pm-paths { display: grid; gap: 16px; align-items: stretch; margin-bottom: 28px; }
@media (min-width: 900px) { .pm-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.pm-path { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vr-line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 34px); border-top: 4px solid var(--vr-line); }
.pm-path.is-recommended { border-top-color: var(--vr-orange); }
.pm-path h3 { font-size: clamp(28px, 3vw, 36px); line-height: 0.98; margin-bottom: 12px; }
.pm-path > p { color: var(--vr-body); font-size: 17px; line-height: 1.55; margin-bottom: 18px; }
.pm-path .pm-spacer { flex: 1; }
.pm-path .btn { margin-top: 16px; align-self: flex-start; }
.pm-more { border-top: 1px solid var(--vr-line); }
.pm-more summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 800; font-size: 15px; color: var(--vr-ink); }
.pm-more summary::-webkit-details-marker { display: none; }
.pm-more summary::after, .pm-faq summary::after, .pm-rev summary::after { content: "+"; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; color: var(--vr-orange); flex-shrink: 0; transition: transform 0.2s var(--ease); }
.pm-more[open] summary::after, .pm-faq details[open] summary::after, .pm-rev details[open] summary::after { transform: rotate(45deg); }
.pm-more ul { list-style: none; display: grid; gap: 8px; padding: 2px 0 8px; }
.pm-more li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--vr-body); }
.pm-more li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--vr-orange); }
.pm-equal { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; color: var(--vr-ink); margin: 8px 0 0; max-width: 28ch; }
.pm-equal span { color: var(--vr-orange); }

.pm-first { margin-top: 44px; display: grid; gap: 20px; align-items: center; background: var(--vr-navy); color: var(--vr-cream-text); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 44px); }
@media (min-width: 900px) { .pm-first { grid-template-columns: minmax(0, 1.5fr) auto; gap: 40px; } }
.pm-first h3 { color: var(--vr-cream-text); font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.pm-first p { color: rgba(255, 249, 238, 0.84); max-width: 60ch; }
.pm-first-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 3. Protect the work ── */
.pm-protect { background: var(--vr-navy); color: var(--vr-cream-text); padding: clamp(72px, 9vw, 130px) 0; }
.pm-protect .eyebrow { color: var(--vr-orange-on-dark); }
.pm-protect-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(54px, 11vw, 150px); line-height: 0.86; letter-spacing: -0.015em; color: var(--vr-cream-text); margin-bottom: 28px; overflow-wrap: anywhere; }
.pm-protect-title .dot { color: var(--vr-orange-on-dark); }
.pm-protect-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .pm-protect-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.pm-three { list-style: none; display: grid; gap: 4px; margin-bottom: 26px; }
.pm-three li { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.04; color: var(--vr-cream-text); }
.pm-protect p { color: rgba(255, 249, 238, 0.84); max-width: 58ch; }
.pm-story { border-left: 3px solid var(--vr-orange-on-dark); padding: 4px 0 4px 22px; margin-bottom: 36px; }
.pm-story p { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--vr-cream-text); margin-bottom: 14px; max-width: 46ch; }
.pm-story p:last-child { margin-bottom: 0; font-weight: 700; }
.pm-justrun { border-top: 1px solid var(--vr-line-dark); padding-top: 26px; }
.pm-justrun-title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6vw, 72px); line-height: 0.9; color: var(--vr-orange-on-dark); margin-bottom: 12px; }

/* ── 4. Revisión de la semana ── */
.pm-rev { border-top: 2px solid var(--vr-ink); margin-bottom: 22px; }
.pm-rev details { border-bottom: 1px solid var(--vr-line); }
.pm-rev summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 20px 0; min-height: 64px; }
.pm-rev summary::-webkit-details-marker { display: none; }
.pm-rev .pm-rev-title { grid-column: 1; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 42px); line-height: 1; color: var(--vr-ink); }
.pm-rev .pm-rev-line { grid-column: 1; color: var(--vr-body); font-size: 17px; }
.pm-rev summary::after { grid-column: 2; grid-row: 1 / span 2; }
.pm-rev .pm-rev-body { padding: 0 0 24px; max-width: 70ch; }
.pm-rev .pm-rev-body p { color: var(--vr-body); margin-bottom: 12px; }
.pm-rev-note { font-size: 16px; color: var(--vr-body); max-width: 60ch; }

/* ── 5. Diseñador de viaje ── */
.pm-designer { background: var(--vr-navy); color: var(--vr-cream-text); padding: clamp(72px, 9vw, 120px) 0; }
.pm-designer .eyebrow { color: var(--vr-orange-on-dark); }
.pm-designer h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 66px); line-height: 0.94; letter-spacing: -0.01em; color: var(--vr-cream-text); margin-bottom: 18px; max-width: 24ch; }
.pm-designer .pm-lead { color: rgba(255, 249, 238, 0.84); }
.pm-d-grid { display: grid; gap: 44px; }
@media (min-width: 980px) { .pm-d-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: start; } }
.pm-q { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
.pm-q legend { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.05; color: var(--vr-cream-text); margin-bottom: 12px; padding: 0; }
.pm-q.is-main legend { font-size: clamp(28px, 3vw, 36px); color: var(--vr-orange-on-dark); }
.pm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-chip { font: inherit; font-size: 16px; font-weight: 700; min-height: 46px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 249, 238, 0.4); background: transparent; color: var(--vr-cream-text); cursor: pointer; transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease); }
.pm-chip:hover { border-color: var(--vr-cream-text); }
.pm-chip[aria-pressed="true"] { background: var(--vr-cream-text); border-color: var(--vr-cream-text); color: var(--vr-ink); }
.pm-d-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.pm-hint { font-size: 15px; color: rgba(255, 249, 238, 0.7); margin-top: 14px; max-width: 54ch; }
.pm-d-actions .email-chip { margin-top: 0; }
.pm-flow { list-style: none; counter-reset: pmstep; display: grid; gap: 0; border-top: 1px solid var(--vr-line-dark); }
.pm-flow li { counter-increment: pmstep; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--vr-line-dark); font-size: 17px; line-height: 1.4; color: rgba(255, 249, 238, 0.88); }
.pm-flow li::before { content: counter(pmstep); font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--vr-orange-on-dark); }
.pm-flow strong { color: var(--vr-cream-text); }
.pm-quote-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1.02; color: var(--vr-cream-text); margin-bottom: 18px; }
.pm-quote-title span { color: var(--vr-orange-on-dark); display: block; }
.pm-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vr-orange-on-dark); }
.pm-trust { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--vr-line-dark); font-size: 16px; font-weight: 700; color: rgba(255, 249, 238, 0.9); }
.pm-trust span::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--vr-orange-on-dark); margin-right: 10px; vertical-align: middle; }
.pm-designer .disclosure { margin-top: 36px; }

/* ── FAQ ── */
.pm-faq { border-top: 2px solid var(--vr-ink); }
.pm-faq details { border-bottom: 1px solid var(--vr-line); }
.pm-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; min-height: 60px; font-size: 19px; font-weight: 800; color: var(--vr-ink); }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq details > p { color: var(--vr-body); padding: 0 0 20px; max-width: 70ch; }

@media (max-width: 520px) {
  .pm-chip { font-size: 15px; padding: 9px 14px; }
  .pm-first-actions .btn, .pm-d-actions .btn { width: 100%; }
}

/* ── Second pass: editorial micro-labels (condensed, lightly tracked; replaces the wide monospaced SaaS look on this page) ── */
.eyebrow, .hero-kicker, .pm-tag, .vt-kicker { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.1; letter-spacing: 0.045em; text-transform: uppercase; gap: 12px; }
.eyebrow::before, .hero-kicker::before, .vt-kicker::before { width: 28px; height: 3px; }
.pm-tag { display: inline-block; margin-bottom: 12px; }
.pm-hero-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(19px, 2vw, 22px); letter-spacing: 0.035em; margin: -6px 0 26px; }
.pm-ally-line { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.08; letter-spacing: 0.01em; color: var(--vr-orange-on-dark); max-width: 30ch; margin: -16px 0 34px; }

/* ── Destination (Rome ES): editorial, one real photo, two short moments ── */
.pm-destino { background: var(--vr-page); padding: clamp(72px, 9vw, 120px) 0; }
.pm-destino h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 72px); line-height: 0.95; letter-spacing: -0.01em; color: var(--vr-ink); margin-bottom: 30px; max-width: 20ch; }
.pm-destino h2 span { display: block; color: var(--vr-orange); }
.pm-destino-photo { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; background: var(--vr-navy-soft); }
.pm-destino-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 42%; display: block; }
@media (max-width: 640px) { .pm-destino-photo img { aspect-ratio: 4 / 3; } }
.pm-twice { display: grid; gap: 28px; margin: 6px 0 40px; }
@media (min-width: 820px) { .pm-twice { grid-template-columns: 1fr 1fr; gap: 0; } .pm-moment + .pm-moment { border-left: 1px solid var(--vr-line); padding-left: 48px; } .pm-moment:first-child { padding-right: 48px; } }
.pm-moment-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.045em; text-transform: uppercase; color: var(--vr-orange); margin-bottom: 8px; }
.pm-moment h3 { font-size: clamp(32px, 3.8vw, 46px); line-height: 0.98; margin-bottom: 12px; }
.pm-moment p { color: var(--vr-body); max-width: 46ch; }
.pm-moods { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 26px; padding: 18px 0; border-top: 2px solid var(--vr-ink); border-bottom: 1px solid var(--vr-line); }
.pm-moods span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; color: var(--vr-ink); }
.pm-moods span + span::before { content: "·"; color: var(--vr-orange); margin: 0 0.5em; }
.pm-decide { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; color: var(--vr-ink); }

/* ── Related races with the photo each race already uses on the homepage ── */
.related-list.pm-rel { grid-template-columns: 1fr; gap: 26px 20px; }
@media (min-width: 560px) { .related-list.pm-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .related-list.pm-rel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pm-rel-card { display: block; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; }
.pm-rel-photo { display: block; overflow: hidden; border-radius: var(--radius); background: var(--vr-navy-soft); margin-bottom: 14px; }
.pm-rel-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 0.35s var(--ease); }
.pm-rel-card:hover .pm-rel-photo img, .pm-rel-card:focus-visible .pm-rel-photo img { transform: scale(1.03); }
.pm-rel-card .r-name { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--vr-ink); margin-bottom: 6px; }
.pm-rel-card .r-meta { display: block; font-size: 15px; color: var(--vr-muted); }
.pm-rel-card:hover .r-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--vr-orange); }

/* destination moments: same display type as the other section h3 (these blocks are not inside .section) */
.pm-moment h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--vr-ink); }
.pm-moment p { font-size: 17px; line-height: 1.55; }

/* related races: undo the base card box (specificity matches .related-list a) so the photo, not a frame, carries the card */
.related-list.pm-rel a.pm-rel-card { padding: 0; border: 0; border-radius: 0; background: none; height: auto; }
.related-list.pm-rel a.pm-rel-card:hover { border: 0; }
.related-list.pm-rel .r-name { font-size: 26px; margin-bottom: 6px; }

/* phones: related races become a swipe row (like the homepage carousel) instead of four tall stacked cards */
@media (max-width: 559px) {
  .related-list.pm-rel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 0 20px 10px; -webkit-overflow-scrolling: touch; }
  .related-list.pm-rel li { flex: 0 0 76%; scroll-snap-align: start; }
  .related-list.pm-rel .r-name { font-size: 24px; }
}

/* quiet second channel next to the WhatsApp button (English pilot) */
.pm-email-alt { font-size: 16px; color: rgba(255, 249, 238, 0.82); }
.pm-email-link { font: inherit; font-weight: 700; color: var(--vr-cream-text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--vr-orange-on-dark); }
.pm-email-link:hover { color: #fff; }
.pm-email-address { color: rgba(255, 249, 238, 0.62); margin-left: 4px; font-size: 15px; }
