:root {
  --navy: #25455d;
  --orange: #f27530;
  --cream: #fbf7f2;
  --ink: #203d51;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", Inter, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
}
header {
  height: 74px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(12px);
}
header img {
  width: 170px;
  display: block;
}
header nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
header a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
}
header .post {
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}
#menuBtn {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--navy);
  color: white;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: bold;
}
.hero {
  min-height: calc(100svh - 74px);
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8vw 7vw;
}
.copy {
  position: relative;
  z-index: 3;
  max-width: 930px;
}
.label,
.over {
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
}
.label {
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 8.4rem);
  line-height: 0.83;
  letter-spacing: -0.075em;
  margin: 22px 0 30px;
}
.hero h1 em {
  color: #ff8c4b;
  font-style: normal;
}
.hero p {
  font-family: Inter, Arial, sans-serif;
  max-width: 680px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #dce5ea;
}
.round {
  display: inline-flex !important;
  margin-top: 18px;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 14px 18px;
  text-decoration: none;
  gap: 18px;
  align-items: center;
  font-weight: 900;
}
.round b {
  font-size: 1.3rem;
}
.shape {
  position: absolute;
  border-radius: 50%;
}
.s1 {
  width: 390px;
  height: 390px;
  background: var(--orange);
  right: -120px;
  top: -120px;
}
.s2 {
  width: 330px;
  height: 330px;
  border: 70px solid #9db1bd;
  border-left-color: transparent;
  right: 5%;
  bottom: -120px;
  transform: rotate(25deg);
}
.stripes {
  width: 300px;
  height: 300px;
  left: -110px;
  bottom: -110px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 12px,
    #f39a69 12px 18px
  );
  opacity: 0.7;
}
.hero-note {
  position: absolute;
  right: 6vw;
  bottom: 5vw;
  z-index: 4;
  text-align: right;
}
.hero-note b,
.hero-note span {
  display: block;
}
.hero-note span {
  opacity: 0.6;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.85rem;
}
.intro,
.roles,
.calendar,
.conditions {
  padding: 100px 6vw;
}
.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 5vw;
  align-items: center;
}
.intro .big {
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.72;
  font-weight: 900;
  color: #e7ded6;
  letter-spacing: -0.08em;
}
.intro h2,
.head h2,
.end h2 {
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 10px 0;
}
.intro p {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.7;
  font-size: 1.15rem;
  max-width: 780px;
}
.over {
  color: var(--orange);
}
.head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 42px;
}
.head > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  flex: none;
}
.head h2 {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cards article {
  background: #fff;
  padding: 26px;
  border-radius: 24px;
  min-height: 360px;
  border: 1px solid #eadfd8;
}
.icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
}
.cards article:nth-child(even) .icon {
  background: var(--orange);
}
.cards h3 {
  font-size: 1.45rem;
}
.cards p,
.cards li {
  font-family: Inter, Arial, sans-serif;
  color: #60717c;
  line-height: 1.55;
}
.cards ul {
  padding-left: 18px;
}
.route {
  padding: 100px 7vw;
  background: var(--navy);
  color: #fff;
}
.head.light h2 {
  color: #fff;
}
.route-wrap {
  max-width: 980px;
  margin: auto;
  position: relative;
}
.route-wrap .rail {
  position: absolute;
  left: 42px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}
.route-wrap article {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  position: relative;
  padding: 28px 0;
}
.route-wrap strong {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  font-size: 1.2rem;
  z-index: 2;
}
.route-wrap h3 {
  font-size: 2rem;
  margin: 8px 0;
}
.route-wrap p {
  font-family: Inter, Arial, sans-serif;
  color: #cbd6dd;
  margin: 0;
  max-width: 650px;
  line-height: 1.6;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.calendar-grid article {
  background: #fff;
  border-radius: 50% 50% 22px 22px;
  padding: 40px 24px 28px;
  min-height: 250px;
  text-align: center;
  border: 1px solid #eadfd8;
}
.calendar-grid small {
  color: var(--orange);
  font-weight: 900;
}
.calendar-grid b {
  display: block;
  font-size: 3.4rem;
  letter-spacing: -0.06em;
  margin: 28px 0 6px;
}
.calendar-grid b.smallb {
  font-size: 2.5rem;
}
.calendar-grid p {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}
.day {
  margin-top: 24px;
  background: var(--orange);
  color: white;
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  overflow: hidden;
}
.day div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.day span,
.day b {
  display: block;
}
.day span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.day b {
  font-size: 1.4rem;
  margin-top: 6px;
}
.conditions {
  background: #fff;
}
.condition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.condition-grid article {
  padding: 30px;
  background: var(--cream);
  border-radius: 22px;
}
.condition-grid span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.condition-grid h3 {
  font-size: 2rem;
  line-height: 1.05;
}
.condition-grid p {
  font-family: Inter, Arial, sans-serif;
  color: #60717c;
  line-height: 1.65;
}
.end {
  padding: 100px 6vw;
  text-align: center;
  background: var(--orange);
  color: #fff;
}
.end h2 {
  font-size: clamp(4rem, 10vw, 10rem);
  margin: 14px 0;
}
.end p {
  font-family: Inter, Arial, sans-serif;
}
.end a {
  display: inline-block;
  margin-top: 18px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 900;
}
footer {
  padding: 38px 5vw;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: Inter, Arial, sans-serif;
  color: #667680;
  font-size: 0.85rem;
}
footer img {
  width: 165px;
}
@media (max-width: 900px) {
  header nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid #ddd;
  }
  header nav.open {
    display: flex;
  }
  #menuBtn {
    display: block;
  }
  .intro {
    grid-template-columns: 1fr;
  }
  .intro .big {
    font-size: 7rem;
  }
  .cards,
  .calendar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .condition-grid {
    grid-template-columns: 1fr;
  }
  .day {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  header {
    height: 66px;
    padding: 0 18px;
  }
  header img {
    width: 135px;
  }
  header nav {
    top: 66px;
  }
  .hero {
    min-height: 680px;
    padding: 70px 20px;
  }
  .hero h1 {
    font-size: 4rem;
  }
  .hero-note {
    left: 20px;
    right: auto;
    text-align: left;
    bottom: 24px;
  }
  .s1 {
    width: 230px;
    height: 230px;
  }
  .s2 {
    width: 220px;
    height: 220px;
    border-width: 48px;
  }
  .intro,
  .roles,
  .calendar,
  .conditions {
    padding: 72px 20px;
  }
  .intro .big {
    font-size: 5.6rem;
  }
  .cards,
  .calendar-grid,
  .day {
    grid-template-columns: 1fr;
  }
  .cards article {
    min-height: auto;
  }
  .calendar-grid article {
    min-height: 210px;
    border-radius: 24px;
  }
  .route {
    padding: 72px 20px;
  }
  .route-wrap article {
    grid-template-columns: 60px 1fr;
  }
  .route-wrap strong {
    width: 60px;
    height: 60px;
  }
  .route-wrap .rail {
    left: 29px;
  }
  .route-wrap h3 {
    font-size: 1.5rem;
  }
  .end {
    padding: 70px 20px;
  }
  footer {
    padding: 30px 20px;
    display: grid;
  }
}

/* Ajuste v2 · escala contenida / max 1200 px */
:root {
  --content-pad: max(20px, calc((100vw - 1200px) / 2));
}
header {
  padding-inline: var(--content-pad);
}
.hero {
  min-height: auto;
  padding: 70px var(--content-pad);
}
.copy {
  max-width: 800px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.92;
  margin: 18px 0 24px;
}
.hero p {
  font-size: 1.05rem;
  max-width: 620px;
}
.hero-note {
  right: var(--content-pad);
  bottom: 36px;
}
.s1 {
  width: 290px;
  height: 290px;
}
.s2 {
  width: 245px;
  height: 245px;
  border-width: 52px;
}
.stripes {
  width: 230px;
  height: 230px;
}
.intro,
.roles,
.calendar,
.conditions {
  padding: 68px var(--content-pad);
}
.intro {
  gap: 44px;
}
.intro .big {
  font-size: clamp(4rem, 7vw, 6.8rem);
}
.intro h2,
.head h2,
.end h2 {
  font-size: clamp(2.3rem, 3vw, 4.2rem);
  line-height: 0.96;
}
.intro p {
  font-size: 1.05rem;
}
.head {
  margin-bottom: 30px;
}
.cards {
  gap: 12px;
}
.cards article {
  padding: 22px;
  border-radius: 20px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
}
.icon {
  width: 50px;
  height: 50px;
  font-size: 1.35rem;
}
.cards h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cards p,
.cards li {
  font-size: 0.93rem;
}
.card-apply {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 13px;
  border-radius: 999px;
}
.route {
  padding: 68px var(--content-pad);
}
.route-wrap {
  max-width: 900px;
}
.route-wrap article {
  padding: 20px 0;
}
.route-wrap h3 {
  font-size: 1.65rem;
}
.route-wrap strong {
  width: 70px;
  height: 70px;
}
.route-wrap article {
  grid-template-columns: 70px 1fr;
}
.route-wrap .rail {
  left: 34px;
}
.calendar-grid article {
  padding: 30px 20px 24px;
  min-height: 220px;
}
.calendar-grid b {
  font-size: 2.8rem;
  margin: 20px 0 5px;
}
.calendar-grid b.smallb {
  font-size: 2rem;
}
.day {
  margin-top: 18px;
}
.day div {
  padding: 18px;
}
.condition-grid article {
  padding: 24px;
}
.condition-grid h3 {
  font-size: 1.40rem;
}
.condition-grid p {
  line-height: 1.55;
}
.end {
  padding: 68px var(--content-pad);
}
.end h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}
footer {
  padding: 32px var(--content-pad);
}
@media (max-width: 900px) {
  header {
    padding-inline: 20px;
  }
  .hero,
  .intro,
  .roles,
  .calendar,
  .conditions,
  .route,
  .end {
    padding-inline: 20px;
  }
}
@media (max-width: 560px) {
  .hero {
    padding-block: 54px;
    min-height: 600px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .intro,
  .roles,
  .calendar,
  .conditions,
  .route,
  .end {
    padding-block: 54px;
  }
  .cards article {
    padding: 20px;
    min-height: auto;
  }
  .card-apply {
    margin-top: 16px;
  }
  .route-wrap h3 {
    font-size: 1.4rem;
  }
}

/* Ajuste v3 · calendario rectangular, formulario interno y movimiento suave */
.calendar-grid article {
  border-radius: 22px;
  padding: 28px 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.calendar-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(37, 69, 93, 0.1);
  border-color: rgba(242, 117, 48, 0.35);
}
.cards article {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.cards article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(37, 69, 93, 0.09);
  border-color: rgba(242, 117, 48, 0.28);
}
.card-apply,
.round,
.end a,
header .post {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.card-apply:hover,
.round:hover,
.end a:hover,
header .post:hover {
  transform: translateY(-2px);
}
.application {
  padding: 68px var(--content-pad);
  background: #fff;
}
.application-box {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 42px;
  background: var(--cream);
  border: 1px solid #eadfd8;
  border-radius: 24px;
  padding: 30px;
}
.application-box h3 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 10px 0;
}
.application-box p {
  font-family: Inter, Arial, sans-serif;
  color: #60717c;
  line-height: 1.6;
}
.application form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.application label {
  display: grid;
  gap: 7px;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}
.application input,
.application select {
  border: 1px solid #dfd5ce;
  border-radius: 12px;
  background: #fff;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.application input:focus,
.application select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 117, 48, 0.14);
}
.application .wide {
  grid-column: 1/-1;
}
.application .check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 600;
  color: #60717c;
}
.application .check input {
  width: auto;
  margin-top: 2px;
}
.application button {
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.route-wrap article {
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}
.route-wrap article:hover {
  transform: translateX(6px);
}
@media (max-width: 900px) {
  .application {
    padding-inline: 20px;
  }
  .application-box {
    grid-template-columns: 1fr;
  }
  .application form {
    grid-template-columns: 1fr;
  }
  .application .wide {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .calendar-grid article {
    min-height: 170px;
    border-radius: 20px;
  }
  .application {
    padding-block: 54px;
  }
  .application-box {
    padding: 20px;
  }
  .application-box h3 {
    font-size: 1.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cards article,
  .calendar-grid article,
  .route-wrap article,
  .reveal,
  .card-apply,
  .round,
  .end a,
  header .post {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Ajuste v5 · calendario con bloque independiente para Impulso Lector */
.calendar-main {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}
.calendar-main article {
  min-height: 190px;
}
.impulso {
  margin-top: 18px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #eadfd8;
  border-radius: 22px;
  padding: 24px;
}
.impulso-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.impulso-kicker {
  display: block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  margin-bottom: 6px;
}
.impulso h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.impulso-head p {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #60717c;
  font-size: 0.95rem;
  font-weight: 700;
}
.impulso-dates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.impulso-dates article {
  background: var(--cream);
  color: var(--ink);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid #eadfd8;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.impulso-dates article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 69, 93, 0.09);
}
.impulso-dates small {
  display: block;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.impulso-dates b {
  display: block;
  font-size: 1.9rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
@media (max-width: 900px) {
  .calendar-main {
    grid-template-columns: repeat(3, 1fr);
  }
  .impulso-dates {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .calendar-main {
    grid-template-columns: 1fr;
  }
  .impulso-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .impulso-dates {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .impulso {
    padding: 18px;
    border-radius: 20px;
  }
  .impulso-dates article {
    padding: 16px 10px;
  }
  .impulso-dates b {
    font-size: 1.55rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .impulso-dates article {
    transition: none !important;
  }
}


/* Ajuste v6 · 5 cargos + modales de información */
.cards {
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cards article {
  grid-column: span 2;
}
.cards article:nth-child(4) {
  grid-column: 2 / span 2;
}
.cards article:nth-child(5) {
  grid-column: 4 / span 2;
}
.card-info {
  margin-top: auto;
  align-self: flex-start;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 15px;
  font: 800 0.86rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.card-info:hover,
.card-info:focus-visible {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.card-info:focus-visible,
.role-modal__close:focus-visible {
  outline: 3px solid rgba(242, 117, 48, .35);
  outline-offset: 3px;
}
.role-modal {
  width: min(640px, calc(100vw - 36px));
  max-height: min(82vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(22, 45, 60, .28);
}
.role-modal::backdrop {
  background: rgba(24, 46, 61, .62);
  backdrop-filter: blur(4px);
}
.role-modal__panel {
  position: relative;
  padding: 34px;
  overflow: auto;
  max-height: min(82vh, 760px);
}
.role-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-kicker {
  display: inline-block;
  margin-right: 48px;
  color: var(--orange);
  font: 900 .72rem/1 Inter, Arial, sans-serif;
  letter-spacing: .12em;
}
.role-modal h3 {
  margin: 10px 48px 24px 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.role-modal h4 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}
.role-modal p,
.role-modal li,
.role-modal span,
.role-modal small {
  font-family: Inter, Arial, sans-serif;
}
.role-modal p,
.role-modal li {
  color: #60717c;
  line-height: 1.6;
}
.modal-fee {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 18px;
  align-items: end;
  padding: 18px 20px;
  margin: 0 0 20px;
  border-radius: 18px;
  background: var(--cream);
}
.modal-fee small {
  grid-column: 1;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.modal-fee strong {
  grid-column: 1;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--navy);
}
.modal-fee span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: #60717c;
  font-size: .88rem;
}
.modal-role-block + .modal-role-block {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid #eadfd8;
}
.modal-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--cream);
}
.modal-note strong {
  color: var(--navy);
}
.modal-note span {
  color: #60717c;
  text-align: right;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards article,
  .cards article:nth-child(4),
  .cards article:nth-child(5) {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card-info {
    margin-top: 18px;
  }
  .role-modal__panel {
    padding: 28px 22px;
  }
  .modal-fee {
    grid-template-columns: 1fr;
  }
  .modal-fee span {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
  }
  .modal-note {
    display: grid;
  }
  .modal-note span {
    text-align: left;
  }
}
