/* W34b (2026-10-10): public pages of VMS (pages/make_vms_pages.py). Theme copied from the blog CSS (make_blog_pages.py) and the
   landing of src/style.css (hero, pills, OSCE steps, standards cards), same class names; new: free badge, features, explore chips,
   FAQ, detail pages. Justified text (rule of Claude_MedSim_Activos.md, 2026-10-08). */
:root {
  --bg-primary: #0f1415; --bg-secondary: #141c1e; --bg-card: #162225; --bg-card-hover: #1c3032;
  --text-primary: #eef4f5; --text-secondary: #b9c6c9; --text-muted: #7d9094;
  --accent: #22d3c5; --accent-dim: #189e94; --accent-glow: rgba(34, 211, 197, 0.12);
  --accent-red: #e04050; --accent-amber: #f0c040; --amber-glow: rgba(240, 192, 64, 0.12);
  --border-subtle: rgba(34, 211, 197, 0.18); --border-card: rgba(185, 198, 201, 0.12);
  --font: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --max-width: 1000px; --read-width: 760px; --nav-height: 64px; --radius: 8px; --radius-lg: 16px; --transition: 0.3s ease;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background-color: var(--bg-primary); color: var(--text-primary); line-height: 1.65; font-weight: 300;
  min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
body::after { content: ''; position: fixed; top: -50%; left: -25%; width: 150%; height: 100%; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,211,197,0.10) 0%, rgba(22,198,236,0.04) 40%, transparent 70%); }
main { flex: 1; width: 100%; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: clamp(1.9rem, 4.8vw, 2.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); color: var(--accent); }
h3 { font-size: 1.15rem; }
p, li { color: var(--text-secondary); }
p, li, dd, blockquote { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-primary); }
.muted { color: var(--text-muted); }

/* Nav (same as the blog) */
.site-nav { position: sticky; top: 0; z-index: 1000; background: rgba(15,20,21,0.9); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-subtle); height: var(--nav-height); display: flex; align-items: center; }
.nav-inner { max-width: var(--max-width); width: 100%; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; color: var(--text-primary); }
.nav-logo img { height: 36px; width: 36px; object-fit: contain; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 900; font-size: 1.5rem; letter-spacing: 0.06em; color: #ffffff; }
.brand-sub { font-weight: 700; font-size: 0.6rem; letter-spacing: 0.14em; color: var(--accent); margin-top: 0.2rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; font-size: 0.9rem; font-weight: 500; }
.lang-select select { padding: 0.3rem 0.5rem; font-family: var(--font); font-size: 0.82rem; color: var(--text-primary); background: var(--bg-card);
  border: 1px solid var(--border-card); border-radius: var(--radius); cursor: pointer; }
.lang-select select:hover, .lang-select select:focus { border-color: var(--accent-dim); outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.7rem 1.6rem; border-radius: var(--radius); font-size: 0.95rem;
  font-weight: 700; transition: all var(--transition); border: none; cursor: pointer; font-family: var(--font); }
.btn-small { padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.btn-primary { background: var(--accent); color: #0b1213; box-shadow: 0 2px 12px rgba(34,211,197,0.25); }
.btn-primary:hover { background: #1fbfb2; color: #0b1213; box-shadow: 0 4px 20px rgba(34,211,197,0.35); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent-dim); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--text-primary); }

/* Hero */
.page-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.page-hero { text-align: center; padding: 2.2rem 0 1.5rem; }
.page-hero h1 { background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; }
.page-hero .subtitle { font-size: 1.08rem; max-width: 700px; margin: 0 auto 1.5rem; }
.page-hero p, .site-footer p, .lead, .osce-programs, .faq-more { text-align: justify; text-align-last: center; }
.hero-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; }
.free-badge { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--amber-glow); border: 1px solid var(--accent-amber);
  color: var(--accent-amber); border-radius: 999px; padding: 0.4rem 1.1rem; font-weight: 700; font-size: 0.98rem; margin: 0 0 1.2rem; }
.free-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent-amber); box-shadow: 0 0 10px var(--accent-amber); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.free-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.7rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.4rem; }
.pill { font-size: 0.8rem; color: var(--text-secondary); border: 1px solid var(--border-card); border-radius: 999px; padding: 0.25rem 0.75rem; }
.coming-soon { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: center; align-items: center; margin-top: 1.2rem; font-size: 0.95rem; color: var(--text-secondary); }
.coming-soon b { color: var(--text-primary); font-weight: 700; }
.coming-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #0f1415; background: var(--accent); border-radius: 999px; padding: 0.2rem 0.7rem; }

/* Sections of the home */
.features, .osce, .standards, .explore, .faq-teaser { padding: 1rem 0 2.5rem; }
.features h2, .osce h2, .standards h2, .explore h2, .faq-teaser h2 { text-align: center; margin-bottom: 0.4rem; }
.lead { max-width: 720px; margin: 0 auto 1.4rem; }
.feat-grid, .std-grid, .sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0.9rem; }
.feat-card, .std-card, .sec-card, .osce-step { background: linear-gradient(160deg, rgba(28,48,50,0.75), rgba(14,18,20,0.9));
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; }
.feat-tag, .std-tag { color: var(--accent-red); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.feat-card h3, .std-card h3 { font-size: 1.15rem; margin: 0.15rem 0 0.5rem; color: #ffffff; }
.feat-card p, .std-card p, .sec-card p { font-size: 0.95rem; }
.sec-card h2 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.std-card a { border-bottom: 1px solid var(--accent-dim); }
.std-card a.std-head { display: block; border-bottom: none; }
.std-card a.std-head:hover h3 { color: var(--accent); }
.std-note, .page-note { max-width: 820px; margin: 1.4rem auto 0; font-size: 0.82rem; color: var(--text-muted); text-align: justify; text-align-last: center; }
.osce-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0.9rem; counter-reset: osce; }
.osce-step::before { counter-increment: osce; content: counter(osce); display: inline-flex; align-items: center; justify-content: center; width: 1.7rem;
  height: 1.7rem; border-radius: 50%; background: var(--accent); color: #0b1213; font-weight: 900; margin-bottom: 0.5rem; }
.osce-step h3 { font-size: 1.05rem; color: #ffffff; margin-bottom: 0.3rem; }
.osce-step p { font-size: 0.92rem; }
.osce-programs { margin-top: 1.2rem; font-size: 0.92rem; }

/* Explore chips */
.explore-grid { display: grid; gap: 1rem; max-width: 820px; margin: 1rem auto 0; }
.explore-row h3 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-block; font-size: 0.9rem; font-weight: 500; color: var(--text-primary); background: var(--bg-card);
  border: 1px solid var(--border-subtle); border-radius: 999px; padding: 0.4rem 1rem; transition: all var(--transition); }
.chip:hover { border-color: var(--accent); background: var(--bg-card-hover); color: var(--accent); }

/* FAQ */
.faq-group { max-width: 820px; margin: 2rem auto 0; }
.faq-group h2 { font-size: 1.3rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-subtle); margin-bottom: 0.9rem; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 0.9rem 1.2rem; }
.faq-item[open] { border-color: var(--border-subtle); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; color: var(--text-primary); display: flex;
  justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { margin-top: 0.6rem; }
.faq-more { margin-top: 1rem; font-weight: 500; }

/* Exam and program pages */
.crumbs { font-size: 0.85rem; color: var(--text-muted); }
.crumbs .sep { margin: 0 0.35rem; }
.detail { max-width: var(--read-width); margin: 2rem auto 0; }
.detail h2 { margin-bottom: 0.7rem; }
.detail h3 { font-size: 0.95rem; margin: 1.1rem 0 0.4rem; color: var(--text-primary); }
.detail p { margin-bottom: 0.9rem; font-size: 1.02rem; }
.ticks, .official { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: 1.02rem; }
.ticks li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.official li::before { content: '\2197  '; color: var(--accent); }
.related { max-width: var(--read-width); margin: 2rem auto 0; display: grid; gap: 1rem; }
.read-next { font-size: 0.95rem; }

/* Call to action (same as the blog) */
.cta { max-width: var(--read-width); margin: 3rem auto 0; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.5rem; }
.cta-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #0f1415;
  background: var(--accent-amber); border-radius: 999px; padding: 0.15rem 0.65rem; margin-bottom: 0.6rem; }
.cta h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.cta p { margin-bottom: 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-subtle); padding: 2rem 1rem; text-align: center; color: var(--text-muted); font-size: 0.8rem;
  background: linear-gradient(180deg, transparent 0%, rgba(20,28,30,0.5) 100%); margin-top: 3rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-inner p { color: var(--text-muted); font-size: 0.82rem; max-width: 760px; }
.footer-note { font-size: 0.75rem !important; opacity: 0.75; }
.footer-links { display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent); }
.footer-pages a { color: var(--text-secondary); font-weight: 500; }
.footer-small { gap: 0.4rem 0.9rem; font-size: 0.78rem; }

@media (max-width: 760px) {
  .nav-hide { display: none; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .nav-links { gap: 0.6rem; }
  .lang-select select { padding: 0.3rem 0.35rem; font-size: 0.78rem; }
}

/* W34b (2026-10-10, Alejandro via chat 13): the claim in the H1 with the keyword line under it, the claim of every page, the line
   under the claims, and the "All in one" card across the whole row. */
.page-hero h1 .h1-sub { display: block; font-size: 0.5em; font-weight: 500; letter-spacing: 0; margin-top: 0.6rem; }
.claim { font-weight: 500; color: var(--text-primary); max-width: 700px; margin: 0 auto 0.4rem; }
.claim-note { font-size: 0.78rem; color: var(--text-muted); max-width: 700px; margin: 0.9rem auto 0; text-align: justify; text-align-last: center; }
.claim-note a { text-decoration: underline; }
.feat-grid .feat-card:first-child { grid-column: 1 / -1; text-align: center; }
.feat-grid .feat-card:first-child p { text-align-last: center; }
