/*
 * Eptamed — Hero Ambassador.
 * Immagine di sfondo inline dal widget; velatura, colori e opacità dai controlli Elementor.
 */

.ept-amb-hero {
  box-sizing: border-box;
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 90px;
  isolation: isolate;
  font-family: 'Familjen Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

.ept-amb-hero *,
.ept-amb-hero *::before,
.ept-amb-hero *::after {
  box-sizing: border-box;
}

.ept-amb-overlay {
  position: absolute;
  inset: 0;
  opacity: .72;
  background: #100E0C;
  z-index: 1;
  pointer-events: none;
}

.ept-amb-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.ept-amb-glow-1 {
  width: 560px;
  height: 560px;
  background: #D4A93C;
  top: -160px;
  left: -140px;
  animation: ept-amb-float-1 22s ease-in-out infinite;
}

.ept-amb-glow-2 {
  width: 480px;
  height: 480px;
  background: #BC5A29;
  bottom: -170px;
  right: -120px;
  animation: ept-amb-float-2 26s ease-in-out infinite;
}

@keyframes ept-amb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
}

@keyframes ept-amb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -30px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .ept-amb-glow {
    animation: none !important;
  }
}

.ept-amb-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ept-amb-eyebrow {
  margin: 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ept-amb-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4A93C;
  flex-shrink: 0;
}

.ept-amb-title {
  margin: 6px 0 0;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  color: #fff;
  text-shadow: 0 0 70px rgba(212, 169, 60, .35);
}

.ept-amb-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(95deg, #fff 0%, #F0D9A0 55%, #D4A93C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ept-amb-body {
  margin: 8px 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: min(560px, 100%);
}

.ept-amb-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.ept-amb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.ept-amb-btn-primary {
  background: #D4A93C;
  color: #241509 !important;
  border: none;
}

.ept-amb-btn-primary:hover {
  background: #BC5A29;
  color: #fff !important;
}

.ept-amb-btn-outline {
  background: transparent;
  color: #F0D9A0 !important;
  border: 2px solid rgba(240, 217, 160, .4);
  padding: 0 26px;
}

.ept-amb-btn-outline:hover {
  border-color: #F0D9A0;
  color: #fff !important;
}

@media (max-width: 600px) {
  .ept-amb-hero {
    padding: 80px 20px 76px;
  }
}
