/* AI Top, using the existing enCapeCoral palette and local type system. */
.tia-page, .tia-home-highlights { color: #21334e; }
.tia-page *, .tia-home-highlights *, .tia-page *::before, .tia-page *::after { box-sizing: border-box; }
.tia-page [hidden] { display: none !important; }
.tia-page summary { cursor: pointer; }
.tia-page h1, .tia-page h2, .tia-page h3, .tia-page p { margin-top: 0; }
.tia-page a:focus-visible, .tia-page summary:focus-visible, .tia-page select:focus-visible, .tia-page button:focus-visible { outline: 3px solid #1f5e9a; outline-offset: 4px; }
.tia-hero { padding: 48px 0 35px; }
.tia-hero .migas { font-size: .78rem; margin-bottom: 42px; }
.tia-hero-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr); align-items: end; gap: 65px; }
.tia-hero h1 { font-size: clamp(2.2rem,4.1vw,3.65rem); line-height: 1.12; margin: 17px 0 0; }
.tia-hero h1 span { color: #9c3b00; }
.tia-intro p { font-size: 1.03rem; line-height: 1.8; margin-bottom: 20px; }
.tia-intro .enlace-flecha { font-size: .9rem; }
.tia-round-strip { display: flex; align-items: center; gap: 55px; padding: 27px 0; margin-top: 38px; border-top: 1px solid #dfe3e9; border-bottom: 1px solid #dfe3e9; }
.tia-round-strip p { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .74rem; color: #46536a; }
.tia-round-strip p > strong { font-size: 1rem; color: #07142e; font-weight: 600; }
.tia-round-strip p:nth-child(2) > strong { font-size: 1.8rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tia-round-strip strong > span { font-size: 1rem; font-weight: 400; color: #46536a; }
.tia-round-strip > a { margin-left: auto; font-size: .79rem; color: #153e6b; }
.tia-scope { max-width: 950px; font-size: .78rem; color: #46536a; line-height: 1.8; margin: 17px 0 0; }
.tia-explore { padding: 10px 0 70px; }
.tia-sector-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tia-sector-links a { padding: 9px 13px; border: 1px solid #dfe3e9; background: #fff; border-radius: 8px; font-size: .75rem; color: #21334e; text-decoration: none; }
.tia-sector-links a:hover { background: #fff0e3; border-color: #9c3b00; }
.tia-filters { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 16px 24px; align-items: end; padding: 22px 25px; border: 1px solid #dfe3e9; border-radius: 14px; background: #fff; margin-bottom: 30px; }
.tia-filters label { display: grid; gap: 7px; font-size: .77rem; font-weight: 600; color: #07142e; }
.tia-filters select { width: 100%; min-width: 0; border: 1px solid #b6c2d4; border-radius: 9px; min-height: 46px; padding: 9px 30px 9px 12px; background: #fff; color: #21334e; font: inherit; font-weight: 400; }
.tia-filters button { border: 0; border-bottom: 1px solid #b6c2d4; min-height: 44px; background: transparent; color: #153e6b; font: inherit; font-size: .76rem; cursor: pointer; padding: 6px 0; }
.tia-filters [role="status"] { grid-column: 1 / -1; margin: 0; color: #46536a; font-size: .75rem; }
.tia-nojs, .tia-empty { background: #eef1f5; padding: 20px; border-radius: 10px; font-size: .9rem; }
.tia-sector { border-top: 1px solid #b6c2d4; scroll-margin-top: 125px; }
.tia-sector:last-child { border-bottom: 1px solid #b6c2d4; }
.tia-sector > summary { display: flex; gap: 18px; align-items: center; padding: 28px 0; list-style: none; }
.tia-sector > summary::-webkit-details-marker { display: none; }
.tia-sector-index { font-size: .8rem; color: #9c3b00; font-weight: 600; }
.tia-sector > summary h2 { font-size: clamp(1.2rem,2.5vw,1.7rem); margin: 0; flex: 1; }
.tia-sector-meta { color: #46536a; font-size: .72rem; }
.tia-expand::after { content: '+'; font-size: 1.55rem; color: #9c3b00; margin-left: 6px; }
.tia-sector[open] > summary .tia-expand::after { content: '−'; }
.tia-sector-content { padding: 0 0 30px; }
.tia-cohort { margin-bottom: 15px; }
.tia-cohort > summary { color: #153e6b; font-size: .8rem; margin-bottom: 12px; }
.tia-cohort-coverage { background: #eef1f5; border-radius: 10px; padding: 17px 20px; margin-bottom: 8px; }
.tia-cohort-coverage > p:first-child { display: flex; flex-wrap: wrap; gap: 7px 25px; justify-content: space-between; font-size: .76rem; margin: 0; }
.tia-cohort-coverage strong { color: #21334e; font-weight: 600; }
.tia-cohort-coverage span { color: #46536a; }
.tia-cohort-coverage .tia-provider-coverage { color: #46536a; margin: 7px 0 0; font-size: .69rem; }
.tia-ranking { padding: 0; margin: 0; list-style: none; }
.tia-row { display: grid; grid-template-columns: 48px minmax(0,1fr) 175px; align-items: start; gap: 0 22px; padding: 25px 12px; border-bottom: 1px solid #e3e7ed; background: #fff; }
.tia-row:first-child { border-radius: 10px 10px 0 0; }
.tia-row:last-child { border-bottom: 0; border-radius: 0 0 10px 10px; }
.tia-position { color: #9c3b00; font-size: 1.4rem; line-height: 1.4; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.tia-business { min-width: 0; }
.tia-name-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tia-name-line h3 { font-size: 1.11rem; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.tia-tie { font-size: .61rem; border: 1px solid #dfe3e9; color: #46536a; border-radius: 5px; padding: 2px 6px; }
.tia-provider-list { display: flex; flex-wrap: wrap; list-style: none; gap: 5px 15px; padding: 0; margin: 10px 0 3px; }
.tia-provider-list li { color: #46536a; font-size: .72rem; }
.tia-provider-list b { color: #21334e; font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 2px; }
.tia-languages { font-size: .66rem; color: #46536a; }
.tia-frequency { display: grid; gap: 4px; justify-items: end; color: #46536a; font-size: .66rem; }
.tia-frequency > strong { font-size: 1.7rem; font-weight: 600; color: #07142e; line-height: 1.3; font-variant-numeric: tabular-nums; }
.tia-frequency strong span { font-size: 1rem; font-weight: 400; color: #46536a; }
.tia-evidence { grid-column: 2 / -1; margin-top: 13px; min-width: 0; }
.tia-evidence summary { font-size: .72rem; color: #153e6b; }
.tia-evidence > ul { list-style: none; margin: 12px 0 0; padding: 0; max-width: 620px; }
.tia-evidence li + li { border-top: 1px solid #e3e7ed; }
.tia-evidence a { display: grid; grid-template-columns: minmax(0,1fr) auto 16px; gap: 12px; padding: 10px 0; font-size: .7rem; color: #153e6b; }
.tia-evidence a time { color: #46536a; font-size: .65rem; }
.tia-variants { margin: 12px 0 0; color: #46536a; font-size: .68rem; overflow-wrap: anywhere; }
.tia-method { padding: 60px 0; background: #07142e; color: #d3dbe7; }
.tia-method > .contenedor { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 70px; }
.tia-method .ceja { color: #ffb47e; }
.tia-method h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.5rem); margin: 15px 0 25px; }
.tia-method a { color: #fff; font-size: .82rem; }
.tia-method-copy p { font-size: .8rem; line-height: 1.9; margin-bottom: 19px; }
.tia-method-copy .tia-panel-coverage { color: #ffb47e; font-size: .7rem; }
.tia-resources { padding: 65px 0; }
.tia-resources > .contenedor { display: flex; align-items: center; gap: 50px; justify-content: space-between; }
.tia-resources h2 { font-size: clamp(1.7rem,2.9vw,2.5rem); margin: 15px 0; }
.tia-resources p { max-width: 740px; font-size: .9rem; margin: 0; }
.tia-resources .btn { flex-shrink: 0; }
.tia-home-date { color: #46536a; font-size: .85rem; margin: 0 0 25px; }
.tia-home-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 36px; }
.tia-home-sector { border-top: 1px solid #b6c2d4; padding: 22px 0; min-width: 0; }
.tia-home-sector header { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.tia-home-index { color: #9c3b00; font-size: .75rem; font-weight: 600; }
.tia-home-sector h3 { font-size: 1.12rem; margin: 0; }
.tia-home-sector > ul { list-style: none; padding: 0; margin: 0 0 14px; }
.tia-home-sector li { display: grid; grid-template-columns: 23px minmax(0,1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e3e7ed; align-items: start; }
.tia-home-position { color: #46536a; font-size: .69rem; line-height: 1.7; }
.tia-home-sector li strong { color: #07142e; font-size: .85rem; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.tia-home-frequency { color: #153e6b; font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tia-home-sector > a { color: #153e6b; font-size: .76rem; text-decoration: none; }
.tia-home-sector > a:hover { text-decoration: underline; }
.tia-home-sector .tia-home-none { display: block; color: #46536a; font-size: .85rem; }
.tia-home-note { color: #46536a; font-size: .78rem; line-height: 1.8; max-width: 900px; margin: 20px 0 25px; }
.ax-home .ax-proof-strip .contenedor > div:last-child { flex-direction: column; gap: 4px; }
.ax-home .ax-proof-strip .contenedor > div:last-child b { font-size: clamp(.95rem,1.4vw,1.25rem); white-space: nowrap; letter-spacing: 0; }
.ax-home .ax-proof-strip .contenedor > div:last-child span { text-align: center; }
/* Round details repeat below the hero; keep businesses closer on a phone. */
@media (max-width: 600px) {
  .ax-home .ax-hero-stage { min-height: 0; }
  .ax-home .ax-hero-stage .ax-float { display: none; }
  .ax-home .ax-hero-stage .ax-owl { max-width: 240px; }
}
@media (max-width: 1000px) {
  .tia-hero-heading { gap: 30px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .tia-round-strip { gap: 25px; }
  .tia-method > .contenedor { gap: 35px; }
}
@media (max-width: 760px) {
  .tia-hero { padding: 30px 0; }
  .tia-hero .migas { margin-bottom: 30px; }
  .tia-hero-heading { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .tia-hero h1 { font-size: clamp(2rem,7.1vw,3rem); }
  .tia-intro p { font-size: .98rem; }
  .tia-round-strip { flex-wrap: wrap; gap: 18px 35px; margin-top: 28px; }
  .tia-round-strip > a { width: 100%; margin-left: 0; }
  .tia-enhanced .tia-sector-links { display: none; }
  .tia-filters { grid-template-columns: minmax(0,1fr) minmax(0,1fr); padding: 20px; }
  .tia-filters button { justify-self: start; }
  .tia-filters [role="status"] { grid-column: 2; align-self: center; }
  .tia-sector > summary { gap: 11px; padding: 23px 0; }
  .tia-sector-meta { max-width: 70px; font-size: .64rem; text-align: right; }
  .tia-row { grid-template-columns: 33px minmax(0,1fr) 75px; gap: 0 12px; padding: 20px 13px; }
  .tia-name-line h3 { font-size: .97rem; }
  .tia-position { font-size: 1.15rem; }
  .tia-frequency { text-align: right; font-size: .6rem; }
  .tia-frequency > strong { font-size: 1.4rem; }
  .tia-provider-list { gap: 4px 11px; }
  .tia-provider-list li { font-size: .66rem; }
  .tia-evidence { grid-column: 2 / -1; }
  .tia-evidence a { grid-template-columns: minmax(0,1fr) 15px; gap: 3px 10px; }
  .tia-evidence a time { grid-column: 1; grid-row: 2; }
  .tia-evidence a > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .tia-explore { padding-bottom: 40px; }
  .tia-method { padding: 45px 0; }
  .tia-method > .contenedor { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .tia-resources { padding: 45px 0; }
  .tia-resources > .contenedor { flex-direction: column; align-items: flex-start; gap: 25px; }
  .tia-home-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
}
@media (max-width: 440px) {
  .tia-page .contenedor { padding-inline: 20px; }
  .tia-hero .migas { margin-bottom: 24px; }
  .tia-hero-heading { gap: 18px; }
  .tia-intro p { font-size: .9rem; line-height: 1.7; margin-bottom: 12px; }
  .tia-round-strip { padding-block: 18px; gap: 16px 24px; }
  .tia-round-strip p:nth-child(2) > strong { font-size: 1.5rem; }
  .tia-scope { font-size: .73rem; }
  .tia-filters { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 17px; }
  .tia-filters [role="status"] { grid-column: 1; }
  .tia-filters select { font-size: 16px; }
  .tia-sector-links a { font-size: .7rem; }
  .tia-sector > summary h2 { font-size: 1.13rem; }
  .tia-cohort-coverage { padding: 15px; }
  .tia-row { grid-template-columns: 26px minmax(0,1fr) 62px; gap: 0 9px; padding: 18px 10px; }
  .tia-evidence summary { font-size: .68rem; }
}
