.national-plan-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(13, 114, 52, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5fb 100%);
}

.national-plan-page [id] {
  scroll-margin-top: calc(var(--header-height) + 92px);
}

.plan-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 680px;
  padding: 8rem 0 4.5rem;
  color: #ffffff;
  background: var(--navy-deep);
}

.plan-hero-image,
.plan-hero-overlay {
  position: absolute;
  inset: 0;
}

.plan-hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.plan-hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 19, 45, 0.92) 0%, rgba(9, 19, 45, 0.68) 48%, rgba(9, 19, 45, 0.22) 100%),
    linear-gradient(180deg, rgba(9, 19, 45, 0.12) 0%, rgba(9, 19, 45, 0.72) 100%);
}

.plan-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
}

.plan-hero-content {
  max-width: 820px;
  margin-left: max(1rem, calc((100vw - var(--container)) / 2));
}

.plan-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.plan-hero h1,
.plan-overview h2,
.plan-section-heading h2,
.audience-panel h2,
.certification-copy h2,
.plan-contact-wrap h2,
.plan-inclusion-panel h3,
.practice-copy h3 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.08;
}

.plan-hero h1 {
  margin-top: 1rem;
  max-width: 10ch;
  font-size: 4.4rem;
  font-weight: 800;
}

.plan-hero p {
  max-width: 62ch;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
  line-height: 1.65;
}

.plan-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.plan-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(8, 21, 52, 0.18);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.plan-hero-button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.plan-hero-button:hover,
.plan-hero-button:focus-visible {
  transform: translateY(-2px);
}

.plan-hero-button svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2;
}

.plan-jumpbar {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
  border-bottom: 1px solid rgba(17, 32, 61, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.plan-jumpbar-inner {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.72rem 0;
  scrollbar-width: thin;
}

.plan-jumpbar a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(17, 32, 61, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.plan-jumpbar a:hover,
.plan-jumpbar a:focus-visible {
  border-color: rgba(13, 114, 52, 0.4);
  background: var(--green);
  color: #ffffff;
  transform: translateY(-1px);
}

.plan-snapshot-section {
  padding: 0 0 4rem;
  background: #fbfcff;
}

.plan-snapshot-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -3.2rem;
}

.plan-snapshot-card {
  min-height: 170px;
  padding: 1.35rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(8, 21, 52, 0.12);
}

.plan-snapshot-card span {
  display: block;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-snapshot-card strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--navy-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.plan-snapshot-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.48;
}

.plan-overview-section,
.plan-philosophy-section,
.plan-curriculum-section,
.plan-audience-section,
.plan-objectives-section,
.plan-certification-section,
.plan-contact-section {
  padding: 4.6rem 0;
}

.plan-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.76fr);
  gap: 2.2rem;
  align-items: stretch;
}

.plan-overview-copy,
.plan-inclusion-panel,
.audience-panel,
.certification-card {
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(8, 21, 52, 0.08);
}

.plan-overview-copy {
  padding: 2.2rem;
}

.plan-overview h2 {
  max-width: 17ch;
  color: var(--navy-deep);
  font-size: 2.65rem;
}

.plan-overview-copy p:not(.section-tag),
.plan-section-heading p,
.plan-inclusion-panel p,
.cycle-card-body p,
.cycle-card-body li,
.audience-panel li,
.objective-card p,
.certification-copy p,
.certification-card li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.plan-overview-copy p:not(.section-tag) {
  margin: 1.1rem 0 0;
}

.plan-inclusion-panel {
  display: grid;
  align-content: end;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(9, 19, 45, 0.18), rgba(9, 19, 45, 0.88)),
    url("../assets/img/portada-colegio.jpg") center / cover no-repeat;
  color: #ffffff;
}

.plan-panel-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.72rem;
  border-radius: 4px;
  background: rgba(243, 194, 68, 0.18);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-inclusion-panel h3 {
  color: #ffffff;
  font-size: 2rem;
}

.plan-inclusion-panel p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.plan-philosophy-section,
.plan-audience-section {
  background: #ffffff;
}

.plan-section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.plan-section-heading h2 {
  max-width: 19ch;
  color: var(--navy-deep);
  font-size: 2.55rem;
}

.plan-section-heading p:not(.section-tag) {
  max-width: 72ch;
  margin: 0;
}

.plan-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.plan-philosophy-card,
.cycle-card,
.objective-card {
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(8, 21, 52, 0.07);
}

.plan-philosophy-card {
  display: grid;
  align-content: start;
  min-height: 265px;
  padding: 1.55rem;
  border-top: 4px solid var(--gold);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.plan-philosophy-card:hover {
  border-color: rgba(13, 114, 52, 0.24);
  box-shadow: 0 20px 46px rgba(8, 21, 52, 0.11);
  transform: translateY(-4px);
}

.plan-philosophy-card span,
.objective-card span {
  color: rgba(18, 33, 74, 0.16);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.plan-philosophy-card h3,
.cycle-card-body h3,
.certification-card h3 {
  margin: 1rem 0 0;
  color: var(--navy-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.18;
}

.plan-philosophy-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.cycle-card {
  overflow: hidden;
}

.cycle-card-header {
  display: grid;
  gap: 0.45rem;
  padding: 1.35rem 1.55rem;
  color: #ffffff;
}

.cycle-third .cycle-card-header {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
}

.cycle-fourth .cycle-card-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.cycle-card-header span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycle-card-header strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.1rem;
  line-height: 1;
}

.cycle-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.55rem;
}

.cycle-card-body h3 {
  margin-top: 0.5rem;
}

.cycle-card-body p,
.cycle-card-body ul {
  margin: 0;
}

.cycle-card-body ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.1rem;
}

.practice-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.5rem;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(243, 194, 68, 0.2), rgba(13, 114, 52, 0.1)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(8, 21, 52, 0.08);
}

.practice-copy span {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-copy h3 {
  margin-top: 0.35rem;
  color: var(--navy-deep);
  font-size: 1.7rem;
}

.practice-copy p {
  margin: 0.75rem 0 0;
  max-width: 68ch;
  color: var(--muted);
}

.practice-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.7rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.practice-hours strong {
  color: var(--navy-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.practice-hours span {
  color: var(--muted);
  font-weight: 800;
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
}

.audience-panel {
  padding: 2rem;
}

.audience-panel h2 {
  color: var(--navy-deep);
  font-size: 2.25rem;
}

.plan-check-list,
.plan-number-list,
.certification-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.plan-check-list li,
.plan-number-list li,
.certification-card li {
  position: relative;
  padding-left: 2.25rem;
}

.plan-check-list li::before,
.certification-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--gold) 0 48%, transparent 48%),
    var(--green);
  box-shadow: 0 5px 12px rgba(13, 114, 52, 0.18);
}

.plan-number-list {
  counter-reset: requirement;
}

.plan-number-list li {
  counter-increment: requirement;
}

.plan-number-list li::before {
  content: counter(requirement);
  position: absolute;
  left: 0;
  top: 0.12rem;
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--navy-deep);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.objective-card {
  min-height: 188px;
  padding: 1.35rem;
  border-left: 4px solid var(--green);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.objective-card:hover {
  box-shadow: 0 20px 46px rgba(8, 21, 52, 0.12);
  transform: translateY(-4px);
}

.objective-card p {
  margin: 1rem 0 0;
  color: var(--text);
  font-weight: 700;
}

.plan-certification-section {
  background:
    linear-gradient(135deg, rgba(9, 19, 45, 0.94), rgba(18, 33, 74, 0.9)),
    url("../assets/img/nuestro-colegio-arcos.jpg") center / cover no-repeat;
  color: #ffffff;
}

.certification-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 1.6rem;
  align-items: center;
}

.plan-certification-section .section-tag {
  color: var(--gold);
}

.plan-certification-section .section-tag::before {
  background: var(--gold);
}

.certification-copy h2 {
  max-width: 16ch;
  color: #ffffff;
  font-size: 2.75rem;
}

.certification-copy p {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.certification-card {
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.96);
}

.certification-seal {
  display: inline-grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffe18a);
  color: var(--navy-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(243, 194, 68, 0.25);
}

.certification-card h3 {
  color: var(--navy-deep);
}

.plan-contact-section {
  background: #ffffff;
}

.plan-contact-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem;
  border: 1px solid rgba(17, 32, 61, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 114, 52, 0.08), rgba(243, 194, 68, 0.16)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(8, 21, 52, 0.08);
}

.plan-contact-wrap .plan-kicker {
  background: rgba(13, 114, 52, 0.1);
  color: var(--green-deep);
}

.plan-contact-wrap h2 {
  margin-top: 0.7rem;
  max-width: 18ch;
  color: var(--navy-deep);
  font-size: 2.2rem;
}

@media (max-width: 1120px) {
  .plan-hero {
    min-height: 600px;
  }

  .plan-hero-content {
    margin-left: auto;
  }

  .plan-snapshot-grid,
  .objectives-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-overview,
  .certification-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .plan-hero {
    min-height: 560px;
    padding: 6rem 0 3.5rem;
  }

  .plan-hero h1 {
    font-size: 3.15rem;
  }

  .plan-overview h2,
  .plan-section-heading h2,
  .certification-copy h2 {
    font-size: 2.25rem;
  }

  .plan-philosophy-grid,
  .curriculum-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .practice-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .plan-hero {
    min-height: 620px;
    padding: 5.5rem 0 3.2rem;
  }

  .plan-hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 19, 45, 0.72), rgba(9, 19, 45, 0.92)),
      linear-gradient(90deg, rgba(9, 19, 45, 0.72), rgba(9, 19, 45, 0.4));
  }

  .plan-hero h1 {
    font-size: 2.75rem;
  }

  .plan-hero p {
    font-size: 1rem;
  }

  .plan-hero-actions,
  .plan-contact-wrap {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-hero-actions a,
  .plan-contact-wrap a {
    width: 100%;
  }

  .plan-snapshot-grid,
  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .plan-snapshot-section {
    padding-bottom: 2.8rem;
  }

  .plan-snapshot-grid {
    margin-top: -2.2rem;
  }

  .plan-overview-section,
  .plan-philosophy-section,
  .plan-curriculum-section,
  .plan-audience-section,
  .plan-objectives-section,
  .plan-certification-section,
  .plan-contact-section {
    padding: 3rem 0;
  }

  .plan-overview-copy,
  .plan-inclusion-panel,
  .audience-panel,
  .certification-card,
  .plan-contact-wrap {
    padding: 1.35rem;
  }

  .plan-overview h2,
  .plan-section-heading h2,
  .audience-panel h2,
  .certification-copy h2,
  .plan-contact-wrap h2 {
    font-size: 1.85rem;
  }

  .cycle-card-header strong {
    font-size: 1.65rem;
  }

  .practice-hours {
    grid-template-columns: 1fr;
  }
}
