.study-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(15,63,98,.1); backdrop-filter: blur(14px); }
.study-header__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.study-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.study-brand .enspa-logo { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; flex: 0 0 auto; }
.study-brand span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.study-brand small { color: #2b78a8; font-size:0; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.study-brand small::after { content:"Escuela secundaria estatal · Avellaneda"; font-size:.72rem; }
.study-brand strong { margin-top: 4px; color: #0f3f62; font-family: "Libre Baskerville", Georgia, serif; font-size: 1rem; }
.study-back { flex: 0 0 auto; padding: 10px 14px; border: 1px solid #bfd8e8; border-radius: 999px; color: #0f3f62; font-weight: 800; }

.study-hero { padding: 86px 0 72px; background: linear-gradient(135deg,#edf8ff 0%,#f9fcfe 52%,#e8f4fb 100%); border-bottom: 1px solid #dceaf2; }
.study-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.study-kicker, .study-heading > span { color: #2b78a8; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; }
.study-hero h1, .study-heading h2 { font-family: "Libre Baskerville", Georgia, serif; color: #0f3f62; }
.study-hero h1 { margin: 14px 0 22px; font-size: clamp(3rem,6vw,5.5rem); line-height: .98; }
.study-hero p { max-width: 760px; color: #526c7c; font-size: 1.08rem; line-height: 1.8; }
.cycle-summary { display: grid; gap: 14px; }
.cycle-summary div { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #dbe8ef; box-shadow: 0 14px 32px rgba(15,63,98,.08); }
.cycle-summary strong, .cycle-summary span { display: block; }
.cycle-summary strong { font-family: "Libre Baskerville", Georgia, serif; color: #0f3f62; font-size: 1.6rem; }
.cycle-summary span { margin-top: 6px; color: #60798a; font-weight: 700; }

.study-section { padding: 96px 0; background: #fff; }
.study-heading { margin-bottom: 42px; }
.study-heading h2 { margin: 12px 0 14px; font-size: clamp(2.2rem,4vw,3.7rem); }
.study-heading p { max-width: 820px; color: #657b8a; line-height: 1.75; }
.year-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; align-items: stretch; }
.year-card { border: 1px solid #dce7ee; border-radius: 24px; overflow: hidden; background: #fbfdfe; box-shadow: 0 14px 32px rgba(15,63,98,.07); }
.year-card--first { background: linear-gradient(180deg,#f1faff 0%,#fff 100%); border-color: #bcdced; }
.year-card__heading { padding: 24px 24px 18px; display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #e4edf2; }
.year-card__heading > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #0f3f62; color: white; font-weight: 800; flex: 0 0 auto; }
.year-card__heading small { color: #2b78a8; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.year-card__heading h3 { margin: 2px 0 0; color: #0f3f62; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.7rem; }
.subject-list { list-style: none; margin: 0; padding: 12px 24px 24px; }
.subject-list li { position: relative; padding: 11px 0 11px 20px; border-bottom: 1px solid #edf2f5; color: #3f5968; font-weight: 600; line-height: 1.45; }
.subject-list li:last-child { border-bottom: 0; }
.subject-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: #55aee8; }

.oriented-cycle { padding: 96px 0; background: linear-gradient(145deg,#0b3552,#124d72); }
.study-heading--light h2, .study-heading--light p { color: #fff; }
.study-heading--light p { color: #c8dce8; }
.study-heading--light > span { color: #8fd0f7; }
.orientation-jump { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0 0 28px; }
.orientation-jump a { min-height: 52px; padding: 12px 14px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.06); color: #e7f5fd; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.orientation-jump a:hover { background: rgba(143,208,247,.16); transform: translateY(-2px); }
.orientation-study-list { display: grid; gap: 16px; }
.orientation-study { border: 1px solid rgba(255,255,255,.16); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.045); }
.orientation-study summary { list-style: none; cursor: pointer; min-height: 82px; padding: 18px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; color: white; }
.orientation-study summary::-webkit-details-marker { display: none; }
.orientation-study summary:focus-visible { outline: 3px solid #8fd0f7; outline-offset: -3px; }
.orientation-study__number { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #8fd0f7; color: #0b3552; font-weight: 900; }
.orientation-study summary small { display: block; color: #9fd5f3; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .68rem; }
.orientation-study summary strong { display: block; margin-top: 2px; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.25rem; }
.orientation-study__action { color: #cbe6f5; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.orientation-study__action::after { content: " +"; font-size: 1rem; }
.orientation-study[open] .orientation-study__action::after { content: " −"; }
.orientation-study[open] summary { background: rgba(143,208,247,.08); border-bottom: 1px solid rgba(255,255,255,.12); }
.orientation-years { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.12); }
.oriented-year { min-width: 0; background: #f9fcfe; }
.oriented-year h3 { margin: 0; padding: 20px 24px 14px; color: #0f3f62; font-family: "Libre Baskerville", Georgia, serif; font-size: 1.45rem; border-bottom: 1px solid #e2edf3; }
.oriented-year .subject-list { background: #fff; height: 100%; }

.study-footer { background: #082a40; color: white; padding: 28px 0; }
.study-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.study-footer span { color: #a8cadf; }

.study-plan-cta { margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: #eef8fd; border: 1px solid #cce2ef; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.study-plan-cta strong { color: #0f3f62; }
.study-plan-cta > div > div { margin-top: 4px; color: #60798a; }
.study-plan-cta a { padding: 10px 14px; border-radius: 999px; background: #0f3f62; color: #fff; font-weight: 800; white-space: nowrap; }

@media (max-width: 1020px) {
  .orientation-jump { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .orientation-years { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .study-hero__grid, .year-grid { grid-template-columns: 1fr; }
  .study-header__inner { min-height: 78px; }
  .study-back { display: none; }
}

@media (max-width: 620px) {
  .study-brand .enspa-logo { width: 48px; height: 48px; }
  .study-brand small::after { font-size: .6rem; }
  .study-brand strong { font-size: .78rem; }
  .study-header__inner { min-height: 70px; }
  .study-hero { padding: 58px 0 50px; }
  .study-hero h1 { font-size: 2.8rem; }
  .study-hero p { font-size: 1rem; }
  .study-section, .oriented-cycle { padding: 68px 0; }
  .orientation-jump { grid-template-columns: 1fr 1fr; }
  .orientation-jump a { min-height: 48px; font-size: .78rem; padding: 9px 10px; }
  .orientation-study summary { grid-template-columns: auto 1fr; padding: 16px; }
  .orientation-study__action { grid-column: 2; margin-top: -8px; }
  .orientation-study summary strong { font-size: 1.05rem; }
  .year-card__heading, .oriented-year h3 { padding-left: 18px; padding-right: 18px; }
  .subject-list { padding: 10px 18px 20px; }
  .study-footer .container, .study-plan-cta { flex-direction: column; align-items: flex-start; }
  .study-footer span { display: block; margin-top: 4px; }
}
