/* ==========================================================================
   HERO / BANNER COMPONENTS
   ========================================================================== */
.ep-hero {
  max-width: 1280px;
  margin: 32px auto 8px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.ep-hero-card {
  background: #fff;
  border: 1px solid var(--ep-border);
  padding: 48px 52px 54px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.ep-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 95% 12%, rgba(var(--ep-primary-rgb), .12), transparent 58%);
  opacity: 1;
  pointer-events: none;
}

.ep-hero-card h1 {
  margin: 0 0 16px;
  font-size: 2.2rem;
  line-height: 1.18;
  color: var(--ep-text);
  font-weight: 700;
  letter-spacing: .3px;
  position: relative;
}

.ep-hero-card p {
  margin: 0 0 28px;
  font-size: .95rem;
  color: var(--ep-text-soft);
  max-width: 560px;
  position: relative;
}

/* Hero Banner */
.ep-hero-banner {
  max-width: 1320px;
  margin: 40px auto 0;
  padding: 0 32px;
  position: relative;
}

.ep-hero-banner-inner {
  background: linear-gradient(135deg, rgba(var(--ep-primary-rgb), .14), rgba(var(--ep-primary-rgb), .08));
  border: 1px solid rgba(var(--ep-primary-rgb), .18);
  border-radius: 26px;
  padding: 68px 80px 74px;
  box-shadow: 0 18px 48px rgba(7, 31, 70, .18);
  position: relative;
  overflow: visible;
}

.ep-hero-banner-inner::after {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--ep-primary-rgb), .22), transparent 65%);
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}

.ep-hero-banner-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.ep-hero-banner-content h1 {
  margin: 0 0 18px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ep-text);
}

.ep-hero-banner-content p {
  margin: 0 0 36px;
  font-size: 1rem;
  color: var(--ep-text-soft);
  line-height: 1.6;
}

/* Hero Search Component */
.ep-hero-search {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  z-index: 100;
}

.ep-hero-search form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(var(--ep-primary-rgb), .22);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 8px 26px rgba(7, 31, 70, .16);
  backdrop-filter: blur(6px);
}

.ep-hero-search input {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: .95rem;
  color: var(--ep-text);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .02);
}

.ep-hero-search input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(var(--ep-primary-rgb), .28);
}

.ep-hero-search button {
  background: var(--ep-gradient-primary);
  border: none;
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .5px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(var(--ep-primary-rgb), .25);
}

.ep-hero-search button:hover {
  filter: brightness(1.08);
}

.ep-hero-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--ep-border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(7, 31, 70, .14);
  max-height: 400px;
  overflow-y: auto;
  z-index: 200;
  display: none;
  scroll-behavior: smooth;
}

.ep-hero-suggestions:not(.ep-hidden) {
  display: block;
}

/* Response */
@media (max-width: 1100px){
  .ep-hero {grid-template-columns:1fr;}
}

@media (max-width: 780px){
  .ep-hero {padding:0 20px;}
}
