html {
  scroll-behavior: smooth;
}

@property --p {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.glass-panel {
  background: rgba(10, 25, 47, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 15px;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  background:
    linear-gradient(rgba(6, 11, 25, 0.85), rgba(0, 31, 63, 0.85)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1920&q=80")
      center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #e0e0e0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
}

.navbar {
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar.scrolled {
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.btn {
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: rgba(0, 168, 232, 0.8);
  border-color: #00a8e8;
  box-shadow: 0 0 10px rgba(0, 168, 232, 0.4);
}

.btn-primary:hover {
  background-color: #00a8e8;
  border-color: #00a8e8;
  box-shadow: 0 0 20px rgba(0, 168, 232, 0.8);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: #00a8e8;
  border-color: #00a8e8;
  box-shadow: 0 0 5px rgba(0, 168, 232, 0.2);
}

.btn-outline-primary:hover {
  background-color: #00a8e8;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 168, 232, 0.6);
}

.btn-danger:hover {
  transform: translateY(-2px);
}

.services-icon {
  color: #00a8e8;
  text-shadow: 0 0 12px rgba(0, 168, 232, 0.8);
}

.hero {
  background-color: transparent;
  padding-top: 120px;
  padding-bottom: 60px;
}

.cta-banner {
  background-color: transparent;
  background-image: url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-banner .btn-primary {
  background-color: rgba(0, 168, 232, 0.8);
  border-color: #00a8e8;
  box-shadow: 0 0 10px rgba(0, 168, 232, 0.4);
}

.cta-banner .btn-primary:hover {
  background-color: #00a8e8;
  border-color: #00a8e8;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 168, 232, 0.8);
}

footer a:hover {
  color: #00a8e8;
}

.sap-navbar {
  background: rgba(15, 23, 42, 0.66);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sap-navbar .container-fluid {
  padding-left: 24px;
  padding-right: 24px;
}

.navbar-header {
  display: flex;
  align-items: center;
}

.sap-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 68px;
  margin-left: 0 !important;
  padding-top: 8px;
  padding-bottom: 8px;
}

.sap-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
}

.public-nav > li > a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 24px 14px 0;
  color: #dbeafe !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.public-nav > li > a:hover,
.public-nav > li > a:focus {
  color: #ffffff !important;
  background: transparent !important;
}

.public-nav > li > a.public-cta {
  min-height: auto;
  margin-top: 11px;
  padding: 13px 18px;
  color: #ffffff !important;
  background: #e11d48 !important;
  border-radius: 6px;
  font-size: 16px;
}

.sap-page {
  padding-top: 96px;
  padding-bottom: 40px;
}

.sap-page:not(.sap-page-with-sidebar) {
  width: min(1380px, calc(100% - 56px));
  max-width: none;
  font-size: 18px;
}

.btn-default {
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
}

.btn-default:hover,
.btn-default:focus {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(56, 189, 248, 0.58);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-xs {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.35;
}

.sap-page-with-sidebar {
  width: auto;
  max-width: none;
  margin-left: 250px;
  padding-left: 28px;
  padding-right: 28px;
}

.sap-sidebar {
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 230px;
  padding: 22px 14px;
  background: rgba(10, 25, 47, 0.88);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 12px 0 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
}

.sap-sidebar-title {
  margin: 0 10px 14px;
  color: #8fdcff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sap-sidebar-nav {
  display: grid;
  gap: 8px;
}

.sap-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 11px 12px;
  color: #e5edf7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  font-weight: 700;
  text-align: left;
}

.sap-sidebar-nav a:hover,
.sap-sidebar-nav a:focus {
  color: #ffffff;
  background: rgba(0, 168, 232, 0.35);
  border-color: rgba(56, 189, 248, 0.5);
  text-decoration: none;
}

.sap-sidebar-nav .glyphicon,
.sap-sidebar-nav .bi {
  width: 18px;
  color: #38bdf8;
  text-align: center;
}

.sap-footer {
  margin-top: 30px;
  padding: 18px 0;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.25);
}

.sap-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.footer-brand span {
  color: #b8c7d9;
  font-size: 13px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  display: inline-block;
  padding: 8px 12px;
  color: #e5edf7;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.footer-menu a:hover {
  color: #ffffff;
  background: rgba(0, 168, 232, 0.45);
  text-decoration: none;
}

.sap-page h1,
.sap-page h2,
.sap-page h3 {
  color: #ffffff;
}

.login-panel,
.sap-page .panel {
  color: #e8f0f8;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(8, 34, 58, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel {
  margin-bottom: 20px;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-body {
  padding: 15px;
}

.sap-page .panel-default > .panel-heading {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 8px 8px 0 0;
}

.sap-page .panel-title {
  color: #ffffff;
  font-size: 18px;
}

.sap-page .panel label {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 1rem;
}

.input-group-btn {
  display: flex;
}

.input-group-btn > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.sap-page .panel .form-control {
  min-height: 40px;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 6px;
}

.sap-page .checkbox {
  margin-top: 6px;
  margin-bottom: 6px;
}

.sap-page textarea.form-control {
  resize: vertical;
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 28px;
  background: rgba(10, 25, 47, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.work-header h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

.work-header p {
  margin: 0;
  color: #d8e3ef;
}

.work-kicker {
  color: #38bdf8 !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.work-panel {
  margin-bottom: 22px;
  padding: 24px;
  color: #e8f0f8;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(8, 34, 58, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.work-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px -2px 22px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-panel-title .glyphicon,
.work-panel-title .bi {
  color: #38bdf8;
  font-size: 22px;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.work-panel-title h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: 22px;
}

.work-panel label {
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.work-panel .form-group {
  margin-bottom: 18px;
}

.work-panel .form-control {
  min-height: 40px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.work-panel textarea.form-control {
  min-height: 120px;
}

.work-panel .form-control:focus {
  border-color: #38bdf8;
  box-shadow:
    inset 0 1px 2px rgba(15, 23, 42, 0.08),
    0 0 0 3px rgba(56, 189, 248, 0.24);
}

.work-panel .input-group .btn {
  min-height: 40px;
  border-radius: 0 6px 6px 0;
}

.work-panel .checkbox {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.work-panel .checkbox label {
  color: #edf6ff;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.work-panel .help-block {
  color: #cbd5e1;
}

.work-table {
  --bs-table-color: #e8f0f8;
  --bs-table-bg: rgba(15, 23, 42, 0.32);
  --bs-table-border-color: rgba(148, 163, 184, 0.18);
  --bs-table-striped-color: #ffffff;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.045);
  --bs-table-hover-color: #ffffff;
  --bs-table-hover-bg: rgba(56, 189, 248, 0.14);
  margin-bottom: 0;
  color: #e8f0f8;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.work-table > thead > tr > th {
  color: #eaf6ff !important;
  background: rgba(15, 23, 42, 0.68) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.work-table > tbody > tr > td,
.work-table > tbody > tr > th,
.work-table > thead > tr > th {
  padding: 12px 10px;
  color: #e8f0f8 !important;
  font-size: 14px;
  background-color: transparent !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  vertical-align: middle;
}

.work-table.table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.04) !important;
}

.work-table.table-striped > tbody > tr:nth-of-type(even) {
  background: rgba(15, 23, 42, 0.18) !important;
}

.work-table.table-hover > tbody > tr:hover {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.14) !important;
}

.work-table .btn {
  color: #ffffff;
}

.work-table a {
  color: #9bdcff;
  font-weight: 700;
}

.dt-container {
  color: #e8f0f8;
}

.dt-container .dt-layout-row {
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.dt-container .dt-length,
.dt-container .dt-search,
.dt-container .dt-info {
  color: #dbeafe;
  font-weight: 700;
}

.dt-container .dt-length select,
.dt-container .dt-search input {
  min-height: 38px;
  color: #eaf6ff;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 6px;
}

.dt-container .dt-length select option {
  color: #111827;
  background: #ffffff;
}

.dt-container .dt-search input::placeholder {
  color: rgba(226, 232, 240, 0.65);
}

.dt-container .dt-search input:focus,
.dt-container .dt-length select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.24);
  outline: 0;
}

.dt-container .dt-paging .dt-paging-button {
  margin-left: 4px;
  color: #e8f6ff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 6px !important;
}

.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button:hover {
  color: #ffffff !important;
  background: rgba(0, 168, 232, 0.45) !important;
  border-color: rgba(56, 189, 248, 0.58) !important;
}

.data-work-table {
  width: 100% !important;
}

.table-responsive {
  scrollbar-color: rgba(148, 163, 184, 0.7) rgba(15, 23, 42, 0.44);
}

.table-responsive::-webkit-scrollbar {
  height: 10px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.44);
  border-radius: 999px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

.action-btn {
  min-width: 58px;
  min-height: 36px;
  margin: 2px 2px 2px 0;
  padding: 8px 10px;
  font-weight: 700;
}

.subsection-title {
  margin-top: 4px;
  margin-bottom: 14px;
  font-size: 18px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.work-panel input[type="file"].form-control,
.sap-page input[type="file"].form-control {
  min-height: 44px;
  height: auto;
  padding: .375rem .75rem;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: .375rem;
  font-size: 1rem;
  line-height: 1.5;
}

.work-panel input[type="file"].form-control::file-selector-button,
.sap-page input[type="file"].form-control::file-selector-button {
  padding: .375rem .75rem;
  margin: -.375rem .75rem -.375rem -.75rem;
  color: #212529;
  background-color: #e9ecef;
  border: 0;
  border-right: 1px solid #dee2e6;
  border-radius: .375rem 0 0 .375rem;
  transition: background-color .15s ease-in-out;
}

.work-panel input[type="file"].form-control:hover::file-selector-button,
.sap-page input[type="file"].form-control:hover::file-selector-button {
  background-color: #dde2e6;
}

.file-col {
  min-width: 190px;
}

.form-action-col {
  padding-top: 25px;
}

.status-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.status-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.status-chip:hover,
.status-chip:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

.status-chip strong {
  color: #ffffff;
  font-size: 16px;
}

.status-estimada { border-color: rgba(148, 163, 184, 0.55); }
.status-pendiente { border-color: rgba(250, 204, 21, 0.6); background: rgba(113, 63, 18, 0.4); }
.status-proceso { border-color: rgba(56, 189, 248, 0.6); background: rgba(7, 89, 133, 0.38); }
.status-terminada { border-color: rgba(34, 197, 94, 0.6); background: rgba(20, 83, 45, 0.38); }
.status-entregada { border-color: rgba(99, 102, 241, 0.58); background: rgba(49, 46, 129, 0.36); }

.detail-list {
  margin-bottom: 0;
}

.detail-list dt {
  color: #9bdcff;
  font-size: 12px;
  text-transform: uppercase;
}

.detail-list dd {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 16px;
}

.detail-text {
  min-height: 42px;
  padding: 12px;
  color: #102033;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}

.work-panel hr {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.work-panel strong {
  color: #9bdcff;
}

.text-uppercase {
  text-transform: uppercase;
}

.home-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 70px 0 54px;
}

.home-hero-row {
  display: flex;
  align-items: center;
}

.home-kicker {
  margin-bottom: 14px;
  color: #38bdf8;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-hero h1 {
  max-width: 850px;
  margin: 0 0 24px;
  font-size: 58px;
  line-height: 1.05;
}

.home-hero .lead {
  max-width: 760px;
  color: #d8e3ef;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 700;
}

.home-hero p:not(.lead):not(.home-kicker) {
  max-width: 760px;
  color: #d8e3ef;
  font-size: 19px;
  line-height: 1.58;
}

.home-actions {
  margin-top: 28px;
}

.home-actions .btn {
  padding: 12px 20px;
  font-size: 17px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.home-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
  background: #0b1220;
}

.home-media video {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.dashboard-card {
  min-height: 128px;
  padding: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.dashboard-card:hover,
.dashboard-card:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.dashboard-card-label,
.dashboard-card small {
  display: block;
  color: #dbeafe;
  font-weight: 700;
}

.dashboard-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-card strong {
  display: block;
  margin: 8px 0 2px;
  color: #ffffff;
  font-size: 36px;
}

.dashboard-card-ring {
  --target: 0;
  --p: 0;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(15, 23, 42, 0.94) 57%, transparent 59%),
    conic-gradient(#38bdf8 calc(var(--p) * 1%), rgba(148, 163, 184, 0.2) 0);
  box-shadow:
    inset 0 0 18px rgba(56, 189, 248, 0.12),
    0 0 18px rgba(56, 189, 248, 0.28);
  animation: ringFill 1.15s ease-out forwards;
}

.metric-panel {
  min-height: 292px;
}

.metric-value {
  color: #ffffff;
  font-size: 30px;
  font-weight: 700;
}

.mini-chart {
  min-height: 82px;
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-chart svg {
  display: block;
  width: 100%;
  height: 82px;
}

.sparkline-fill {
  fill: rgba(56, 189, 248, 0.16);
  stroke: none;
}

.sparkline-line {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.65));
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: dashReveal 1.1s ease-out forwards;
}

.mini-bar-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.6fr) 1fr;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.mini-bar-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-bar-row i {
  display: block;
  width: 0;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.46);
  animation: barGrow 0.85s ease-out forwards;
  animation-delay: var(--delay);
}

.mini-chart-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.frequency-dot {
  width: var(--size);
  height: var(--size);
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 30%, #e0f7ff, #38bdf8 35%, #075985 100%);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.48);
  transform: scale(0);
  animation: dotPop 0.55s cubic-bezier(.2, 1.4, .45, 1) forwards;
  animation-delay: var(--delay);
}

.dashboard-table {
  font-size: 13px;
}

.monthly-chart {
  min-height: 322px;
  margin: 0 0 18px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
}

.monthly-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-grid line {
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1;
}

.chart-grid text,
.chart-axis-label {
  fill: #a9bbcf;
  font-size: 12px;
  font-weight: 700;
}

.monthly-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  transform: scaleY(0);
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.38));
  animation: barRise 0.8s ease-out forwards;
  animation-delay: var(--delay);
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.chart-empty {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: 8px;
}

@keyframes ringFill {
  from { --p: 0; }
  to { --p: var(--target); }
}

@keyframes dashReveal {
  to { stroke-dashoffset: 0; }
}

@keyframes barGrow {
  to { width: var(--w); }
}

@keyframes dotPop {
  to { transform: scale(1); }
}

@keyframes barRise {
  to { transform: scaleY(1); }
}

.home-query {
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(8, 34, 58, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-query h2 {
  margin-top: 0;
  font-size: 26px;
}

.home-query p,
.ot-query-message {
  color: #d8e3ef;
}

.home-query .input-group {
  margin: 18px 0 12px;
}

.ot-query-result {
  margin-top: 16px;
  padding: 16px;
  color: #102033;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 7px;
}

.ot-query-status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #ffffff;
  background: #0284c7;
  border-radius: 5px;
  font-weight: 700;
}

.ot-query-result dl {
  margin-bottom: 0;
}

.ot-query-result dt {
  color: #0f172a;
  font-size: 12px;
  text-transform: uppercase;
}

.ot-query-result dd {
  margin-bottom: 10px;
  color: #1f2937;
}

.ot-query-pdf {
  margin-top: 12px;
}

.home-section {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-top: 0;
}

.section-heading p,
.home-band p,
.home-contact p {
  color: #d8e3ef;
  font-size: 19px;
}

.service-box {
  min-height: 220px;
  margin-bottom: 24px;
  padding: 24px;
  color: #e8f0f8;
  background: rgba(10, 25, 47, 0.46);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.service-box .glyphicon,
.service-box .bi {
  color: #38bdf8;
  font-size: 30px;
  text-shadow: 0 0 12px rgba(0, 168, 232, 0.55);
}

.service-box h3 {
  margin-top: 16px;
  color: #ffffff;
  font-size: 20px;
}

.service-box p {
  color: #d8e3ef;
  line-height: 1.55;
}

.home-band {
  margin: 18px 0 48px;
  padding: 34px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
}

.home-about-img {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 15px;
}

.quality-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #e5edf7;
  font-size: 16px;
  line-height: 1.8;
}

.home-contact {
  margin-bottom: 45px;
  padding: 44px 34px;
  text-align: center;
  background: rgba(10, 25, 47, 0.58);
  border-radius: 15px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.home-contact h2,
.home-contact p {
  color: #ffffff;
}

.home-contact p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #d8e3ef;
}

@media (max-width: 767px) {
  .sap-brand {
    max-width: 250px;
  }

  .sap-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-hero {
    min-height: auto;
    padding-top: 28px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-media {
    margin-top: 25px;
  }

  .home-hero-row {
    display: block;
  }

  .home-query {
    margin-top: 25px;
  }

  .sap-footer .container {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-menu a {
    text-align: center;
  }
}

@media (max-width: 991px) {
  .public-nav {
    display: none;
  }

  .sap-sidebar {
    position: relative;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 84px 15px 0;
    padding: 14px;
    border-right: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .sap-sidebar-title {
    margin-left: 4px;
  }

  .sap-sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sap-page-with-sidebar {
    margin-left: 0;
    padding-top: 24px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .sap-sidebar-nav {
    grid-template-columns: 1fr;
  }

  .status-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* Landing public surface: final guardrails against cached Bootstrap/default card styles. */
.sap-page #servicios .service-box,
.sap-page #servicios .service-box.glass-panel {
  display: flex !important;
  min-height: 206px !important;
  padding: 28px 30px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  text-align: center !important;
  color: #e8f0f8 !important;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(8, 34, 58, 0.62)) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 15px !important;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.sap-page #servicios > .row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.sap-page #servicios > .row > [class*="col-"] {
  display: flex !important;
  float: none !important;
}

.sap-page #servicios > .row > [class*="col-"] .service-box {
  width: 100% !important;
}

.sap-page #servicios .service-box .glyphicon,
.sap-page #servicios .service-box .bi {
  display: block !important;
  width: auto !important;
  margin: 0 0 16px !important;
  color: #17c8ff !important;
  font-size: 34px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-shadow: 0 0 16px rgba(0, 168, 232, 0.82) !important;
}

.sap-page #servicios .service-box h3 {
  max-width: 320px !important;
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
  text-align: center !important;
}

.sap-page #servicios .service-box p {
  max-width: 330px !important;
  margin: 0 auto !important;
  color: #d8e3ef !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

.sap-page #nosotros.home-band {
  overflow: hidden !important;
  background: rgba(15, 23, 42, 0.44) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
}

.sap-page #nosotros .row {
  display: flex;
  align-items: center;
}

.sap-page #nosotros .home-about-img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  object-fit: cover !important;
}

.sap-page #contacto.home-contact,
.sap-page #contacto.home-contact.glass-panel {
  color: #ffffff !important;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(8, 34, 58, 0.68)) !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
}

.sap-page #contacto.home-contact h2,
.sap-page #contacto.home-contact p {
  color: #ffffff !important;
}

.sap-page #contacto.home-contact p {
  color: #d8e3ef !important;
}

@media (max-width: 991px) {
  .sap-page #nosotros .row {
    display: block;
  }
}

@media (min-width: 768px) {
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
}

@media (min-width: 992px) {
  .col-md-offset-3 {
    margin-left: 25%;
  }
}
