/* =========================================================
   HERO / BANNER — matches mockup
   ========================================================= */

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #12A0DA 0%, #0E7FB3 60%, #0B6690 100%);
  isolation: isolate;
}

/* Decorative floating orbs */
.hero-section::before,
.hero-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: -1;
}
.hero-section::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,0.45), transparent 70%);
  top: -220px; right: -140px;
  animation: heroOrb1 18s ease-in-out infinite;
}
.hero-section::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244,131,31,0.35), transparent 70%);
  bottom: -180px; left: -120px;
  animation: heroOrb2 22s ease-in-out infinite;
}

@keyframes heroOrb1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-30px, 30px); }
}
@keyframes heroOrb2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}

/* ---------- Layout ---------- */
.hero-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px;
  position: relative;
  z-index: 1;
}

.hero-section__copy { min-width: 0; }

/* ---------- Tag pill ---------- */
.hero-section__tag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: heroTagIn 0.55s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}
@keyframes heroTagIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Title ---------- */
.hero-section__title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  animation: heroSlideUp 0.65s cubic-bezier(0.34, 1.3, 0.64, 1) 0.08s both;
}

/* ---------- Sub ---------- */
.hero-section__sub {
  color: #E4F5FC;
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 460px;
  animation: heroSlideUp 0.65s cubic-bezier(0.34, 1.3, 0.64, 1) 0.16s both;
}

@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Actions ---------- */
.hero-section__actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
  animation: heroSlideUp 0.65s cubic-bezier(0.34, 1.3, 0.64, 1) 0.24s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.hero-btn:hover  { transform: translateY(-2px); }
.hero-btn:active { transform: translateY(0); }

.hero-btn--orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(244, 131, 31, 0.28);
}
.hero-btn--orange:hover {
  background: var(--orange-dark);
  box-shadow: 0 12px 26px rgba(244, 131, 31, 0.42);
}

.hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 20px; /* 2px less to compensate for border */
}
.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- Image ---------- */
.hero-section__img {
  position: relative;
  animation: heroImgIn 0.9s cubic-bezier(0.34, 1.3, 0.64, 1) 0.1s both;
}

@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-section__img img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-section__img:hover img { transform: scale(1.02); }

/* Placeholder when no image uploaded */
.hero-section__img--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.06) 10px,
    rgba(255,255,255,0.12) 10px,
    rgba(255,255,255,0.12) 20px
  );
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-section__inner {
    grid-template-columns: 1fr;
    padding: 44px 24px;
    gap: 32px;
  }
  .hero-section__title { font-size: 36px; }
  .hero-section__sub   { max-width: none; }
  .hero-section__img img,
  .hero-section__img--empty { height: 300px; }
}

@media (max-width: 600px) {
  .hero-section__inner { padding: 40px 16px; gap: 24px; }
  .hero-section__title { font-size: 30px; }
  .hero-section__sub   { font-size: 15px; }
  .hero-section__img img,
  .hero-section__img--empty { height: 240px; }
  .hero-btn { padding: 11px 18px; font-size: 13.5px; }
  .hero-btn--outline { padding: 9px 16px; }
  .hero-section__actions { gap: 10px; margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section *,
  .hero-section::before,
  .hero-section::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}