/* Production CSS: premium glass + stable responsive layout */
:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.55);
  --danger: #ef4444;
  --success: #22c55e;
  --warn: #f59e0b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.42);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --nav-h: 70px;
  --nav-safe: 90px; /* strict requirement */
  --grad: linear-gradient(135deg, #a855f7, #3b82f6);
  --grad-soft: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.42), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.35), transparent 60%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Avoid anchor scroll behind fixed navbar */
.section {
  scroll-margin-top: var(--nav-safe);
}

.no-scroll {
  overflow: hidden !important;
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.section-kicker {
  margin: 0 0 10px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
}

.section--compact {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 740px;
  margin-bottom: clamp(20px, 4vw, 34px);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.12;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Background glow layers */
.page-glow {
  position: absolute;
  inset: -30vh -25vw auto -25vw;
  height: 70vh;
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
}

.page-glow--primary {
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.48), transparent 60%);
}

.page-glow--secondary {
  inset: auto -25vw -35vh -25vw;
  height: 65vh;
  background: radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.44), transparent 62%);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  z-index: 2000;
  font-size: 14px;
  max-width: min(680px, calc(100% - 24px));
  text-align: center;
}

.toast--success {
  border-color: rgba(34, 197, 94, 0.35);
}
.toast--error {
  border-color: rgba(239, 68, 68, 0.35);
}
.toast--warning {
  border-color: rgba(245, 158, 11, 0.35);
}
.toast.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 240ms ease, transform 240ms ease;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
  user-select: none;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.46);
}

.button--primary {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.18), 0 14px 34px rgba(59, 130, 246, 0.18);
}

.button--primary:hover {
  box-shadow: 0 18px 42px rgba(168, 85, 247, 0.26), 0 18px 42px rgba(59, 130, 246, 0.24);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.07);
}

.button--ghost {
  background: transparent;
}

.button--danger {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.32);
}

.button--block {
  width: 100%;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.25), 0 14px 34px rgba(59, 130, 246, 0.22);
}
.brand__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand__copy strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}
.brand__copy small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand--admin .brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
}

/* Fixed navbar: never overlaps content */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1200;
  display: flex;
  align-items: center;
}

.nav-shell {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
}

.main-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.main-nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.main-nav__admin {
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Mobile nav overlay (JS toggles classes) */
.nav-toggle,
.mobile-nav,
.mobile-nav__backdrop {
  display: none;
}

/* Ensure hero clears the fixed navbar */
.hero-section {
  padding-top: var(--nav-safe);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 18px;
  min-width: 0;
}

.hero-badge {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 12px;
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 5.1vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: pre-line; /* enables \n line breaks from PHP content */
}

.hero-description {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.85;
  font-size: clamp(14px, 1.6vw, 16px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.stat-card {
  padding: 14px 14px;
  border-radius: var(--radius-sm);
}
.stat-card strong {
  display: block;
  font-size: 20px;
}
.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-proof__item {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--faint);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 52vw, 520px);
}

.profile-orb {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.profile-orb__glow {
  position: absolute;
  inset: -30%;
  background: var(--grad-soft);
  opacity: 0.95;
  filter: blur(18px);
}

.profile-orb__ring {
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.profile-orb img {
  width: 74%;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.profile-chip {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  z-index: 2;
}
.profile-chip span {
  font-size: 12px;
  color: var(--muted);
}
.profile-chip strong {
  font-size: 14px;
}

.orbital-shape {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.22);
  animation: floaty 6s ease-in-out infinite;
}
.orbital-shape--one {
  top: 12%;
  left: 10%;
}
.orbital-shape--two {
  top: 20%;
  right: 16%;
  animation-delay: -1.8s;
}
.orbital-shape--three {
  bottom: 18%;
  right: 26%;
  animation-delay: -3.4s;
}

@keyframes floaty {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-10px) translateX(6px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* Info band + tags */
.info-band {
  padding: 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}
.info-band h2 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.2;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.tag {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--muted);
}

/* Card grids */
.card-grid {
  display: grid;
  gap: 14px;
}
.card-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-card {
  padding: 20px 20px;
  border-radius: var(--radius);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}
.service-card:hover,
.process-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}
.service-card__index {
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.18em;
}
.service-card h3,
.process-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}
.service-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.process-card__step {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: var(--faint);
}

/* Showcase + filters */
.showcase-toolbar {
  margin: 22px 0 22px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 14px;
  align-items: center;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.filter-pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}
.filter-pill:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}
.filter-pill.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

.video-group {
  margin-top: clamp(18px, 3vw, 28px);
}
.video-group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.video-group__head h3 {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 24px);
}
.pill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.video-grid {
  display: grid;
  gap: 14px;
}
.video-grid--long {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-grid--short {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-card {
  padding: 12px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  outline: none;
}
.video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}
.video-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.35), 0 0 0 4px rgba(59, 130, 246, 0.22);
}

.video-thumb {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 16 / 9;
}
.video-thumb--short {
  aspect-ratio: 9 / 16;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 220ms ease;
}
.video-card:hover .video-thumb img {
  transform: scale(1.08);
}
.video-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  opacity: 0;
  transition: opacity 180ms ease;
}
.video-card:hover .video-card__overlay {
  opacity: 1;
}
.play-button {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  position: relative;
  box-shadow: 0 0 38px rgba(168, 85, 247, 0.2);
}
.play-button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255, 255, 255, 0.92);
}

.video-card__body {
  padding: 12px 8px 4px;
  display: grid;
  gap: 10px;
}
.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.video-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}
.video-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--faint);
  font-size: 12px;
}

.filter-empty-note,
.empty-state {
  margin-top: 14px;
  padding: 18px 18px;
  border-radius: var(--radius);
}
.empty-state h3 {
  margin: 0 0 8px;
}
.empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

/* Contact */
.contact-shell {
  padding: 24px 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: center;
}
.contact-copy h2 {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
}
.contact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}
.contact-methods {
  display: grid;
  gap: 12px;
}
.contact-card {
  padding: 16px 16px;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}
.contact-card span {
  color: var(--muted);
  font-size: 12px;
}
.contact-card strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

/* Footer + WhatsApp FAB */
.site-footer {
  padding: 24px 0 46px;
}
.footer-shell {
  padding: 22px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.footer-shell h2 {
  margin: 0;
  font-size: 22px;
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.footer-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.footer-meta a {
  color: var(--muted);
}
.footer-meta a:hover {
  color: var(--text);
}

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1400;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}
.whatsapp-fab:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Modal */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1600;
}
.video-modal.is-open {
  display: grid;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.video-modal__dialog {
  position: relative;
  margin: auto;
  width: min(980px, calc(100% - 24px));
  border-radius: 22px;
  padding: 18px 18px;
  z-index: 1;
  display: grid;
  gap: 14px;
}
.video-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-modal__close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
}
.video-modal__close span:first-child {
  transform: rotate(45deg);
}
.video-modal__close span:last-child {
  transform: rotate(-45deg);
}
.video-modal__copy {
  padding-right: 46px;
}
.video-modal__meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.video-modal__copy h3 {
  margin: 4px 0 0;
  font-size: 18px;
}
.video-modal__stage {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}
.video-modal__stage.is-short {
  aspect-ratio: 9 / 16;
  width: min(520px, 100%);
  margin: 0 auto;
}
.video-modal__stage iframe,
.video-modal__stage video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .orbital-shape {
    animation: none;
  }
  .button,
  .video-card,
  .service-card,
  .process-card,
  .contact-card {
    transition: none;
  }
}

/* Ripple layer */
.ripple-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1700;
}
.click-ripple {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
}
.click-ripple__dot {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1);
}
.click-ripple__wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(168, 85, 247, 0.55);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  animation: rippleWave 0.4s ease-out forwards;
}
@keyframes rippleWave {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.75;
  }
  to {
    transform: translate(-50%, -50%) scale(28);
    opacity: 0;
  }
}

/* Admin + login */
.admin-body,
.login-body {
  background: radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.18), transparent 62%),
    var(--bg);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.admin-sidebar {
  padding: 18px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.admin-sidebar__intro h2 {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.25;
}
.admin-nav {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.admin-nav a {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.admin-nav a:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}
.admin-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
.admin-main {
  padding: 18px 18px;
}
.admin-topbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.admin-topbar h1 {
  margin: 0;
  font-size: 22px;
}
.admin-topbar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.admin-user-chip {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-align: right;
}
.admin-user-chip span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.admin-user-chip strong {
  font-size: 14px;
}
.admin-content {
  padding: 18px 0 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-stat {
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.admin-stat strong {
  display: block;
  font-size: 26px;
}
.admin-stat span {
  color: var(--muted);
  font-size: 12px;
}
.admin-card,
.admin-note {
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.admin-card h3 {
  margin: 10px 0 10px;
}
.admin-card__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.manage-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.manage-card {
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.manage-card__thumb {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.manage-card__thumb--short {
  aspect-ratio: 9 / 16;
}
.manage-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manage-card h3 {
  margin: 8px 0 6px;
  font-size: 16px;
}
.manage-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.manage-card__meta {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  color: var(--faint);
  font-size: 12px;
}
.manage-card__actions {
  margin-top: 12px;
}

.admin-form {
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field-group {
  display: grid;
  gap: 8px;
}
.field-group--full {
  grid-column: 1 / -1;
}
.field-group label {
  font-size: 12px;
  color: var(--muted);
}
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.55);
  outline: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}
.field-group small {
  color: var(--faint);
  line-height: 1.6;
}

.inline-alert {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}
.inline-alert--error {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(239, 68, 68, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.login-visual,
.login-panel {
  padding: clamp(18px, 4vw, 40px);
  display: grid;
  align-content: center;
}
.login-visual__panel,
.login-panel {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: clamp(18px, 3.4vw, 32px);
}
.credential-chip {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
  margin: 8px 8px 0 0;
}
.category-cloud {
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }
  .main-nav {
    gap: 10px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
  .info-band,
  .contact-shell,
  .showcase-toolbar,
  .footer-shell {
    grid-template-columns: 1fr;
  }
  .tag-list,
  .filter-row,
  .footer-links {
    justify-content: flex-start;
  }
  .video-grid--long {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-grid--short {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid--services,
  .card-grid--process {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .manage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .main-nav,
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  .nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }
  .nav-toggle span:nth-child(2) {
    transform: translateY(0);
  }
  .nav-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .mobile-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 1500;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1501;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .mobile-nav__panel {
    height: 100%;
    padding: 18px 18px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    border-radius: 0;
  }
  .mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .mobile-nav__links {
    display: grid;
    gap: 10px;
    align-content: start;
  }
  .mobile-nav__links a {
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
  }
  .mobile-nav__actions {
    display: grid;
    gap: 10px;
  }

  body.is-mobile-nav-open .mobile-nav__backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body.is-mobile-nav-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
  }

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

