/* Subpages (examinations, privacy) on top of home.css: same type, colours and header;
   a short dark title band, then calm reading width. */

.page-hero { padding: var(--section-sm) var(--gutter); background: var(--night); color: var(--on-night); }
.page-hero-inner { display: grid; gap: var(--s4); justify-items: start; max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; }
.page-hero h1 { font-family: var(--display); font-size: clamp(1.9rem, 8vw, 5.6rem); font-weight: 700; letter-spacing: -0.015em; line-height: 0.98; overflow-wrap: break-word; }
.page-lead { max-width: 40rem; color: var(--on-night-soft); font-size: 1.15rem; }

.page-section { width: var(--inner); margin: 0 auto; padding: var(--section-sm) 0 0; }
/* The last section keeps the same breathing room before the footer. */
main > .page-section:last-of-type, .legal { padding-bottom: var(--section-sm); }
.page-section h2 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 650; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: var(--head-gap); }
.page-note { margin-top: var(--s4); color: var(--ink-soft); }
/* Sentences about online booking, hidden while booking is not open yet. */
.booking-off [data-booking-only] { display: none; }

/* Examinations: name and facts on the left, the price large on the right. */
.exam-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.exam { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.exam-name { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.15; }
.exam-facts { margin-top: 0.2rem; color: var(--ink-soft); }
.exam-price { align-self: start; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; color: var(--cyan-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.exam-price.is-text { font-family: var(--text); font-size: 1rem; font-weight: 650; padding-top: 0.4rem; }
.exam-details { grid-column: 1 / -1; margin: 0; padding-left: 1.2rem; color: var(--ink); max-width: 46rem; }
.exam-details li + li { margin-top: 0.25rem; }
.exam-action { grid-column: 1 / -1; justify-self: start; color: var(--cyan-text); font-weight: 650; }

/* FAQ: native details/summary, one line each, opens in place. */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 3.25rem; padding: var(--s3) 0; font-weight: 650; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--cyan-text); font-family: var(--display); font-size: 1.6rem; line-height: 1; transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 46rem; padding-bottom: var(--s4); color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* Long legal text: readable measure, quiet headings. */
.legal > * { max-width: 46rem; }
.legal h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: var(--s6) 0 var(--s3); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: var(--s5) 0 var(--s2); font-size: 1.1rem; font-weight: 700; }
.legal p, .legal ul { margin: 0 0 var(--s3); }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: 0.3rem; }
.legal a { color: var(--cyan-text); overflow-wrap: anywhere; }
.legal .legal-meta { color: var(--ink-soft); font-size: 0.9rem; }
.chat-cta { margin-bottom: var(--s4); padding: var(--s4); background: #e7fbe9; border: 2px solid #2ee35f; border-radius: 1rem; }
.chat-cta p { margin: 0 0 var(--s3); font-weight: 600; }
.chat-cta-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat-cta-chips button { padding: 0.5rem 0.95rem; color: #053014; background: #fff; border: 1.5px solid #2ee35f; border-radius: 999px; font: inherit; font-size: 0.92rem; font-weight: 700; cursor: pointer; }
.chat-cta-chips button:hover, .chat-cta-chips .chat-cta-main { background: #2ee35f; }
.faq-all > summary { padding: var(--s3) 0; color: var(--cyan-text); font-weight: 700; cursor: pointer; }
.not-found-links { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.not-found-links a { display: inline-block; padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: 999px; color: var(--cyan-text); font-weight: 650; text-decoration: none; }
.not-found-links a:hover, .not-found-links a:focus-visible { background: var(--cyan-text); color: #fff; }
/* Team page: a compact grid, the longer story folds away so the page stays short. */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); margin: 0; padding: 0; list-style: none; }
.team-card { display: grid; align-content: start; gap: 0.2rem; }
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: var(--s2); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow-soft); }
.team-name { font-family: var(--display); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 650; line-height: 1.15; }
.team-role { color: var(--ink-soft); font-size: 0.95rem; }
.team-more summary { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--cyan-text); font-weight: 650; cursor: pointer; }
.team-more p { margin: 0 0 var(--s2); color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 48rem) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s4); } }
