/* ═══ Reference-aligned tokens (dark blue + light blue + white) ═══ */
:root {
  --dct-bg: #0d1b2a;
  --dct-bg2: #1a2332;
  --dct-blue: #42a5f5;
  --dct-blue2: #2196f3;
  --dct-dark: #091629;
  --dct-white: #fff;
  --dct-radius: 10px;
  --dct-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  --dct-transition: 0.28s ease;
  --font-dct-head: "Playfair Display", Georgia, serif;
  --font-dct-body: "Inter", "Segoe UI", sans-serif;
}

html,
body {
  background-color: var(--dct-bg) !important;
  color: var(--dct-white);
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── TOP BAR ── */
.dct-topbar {
  background: var(--dct-dark);
  border-bottom: 1px solid rgba(66, 165, 245, 0.25);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
.dct-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dct-topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dct-topbar-link {
  color: var(--dct-blue);
  transition: var(--dct-transition);
}
.dct-topbar-link:hover {
  color: #fff;
}
.dct-topbar-divider {
  opacity: 0.35;
}
.dct-topbar-item--right {
  margin-left: auto;
}
.dct-topbar-phone {
  font-weight: 600;
}
@media (max-width: 640px) {
  .dct-topbar-item--right,
  .dct-topbar-right-divider {
    display: none;
  }
}

/* ── MAIN HEADER ── */
.dct-master-header {
  position: relative;
  z-index: 200;
  background: linear-gradient(135deg, var(--dct-bg) 0%, var(--dct-bg2) 100%);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.dct-master-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--dct-blue), var(--dct-white), var(--dct-blue));
}
.dct-header-main {
  padding: 0;
}
.dct-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.dct-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.dct-brand-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.dct-brand-name {
  font-family: var(--font-dct-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  display: block;
}
.dct-brand-tagline {
  font-size: 0.72rem;
  color: var(--dct-blue);
  display: block;
  line-height: 1.3;
}

.dct-desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.dct-nav-list {
  list-style: none;
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: nowrap;
}
.dct-nav-link {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--dct-transition);
  text-decoration: none;
}
@media (min-width: 1200px) {
  .dct-nav-link {
    font-size: 0.82rem;
    padding: 8px 12px;
  }
}
.dct-nav-link:hover {
  color: #fff;
  background: rgba(66, 165, 245, 0.2);
}
.dct-nav-link.active {
  color: #fff;
  background: rgba(66, 165, 245, 0.28);
}
.dct-has-dropdown {
  position: relative;
}
.dct-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dct-bg);
  border: 1px solid rgba(66, 165, 245, 0.3);
  border-radius: var(--dct-radius);
  box-shadow: var(--dct-shadow);
  min-width: 220px;
  list-style: none;
  padding: 8px 0;
  z-index: 300;
}
.dct-has-dropdown:hover .dct-dropdown {
  display: block;
}
.dct-dropdown li a {
  display: block;
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  transition: var(--dct-transition);
  text-decoration: none;
}
.dct-dropdown li a:hover {
  color: #fff;
  background: rgba(66, 165, 245, 0.15);
  padding-left: 22px;
}

.dct-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.dct-header-social {
  display: flex;
  gap: 8px;
}
.dct-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--dct-transition);
  text-decoration: none;
}
.dct-social-btn:hover {
  background: var(--dct-blue);
  border-color: var(--dct-blue);
  color: #fff;
  transform: translateY(-2px);
}
.dct-header-cta {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 50px;
  background: var(--dct-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--dct-transition);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.35);
}
.dct-header-cta:hover {
  background: var(--dct-blue2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 165, 245, 0.45);
}

.dct-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #fff;
  flex-shrink: 0;
}

.dct-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--dct-dark);
  border-right: 2px solid var(--dct-blue);
  z-index: 10000;
  overflow-y: auto;
  transform: translateX(-110%);
  transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px 20px 40px;
}
.dct-mobile-menu.open {
  transform: translateX(0);
}
.dct-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  backdrop-filter: blur(3px);
}
.dct-mobile-overlay.visible {
  display: block;
}
.dct-mobile-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
}
.dct-mobile-close:hover {
  color: #fff;
}
.dct-mobile-cta {
  display: block;
  background: var(--dct-blue);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 16px;
  transition: var(--dct-transition);
}
.dct-mobile-cta:hover {
  background: var(--dct-blue2);
}
.dct-mobile-link {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 6px;
  text-decoration: none;
  transition: var(--dct-transition);
}
.dct-mobile-link:hover {
  background: rgba(66, 165, 245, 0.15);
  color: #fff;
}
.dct-mobile-link.active {
  background: rgba(66, 165, 245, 0.22);
  color: #fff;
}
.dct-mobile-link--phone {
  background: rgba(66, 165, 245, 0.18);
}
.dct-mobile-submenu {
  margin: 0 0 6px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dct-mobile-submenu a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--dct-transition);
}
.dct-mobile-submenu a:hover {
  color: #fff;
  background: rgba(66, 165, 245, 0.12);
}
.dct-mobile-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
  .dct-desktop-nav {
    display: none;
  }
  .dct-hamburger {
    display: block;
  }
}
@media (max-width: 768px) {
  .dct-header-social {
    display: none;
  }
  .dct-header-cta {
    display: none;
  }
}
@media (max-width: 480px) {
  .dct-brand-tagline {
    display: none;
  }
}

/* ── VIDEO BANNER (below header row) ── */
.dct-banner-video {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  margin: 0;
  border-radius: 0 0 20px 20px;
}
.dct-banner-video__wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.dct-banner-video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: dctKenBurns 18s ease-in-out infinite alternate;
}
@keyframes dctKenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
.dct-banner-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  backdrop-filter: blur(2px);
  z-index: 2;
  pointer-events: none;
}
.dct-banner-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.55), transparent 50%);
  z-index: 3;
  pointer-events: none;
}
.dct-banner-video__content {
  position: absolute;
  bottom: 22px;
  left: 24px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 48px);
}
.dct-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.dct-banner-phone {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(13, 27, 42, 0.75);
  border: 1px solid rgba(66, 165, 245, 0.45);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--dct-transition);
}
.dct-banner-phone:hover {
  background: var(--dct-blue);
  border-color: var(--dct-blue);
  transform: translateY(-2px);
}
.dct-banner-phone--alt {
  border-color: rgba(255, 255, 255, 0.35);
}
.dct-banner-pill {
  background: rgba(13, 27, 42, 0.88);
  border: 1px solid rgba(66, 165, 245, 0.4);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  line-height: 1.35;
}
.dct-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--dct-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--dct-transition);
  box-shadow: 0 4px 18px rgba(66, 165, 245, 0.35);
}
.dct-banner-cta:hover {
  background: var(--dct-blue2);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .dct-banner-video {
    height: 200px;
    border-radius: 0 0 14px 14px;
  }
  .dct-banner-video::before {
    width: 100%;
    height: 45%;
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  }
  .dct-banner-video__content {
    bottom: 14px;
    left: 16px;
  }
}

/* ═══ FOOTER ═══ */
.dct-footer {
  background: linear-gradient(135deg, var(--dct-bg) 0%, var(--dct-bg2) 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}
.dct-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dct-blue), var(--dct-white), var(--dct-blue));
}
.dct-footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.dct-footer-main {
  padding: 60px 0 40px;
}
.dct-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.4fr;
  gap: 40px;
}
.dct-footer-brand-name {
  font-family: var(--font-dct-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.dct-footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}
.dct-footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dct-footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dct-blue);
  margin-bottom: 16px;
}
.dct-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dct-footer-links li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}
.dct-footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--dct-transition);
}
.dct-footer-links a:hover {
  color: #fff;
}
.dct-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}
.dct-footer-contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--dct-blue);
}
.dct-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--dct-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--dct-transition);
}
.dct-footer-cta-btn:hover {
  background: var(--dct-blue2);
  transform: translateY(-2px);
}

.dct-footer-map {
  background: #e8eef5;
  padding: 40px 0;
}
.dct-footer-map-title {
  color: var(--dct-bg);
  font-family: var(--font-dct-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.dct-footer-map-address {
  color: #5a6a7e;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 20px;
}
.dct-footer-map-embed {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(66, 165, 245, 0.35);
}
.dct-footer-map-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
  display: block;
}

.dct-footer-bottom {
  background: var(--dct-dark);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.dct-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.dct-footer-bottom-inner p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.dct-footer-tagline {
  color: rgba(66, 165, 245, 0.75) !important;
}

@media (max-width: 1024px) {
  .dct-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media (max-width: 640px) {
  .dct-footer-grid {
    grid-template-columns: 1fr;
  }
  .dct-footer-map-embed iframe {
    height: 240px;
  }
}

/* ═══ Custom HTML landing pages (Custom HTML block) — width + headings ═══
   Blocksy’s .is-layout-constrained + global heading styles can cap content
   width and force a dark theme text color on h1–h2, which breaks two-column
   blocks and low-contrast titles on navy sections. */
.entry-content.is-layout-constrained > .dental-page {
  max-width: min(1240px, 100%) !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content .dental-page h1,
.entry-content .dental-page h2,
.entry-content .dental-page h3,
.entry-content .dental-page h4 {
  color: inherit;
}
