:root {
  --ep-navy: #191849;
  --ep-navy-light: #252468;
  --ep-blue: #1a9bdc;
  --ep-cyan: #37d7ff;
  --ep-text: #1a1a2e;
  --ep-mid: #4a4a6a;
  --ep-border: #dde2ef;
  --ep-light: #f5f7fa;
  --ep-white: #fff;
}

.ep-tune-wrap {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ep-text);
}

.ep-tune-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(34px, 5vw, 72px);
  background:
    linear-gradient(110deg, rgba(25, 24, 73, .96) 0%, rgba(25, 24, 73, .84) 55%, rgba(26, 155, 220, .44) 100%),
    radial-gradient(circle at 90% 20%, rgba(55, 215, 255, .34), transparent 32%);
  box-shadow: 0 28px 80px rgba(25, 24, 73, .22);
  margin-bottom: 34px;
}

.ep-tune-kicker,
.ep-tune-small-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ep-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ep-tune-kicker::before,
.ep-tune-small-title::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
}

.ep-tune-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 700;
}

.ep-tune-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.75;
}

.ep-tune-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ep-tune-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.ep-tune-btn:hover {
  transform: translateY(-2px);
}

.ep-tune-btn-primary {
  background: var(--ep-blue);
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(26, 155, 220, .28);
}

.ep-tune-btn-primary:hover {
  background: #1580bb;
}

.ep-tune-btn-outline {
  border: 2px solid rgba(255, 255, 255, .34);
  color: #fff !important;
}

.ep-tune-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.ep-tune-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: stretch;
}

.ep-tune-card {
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 20px 60px rgba(25, 24, 73, .08);
}

.ep-tune-card h2,
.ep-tune-enquiry h2 {
  margin: 0 0 12px;
  color: var(--ep-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
}

.ep-tune-card p,
.ep-tune-enquiry p {
  color: var(--ep-mid);
  font-size: 16px;
  line-height: 1.7;
}

.ep-tune-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.ep-tune-form-grid label {
  display: block;
}

.ep-tune-form-grid label span {
  display: block;
  margin-bottom: 7px;
  color: var(--ep-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ep-tune-form-grid select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--ep-border);
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  color: var(--ep-text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ep-tune-form-grid select:focus {
  border-color: var(--ep-blue);
  box-shadow: 0 0 0 4px rgba(26, 155, 220, .12);
}

.ep-tune-full {
  grid-column: 1 / -1;
}

.ep-tune-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--ep-blue);
  background: var(--ep-light);
  border-radius: 10px;
  font-size: 14px !important;
}

.ep-tune-result-card {
  background: linear-gradient(135deg, var(--ep-navy), var(--ep-navy-light));
  color: #fff;
  border: 0;
}

.ep-tune-result-card h2,
.ep-tune-result-card p,
.ep-tune-result-card .ep-tune-small-title {
  color: #fff;
}

.ep-tune-result-card .ep-tune-small-title {
  color: var(--ep-cyan);
}

.ep-tune-result-copy,
#ep-tune-result-copy {
  color: rgba(255, 255, 255, .72) !important;
}

.ep-tune-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.ep-tune-result-box {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
}

.ep-tune-result-box span {
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.ep-tune-result-box strong {
  color: #fff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
}

.ep-tune-result-box.ep-highlight {
  border-color: rgba(55, 215, 255, .4);
  background: rgba(26, 155, 220, .2);
}

.ep-tune-stage2 {
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.ep-tune-stage2 h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.ep-tune-stage2 p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .74) !important;
  font-size: 14px;
}

.ep-tune-enquiry {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--ep-light);
  border-radius: 20px;
  border: 1px solid var(--ep-border);
}

.ep-tune-cf7 input,
.ep-tune-cf7 select,
.ep-tune-cf7 textarea {
  width: 100%;
}

@media (max-width: 900px) {
  .ep-tune-panel,
  .ep-tune-enquiry {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ep-tune-hero,
  .ep-tune-card,
  .ep-tune-enquiry {
    border-radius: 16px;
  }

  .ep-tune-form-grid,
  .ep-tune-results-grid {
    grid-template-columns: 1fr;
  }

  .ep-tune-actions,
  .ep-tune-btn {
    width: 100%;
  }
}
