/* ============================================================
   Punto.3 — Hoja de estilos global
   Paleta basada en el logotipo Punto.3: carbón, azul y turquesa
   ============================================================ */

:root {
  /* Paleta del logotipo: negro carbón + azul turquesa + blanco */
  --hs-carbon-900: #0c0c0c;
  --hs-carbon-800: #141414;
  --hs-carbon-700: #1d1d1d;
  --hs-carbon-600: #262626;
  --hs-carbon-500: #333333;
  --hs-steel: #6b6b6b;
  --hs-red-700: #006b99;
  --hs-red-600: #007da8;
  --hs-red-500: #00a7d0;
  --hs-red-400: #3cc5e0;
  --hs-red-100: #e0f7fc;
  --hs-ink: #1a1a1a;
  --hs-muted: #6f6f6f;
  --hs-line: #e4e4e4;
  --hs-bg: #f7f7f7;
  --hs-card: #ffffff;
  --hs-amber: #e8a33d;
  --hs-red: #d95f5f;
  --hs-green: #3fae7a;
  --hs-violet: #7a6fd0;
  --hs-radius: 14px;
  --hs-radius-sm: 9px;
  --hs-shadow: 0 10px 30px rgba(12, 12, 12, 0.08);
  --hs-shadow-lg: 0 24px 60px rgba(12, 12, 12, 0.16);
  --hs-font-head: "Sora", "Segoe UI", sans-serif;
  --hs-font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--hs-font-body);
  color: var(--hs-ink);
  background: var(--hs-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--hs-font-head);
  line-height: 1.2;
  color: var(--hs-carbon-800);
}

img { max-width: 100%; display: block; }
a { color: var(--hs-red-600); text-decoration: none; }
a:hover { color: var(--hs-red-500); }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(0, 167, 208, 0.16), transparent 60%),
    linear-gradient(160deg, var(--hs-carbon-900), var(--hs-carbon-700));
  color: #ececec;
}
.section--dark::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  aspect-ratio: 1;
  right: -72px;
  top: 50%;
  border: 1px solid rgba(0, 167, 208, 0.2);
  border-radius: 42px;
  box-shadow: 0 0 0 42px rgba(0, 167, 208, 0.045);
  transform: translateY(-50%) rotate(45deg);
  animation: hs-orbit-section 30s linear infinite;
  will-change: transform;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--hs-red-500);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--hs-red-500), transparent);
  border-radius: 2px;
}
.section-head--center .eyebrow::before { display: none; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.section-sub { color: var(--hs-muted); margin-top: 12px; font-size: 1.02rem; }
.section--dark .section-sub { color: #b5b5b5; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--hs-font-head); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--hs-red-500), var(--hs-red-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 167, 208, 0.32);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(0, 167, 208, 0.42); transform: translateY(-2px); }

.btn--dark {
  background: var(--hs-carbon-800); color: #fff;
  box-shadow: 0 10px 24px rgba(12, 12, 12, 0.28);
}
.btn--dark:hover { color: var(--hs-red-400); transform: translateY(-2px); }

.btn--ghost {
  background: transparent; border-color: var(--hs-line); color: var(--hs-carbon-700);
}
.btn--ghost:hover { border-color: var(--hs-red-500); color: var(--hs-red-600); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); color: #fff;
}
.btn--ghost-light:hover { border-color: var(--hs-red-400); color: var(--hs-red-400); }

.btn--sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 9px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 247, 247, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hs-line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { display: block; height: 50px; width: auto; padding: 0; border-radius: 0; background: transparent; }
.brand-tag {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hs-muted); display: block; margin-top: -2px;
}
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  font-weight: 500; font-size: 0.94rem; color: var(--hs-carbon-700);
  padding: 9px 14px; border-radius: 9px; transition: background 0.15s, color 0.15s;
}
.main-nav a:hover { background: rgba(0, 167, 208, 0.07); color: var(--hs-red-600); }
.main-nav a.is-active { color: var(--hs-red-600); background: rgba(0, 167, 208, 0.09); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--hs-line); background: #fff; color: var(--hs-carbon-700);
  transition: border-color 0.15s, color 0.15s;
}
.cart-link:hover { border-color: var(--hs-red-500); color: var(--hs-red-600); }
.cart-link svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -7px; right: -7px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--hs-red-500); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 167, 208, 0.5);
}
.cart-badge.is-empty { display: none; }
.account-link {
  min-width: 0; height: 46px; padding: 5px 12px 5px 5px;
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--hs-line); border-radius: 9px;
  background: #fff; color: var(--hs-carbon-700);
  transition: border-color .15s, box-shadow .15s;
}
.account-link:hover { border-color: var(--hs-red-500); box-shadow: 0 5px 16px rgba(22, 22, 22, .08); }
.account-avatar {
  width: 34px; height: 34px; flex: none; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--hs-red-600); color: #fff;
  font: 700 .88rem var(--hs-font-head);
}
.account-copy { min-width: 0; display: grid; line-height: 1.15; }
.account-copy strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76rem; }
.account-copy small { margin-top: 3px; color: var(--hs-muted); font-size: .65rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--hs-line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; color: var(--hs-carbon-700);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Helpdesk autenticado ---------- */
.portal-shell { min-height: 100vh; background: #f3f4f6; }
.portal-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-panel { width: min(440px, 100%); padding: 38px; border-top: 4px solid var(--hs-red-500); }
.login-brand { margin-bottom: 28px; }
.login-brand img { height: 52px; }
.form-error { color: var(--hs-red-600); font-size: .86rem; margin: -6px 0 14px; }
.portal-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 20px; background: #fff; border-bottom: 1px solid var(--hs-line); position: sticky; top: 0; z-index: 20; }
.portal-user { display: flex; align-items: center; gap: 18px; }
.portal-user div { display: grid; text-align: right; }
.portal-user span { color: var(--hs-muted); font-size: .78rem; }
.portal-workspace { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.portal-sidebar { position: sticky; top: 68px; align-self: start; height: calc(100vh - 68px); overflow-y: auto; padding: 24px 14px; background: #151515; display: flex; flex-direction: column; gap: 5px; }
.portal-nav-label { padding: 0 12px 9px; color: #777; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portal-sidebar button { min-height: 43px; border: 0; border-radius: 10px; padding: 0 12px; text-align: left; font: 600 .84rem var(--hs-font-head); color: #c9c9c9; background: transparent; cursor: pointer; }
.portal-sidebar button:hover { color: #fff; background: #242424; }
.portal-sidebar button.is-active { color: #fff; background: #4a1517; }
.portal-sidebar button.is-active::before { content: ""; width: 3px; height: 18px; margin-left: -12px; border-radius: 0 3px 3px 0; background: var(--hs-red-500); }
.portal-sidebar button { display: flex; align-items: center; gap: 11px; }
.nav-icon { width: 18px; height: 18px; color: #9b9b9b; text-align: center; flex: none; }
.nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portal-sidebar button.is-active .nav-icon, .portal-sidebar button:hover .nav-icon { color: #fff; }
.portal-content { padding: 32px; min-width: 0; }
.portal-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.portal-title-row h1 { font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -0.035em; line-height: 1.15; }
.portal-subtitle { margin-top: 8px; color: var(--hs-muted); font-size: 0.95rem; }
.portal-actions { display: flex; align-items: flex-end; gap: 10px; flex: 0 0 auto; }
.period-control { display: grid; gap: 4px; color: var(--hs-muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.period-control select, .custom-period input { min-height: 42px; padding: 8px 11px; border: 1px solid #d9dcdf; border-radius: 7px; background: #fff; color: var(--hs-carbon-700); font: 500 .82rem var(--hs-font-body); text-transform: none; letter-spacing: 0; }
.custom-period { display: flex; gap: 8px; align-items: end; }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.portal-stats:empty { display: none; }
.portal-stats > div { padding: 16px 18px; background: #fff; border: 1px solid var(--hs-line); border-radius: 7px; display: grid; }
.report-table td:last-child, .report-table th:last-child { text-align: right; white-space: nowrap; }
.report-download { display: inline-flex; align-items: center; gap: 6px; }
.report-download svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--hs-line); border-radius: 8px; }
.report-toolbar > div { display: grid; gap: 4px; }
.report-toolbar strong { color: var(--hs-carbon-800); font: 700 .92rem var(--hs-font-head); }
.report-toolbar select { min-height: 40px; min-width: 210px; padding: 8px 11px; border: 1px solid #d9dcdf; border-radius: 7px; background: #fff; color: var(--hs-carbon-700); }
.report-home { display: grid; gap: 24px; }
.report-home__intro { padding: 8px 2px 0; }
.report-home__intro h2, .report-results-head h2 { margin: 5px 0 6px; color: var(--hs-carbon-900); font: 760 1.45rem/1.1 var(--hs-font-head); }
.report-home__intro p { margin: 0; color: var(--hs-muted); }
.report-catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.report-choice { min-height: 112px; padding: 20px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; text-align: left; color: var(--hs-carbon-900); background: #fff; border: 1px solid var(--hs-line); border-radius: 9px; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.report-choice:hover, .report-choice:focus-visible { border-color: #007da8; box-shadow: 0 10px 24px rgba(22, 24, 29, .08); transform: translateY(-2px); outline: none; }
.report-choice__icon { width: 42px; height: 42px; display: grid; place-items: center; color: #007da8; background: #e0f7fc; border-radius: 8px; font: 700 1.35rem/1 var(--hs-font-head); }
.report-choice span:nth-child(2) { display: grid; gap: 6px; }
.report-choice strong { font: 760 .98rem var(--hs-font-head); }
.report-choice small { color: var(--hs-muted); font-size: .8rem; line-height: 1.4; }
.report-choice__arrow { color: var(--hs-muted); font-size: 1.35rem; }
.report-results-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.report-results-head > div { display: grid; gap: 2px; }
.report-results-head h2 { margin: 0; font-size: 1.2rem; }
.statistics-toolbar { justify-content: flex-start; flex-wrap: wrap; }
.statistics-toolbar select { flex: 1 1 190px; }
.report-stat-list { display: grid; gap: 15px; }
.report-stat-row { display: grid; grid-template-columns: minmax(150px, 1fr) 42px; gap: 10px 16px; align-items: center; color: var(--hs-carbon-700); font-size: .85rem; }
.report-stat-row strong { color: var(--hs-carbon-900); font: 760 1rem var(--hs-font-head); text-align: right; }
.report-stat-row i { grid-column: 1 / -1; height: 8px; overflow: hidden; background: #edf0f3; border-radius: 8px; }
.report-stat-row i em { display: block; height: 100%; background: #007da8; border-radius: inherit; }
.portal-stats strong { font: 700 1.5rem var(--hs-font-head); }
.portal-stats span { color: var(--hs-muted); font-size: .8rem; }
.portal-loading { padding: 60px; color: var(--hs-muted); text-align: center; }
.dashboard-stat { min-height: 142px; padding: 18px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 8px 24px rgba(22, 24, 29, .05); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 14px; }
.dashboard-stat .stat-icon { grid-column: 2; grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #f0f2f5; color: #4e5967; font-style: normal; }
.dashboard-stat .stat-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-stat .stat-icon--alert { background: #e0f7fc; color: #b42318; }
.dashboard-stat .stat-icon--wait { background: #fff7e6; color: #996b00; }
.dashboard-stat .stat-icon--done { background: #eaf7ef; color: #287a4b; }
.dashboard-stat strong { align-self: center; font: 780 2rem var(--hs-font-head); line-height: 1; letter-spacing: -.04em; }
.dashboard-stat small { color: var(--hs-carbon-700); font-size: .82rem; }
.dashboard-stat em { color: var(--hs-muted); font-size: .72rem; font-style: normal; }
.dashboard-charts { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 16px; margin-bottom: 16px; }
.dashboard-panel { min-width: 0; padding: 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 8px 24px rgba(22, 24, 29, .05); }
.dashboard-panel .panel-head { margin-bottom: 16px; }
.dashboard-panel h2 { font-size: 1rem; }
.dashboard-panel .text-muted { margin-top: 4px; font-size: .8rem; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg text { font: 11px var(--hs-font-body); }
.chart-axis-text { fill: #848b94; }
.chart-grid-line { stroke: #edf0f3; stroke-width: 1; }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-line--received { stroke: #007da8; }
.chart-line--resolved { stroke: #34845a; }
.received-area { fill: url(#receivedAreaGradient); }
.chart-dot { fill: #fff; stroke-width: 2.5; }
.chart-dot--received { stroke: #007da8; }
.chart-dot--resolved { stroke: #34845a; }
.chart-legend { display: flex; gap: 18px; color: var(--hs-muted); font-size: .76rem; }
.legend-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #007da8; }
.legend-dot--resolved { background: #34845a; }
.status-chart { display: grid; gap: 16px; padding: 8px 0 4px; }
.status-bar > div { display: flex; justify-content: space-between; gap: 12px; color: var(--hs-carbon-700); font-size: .78rem; }
.status-bar strong { font-weight: 700; }
.status-track { display: block; height: 7px; margin-top: 6px; background: #eceef0; border-radius: 3px; overflow: hidden; }
.status-track i { display: block; height: 100%; background: #6e879d; border-radius: 3px; }
.attention-panel { padding-bottom: 8px; }
.table-empty { padding: 28px !important; color: var(--hs-muted); text-align: center; }
.portal-content > #portalView { padding: 0; background: transparent; border: 0; box-shadow: none; }
.ticket-filters { display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.ticket-filters input, .ticket-filters select { min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #d9dcdf; border-radius: 7px; background: #fff; color: var(--hs-carbon-700); }
.ticket-filters input:focus, .ticket-filters select:focus { outline: 0; border-color: var(--hs-red-500); box-shadow: 0 0 0 3px rgba(0, 167, 208, .08); }
.portal-dialog { width: min(640px, calc(100% - 30px)); max-height: 90vh; border: 0; border-radius: 8px; padding: 0; box-shadow: var(--hs-shadow-lg); }
.portal-dialog::backdrop { background: rgba(12, 12, 12, .66); }
.portal-dialog .panel { border: 0; box-shadow: none; max-height: 90vh; overflow-y: auto; }
.dialog-close { border: 0; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.dialog-close--small { font-size: 1.35rem; }
.ticket-success-dialog { width: min(430px, calc(100% - 30px)); }
.ticket-success-panel { padding: 34px; text-align: center; }
.ticket-success-mark { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #eaf7ef; color: #177245; font-size: 1.8rem; font-weight: 800; }
.ticket-success-panel h2 { margin: 10px 0 8px; color: var(--hs-carbon-900); }
.ticket-success-panel p { color: var(--hs-carbon-600); line-height: 1.55; }
.ticket-success-code { margin: 22px 0 12px; padding: 15px; border: 1px solid var(--hs-border); border-radius: 7px; background: var(--hs-bg); }
.ticket-success-code span { display: block; color: var(--hs-carbon-600); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ticket-success-code strong { display: block; margin-top: 5px; color: var(--hs-carbon-900); font-size: 1.45rem; }
.ticket-success-email { margin: 0 0 24px; font-size: .88rem; }
.ticket-dialog-head { margin-bottom: 24px; }
.ticket-dialog-head .eyebrow { display: block; margin-bottom: 4px; }
.ticket-context { padding: 18px; border: 1px solid rgba(47, 109, 179, .25); border-radius: 8px; background: #f7fafc; }
.ticket-context__intro, .ticket-section-label { display: flex; align-items: flex-start; gap: 12px; }
.ticket-context__intro h3, .ticket-section-label h3 { font-size: .98rem; }
.ticket-context__intro p, .quick-client-panel__head p { margin-top: 3px; color: var(--hs-muted); font-size: .8rem; }
.context-marker { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 50%; background: var(--hs-carbon-800); color: #fff; font: 700 .72rem var(--hs-font-head); }
.context-marker--muted { background: var(--hs-line); color: var(--hs-carbon-700); }
.ticket-client-field { margin: 18px 0 10px; }
.ticket-client-field select { border-color: rgba(47, 109, 179, .45); }
.ticket-client-current { margin: 18px 0 12px; padding: 12px 14px; border-left: 3px solid var(--hs-red-500); background: #fff; }
.ticket-client-current span { display: block; color: var(--hs-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.ticket-client-current strong { display: block; margin-top: 3px; }
.ticket-quick-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-asset-count { color: var(--hs-muted); font-size: .78rem; }
.quick-client-panel { margin-top: 16px; padding: 16px; border: 1px dashed rgba(47, 109, 179, .5); border-radius: 7px; background: #fff; }
.quick-client-panel__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.quick-client-panel .field { margin-bottom: 13px; }
.optional-label { color: var(--hs-muted); font-weight: 400; font-size: .74rem; }
.ticket-details { padding-top: 24px; }
.ticket-section-label { align-items: center; margin-bottom: 18px; }
.ticket-section-label h3 { margin: 0; }
.ticket-details .field { margin-bottom: 18px; }
.ticket-detail { margin-top: 20px; padding: 22px; border: 1px solid var(--hs-line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(22, 24, 29, .05); }
.ticket-detail__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hs-line); }
.ticket-detail__header h2 { margin-top: 3px; font-size: 1.28rem; }
.ticket-detail__header p { max-width: 820px; margin-top: 8px; color: var(--hs-steel); font-size: .88rem; line-height: 1.55; white-space: pre-wrap; }
.ticket-detail__code, .ticket-detail__section-head span { color: var(--hs-muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ticket-detail__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 18px; padding-top: 18px; }
.ticket-detail__main, .ticket-trace { min-width: 0; border: 1px solid var(--hs-line); border-radius: 8px; overflow: hidden; }
.ticket-detail__section-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid var(--hs-line); background: #f8f9fa; }
.ticket-detail__section-head h3 { margin-top: 2px; font-size: .95rem; }
.ticket-detail__section-head > strong { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 6px; background: #fff; border: 1px solid var(--hs-line); font-size: .75rem; }
.comment-list { display: grid; gap: 10px; height: clamp(260px, 34vh, 430px); margin: 0; padding: 14px; overflow-y: auto; overscroll-behavior: contain; background: #fff; }
.comment { width: min(82%, 680px); padding: 13px 14px; border: 1px solid var(--hs-line); background: var(--hs-bg); }
.comment--requester { justify-self: start; border-left: 3px solid #6e879d; border-radius: 3px 8px 8px 8px; }
.comment--support { justify-self: end; border-right: 3px solid var(--hs-red-500); border-radius: 8px 3px 8px 8px; background: #fff; }
.comment.is-internal { border-color: var(--hs-amber); background: #fff8e8; }
.comment--support .comment__head { flex-direction: row-reverse; }
.comment--support > p { text-align: right; }
.comment--support .comment-images { justify-content: end; }
.comment__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.comment__head span { color: var(--hs-muted); font-size: .72rem; white-space: nowrap; }
.comment > p { margin-top: 6px; white-space: pre-wrap; }
.comment-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 180px)); gap: 10px; margin-top: 12px; }
.comment-image { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--hs-line); border-radius: 6px; background: #fff; color: var(--hs-muted); font-size: .75rem; }
.comment-image img { width: 100%; height: 100%; object-fit: cover; }
.ticket-detail__empty { align-self: center; color: var(--hs-muted); text-align: center; }
.ticket-composer { padding: 14px 16px 16px; border-top: 1px solid var(--hs-line); background: #fbfbfc; }
.ticket-composer .field { margin-bottom: 12px; }
.ticket-composer textarea { min-height: 82px; }
.ticket-composer__footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; }
.ticket-composer__footer .attachment-input { margin: 0; }
.ticket-composer__actions { display: flex; align-items: center; gap: 14px; padding-bottom: 1px; }
.ticket-composer__actions .check-line { margin: 0; white-space: nowrap; }
.ticket-trace { background: #fff; }
.ticket-trace__scroll { height: clamp(430px, 55vh, 620px); padding: 18px 16px; overflow-y: auto; overscroll-behavior: contain; }
.ticket-trace .timeline { margin: 0; }
.field-help { color: var(--hs-muted); font-size: .76rem; }
.attachment-input { margin-bottom: 14px; }
.check-line { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; font-size: .86rem; }
.user-actions { display: flex; flex-wrap: wrap; gap: 6px; min-width: 170px; }
.user-status { display: grid; gap: 3px; }
.user-status small { color: var(--hs-muted); font-size: .72rem; }
.status-warning { margin-bottom: 16px; padding: 12px 14px; border-left: 3px solid var(--hs-red-500); background: #e0f7fc; color: var(--hs-red-600); font-size: .84rem; }
.chip--suspended { background: #fff3d6; color: #825600; }
.chip--disabled { background: #ececec; color: #4b4b4b; }

@media (max-width: 760px) {
  .portal-topbar { height: auto; padding: 14px 4%; }
  .portal-topbar .brand img { height: 36px; }
  .portal-user div { display: none; }
  .portal-workspace { display: block; }
  .portal-sidebar { position: static; height: auto; padding: 8px 4%; flex-direction: row; overflow-x: auto; }
  .portal-sidebar button { white-space: nowrap; }
  .portal-content { padding: 24px 4%; }
  .portal-title-row { align-items: center; }
  .portal-title-row h1 { font-size: 1.35rem; }
  .portal-stats { grid-template-columns: repeat(3, 1fr); }
  .portal-stats > div { padding: 12px; }
  .ticket-detail { padding: 16px; }
  .ticket-detail__header { align-items: flex-start; }
  .ticket-detail__grid { grid-template-columns: 1fr; }
  .comment-list, .ticket-trace__scroll { height: auto; max-height: none; overflow: visible; }
  .ticket-composer__footer { grid-template-columns: 1fr; }
  .ticket-composer__actions { justify-content: space-between; }
  .comment { width: 92%; }
  .comment__head, .comment--support .comment__head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .comment--support .comment__head { align-items: flex-end; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 90% -20%, rgba(0, 167, 208, 0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(155deg, var(--hs-carbon-900) 0%, var(--hs-carbon-700) 100%);
  color: #ececec;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 167, 208, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 167, 208, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(800px 500px at 70% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
  align-items: center; padding: 96px 0 88px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(0, 167, 208, 0.14); border: 1px solid rgba(0, 167, 208, 0.4);
  color: var(--hs-red-400); font-size: 0.8rem; font-weight: 600;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hs-red-500);
  box-shadow: 0 0 10px var(--hs-red-500); animation: pulse 2.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.01em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--hs-red-500), var(--hs-red-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: #bdbdbd; font-size: 1.12rem; margin: 20px 0 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px; flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block; font-family: var(--hs-font-head);
  font-size: 1.7rem; color: #fff;
}
.hero-stats .stat span { font-size: 0.85rem; color: #9a9a9a; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-hex {
  width: min(340px, 80%); aspect-ratio: 1;
  display: grid; place-items: center; position: relative;
}
.hero-hex::before, .hero-hex::after {
  content: ""; position: absolute; inset: 0; border-radius: 28px;
  border: 1px solid rgba(0, 167, 208, 0.4);
  animation: spin 26s linear infinite;
}
.hero-hex::after { inset: 12%; animation-duration: 18s; animation-direction: reverse; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-hex img {
  width: 62%; filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.45));
  animation: float 5.5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.hero-carousel { position: relative; }
.hero-slide { display: none; animation: hero-slide-in .45s ease both; }
.hero-slide.is-active { display: block; }
.hero-controls {
  position: absolute; z-index: 2; right: max(4%, calc((100% - 1180px) / 2)); bottom: 24px;
  display: flex; align-items: center; gap: 13px;
}
.hero-control, .hero-dot {
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(10, 10, 10, .35); color: #fff;
  cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-control { width: 34px; height: 34px; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.hero-control:hover, .hero-dot:hover { background: var(--hs-red-500); border-color: var(--hs-red-500); transform: translateY(-2px); }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; }
.hero-dot.is-active { width: 26px; border-radius: 999px; background: var(--hs-red-500); border-color: var(--hs-red-500); }
.hero-offer-note { margin-top: 42px; color: #c1c1c1; font-size: .92rem; }
.hero-offer-note strong { color: #fff; }
.hero-visual--offer { min-height: 340px; align-items: center; isolation: isolate; }
.hero-visual--offer::before, .hero-visual--offer::after { content: ""; position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 28px; animation: spin 26s linear infinite; }
.hero-visual--offer::before { width: min(390px, 82%); border: 1px solid rgba(0, 167, 208, .38); background: radial-gradient(circle, rgba(0, 167, 208, .15), transparent 64%); }
.hero-visual--offer::after { width: min(305px, 64%); border: 1px dashed rgba(0, 167, 208, .34); animation-duration: 18s; animation-direction: reverse; }
.hero-product-image { display: block; position: relative; z-index: 1; width: min(390px, 86%); height: auto; object-fit: contain; filter: drop-shadow(0 28px 24px rgba(0, 0, 0, .62)) drop-shadow(0 0 20px rgba(0, 167, 208, .16)); }
.hero-product-image--diagnostic { width: min(370px, 82%); }
.hero-product-image--memory { width: min(410px, 90%); }
@keyframes hero-slide-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.contact-portal-option { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 22px; color: var(--hs-carbon-700); cursor: pointer; }
.contact-portal-option input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--hs-red-500); }
.contact-portal-option span { display: grid; gap: 3px; font-size: .92rem; }
.contact-portal-option small { color: var(--hs-steel); font-size: .8rem; }
.commerce-tabs { display:flex; gap:4px; margin-bottom:24px; border-bottom:1px solid var(--hs-line); }
.commerce-tabs button { padding:12px 18px; border:0; border-bottom:3px solid transparent; background:none; font-weight:700; cursor:pointer; }
.commerce-tabs button.is-active { color:var(--hs-red-600); border-color:var(--hs-red-500); }
.commerce-promotion-grid { display:grid; gap:28px; }
.commerce-editor { display:grid; grid-template-columns:minmax(320px,.9fr) minmax(360px,1.1fr); gap:26px; padding:24px; border:1px solid var(--hs-line); border-radius:8px; background:#fff; }
.commerce-editor-head,.commerce-toolbar,.commerce-product-actions,.commerce-checks { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.commerce-editor-head span,.preview-label { color:var(--hs-red-600); font-size:.72rem; font-weight:800; letter-spacing:.08em; }
.switch-label,.commerce-checks label { display:flex; align-items:center; gap:7px; font-size:.86rem; font-weight:700; }
.commerce-preview { position:sticky; top:90px; align-self:start; }
.commerce-slide-preview { min-height:360px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:20px; margin-top:10px; padding:32px; overflow:hidden; color:#eee; border-radius:8px; background:radial-gradient(500px 250px at 90% 0,rgba(0,167,208,.18),transparent 60%),linear-gradient(155deg,#0d0d0e,#222); }
.commerce-slide-preview small { display:block; margin-bottom:16px; color:var(--hs-red-400); font-weight:700; }
.commerce-slide-preview h3 { color:#fff; font-size:clamp(1.6rem,2.5vw,2.4rem); line-height:1.08; }
.commerce-slide-preview h3 span { color:var(--hs-red-400); }
.commerce-slide-preview p { margin:16px 0; color:#bbb; font-size:.88rem; }
.commerce-slide-preview b,.commerce-slide-preview i { display:inline-block; margin:0 6px 14px 0; padding:9px 12px; border-radius:5px; font-size:.75rem; font-style:normal; }
.commerce-slide-preview b { background:var(--hs-red-500); color:#fff; }.commerce-slide-preview i { border:1px solid #555; }
.commerce-slide-preview em { display:block; color:#bbb; font-size:.75rem; font-style:normal; }.commerce-slide-preview em strong{color:#fff}.commerce-slide-preview img{width:100%;max-height:240px;object-fit:contain;filter:drop-shadow(0 18px 20px #000)}
.commerce-toolbar { margin-bottom:20px; }.commerce-toolbar p{color:var(--hs-steel);font-size:.88rem}
.commerce-products { display:grid; gap:16px; }.commerce-product{display:grid;grid-template-columns:150px 1fr;gap:22px;padding:20px;border:1px solid var(--hs-line);border-radius:8px;background:#fff}.commerce-product-preview{display:grid;place-items:center;min-height:140px;background:#f4f5f6;border:1px dashed #ccc;border-radius:6px;color:var(--hs-steel);font-size:.8rem}.commerce-product-preview img{max-width:100%;max-height:140px;object-fit:contain}.commerce-product-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.commerce-checks{justify-content:flex-start;margin:8px 0 16px}.commerce-product-actions{justify-content:flex-start}
@media(max-width:900px){.commerce-editor{grid-template-columns:1fr}.commerce-preview{position:static}.commerce-product{grid-template-columns:1fr}.commerce-product-preview{min-height:180px}}
@media(max-width:600px){.commerce-slide-preview{grid-template-columns:1fr;padding:22px}.commerce-slide-preview img{max-height:170px}.commerce-product-numbers{grid-template-columns:1fr}.commerce-toolbar{align-items:flex-start;flex-direction:column}}

/* ---------- Tarjetas de servicios ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--hs-card); border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius); box-shadow: var(--hs-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--hs-shadow-lg); border-color: rgba(0, 167, 208, 0.35); }

.service-card { padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(0, 167, 208, 0.1), rgba(12, 12, 12, 0.06));
  color: var(--hs-red-600);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; }
.service-card p { color: var(--hs-muted); font-size: 0.93rem; flex: 1; }
.service-card ul { list-style: none; margin: 4px 0 8px; display: grid; gap: 7px; }
.service-card ul li {
  font-size: 0.87rem; color: var(--hs-steel);
  padding-left: 20px; position: relative;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--hs-red-500); transform: rotate(45deg);
}
.card-link {
  font-weight: 600; font-size: 0.9rem; color: var(--hs-red-600);
  display: inline-flex; align-items: center; gap: 7px;
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.18s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- Productos ---------- */
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  position: relative; aspect-ratio: 4 / 3;
  background:
    linear-gradient(rgba(0, 167, 208, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 167, 208, 0.035) 1px, transparent 1px),
    linear-gradient(150deg, #f4f4f4, #e7e7e7);
  background-size: 28px 28px, 28px 28px, auto;
  display: grid; place-items: center; overflow: hidden;
}
.product-media::before {
  content: "";
  position: absolute;
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 167, 208, 0.18);
  border-radius: 18px;
  transform: rotate(45deg);
  animation: hs-orbit-product 18s linear infinite;
  transition: transform 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}
.product-card:hover .product-media::before { border-color: rgba(0, 167, 208, 0.42); animation-duration: 8s; }
.product-media svg.product-illu { position: relative; z-index: 1; width: 42%; height: auto; color: var(--hs-steel); opacity: 0.9; }
.product-media img.product-image { position:relative; z-index:1; width:78%; height:78%; object-fit:contain; }
.product-detail .product-media img.product-image--detail { width:86%; height:86%; filter:drop-shadow(0 16px 20px rgba(0,0,0,.14)); }
.product-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hs-red-600);
}
.product-body h3 { font-size: 1.02rem; line-height: 1.35; }
.product-body h3 a { color: inherit; }
.product-body h3 a:hover { color: var(--hs-red-600); }
.product-desc { font-size: 0.86rem; color: var(--hs-muted); flex: 1; }
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; gap: 10px;
}
.price { font-family: var(--hs-font-head); font-weight: 700; font-size: 1.15rem; color: var(--hs-carbon-800); }
.price small { font-size: 0.75rem; color: var(--hs-muted); font-weight: 500; display: block; }

/* ---------- Chips de estado / disponibilidad ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--nuevo { background: #e3f0fd; color: #2f6db3; }
.chip--progreso { background: #fdf1dc; color: #b97b1e; }
.chip--pendiente { background: #efeafc; color: var(--hs-violet); }
.chip--resuelto { background: #e0f5ec; color: var(--hs-green); }
.chip--cerrado { background: #e8edf0; color: var(--hs-muted); }
.chip--stock { background: #e0f5ec; color: var(--hs-green); }
.chip--bajo { background: #fdf1dc; color: #b97b1e; }
.chip--agotado { background: #fbe4e4; color: var(--hs-red); }
.chip--alta { background: #fbe4e4; color: var(--hs-red); }
.chip--media { background: #fdf1dc; color: #b97b1e; }
.chip--baja { background: #e3f0fd; color: #2f6db3; }
.chip--critica { background: var(--hs-red); color: #fff; }

/* ---------- Filtros ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 32px;
}
.filter-bar .search-input { flex: 1; min-width: 220px; }
.chip-filter {
  border: 1px solid var(--hs-line); background: #fff; color: var(--hs-steel);
  font-family: var(--hs-font-body); font-weight: 600; font-size: 0.85rem;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: all 0.15s;
}
.chip-filter:hover { border-color: var(--hs-red-500); color: var(--hs-red-600); }
.chip-filter.is-active {
  background: var(--hs-carbon-800); border-color: var(--hs-carbon-800); color: #fff;
}

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--hs-carbon-700); }
.field input, .field select, .field textarea, .search-input input {
  font-family: var(--hs-font-body); font-size: 0.95rem; color: var(--hs-ink);
  padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--hs-line); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input input:focus {
  outline: none; border-color: var(--hs-red-500);
  box-shadow: 0 0 0 4px rgba(0, 167, 208, 0.12);
}
.search-input { position: relative; }
.search-input svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--hs-muted); pointer-events: none;
}
.search-input input { padding-left: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% -30%, rgba(0, 167, 208, 0.17), transparent 60%),
    linear-gradient(150deg, var(--hs-carbon-900), var(--hs-carbon-700));
  color: #fff; padding: 68px 0;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  aspect-ratio: 1;
  right: 9%;
  top: 50%;
  border: 1px solid rgba(0, 167, 208, 0.38);
  border-radius: 34px;
  box-shadow: 0 0 0 28px rgba(0, 167, 208, 0.055);
  transform: translateY(-50%) rotate(45deg);
  animation: hs-orbit-hero 24s linear infinite;
  will-change: transform;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 64px;
  right: calc(9% + 40px);
  top: 50%;
  background: url("../Logo/punto3_coni3.png") center / contain no-repeat;
  opacity: 0.5;
  transform: translateY(-50%);
  animation: hs-logo-float 5.5s ease-in-out infinite;
  will-change: transform;
  filter: saturate(0.9);
}
.page-hero > .container { position: relative; z-index: 1; padding-right: min(31vw, 350px); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero p { color: #b5b5b5; margin-top: 12px; max-width: 620px; }
.breadcrumb { font-size: 0.82rem; color: #969696; margin-bottom: 16px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--hs-red-400); }

/* ---------- Superficie de marca ---------- */
.brand-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.brand-surface::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  aspect-ratio: 1;
  right: -54px;
  bottom: -76px;
  border: 1px solid rgba(0, 167, 208, 0.34);
  border-radius: 24px;
  box-shadow: 0 0 0 22px rgba(0, 167, 208, 0.055);
  transform: rotate(45deg);
  animation: hs-orbit-surface 22s linear infinite reverse;
  will-change: transform;
}

@keyframes hs-orbit-hero {
  from { transform: translateY(-50%) rotate(45deg); }
  to { transform: translateY(-50%) rotate(405deg); }
}
@keyframes hs-logo-float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}
@keyframes hs-orbit-section {
  from { transform: translateY(-50%) rotate(45deg); }
  to { transform: translateY(-50%) rotate(405deg); }
}
@keyframes hs-orbit-product {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
@keyframes hs-orbit-surface {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* ---------- Detalle de producto ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.product-detail .product-media { border-radius: var(--hs-radius); border: 1px solid var(--hs-line); }
.detail-price { font-size: 2rem; font-family: var(--hs-font-head); font-weight: 800; color: var(--hs-carbon-800); }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 20px; align-items: center; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 26px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 11px 14px; font-size: 0.9rem;
  border-bottom: 1px solid var(--hs-line);
}
.spec-table th { color: var(--hs-muted); font-weight: 600; width: 40%; }
.qty-selector {
  display: inline-flex; align-items: center; border: 1px solid var(--hs-line);
  border-radius: 11px; overflow: hidden; background: #fff;
}
.qty-selector button {
  width: 40px; height: 44px; border: none; background: transparent;
  font-size: 1.1rem; cursor: pointer; color: var(--hs-carbon-700);
}
.qty-selector button:hover { background: var(--hs-bg); color: var(--hs-red-600); }
.qty-selector input {
  width: 52px; text-align: center; border: none; font-size: 1rem;
  font-family: var(--hs-font-head); font-weight: 600;
}
.qty-selector input:focus { outline: none; }

/* ---------- Carrito ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px;
  padding: 20px; align-items: center;
}
.cart-item + .cart-item { border-top: 1px solid var(--hs-line); }
.cart-thumb {
  width: 92px; height: 92px; border-radius: 12px;
  background: linear-gradient(150deg, #f2f2f2, #e6e6e6);
  display: grid; place-items: center;
}
.cart-thumb svg { width: 55%; color: var(--hs-steel); }
.cart-thumb img { width:88%; height:88%; object-fit:contain; }
.cart-item h4 { font-size: 0.98rem; }
.cart-item .unit { font-size: 0.82rem; color: var(--hs-muted); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.link-danger {
  background: none; border: none; cursor: pointer;
  color: var(--hs-red); font-size: 0.82rem; font-weight: 600;
}
.link-danger:hover { text-decoration: underline; }
.summary-card { padding: 28px; position: sticky; top: 96px; }
.summary-card h3 { margin-bottom: 18px; }
.summary-row {
  display: flex; justify-content: space-between; font-size: 0.94rem;
  padding: 8px 0; color: var(--hs-steel);
}
.summary-row.total {
  border-top: 1px solid var(--hs-line); margin-top: 10px; padding-top: 16px;
  font-family: var(--hs-font-head); font-weight: 700; font-size: 1.2rem; color: var(--hs-carbon-800);
}
.summary-note { font-size: 0.8rem; color: var(--hs-muted); margin-top: 14px; }
.paypal-panel { margin-top: 16px; }
.paypal-conversion { display: grid; gap: 4px; margin-bottom: 12px; padding: 11px 12px; border-left: 3px solid var(--hs-red-500); background: #f5f6f7; }
.paypal-conversion strong { color: var(--hs-carbon-900); font-size: .86rem; }
.paypal-conversion span, .paypal-status { color: var(--hs-muted); font-size: .72rem; }
.paypal-status:not(:empty) { margin-top: 10px; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state svg { width: 70px; height: 70px; color: var(--hs-line); margin: 0 auto 18px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--hs-muted); margin-bottom: 24px; }

/* ---------- Portal / dashboards ---------- */
.portal-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid var(--hs-line); margin-bottom: 32px;
}
.portal-tabs a, .portal-tabs button {
  font-family: var(--hs-font-head); font-weight: 600; font-size: 0.92rem;
  color: var(--hs-muted); padding: 13px 20px; border: none; background: none;
  cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.portal-tabs a:hover, .portal-tabs button:hover { color: var(--hs-red-600); }
.portal-tabs .is-active { color: var(--hs-red-600); border-bottom-color: var(--hs-red-500); }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.stat-card { padding: 22px; display: flex; align-items: center; gap: 16px; }
.stat-card .stat-icon {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
}
.stat-card .stat-icon svg { width: 22px; height: 22px; }
.stat-card strong { font-family: var(--hs-font-head); font-size: 1.5rem; display: block; line-height: 1.1; }
.stat-card span { font-size: 0.82rem; color: var(--hs-muted); }
.tint-red-teal { background: rgba(0, 167, 208, 0.1); color: var(--hs-red-600); }
.tint-amber { background: rgba(232, 163, 61, 0.15); color: #b97b1e; }
.tint-blue { background: rgba(47, 109, 179, 0.12); color: #2f6db3; }
.tint-green { background: rgba(63, 174, 122, 0.13); color: var(--hs-green); }
.tint-red { background: rgba(217, 95, 95, 0.12); color: var(--hs-red); }
.tint-violet { background: rgba(122, 111, 208, 0.13); color: var(--hs-violet); }

.panel { padding: 26px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 20px; flex-wrap: wrap;
}
.panel-head h2, .panel-head h3 { font-size: 1.15rem; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hs-muted); font-weight: 700; padding: 12px 14px;
  border-bottom: 2px solid var(--hs-line);
}
.data-table td { padding: 14px; font-size: 0.9rem; border-bottom: 1px solid var(--hs-line); vertical-align: middle; }
.data-table tbody tr { transition: background 0.12s; }
.data-table tbody tr:hover { background: rgba(0, 167, 208, 0.04); }
.table-wrap { overflow-x: auto; }

.ticket-id { font-family: var(--hs-font-head); font-weight: 700; color: var(--hs-carbon-700); font-size: 0.86rem; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: var(--hs-carbon-800); color: var(--hs-red-400);
  font-size: 0.75rem; font-weight: 700; font-family: var(--hs-font-head);
}
.assignee { display: flex; align-items: center; gap: 9px; font-size: 0.87rem; }

.progress-track { height: 7px; border-radius: 99px; background: var(--hs-line); overflow: hidden; min-width: 90px; }
.progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--hs-red-600), var(--hs-red-400)); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 28px; }
.timeline li { position: relative; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: -20px; top: 18px; bottom: -6px;
  width: 2px; background: var(--hs-line); border-radius: 2px;
}
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--hs-red-500);
}
.timeline li.timeline-event--closed::before { background: var(--hs-red-500); border-color: var(--hs-red-500); box-shadow: 0 0 0 4px #fff; }
.timeline li.timeline-event--closed .t-title { color: var(--hs-red-600); }
.timeline li.timeline-event--reopened::before { background: #fff; border-color: #b7791f; }
.timeline li.timeline-event--reopened .t-title { color: #8a5a12; }
.timeline li.is-muted::before { border-color: var(--hs-line); }
.timeline .t-date { font-size: 0.76rem; color: var(--hs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline .t-title { font-weight: 600; color: var(--hs-carbon-800); margin: 2px 0; }
.timeline .t-desc { font-size: 0.87rem; color: var(--hs-muted); }

/* ---------- Equipos ---------- */
.device-card { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.device-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, rgba(0, 167, 208, 0.1), rgba(12, 12, 12, 0.06));
  display: grid; place-items: center; color: var(--hs-red-600);
}
.device-icon svg { width: 24px; height: 24px; }
.device-card h4 { font-size: 0.98rem; }
.device-card .serial { font-size: 0.78rem; color: var(--hs-muted); font-family: monospace; }
.device-card .device-meta { font-size: 0.84rem; color: var(--hs-steel); margin-top: 4px; }

/* ---------- FAQ / acordeón ---------- */
.faq-item { border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm); background: #fff; overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--hs-font-head); font-weight: 600;
  font-size: 0.97rem; color: var(--hs-carbon-800);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q svg { width: 18px; height: 18px; flex: none; color: var(--hs-red-600); transition: transform 0.2s; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--hs-muted); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(170deg, var(--hs-carbon-900), #050505);
  color: #a8a8a8; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 64px 0 44px;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #a8a8a8; font-size: 0.9rem; }
.site-footer a:hover { color: var(--hs-red-400); }
.footer-brand img { height: 52px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 300px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--hs-red-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0; font-size: 0.82rem;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- Toast ---------- */
.toast-zone { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: grid; gap: 10px; }
.toast {
  background: var(--hs-carbon-800); color: #fff;
  padding: 14px 20px; border-radius: 12px; font-size: 0.9rem;
  display: flex; align-items: center; gap: 11px;
  box-shadow: var(--hs-shadow-lg);
  border-left: 4px solid var(--hs-red-500);
  animation: toast-in 0.28s ease;
}
.toast svg { width: 18px; height: 18px; color: var(--hs-red-400); flex: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 18px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 40px; }
.mb-3 { margin-bottom: 28px; }
.text-muted { color: var(--hs-muted); }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.hidden { display: none !important; }
.divider { border: none; border-top: 1px solid var(--hs-line); margin: 36px 0; }

/* ---------- Selects dentro de tablas ---------- */
.data-table select {
  font-family: var(--hs-font-body); font-size: 0.85rem; color: var(--hs-carbon-700);
  padding: 8px 12px; border-radius: 9px; border: 1px solid var(--hs-line);
  background: #fff; cursor: pointer; max-width: 150px;
}
.data-table select:focus {
  outline: none; border-color: var(--hs-red-500);
  box-shadow: 0 0 0 3px rgba(0, 167, 208, 0.12);
}

/* ---------- Chips restantes / tintes ---------- */
.tint-blue { background: rgba(38, 38, 38, 0.08); color: var(--hs-carbon-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  #contactGrid, #supportGrid, #adminGrid { grid-template-columns: 1fr !important; }
  .page-hero > .container { padding-right: min(34vw, 300px); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 64px; gap: 44px; }
  .hero-visual { order: -1; }
  .hero-hex { width: min(240px, 60%); }
  .hero-visual--offer { min-height: 250px; }
  .hero-visual--offer::before { width: min(300px, 60%); }
  .hero-visual--offer::after { width: min(235px, 47%); }
  .hero-product-image { width: min(350px, 68%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .page-hero::before, .page-hero::after { display: none; }
  .page-hero > .container { padding-right: 0; }
  .section--dark::before { width: 210px; right: -120px; opacity: 0.7; }
  .header-inner { height: 66px; gap: 14px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--hs-line);
    padding: 12px 4%; box-shadow: var(--hs-shadow-lg);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .header-actions .btn { display: none; }
  .account-link { width: 44px; height: 44px; padding: 4px; justify-content: center; }
  .account-copy { display: none; }
  .header-actions { margin-left: auto; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 22px; }
  .hero-controls { right: 4%; bottom: 18px; }
  .hero-offer-note { margin-top: 32px; }
  .hero-visual--offer { min-height: 190px; }
  .hero-visual--offer::before { width: 210px; }
  .hero-visual--offer::after { width: 164px; }
  .hero-product-image { width: min(300px, 84%); }
  .portal-tabs a, .portal-tabs button { padding: 11px 13px; font-size: 0.85rem; }
  .portal-title-row { align-items: flex-start; flex-direction: column; }
  .portal-actions { width: 100%; }
  .portal-actions .btn { flex: 1; }
  .portal-actions { flex-wrap: wrap; }
  .period-control { flex: 1; min-width: 150px; }
  .custom-period { width: 100%; }
  .custom-period input { flex: 1; min-width: 0; }
  .portal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-charts { grid-template-columns: 1fr; }
  .report-catalog { grid-template-columns: 1fr; }
  .report-results-head { align-items: flex-start; flex-wrap: wrap; }
  .report-results-head > div { flex: 1 1 180px; }
  .statistics-toolbar { display: grid; grid-template-columns: 1fr; }
  .statistics-toolbar select { width: 100%; }
  .ticket-filters { grid-template-columns: 1fr 1fr; }
  .ticket-filters input { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .portal-stats { grid-template-columns: 1fr; }
  .ticket-filters { grid-template-columns: 1fr; }
  .ticket-filters input { grid-column: auto; }
  .dashboard-panel { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-hex::before,
  .hero-hex::after,
  .hero-visual--offer::before,
  .hero-visual--offer::after,
  .hero-hex img,
  .page-hero::before,
  .page-hero::after,
  .section--dark::before,
  .product-media::before,
  .brand-surface::after {
    animation: none !important;
  }
}

/* ---------- Refinamiento de formularios administrativos ---------- */
.portal-dialog {
  width: min(760px, calc(100% - 48px));
  max-height: 88vh;
  border: 1px solid #d7d9dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(12, 12, 12, 0.24);
}
.portal-dialog::backdrop { background: rgba(12, 12, 12, 0.58); }
.portal-dialog .panel {
  max-height: 88vh;
  padding: 32px 36px 28px;
  overflow-y: auto;
}
.portal-dialog .panel-head {
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--hs-line);
}
.portal-dialog .panel-head h2 { font-size: 1.3rem; letter-spacing: -0.01em; }
.portal-dialog .dialog-close {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: var(--hs-muted);
  font-size: 1.5rem;
}
.portal-dialog .dialog-close:hover { background: var(--hs-bg); color: var(--hs-carbon-800); }
.portal-dialog .field { margin-bottom: 16px; }
.portal-dialog .field > label { font-size: 0.78rem; font-weight: 700; color: var(--hs-carbon-700); }
.portal-dialog input,
.portal-dialog select,
.portal-dialog textarea {
  min-height: 44px;
  border-color: #d5d8dc;
  border-radius: 7px;
  background: #fff;
}
.portal-dialog input:focus,
.portal-dialog select:focus,
.portal-dialog textarea:focus {
  border-color: var(--hs-red-500);
  box-shadow: 0 0 0 3px rgba(0, 167, 208, 0.1);
}
#recordFields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
}
#recordFields > .field:first-child,
#recordFields > .field:nth-child(2) { grid-column: span 1; }
#recordFields > .field:has(select[name="organizationId"]),
#recordFields > .field:has(textarea) { grid-column: 1 / -1; }
.portal-dialog form > .btn--block { margin-top: 10px; }
.portal-shell .btn--primary { background: #007da8; box-shadow: none; border-radius: 7px; }
.portal-shell .btn--primary:hover { background: #006b91; box-shadow: none; transform: none; }
.portal-dialog form > .btn--block {
  position: sticky;
  bottom: -1px;
  z-index: 2;
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid var(--hs-line);
  background: #007da8;
  border-top-color: #007da8;
  color: #fff;
}
.user-actions { min-width: 190px; gap: 7px; }
.user-actions .btn--sm { padding: 7px 11px; font-size: 0.78rem; border-radius: 6px; }

@media (max-width: 620px) {
  .portal-dialog { width: calc(100% - 20px); max-height: 92vh; }
  .portal-dialog .panel { max-height: 92vh; padding: 24px 20px 22px; }
  #recordFields { display: block; }
  .portal-dialog .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Acceso administrativo ---------- */
.portal-login { width: 100%; min-width: 0; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); padding: 0; background: #f4f5f7; }
.login-story { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px); background: linear-gradient(90deg, rgba(8, 14, 19, .94) 0%, rgba(8, 14, 19, .78) 48%, rgba(8, 14, 19, .42) 100%), url("../slide/login-soporte-punto3.png") center / cover no-repeat; border-right: 1px solid #182d36; }
.login-story::before, .login-story::after { content: ""; position: absolute; z-index: 0; pointer-events: none; aspect-ratio: 1; border: 1px solid rgba(0, 190, 232, .38); border-radius: 28px; transform: translateY(-50%) rotate(45deg); animation: portal-diamond-spin 26s linear infinite; }
.login-story::before { width: min(360px, 44vw); right: -112px; top: 50%; }
.login-story::after { width: min(245px, 31vw); right: -12px; top: 50%; border-style: dashed; border-color: rgba(0, 190, 232, .30); animation-duration: 18s; animation-direction: reverse; }
@keyframes portal-diamond-spin { to { transform: translateY(-50%) rotate(405deg); } }
.login-story__brand { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.login-story__brand img { width: auto; height: 52px; }
.login-story__copy { position: relative; z-index: 1; width: min(100%, 610px); margin-top: clamp(90px, 15vh, 170px); }
.login-kicker, .login-access-label { display: flex; align-items: center; gap: 9px; color: #007da8; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.login-story .login-kicker { margin-bottom: 14px; color: #57d5ed; }
.login-kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.login-story__copy h1 { color: #fff; max-width: 570px; font-size: clamp(38px, 4vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.login-story__lead { max-width: 540px; margin-top: 22px; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.65; }
.login-service-flow { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; margin-top: 48px; color: rgba(255,255,255,.88); font-size: 12px; font-weight: 750; }
.login-service-flow span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.login-service-flow i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(0, 167, 208, .18); color: #69e0f4; box-shadow: 0 3px 10px rgba(0,0,0,.18); font-style: normal; }
.login-service-flow svg, .login-access-label svg, .login-security-note svg, .login-input-icon, .reveal-password svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-service-flow svg { width: 15px; height: 15px; }
.login-service-flow b { width: 30px; height: 1px; background: rgba(87,213,237,.55); }
.login-form-panel { display: grid; align-items: center; padding: clamp(36px, 6vw, 92px); background: #fff; }
.login-form { width: min(100%, 430px); margin: 0 auto; }
.login-access-label { margin-bottom: 13px; color: #697079; }
.login-access-label svg { color: #007da8; }
.login-form h2 { margin: 0; font-size: 34px; line-height: 1.16; letter-spacing: -.04em; }
.login-form-intro { margin: 10px 0 31px; color: #697079; font-size: 14px; line-height: 1.55; }
.login-form .field { display: grid; gap: 8px; margin-top: 18px; }
.login-form .field label { color: #25282d; font-size: 13px; font-weight: 750; }
.login-input-wrap { position: relative; }
.login-input-icon { position: absolute; left: 15px; top: 50%; color: #858c95; transform: translateY(-50%); pointer-events: none; }
.login-form .login-input { box-sizing: border-box; width: 100%; height: 50px; border: 1px solid #dfe2e6; border-radius: 11px; padding: 0 50px 0 50px; background: #fff; color: #17191c; font-size: 15px; }
.login-input::placeholder { color: #a0a6ad; }
.login-input:focus { border-color: #00a7d0; outline: 0; box-shadow: 0 0 0 3px rgba(0, 167, 208, .16); }
.reveal-password { position: absolute; right: 5px; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #697079; transform: translateY(-50%); cursor: pointer; }
.reveal-password:hover { background: #f3f4f6; }
.login-submit { width: 100%; height: 50px; margin-top: 24px; border: 1px solid #007da8; border-radius: 11px; background: #007da8; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.login-submit:hover { background: #006b91; border-color: #006b91; }
.login-security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 20px 0 0; color: #858c95; font-size: 11px; }
.login-security-note svg { width: 15px; height: 15px; }
.login-form .form-error { margin: 10px 0 0; }
@media (max-width: 900px) {
  .portal-login { display: flex; flex-direction: column; grid-template-columns: minmax(0, 1fr); }
  .login-story, .login-form-panel { box-sizing: border-box; width: 100%; min-width: 0; }
  .login-story { min-height: 390px; padding: 30px; border-right: 0; border-bottom: 1px solid #e4e6e9; background-position: center 45%; }
  .login-story::before { width: min(270px, 44vw); right: -82px; }
  .login-story::after { width: min(190px, 31vw); right: -20px; }
  .login-story__copy { margin-top: 48px; }
  .login-story__copy h1 { font-size: 36px; }
  .login-story__lead { font-size: 15px; }
  .login-service-flow { margin-top: 30px; }
  .login-form-panel { padding: 42px 30px 52px; }
}
@media (max-width: 520px) {
  .login-story { min-height: 350px; padding: 24px 20px; }
  .login-story__brand img { height: 42px; }
  .login-story::before { width: 190px; right: -76px; top: 44%; }
  .login-story::after { width: 132px; right: -20px; top: 44%; }
  .login-story__copy { margin-top: 30px; }
  .login-story__copy h1 { font-size: 30px; }
  .login-story__lead { font-size: 13px; }
  .login-service-flow { display: none; }
  .login-form-panel { padding: 34px 20px 42px; }
  .login-form h2 { font-size: 29px; }
  .login-input { font-size: 16px; }
}
