/* Home banner: approved photography, institutional blue and restrained motion. */
.home-hero.hero-carousel{--hero-cycle:7500ms;display:block;height:auto;min-height:0;background:var(--deep);color:#fff;isolation:isolate;overflow:hidden}
.hero-carousel .hero-slides{display:grid;min-height:610px}
.hero-carousel .hero-slide{grid-area:1/1;display:grid;grid-template-columns:42% 58%;min-width:0;min-height:610px;position:relative;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease,visibility 0s .65s}
.hero-carousel .hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1;transition-delay:0s}
.hero-carousel .hero-slide[hidden]{display:none!important}
.hero-carousel .hero-slide-copy{align-self:center;padding:52px 8% 56px max(6vw,calc((100vw - 1280px)/2));min-width:0;position:relative;z-index:2}
.hero-carousel .eyebrow{display:flex;align-items:center;gap:13px;color:#e8eef3;font-size:13px;letter-spacing:.12em;margin-bottom:24px}
.hero-carousel .eyebrow:before{content:"";width:27px;height:2px;background:var(--red);flex-shrink:0}
.hero-carousel h1,.hero-carousel h2{font-family:Bebas,Arial,sans-serif;color:#fff;font-size:clamp(62px,6vw,96px);line-height:.98;letter-spacing:.005em;text-wrap:initial;max-width:none;margin:0}
.hero-carousel h1 br,.hero-carousel h2 br{display:block}
.hero-carousel .hero-slide-claim{font:400 clamp(25px,2.3vw,35px)/1.15 Bebas,Arial,sans-serif;letter-spacing:.015em;color:#fff;margin-top:23px}
.hero-carousel .hero-slide-description{font-size:16px;line-height:1.75;max-width:380px;margin:20px 0 0;color:#d8e3eb}
.hero-carousel .hero-actions{margin-top:29px;gap:13px 23px;display:flex;align-items:center;flex-wrap:wrap}
.hero-carousel .hero-actions .button.white{background:var(--red);border-color:var(--red);color:#fff;font-size:14px;min-height:52px;padding:14px 23px}
.hero-carousel .hero-actions .button.white:hover{background:#991032;border-color:#991032}
.hero-carousel .hero-actions .text-link{font-size:14px;color:#fff;min-height:44px;border-bottom:1px solid #ffffff70;white-space:normal}
.hero-carousel .hero-slide-visual{margin:0;min-width:0;position:relative;overflow:hidden;align-self:stretch;background:#162e42}
.hero-carousel .hero-slide-visual:after{content:"";position:absolute;inset:0;pointer-events:none;border-left:1px solid #ffffff12;background:linear-gradient(90deg,#10233622,transparent 18%)}
.hero-carousel .hero-slide-visual img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 54%}
.hero-carousel .hero-visual-campus img{object-position:50% 50%}
.hero-carousel .hero-visual-aprender,.hero-carousel .hero-visual-admisiones{background:var(--deep)}
.hero-carousel .hero-visual-aprender img,.hero-carousel .hero-visual-admisiones img{object-fit:contain;object-position:50% 50%}
.hero-carousel .hero-carousel-footer{display:flex;align-items:center;justify-content:space-between;gap:26px;padding-block:17px 19px;min-height:80px}
.hero-carousel .hero-carousel-footer>p{font-size:13px;line-height:1.5;color:#c8d6df;margin:0}
.hero-carousel .hero-selector{display:flex;align-items:center;gap:24px}
.hero-carousel .hero-selector[hidden]{display:none}
.hero-carousel .hero-selector button{position:relative;padding:13px 0 12px;min-height:44px;border:0;border-bottom:2px solid #ffffff35;box-shadow:none;background:transparent;color:#b9c9d5;font:400 14px/1.5 Arial,sans-serif;cursor:pointer;overflow:hidden}
.hero-carousel .hero-selector button:hover,.hero-carousel .hero-selector button[aria-selected=true]{color:#fff;border-color:#fff}
.hero-carousel .hero-selector button:focus-visible{outline:2px solid #fff;outline-offset:6px}
.hero-carousel .hero-tab-progress{position:absolute;inset:auto 0 -2px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:left;pointer-events:none}
.hero-carousel[data-hero-rotating=true] .hero-selector button[aria-selected=true] .hero-tab-progress{animation:hero-progress var(--hero-interval,7500ms) linear both}
.hero-carousel[data-hero-rotating=false] .hero-selector button[aria-selected=true] .hero-tab-progress{transform:scaleX(1)}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-visual{animation:hero-image-enter .7s cubic-bezier(.22,1,.36,1) both}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-copy>*{animation:hero-copy-enter .65s cubic-bezier(.22,1,.36,1) both}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-copy>:nth-child(2){animation-delay:70ms}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-copy>:nth-child(3){animation-delay:120ms}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-copy>:nth-child(4){animation-delay:160ms}
.hero-carousel[data-hero-ready=true] .is-active .hero-slide-copy>:nth-child(5){animation-delay:200ms}
@keyframes hero-image-enter{from{opacity:.5;clip-path:inset(0 0 0 3%)}to{opacity:1;clip-path:inset(0)}}
@keyframes hero-copy-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes hero-progress{to{transform:scaleX(1)}}
/* Add depth on pointer devices; keyboard focus keeps the same clear structure. */
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 body[data-page=index] .stage-card{transition:transform .4s cubic-bezier(.22,1,.36,1)}
 body[data-page=index] .stage-card:hover{transform:translateY(-6px)}
 body[data-page=index] .stage-card .stage-image img{transition:transform .8s cubic-bezier(.22,1,.36,1)}
 body[data-page=index] .stage-card:hover .stage-image img{transform:scale(1.035)}
}
@media(min-width:1600px){.hero-carousel .hero-slides,.hero-carousel .hero-slide{min-height:660px}.hero-carousel .hero-slide-copy{padding-right:10%}}
@media(min-width:761px) and (max-width:1150px){.hero-carousel .hero-slide{grid-template-columns:45% 55%}.hero-carousel .hero-slide-copy{padding-left:6vw;padding-right:8%;padding-block:40px}.hero-carousel h1,.hero-carousel h2{font-size:70px}.hero-carousel .hero-slide-description{font-size:15px}.hero-carousel .hero-actions{gap:12px 20px}.hero-carousel .hero-actions .text-link{font-size:13px}}
@media(max-width:760px){
 .hero-carousel .hero-slides{min-height:0}
 .hero-carousel .hero-slide{grid-template-columns:1fr;grid-template-rows:auto minmax(430px,auto);min-height:0}
 .hero-carousel .hero-slide-copy{padding:24px 6% 26px;align-self:start;grid-row:2;grid-column:1;display:block}
 .hero-carousel .eyebrow{font-size:12px;letter-spacing:.1em;margin-bottom:13px}
 .hero-carousel h1,.hero-carousel h2{font-size:clamp(42px,11.5vw,56px);line-height:.98;max-width:none}
 .hero-carousel .hero-slide-claim{font-size:24px;line-height:1.1;margin-top:13px}
 .hero-carousel .hero-slide-description{font-size:16px;line-height:1.65;max-width:480px;margin-top:13px}
 .hero-carousel .hero-actions{margin-top:18px;flex-direction:row;align-items:center;gap:9px 21px}
 .hero-carousel .hero-actions .button.white{min-height:48px;font-size:13px;padding:12px 18px}
 .hero-carousel .hero-actions .text-link{font-size:13px;min-height:44px}
 .hero-carousel .hero-slide-visual{grid-row:1;grid-column:1;height:auto;aspect-ratio:auto;align-self:start;width:100%}
 .hero-carousel .hero-slide-visual img{position:static;inset:auto;width:100%;height:auto;aspect-ratio:3/2;object-position:50% 54%}
 .hero-carousel .hero-visual-campus img{object-position:50% 50%}
 .hero-carousel .hero-carousel-footer{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 15px;padding-block:12px 19px}
 .hero-carousel .hero-carousel-footer>p{font-size:12px;width:100%}
 .hero-carousel .hero-selector{gap:24px;width:100%}
 .hero-carousel .hero-selector button{font-size:13px;flex:1;text-align:left}
 .hero-carousel .hero-visual-aprender img,.hero-carousel .hero-visual-admisiones img{object-fit:contain;object-position:50% 50%}
}
@media(max-width:370px){.hero-carousel .hero-slide{grid-template-rows:auto minmax(470px,auto)}.hero-carousel h1,.hero-carousel h2{font-size:42px}.hero-carousel .hero-slide-claim{font-size:23px}.hero-carousel .hero-actions{gap:7px 14px}.hero-carousel .hero-actions .text-link{font-size:12px}.hero-carousel .hero-slide-description{font-size:16px}.hero-carousel .hero-selector{gap:13px}.hero-carousel .hero-selector button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.hero-carousel *,body[data-page=index] .stage-card{animation:none!important;transition:none!important}.hero-carousel .hero-tab-progress{display:none}}

/* Cashless uses the existing editorial carousel and its accessible controls. */
.hero-carousel .hero-visual-cashless img{object-position:52% 50%}
.hero-carousel .hero-visual-cashless:after{background:linear-gradient(180deg,#102336b0,transparent 37%,transparent 75%,#10233670)}
.hero-carousel .cashless-visual-label{position:absolute;top:40px;left:36px;right:28px;z-index:1;color:#fff;text-shadow:0 2px 16px #10233680}
.hero-carousel .cashless-visual-label>span{display:inline-block;padding:7px 12px;background:var(--red);font:600 14px/1.4 Arial,sans-serif;margin-bottom:16px}
.hero-carousel .cashless-visual-label strong{display:block;font:400 clamp(30px,3vw,43px)/1.05 Bebas,Arial,sans-serif;letter-spacing:.01em}
.hero-carousel .hero-visual-cashless figcaption{position:absolute;bottom:16px;right:20px;z-index:1;padding:3px 8px;background:#102336c9;color:#fff;font:400 12px/1.5 Arial,sans-serif}
@media(min-width:761px) and (max-width:1150px){.hero-carousel .hero-carousel-footer{flex-wrap:wrap;gap:6px 24px}.hero-carousel .hero-selector{flex:1;justify-content:space-between;gap:20px}}
@media(max-width:760px){.hero-carousel .hero-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 22px}.hero-carousel .hero-selector button{font-size:14px;min-width:0}.hero-carousel .cashless-visual-label{top:18px;left:20px}.hero-carousel .cashless-visual-label>span{font-size:12px;margin-bottom:10px;padding:5px 9px}.hero-carousel .cashless-visual-label strong{font-size:27px;line-height:1.04}.hero-carousel .hero-visual-cashless figcaption{bottom:10px;right:12px;font-size:11px}.hero-carousel .hero-visual-cashless img{object-position:50% 50%}}
