/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
  --white: #ffffff;
  --black: #000000;
  --page-bg: #050505;
  --page-bg-alt: #090909;
  --text: rgba(255, 255, 255, 0.92);
  --text-strong: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --field-bg: rgba(255, 255, 255, 0.065);
  --field-bg-focus: rgba(255, 255, 255, 0.095);
  --field-placeholder: rgba(255, 255, 255, 0.42);
  --button-bg: #ffffff;
  --button-text: #000000;
  --button-muted-bg: rgba(255, 255, 255, 0.1);
  --button-muted-text: #ffffff;
  --button-danger-bg: #ff4d4d;
  --button-danger-text: #ffffff;
  --control-focus-ring: rgba(255, 255, 255, 0.12);
  --chart-accent: #5aa0ff;
  --chart-accent-2: #2dd4bf;
  --chart-accent-3: #a78bfa;
  --chart-accent-4: #fbbf24;
  --chart-grid: rgba(148, 163, 184, 0.14);
  --chart-fill: rgba(90, 160, 255, 0.34);
  --chart-fill-mid: rgba(45, 212, 191, 0.16);
  --chart-fill-end: rgba(90, 160, 255, 0);
  --chart-glow: rgba(90, 160, 255, 0.32);
  --on-media-text: #ffffff;
  --on-media-muted: rgba(255, 255, 255, 0.74);
  --inverse-text: #000000;
  --danger-text: #ffb6b6;
  --success-text: #a8ffd4;
  --warning-text: #ffe69b;
  --info-text: #b9d4ff;
  --nav-bg: rgba(8, 8, 8, 0.72);
  --nav-bg-scrolled: rgba(8, 8, 8, 0.84);
  --nav-mobile-bg: rgba(12, 12, 12, 0.96);
  --nav-link: rgba(255, 255, 255, 0.72);
  --nav-link-strong: rgba(255, 255, 255, 0.98);
  --admin-bg: #050505;
  --admin-sidebar-bg: rgba(10, 10, 10, 0.82);
  --admin-topbar-bg: rgba(5, 5, 5, 0.72);
  --modal-backdrop: rgba(0, 0, 0, 0.78);
  --shadow-sn: 0 8px 22px rgba(0, 0, 0, 0.28);
  --light: var(--text);
  --muted: var(--text-muted);
  --dark-btn: rgba(20, 20, 20, 0.75);
  --glass: rgba(20, 20, 20, 0.25);
  --border: rgba(255, 255, 255, 0.12);
  --overlay-dark: rgba(0, 0, 0, 0.75);
  --shadow-soft: var(--shadow-sn);
  --shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.38);
  --radius-lg: 24px;
  --radius-md: 16px;
  --nav-offset: 110px;
}

html[data-theme="light"] {
  --page-bg: #f7f5ef;
  --page-bg-alt: #ebe7dc;
  --text: rgba(24, 24, 22, 0.9);
  --text-strong: #11110f;
  --text-muted: rgba(43, 42, 38, 0.66);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.5);
  --card-bg: rgba(255, 255, 255, 0.78);
  --card-bg-strong: rgba(255, 255, 255, 0.92);
  --card-border: rgba(24, 24, 22, 0.1);
  --media-card-shadow: 0 18px 46px rgba(34, 30, 22, 0.16);
  --media-card-shadow-hover: 0 26px 68px rgba(34, 30, 22, 0.22);
  --field-bg: rgba(255, 255, 255, 0.86);
  --field-bg-focus: #ffffff;
  --field-placeholder: rgba(31, 30, 27, 0.42);
  --button-bg: #11110f;
  --button-text: #ffffff;
  --button-muted-bg: rgba(17, 17, 15, 0.07);
  --button-muted-text: #171713;
  --button-danger-bg: #b42318;
  --button-danger-text: #ffffff;
  --control-focus-ring: rgba(17, 17, 15, 0.12);
  --chart-accent: #0d4d9f;
  --chart-accent-2: #0f9f8f;
  --chart-accent-3: #7c3aed;
  --chart-accent-4: #d97706;
  --chart-grid: rgba(15, 23, 42, 0.09);
  --chart-fill: rgba(13, 77, 159, 0.22);
  --chart-fill-mid: rgba(15, 159, 143, 0.1);
  --chart-fill-end: rgba(13, 77, 159, 0);
  --chart-glow: rgba(13, 77, 159, 0.18);
  --on-media-text: #ffffff;
  --on-media-muted: rgba(255, 255, 255, 0.74);
  --inverse-text: #ffffff;
  --danger-text: #8d2020;
  --success-text: #0f6b3b;
  --warning-text: #735100;
  --info-text: #244f95;
  --nav-bg: rgba(250, 248, 242, 0.78);
  --nav-bg-scrolled: rgba(250, 248, 242, 0.9);
  --nav-mobile-bg: rgba(250, 248, 242, 0.97);
  --nav-link: rgba(24, 24, 22, 0.66);
  --nav-link-strong: rgba(17, 17, 15, 0.98);
  --admin-bg: #f1eee6;
  --admin-sidebar-bg: rgba(255, 255, 255, 0.7);
  --admin-topbar-bg: rgba(250, 248, 242, 0.82);
  --modal-backdrop: rgba(18, 18, 16, 0.5);
  --border: rgba(22, 22, 20, 0.12);
  --glass: rgba(255, 255, 255, 0.58);
  --dark-btn: rgba(255, 255, 255, 0.72);
  --overlay-dark: rgba(255, 255, 255, 0.68);
  --shadow-sn: 0 8px 20px rgba(31, 28, 20, 0.08);
  --shadow-soft: var(--shadow-sn);
  --shadow-hover: 0 14px 32px rgba(31, 28, 20, 0.12);
}

/* =====================================================
   RESET / GLOBAL
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--page-bg);
  color: var(--text);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  letter-spacing: 0.2px;
  padding-top: 80px;
  scroll-snap-type: y mandatory;
}
img,
video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* =====================================================
   SHARED LAYOUT
===================================================== */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.page-section {
  min-height: auto;
  padding-top: var(--nav-offset);
  padding-bottom: 80px;
  align-items: flex-start;
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 120px 20px 60px;
  animation: fadeUp 1s ease both;
}

.page-section .content {
  padding-top: 0;
}

.bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transform: scale(1.01);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transform: scale(1.02);
  filter: brightness(0.82) contrast(1.05) saturate(0.95);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.4)),
    linear-gradient(to top, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08));
}

.overlay-dark {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 28px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-premium,
.btn-secondary-premium {
  min-width: 220px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
}

.btn-premium {
  background: #ffffff;
  color: #000000;
}

.btn-premium:hover {
  background: #f2f2f2;
  color: #000000;
  transform: translateY(-2px);
}

.btn-secondary-premium {
  background: var(--dark-btn);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-secondary-premium:hover {
  background: rgba(0, 0, 0, 0.92);
  transform: translateY(-2px);
  color: #ffffff;
}

.bottom-caption {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  width: min(90%, 700px);
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: var(--glass);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar-brand {
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14rem;
  color: var(--white) !important;
  white-space: nowrap;
  gap: 10px;
}

.brand-text {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14rem;
}

.brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.86rem;
  font-weight: 500;
  margin-left: 8px;
  transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

/* =====================================================
   FOOTER
===================================================== */
footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 22px 15px;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px;
    border-radius: 16px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .nav-center-logo {
    display: none;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 110px 18px 70px;
  }

  .page-section {
    padding-top: 100px;
    padding-bottom: 70px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .btn-premium,
  .btn-secondary-premium {
    width: 100%;
    max-width: 280px;
  }

  .section-title {
    line-height: 1.05;
  }
}

/* =====================================================
   A+ COMPANY SITE EXTENSIONS
===================================================== */
body {
  scroll-snap-type: none;
}

.section {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.wide-content {
  max-width: 1240px;
}

.readable-content {
  max-width: 850px;
  text-align: left;
}

.readable-content .section-title {
  text-align: left;
}

.page-band {
  min-height: auto;
  padding: 105px 0;
}

.alt-band {
  background: #070707;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
}

.split-heading {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
  text-align: left;
}

.split-heading .section-title {
  margin-bottom: 0;
  max-width: 820px;
}

.stats-grid,
.project-grid,
.services-grid,
.portfolio-mini-grid,
.case-grid,
.service-detail-grid {
  display: grid;
  gap: 22px;
}

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

.stat-card,
.case-panel {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  color: #fff;
}

.stat-card span {
  color: var(--muted);
}

.project-grid,
.services-grid,
.portfolio-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.project-card,
.service-card,
.portfolio-mini-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.project-card:hover,
.service-card:hover,
.portfolio-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.project-card img,
.service-card img,
.portfolio-mini-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover img,
.service-card:hover img,
.portfolio-mini-card:hover img {
  transform: scale(1.05);
}

.project-card::after,
.service-card::after,
.portfolio-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.2));
}

.project-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.04));
}

.project-card-body,
.service-card > div,
.portfolio-mini-card > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.project-card h2,
.project-card h3,
.service-card h3,
.portfolio-mini-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.project-card p,
.service-card p,
.portfolio-mini-card p,
.case-panel p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.project-card small,
.service-card span,
.portfolio-mini-card span,
.portfolio-mini-card small {
  color: rgba(255, 255, 255, 0.68);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-hero {
  min-height: calc(100vh - 80px);
}

.case-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.clean-list {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 18px;
}

.message-stack {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1200;
  width: min(92vw, 420px);
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.site-message {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px 13px 16px;
  border-radius: 16px;
  background: rgba(18, 18, 18, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  font-weight: 700;
  text-align: left;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  animation: toastIn 0.25s ease both;
}

.site-message.success {
  border-color: rgba(180, 255, 210, 0.22);
}

.site-message.error,
.site-message.danger {
  border-color: rgba(255, 120, 120, 0.32);
}

.site-message button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.site-message.is-hiding {
  animation: toastOut 0.22s ease both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.nav-cta {
  margin-left: 10px;
  padding: 8px 14px !important;
  border-radius: 999px;
  background: #fff;
  color: #000 !important;
}


.site-footer {
  text-align: left;
  padding: 28px 15px 18px;
}

.footer-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  width: min(1180px, 92vw);
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

@media (max-width: 991px) {
  .stats-grid,
  .project-grid,
  .services-grid,
  .portfolio-mini-grid,
  .case-grid,
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .stats-grid,
  .project-grid,
  .services-grid,
  .portfolio-mini-grid,
  .case-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .service-card,
  .portfolio-mini-card {
    min-height: 300px;
  }
}

/* =====================================================
   LAYOUT REPAIR FOR MULTI-SECTION PAGES
===================================================== */
.page-section,
.page-band,
.portfolio-services-section,
.portfolio-cta-section {
  display: block;
  min-height: auto;
  overflow: visible;
  text-align: center;
}

.page-section {
  padding-top: var(--nav-offset);
  padding-bottom: 90px;
}

.page-band,
.portfolio-services-section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.page-section > .content,
.page-band > .content,
.portfolio-services-section > .content,
.portfolio-cta-section > .content {
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.portfolio-cta-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: visible;
}

.detail-hero {
  overflow: hidden;
}

.detail-hero .content {
  padding-top: 120px;
  padding-bottom: 90px;
}

.nav-center-logo {
  display: none;
}

.navbar .container-fluid {
  gap: 16px;
  flex-wrap: nowrap;
}

.navbar-nav {
  gap: 2px;
  align-items: center;
}

.nav-link {
  white-space: nowrap;
}

.navbar-collapse {
  flex-grow: 0;
}

.section-title {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.page-section .section-title,
.page-band .section-title,
.portfolio-services-section .section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
}

.section-subtitle {
  overflow-wrap: break-word;
}

.project-card,
.service-card,
.portfolio-mini-card,
.portfolio-card {
  isolation: isolate;
}

.portfolio-mini-card {
  display: block;
}

.case-panel ul,
.case-panel ol {
  margin-bottom: 0;
}

.errorlist {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #ffb4b4;
  font-size: 0.9rem;
}

.form-alert {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: rgba(255, 80, 80, 0.13);
  border: 1px solid rgba(255, 120, 120, 0.28);
  color: #ffd4d4;
  text-align: left;
}

.custom-input,
.form-select.custom-input {
  width: 100%;
}

.form-select.custom-input {
  background-color: rgba(255, 255, 255, 0.06);
}

.form-select.custom-input option {
  color: #000;
}

/* =====================================================
   DARK THEME FORM SYSTEM
===================================================== */
input,
select,
textarea,
.form-control,
.form-select,
.custom-input {
  color-scheme: dark;
}

.form-control.custom-input,
.form-select.custom-input,
.custom-input,
input.custom-input,
select.custom-input,
textarea.custom-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.065) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-control.custom-input:focus,
.form-select.custom-input:focus,
.custom-input:focus,
input.custom-input:focus,
select.custom-input:focus,
textarea.custom-input:focus {
  background: rgba(255, 255, 255, 0.095) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.custom-input::placeholder,
.form-control.custom-input::placeholder,
textarea.custom-input::placeholder,
input.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.42) !important;
}

.form-select.custom-input,
select.custom-input {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-select.custom-input option,
select.custom-input option {
  background: #121212;
  color: #ffffff;
}

input[type="date"].custom-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.76;
}

input[type="file"].custom-input {
  padding: 11px 14px;
}

input[type="file"].custom-input::file-selector-button {
  margin-right: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-weight: 800;
  padding: 8px 14px;
}

.drag-upload-zone {
  display: grid;
  gap: 6px;
  min-height: 104px;
  align-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
    rgba(255, 255, 255, 0.035);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.drag-upload-zone strong,
.drag-upload-zone span {
  display: block;
}

.drag-upload-zone strong {
  font-size: 0.92rem;
  font-weight: 850;
}

.drag-upload-zone span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 650;
}

.drag-upload-zone:hover,
.drag-upload-zone:focus-visible,
.drag-upload-zone.is-dragover,
.admin-form-field.is-dragover .drag-upload-zone {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.052)),
    rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
  outline: none;
}

.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.form-check-input:checked {
  background-color: #ffffff;
  border-color: #ffffff;
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.readable-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .nav-cta {
    margin-left: 0;
    width: fit-content;
  }

  .portfolio-hero,
  .hero,
  .detail-hero {
    min-height: calc(100vh - 80px);
  }
}

@media (max-width: 1199px) {
  .navbar-collapse {
    flex-grow: 1;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px;
    border-radius: 16px;
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-nav {
    align-items: flex-start;
  }

  .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    padding: 9px 15px !important;
  }
}

@media (max-width: 420px) {
  .navbar-brand,
  .brand-text {
    font-size: 0.82rem;
    letter-spacing: 0.08rem;
  }
}

/* =====================================================
   HEADER HARDENING
   Keeps the nav correct even if Bootstrap loads late/fails.
===================================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.navbar .container-fluid {
  width: 100%;
  min-height: 50px;
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.collapse.navbar-collapse,
.navbar-collapse {
  display: flex !important;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  border: 0;
  margin-top: 0;
  padding: 0;
}

.navbar-nav {
  display: flex !important;
  flex-direction: row;
  align-items: center !important;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding: 8px 4px;
}

.navbar-toggler {
  display: none;
}

.nav-cta {
  margin-left: 4px;
  padding: 8px 14px !important;
}

@media (max-width: 767px) {
  .navbar .container-fluid {
    flex-wrap: wrap;
  }

  .navbar-toggler {
    display: inline-flex;
  }

  .collapse.navbar-collapse,
  .navbar-collapse {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-top: 12px;
    padding: 14px;
  }

  .collapse.navbar-collapse.show,
  .navbar-collapse.show {
    display: flex !important;
  }

  .navbar-nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    padding: 9px 0;
  }

  .nav-cta {
    width: auto;
    margin-top: 8px;
    padding: 9px 15px !important;
  }
}

/* =====================================================
   PREMIUM APPLE-STYLE TOP BAR
===================================================== */
body {
  padding-top: 56px;
}

.premium-topbar.navbar,
.navbar.premium-topbar {
  min-height: 56px;
  padding: 0;
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}

.premium-topbar.navbar.scrolled {
  background: rgba(8, 8, 8, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.premium-topbar .container-fluid {
  min-height: 56px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.premium-topbar .navbar-brand {
  position: relative;
  color: rgba(255, 255, 255, 0.94) !important;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.premium-topbar .brand-logo {
  width: 28px;
  height: 28px;
}

.premium-topbar .navbar-brand::after {
  display: none;
  content: none;
}

.premium-topbar .navbar-collapse {
  min-height: 56px;
}

.premium-topbar .navbar-nav {
  gap: 4px;
}

.premium-topbar .nav-link {
  position: relative;
  min-height: 56px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 56px;
  transition: color 0.18s ease, background 0.18s ease;
}

.premium-topbar .nav-link:hover,
.premium-topbar .nav-link:focus {
  color: rgba(255, 255, 255, 0.98) !important;
}

.premium-topbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.premium-topbar .nav-link:hover::after,
.premium-topbar .nav-link:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.premium-topbar .nav-cta {
  min-height: 30px;
  margin-left: 8px;
  padding: 0 14px !important;
  border-radius: 999px;
  color: #000 !important;
  background: rgba(255, 255, 255, 0.94);
  line-height: 30px;
  font-weight: 700;
}

.premium-topbar .nav-cta::after {
  display: none;
}

.premium-topbar .nav-cta:hover,
.premium-topbar .nav-cta:focus {
  background: #fff;
  color: #000 !important;
}

.premium-topbar .navbar-toggler {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.premium-topbar .navbar-toggler-icon {
  width: 1.1em;
  height: 1.1em;
}

@media (min-width: 768px) {
  .premium-topbar .navbar-collapse {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 56px;
  }

  .premium-topbar .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .premium-topbar .navbar-brand {
    font-size: 0.78rem;
    letter-spacing: 0.12rem;
  }

  .premium-topbar .brand-logo {
    width: 26px;
    height: 26px;
  }

  .premium-topbar .navbar-collapse {
    min-height: 0;
    background: rgba(12, 12, 12, 0.96);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  }

  .premium-topbar .navbar-nav {
    gap: 0;
  }

  .premium-topbar .nav-link {
    min-height: 42px;
    width: 100%;
    padding: 0;
    line-height: 42px;
    font-size: 1rem;
  }

  .premium-topbar .nav-link::after {
    display: none;
  }

  .premium-topbar .nav-cta {
    width: auto;
    min-height: 34px;
    margin: 10px 0 2px;
    padding: 0 16px !important;
    line-height: 34px;
  }

}

@media (max-width: 768px) {
  .page-section,
  .page-band,
  .portfolio-services-section {
    padding-top: 82px;
    padding-bottom: 72px;
  }

  .split-heading {
    text-align: center;
    align-items: center;
  }

  .split-heading .section-title {
    text-align: center;
  }

  .hero-content {
    padding-bottom: 86px;
  }
}

/* =====================================================
   SUPER ADMIN DASHBOARD
===================================================== */
.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.admin-action-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, background 0.25s ease;
}

.admin-action-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.085);
  color: #fff;
}

.admin-action-card span,
.admin-action-card small {
  color: rgba(255, 255, 255, 0.68);
}

.admin-action-card strong {
  font-size: 1.25rem;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list a {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-list span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .admin-action-grid,
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SUPER ADMIN LOGIN
===================================================== */
.super-login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 56px;
  overflow: hidden;
}

.super-login-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.92)),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.13), transparent 30%),
    url("../image/hero-bg.png") center/cover no-repeat;
  transform: scale(1.02);
}

.super-login-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
}

.super-login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18rem;
}

.super-login-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.super-login-card {
  padding: 34px;
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
}

.super-login-card h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
}

.super-login-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.super-login-form {
  display: grid;
  gap: 16px;
}

.remember-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  cursor: pointer;
  user-select: none;
}

.super-login-button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.super-login-button:hover {
  transform: translateY(-1px);
  background: #f3f3f3;
}

.super-login-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.super-login-meta a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.super-login-meta a:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .super-login-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .super-login-meta {
    flex-direction: column;
  }
}

/* =====================================================
   PREMIUM SUPER ADMIN APP
===================================================== */
.admin-app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 28%),
    #050505;
  margin-top: 0;
}

.admin-body {
  padding-top: 0 !important;
}

.admin-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -34px calc(clamp(20px, 4vw, 54px) * -1) 32px;
  padding: 14px clamp(20px, 4vw, 54px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-topbar-title {
  display: grid;
  gap: 2px;
}

.admin-topbar-title span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16rem;
}

.admin-topbar-title strong {
  color: #fff;
  font-size: 1rem;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topbar-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 750;
  font-size: 0.9rem;
}

.admin-topbar-actions a:first-child,
.admin-topbar-actions a:first-of-type {
  background: #fff;
  color: #000;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.18rem;
}

.admin-sidebar-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.admin-sidebar-nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar-nav a,
.admin-sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-sidebar-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.86;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-footer a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-sidebar-footer {
  margin-top: auto;
  padding-top: 18px;
}

.admin-main {
  min-width: 0;
  padding: 34px clamp(20px, 4vw, 54px) 54px;
}

.admin-main-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-main-header h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.admin-main-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 680px;
  font-size: 0.98rem;
}

.admin-main-header .eyebrow {
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.14rem;
}

.admin-header-actions {
  display: flex;
  gap: 12px;
}

.admin-header-actions a {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 800;
}

.admin-header-actions a + a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

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

.admin-metrics article,
.admin-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.admin-metrics article {
  padding: 20px;
}

.admin-metrics strong {
  display: block;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
}

.admin-metrics span {
  color: rgba(255, 255, 255, 0.62);
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.admin-chart-card {
  padding: 22px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.admin-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-chart-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.admin-chart-head strong {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
}

.admin-line-chart,
.admin-bar-chart {
  height: 170px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 34px, 52px 100%;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-line-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-area {
  fill: url(#viewsFill);
}

.chart-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 16px rgba(255, 255, 255, 0.12));
}

.admin-bar-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
}

.admin-bar-chart span {
  flex: 1;
  min-width: 12px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.95));
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.08);
}

.admin-chart-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel-wide {
  grid-row: span 2;
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
}

.admin-panel-head > a {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-quick-grid a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.38);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.admin-quick-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  fill: currentColor;
  opacity: 0.82;
}

.admin-quick-grid a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.admin-quick-grid span,
.admin-feed span,
.admin-feed p {
  color: rgba(255, 255, 255, 0.62);
}

.admin-feed p,
.admin-list p,
.admin-empty-state p {
  margin: 0;
  font-size: 0.82rem !important;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48) !important;
}

.admin-feed > p {
  padding: 10px 0;
}

.admin-panel p {
  font-size: 0.94rem;
}

.admin-feed {
  display: grid;
}

.admin-feed a {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-table {
  display: grid;
  overflow-x: auto;
}

.admin-table-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) minmax(90px, 0.4fr);
  gap: 16px;
  align-items: center;
  min-width: 780px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table-head {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.admin-table-row span {
  color: rgba(255, 255, 255, 0.82);
}

.admin-table-row a {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.admin-table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-table-actions a,
.admin-table-actions button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.admin-table-actions a:hover,
.admin-table-actions button:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.admin-table-row .danger {
  background: rgba(255, 77, 77, 0.16);
  color: #ffb6b6;
}

.admin-table-actions .danger {
  background: rgba(255, 77, 77, 0.18);
  color: #ffb6b6;
}

.inline-admin-form {
  margin: 0;
}

.inline-admin-form button {
  border: 0;
  width: fit-content;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-weight: 800;
}

.hero-card-grid,
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-admin-card,
.project-admin-card,
.service-admin-card,
.portfolio-admin-card,
.music-admin-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.58);
}

.hero-admin-card img,
.project-admin-card img,
.service-admin-card img,
.portfolio-admin-card img,
.music-admin-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-admin-card .music-admin-artist-preview {
  inset: auto 18px 18px auto;
  z-index: 3;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.72);
}

.hero-admin-card::after,
.project-admin-card::after,
.service-admin-card::after,
.portfolio-admin-card::after,
.music-admin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.18));
}

.hero-admin-card-body,
.project-admin-card-body,
.service-admin-card-body,
.portfolio-admin-card-body,
.music-admin-card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.82);
}

.hero-admin-card h2,
.project-admin-card h2,
.service-admin-card h2,
.portfolio-admin-card h2,
.music-admin-card h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1.35rem;
}

.hero-admin-card p,
.project-admin-card p,
.service-admin-card p,
.portfolio-admin-card p,
.music-admin-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.project-admin-card small,
.service-admin-card small,
.portfolio-admin-card small,
.music-admin-card small {
  display: block;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 750;
}

.admin-card-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-card-badge-row span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-card-badge-row .admin-status-good {
  background: rgba(98, 255, 178, 0.14);
  color: #a8ffd4;
}

.admin-card-badge-row .admin-status-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.site-stat-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.site-stat-admin-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.48);
}

.site-stat-admin-card strong {
  display: block;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.site-stat-admin-card h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1.15rem;
}

.site-stat-admin-card p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-active-badge,
.hero-muted-badge {
  width: fit-content;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-active-badge {
  background: #fff;
  color: #000;
}

.hero-muted-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.admin-empty-state {
  padding: 46px 20px;
  text-align: center;
}

.request-admin-list {
  display: grid;
  gap: 14px;
}

.request-admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border-radius: 20px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.46);
}

.request-card-main h2 {
  margin: 12px 0 8px;
  color: #fff;
  font-size: 1.25rem;
}

.request-card-main p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

.request-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.request-card-meta span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 750;
}

.request-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.request-card-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  font-weight: 850;
}

.request-card-actions .danger {
  background: rgba(255, 77, 77, 0.18);
  color: #ffb6b6;
}

.request-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
}

.status-new {
  background: rgba(98, 255, 178, 0.14);
  color: #a8ffd4;
}

.status-reviewing,
.status-quoted {
  background: rgba(255, 217, 102, 0.16);
  color: #ffe69b;
}

.status-approved {
  background: rgba(109, 167, 255, 0.18);
  color: #b9d4ff;
}

.status-closed {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.request-detail-shell {
  display: grid;
  gap: 18px;
}

.request-detail-hero,
.request-detail-panel,
.request-status-form {
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.48);
}

.request-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.request-detail-hero h2 {
  margin: 8px 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.request-detail-hero p {
  margin: 0;
  max-width: 920px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.request-detail-status {
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.request-detail-status small {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.request-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.request-detail-panel,
.request-status-form {
  padding: 22px;
}

.request-detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.request-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.request-detail-list dt {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.request-detail-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.request-detail-list a {
  color: #fff;
  font-weight: 800;
}

.request-status-form {
  display: grid;
  grid-template-columns: minmax(220px, 340px) auto;
  gap: 18px;
  align-items: end;
}

.admin-edit-form {
  display: grid;
  gap: 18px;
}

.premium-editor-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
}

.premium-editor-preview,
.premium-editor-panel {
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.premium-editor-preview {
  position: sticky;
  top: 88px;
  overflow: hidden;
  padding: 20px;
}

.premium-editor-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin: 10px 0 18px;
  background: rgba(255, 255, 255, 0.05);
}

.premium-editor-preview img.is-empty {
  display: none;
}

.music-editor-artist-preview {
  margin: 0 0 18px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-editor-artist-preview span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.premium-editor-preview .music-editor-artist-image {
  width: 92px;
  height: 92px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.premium-editor-preview h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.35rem;
}

.premium-editor-preview p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  font-size: 0.92rem;
}

.premium-editor-panel {
  padding: 24px;
}

.premium-editor-section-head {
  margin-bottom: 20px;
}

.premium-editor-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-form-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.admin-form-field label {
  color: #fff;
  font-weight: 700;
}

.admin-form-field small {
  color: rgba(255, 255, 255, 0.58);
}

.admin-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-checkbox-field label {
  order: 2;
}

.admin-checkbox-field input {
  order: 1;
}

.admin-form-actions {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-form-actions button,
.admin-form-actions a {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
}

.admin-form-actions button {
  background: #fff;
  color: #000;
}

.admin-form-actions .danger-button {
  background: #ff4d4d;
  color: #fff;
}

.admin-form-actions a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.delete-panel {
  max-width: 760px;
}

.delete-panel h2 {
  color: #fff;
}

.delete-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.delete-card-wrap {
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-confirm-card {
  width: min(100%, 540px);
  padding: 34px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 77, 77, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  text-align: center;
}

.delete-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 77, 77, 0.18);
  color: #ffb6b6;
  font-size: 1.5rem;
  font-weight: 900;
}

.delete-confirm-card h2 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.delete-confirm-card p {
  max-width: 420px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.delete-card-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.delete-card-actions button,
.delete-card-actions a {
  min-height: 42px;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 850;
}

.delete-card-actions button {
  background: #ff4d4d;
  color: #fff;
}

.delete-card-actions a {
  background: #fff;
  color: #000;
}

@media (max-width: 520px) {
  .delete-confirm-card {
    padding: 26px 18px;
  }

  .delete-card-actions {
    flex-direction: column;
  }
}

.admin-cropper-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
}

.admin-cropper-modal.is-visible {
  display: flex;
}

.admin-cropper-dialog {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
}

.admin-cropper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-cropper-head strong,
.admin-cropper-head span {
  display: block;
}

.admin-cropper-head strong {
  color: #fff;
}

.admin-cropper-head span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  margin-top: 4px;
}

.admin-cropper-close,
.admin-cropper-reset,
.admin-cropper-use {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-cropper-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
}

.admin-cropper-stage {
  min-height: 300px;
  height: min(62vh, 560px);
  background: #090909;
}

.admin-cropper-stage img {
  display: block;
  max-width: 100%;
}

.admin-cropper-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-cropper-reset,
.admin-cropper-use {
  min-height: 42px;
  padding: 0 18px;
}

.admin-cropper-reset {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-cropper-use {
  background: #fff;
  color: #000;
}

.crop-selected-note {
  display: none;
  width: fit-content;
  margin-top: 10px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(98, 255, 178, 0.12);
  color: #9effcf;
  border: 1px solid rgba(98, 255, 178, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
}

.crop-selected-note.is-visible {
  display: inline-flex;
}

.cropper-container {
  color: #fff;
}

@media (max-width: 640px) {
  .admin-cropper-modal {
    padding: 14px;
  }

  .admin-cropper-dialog {
    max-height: calc(100vh - 28px);
    border-radius: 18px;
  }

  .admin-cropper-head,
  .admin-cropper-actions {
    padding-inline: 14px;
  }

  .admin-cropper-actions {
    flex-direction: column-reverse;
  }

  .admin-cropper-reset,
  .admin-cropper-use {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .admin-app-shell {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    scrollbar-width: none;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar-brand {
    padding: 0 10px 0 0;
    min-width: max-content;
  }

  .admin-sidebar-nav {
    display: flex;
    min-width: max-content;
    gap: 6px;
  }

  .admin-sidebar-nav a,
  .admin-sidebar-footer a {
    min-height: 38px;
    border-radius: 999px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.055);
  }

  .admin-sidebar-footer {
    margin-top: 0;
    margin-left: auto;
    padding-top: 0;
  }

  .admin-workspace-grid,
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

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

  .admin-panel-wide {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .admin-main {
    padding: 22px 16px 42px;
  }

  .admin-topbar {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    margin: -22px -16px 24px;
    padding: 14px 16px;
  }

  .admin-topbar-actions {
    width: 100%;
  }

  .admin-topbar-actions a {
    flex: 1;
  }

  .admin-main-header,
  .admin-header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-workspace-grid,
  .admin-metrics,
  .admin-chart-grid,
  .admin-quick-grid,
  .hero-card-grid,
  .admin-card-grid,
  .site-stat-admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .request-admin-card,
  .request-detail-hero,
  .request-status-form {
    grid-template-columns: 1fr;
  }

  .request-detail-hero {
    flex-direction: column;
  }

  .request-detail-status {
    align-items: flex-start;
  }

  .request-detail-grid {
    grid-template-columns: 1fr;
  }

  .request-detail-list div {
    grid-template-columns: 1fr;
  }

  .premium-editor-grid {
    grid-template-columns: 1fr;
  }

  .premium-editor-preview {
    position: relative;
    top: auto;
  }

  .admin-form-actions {
    width: 100%;
    border-radius: 18px;
  }

  .admin-form-actions button,
  .admin-form-actions a {
    flex: 1;
  }

  .admin-main-header h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .admin-header-actions {
    width: 100%;
  }

  .admin-header-actions a {
    width: 100%;
  }

  .admin-sidebar {
    gap: 10px;
  }

  .admin-sidebar-brand span {
    display: none;
  }

  .admin-sidebar-nav a span,
  .admin-sidebar-footer a {
    font-size: 0.86rem;
  }
}

/* =====================================================
   LIGHT / DARK THEME SYSTEM
===================================================== */
html[data-theme],
html[data-theme] body,
html[data-theme] .premium-topbar,
html[data-theme] .navbar-collapse,
html[data-theme] .site-footer,
html[data-theme] .admin-app-shell,
html[data-theme] .admin-sidebar,
html[data-theme] .admin-topbar,
html[data-theme] .admin-panel,
html[data-theme] .admin-chart-card,
html[data-theme] .admin-metrics article,
html[data-theme] .premium-editor-panel,
html[data-theme] .premium-editor-preview,
html[data-theme] .request-admin-card,
html[data-theme] .request-detail-hero,
html[data-theme] .request-detail-panel,
html[data-theme] .request-status-form,
html[data-theme] .delete-confirm-card,
html[data-theme] .custom-input,
html[data-theme] .form-control,
html[data-theme] .form-select,
html[data-theme] .site-message,
html[data-theme] .btn-premium,
html[data-theme] .btn-secondary-premium,
html[data-theme] .theme-toggle {
  transition:
    background-color 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease,
    fill 0.28s ease,
    opacity 0.28s ease;
}

body {
  background: var(--page-bg);
  color: var(--text);
}

.alt-band,
.music-portfolio-section,
.music-portfolio-page {
  background: var(--page-bg-alt);
}

.section-title,
.admin-main-header h1,
.admin-topbar-title strong,
.admin-chart-head h2,
.admin-chart-head strong,
.admin-panel-head h2,
.admin-feed a,
.admin-table-row span,
.admin-form-field label,
.premium-editor-preview h2,
.premium-editor-section-head h2,
.request-card-main h2,
.request-detail-hero h2,
.delete-panel h2,
.delete-confirm-card h2 {
  color: var(--text-strong);
}

.section-subtitle,
.case-panel p,
.admin-main-header p,
.admin-metrics span,
.admin-chart-card p,
.admin-panel-head > a,
.admin-quick-grid span,
.admin-feed span,
.admin-feed p,
.admin-empty-state p,
.admin-topbar-title span,
.request-card-main p,
.request-card-meta span,
.request-detail-status small,
.request-detail-list dt,
.request-detail-list dd,
.premium-editor-preview p,
.premium-editor-preview .music-editor-artist-preview span,
.admin-form-field small,
.delete-panel p,
.delete-confirm-card p,
.clean-list,
.footer-links a,
footer,
.site-footer {
  color: var(--text-muted);
}

.stat-card,
.case-panel,
.admin-panel,
.admin-metrics article,
.admin-chart-card,
.admin-quick-grid a,
.request-admin-card,
.request-detail-hero,
.request-detail-panel,
.request-status-form,
.premium-editor-preview,
.premium-editor-panel,
.delete-confirm-card,
.site-stat-admin-card,
.drag-upload-zone,
.music-editor-artist-preview,
.site-message {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.btn-premium,
.nav-cta,
.premium-topbar .nav-cta,
.admin-topbar-actions a:first-child,
.admin-topbar-actions a:first-of-type,
.admin-header-actions a,
.request-card-actions a,
.admin-form-actions button,
.delete-card-actions a,
.admin-cropper-use,
.inline-admin-form button,
input[type="file"].custom-input::file-selector-button,
.status-pill,
.portfolio-content span,
.step-badge,
.hero-active-badge {
  background: var(--button-bg);
  color: var(--button-text) !important;
}

.btn-premium:hover,
.premium-topbar .nav-cta:hover,
.premium-topbar .nav-cta:focus {
  background: var(--button-bg);
  color: var(--button-text) !important;
  filter: brightness(0.94);
}

.btn-secondary-premium,
.admin-topbar-actions a,
.admin-header-actions a + a,
.admin-form-actions a,
.delete-card-actions button,
.admin-cropper-close,
.admin-cropper-reset,
.admin-table-actions a,
.admin-table-actions button,
.music-platforms a {
  background: var(--button-muted-bg);
  color: var(--button-muted-text);
  border-color: var(--border);
}

.premium-topbar.navbar,
.navbar.premium-topbar {
  background: var(--nav-bg);
  border-bottom-color: var(--border);
}

.premium-topbar.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--border);
}

.premium-topbar .navbar-brand,
.navbar-brand {
  color: var(--nav-link-strong) !important;
}

.premium-topbar .nav-link,
.nav-link {
  color: var(--nav-link) !important;
}

.premium-topbar .nav-link:hover,
.premium-topbar .nav-link:focus,
.nav-link:hover,
.nav-link.active {
  color: var(--nav-link-strong) !important;
}

.premium-topbar .nav-link::after {
  background: var(--nav-link-strong);
}

.premium-topbar .navbar-toggler {
  background: var(--button-muted-bg);
  border-color: var(--border);
}

.site-footer,
footer {
  background: var(--page-bg-alt);
  border-top-color: var(--border);
}

.footer-bottom {
  border-top-color: var(--border);
}

.admin-app-shell {
  background:
    radial-gradient(circle at top left, var(--surface-strong), transparent 28%),
    var(--admin-bg);
}

.admin-sidebar {
  background: var(--admin-sidebar-bg);
  border-right-color: var(--border);
}

.admin-topbar {
  background: var(--admin-topbar-bg);
  border-bottom-color: var(--border);
}

.admin-sidebar-brand,
.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-footer a:hover,
.admin-quick-grid a,
.request-detail-list a {
  color: var(--text-strong);
}

.admin-sidebar-nav a,
.admin-sidebar-footer a {
  color: var(--text-muted);
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active,
.admin-sidebar-footer a:hover,
.admin-quick-grid a:hover,
.admin-table-actions a:hover,
.admin-table-actions button:hover {
  background: var(--surface-strong);
}

.admin-line-chart,
.admin-bar-chart {
  background:
    linear-gradient(var(--surface-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--surface-soft) 1px, transparent 1px);
  border-color: var(--border);
}

.chart-line {
  stroke: var(--text-strong);
}

.admin-bar-chart span {
  background: linear-gradient(to top, color-mix(in srgb, var(--text-strong) 30%, transparent), var(--text-strong));
}

.admin-table-row,
.admin-feed a,
.request-detail-list div,
.admin-cropper-head,
.admin-cropper-actions {
  border-color: var(--border);
}

input,
select,
textarea,
.form-control,
.form-select,
.custom-input {
  color-scheme: dark;
}

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .form-control,
html[data-theme="light"] .form-select,
html[data-theme="light"] .custom-input {
  color-scheme: light;
}

.form-control.custom-input,
.form-select.custom-input,
.custom-input,
input.custom-input,
select.custom-input,
textarea.custom-input {
  background: var(--field-bg) !important;
  border-color: var(--border) !important;
  color: var(--text-strong) !important;
}

.form-control.custom-input:focus,
.form-select.custom-input:focus,
.custom-input:focus,
input.custom-input:focus,
select.custom-input:focus,
textarea.custom-input:focus {
  background: var(--field-bg-focus) !important;
  border-color: color-mix(in srgb, var(--text-strong) 34%, transparent) !important;
  color: var(--text-strong) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--text-strong) 8%, transparent);
}

.custom-input::placeholder,
.form-control.custom-input::placeholder,
textarea.custom-input::placeholder,
input.custom-input::placeholder {
  color: var(--field-placeholder) !important;
}

.form-select.custom-input option,
select.custom-input option {
  background: var(--page-bg);
  color: var(--text-strong);
}

html[data-theme="light"] input[type="date"].custom-input::-webkit-calendar-picker-indicator {
  filter: none;
}

.admin-cropper-modal {
  background: var(--modal-backdrop);
}

.admin-cropper-dialog,
.admin-cropper-stage {
  background: var(--page-bg);
  border-color: var(--border);
}

.theme-toggle {
  --toggle-width: 58px;
  --toggle-height: 32px;
  width: var(--toggle-width);
  height: var(--toggle-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-strong);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--text-strong) 8%, transparent), var(--shadow-soft);
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8px;
}

.theme-toggle-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.theme-toggle-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--button-bg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.28s ease;
}

html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(26px);
}

html[data-theme="light"] .theme-toggle-sun,
html[data-theme="dark"] .theme-toggle-moon {
  color: var(--button-text);
}

.nav-theme-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.premium-topbar .theme-toggle {
  box-shadow: none;
}

.super-login-brand .theme-toggle {
  margin-left: auto;
}

html[data-theme="light"] .overlay {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(247, 245, 239, 0.72)),
    linear-gradient(to top, rgba(247, 245, 239, 0.5), rgba(255, 255, 255, 0.1));
}

html[data-theme="light"] .overlay-dark {
  background: rgba(247, 245, 239, 0.72);
}

html[data-theme="light"] .detail-hero .section-title,
html[data-theme="light"] .detail-hero .section-subtitle,
html[data-theme="light"] .portfolio-card,
html[data-theme="light"] .portfolio-card:hover,
html[data-theme="light"] .project-card,
html[data-theme="light"] .project-card:hover,
html[data-theme="light"] .service-card,
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .portfolio-mini-card,
html[data-theme="light"] .portfolio-mini-card:hover,
html[data-theme="light"] .music-portfolio-card,
html[data-theme="light"] .music-portfolio-card:hover,
html[data-theme="light"] .hero-admin-card,
html[data-theme="light"] .project-admin-card,
html[data-theme="light"] .service-admin-card,
html[data-theme="light"] .portfolio-admin-card,
html[data-theme="light"] .music-admin-card {
  color: var(--on-media-text);
}

/* Theme-aware text normalization. Keep this after page/admin styles. */
html[data-theme] :where(
  body,
  main,
  section,
  article,
  aside,
  div,
  p,
  li,
  dd,
  td,
  input,
  select,
  textarea,
  label
) {
  color: inherit;
}

html[data-theme] body,
html[data-theme] .admin-main,
html[data-theme] .apply-service-page,
html[data-theme] .music-portfolio-page {
  color: var(--text);
}

html[data-theme] :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  .section-title,
  .portfolio-title,
  .web-card-title,
  .step-title,
  .admin-main-header h1,
  .admin-topbar-title strong,
  .admin-chart-head h2,
  .admin-chart-head strong,
  .admin-panel-head h2,
  .admin-metrics strong,
  .admin-feed strong,
  .admin-empty-state h2,
  .premium-editor-preview h2,
  .premium-editor-section-head h2,
  .request-card-main h2,
  .request-detail-hero h2,
  .request-detail-list a,
  .delete-confirm-card h2,
  .apply-brief h1,
  .super-login-card h1,
  .super-login-brand,
  .footer-inner strong
) {
  color: var(--text-strong);
}

html[data-theme] :where(
  p,
  small,
  .eyebrow,
  .section-subtitle,
  .web-card-text,
  .step-text,
  .portfolio-section-head p,
  .portfolio-empty-card,
  .footer-inner span,
  .footer-links a,
  .bottom-caption,
  .clean-list,
  .admin-main-header p,
  .admin-topbar-title span,
  .admin-metrics span,
  .admin-chart-card p,
  .admin-panel-head > a,
  .admin-quick-grid span,
  .admin-feed span,
  .admin-feed p,
  .admin-empty-state p,
  .admin-form-field small,
  .request-card-main p,
  .request-card-meta span,
  .request-detail-status small,
  .request-detail-list dt,
  .request-detail-list dd,
  .premium-editor-preview p,
  .premium-editor-preview .music-editor-artist-preview span,
  .apply-brief p,
  .apply-brief-points span,
  .super-login-card p,
  .super-login-meta a
) {
  color: var(--text-muted);
}

html[data-theme] :where(
  .navbar-brand,
  .premium-topbar .navbar-brand,
  .admin-sidebar-brand,
  .admin-sidebar-nav a:hover,
  .admin-sidebar-nav a.active,
  .admin-sidebar-footer a:hover
) {
  color: var(--text-strong) !important;
}

html[data-theme] :where(
  .nav-link,
  .premium-topbar .nav-link,
  .admin-sidebar-nav a,
  .admin-sidebar-footer a
) {
  color: var(--nav-link) !important;
}

html[data-theme] :where(
  .nav-link:hover,
  .nav-link.active,
  .premium-topbar .nav-link:hover,
  .premium-topbar .nav-link:focus
) {
  color: var(--nav-link-strong) !important;
}

html[data-theme] :where(
  .btn-premium,
  .nav-cta,
  .premium-topbar .nav-cta,
  .admin-topbar-actions a:first-of-type,
  .admin-header-actions a,
  .request-card-actions a,
  .admin-form-actions button,
  .delete-card-actions a,
  .inline-admin-form button,
  .admin-cropper-use,
  .super-login-button,
  .step-badge,
  .status-pill,
  .portfolio-content span,
  .hero-active-badge,
  input[type="file"].custom-input::file-selector-button
) {
  color: var(--button-text) !important;
}

html[data-theme] :where(
  .btn-secondary-premium,
  .admin-topbar-actions a,
  .admin-header-actions a + a,
  .admin-form-actions a,
  .admin-table-actions a,
  .admin-table-actions button,
  .music-platforms a,
  .theme-toggle,
  .admin-cropper-close,
  .admin-cropper-reset,
  .delete-card-actions button
) {
  color: var(--button-muted-text);
}

html[data-theme] :where(
  .project-card,
  .project-card:hover,
  .project-card h2,
  .project-card h3,
  .project-card p,
  .project-card small,
  .service-card,
  .service-card:hover,
  .service-card h3,
  .service-card p,
  .service-card span,
  .portfolio-mini-card,
  .portfolio-mini-card:hover,
  .portfolio-mini-card h3,
  .portfolio-mini-card p,
  .portfolio-mini-card span,
  .portfolio-mini-card small,
  .portfolio-card,
  .portfolio-card:hover,
  .portfolio-title,
  .portfolio-tag,
  .music-portfolio-card,
  .music-portfolio-card:hover,
  .music-portfolio-card h3,
  .music-portfolio-card p,
  .music-portfolio-card span,
  .music-portfolio-card small,
  .visual-label,
  .eco-overlay-text h5,
  .eco-overlay-text p,
  .hero .section-title,
  .hero .section-subtitle,
  .portfolio-hero-copy .section-title,
  .portfolio-hero-copy .section-subtitle,
  .detail-hero .section-title,
  .detail-hero .section-subtitle,
  .hero-admin-card,
  .project-admin-card,
  .service-admin-card,
  .portfolio-admin-card,
  .music-admin-card,
  .hero-admin-card h2,
  .project-admin-card h2,
  .service-admin-card h2,
  .portfolio-admin-card h2,
  .music-admin-card h2,
  .hero-admin-card p,
  .project-admin-card p,
  .service-admin-card p,
  .portfolio-admin-card p,
  .music-admin-card p,
  .project-admin-card small,
  .service-admin-card small,
  .portfolio-admin-card small,
  .music-admin-card small
) {
  color: var(--on-media-text);
}

html[data-theme] :where(
  .project-card p,
  .project-card small,
  .service-card p,
  .service-card span,
  .portfolio-mini-card p,
  .portfolio-mini-card span,
  .portfolio-mini-card small,
  .portfolio-tag,
  .music-portfolio-card p,
  .music-portfolio-card span,
  .music-portfolio-card small,
  .eco-overlay-text p,
  .hero-admin-card p,
  .project-admin-card p,
  .service-admin-card p,
  .portfolio-admin-card p,
  .music-admin-card p,
  .project-admin-card small,
  .service-admin-card small,
  .portfolio-admin-card small,
  .music-admin-card small
) {
  color: var(--on-media-muted);
}

html[data-theme] :where(
  .form-control.custom-input,
  .form-select.custom-input,
  .custom-input,
  input.custom-input,
  select.custom-input,
  textarea.custom-input
) {
  color: var(--text-strong) !important;
}

html[data-theme] :where(
  .form-control.custom-input::placeholder,
  .custom-input::placeholder,
  input.custom-input::placeholder,
  textarea.custom-input::placeholder
) {
  color: var(--field-placeholder) !important;
}

html[data-theme] .form-select.custom-input option,
html[data-theme] select.custom-input option {
  color: var(--text-strong);
}

html[data-theme] :where(.site-message, .site-message button) {
  color: var(--text-strong);
}

html[data-theme] :where(.errorlist, .form-alert, .admin-table-row .danger, .admin-table-actions .danger, .request-card-actions .danger, .delete-icon) {
  color: var(--danger-text) !important;
}

html[data-theme] :where(.admin-status-good, .status-new, .crop-selected-note) {
  color: var(--success-text);
}

html[data-theme] :where(.status-reviewing, .status-quoted) {
  color: var(--warning-text);
}

html[data-theme] :where(.status-approved) {
  color: var(--info-text);
}

@media (max-width: 767px) {
  .nav-theme-item {
    margin: 10px 0 4px;
  }

  .premium-topbar .theme-toggle {
    width: 100%;
    max-width: 82px;
  }

  .premium-topbar .navbar-collapse {
    background: var(--nav-mobile-bg);
    border-color: var(--border);
  }
}
