.elektro-pulse-section {
  margin-top: 24px;
}

.elektro-pulse,
.elektro-pulse * {
  box-sizing: border-box;
}

.elektro-pulse {
  --elektro-pulse-accent: #d98a26;
  width: min(1190px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 32px 36px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(16, 35, 58, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 253, 0.96) 100%);
  box-shadow:
    0 28px 64px rgba(9, 16, 29, 0.12),
    0 10px 24px rgba(9, 16, 29, 0.06);
  font-family: "DM Sans", "Manrope", sans-serif;
}

.elektro-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 35, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 58, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.3;
  pointer-events: none;
}

.elektro-pulse > * {
  position: relative;
  z-index: 1;
}

.elektro-pulse__header {
  display: block;
}

.elektro-pulse__header-copy {
  max-width: 940px;
}

.elektro-pulse__kicker {
  display: none;
}

.elektro-pulse__title {
  margin: 0;
  color: #1b2a3c;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.elektro-pulse__intro {
  max-width: 920px;
  margin: 16px 0 0;
  color: rgba(27, 42, 60, 0.72);
  font-size: 18px;
  line-height: 1.68;
}

.elektro-pulse__tabs {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.elektro-pulse-card {
  min-height: 224px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
  box-shadow: 0 20px 38px rgba(8, 15, 28, 0.08);
  color: #1b2a3c;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    color 0.24s ease;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.elektro-pulse-card:hover,
.elektro-pulse-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(8, 15, 28, 0.08);
  outline: none;
}

.elektro-pulse-card.is-active {
  background: linear-gradient(160deg, #294261 0%, #17324b 100%);
  color: #ffffff;
  box-shadow:
    0 26px 42px rgba(23, 50, 75, 0.18),
    0 10px 22px rgba(23, 50, 75, 0.12);
}

.elektro-pulse-card__title {
  display: block;
  max-width: 220px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.elektro-pulse-card__icon {
  width: 58px;
  height: 58px;
  margin-top: auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--elektro-pulse-accent);
  background: rgba(217, 138, 38, 0.12);
  transition:
    background-color 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.elektro-pulse-card.is-active .elektro-pulse-card__icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.elektro-pulse-card__icon svg {
  width: 28px;
  height: 28px;
}

.elektro-pulse-card__meta {
  margin-top: 4px;
  color: rgba(27, 42, 60, 0.72);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-transform: none;
}

.elektro-pulse-card.is-active .elektro-pulse-card__meta {
  color: rgba(255, 255, 255, 0.78);
}

.elektro-pulse__detail {
  margin-top: 38px;
  padding-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 30px;
}

.elektro-pulse__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.elektro-pulse__photo {
  width: 100%;
  max-width: 540px;
  display: block;
  height: clamp(320px, 34vw, 420px);
  object-fit: cover;
  object-position: center center;
  border-radius: 30px;
  box-shadow:
    0 24px 54px rgba(16, 24, 40, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.55);
}

.elektro-pulse__detail-title {
  margin: 0 0 14px;
  color: #1b2a3c;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.elektro-pulse__detail-text {
  margin: 0;
  color: rgba(27, 42, 60, 0.82);
  font-size: 16px;
  line-height: 1.72;
}

.elektro-pulse__skills {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.elektro-pulse-skill {
  display: grid;
  gap: 8px;
}

.elektro-pulse-skill__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.elektro-pulse-skill__label {
  color: #1b2a3c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.elektro-pulse-skill__value {
  color: var(--elektro-pulse-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.elektro-pulse-skill__bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 35, 58, 0.12);
}

.elektro-pulse-skill__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--elektro-pulse-accent) 0%, color-mix(in srgb, var(--elektro-pulse-accent) 68%, white) 100%);
  transition: width 0.55s ease;
}

@media (max-width: 1100px) {
  .elektro-pulse__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elektro-pulse__detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .elektro-pulse {
    width: min(100%, calc(100% - 20px));
    padding: 24px 20px 26px;
    border-radius: 24px;
  }

  .elektro-pulse__title {
    font-size: clamp(30px, 5vw, 42px);
  }

  .elektro-pulse__intro,
  .elektro-pulse__detail-text {
    font-size: 15px;
  }

  .elektro-pulse__detail-title {
    font-size: clamp(26px, 4.6vw, 34px);
  }
}

@media (max-width: 640px) {
  .elektro-pulse {
    padding: 20px 16px 22px;
  }

  .elektro-pulse__tabs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .elektro-pulse-card {
    min-height: 0;
  }

  .elektro-pulse__detail {
    margin-top: 28px;
  }
}

/* HERO compact override */
body .hrx,
body .hrx__inner {
  min-height: clamp(520px, 68vh, 640px);
}

body .hrx__content {
  max-width: 580px;
}

body .hrx__title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
}

body .hrx__sub {
  max-width: 520px;
  margin: 10px 0 22px;
  font-size: 1.05rem;
  line-height: 1.55;
}

body .hrx__btn {
  padding: 13px 18px;
}

@media (max-width: 780px) {
  body .hrx,
  body .hrx__inner {
    min-height: 60vh;
  }

  body .hrx__title {
    font-size: clamp(1.8rem, 7vw, 2.9rem);
  }

  body .hrx__sub {
    font-size: 1rem;
    margin: 8px 0 18px;
  }
}
