/* =====================================================
   Eveningside — About Us Section + Custom Multi-Select
   ===================================================== */

/* ── About Us Section ── */
#es-about {
  padding: 7rem 0;
  background: hsl(240 10% 3.9%);
  border-top: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs — matching other sections */
#es-about .es-glow-tl {
  position: absolute;
  top: -80px;
  left: -100px;
  width: 560px;
  height: 480px;
  background: radial-gradient(circle, rgba(124,58,237,0.11) 0%, transparent 68%);
  filter: blur(80px);
  pointer-events: none;
  transform: translateZ(0);
}

#es-about .es-glow-br {
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 500px;
  height: 420px;
  background: radial-gradient(circle, rgba(96,165,250,0.07) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  transform: translateZ(0);
}

/* Dot-grid texture — same as hero / services */
#es-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Thin gradient line at top edge */
#es-about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124,58,237,0.5) 30%,
    rgba(96,165,250,0.4) 60%,
    transparent 100%);
  pointer-events: none;
}

.es-about-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .es-about-wrap   { grid-template-columns: 1fr; gap: 3rem; padding: 0 1.5rem; }
}

/* ── Left column ── */
.es-about-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(262 83% 68%);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.es-about-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: hsl(262 83% 68%);
  border-radius: 2px;
}

.es-about-heading {
  font-size: clamp(2.6rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  font-family: 'Inter', sans-serif;
  margin: 0 0 1.75rem;
  letter-spacing: -0.035em;
  /* Gradient — mirrors the hero heading */
  background: linear-gradient(135deg,
    #ffffff 0%,
    hsl(262 83% 80%) 45%,
    hsl(213 94% 68%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-about-heading .es-about-accent {
  display: block;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.12) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.es-about-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: hsl(240 5% 55%);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  max-width: 430px;
  margin-bottom: 2.5rem;
}

/* Stats row */
.es-about-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.es-about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.es-about-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, hsl(262 83% 75%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.es-about-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(240 5% 45%);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ── Right column — contact card ── */
.es-about-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  /* Gradient border via box-shadow + pseudo */
  background: linear-gradient(
    145deg,
    rgba(124,58,237,0.06) 0%,
    rgba(10,10,20,0.7) 50%,
    rgba(96,165,250,0.04) 100%
  );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(124,58,237,0.2);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 32px 64px rgba(0,0,0,0.5),
    0 0 80px rgba(124,58,237,0.05);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

#es-about .es-about-card:hover {
  border-color: rgba(124,58,237,0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 40px 80px rgba(0,0,0,0.55),
    0 0 120px rgba(124,58,237,0.1);
}

/* Gradient top-edge line */
.es-about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124,58,237,0.7) 30%,
    rgba(96,165,250,0.5) 65%,
    transparent 100%);
  z-index: 1;
}

/* Shimmer on hover */
.es-about-card::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(124,58,237,0.04) 50%,
    transparent 60%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  transition: none;
}

#es-about .es-about-card:hover::after {
  left: 130%;
  transition: left 0.9s ease;
}

.es-about-card-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 1;
}

.es-about-card-title {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(262 83% 68%);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.es-about-card-sub {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.es-about-card-body {
  padding: 0.375rem 0;
  position: relative;
  z-index: 1;
}

.es-about-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s ease;
}

.es-about-row:last-child { border-bottom: none; }

.es-about-row:hover {
  background: rgba(124,58,237,0.04);
}

.es-about-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(96,165,250,0.08) 100%);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(262 83% 72%);
  font-size: 0.875rem;
  transition: border-color 0.2s, background 0.2s;
}

.es-about-row:hover .es-about-icon {
  border-color: rgba(124,58,237,0.4);
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(96,165,250,0.12) 100%);
}

.es-about-info { display: flex; flex-direction: column; gap: 0.12rem; }

.es-about-info-label {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(240 5% 38%);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.es-about-info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.es-about-row:hover .es-about-info-value {
  color: rgba(255,255,255,0.96);
}


/* ── Custom Service Multi-Select ── */
.es-service-field { position: relative; }

.es-service-multi,
.es-service-native select {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0; opacity: 0;
  pointer-events: none;
}

.es-service-pills { display: flex; flex-direction: column; gap: 0.5rem; }

.es-service-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.es-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.es-service-pill:hover {
  border-color: rgba(124,59,237,0.5);
  color: rgba(255,255,255,0.85);
  background: rgba(124,59,237,0.08);
}

.es-service-pill.es-selected {
  border-color: rgba(124,59,237,0.7);
  background: rgba(124,59,237,0.15);
  color: #ffffff;
}

.es-service-pill .es-pill-check {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
  font-size: 8px;
  color: transparent;
}

.es-service-pill.es-selected .es-pill-check {
  background: rgb(124,59,237);
  border-color: rgb(124,59,237);
  color: #fff;
}

.es-service-hint {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.32);
  font-family: 'Inter', sans-serif;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

.es-service-error {
  font-size: 0.75rem;
  color: #ef4444;
  font-family: 'Inter', sans-serif;
  margin-top: 0.25rem;
  display: none;
}

.es-service-error.es-show { display: block; }

[data-es-pill-injected] ~ p,
.es-service-field > p { display: none !important; }
.es-service-field > p.es-service-error { display: block !important; }
.es-service-field > p.es-service-error:not(.es-show) { display: none !important; }
