/* NRS: spacious cards, a floating navigation and a consistent public interface. */
:root {
  --ink: #171c23;
  --ink-soft: #606974;
  --paper: #f3f5f7;
  --white: #fff;
  --line: #e4e8ec;
  --coral: #206c94;
  --orange: #206c94;
  --sky: #8dd0e6;
  --sky-pale: #edf7fb;
  --serif: var(--display);
  --nrs-accent: #206c94;
  --nrs-radius: 30px;
  --nrs-shadow: 0 12px 36px #202d4010;
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.form-privacy { font-size: 12px; line-height: 1.7; }
.form-privacy a { color: var(--nrs-accent); text-decoration: underline; text-underline-offset: 3px; }
.exam-question input[type="radio"], .exam-question input[type="checkbox"] { width:18px; height:18px; min-width:18px; margin:0; accent-color:var(--nrs-accent); }
.exam-question div[id^="id_answer_"] { display:grid; gap:12px; margin-top:18px; }
.exam-question div[id^="id_answer_"] label { display:flex; align-items:flex-start; gap:12px; padding:15px 18px; border:1px solid var(--line); border-radius:14px; line-height:1.6; cursor:pointer; background:#fff; }
.exam-question div[id^="id_answer_"] label:has(input:checked) { border-color:var(--nrs-accent); background:var(--sky-pale); }

html { scroll-padding-top: 130px; }
body { background: var(--paper); }
h1, h2, h3 { font-family: var(--display); }
h1 em, h2 em { font-family: inherit; font-style: normal; }
.topline { display: none; }
.skip-link { z-index: 100; background: var(--ink); color: white; border-radius: 12px; }
:focus-visible { outline-color: var(--nrs-accent); }
.site-header {
  width: calc(100% - 80px);
  max-width: 1200px;
  height: 78px;
  margin: 24px auto 40px;
  padding: 0 30px;
  top: 20px;
  z-index: 50;
  border: 0;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--nrs-shadow);
}
.site-header.is-scrolled { box-shadow: 0 12px 32px #202d4018; }
.brand { gap: 10px; }
.brand-symbol { width: 68px; height: 68px; object-fit: contain; }
.brand-name { display: grid; gap: 1px; }
.brand-name strong { font: 800 29px/1 var(--display); letter-spacing: -.055em; color: #206c94; }
.brand-name .brand-sub { max-width: none; font-size: 7px; letter-spacing: .1em; color: var(--ink-soft); }
.main-nav { gap: 28px; font-size: 14px; font-weight: 500; }
.main-nav > a, .nav-dropdown > summary { transition: color .2s; }
.main-nav > a:hover, .nav-dropdown > summary:hover { color: var(--nrs-accent); }
.nav-dropdown > summary::after { color: var(--ink-soft); }
.nav-space > summary { padding: 12px 0; border: 0; background: transparent; }
.nav-space > summary::after { content: '⌄'; font-size: inherit; }
.main-nav > .nav-contact { display: inline-flex; gap: 14px; align-items: center; padding: 11px 18px; border: 1px solid var(--line); border-radius: 30px; }
.nav-dropdown-panel { top: calc(100% + 18px); box-shadow: var(--nrs-shadow); border-radius: 18px; }
.nav-dropdown-panel a { font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.button { min-height: 54px; padding: 0 25px; border-radius: 32px; font-size: 14px; font-weight: 600; gap: 18px; }
.button > span { font-size: 20px; font-weight: 400; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #2e3842; box-shadow: 0 6px 16px #171c2315; }
.button-outline { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.button-outline:hover { background: #f3f5f7; }
.button-light { background: white; color: var(--ink); }
.text-link { color: var(--nrs-accent); font-weight: 600; }

.nrs-home { display: grid; gap: 40px; width: calc(100% - 80px); max-width: 1240px; margin: 0 auto 80px; }
.nrs-surface { min-width: 0; border-radius: var(--nrs-radius); background: white; box-shadow: var(--nrs-shadow); }
.nrs-section { padding: 64px; }
.nrs-kicker { margin: 0 0 16px; color: var(--nrs-accent); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nrs-kicker-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #439fbe; }
.nrs-hero { padding: 46px 40px 38px; text-align: center; }
.nrs-hero h1 { margin: 0; font-size: clamp(40px, 4.2vw, 58px); font-weight: 700; line-height: 1.13; letter-spacing: -.055em; }
.nrs-hero h1 > span { color: var(--nrs-accent); }
.nrs-hero-intro { margin: 20px auto 0; color: var(--ink-soft); font-size: 19px; line-height: 1.5; }
.nrs-hero-art { position: relative; width: min(340px, 100%); aspect-ratio: 560 / 520; margin: 16px auto 20px; }
.nrs-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.nrs-hero-note { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; color: var(--ink-soft); font-size: 12px; }
.nrs-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.nrs-feature { display: flex; flex-direction: column; align-items: center; padding: 38px 44px; text-align: center; }
.nrs-feature-icon { width: 104px; height: 92px; margin-bottom: 16px; }
.nrs-feature h2 { margin: 0; font-size: clamp(30px, 2.8vw, 38px); line-height: 1.14; letter-spacing: -.045em; }
.nrs-feature > p:not(.nrs-kicker) { max-width: 360px; margin: 18px auto 26px; font-size: 16px; line-height: 1.6; }
.nrs-feature .button { margin-top: auto; }
.nrs-feature-academy { background: #e2eff5; }
.nrs-feature-academy > p:not(.nrs-kicker) { color: #465e6b; }
.nrs-feature-space { background: #16252e; color: white; }
.nrs-feature-space .nrs-kicker { color: #a9dcec; }
.nrs-feature-space > p:not(.nrs-kicker) { color: #d0dce3; }
.nrs-light-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 10px; color: #d2e9f2; font-size: 13px; }
.nrs-light-link:hover { color: white; text-decoration: underline; }
.nrs-section-heading { text-align: center; margin: 0 auto 40px; }
.nrs-section-heading h2, .nrs-contact h2 { margin: 0; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.16; letter-spacing: -.05em; font-weight: 700; }
.nrs-section-heading > p:not(.nrs-kicker) { max-width: 600px; margin: 20px auto 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.nrs-catalog .training-list { gap: 20px; }
.nrs-catalog .training-item { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 28px; border: 1px solid transparent; border-radius: 22px; background: #f4f6f8; box-shadow: none; }
.nrs-catalog .training-item:hover { border-color: #c8d9e2; background: #eff4f7; }
.nrs-catalog .training-number { color: #68879a; font: 500 17px var(--display); padding-top: 4px; }
.nrs-catalog .training-category { background: white; color: #496979; font-size: 11px; }
.nrs-catalog .training-title h3 { margin-top: 16px; color: var(--ink); font-size: 19px; font-weight: 600; }
.nrs-catalog .training-title p { font-size: 14px; color: var(--ink-soft); }
.nrs-catalog .document-status { display: inline-flex; align-items: center; gap: 8px; color: #20638a; border: 0; padding-block: 9px; min-height: 44px; }
.nrs-catalog .document-status:hover { text-decoration: underline; }
.nrs-catalog .training-empty { padding: 32px; background: #f4f6f8; text-align: center; border: 0; }
.nrs-catalog-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; text-align: center; }
.nrs-catalog-foot p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.nrs-about { background: #171e25; color: white; }
.nrs-about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.nrs-about .nrs-kicker { color: #a9dcec; }
.nrs-about-heading h2 { margin: 0; font-size: clamp(34px, 3.2vw, 46px); font-weight: 600; line-height: 1.14; letter-spacing: -.05em; }
.nrs-about-heading > p:not(.nrs-kicker) { margin: 24px 0; color: #d0dbe3; font-size: 17px; }
.nrs-about .button-outline { border-color: #88939d; color: white; }
.nrs-about .button-outline:hover { background: #26343e; }
.nrs-about-copy { color: #d0dbe3; font-size: 15px; line-height: 1.8; }
.nrs-about-copy > p { margin: 0 0 22px; }
.nrs-about-details { padding-top: 16px; border-top: 1px solid #ffffff26; }
.nrs-about-details summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; gap: 12px; color: white; cursor: pointer; list-style: none; }
.nrs-about-details summary::-webkit-details-marker { display: none; }
.nrs-about-details summary > span { font-size: 26px; transition: transform .2s; }
.nrs-about-details[open] summary > span { transform: rotate(45deg); }
.nrs-about-details p { margin: 18px 0 0; }
.nrs-formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 42px 0 0; padding: 30px 0 0; border-top: 1px solid #ffffff26; list-style: none; }
.nrs-formats li { display: flex; gap: 12px; color: #d0dbe3; font-size: 12px; line-height: 1.65; }
.nrs-formats li > span { color: #a9dcec; font-size: 17px; }
.nrs-quality-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.nrs-quality-card { flex: 1 1 300px; max-width: 620px; padding: 30px; border-radius: 22px; background: #f4f6f8; }
.nrs-quality-label { color: var(--nrs-accent); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.nrs-quality-card h3 { margin: 12px 0 16px; font-size: 22px; letter-spacing: -.035em; }
.nrs-quality-card p { margin: 0 0 20px; font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.nrs-quality-card .text-link { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.nrs-partners { border: 0; overflow: hidden; }
.nrs-partners .partner-heading { margin-bottom: 8px; }
.nrs-partners h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.partner-motion-toggle { min-height: 44px; }
.nrs-partners .partner-wordmark { color: #5e7281; }
.nrs-contact { background: #e5f0f6; text-align: center; }
.nrs-contact > p:not(.nrs-kicker) { margin: 22px auto 28px; max-width: 540px; color: #526875; font-size: 17px; }

/* Keep the same visual language through questionnaires and exam screens. */
.form-page, .exam-page, .ops-page { padding-top: 28px; padding-bottom: 80px; }
.exam-page { width: calc(100% - 80px); max-width: 1240px; padding-inline: 36px; }
.form-intro h1, .exam-page > h1, .ops-heading h1 { font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.05em; }
.form-intro h1 em, .exam-page > h1 em, .ops-heading h1 em { color: var(--nrs-accent); }
.site-form { padding: 36px; border: 0; border-radius: 26px; box-shadow: var(--nrs-shadow); }
.site-form .button { justify-self: start; }
.form-field input:not([type=checkbox]), .form-field textarea, .form-field select { background: #f8fafb; border-color: #dce1e6; border-radius: 12px; }
.form-field-control { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field-control:not(:has(*)) { display: none; }
.site-form > .errorlist { grid-column: 1 / -1; min-width: 0; }
.form-field textarea, .exam-question textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--nrs-accent); outline-offset: 2px; }
@media (min-width: 651px) {
  .form-page .site-form > .form-field:not(.checkbox-field) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: 6px;
  }
}
.exam-list { gap: 20px; }
.exam-card, .ops-panel, .exam-question, .exam-candidate-fields { border: 0; border-radius: 22px; background: white; box-shadow: var(--nrs-shadow); }
.exam-card strong { color: var(--ink); }
.exam-card b, .exam-card-index { color: var(--nrs-accent); }
.exam-question { min-width: 0; padding: 24px; }
.exam-question legend { float: left; width: 100%; max-width: 100%; margin-bottom: 18px; overflow-wrap: anywhere; }
.exam-question > :not(legend) { clear: both; }
.exam-question legend span { color: var(--nrs-accent); font-size: 11px; }
.exam-question textarea { min-height: 170px; border-radius: 12px; background: #f8fafb; }
.exam-confirm.section-pad { padding-top: 28px; }
.confirm-card { border: 0; box-shadow: var(--nrs-shadow); border-radius: var(--nrs-radius); }
.confirm-card .confirm-mark { background: #e7f3f7; color: #206c94; }
.confirmation-summary { background: #f4f6f8; }
.site-footer { background: #e9edf1; color: var(--ink); border-top: 1px solid #e0e5e9; padding-top: 54px; }
.footer-main { max-width: 1240px; margin: auto; padding-bottom: 42px; grid-template-columns: .7fr 1.1fr .8fr 1.1fr; }
.footer-promise { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.45; letter-spacing: -.035em; }
.site-footer .brand-mark { color: var(--ink); }
.footer-main .brand-sub, .footer-links, .footer-contact, .footer-contact p, .footer-bottom { color: #53616d; }
.footer-label { color: var(--nrs-accent); }
.footer-contact > a { color: var(--ink); }
.footer-links a:hover, .footer-bottom a { color: var(--nrs-accent); }
.footer-bottom { border-color: #d7dee4; max-width: 1240px; margin: auto; }
.messages { margin: 0 auto 24px; width: calc(100% - 48px); max-width: 1200px; border-radius: 16px; }

@media (max-width: 1100px) {
  .site-header { padding-inline: 24px; }
  .main-nav { gap: 20px; font-size: 13px; }
  .main-nav > .nav-contact { padding-inline: 14px; }
  .nrs-section { padding: 48px 36px; }
  .nrs-feature { padding: 34px 28px; }
  .nrs-about-grid { gap: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 114px; }
  .site-header { width: calc(100% - 40px); height: 74px; padding: 0 22px; margin: 18px auto 28px; top: 14px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 22px; }
  .main-nav { position: absolute; display: none; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - 120px); overflow-y: auto; padding: 16px 24px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--nrs-shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-dropdown > summary { display: flex; align-items: center; padding: 16px 0; min-height: 52px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 15px; }
  .main-nav > .nav-contact { justify-content: center; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 28px; }
  .nav-dropdown-panel { position: static; min-width: 0; padding: 4px 0 8px 14px; border: 0; background: transparent; box-shadow: none; }
  .nav-dropdown-panel a { padding: 10px 0; border: 0; font-size: 14px; }
  .nrs-home { width: calc(100% - 40px); gap: 28px; margin-bottom: 48px; }
  .nrs-section { padding: 44px 28px; }
  .nrs-hero { padding: 38px 24px 30px; }
  .nrs-hero h1 { font-size: 44px; }
  .nrs-hero-intro { font-size: 17px; }
  .nrs-hero-art { width: 300px; }
  .nrs-feature-grid { gap: 24px; }
  .nrs-feature { padding: 30px 20px; }
  .nrs-feature h2 { font-size: 29px; }
  .nrs-feature > p:not(.nrs-kicker) { font-size: 15px; }
  .nrs-feature .button { padding-inline: 16px; font-size: 13px; gap: 10px; }
  .nrs-about-grid { grid-template-columns: 1fr; gap: 30px; }
  .nrs-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .exam-page { width: calc(100% - 40px); padding-inline: 20px; }
}
@media (max-width: 600px) {
  :root { --nrs-radius: 24px; }
  .site-header { width: calc(100% - 28px); margin: 14px auto 24px; top: 12px; padding-inline: 18px; height: 70px; }
  .brand-symbol { width: 54px; height: 54px; }
  .brand-name strong { font-size: 27px; }
  .brand-name .brand-sub { font-size: 6px; }
  .nrs-home { width: calc(100% - 28px); gap: 24px; }
  .nrs-hero { padding: 32px 18px 26px; }
  .nrs-kicker { font-size: 10px; letter-spacing: .09em; }
  .nrs-hero h1 { font-size: clamp(30px, 8.5vw, 44px); }
  .nrs-hero-intro { font-size: 16px; }
  .nrs-hero-art { width: min(280px, 100%); margin-block: 14px 20px; }
  .nrs-actions { flex-direction: column; align-items: center; gap: 10px; }
  .nrs-actions .button { width: 100%; max-width: 310px; justify-content: center; }
  .button { min-height: 52px; font-size: 13px; padding-inline: 18px; gap: 12px; }
  .nrs-hero-note { font-size: 10px; gap: 8px; margin-top: 18px; }
  .nrs-feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .nrs-feature { padding: 32px 24px; }
  .nrs-feature h2 { font-size: 32px; }
  .nrs-feature-icon { width: 90px; height: 78px; }
  .nrs-section { padding: 38px 22px; }
  .nrs-section-heading { margin-bottom: 28px; }
  .nrs-section-heading h2, .nrs-contact h2 { font-size: 32px; }
  .nrs-section-heading > p:not(.nrs-kicker) { font-size: 15px; }
  .nrs-catalog .training-list { grid-template-columns: 1fr; gap: 16px; }
  .nrs-catalog .training-item { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 22px 16px; }
  .nrs-catalog .training-title h3 { font-size: 17px; }
  .nrs-catalog .training-title p { font-size: 13px; }
  .nrs-catalog .document-status { font-size: 12px; }
  .nrs-about-heading h2 { font-size: clamp(30px, 9vw, 36px); }
  .nrs-about-copy { font-size: 14px; }
  .nrs-formats { gap: 22px 16px; margin-top: 30px; }
  .nrs-formats li { font-size: 11px; gap: 8px; }
  .nrs-quality-card { padding: 24px; min-width: 0; }
  .nrs-quality-card h3 { font-size: 21px; }
  .nrs-partners .partner-heading { flex-direction: column; align-items: center; gap: 12px; }
  .nrs-partners h2 { font-size: 30px; }
  .nrs-contact > p:not(.nrs-kicker) { font-size: 15px; }
  .nrs-contact h2 { font-size: clamp(25px, 7vw, 30px); }
  .site-form { padding: 24px 20px; }
  .form-page, .exam-page, .ops-page { padding-top: 14px; padding-bottom: 48px; }
  .exam-page { width: calc(100% - 28px); padding-inline: 8px; }
  .form-intro h1 { font-size: 38px; }
  .site-form .button { justify-self: stretch; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-promise { margin: 0; }
  .footer-bottom { gap: 10px; }
}

.site-footer .brand-mark { color: #206c94; }
.partner-group li { display: flex; align-items: center; justify-content: center; min-width: 200px; }
.partner-group img { width: auto; max-width: 220px; height: 64px; object-fit: contain; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testimonial-grid figure { display: flex; flex-direction: column; margin: 0; padding: 26px; background: #f3f7fa; border-radius: 20px; }
.testimonial-grid blockquote { margin: 0 0 22px; font-size: 15px; line-height: 1.8; color: #415563; }
.testimonial-grid figcaption { display: grid; gap: 4px; margin-top: auto; font-size: 13px; }
.testimonial-grid figcaption span { color: #53616d; }
.survey-page { width: min(840px, calc(100% - 40px)); margin: 0 auto 80px; }
.survey-heading { padding: 34px 0; }
.survey-heading h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.045em; line-height: 1.12; }
.survey-heading h1 span { color: #206c94; }
.survey-heading p { max-width: 640px; line-height: 1.8; }
.survey-heading.nrs-surface { padding: 40px; }
.survey-form { display: block; max-width: none; padding: 36px; }
.survey-form h2 { font-size: 21px; margin: 26px 0 16px; }
.survey-question { min-width: 0; padding: 0; margin: 0 0 28px; border: 0; }
.survey-question legend { float: left; width: 100%; max-width: 100%; font-size: 16px; line-height: 1.6; font-weight: 600; padding: 0; margin-bottom: 14px; overflow-wrap: anywhere; }
.survey-question legend + * { clear: both; }
.survey-question > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.survey-question label { display: flex; gap: 10px; align-items: center; padding: 14px; border: 1px solid #d5e0e7; border-radius: 12px; cursor: pointer; min-height: 48px; }
.survey-question label:has(input:checked) { background: #edf7fb; border-color: #206c94; }
.survey-question input[type=radio] { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: #206c94; }
.survey-question textarea { width: 100%; box-sizing: border-box; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .survey-form { padding: 22px; }
  .survey-question > div { grid-template-columns: 1fr; }
  .survey-heading.nrs-surface { padding: 26px; }
}
