/* Course layout uses the site's shared palette, font, header and controls. */
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.education-page .container {
  width: min(1640px, 85.4167vw);
  margin-inline: auto;
}
.education-page .header {
  margin-bottom: 28px;
}
.education-page h1,
.education-page h2 {
  font-size: var(--fs-lg);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
  margin: 0 0 24px;
}
.education-page h3 {
  font-size: var(--fs-md);
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 700;
}
.education-page p {
  margin: 0 0 16px;
}
.education-page a {
  color: inherit;
}
.education-page .header-phone {
  color: var(--green);
}
.education-page .header .logo-caption {
  margin: 0 30px 0 12px;
}
.education-page .nav a:hover {
  color: var(--green);
}
.hero {
  margin-bottom: 112px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 56px 58px;
  background: var(--green);
  border-radius: 28px;
  color: #fff;
}
.eyebrow {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green);
}
.hero .eyebrow {
  color: #bfe4d1;
}
.course-name {
  font-size: var(--fs-base);
  color: #d7ecdf;
}
.hero h1 span {
  color: #bfe4d1;
}
.intro {
  color: #d7ecdf;
  max-width: 620px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  padding-block: 16px;
  white-space: normal;
}
.button.secondary {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
}
.button.secondary:hover {
  background: var(--green-soft);
}
.hero .button {
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-sm);
  min-height: 64px;
}
.hero .button:hover {
  background: #e6efe8;
}
.hero .button.secondary {
  background: transparent;
  border-color: #ffffff70;
  color: #fff;
  max-width: 360px;
}
.hero .button.secondary:hover {
  background: #ffffff14;
}
.hero-note {
  color: #c3d3c9;
  font-size: var(--fs-sm);
  margin-top: 22px !important;
  margin-bottom: 0 !important;
}
/* Generated editorial photography matches the site's green legal imagery. */
.hero-visual {
  margin: 0;
  min-width: 0;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--dark);
}
.hero-visual > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 60% center;
}
.hero-visual figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: center;
  padding: 40px 22px 24px;
  background: linear-gradient(transparent, rgba(22, 33, 27, 0.85));
  color: #fff;
  font-size: var(--fs-sm);
}
.checklist-visual {
  width: 320px;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
}
.section {
  padding-bottom: 112px;
}
.shaded {
  background: var(--light);
  padding-top: 80px;
  margin-bottom: 112px;
  padding-bottom: 80px;
}
.section-intro {
  color: var(--muted);
}
.wide {
  max-width: 900px;
}
.audience-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.audience-card,
.document-card {
  padding: 34px;
  background: var(--light);
  border-radius: 24px;
  min-width: 0;
}
.card-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #fff;
  color: var(--green);
  border-radius: 12px;
  font-weight: 700;
  margin-bottom: 28px;
}
.audience-card h3 {
  min-height: 58px;
}
.audience-card p {
  color: var(--muted);
  margin-bottom: 0;
}
.program-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 80px;
}
.program-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.program-stat b {
  font-size: 76px;
  line-height: 1;
  font-weight: 700;
  color: var(--green);
}
.program-stat span {
  font-size: var(--fs-base);
  color: var(--muted);
}
.modules details {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 16px;
  padding: 0 28px;
}
.modules details:last-child {
  margin-bottom: 0;
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.modules summary {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
  padding: 26px 0;
}
.module-number {
  color: var(--green);
  font-size: var(--fs-sm);
  align-self: flex-start;
  padding-top: 5px;
}
.modules summary small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: var(--fs-sm);
  margin-top: 8px;
}
.plus {
  margin-left: auto;
  font-size: 26px;
  font-weight: 400;
  flex: none;
  color: var(--green);
}
.modules details[open] .plus {
  transform: rotate(45deg);
}
.modules ol {
  margin: 0 0 0 36px;
  padding: 0 0 14px 18px;
  color: var(--muted);
}
.modules li {
  padding: 0 0 16px 8px;
}
.document-card {
  display: flex;
  flex-direction: column;
}
.document-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #fff;
  color: var(--green);
  font-size: 28px;
  border-radius: 14px;
  margin-bottom: 28px;
}
.document-card h3 {
  margin: 16px 0 26px;
  min-height: 58px;
}
.document-card details {
  margin-top: auto;
}
.document-card summary {
  display: flex;
  justify-content: space-between;
  color: var(--green);
  font-weight: 700;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.document-card ul {
  padding-left: 18px;
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 18px 0 0;
}
.document-card li {
  margin-bottom: 12px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.section-heading p {
  color: var(--muted);
}
.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 24px;
}
.tariff-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  min-width: 0;
}
.tariff-card.featured {
  background: var(--green);
  color: #fff;
}
.tariff-card .tag {
  font-size: var(--fs-base);
}
.tariff-card h3 {
  font-size: 28px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.tariff-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 28px;
  color: var(--muted);
}
.tariff-card li {
  position: relative;
  padding: 0 0 18px 26px;
}
.tariff-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.tariff-card.featured .tag,
.tariff-card.featured ul {
  color: #d7ecdf;
}
.tariff-card.featured li:before {
  color: #bfe4d1;
}
.tariff-card .button {
  margin-top: auto;
  width: 100%;
}
.tariff-card.featured .button {
  background: #fff;
  color: var(--ink);
}
.tariff-card.featured .button:hover {
  background: var(--green-soft);
}
.tariff-note {
  text-align: center;
  color: var(--muted);
  font-size: var(--fs-sm);
  margin: 28px 0 0 !important;
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 58px;
  background: var(--light);
  border-radius: 28px;
  margin-bottom: 80px !important;
}
.closing .eyebrow {
  margin-bottom: 12px;
}
.closing h2 {
  margin-bottom: 16px;
}
.closing p:last-child {
  margin: 0;
  color: var(--muted);
}
.closing > .button {
  flex: none;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 22px 0 40px;
  scroll-margin-top: 160px;
}
.footer-top p {
  color: var(--muted);
}
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-phones a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font-size: var(--fs-sm);
  color: var(--muted);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-legal {
  flex-basis: 100%;
}
.footer-legal p {
  margin-bottom: 6px;
}
#request-modal {
  max-height: calc(100dvh - 30px);
  color: var(--ink);
}
#request-modal .modal-head {
  padding-right: 65px;
}
#request-modal .modal-head h2 {
  font-size: var(--fs-md);
  margin-bottom: 12px;
  color: #fff;
}
#request-modal .modal-head p {
  margin: 0;
}
#request-modal form {
  padding: 0 40px 36px;
}
#request-modal form > label {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: 18px;
}
#request-modal input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 58px;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
  margin-top: 8px;
}
#request-modal form > .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--green);
}
.consent a {
  color: var(--green);
}
#request-modal form > .button {
  width: 100%;
}
.form-status {
  font-size: var(--fs-sm);
  margin: 16px 0 0 !important;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.cookie-banner.visible {
  transform: none;
}
body:has(.cookie-banner:not([hidden])) footer {
  padding-bottom: 190px;
}
@media (max-width: 1400px) {
  .hero-grid {
    padding: 42px;
    gap: 40px;
    grid-template-columns: 1.2fr 1fr;
  }
  .audience-card,
  .document-card {
    padding: 28px;
  }
  .audience-grid,
  .document-grid,
  .tariff-grid {
    gap: 24px;
  }
  .tariff-card {
    padding: 30px;
  }
  .tariff-card h3 {
    font-size: 24px;
  }
  .program-grid {
    gap: 50px;
  }
}
@media (max-width: 1100px) {
  .education-page .container {
    width: calc(100% - 64px);
  }
  .education-page .header-top {
    padding: 22px 0;
  }
  .education-page .mobile-menu {
    inset: 110px 0 0;
  }
  .education-page .header {
    margin-bottom: 25px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 32px;
  }
  .education-page h1,
  .education-page h2 {
    font-size: 34px;
  }
  .audience-grid,
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audience-card h3 {
    min-height: 0;
  }
  .program-grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
  }
  .modules details {
    padding: 0 22px;
  }
  .modules summary {
    gap: 14px;
    font-size: 18px;
  }
  .tariff-card {
    padding: 24px;
  }
  .tariff-card h3 {
    font-size: 22px;
  }
  .tariff-card li {
    font-size: 14px;
  }
  .tariff-card .button {
    font-size: 13px;
    padding-inline: 18px;
  }
  .closing {
    padding: 40px;
  }
  .closing > .button {
    max-width: 300px;
  }
}
@media (max-width: 768px) {
  .education-page .container {
    width: 87.5vw;
  }
  .education-page .header {
    margin-bottom: 22px;
  }
  .education-page .header-top {
    padding: 0;
  }
  .education-page .mobile-menu {
    top: 124px;
  }
  .hero {
    margin-bottom: 55px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    border-radius: 20px;
    gap: 30px;
  }
  .education-page h1,
  .education-page h2 {
    font-size: 30px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero h1 br,
  .section h2 br {
    display: none;
  }
  .eyebrow {
    font-size: 11px;
  }
  .course-name {
    font-size: 14px;
  }
  .intro {
    font-size: 15px;
  }
  .actions {
    flex-direction: column;
    margin-top: 24px;
    gap: 12px;
  }
  .hero .button,
  .hero .button.secondary {
    width: 100%;
    max-width: none;
    padding-inline: 18px;
    min-height: 58px;
    font-size: 12px;
  }
  .hero-note {
    font-size: 12px;
  }
  .section {
    padding-bottom: 55px;
  }
  .shaded {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 55px;
  }
  .audience-grid,
  .document-grid,
  .tariff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .audience-card,
  .document-card,
  .tariff-card {
    padding: 24px;
    border-radius: 20px;
  }
  .card-number {
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
  }
  .audience-card p {
    font-size: 15px;
  }
  .program-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .program-stat {
    margin-top: 25px;
  }
  .program-stat b {
    font-size: 60px;
  }
  .modules details {
    padding: 0 18px;
    border-radius: 16px;
  }
  .modules summary {
    font-size: 17px;
    gap: 12px;
    padding: 22px 0;
  }
  .module-number {
    font-size: 11px;
  }
  .modules ol {
    font-size: 14px;
    margin-left: 22px;
  }
  .modules li {
    padding-left: 4px;
  }
  .document-card h3 {
    min-height: 0;
    margin-bottom: 22px;
  }
  .document-icon {
    margin-bottom: 22px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p br {
    display: none;
  }
  .tariff-card h3 {
    font-size: 24px;
  }
  .tariff-card li {
    font-size: 15px;
  }
  .tariff-card .button {
    font-size: 14px;
    min-height: 58px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 26px 22px;
    border-radius: 20px;
    margin-bottom: 55px !important;
  }
  .closing > .button {
    width: 100%;
    max-width: none;
    font-size: 13px;
    padding-inline: 16px;
  }
  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding: 0 0 24px;
  }
  .footer-top p {
    margin: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    padding-top: 24px;
  }
  .footer-legal {
    flex-basis: auto;
    font-size: 12px;
  }
  .footer-legal p {
    margin-bottom: 10px;
  }
  .cookie-banner .button {
    min-height: 48px;
    font-size: 13px;
  }
  .cookie-banner p {
    font-size: 12px;
    margin: 0;
  }
  body:has(.cookie-banner:not([hidden])) footer {
    padding-bottom: 250px;
  }
  #request-modal form {
    padding: 0 22px 26px;
  }
  #request-modal input:not([type="checkbox"]) {
    height: 50px;
  }
  #request-modal .modal-head {
    padding: 26px 60px 26px 22px;
  }
  #request-modal .modal-head h2 {
    font-size: 22px;
  }
}
@media (max-width: 350px) {
  .hero-grid {
    padding: 22px 16px;
  }
  .hero h1 {
    font-size: 25px;
  }
  .audience-card,
  .document-card,
  .tariff-card {
    padding: 22px;
  }
  .tariff-card h3 {
    font-size: 22px;
  }
  .closing {
    padding: 24px 18px;
  }
  .closing h2 {
    font-size: 27px;
  }
}

@media (max-width: 1400px) {
  .hero-visual > img {
    height: 520px;
  }
  .checklist-visual {
    width: 260px;
    height: 190px;
  }
  .closing {
    flex-wrap: wrap;
  }
  .closing > div {
    flex: 1 1 350px;
  }
  .closing > .button {
    margin-left: auto;
  }
}
@media (max-width: 1100px) {
  .hero-visual > img {
    height: 500px;
  }
  .hero-visual figcaption {
    gap: 8px 14px;
    padding-inline: 15px;
    font-size: 12px;
  }
  .closing {
    gap: 28px;
  }
  .closing > div {
    flex-basis: 330px;
  }
}
@media (max-width: 768px) {
  .hero-visual {
    border-radius: 16px;
  }
  .hero-visual > img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: 60% center;
  }
  .hero-visual figcaption {
    position: static;
    background: var(--dark);
    padding: 14px;
    font-size: 11px;
    gap: 8px 14px;
  }
  .closing > div {
    flex: initial;
  }
  .checklist-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
  }
  .closing > .button {
    margin: 0;
  }
}
