/* Interactive Services Explorer Component Styles */
:root {
  --se-navy: #1D2A44;
  --se-navy-2: #243454;
  --se-navy-light: #2C3C5B;
  --se-ink: #1D2A44;
  --se-muted: #1D2A44;
  --se-line: #E2E6ED;
  --se-paper: #FFFFFF;
  --se-wash: #F6F8FB;
  --se-soft: #EDF1F7;
  --se-font-display: "Manrope", sans-serif;
  --se-font-body: "DM Sans", sans-serif;
}

.services-explorer-section {
  background-color: var(--se-wash);
  padding-top: 48px;
  padding-bottom: 56px;
  scroll-margin-top: 80px;
  color: var(--se-navy);
}

.services-explorer-section .container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}

/* INTRO / HEADER */
.services-explorer-section .intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 26px;
}

.services-explorer-section .eyebrow {
  margin: 0 0 8px;
  color: var(--se-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-family: var(--se-font-display);
  text-transform: uppercase;
}

.services-explorer-section .eyebrow span {
  color: var(--se-navy);
  opacity: 0.45;
  margin: 0 5px;
}

.services-explorer-section .intro-copy h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font: 800 clamp(32px, 3.2vw, 42px) / 1.15 var(--se-font-display);
  letter-spacing: -0.03em;
  color: var(--se-navy);
}

.services-explorer-section .intro-description {
  max-width: 680px;
  margin: 0;
  color: var(--se-navy);
  opacity: 0.85;
  font-size: 16.5px;
  line-height: 1.6;
  font-family: var(--se-font-body);
}

.services-explorer-section .intro-note {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 0 0 4px 22px;
  border-left: 1px solid var(--se-line);
  color: var(--se-navy);
}

.services-explorer-section .note-number {
  color: var(--se-navy);
  font: 800 42px / 0.95 var(--se-font-display);
  letter-spacing: -0.04em;
}

.services-explorer-section .note-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--se-navy);
  opacity: 0.78;
  font-family: var(--se-font-body);
}

/* EXPLORER GRID */
.services-explorer-section .explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.98fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--se-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(29, 42, 68, 0.08);
  background: #FFFFFF;
}

.services-explorer-section .wheel-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 28px 22px;
  border-right: 1px solid var(--se-line);
  background: #FCFCFD;
  min-width: 0;
  position: relative;
}

.services-explorer-section .panel-topline {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--se-line);
  color: var(--se-navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: var(--se-font-display);
}

.services-explorer-section .ring-wrap {
  width: 100%;
  max-width: 580px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 12px;
  position: relative;
}

.services-explorer-section .service-ring {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  overflow: visible;
  padding: 12px;
  box-sizing: border-box;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.services-explorer-section .service-ring:active {
  cursor: grabbing;
}

.services-explorer-section .wheel-rotator {
  transform-origin: 210px 210px;
  transform-box: view-box;
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

.services-explorer-section .ring-track {
  fill: none;
  stroke: #EEF1F5;
  stroke-width: 95;
}

.services-explorer-section .ring-center {
  fill: white;
  stroke: var(--se-navy);
  stroke-width: 1.5;
}

.services-explorer-section .dock-indicator {
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(255, 86, 34, 0.4));
}

.services-explorer-section .ring-segment {
  cursor: pointer;
  stroke-linejoin: round;
  transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
  outline: none;
}

/* Default / Inactive: ALL segments are WHITE */
.services-explorer-section .ring-segment,
.services-explorer-section .ring-segment.segment-white,
.services-explorer-section .ring-segment.white {
  fill: #FFFFFF !important;
  stroke: var(--se-navy) !important;
  stroke-width: 1.5 !important;
}

.services-explorer-section .ring-segment:hover,
.services-explorer-section .ring-segment.segment-white:hover {
  fill: #F4F7FB !important;
  stroke-width: 2 !important;
  filter: drop-shadow(0 4px 10px rgba(29, 42, 68, 0.16));
}

.services-explorer-section .ring-segment:focus-visible {
  stroke: #FF5622 !important;
  stroke-width: 3 !important;
}

/* Active 1 o'clock segment: NAVY BLUE with vibrant orange border */
.services-explorer-section .ring-segment.selected,
.services-explorer-section .ring-segment.segment-active {
  fill: var(--se-navy) !important;
  stroke: #FF5622 !important;
  stroke-width: 3 !important;
  filter: drop-shadow(0 6px 16px rgba(29, 42, 68, 0.35)) !important;
}

/* Inactive labels: Navy Blue */
.services-explorer-section .segment-label {
  pointer-events: none;
  font-family: var(--se-font-display);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: var(--se-navy);
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1), fill 0.3s ease;
  will-change: transform;
}

.services-explorer-section .segment-label tspan {
  fill: inherit;
}

/* Active 1 o'clock label: Pure White */
.services-explorer-section .segment-label.selected,
.services-explorer-section .segment-label.text-white,
.services-explorer-section .segment-label.white-text {
  fill: #FFFFFF !important;
}

.services-explorer-section .segment-label.selected tspan,
.services-explorer-section .segment-label.text-white tspan,
.services-explorer-section .segment-label.white-text tspan {
  fill: #FFFFFF !important;
}

.services-explorer-section .center-vcs {
  fill: var(--se-navy);
  font: 800 36px var(--se-font-display);
  letter-spacing: -0.06em;
}

.services-explorer-section .center-caption {
  fill: var(--se-navy);
  font: 700 9.5px var(--se-font-body);
  letter-spacing: 2px;
}

.services-explorer-section .ring-hint {
  margin: 10px 0 0;
  color: var(--se-navy);
  opacity: 0.85;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: var(--se-font-body);
}

.services-explorer-section .wheel-foot {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--se-line);
  color: var(--se-navy);
  opacity: 0.85;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  font-family: var(--se-font-body);
}

.services-explorer-section .status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--se-navy);
}

/* DETAIL PANEL */
.services-explorer-section .detail-panel {
  align-self: center;
  min-width: 0;
  padding: 30px clamp(24px, 3vw, 44px);
  background: white;
  font-family: var(--se-font-body);
  box-sizing: border-box;
}

.services-explorer-section .detail-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--se-navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: var(--se-font-display);
}

.services-explorer-section #serviceKicker {
  color: var(--se-navy);
}

.services-explorer-section .detail-category {
  color: var(--se-navy);
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.services-explorer-section .detail-index {
  margin-bottom: 6px;
  color: var(--se-navy);
  opacity: 0.45;
  font: 700 15px var(--se-font-display);
}

.services-explorer-section .detail-panel h2 {
  margin: 0 0 10px;
  color: var(--se-navy);
  font: 800 clamp(26px, 2.7vw, 34px) / 1.15 var(--se-font-display);
  letter-spacing: -0.03em;
}

.services-explorer-section .detail-description {
  margin: 0 0 16px;
  color: var(--se-navy);
  opacity: 0.88;
  font-size: 16px;
  line-height: 1.6;
}

.services-explorer-section .deliverables-heading,
.services-explorer-section .process-heading {
  margin-bottom: 8px;
  color: var(--se-navy);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: var(--se-font-display);
}

.services-explorer-section .deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.services-explorer-section .deliverables li {
  border: 1px solid var(--se-navy);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--se-navy);
  font-size: 12.5px;
  font-weight: 500;
  background-color: var(--se-soft);
  line-height: 1.35;
}

.services-explorer-section .process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.services-explorer-section .process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--se-navy);
  font-size: 13.5px;
  line-height: 1.45;
  counter-increment: step;
}

.services-explorer-section .process-steps li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--se-navy);
  font-size: 12px;
  font-weight: 800;
  padding-top: 1px;
}

.services-explorer-section .service-discuss-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--se-navy);
  border-radius: 8px;
  background: var(--se-navy);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--se-font-display);
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}

.services-explorer-section .service-discuss-button:hover {
  background: var(--se-navy-2);
  transform: translateY(-1px);
}

.services-explorer-section .service-discuss-button span {
  font-size: 17px;
}

/* CONTACT DIALOG */
.contact-dialog {
  width: min(92vw, 460px);
  border: 1px solid var(--se-line);
  border-radius: 8px;
  padding: 30px;
  color: var(--se-navy);
  box-shadow: 0 25px 100px rgba(29, 42, 68, 0.25);
  background: #FFFFFF;
  font-family: var(--se-font-body);
  box-sizing: border-box;
}

.contact-dialog::backdrop {
  background: rgba(29, 42, 68, 0.5);
  backdrop-filter: blur(4px);
}

.close-dialog {
  float: right;
  border: 0;
  background: transparent;
  color: var(--se-navy);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog h2 {
  margin-bottom: 9px;
  color: var(--se-navy);
  font: 700 24px / 1.15 var(--se-font-display);
  letter-spacing: -0.04em;
}

.contact-dialog p:not(.eyebrow) {
  color: var(--se-navy);
  opacity: 0.8;
  font-size: 13px;
  line-height: 1.6;
}

.contact-dialog label {
  display: block;
  margin: 18px 0 8px;
  color: var(--se-navy);
  font-size: 12px;
  font-weight: 700;
}

.contact-dialog textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--se-line);
  border-radius: 4px;
  padding: 11px;
  outline: none;
  font-size: 13px;
  color: var(--se-navy);
  font-family: var(--se-font-body);
  box-sizing: border-box;
}

.contact-dialog textarea:focus {
  border-color: var(--se-navy);
}

.contact-dialog .service-discuss-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--se-navy);
  border-radius: 4px;
  background: var(--se-navy);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  font-family: var(--se-font-display);
  transition: background 0.2s;
  box-sizing: border-box;
}

.contact-dialog .service-discuss-button:hover {
  background: var(--se-navy-2);
}

.dialog-hint {
  margin: 12px 0 0;
  font-size: 11px !important;
  color: var(--se-navy);
  opacity: 0.7;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .services-explorer-section .explorer {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .services-explorer-section .wheel-panel {
    padding: 22px 18px 18px;
  }
  .services-explorer-section .ring-wrap {
    max-width: 500px;
  }
  .services-explorer-section .service-ring {
    max-width: 480px;
  }
  .services-explorer-section .detail-panel {
    padding: 26px 22px;
  }
  .services-explorer-section .detail-panel h2 {
    font-size: 26px;
  }
  .services-explorer-section .detail-description {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .services-explorer-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .services-explorer-section .intro {
    display: block;
    padding-bottom: 24px;
  }
  .services-explorer-section .intro-copy h2 {
    font-size: 30px;
  }
  .services-explorer-section .intro-description {
    font-size: 15px;
    line-height: 1.65;
  }
  .services-explorer-section .intro-note {
    display: none;
  }
  .services-explorer-section .explorer {
    grid-template-columns: 1fr;
  }
  .services-explorer-section .wheel-panel {
    border-right: 0;
    border-bottom: 1px solid var(--se-line);
    padding: 20px 14px 16px;
  }
  .services-explorer-section .ring-wrap {
    max-width: 460px;
    padding: 8px 0 4px;
  }
  .services-explorer-section .service-ring {
    max-width: 450px;
  }
  .services-explorer-section .detail-panel {
    padding: 26px 20px 24px;
  }
  .services-explorer-section .detail-card-head {
    margin-bottom: 16px;
  }
  .services-explorer-section .detail-panel h2 {
    font-size: 24px;
  }
  .services-explorer-section .detail-description {
    font-size: 14.5px;
  }
  .services-explorer-section .process-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* Mobile responsive: rotate arrow to 6 o'clock (150deg clockwise from 1 o'clock) */
  .services-explorer-section .dock-indicator {
    transform: rotate(150deg);
    transform-origin: 210px 210px;
    transform-box: view-box;
  }
}

@media (max-width: 479px) {
  .services-explorer-section {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  .services-explorer-section .intro-copy h2 {
    font-size: 24px;
  }
  .services-explorer-section .intro-description {
    font-size: 13.5px;
  }
  .services-explorer-section .wheel-panel {
    padding: 14px 10px 12px;
  }
  .services-explorer-section .ring-wrap {
    max-width: 100%;
    padding: 4px 0;
  }
  .services-explorer-section .detail-panel {
    padding: 18px 14px 20px;
  }
  .services-explorer-section .detail-panel h2 {
    font-size: 20px;
  }
  .services-explorer-section .detail-description {
    font-size: 13.5px;
  }
}

/* Sticky Navbar rule - ensures navbar remains sticky through every page and section */
.navbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  inset-block-start: 0 !important;
  background-color: #ffffff !important;
  border-bottom: 1px dashed rgba(27, 26, 39, 0.2) !important;
  width: 100% !important;
  z-index: 9999 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}
