/* Estudia: la identidad de EVA en blanco; cada institución aporta un acento. */
:root {
  --study-ink: #073f4c;
  --study-copy: #445866;
  --study-line: #dce8e7;
  --study-paper: #f7faf8;
  --study-accent: #007b91;
}
.study-trent { --school: #315e4d; --school-soft: #eef5ef; --school-plate: #234b3f; }
.study-yorkville { --school: #245991; --school-soft: #f0f5fb; --school-plate: #164579; }
.study-tfs { --school: #a42e35; --school-soft: #fbf4f3; --school-plate: #1b2024; }
.study-original { --school: #a7610d; --school-soft: #fff8ea; --school-plate: #304448; }

.study-page { background: #fff; color: var(--study-ink); }
.study-page em { font: inherit; font-weight: 800; font-style: normal; color: var(--study-accent); }
.study-skip { position: absolute; z-index: 30; top: -70px; left: 18px; padding: 10px 15px; background: #bde54d; color: var(--study-ink); }
.study-skip:focus { top: 8px; }
.study-header { position: relative; z-index: 10; background: #fff; }
.study-header-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 55px; border-bottom: 1px solid var(--study-line); }
.study-header-top > span { color: #687c83; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.study-back { color: var(--study-ink); font-size: 13px; font-weight: 800; white-space: nowrap; }
.study-back:hover { color: var(--study-accent); }
.study-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); min-height: 77px; }
.study-nav > a:not(.study-nav-mesa):not(.study-nav-contact) { position: relative; padding: 13px 0; font-size: 15px; font-weight: 700; white-space: nowrap; }
.study-nav > a:not(.study-nav-mesa):not(.study-nav-contact)::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 2px; background: var(--study-accent); content: ''; transform: scaleX(0); transition: transform .2s; }
.study-nav > a.current::after, .study-nav > a:not(.study-nav-mesa):not(.study-nav-contact):hover::after { transform: scaleX(1); }
.study-nav-mesa { display: inline-flex; align-items: center; }
.study-nav-mesa img { width: 60px; height: 60px; object-fit: contain; }
.study-nav-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; margin-left: auto; padding: 11px 19px; border: 1.5px solid var(--study-ink); border-radius: 30px; font-size: 13px; font-weight: 800; white-space: nowrap; transition: color .2s, background .2s; }
.study-nav-contact:hover { background: var(--study-ink); color: #fff; }
.study-label { margin: 0; color: var(--study-accent); font-size: 11px; font-weight: 800; letter-spacing: .17em; line-height: 1.5; }
.study-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 58px; padding: 14px 23px; border: 1px solid #bde54d; border-radius: 40px; background: #bde54d; color: var(--study-ink); font-size: 13px; font-weight: 800; transition: background .2s, transform .2s; }
.study-primary:hover { background: #d5f589; transform: translateY(-2px); }
.study-primary span, .study-hero-link span { font-size: 19px; line-height: 1; }
.study-page a:focus-visible { outline: 3px solid #007b91; outline-offset: 4px; }

/* Fotografía difuminada en la propia página, sin apariencia de recorte. */
.study-hero { position: relative; overflow: hidden; min-height: 660px; background: #fff; }
.study-hero-image { position: absolute; inset: 0 0 0 auto; width: 78%; background: url('../assets/Estudia/hero-estudia.webp') 66% center / cover no-repeat; }
.study-hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 9%, rgba(255,255,255,.94) 25%, rgba(255,255,255,.49) 51%, rgba(255,255,255,0) 81%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 25%); content: ''; }
.study-hero-inner { position: relative; z-index: 1; padding-top: clamp(115px, 11vw, 155px); padding-bottom: 118px; }
.study-hero h1 { max-width: 920px; margin: 24px 0 23px; font-size: clamp(57px, 6.5vw, 94px); font-weight: 800; line-height: 1.045; letter-spacing: -.075em; }
.study-hero h1 em { color: var(--study-accent); }
.study-hero-lead { max-width: 515px; margin: 0; color: var(--study-copy); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.75; }
.study-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 27px; margin-top: 33px; }
.study-hero-link { display: inline-flex; align-items: center; gap: 15px; padding: 10px 0; border-bottom: 1px solid #95adb0; color: var(--study-ink); font-size: 13px; font-weight: 700; }
.study-hero-link:hover { color: var(--study-accent); }
.study-hero-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--study-line); color: #667b82; font-size: 10px; font-weight: 800; letter-spacing: .15em; }

.study-origin { padding: 116px 0 111px; background: #fff; }
.study-origin-grid { display: grid; grid-template-columns: minmax(180px, .62fr) minmax(0, 1.38fr); gap: 6%; }
.study-origin-grid > .study-label { padding-top: 22px; }
.study-origin h2, .study-section-head h2, .study-family h2, .study-contact h2 { margin: 0; font-size: clamp(49px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.065em; }
.study-big-copy { max-width: 790px; margin: 28px 0 22px; font-size: clamp(23px, 2.35vw, 31px); font-weight: 600; letter-spacing: -.045em; line-height: 1.44; }
.study-body-copy { max-width: 690px; margin: 0; color: var(--study-copy); font-size: 16px; line-height: 1.85; }
.study-promise { border-top: 1px solid var(--study-line); border-bottom: 1px solid var(--study-line); background: var(--study-paper); }
.study-promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.study-promise-grid > div { padding: 44px 42px 48px 0; }
.study-promise-grid > div + div { padding-left: 42px; border-left: 1px solid var(--study-line); }
.study-promise span { color: var(--study-accent); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.study-promise h3 { max-width: 270px; margin: 18px 0 9px; font-size: 25px; line-height: 1.22; letter-spacing: -.05em; }
.study-promise p { max-width: 330px; margin: 0; color: var(--study-copy); font-size: 14px; line-height: 1.7; }

.study-catalog { padding: 112px 0 108px; background: #fff; }
.study-section-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8%; margin-bottom: 51px; }
.study-section-head .study-label { margin-bottom: 21px; }
.study-section-head > p { max-width: 390px; margin: 0 0 6px; color: var(--study-copy); font-size: 16px; line-height: 1.8; }
.study-institutions { border-top: 1px solid var(--study-line); }
.study-institution { display: grid; grid-template-columns: minmax(230px,.75fr) minmax(0,1.25fr) 30px; align-items: center; gap: clamp(25px,5vw,76px); padding: 32px 4px 32px 0; border-bottom: 1px solid var(--study-line); }
.study-brand { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 164px; padding: 30px; border-radius: 3px; background: var(--school-plate); }
.study-brand img { width: min(100%, 260px); max-height: 90px; object-fit: contain; }
.study-original .study-brand img { width: min(100%, 275px); }
.study-institution-text > span { color: var(--school); font-size: 10px; font-weight: 800; letter-spacing: .15em; line-height: 1.45; }
.study-institution-text h3 { margin: 14px 0 9px; font-size: clamp(31px, 3.1vw, 45px); line-height: 1.13; letter-spacing: -.055em; }
.study-institution-text p { max-width: 510px; margin: 0 0 18px; color: var(--study-copy); font-size: 14px; line-height: 1.7; }
.study-institution-text a { display: inline-flex; align-items: center; gap: 22px; padding: 5px 0 8px; border-bottom: 1px solid var(--school); color: var(--school); font-size: 13px; font-weight: 800; }
.study-institution-text a:hover { color: var(--study-ink); border-color: var(--study-ink); }
.study-institution-text a span { font-size: 18px; line-height: 1; }
.study-institution-index { align-self: start; padding-top: 12px; color: #85959a; font-size: 12px; font-weight: 700; }
.study-catalog-note { max-width: 760px; margin: 23px 0 0; color: #586b73; font-size: 12px; line-height: 1.7; }

.study-family { position: relative; overflow: hidden; padding: 112px 0 119px; border-top: 1px solid var(--study-line); background: #f6faf8; }
.study-family::before { position: absolute; right: 4%; top: -165px; width: 380px; height: 380px; border: 1px solid #dfeae7; border-radius: 50%; content: ''; pointer-events: none; }
.study-family-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; }
.study-family .study-label { margin-bottom: 20px; }
.study-family h2 { max-width: 710px; font-size: clamp(47px, 5vw, 73px); }
.study-family-copy { align-self: end; }
.study-family-copy p { max-width: 465px; color: var(--study-copy); font-size: 15px; line-height: 1.85; }
.study-family-copy a { display: inline-flex; align-items: center; gap: 20px; margin-top: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--study-accent); color: var(--study-accent); font-size: 13px; font-weight: 800; }
.study-family-copy a:hover { color: var(--study-ink); }
.study-contact { padding: 117px 0 123px; border-top: 1px solid var(--study-line); background: #fff; }
.study-contact .study-label { margin-bottom: 22px; }
.study-contact h2 { max-width: 970px; }
.study-contact-inner > p:not(.study-label) { max-width: 510px; margin: 26px 0 28px; color: var(--study-copy); font-size: 17px; line-height: 1.7; }
.study-contact .study-primary { background: var(--study-ink); border-color: var(--study-ink); color: #fff; }
.study-contact .study-primary:hover { background: #00677a; }
.study-footer { padding: 35px 0; border-top: 1px solid var(--study-line); background: #fff; }
.study-footer-inner, .study-footer nav { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.study-footer-inner { color: var(--study-ink); font-size: 13px; }
.study-footer nav a { color: var(--study-copy); font-size: 12px; font-weight: 700; }
.study-footer nav a:hover { text-decoration: underline; }

/* Fichas: el blanco y Manrope permanecen; solo cambia un acento por escuela. */
.study-detail-hero { position: relative; overflow: hidden; padding: 82px 0 96px; border-top: 3px solid var(--school); background: #fff; }
.study-detail-hero::after { position: absolute; right: -175px; top: 15px; width: 510px; height: 510px; border: 1px solid var(--school-soft); border-radius: 50%; box-shadow: 0 0 0 74px var(--school-soft); content: ''; pointer-events: none; opacity: .62; }
.study-detail-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(250px, .83fr); gap: 8%; align-items: end; }
.study-detail-hero .study-label { color: var(--school); }
.study-breadcrumb { display: inline-flex; gap: 7px; margin-bottom: 59px; color: #5d7279; font-size: 12px; }
.study-breadcrumb a:hover { color: var(--school); }
.study-detail-hero h1 { margin: 17px 0 22px; font-size: clamp(55px, 6.05vw, 89px); font-weight: 800; letter-spacing: -.074em; line-height: 1.045; }
.study-detail-hero h1 em { color: var(--school); }
.study-detail-hero p:last-child { max-width: 600px; margin: 0; color: var(--study-copy); font-size: 17px; line-height: 1.73; }
.study-detail-brand { display: flex; justify-content: center; align-items: center; min-height: 238px; padding: 45px 38px; border-radius: 3px; background: var(--school-plate); }
.study-detail-brand img { max-height: 103px; max-width: 100%; object-fit: contain; }
.study-detail-brand.original img { width: 100%; }
.study-detail-section { padding: 92px 0 108px; border-top: 1px solid var(--study-line); background: #fff; }
.study-detail-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(250px,.82fr); gap: 10%; }
.study-detail-story .study-label { color: var(--school); }
.study-detail-story h2 { max-width: 680px; margin: 20px 0 26px; font-size: clamp(39px, 4.5vw, 61px); letter-spacing: -.06em; line-height: 1.12; }
.study-detail-story h2 em { color: var(--school); }
.study-detail-story p:not(.study-label) { max-width: 720px; margin: 0 0 19px; color: var(--study-copy); font-size: 16px; line-height: 1.84; }
.study-detail-aside { align-self: start; padding: 30px 32px 25px; border-top: 3px solid var(--school); background: var(--school-soft); }
.study-detail-aside h3 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.04em; }
.study-detail-aside ul { padding: 0; margin: 0; list-style: none; }
.study-detail-aside li { padding: 14px 0; border-top: 1px solid rgba(50,80,80,.15); color: var(--study-copy); font-size: 14px; line-height: 1.55; }
.study-detail-aside li strong { display: block; margin-bottom: 4px; color: var(--study-ink); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.study-detail-options { padding: 80px 0 95px; background: #f7faf8; }
.study-detail-options .study-label { color: var(--school); }
.study-detail-options h2 { max-width: 790px; margin: 16px 0 36px; font-size: clamp(40px, 4.5vw, 59px); letter-spacing: -.065em; line-height: 1.1; }
.study-detail-options h2 em { color: var(--school); }
.study-detail-options ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.study-detail-options li { min-height: 160px; padding: 28px 26px; border-top: 2px solid var(--school); background: #fff; font-size: 20px; font-weight: 700; letter-spacing: -.035em; }
.study-detail-options li span { display: block; margin-bottom: 20px; color: var(--school); font-size: 11px; letter-spacing: .14em; }
.study-detail-verify { margin: 24px 0 0; color: #586b73; font-size: 12px; line-height: 1.7; }
.study-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 26px; }
.study-official-link { padding: 10px 0; border-bottom: 1px solid var(--school); color: var(--school); font-size: 13px; font-weight: 800; }
.study-official-link:hover { color: var(--study-ink); }

@media (max-width: 900px) {
  .study-section-head { grid-template-columns: 1fr; gap: 20px; }
  .study-section-head > p { max-width: 650px; }
  .study-origin-grid { grid-template-columns: 170px 1fr; gap: 32px; }
  .study-institution { grid-template-columns: minmax(210px,.8fr) minmax(0,1.2fr); gap: 28px; }
  .study-institution-index { display: none; }
  .study-family-grid { gap: 4%; }
  .study-footer-inner, .study-footer nav { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 700px) {
  .study-header-top { min-height: 56px; }
  .study-header-top > span { max-width: 180px; text-align: right; font-size: 8px; line-height: 1.5; }
  .study-nav { min-height: 71px; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .study-nav::-webkit-scrollbar { display: none; }
  .study-nav > a:not(.study-nav-mesa):not(.study-nav-contact) { font-size: 13px; }
  .study-nav-mesa img { width: 52px; height: 52px; }
  .study-nav-contact { display: none; }
  .study-hero { min-height: 720px; }
  .study-hero-image { inset: 0 0 auto; width: 100%; height: 380px; background-position: 66% 42%; }
  .study-hero-image::after { background: linear-gradient(0deg, #fff 1%, rgba(255,255,255,.94) 17%, rgba(255,255,255,.1) 74%), linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,0) 80%); }
  .study-hero-inner { padding-top: 285px; padding-bottom: 74px; }
  .study-hero h1 { max-width: 620px; font-size: clamp(51px, 9.5vw, 72px); }
  .study-hero-lead { max-width: 500px; }
  .study-hero-foot { font-size: 9px; line-height: 1.5; }
  .study-origin { padding: 85px 0 90px; }
  .study-origin-grid { display: block; }
  .study-origin h2 { margin-top: 25px; }
  .study-promise-grid { display: block; padding-top: 15px; padding-bottom: 15px; }
  .study-promise-grid > div, .study-promise-grid > div + div { padding: 24px 0; border-left: 0; }
  .study-promise-grid > div + div { border-top: 1px solid var(--study-line); }
  .study-promise h3 { max-width: none; margin: 10px 0; }
  .study-catalog { padding: 85px 0 90px; }
  .study-institution { grid-template-columns: 1fr; gap: 23px; padding: 27px 0 36px; }
  .study-brand { min-height: 156px; }
  .study-brand img { max-height: 83px; }
  .study-family { padding: 88px 0 100px; }
  .study-family-grid { display: block; }
  .study-family h2 { margin-bottom: 34px; }
  .study-family-copy p { max-width: 680px; }
  .study-contact { padding: 90px 0 100px; }
  .study-detail-hero { padding: 70px 0 80px; }
  .study-detail-hero-inner, .study-detail-grid { display: block; }
  .study-breadcrumb { margin-bottom: 49px; }
  .study-detail-hero h1 { font-size: clamp(50px, 10vw, 75px); }
  .study-detail-brand { margin-top: 39px; min-height: 165px; }
  .study-detail-section { padding: 76px 0 83px; }
  .study-detail-aside { margin-top: 40px; }
  .study-detail-options { padding: 75px 0 86px; }
  .study-detail-options ul { display: block; }
  .study-detail-options li { min-height: 120px; margin-bottom: 12px; }
}
@media (max-width: 440px) {
  .study-back span { display: none; }
  .study-hero-image { height: 340px; background-position: 66% 42%; }
  .study-hero-inner { padding-top: 245px; }
  .study-hero h1 { font-size: clamp(46px, 11.5vw, 59px); }
  .study-actions { align-items: stretch; flex-direction: column; gap: 19px; }
  .study-primary { width: 100%; }
  .study-hero-link { align-self: flex-start; }
  .study-hero-foot span:last-child { display: none; }
  .study-origin h2, .study-section-head h2, .study-family h2, .study-contact h2 { font-size: clamp(43px, 10vw, 56px); }
  .study-detail-brand { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .study-page *, .study-page *::before, .study-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
