/* /indice (2026-11-30): the Índice de Dependencia Operativa, one question at a time. Loads after
   empresas.css (fonts, colours, footer); every class here starts with ix- so nothing clashes. */
.ix-top { position: sticky; top: 0; z-index: 5; background: linear-gradient(var(--bg) 70%, rgba(27, 26, 31, 0)); padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 18px; }
.ix-top-in, .ix-stage { max-width: 680px; margin: 0 auto; }
.ix-brand { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--dim); }
.ix-logo { display: inline-flex; gap: 8px; align-items: center; color: var(--white); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.ix-logo svg { width: 20px; height: 20px; }
.ix-bar { margin-top: 12px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ix-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent); box-shadow: 0 0 18px rgba(235, 250, 95, .55); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.ix-main { padding: 8px var(--gutter) 64px; min-height: 70vh; }
.ix-view { animation: ix-in .5s cubic-bezier(.2, .8, .2, 1) both; }
.ix-view.out { animation: ix-out .22s ease both; }
.ix-view.back { animation: ix-inb .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes ix-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes ix-inb { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes ix-out { to { opacity: 0; transform: translateX(-30px); } }
.ix-h1 { font-weight: 600; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(38px, 7vw, 60px); margin: 28px 0 0; color: var(--white); }
.ix-h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-size: clamp(26px, 4.6vw, 36px); margin: 6px 0 0; color: var(--white); }
.ix-hl { color: var(--accent); }
.ix-lede { color: var(--dim); font-size: clamp(17px, 2vw, 19px); margin: 18px 0 0; max-width: 46ch; }
.ix-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--dim); margin: 0; }
.ix-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(235, 250, 95, .16); }
.ix-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; padding: 16px 26px; font: 600 16px/1.2 "Poppins", sans-serif; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s, opacity .2s; min-height: 52px; text-align: center; }
.ix-btn:hover { transform: translateY(-1px); }
.ix-btn:focus-visible, .ix-opt:focus-visible, .ix-day:focus-visible, .ix-slot:focus-visible, .ix-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ix-acc { background: var(--accent); color: var(--bg); }
.ix-line { border-color: var(--line); background: rgba(255, 255, 255, .03); color: var(--ink); }
.ix-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.ix-go { margin-top: 32px; }
.ix-qmeta { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; color: var(--dim); margin-top: 20px; }
.ix-qmeta b { color: var(--white); font-weight: 600; }
.ix-area { color: var(--accent); text-align: right; }
.ix-opts { display: grid; gap: 10px; margin-top: 24px; }
.ix-opt { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 400 16px/1.4 "Poppins", sans-serif; cursor: pointer; transition: border-color .2s, transform .2s; animation: ix-pop .45s cubic-bezier(.2, .8, .2, 1) both; }
.ix-opt:nth-child(2) { animation-delay: .05s; } .ix-opt:nth-child(3) { animation-delay: .1s; } .ix-opt:nth-child(4) { animation-delay: .15s; }
@keyframes ix-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ix-opt:hover { border-color: rgba(235, 250, 95, .5); transform: translateY(-1px); }
.ix-opt .k { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; color: var(--dim); transition: all .2s; }
.ix-opt.sel { border-color: var(--accent); background: linear-gradient(160deg, #35361f, #26262a); }
.ix-opt.sel .k { background: var(--accent); color: var(--bg); border-color: var(--accent); animation: ix-tick .35s ease; }
@keyframes ix-tick { 50% { transform: scale(1.25); } }
.ix-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.ix-link { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 12px 0; font: 400 15px "Poppins", sans-serif; }
.ix-link:hover { color: var(--white); }
.ix-hint { font-size: 13px; color: var(--dim); margin-top: 14px; }
.ix-done { text-align: center; padding-top: 12px; }
.ix-done .ix-lede { margin-inline: auto; }
.ix-check { width: 120px; height: 120px; margin: 12px auto 0; display: block; }
.ix-check circle { fill: none; stroke: var(--accent); stroke-width: 5; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ix-draw .8s .1s cubic-bezier(.6, 0, .2, 1) forwards; }
.ix-check path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: ix-draw .45s .75s ease-out forwards; }
@keyframes ix-draw { to { stroke-dashoffset: 0; } }
.ix-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 32px; text-align: left; }
.ix-choice { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; }
.ix-choice.main { border-color: rgba(235, 250, 95, .55); }
.ix-choice p { margin: 0; color: var(--dim); font-size: 15px; }
.ix-choice .t { color: var(--white); font-weight: 600; font-size: 18px; }
.ix-choice .ix-btn { margin-top: auto; }
.ix-choice.row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 12px; }
.ix-conf { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 9; }
.ix-conf span { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: ix-fall linear forwards; }
@keyframes ix-fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }
.ix-form { display: grid; gap: 14px; margin-top: 24px; }
.ix-form label { display: grid; gap: 6px; font-size: 14px; color: var(--dim); }
.ix-form input { font: 400 16px "Poppins", sans-serif; color: var(--ink); background: #24232a; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; width: 100%; }
.ix-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.ix-form[hidden] { display: none; }
.ix-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ix-err { color: #ff9b8a; font-size: 14px; min-height: 20px; margin: 0; }
.ix-cal { margin-top: 24px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #24232a; }
.ix-cal-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--white); }
.ix-cal-h span { font-weight: 400; font-size: 14px; color: var(--dim); }
.ix-dows, .ix-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.ix-dows { margin-top: 14px; font-size: 13px; color: var(--dim); }
.ix-days { margin-top: 6px; }
.ix-day { aspect-ratio: 1; border-radius: 12px; border: 1px solid transparent; background: rgba(255, 255, 255, .05); color: var(--ink); cursor: pointer; font: 600 15px "Poppins", sans-serif; display: grid; place-items: center; transition: all .2s; }
.ix-day:hover { border-color: rgba(235, 250, 95, .5); }
.ix-day[disabled] { background: none; color: #5c5c5c; cursor: default; font-weight: 400; border-color: transparent; }
.ix-day.sel { background: var(--accent); color: var(--bg); }
.ix-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 16px; }
.ix-slot { padding: 12px 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink); cursor: pointer; font: 600 15px "Poppins", sans-serif; animation: ix-pop .35s both; }
.ix-slot:hover { border-color: var(--accent); }
.ix-slot.sel { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.ix-tz { font-size: 13px; color: var(--dim); margin: 12px 0 0; }
.ix-booked { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(235, 250, 95, .16); border: 1px solid rgba(235, 250, 95, .4); margin-top: 20px; }
.ix-booked svg { flex: none; width: 36px; height: 36px; }
.ix-booked p { margin: 0; font-size: 15px; }
.ix-booked b { display: block; font-size: 17px; color: var(--white); }
.ix-booked a { color: var(--accent); }
.ix-res { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 28px; }
.ix-gauge { width: 100%; display: block; }
.ix-gauge .tr { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 12; stroke-linecap: round; }
.ix-gauge .fl { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s cubic-bezier(.2, .8, .2, 1); }
.ix-num { font-size: 64px; font-weight: 600; letter-spacing: -.04em; line-height: 1; margin: -34px 0 0; text-align: center; color: var(--white); }
.ix-num small { font-size: 18px; color: var(--dim); font-weight: 400; }
.ix-band { font-weight: 600; font-size: 22px; margin: 0; color: var(--white); }
.ix-res p.d { color: var(--dim); margin: 8px 0 0; font-size: 16px; }
.ix-areas { display: grid; gap: 10px; margin-top: 24px; list-style: none; padding: 0; }
.ix-areas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #24232a; border: 1px solid var(--line); }
.ix-areas .m { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); grid-column: 1 / -1; overflow: hidden; }
.ix-areas .m i { display: block; height: 100%; background: var(--accent); border-radius: 99px; width: 0; transition: width 1.2s .3s cubic-bezier(.2, .8, .2, 1); }
.ix-areas b { font-weight: 600; color: var(--white); }
.ix-areas span { font-size: 14px; color: var(--dim); white-space: nowrap; }
.ix-qx { margin-top: 28px; padding: 28px 24px; border-radius: 20px; background: var(--accent); color: var(--bg); }
.ix-qx .k { font-size: 14px; margin: 0; font-weight: 600; opacity: .75; }
.ix-qx .q { font-size: clamp(24px, 4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 0; }
.ix-qx .s { margin: 14px 0 0; font-size: 15px; }
.ix-note { font-size: 13px; color: var(--dim); margin-top: 28px; border-top: 1px solid var(--line); padding-top: 14px; }
.ix-wait { color: var(--dim); font-size: 15px; margin: 16px 0 0; }
@media (max-width: 560px) { .ix-res { grid-template-columns: 1fr; } .ix-gauge { max-width: 220px; margin: 0 auto; } .ix-res > div:last-child { text-align: center; } .ix-opt { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .ix-main *, .ix-main *::before, .ix-main *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }
