:root {
  --home-green: #2f6848;
  --home-deep: #183c2b;
  --home-yellow: #e4b63d;
  --home-ground: #f5f6f2;
  --home-ink: #202521;
  --home-muted: #626e65;
  --home-line: #dce3dd;
}
.catalog-page { margin: 0; background: var(--home-ground); color: var(--home-ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.catalog-home, .catalog-home * { box-sizing: border-box; letter-spacing: 0; }
.catalog-home [hidden], .catalog-page .hidden { display: none !important; }
.catalog-home a { text-decoration: none; color: inherit; }
.catalog-home button, .catalog-home input { font: inherit; }
.catalog-home button { cursor: pointer; }
.catalog-home button:disabled { cursor: wait; }
.catalog-home button, .catalog-home h1, .catalog-home h2, .catalog-home p, .catalog-home ol { margin: 0; }
.catalog-home button { border: 0; }
.catalog-home :is(button, a, input):focus-visible { outline: 3px solid #a97500; outline-offset: 4px; }
.catalog-home input { min-width: 0; }
.catalog-home .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 60; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.home-width { width: min(1180px, 100% - 64px); margin-inline: auto; }
.catalog-hero { position: relative; isolation: isolate; background: var(--home-deep); color: white; }
.catalog-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../img/catalog-ui/fondo-buscador.webp') 58% 53% / cover no-repeat; }
.catalog-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12 42 27 / 88%) 0%, rgb(12 42 27 / 68%) 42%, rgb(12 42 27 / 24%) 75%, rgb(12 42 27 / 14%) 100%); }
.hero-inner { padding-top: 24px; padding-bottom: 44px; min-height: 350px; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-logo { display: block; flex: 0 1 190px; min-width: 0; }
.home-logo img { display: block; width: 190px; max-width: 100%; height: 56px; object-fit: contain; object-position: left center; }
.home-actions { display: flex; align-items: center; gap: 24px; }
.official-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-size: 14px; font-weight: 650; }
.home-icon { display: inline-block; flex: 0 0 22px; width: 22px; height: 22px; background: currentColor; mask: var(--home-icon) center / contain no-repeat; -webkit-mask: var(--home-icon) center / contain no-repeat; }
.icon-budget { --home-icon: url('../icons/catalog/clipboard-list.svg'); }
.icon-external { --home-icon: url('../icons/catalog/arrow-up-right.svg'); }
.icon-next { --home-icon: url('../icons/catalog/chevron-right.svg'); }
.icon-back { --home-icon: url('../icons/catalog/arrow-left.svg'); }
.icon-search { --home-icon: url('../icons/catalog/search.svg'); }
.icon-help { --home-icon: url('../icons/catalog/headset.svg'); }
.icon-wheat { --home-icon: url('../icons/catalog/wheat.svg'); }
.icon-down { --home-icon: url('../icons/catalog/chevrons-down.svg'); }
.budget-link { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 48px; padding: 10px 16px; border-radius: 8px; background: white; color: var(--home-deep) !important; font-size: 14px; font-weight: 750; }
.quote-count { border-radius: 4px; padding: 0 5px; background: var(--home-green); color: white; font-size: 12px; }
.hero-copy { margin-top: 36px; max-width: 560px; }
.home-eyebrow { color: #f6d377; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero-copy h1 { margin: 10px 0 14px; font-size: 42px; line-height: 1.1; font-weight: 800; text-wrap: balance; overflow-wrap: anywhere; }
#hero-subtitle { max-width: 420px; color: #f2f5f0; font-size: 17px; }
.catalog-body { position: relative; padding-top: 28px; background: var(--home-ground); }
.home-progress-row { display: flex; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--home-line); }
#step-count { color: var(--home-deep); font-size: 14px; font-weight: 750; }
.home-progress { display: flex; align-items: center; gap: 46px; padding: 0; list-style: none; }
.home-progress li { position: relative; display: flex; align-items: center; gap: 8px; color: var(--home-muted); font-weight: 650; font-size: 14px; }
.home-progress li + li::before { position: absolute; content: ""; height: 1px; width: 28px; background: #becac0; left: -37px; }
.step-dot { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #bfcac2; border-radius: 50%; background: white; }
.home-progress .is-active, .home-progress .is-done { color: var(--home-deep); }
.home-progress .is-active .step-dot, .home-progress .is-done .step-dot { background: var(--home-green); border-color: var(--home-green); color: white; }
.home-progress .is-active .step-dot { box-shadow: 0 0 0 4px #e0e9df; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; background: none; color: var(--home-green); font-weight: 750 !important; text-align: left; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 56px; padding-top: 28px; align-items: start; }
.selection-section { min-width: 0; }
.selection-heading h2 { color: var(--home-deep); font-size: 27px; line-height: 1.2; font-weight: 800; text-wrap: balance; }
.selection-heading p { color: var(--home-muted); margin-top: 8px; font-size: 15px; }
.selection-list { display: grid; gap: 12px; margin-top: 20px; }
.selection-card { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 94px; padding: 16px 20px; overflow: hidden; background: rgb(255 255 255 / 92%); border: 1px solid var(--home-line) !important; border-radius: 8px; color: var(--home-ink); text-align: left; box-shadow: 0 5px 16px rgb(24 60 43 / 5%); transition: border-color .15s, box-shadow .15s, transform .15s; }
.selection-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--home-yellow); opacity: 0; transition: opacity .15s; }
.selection-card:hover { border-color: #87a891 !important; box-shadow: 0 8px 22px rgb(24 60 43 / 10%); transform: translateY(-1px); }
.selection-card:hover::before { opacity: 1; }
.selection-card:active { background: #f0f6ee; }
.brand-art { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.brand-art img { display: block; width: 205px; max-width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.brand-art strong { font-size: 22px; overflow-wrap: anywhere; }
.select-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; flex: 0 0 150px; min-height: 48px; padding: 10px 14px; background: var(--home-green); color: white; border-radius: 8px; font-size: 15px; font-weight: 750; }
.model-art { width: 128px; flex: 0 0 128px; height: 78px; display: flex; align-items: center; }
.model-art img { width: 100%; height: 100%; border-radius: 4px; object-fit: contain; }
.model-art.is-logo img { object-fit: contain; }
.model-copy { min-width: 0; flex: 1; }
.model-copy strong { display: block; font-size: 24px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.model-copy small { display: block; font-size: 13px; line-height: 1.4; color: var(--home-muted); margin-top: 5px; overflow-wrap: anywhere; }
.model-copy small.engine-variant { display: inline-flex; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid #dfc56f; border-radius: 4px; background: #fff7d8; color: #594611; font-weight: 750; }
.model-card.is-opening { border-color: var(--home-green) !important; }
.model-card.is-opening .select-cta { background: var(--home-deep); }
.home-secondary { border-left: 1px solid var(--home-line); padding-left: 32px; min-width: 0; }
.section-kicker { color: var(--home-green); text-transform: uppercase; font-size: 12px; font-weight: 800; }
.direct-search h2 { margin: 10px 0 18px; font-size: 23px; line-height: 1.25; color: var(--home-deep); font-weight: 750; }
.home-search-field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 14px; border: 1px solid #bbc9bf; border-radius: 8px; background: white; color: var(--home-green); }
.home-search-field:focus-within { border-color: var(--home-green); box-shadow: 0 0 0 3px #e0e9df; }
.home-search-field input { width: 100%; padding: 13px 0; border: 0; background: transparent; color: var(--home-ink); font-size: 16px; outline: none !important; }
.home-search-field input::placeholder { color: #737e77; opacity: 1; }
.gold-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; width: 100%; padding: 12px 16px; margin-top: 12px !important; border-radius: 8px; background: var(--home-yellow); color: #2b2919; font-weight: 800 !important; }
.gold-button:hover { background: #edc453; }
.model-search { margin-top: 18px; }
.home-help { display: flex; align-items: center; gap: 12px; padding: 20px 0; margin-top: 24px; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); color: var(--home-deep) !important; }
.help-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 44px; color: var(--home-green); }
.help-icon .home-icon { width: 34px; height: 34px; }
.home-help > span:nth-child(2) { flex: 1; min-width: 0; }
.home-help strong { display: block; font-size: 16px; line-height: 1.3; }
.home-help > span > span { display: block; margin-top: 4px; font-size: 14px; color: var(--home-muted); }
.home-help:hover strong { text-decoration: underline; }
.campaign-message { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding: 8px 0 8px 16px; border-left: 4px solid var(--home-yellow); }
.campaign-message > .home-icon { width: 34px; height: 52px; flex-basis: 34px; color: #9a740b; }
.campaign-message p > span { display: block; font-size: 13px; color: var(--home-muted); }
.campaign-message strong { display: block; margin-top: 5px; color: var(--home-deep); font-size: 25px; font-weight: 800; line-height: 1.15; }
.catalog-status { margin-top: 18px !important; padding: 16px; background: #edf2ed; border-left: 3px solid var(--home-green); color: var(--home-deep); }
.catalog-status.is-error { border-color: #b16c19; background: #fff6de; }
.home-footer { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding: 22px 0 28px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: 12px; }
.home-footer a { display: inline-flex; align-items: center; min-height: 24px; }
.home-footer a:hover { text-decoration: underline; }
.scroll-hint { display: flex; align-items: center; justify-content: center; gap: 9px; position: fixed; z-index: 42; left: 50%; bottom: 18px; width: max-content; max-width: calc(100vw - 28px); min-height: 50px; padding: 10px 18px; transform: translateX(-50%); border: 1px solid #d4bd71 !important; border-radius: 25px; box-shadow: 0 6px 22px #183c2b2e; background: #ffe29c; color: var(--home-deep); font-size: 14px !important; font-weight: 800 !important; line-height: 1.25; text-align: center; }
.scroll-hint .home-icon { width: 22px; height: 22px; flex: 0 0 22px; animation: home-down 1.5s ease-in-out infinite; }
@keyframes home-down { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.catalog-page .ai-avatar-button, .catalog-page .ai-avatar-button img { height: 220px; }
.catalog-page .ai-avatar-button { width: 116px; }
.catalog-page .ai-assistant-nudge { left: 88px; bottom: 100px; width: 205px; }
.catalog-page .ai-assistant-card-shell { left: 104px; }
.catalog-page .ai-avatar-dock.is-quiet:not(.is-open) .ai-assistant-nudge { display: none; }
.catalog-page .ai-avatar-dock.is-quiet:not(.is-open) .ai-avatar-button, .catalog-page .ai-avatar-dock.is-quiet:not(.is-open) .ai-avatar-button img { height: 120px; }
@media (max-width: 850px) {
  .home-width { width: calc(100% - 40px); }
  .home-columns { gap: 24px; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); }
  .home-secondary { padding-left: 24px; }
  .select-cta { flex-basis: 132px; padding-inline: 10px; }
  .selection-card { gap: 12px; padding: 14px; }
  .model-card { flex-wrap: wrap; }
  .model-card .select-cta { margin-left: auto; }
  .hero-copy h1 { font-size: 36px; }
}
@media (max-width: 680px) {
  .home-width { width: calc(100% - 36px); }
  .catalog-hero::before { background-image: url('../img/catalog-ui/fondo-buscador.webp'); background-position: 58% center; background-size: cover; }
  .catalog-hero::after { background: linear-gradient(90deg, rgb(12 42 27 / 84%) 0%, rgb(12 42 27 / 62%) 62%, rgb(12 42 27 / 36%) 100%); }
  .hero-inner { padding-top: 18px; padding-bottom: 40px; min-height: 306px; }
  .home-header { gap: 10px; align-items: flex-start; }
  .home-logo { flex-basis: 142px; padding-top: 3px; }
  .home-logo img { width: 142px; height: 44px; }
  .home-actions { flex-wrap: wrap; justify-content: flex-end; gap: 3px; max-width: 186px; }
  .budget-link { min-height: 46px; padding: 9px 10px; gap: 6px; font-size: 13px; }
  .budget-link .home-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .official-link { order: 2; min-height: 44px; font-size: 12px; gap: 3px; }
  .official-link .home-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .hero-copy { margin-top: 16px; max-width: 355px; }
  .hero-copy h1 { font-size: 31px; line-height: 1.08; margin-top: 8px; margin-bottom: 12px; }
  .home-eyebrow { font-size: 12px; }
  #hero-subtitle { font-size: 15px; max-width: 310px; }
  .catalog-body { margin-top: -12px; padding-top: 22px; border-radius: 16px 16px 0 0; }
  .home-progress-row { gap: 18px; flex-wrap: wrap; padding-bottom: 20px; }
  #catalog-back { width: 100%; min-height: 32px; }
  #step-count { font-size: 13px; }
  .home-progress { flex: 1; justify-content: flex-end; gap: 34px; }
  .home-progress li { font-size: 13px; gap: 7px; }
  .home-progress li + li::before { width: 20px; left: -27px; }
  .step-dot { width: 30px; height: 30px; flex-basis: 30px; }
  .home-columns { display: block; padding-top: 22px; }
  .selection-heading h2 { font-size: 25px; line-height: 1.18; text-wrap: initial; }
  .selection-heading p { font-size: 14px; margin-top: 7px; }
  .selection-list { gap: 12px; margin-top: 18px; }
  .selection-card { min-height: 88px; padding: 14px; gap: 12px; }
  .brand-art img { height: 52px; }
  .brand-art strong { font-size: 18px; }
  .select-cta { flex-basis: 130px; min-height: 48px; padding: 10px 11px; font-size: 14px; }
  .select-cta .home-icon { flex-basis: 18px; width: 18px; height: 18px; }
  .model-card { flex-wrap: nowrap; gap: 10px; padding: 12px; }
  .model-art { width: 82px; flex-basis: 82px; height: 64px; }
  .model-copy strong { font-size: 22px; }
  .model-copy small { font-size: 12px; }
  .model-card .select-cta { flex-basis: 120px; padding-inline: 9px; font-size: 13px; }
  .home-secondary { margin-top: 30px; border: 0; padding: 24px 0 0; border-top: 1px solid var(--home-line); }
  .direct-search h2 { font-size: 22px; margin-bottom: 16px; }
  .home-help { background: #eaf2ec; border: 0; margin-top: 22px; padding: 18px 12px; }
  .home-help strong { font-size: 15px; }
  .home-help > span > span { font-size: 14px; }
  .campaign-message { margin: 28px 0 0; padding: 10px 18px; gap: 18px; }
  .campaign-message strong { font-size: 28px; }
  .campaign-message p > span { font-size: 14px; }
  .home-footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-top: 30px; padding-bottom: 105px; }
  .catalog-page .ai-avatar-button, .catalog-page .ai-avatar-button img { height: 145px; }
  .catalog-page .ai-avatar-button { width: 86px; }
  .catalog-page .ai-assistant-nudge { bottom: 66px; left: 56px; width: 200px; }
  .catalog-page .ai-assistant-card-shell { left: 12px; bottom: 100px; width: calc(100vw - 24px); max-height: 65dvh; }
  .catalog-page .ai-avatar-dock.is-quiet:not(.is-open) .ai-avatar-button, .catalog-page .ai-avatar-dock.is-quiet:not(.is-open) .ai-avatar-button img { height: 100px; }
}
@media (max-width: 359px) {
  .home-width { width: calc(100% - 24px); }
  .hero-copy h1 { font-size: 28px; }
  .home-logo { flex-basis: 122px; }
  .budget-link { font-size: 12px; padding-inline: 8px; }
  .model-art { width: 48px; flex-basis: 48px; height: 44px; }
  .model-card .select-cta { flex-basis: 112px; }
  .home-progress { gap: 26px; }
  .home-progress li + li::before { width: 14px; left: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-page *, .catalog-page *::before, .catalog-page *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
