/* ===== Central Elite — Yeti design system (production additions) ===== */
@font-face{font-family:'Lilita One';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/lilita-one-latin-400.woff2) format('woff2')}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:200 1000;font-display:swap;src:url(/fonts/nunito-sans-latin-var.woff2) format('woff2')}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:'Nunito Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#00244F;background:#FFFFFF}
img{max-width:100%}
[hidden]{display:none !important}
button{font-family:inherit}

/* chips & pressed states (replaces design-time state bindings) */
.ce-chip{background:#EEF5FC;color:#00244F;border:none;cursor:pointer;font:inherit;font-weight:800}
.ce-chip[aria-pressed="true"],.ce-chip[aria-selected="true"]{background:#00244F;color:#FFFFFF}
.ce-chip-w{background:#FFFFFF}
.ce-chip-heat[aria-selected="true"]{background:#B8340A}
.ce-chip-cool[aria-selected="true"]{background:#0057D9}
.ce-chip-dark{background:rgba(255,255,255,0.1);color:#FFFFFF}
.ce-chip-dark[aria-pressed="true"]{background:#FFFFFF;color:#00244F}
.ce-tab-bar .ce-chip:not([aria-selected="true"]){background:transparent}
.ce-opt[aria-pressed="true"]{border-color:#0057D9 !important;background:#EAF4FF !important}
.ce-slot{border:2px solid #DCE8F5;background:#FFFFFF;color:#00244F}
.ce-slot[aria-pressed="true"]{border-color:#00244F;background:#00244F;color:#FFFFFF}
.ce-win[aria-pressed="true"]{border-color:#0057D9;background:#EAF4FF}

/* accordion */
.ce-acc-btn .ce-acc-sign{background:#E6F4FF;color:#0057D9}
.ce-acc-btn[aria-expanded="true"] .ce-acc-sign{background:#00244F;color:#FFFFFF}
.ce-acc-btn[aria-expanded="true"] .ce-acc-sign::after{content:'−'}
.ce-acc-btn[aria-expanded="false"] .ce-acc-sign::after{content:'+'}
.ce-acc-panel{animation:ceFade .3s ease both}

/* mega menu */
.ce-mega-btn[aria-expanded="true"]{background:#EEF5FC}
.ce-mega-btn[aria-expanded="true"] .ce-chev{transform:rotate(180deg)}
.ce-chev{display:inline-block;transition:transform .2s ease}

/* valley map pins */
.ce-pin .ce-pin-dot{width:14px;height:14px;border-radius:50%;background:#0057D9;box-shadow:0 0 0 5px rgba(0,87,217,0.18);transition:all .2s ease}
.ce-pin[aria-pressed="true"]{z-index:3}
.ce-pin[aria-pressed="true"] .ce-pin-dot{width:20px;height:20px;background:#FF8A00;box-shadow:0 0 0 5px rgba(255,138,0,0.3)}

/* marquee pause */
.ce-paused .ce-track{animation-play-state:paused !important}

/* before / after */
.ce-ba{--pos:50%}
.ce-ba-top{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ce-ba-handle{left:var(--pos)}

/* quiz progress dots */
.ce-dot{height:8px;width:12px;border-radius:999px;background:#CFDDEB;transition:all .3s ease}
.ce-dot.on{background:#0057D9}
.ce-dot.cur{width:36px}

/* lead form feedback from forms.js */
.field-error{color:#B8340A;font-size:14px;font-weight:700;margin-top:6px}
.form-response-msg{margin-top:12px;font-weight:700}
.sms-consent{font-size:13px;color:#4A6280;line-height:1.5;display:flex;gap:10px;align-items:flex-start}
.hp-field{position:absolute !important;left:-9999px !important}

/* header fit */
.ce-nav{flex-wrap:nowrap !important;white-space:nowrap}
.site-header a[href^="tel:"]{white-space:nowrap}
@media (max-width: 1360px){[data-ce-open]{display:none !important}}
@media (max-width: 1180px){.ce-nav{gap:8px 18px !important}.site-header .ce-desk a[lang]{display:none}}
@media (max-width: 1040px) and (min-width: 761px){.ce-nav a[href="/about.html"]{display:none}}
/* homepage hero on phones: art on top, words below */
.ce-mob-block{display:none}
@media (max-width: 760px){
.ce-mob-block{display:block !important}
.ce-home-bg,.ce-home-overlay{display:none !important}
.hero{min-height:0 !important;background:linear-gradient(180deg,#0A6BE0 0%,#0047B8 100%) !important}
.hero .ce-hero,.hero>div[style*="max-width: 1240px"]{padding-top:28px !important;padding-bottom:110px !important}
}

@media (max-width: 760px){.ce-pin:not([aria-pressed="true"]) span:last-child{display:none}}

/* original copy (full story / articles) */
.ce-prose{font-size:18px;line-height:1.7;color:#24414F}
.ce-prose p{margin:0 0 14px}
.ce-prose h4,.ce-prose h5{font-family:'Lilita One',sans-serif;font-weight:400;font-size:24px;line-height:1.1;color:#00244F;margin:24px 0 8px}
.ce-prose ul,.ce-prose ol{padding-left:22px;margin:0 0 16px}
.ce-prose li{margin:6px 0}
.ce-prose a{color:#0057D9;font-weight:700;text-underline-offset:3px}
.ce-prose strong,.ce-prose b{color:#00244F}
.ce-prose table{width:100%;border-collapse:collapse;margin:12px 0 20px;font-size:16px;display:block;overflow-x:auto;border-radius:16px;box-shadow:0 10px 30px rgba(0,36,79,0.06)}
.ce-prose th{background:#00244F;color:#FFFFFF;text-align:left;padding:12px 16px;font-weight:800}
.ce-prose td{padding:12px 16px;border-top:1px solid #E3EDF7;background:#FFFFFF}
.ce-prose tr:nth-child(even) td{background:#F4FAFF}
.ce-prose img{border-radius:18px;height:auto;max-width:100%;display:block;margin:8px 0}
.ce-prose figure{margin:16px 0}
.ce-prose figcaption{font-size:14px;color:#4A6280;margin-top:6px}
.ce-prose blockquote{margin:16px 0;padding:20px 24px;background:#F4FAFF;border-radius:20px;font-weight:600}
.ce-prose dt{font-weight:800;color:#00244F;margin-top:12px}
.ce-prose dd{margin:4px 0 0}
.ce-prose>:last-child{margin-bottom:0}

/* forms carried over from the original pages */
.ce-form{display:flex;flex-direction:column;gap:14px}
.ce-form label{font-weight:800;font-size:15px;color:#00244F;display:block}
.ce-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.ce-form select,.ce-form textarea{font:inherit;font-weight:600;font-size:17px;color:#00244F;background:#F4FAFF;border:2px solid #DCE8F5;border-radius:16px;padding:15px 18px;min-height:54px;width:100%;margin-top:8px}
.ce-form input:focus,.ce-form select:focus,.ce-form textarea:focus{outline:3px solid #8FE3FF;outline-offset:2px;border-color:#0057D9}
.ce-form button[type="submit"]{font:inherit;font-weight:800;font-size:17px;background:#00244F;color:#FFFFFF;border:none;border-radius:999px;padding:17px 30px;cursor:pointer;align-self:flex-start;min-height:54px}
.ce-form button[type="submit"]:hover{background:#0057D9}
.ce-form p{margin:0;color:#4A6280;font-size:14px}
.ce-prose>a,.ce-prose>p>a+a,.ce-prose li>a+a{display:inline-block;margin-right:14px}

/* ===== shared design system ===== */
body{margin:0}
a{color:#00244F}a:hover{color:#0057D9}
@keyframes ceSnow{0%{transform:translateY(-20px) rotate(0deg);opacity:0}10%{opacity:.9}90%{opacity:.9}100%{transform:translateY(520px) rotate(200deg);opacity:0}}
@keyframes ceFlicker{0%,100%{transform:scale(1) rotate(-2deg)}50%{transform:scale(1.07) rotate(3deg)}}
@keyframes ceSpin{to{transform:rotate(360deg)}}
@keyframes ceBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes ceGlow{0%,100%{opacity:.5}50%{opacity:.9}}
@keyframes ceZoom{from{transform:scale(1)}to{transform:scale(1.07)}}
@keyframes ceMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes ceShine{0%,70%{transform:translateX(-120%) skewX(-20deg)}100%{transform:translateX(320%) skewX(-20deg)}}
@keyframes ceRise{from{opacity:0;transform:translateY(44px)}to{opacity:1;transform:translateY(0)}}
@keyframes ceFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@supports (animation-timeline: view()){
.ce-reveal{animation:ceRise linear both;animation-timeline:view();animation-range:entry 5% cover 26%}
}
.ce-btn{position:relative;overflow:hidden;transition:transform .18s ease, box-shadow .18s ease}
.ce-btn:hover{transform:translateY(-2px) !important}
.ce-btn:active{transform:translateY(0) scale(.98) !important}
.ce-btn .ce-arrow{transition:transform .18s ease}
.ce-btn:hover .ce-arrow{transform:translateX(3px)}
.ce-btn:focus-visible,.ce-opt:focus-visible,.ce-chip:focus-visible{outline:3px solid #8FE3FF;outline-offset:3px}
.ce-card{transition:transform .25s ease, box-shadow .25s ease}
.ce-card:hover{transform:translateY(-6px) !important}
.ce-card img{transition:transform .6s ease}
.ce-card:hover img{transform:scale(1.05)}
.ce-mega-item{transition:background-color .15s ease}
.ce-mega-item:hover{background-color:#F4FAFF}
.ce-thumb{transition:transform .3s ease, box-shadow .3s ease}
.ce-thumb:hover{transform:translateY(-4px) !important}
.ce-marquee:hover .ce-track{animation-play-state:paused !important}
.ce-opt{transition:background-color .15s ease, border-color .15s ease}
.ce-opt:hover{border-color:#0057D9 !important}
.ce-chip{transition:background-color .15s ease, color .15s ease}
.ce-mob{display:none !important}
.ce-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#FFFFFF;color:#00244F;font-weight:800;padding:12px 18px;border-radius:12px;box-shadow:0 8px 24px rgba(0,36,79,0.2)}
.ce-skip:focus{left:16px}
.ce-swipehint{display:none}
@media (max-width: 760px){
.ce-desk{display:none !important}
.ce-mob{display:flex !important}
.ce-h1{font-size:46px !important}
.ce-h2{font-size:34px !important}
.ce-h3{font-size:26px !important}
.ce-big{font-size:60px !important}
.ce-sec{padding-top:56px !important;padding-bottom:56px !important}
.ce-hero{padding-top:44px !important;padding-bottom:110px !important}
.ce-pad{padding:24px !important}
.ce-lead{font-size:18px !important}
.ce-bigw{font-size:40px !important}
.ce-heroimg{height:280px !important}
.ce-rcard{width:290px !important;padding:22px !important}
.ce-stack{flex-direction:column !important;align-items:stretch !important;text-align:left !important}
.ce-full{width:100% !important;justify-content:space-between !important;box-sizing:border-box}
.ce-crumbs{display:none !important}
.ce-swipe{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin:0 -24px !important;padding:4px 24px 14px !important;scrollbar-width:none}
.ce-swipe>*{flex:0 0 80% !important;scroll-snap-align:start;animation:none !important}
.ce-bento{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-auto-rows:auto !important}
.ce-bento .ce-b-big{grid-row:auto !important;min-height:300px}
.ce-bento>*{animation:none !important}
.ce-band>*{border-left:none !important;border-top:1px solid rgba(255,255,255,0.14);padding:22px 0 0 !important}
.ce-band>*:first-child{border-top:none;padding-top:0 !important}
.ce-swipehint{display:block !important}
.ce-wave{height:40px !important}
.ce-revsec{padding-top:72px !important;padding-bottom:72px !important}
}
.ce-nav a{position:relative}
.ce-nav a::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:3px;border-radius:3px;background:#FF8A00;transform:scaleX(0);transition:transform .2s ease}
.ce-nav a:hover::after{transform:scaleX(1)}
@keyframes ceProg{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@supports (animation-timeline: scroll()){.ce-progress{display:block !important;animation:ceProg linear both;animation-timeline:scroll(root)}}
@media (prefers-reduced-motion: reduce){*{animation:none !important;transition:none !important}}

/* ---------- Header logo ----------
   The header bar is a flex row and the logo link was the only item still able
   to shrink once the nav grew, so on Spanish (longer labels: "Financiamiento",
   "Programa Elite") the browser squeezed the <img>. object-fit defaults to
   fill, so it distorted instead of letterboxing. Lock the logo out of the
   flex negotiation and make contain the fallback. */
.site-header > div > a:first-child { flex: 0 0 auto; }
.site-header img[src*="logo"],
.site-footer img[src*="logo"],
#ce-menu img[src*="logo"] { flex: none; object-fit: contain; }

/* ---------- Booking wizard: day picker ----------
   A <fieldset> defaults to min-inline-size:min-content, so it refuses to
   shrink below the widest thing inside it. The seven day chips measure 533px,
   which meant the fieldset stayed 533px wide inside a 390px phone, pushed the
   whole card off-screen and clipped the Next button - and because the chip row
   was handed all the width it asked for, its own overflow-x:auto never
   engaged. Releasing the fieldset lets the row scroll instead of the page. */
.ce-form fieldset,
fieldset { min-inline-size: 0; min-width: 0; }

/* The chips were unstyled buttons: 1px 6px of UA padding, square corners, and
   shrinking in the flex row. */
.ce-chip-day {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
  min-height: 56px;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
}

/* Both spans were display:inline, so the label read "TodayNov 17". */
.ce-chip-day .ce-day-dow,
.ce-chip-day .ce-day-date { display: block; white-space: nowrap; }
.ce-chip-day .ce-day-dow { font-weight: 800; font-size: 14px; }
.ce-chip-day .ce-day-date { font-weight: 600; font-size: 13px; opacity: .8; }

/* Make it obvious the row scrolls, and keep momentum scrolling on iOS. */
[data-ce-days] {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
[data-ce-days] .ce-chip-day { scroll-snap-align: start; }

/* ---------- Header: tablet gap ----------
   The desktop nav needs 905px to lay out, but it was only swapped for the
   burger below 760px. Every width from 761 to 904 therefore rendered a nav
   that ran off the right edge and dragged the whole page into a horizontal
   scroll. Scoped to .site-header so the 760px breakpoint still governs the
   type scale and the hero, which are fine on a tablet. */
@media (max-width: 919px) {
  .site-header .ce-desk { display: none !important; }
  .site-header .ce-mob  { display: flex !important; }
}
