

/* ═══════════════════════════════════════════════════════════
   EXPLORE SLIDER
   ═══════════════════════════════════════════════════════════ */
.davv-explore-section {
  padding-bottom: 0.75rem;
  user-select: none;
}
@media (min-width: 640px) {
  .davv-explore-section {
    padding-bottom: 2rem;
  }
}

.davv-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .davv-explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .davv-explore-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.davv-explore-card {
  background: var(--davv-white);
  border: 1px solid var(--davv-subtle-border);
  border-radius: var(--davv-radius-md);
  overflow: hidden;
  box-shadow: var(--davv-shadow-sm);
  transition: var(--davv-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.davv-explore-card:hover {
  box-shadow: var(--davv-shadow-lg);
  transform: translateY(-0.25rem);
}

.davv-explore-img-wrap {
  position: relative;
  height: 8rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .davv-explore-img-wrap {
    height: 9rem;
  }
}

.davv-explore-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.davv-explore-card:hover .davv-explore-img {
  transform: scale(1.05);
}

.davv-explore-img-overlay {
  position: absolute;
  inset: 0;
  background: var(--davv-black-10);
  transition: background 0.15s ease;
}

.davv-explore-card:hover .davv-explore-img-overlay {
  background: transparent;
}

.davv-explore-icon-badge {
  position: absolute;
  top: 6.75rem;
  left: 1rem;
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--davv-radius-md);
  background: var(--primary-color);
  color: var(--davv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--davv-shadow-md);
  border: 1px solid var(--davv-white-20);
  transition: background 0.15s ease;
}

@media (min-width: 768px) {
  .davv-explore-icon-badge {
    top: 7.75rem;
  }
}
.davv-explore-card:hover .davv-explore-icon-badge {
  background: var(--davv-blue);
}

.davv-explore-card-body {
  padding: 1.25rem 1.25rem 1rem;
  padding-top: 2rem;
  background: var(--davv-white);
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 10;
}

.davv-explore-card-title {
  font-weight: 900;
  color: var(--davv-slate-900);
  font-size: 0.8125rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
  transition: color 0.15s ease;
}

@media (min-width: 768px) {
  .davv-explore-card-title {
    font-size: 0.875rem;
  }
}
.davv-explore-card:hover .davv-explore-card-title {
  color: var(--davv-blue);
}

/* Flask / Research icon fallback */
.bi-flask {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E")
    no-repeat center / contain;
  vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════
   PAGE SECTION LAYOUT HELPERS (used in Index.cshtml)
   ═══════════════════════════════════════════════════════════ */
.davv-section-bg-light {
  background-color: var(--davv-slate-100);
  transition: background-color 0.3s;
  padding-block: 0.5rem;
}
.davv-section-bg-white {
  background-color: var(--davv-white);
  transition: background-color 0.3s;
}
.davv-section-pad {
  padding-block: 0.5rem;
}
@media (min-width: 640px) {
  .davv-section-pad {
    padding-block: 1rem;
  }
}
.davv-section-pad-top {
  padding-top: 0.5rem;
}
@media (min-width: 768px) {
  .davv-section-pad-top {
    padding-top: 8.5rem;
  }
}
@media (min-width: 1024px) {
  .davv-section-pad-top {
    padding-top: 10rem;
  }
}
.davv-section-bordered {
  border-top: 1px solid var(--davv-slate-100);
  border-bottom: 1px solid var(--davv-slate-100);
}
.davv-section-top-border {
  border-top: 1px solid var(--davv-slate-100);
}

/* Stepper + Services grid */
.davv-stepper-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 1rem;
}

@media (min-width: 640px) {
  .davv-stepper-services-grid {
    padding-block: 2rem;
  }
}
@media (min-width: 1024px) {
  .davv-stepper-services-grid {
    grid-template-columns: 2fr 1fr;
  }
}
