:root {
  --ink: #17253b;
  --muted: #667085;
  --line: #e4e9f0;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --navy: #123b63;
  --navy-2: #0b2d4d;
  --teal: #0f8b8d;
  --teal-soft: #e8f7f6;
  --amber: #d98b1d;
  --danger: #c33c54;
  --shadow: 0 18px 50px rgba(22, 44, 72, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }

.corp-app { min-height: 100vh; }
.corp-header {
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(31, 191, 184, .23), transparent 28%),
    linear-gradient(130deg, var(--navy-2), var(--navy));
  overflow: hidden;
}
.corp-header__inner, .corp-main, .corp-footer__inner {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}
.corp-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.corp-topbar__left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.corp-topbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-left: auto; min-width: 0; }
.corp-menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  place-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.09);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.corp-menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 99px; background: currentColor; transition: transform .18s, opacity .18s; }
.corp-topbar__right.is-menu-open .corp-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.corp-topbar__right.is-menu-open .corp-menu-toggle span:nth-child(2) { opacity: 0; }
.corp-topbar__right.is-menu-open .corp-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.corp-brand { display: flex; align-items: center; }
.corp-brand__logo {
  display: block;
  width: 190px;
  height: 58px;
  padding: 4px 9px;
  object-fit: contain;
  border: 1px solid rgba(217,139,29,.25);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.corp-nav { display: flex; align-items: center; gap: 8px; }
.corp-nav__link {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #e7f0f6;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s, background .18s, border-color .18s;
}
.corp-nav__link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.corp-nav__link:hover { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.13); transform: translateY(-1px); }
.corp-nav__link--price { color: #eaf8fb; border-color: rgba(31,191,184,.36); background: rgba(31,191,184,.13); }
.corp-nav__link--price:hover { color: #fff; border-color: rgba(131,221,214,.58); background: rgba(31,191,184,.22); }
.corp-nav__link--contact { color: #17253b; border-color: #f0c548; background: linear-gradient(135deg, #ffd95a, #e7af23); box-shadow: 0 7px 18px rgba(217,139,29,.22); }
.corp-nav__link--contact:hover { color: #17253b; border-color: #ffe18a; background: linear-gradient(135deg, #ffe078, #efbd3f); }
.corp-brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--navy); background: #fff; border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.corp-brand__mark svg { width: 23px; height: 23px; }
.corp-status { display: flex; align-items: center; gap: 8px; color: #d7e5ef; font-size: 13px; }
.corp-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #56d6b1; box-shadow: 0 0 0 5px rgba(86,214,177,.12); }
.corp-hero { padding: 48px 0 52px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; }
.corp-eyebrow { margin: 0 0 14px; color: #83ddd6; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.corp-hero h1 { margin: 0; max-width: 760px; font-size: clamp(34px, 4vw, 55px); line-height: 1.05; letter-spacing: -.045em; }
.corp-hero__copy { max-width: 710px; margin: 20px 0 0; color: #ccdae6; font-size: 17px; line-height: 1.65; }
.corp-steps { display: grid; gap: 10px; }
.corp-step { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.corp-step b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.12); color: #9be4dc; }
.corp-step span { font-size: 13px; color: #d8e6ef; }
.corp-step strong { display: block; margin-bottom: 2px; color: #fff; font-size: 14px; }

.corp-main { padding: 30px 0 60px; }
.corp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: -48px 0 26px; position: relative; z-index: 2; }
.corp-stat { padding: 21px 22px; background: var(--surface); border: 1px solid rgba(228,233,240,.9); border-radius: 16px; box-shadow: var(--shadow); }
.corp-stat__label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.corp-stat__icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--teal); background: var(--teal-soft); }
.corp-stat__value { margin-top: 13px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.corp-stat__sub { margin-top: 6px; color: var(--muted); font-size: 12px; }

.corp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.corp-layout > * { min-width: 0; }
.corp-panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(27,48,74,.06); }
.corp-panel__head { padding: 24px 25px 19px; border-bottom: 1px solid var(--line); }
.corp-panel__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.corp-panel h2, .corp-summary h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.corp-panel__intro { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.corp-search { position: relative; width: min(330px, 100%); flex: 0 0 auto; }
.corp-search svg { position: absolute; left: 13px; top: 50%; width: 18px; transform: translateY(-50%); color: #8290a3; }
.corp-search input { width: 100%; height: 43px; padding: 0 40px; color: var(--ink); background: #f8fafc; border: 1px solid #d8e0e9; border-radius: 11px; outline: none; transition: .2s; }
.corp-search input:focus { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,139,141,.10); }
.corp-search__clear { position: absolute; right: 8px; top: 50%; width: 28px; height: 28px; transform: translateY(-50%); border: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.corp-search__clear:hover { background: #edf1f5; }

.corp-tabs { display: flex; gap: 8px; padding: 17px 25px; overflow-x: auto; scrollbar-width: thin; border-bottom: 1px solid var(--line); }
.corp-tab { white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 10px 13px; color: #526075; background: #f6f8fb; border: 1px solid transparent; border-radius: 11px; font-size: 13px; font-weight: 700; transition: .2s; }
.corp-tab:hover { color: var(--navy); background: #edf3f7; }
.corp-tab[aria-selected="true"] { color: #fff; background: var(--navy); box-shadow: 0 7px 16px rgba(18,59,99,.22); }
.corp-tab__count { min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; border-radius: 7px; background: rgba(255,255,255,.14); font-size: 11px; }
.corp-tab[aria-selected="false"] .corp-tab__count { color: var(--muted); background: #e5ebf1; }

.corp-items-head { padding: 19px 25px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.corp-items-head strong { font-size: 15px; }
.corp-items-head span { color: var(--muted); font-size: 12px; }
.corp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 15px 25px 27px; }
.corp-item { min-width: 0; display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.corp-item:hover { transform: translateY(-2px); border-color: #b8d9d8; box-shadow: 0 10px 24px rgba(24,57,83,.08); }
.corp-item.is-selected { border-color: rgba(15,139,141,.48); background: linear-gradient(145deg, #fff, #f2fbfa); }
.corp-item__visual { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(18,59,99,.08); border-radius: 13px; color: var(--navy); background: linear-gradient(145deg, #f3f7fb, #e7eff7); }
.corp-item__visual svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.corp-item__visual--1 { color: #6d4ba5; background: linear-gradient(145deg, #f6f1ff, #ece3fb); }
.corp-item__visual--2 { color: #2d7190; background: linear-gradient(145deg, #eef8fb, #deeff5); }
.corp-item__visual--3 { color: #bf6a2b; background: linear-gradient(145deg, #fff5eb, #f9e5d1); }
.corp-item__visual--4 { color: #317c62; background: linear-gradient(145deg, #effaf5, #dff1e8); }
.corp-item__visual--5 { color: #31739d; background: linear-gradient(145deg, #eef8ff, #dcecf7); }
.corp-item__visual--6 { color: #6d637b; background: linear-gradient(145deg, #f6f3f8, #ebe5ef); }
.corp-item__name { display: block; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.corp-item__meta { margin-top: 5px; color: var(--muted); font-size: 11px; }
.corp-counter { grid-column: 1 / -1; display: grid; grid-template-columns: 35px 1fr 35px; gap: 7px; margin-top: 3px; }
.corp-counter button { height: 34px; display: grid; place-items: center; border: 1px solid #d6dee7; border-radius: 9px; color: var(--navy); background: #fff; font-size: 18px; font-weight: 700; transition: .18s; }
.corp-counter button:hover { color: #fff; border-color: var(--teal); background: var(--teal); }
.corp-counter button:disabled { cursor: not-allowed; opacity: .38; }
.corp-counter output { display: grid; place-items: center; min-width: 0; color: var(--ink); background: #f4f7fa; border-radius: 9px; font-weight: 800; }
.corp-empty { grid-column: 1 / -1; padding: 48px 20px; text-align: center; color: var(--muted); }
.corp-empty strong { display: block; margin-bottom: 7px; color: var(--ink); }

.corp-summary { position: sticky; top: 18px; overflow: hidden; }
.corp-summary__head { padding: 22px 22px 18px; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); }
.corp-summary__head p { margin: 7px 0 0; color: #c7d7e3; font-size: 12px; line-height: 1.5; }
.corp-vehicle { margin: 16px 0 0; padding: 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.07); }
.corp-vehicle__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.corp-truck { width: 60px; height: 34px; color: #7fe0d6; }
.corp-vehicle__name { font-size: 16px; font-weight: 800; text-align: right; }
.corp-vehicle__range { margin-top: 2px; color: #bfd1df; font-size: 11px; text-align: right; }
.corp-meter { height: 7px; margin-top: 14px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); }
.corp-meter span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #46c8bc, #9ce6c9); transition: width .28s; }
.corp-meter__label { display: flex; justify-content: space-between; margin-top: 7px; color: #c5d5e1; font-size: 10px; }
.corp-summary__body { padding: 19px 22px 22px; }
.corp-summary-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.corp-summary-line span { color: var(--muted); }
.corp-summary-line strong { text-align: right; }
.corp-selection { margin-top: 17px; }
.corp-selection__title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.corp-selection__list { max-height: 190px; overflow: auto; padding-right: 4px; }
.corp-selected-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 9px 0; color: #526075; border-bottom: 1px solid #eff2f5; font-size: 12px; }
.corp-selected-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.corp-selected-row b { color: var(--navy); }
.corp-selection__empty { padding: 17px 10px; color: var(--muted); background: #f7f9fb; border-radius: 10px; font-size: 12px; text-align: center; }
.corp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.corp-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid #d5dde6; border-radius: 10px; color: var(--navy); background: #fff; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.corp-btn:hover { border-color: #aab9c8; background: #f6f9fb; }
.corp-btn--primary { grid-column: 1 / -1; color: #fff; border-color: var(--teal); background: var(--teal); }
.corp-btn--primary:hover { color: #fff; background: #087b7d; }
.corp-btn--whatsapp { grid-column: 1 / -1; color: #fff; border-color: #20b35a; background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 9px 18px rgba(18,140,74,.18); }
.corp-btn--whatsapp:hover { color: #fff; border-color: #36df78; background: linear-gradient(135deg, #35df75, #159b52); }
.corp-btn--whatsapp svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.corp-note { margin: 15px 0 0; display: flex; gap: 9px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.corp-note svg { flex: 0 0 auto; width: 15px; margin-top: 1px; color: var(--teal); }

.corp-print-header, .corp-print-footer { display: none; }

.corp-footer { color: #8b98a8; background: #eaf0f5; border-top: 1px solid #dae2ea; }
.corp-footer__inner { padding: 25px 0; display: flex; justify-content: space-between; gap: 25px; font-size: 11px; line-height: 1.55; }
.corp-toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 11px 16px; color: #fff; background: #16263a; border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; }
.corp-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1120px) {
  .corp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .corp-layout { grid-template-columns: minmax(0,1fr) 310px; }
  .corp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .corp-header__inner, .corp-main, .corp-footer__inner { width: min(100% - 24px, 680px); }
  .corp-topbar { min-height: 65px; }
  .corp-status { display: none; }
  .corp-hero { grid-template-columns: 1fr; gap: 25px; padding: 34px 0 64px; }
  .corp-steps { grid-template-columns: repeat(3, 1fr); }
  .corp-step { grid-template-columns: 1fr; text-align: center; }
  .corp-step b { margin: auto; }
  .corp-layout { grid-template-columns: 1fr; }
  .corp-summary { position: static; }
  .corp-panel__title { display: grid; }
  .corp-search { width: 100%; }
  .corp-footer__inner { display: block; }
}
@media (max-width: 560px) {
  .corp-topbar { min-height: 0; position: relative; padding: 11px 0 14px; gap: 10px; }
  .corp-topbar__left { width: auto; flex: 1 1 auto; flex-wrap: nowrap; gap: 10px; }
  .corp-topbar__right { width: auto; flex: 0 0 auto; margin-left: auto; justify-content: flex-end; }
  .corp-brand__logo { width: 165px; height: 51px; }
  .corp-menu-toggle { display: inline-grid; }
  .corp-nav {
    position: absolute;
    z-index: 30;
    top: calc(100% + 10px);
    right: 0;
    width: min(245px, calc(100vw - 24px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(11,45,77,.98);
    box-shadow: 0 18px 38px rgba(0,0,0,.22);
  }
  .corp-topbar__right.is-menu-open .corp-nav { display: flex; }
  .corp-nav__link { width: 100%; min-width: 0; justify-content: flex-start; padding: 0 12px; font-size: 12px; }
  .corp-hero h1 { font-size: 34px; }
  .corp-hero__copy { font-size: 15px; }
  .corp-steps { grid-template-columns: 1fr; }
  .corp-step { grid-template-columns: 32px 1fr; text-align: left; }
  .corp-step b { margin: 0; }
  .corp-stats { grid-template-columns: 1fr; margin-top: -40px; }
  .corp-stat { padding: 17px 18px; }
  .corp-grid { grid-template-columns: 1fr; padding: 13px 15px 20px; }
  .corp-panel__head, .corp-tabs { padding-left: 15px; padding-right: 15px; }
  .corp-items-head { padding-left: 15px; padding-right: 15px; }
}

body.is-print-preview { background: #dfe6ed; }
body.is-print-preview .corp-app { min-height: 0; }
body.is-print-preview .corp-header,
body.is-print-preview .corp-footer,
body.is-print-preview .corp-toast,
body.is-print-preview .corp-layout > .corp-panel:not(.corp-summary) { display: none !important; }
body.is-print-preview .corp-main {
  width: 794px;
  min-height: 1080px;
  margin: 28px auto;
  padding: 42px 48px 34px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(23,37,59,.20);
}
body.is-print-preview .corp-print-header,
body.is-print-preview .corp-print-footer { display: flex; }
body.is-print-preview .corp-stats { grid-template-columns: 1fr 1fr; margin: 24px 0 20px; }
body.is-print-preview .corp-layout { display: block; }
body.is-print-preview .corp-summary { position: static; display: grid; grid-template-columns: .9fr 1.1fr; width: 100%; box-shadow: none; }
body.is-print-preview .corp-actions { display: none; }
body.is-print-preview .corp-selection__list { max-height: none; }

.corp-print-header {
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--navy);
}
.corp-print-header img { width: 148px; height: 51px; object-fit: contain; }
.corp-print-header__title { flex: 1; }
.corp-print-header__title span { color: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.corp-print-header__title h1 { margin: 5px 0 0; color: var(--navy); font-size: 20px; line-height: 1.15; letter-spacing: -.025em; }
.corp-print-date { min-width: 105px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-align: right; }
.corp-print-date span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.corp-print-date strong { display: block; margin-top: 4px; color: var(--navy); font-size: 12px; }
.corp-print-footer {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.55;
}
.corp-print-footer div { display: grid; }
.corp-print-footer div:last-child { text-align: right; }
.corp-print-footer strong { color: var(--navy); font-size: 11px; }

@page { size: A4 portrait; margin: 13mm; }
@media print {
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { background: #fff; }
  .corp-app { min-height: 0; }
  .corp-header, .corp-footer, .corp-toast, .corp-layout > .corp-panel:not(.corp-summary) { display: none !important; }
  .corp-main { width: 100%; margin: 0; padding: 0; }
  .corp-print-header, .corp-print-footer { display: flex; }
  .corp-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 16px; }
  .corp-stat { padding: 14px 16px; border-radius: 11px; box-shadow: none; break-inside: avoid; }
  .corp-stat__value { margin-top: 7px; font-size: 19px; }
  .corp-layout { display: block; }
  .corp-summary { position: static; display: grid; grid-template-columns: .9fr 1.1fr; width: 100%; border-radius: 14px; box-shadow: none; break-inside: avoid; }
  .corp-summary__head { padding: 18px; }
  .corp-summary__body { padding: 16px 18px; }
  .corp-actions { display: none !important; }
  .corp-selection__list { max-height: none; overflow: visible; }
  .corp-note { margin-top: 11px; }
}
