:root {
  --dj-blue: #1b3f8c;
  --dj-blue-dark: #102a63;
  --dj-yellow: #f5c800;
  --dj-green: #25d366;
  --dj-bg: #f5f7fb;
  --dj-surface: #ffffff;
  --dj-text: #0f172a;
  --dj-muted: #5b6473;
  --dj-border: #d8e0ef;
  --dj-radius: 20px;
  --dj-shadow: 0 18px 50px rgba(14, 31, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dj-text);
  background: linear-gradient(180deg, #f8faff 0%, #f1f5fb 100%);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

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

img {
  max-width: 100%;
  height: auto;
}

.dj-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.dj-header-main {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--dj-blue);
  border-bottom: 2px solid var(--dj-yellow);
  box-shadow: 0 10px 30px rgba(16, 42, 99, 0.15);
}

.dj-header-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 18px;
}

.dj-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 180px;
  max-height: 44px;
  overflow: hidden;
}

.dj-logo-link img,
.dj-branding img,
.custom-logo-link img,
img.custom-logo {
  max-height: 44px;
  max-width: 180px;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block;
}

.dj-branding {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 180px;
}

.dj-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  max-height: 44px;
  overflow: hidden;
}

.dj-logo-fallback {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dj-nav {
  justify-self: center;
}

.dj-menu,
.dj-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dj-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.dj-menu li a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.dj-menu li a:hover,
.dj-menu .current-menu-item > a,
.dj-menu .current_page_item > a {
  color: var(--dj-yellow);
}

.dj-header-ctas,
.dj-footer-cta-row,
.dj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dj-header-btn,
.dj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.dj-header-btn:hover,
.dj-btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.dj-header-btn-wa,
.dj-btn-wa {
  background: var(--dj-green);
  color: #fff;
}

.dj-header-btn-call,
.dj-btn-call {
  background: var(--dj-green);
  color: #fff;
}

.dj-menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  margin-left: auto;
}

.dj-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.dj-site-main {
  min-height: 50vh;
}

.dj-page {
  color: var(--dj-text);
}

.dj-section {
  padding: 28px 0;
}

.dj-card {
  background: var(--dj-surface);
  border: 1px solid var(--dj-border);
  border-radius: var(--dj-radius);
  box-shadow: var(--dj-shadow);
}

.dj-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.dj-hero {
  background: linear-gradient(135deg, var(--dj-blue-dark) 0%, var(--dj-blue) 100%);
  color: #fff;
  overflow: hidden;
}

.dj-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
}

.dj-highlight-bar {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 0 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--dj-yellow);
  color: var(--dj-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dj-hero h1,
.dj-page h1,
.dj-page h2,
.dj-page h3 {
  margin: 0;
  line-height: 1.08;
}

.dj-hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  color: #fff;
}

.dj-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.7;
}

.dj-bullets,
.dj-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dj-bullets li,
.dj-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  line-height: 1.65;
}

.dj-bullets li::before,
.dj-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dj-yellow);
  font-weight: 700;
}

.dj-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.dj-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--dj-blue);
  font-size: 13px;
  font-weight: 700;
}

.dj-actions {
  margin-top: 22px;
}

.dj-hero-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dj-hero-photo {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border-radius: 18px;
  object-fit: contain;
  object-position: center center;
  background: rgba(255, 255, 255, 0.04);
  z-index: 1;
}

.dj-page-featured-image {
  overflow: hidden;
  border-bottom: 1px solid var(--dj-border);
  border-top-left-radius: var(--dj-radius);
  border-top-right-radius: var(--dj-radius);
  background: #e8eefb;
}

.dj-page-photo {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.dj-hero-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  z-index: 2;
}

.dj-hero-mark {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 3;
}

.dj-hero-sketch {
  position: absolute;
  right: 34px;
  bottom: 34px;
  max-width: 250px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
  z-index: 3;
}

.dj-side-stack,
.dj-quick-links {
  display: grid;
  gap: 18px;
}

.dj-side-cta,
.dj-side-mini,
.dj-metric,
.dj-box,
.dj-service-card,
.dj-simple-page {
  padding: 22px;
}

.dj-side-mini h3,
.dj-box h3,
.dj-service-card h3,
.dj-page-content h2,
.dj-page-content h3,
.dj-page-content h4 {
  color: var(--dj-blue);
}

.dj-mini-list,
.dj-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dj-mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--dj-border);
  color: var(--dj-muted);
}

.dj-mini-list li:last-child {
  border-bottom: 0;
}

.dj-link-list li {
  margin: 8px 0;
}

.dj-link-list a,
.dj-link-list span {
  color: var(--dj-text);
  font-weight: 600;
}

.dj-link-list a:hover {
  color: var(--dj-blue);
}

.dj-grid-2,
.dj-grid-3,
.dj-services-grid,
.dj-areas-grid,
.dj-footer-grid {
  display: grid;
  gap: 18px;
}

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

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

.dj-areas-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}

.dj-area-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--dj-border);
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
  color: var(--dj-blue);
}

.dj-metric strong {
  display: block;
  font-size: 28px;
  color: var(--dj-blue);
}

.dj-box p,
.dj-box li,
.dj-page p,
.dj-note,
.dj-page-content {
  color: var(--dj-muted);
  line-height: 1.75;
}

.dj-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--dj-border);
}

.dj-faq-item:last-child {
  border-bottom: 0;
}

.dj-cta-final {
  background: linear-gradient(135deg, var(--dj-blue) 0%, var(--dj-blue-dark) 100%);
  color: #fff;
  padding: 30px;
}

.dj-cta-final h2,
.dj-cta-final p {
  color: #fff;
}

.dj-simple-hero {
  padding: 10px 0 24px;
}

.dj-simple-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--dj-blue);
}

.dj-page-content > :first-child {
  margin-top: 0;
}

.dj-home-editor {
  padding: 28px;
}

.dj-home-page-content .wp-block-group,
.dj-home-page-content .wp-block-columns,
.dj-home-page-content .wp-block-cover,
.dj-home-page-content .wp-block-media-text {
  margin-bottom: 24px;
}

.dj-post-card + .dj-post-card {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dj-border);
}

.dj-post-title {
  margin: 0 0 10px;
}

.dj-post-title a {
  color: var(--dj-blue);
}

.dj-site-footer {
  background: var(--dj-blue);
  color: #fff;
  margin-top: 30px;
}

.dj-footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  padding: 40px 0 28px;
}

.dj-site-footer h3,
.dj-site-footer h4 {
  margin: 0 0 14px;
}

.dj-site-footer h4 {
  color: var(--dj-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dj-site-footer p,
.dj-site-footer li,
.dj-site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.dj-site-footer a:hover {
  color: var(--dj-yellow);
}

.dj-footer-menu li {
  margin: 9px 0;
}

.dj-footer-bottom {
  background: var(--dj-blue-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.dj-footer-bottom .dj-shell {
  padding: 14px 0;
}

@media (max-width: 1040px) {
  .dj-header-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .dj-nav {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
    margin-top: 4px;
  }

  .dj-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .dj-menu::-webkit-scrollbar {
    display: none;
  }

  .dj-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    width: auto;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
  }

  .dj-menu-toggle {
    display: none;
  }

  .dj-header-ctas {
    display: flex;
    justify-self: end;
  }

  .dj-header-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    width: auto;
  }
}

@media (max-width: 920px) {
  .dj-main-grid,
  .dj-hero-grid,
  .dj-grid-2,
  .dj-grid-3,
  .dj-services-grid,
  .dj-areas-grid,
  .dj-footer-grid {
    grid-template-columns: 1fr;
  }

  .dj-header-row {
    min-height: auto;
    padding: 10px 0 12px;
  }

  .dj-branding,
  .dj-logo-link,
  .dj-branding .custom-logo-link {
    max-width: 132px;
    max-height: 38px;
  }

  .dj-logo-link img,
  .dj-branding img,
  .custom-logo-link img,
  img.custom-logo {
    max-width: 132px;
    max-height: 38px;
  }

  .dj-hero-grid,
  .dj-side-cta,
  .dj-side-mini,
  .dj-simple-page,
  .dj-cta-final {
    padding: 22px;
  }

  .dj-actions,
  .dj-footer-cta-row {
    flex-direction: column;
  }

  .dj-btn {
    width: 100%;
  }

  .dj-hero-image {
    min-height: 240px;
  }
}
