:root {
  --shell-primary: #081a2f;
  --shell-primary-light: #102a46;
  --shell-gold: #c68a2f;
  --shell-gold-deep: #9a5a12;
  --shell-text-dark: #102033;
}

body.site-page {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  background: #04101d;
  overflow-x: hidden;
}

body.site-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(3, 10, 18, 0.78), rgba(3, 10, 18, 0.84)),
    radial-gradient(circle at top, rgba(198, 138, 47, 0.16), transparent 34%),
    url("../img/log4.jpg") center/cover no-repeat;
  z-index: -2;
}

body.site-page::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

body.site-page main,
body.site-page .main,
body.site-page footer,
body.site-page header,
body.site-page nav,
body.site-page .container,
body.site-page .container-custom,
body.site-page .container-fluid {
  position: relative;
}

body.site-page:not(.landing-page) main,
body.site-page:not(.landing-page) .main {
  padding-top: 110px;
}

body.site-page .premium-gradient {
  background: linear-gradient(
    135deg,
    var(--shell-primary) 0%,
    var(--shell-primary-light) 100%
  );
}

.ops-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(8, 26, 47, 0.96), rgba(16, 42, 70, 0.92)),
    radial-gradient(circle at top right, rgba(198, 138, 47, 0.22), transparent 34%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.ops-hero::before,
.ops-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.ops-hero::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
}

.ops-hero::after {
  width: 160px;
  height: 160px;
  bottom: -70px;
  left: -40px;
}

.ops-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.ops-mini-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.ops-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  color: #102033;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ops-inline-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.14);
}

.table-shell {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.table-shell .table-header {
  background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-light));
}

.table-shell .table-header th {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-shell tbody tr td {
  border-color: rgba(148, 163, 184, 0.16);
}

.table-shell tbody tr:hover td {
  background: rgba(248, 250, 252, 0.72);
}

.modal-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.site-nav-wrap {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 0 12px;
}

.site-navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border-radius: 26px;
  background: rgba(6, 16, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0b24c, var(--shell-gold-deep));
  color: #071522;
  box-shadow: 0 14px 26px rgba(198, 138, 47, 0.28);
  flex-shrink: 0;
}

.site-brand-copy {
  min-width: 0;
}

.site-brand-kicker {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.site-brand-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-nav-link.is-active {
  background: linear-gradient(
    135deg,
    rgba(240, 178, 76, 0.2),
    rgba(154, 90, 18, 0.2)
  );
  color: #fff3dd;
  border: 1px solid rgba(240, 178, 76, 0.24);
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.site-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #52d273;
  box-shadow: 0 0 0 5px rgba(82, 210, 115, 0.12);
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, #f0b24c, var(--shell-gold-deep));
  box-shadow: 0 16px 28px rgba(154, 90, 18, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(154, 90, 18, 0.34);
  color: #ffffff;
}

.site-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.site-mobile-menu {
  max-width: 1200px;
  margin: 12px auto 0;
  display: none;
}

.site-mobile-menu.is-open {
  display: block;
}

.site-mobile-panel {
  padding: 14px;
  border-radius: 22px;
  background: rgba(6, 16, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.site-mobile-panel a {
  display: block;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  border-radius: 14px;
}

.site-mobile-panel a:hover,
.site-mobile-panel a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-mobile-panel .site-nav-cta {
  margin-top: 10px;
  width: 100%;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--shell-primary) 0%,
    var(--shell-primary-light) 100%
  );
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.site-footer-kicker {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.site-footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.site-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.site-socials a {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.site-socials a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer h4 {
  margin-bottom: 12px;
  color: #ffffff;
}

.site-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-list li + li {
  margin-top: 8px;
}

.site-footer-list a,
.site-footer-list span {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer-list a:hover {
  color: #ffffff;
}

.site-footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

body.site-page .premium-card,
body.site-page .message-card,
body.site-page .auth-card,
body.site-page .info-card,
body.site-page .timeline-card,
body.site-page .status-card,
body.site-page .card,
body.site-page .service-card,
body.site-page .table-card,
body.site-page .pricing-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

body.site-page input:not([type="checkbox"]):not([type="radio"]),
body.site-page textarea,
body.site-page select,
body.site-page .form-control,
body.site-page .auth-input {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 32, 51, 0.12);
  box-shadow: none;
  color: #102033 !important;
  caret-color: #102033;
  -webkit-text-fill-color: #102033;
}

body.site-page input:not([type="checkbox"]):not([type="radio"])::placeholder,
body.site-page textarea::placeholder,
body.site-page select::placeholder,
body.site-page .form-control::placeholder,
body.site-page .auth-input::placeholder,
body.site-page .tracking-input::placeholder {
  color: #7b8794 !important;
}

body.site-page select,
body.site-page option {
  color: #102033 !important;
  background: #ffffff;
}

body.site-page input:-webkit-autofill,
body.site-page input:-webkit-autofill:hover,
body.site-page input:-webkit-autofill:focus,
body.site-page textarea:-webkit-autofill,
body.site-page select:-webkit-autofill {
  -webkit-text-fill-color: #102033 !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

body.site-page .ck-editor__editable {
  color: #102033 !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

body.site-page table {
  background: rgba(255, 255, 255, 0.96);
}

body.site-page .section-title,
body.site-page .page-title,
body.site-page .auth-header,
body.site-page .hero-panel,
body.site-page .brand-panel {
  position: relative;
  overflow: hidden;
}

body.site-page .brand-panel,
body.site-page .auth-shell,
body.site-page .section,
body.site-page .page-title,
body.site-page .breadcrumbs,
body.site-page .info-card,
body.site-page .section-bg,
body.site-page .service-details,
body.site-page .pricing,
body.site-page .services,
body.site-page .about {
  backdrop-filter: blur(8px);
}

body.site-page .page-title,
body.site-page .breadcrumbs,
body.site-page .auth-shell,
body.site-page .brand-panel,
body.site-page .premium-gradient.rounded-xl,
body.site-page .map-container,
body.site-page .timeline-content,
body.site-page .upload-area,
body.site-page .tracking-id-card,
body.site-page .gallery-card {
  border-radius: 24px;
}

body.site-page .stat-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

body.site-page .map-container {
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.site-page .timeline-content {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body.site-page .upload-area {
  border: 1.5px dashed rgba(99, 102, 241, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.92));
}

body.site-page .tracking-id-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.94));
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .site-navbar {
    flex-wrap: wrap;
    border-radius: 22px;
    gap: 12px;
    padding: 12px 14px;
  }

  .site-nav-links,
  .site-status-pill,
  .site-nav-cta {
    display: none;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav-actions {
    margin-left: auto;
  }

  .site-mobile-menu {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .site-brand-title {
    white-space: normal;
  }

  .site-brand-copy {
    display: none;
  }

  .site-footer-inner {
    padding: 28px 14px;
  }

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