.header-hero {
  margin: 5px 0 15px;
  padding: clamp(16px, 3.2vw, 28px);
}

.header-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: center;
  gap: clamp(14px, 3.2vw, 28px);
  max-width: min(1240px, 100%);
  margin-inline: auto;
}

.header-hero .hero-content {
  display: grid;
  align-content: start;
  gap: 20px;
}

.header-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: .35px;
  color: var(--orange);
}

.header-hero .hero-title {
  margin: 2px 0 0;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.12;
  letter-spacing: .2px;
  text-wrap: balance;
}

.header-hero .hero-sub {
  color: var(--text-muted);
  margin: 0;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.65;
  max-width: 62ch;
}

.header-hero .hero-list {
  display: grid;
  gap: 5px;
  margin: 2px 0;
  padding-left: 0;
  list-style: none;
}

.header-hero .hero-list li {
  display: inline-flex;
  align-items: start;
  gap: 5px;
  color: var(--text-muted);
  font-size: 12px;
}

.header-hero .hero-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 6px;
  flex: 0 0 auto;
}

.header-hero .hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.header-hero .hero-cta .btn {
  padding: 11px 11px;
  font-weight: bold;
  border-radius: 5px;
  min-width: 200px;
  transition: background-color .18s ease, color .18s ease;
}

.btn-main {
  background: var(--orange);
  color: var(--bg-dark);
}

.header-hero .hero-cta-primary:hover {
  filter: brightness(1.05);
}

.header-hero .hero-cta-secondary {
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--text-light);
}

.header-hero .hero-cta-secondary:hover {
  color: var(--text-muted);
}

.header-hero .hero-media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* keep grid centering behavior */
.header-hero .hero-media .media-box {
  width: 100%;
  display: grid;
  place-items: center;
}

/* --- default image rules (initial) --- */
.header-hero .hero-media img {
  max-width: 100%;
  max-height: clamp(220px, 36vw, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ================================
   🎯 ENHANCEMENTS: circular bg + pulse
   ================================ */

/* create a stacking context so z-index works predictably */
.header-hero .hero-media .media-box {
  position: relative;
  z-index: 0;                     /* new stacking context */
  max-width: clamp(240px, 34vw, 440px);
  aspect-ratio: 1 / 1;            /* perfect circle container */
}

/* circular background (base plate) */
.header-hero .hero-media .media-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 0;
}

/* soft outer aura + pulse */
.header-hero .hero-media .media-box::after {
  content: "";
  position: absolute;
  inset: -5%;
  border-radius: 50%;

  transform: scale(0.92);
  opacity: .55;
  animation: heroPulse 2s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* slightly smaller image inside the circle and always on top */
.header-hero .hero-media img {
  position: relative;
  z-index: 1;            /* image above decorative layers */
  width: 50%;
  height: auto;
  max-width: none;
  max-height: none;
}

@keyframes heroPulse {
  0%   { transform: scale(0.92); opacity: 0.55; }
  60%  { transform: scale(1.04); opacity: 0; }
  100% { transform: scale(1.04); opacity: 0; }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .header-hero .hero-media .media-box::after { animation: none; opacity: .12; }
}

/* ================================ */

@media (max-width: 1024px) {
  .header-hero .hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-hero .hero-grid { grid-template-columns: 1fr; }
  .header-hero .hero-content { order: 0; }
  .header-hero .hero-media   { order: 1; }
  .header-hero .hero-cta .btn { width: 100%; min-width: 0; }
}

@media (max-width: 540px) {
  .header-hero .hero-content { justify-items: center; text-align: center; }
  .header-hero .hero-title { text-align: center; }
  .header-hero .hero-list { text-align: left; width: 100%; max-width: 48ch; margin-inline: auto; }
  .header-hero .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .header-hero .hero-cta .btn {
    width: auto; min-width: 0; padding: 11px 16px; border-radius: 5px; font-size: 12px;
  }
  /* քո սկզբնական վարքագիծը — media թաքնված է մոբայլում */
  .header-hero .hero-media { display: none !important; }
}

@media (max-width: 380px) {
  .header-hero { padding: 14px; }
  .header-hero .hero-title { font-size: 22px; }
  .header-hero .hero-cta .btn { padding: 10px 12px; font-size: 12px; }
}

/* ---- OPTIONAL: uncomment if you want the logo visible on ≤540px ---- */
/*
@media (max-width: 540px) {
  .header-hero .hero-media { display: grid !important; }
  .header-hero .hero-media .media-box { max-width: 220px; margin: 8px auto 0; }
}
*/
