/* ═══════════════════════════════════════════════════════════════
   HERO PRO — Premium Redesign
   ═══════════════════════════════════════════════════════════════ */

.hero-pro {
  position: relative; overflow: hidden;
  background: linear-gradient(to right, #3b0764 0%, #7c3aed 50%, #0d9488 100%);
  padding: clamp(5rem,11vh,8rem) 0 clamp(6rem,13vh,10rem);
  min-height: 90vh; display: flex; align-items: center; margin-top: -6px;
}
.hero-pro__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-pro__mesh {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(124,58,237,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13,148,136,.20) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(167,139,250,.12) 0%, transparent 40%);
  animation: meshPulse 8s ease-in-out infinite;
}
@keyframes meshPulse { 0%,100%{opacity:1} 50%{opacity:.7} }

.hero-pro__container {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem,6vw,7rem); align-items: center; position: relative; z-index: 2;
}

/* ── Badge ── */
.hero-pro__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .45rem 1.2rem; border-radius: 50px; margin-bottom: var(--sp-6);
}
.hero-pro__badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10b981; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse-glow 2s ease-in-out infinite;
}

/* ── Title ── */
.hero-pro__title {
  font-family: var(--font-serif); font-size: clamp(1.4rem,3vw,2.4rem);
  color: #fff; line-height: 1.3; margin-bottom: var(--sp-5); letter-spacing: -.01em;
  min-height: 10rem;
}
.hero-pro__title-gold {
  background: linear-gradient(135deg,#f59e0b,#fbbf24,#fde68a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-block;
}

/* Visually hide the static SEO text so only the typing animation is visible to sighted users */
.hero-typing-static {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Subtitle ── */
.hero-pro__subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.72); line-height: 1.75;
  max-width: 500px; margin-bottom: var(--sp-7);
}
.hero-pro__subtitle strong { color: rgba(255,255,255,.95); font-weight: 600; }

/* ── Schedule Pills ── */
.hero-pro__pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: var(--sp-8); }
.hero-pro__pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 50px; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ── CTA Buttons ── */
.hero-pro__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: var(--sp-10); }
.hero-pro__btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.75rem; border-radius: 12px;
  font-weight: 700; font-size: .92rem; cursor: pointer; border: none;
  transition: all .3s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
}
.hero-pro__btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s;
}
.hero-pro__btn:hover::after { transform: translateX(100%); }

.hero-pro__btn--gold {
  background: linear-gradient(135deg,#d97706,#f59e0b); color: #fff;
  box-shadow: 0 6px 24px rgba(245,158,11,.4);
}
.hero-pro__btn--gold:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,158,11,.55); color: #fff; }

.hero-pro__btn--whatsapp {
  background: linear-gradient(135deg,#128C7E,#25D366); color: #fff;
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
}
.hero-pro__btn--whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,.5); color: #fff; }

.hero-pro__btn--ghost {
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.25); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-pro__btn--ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); color: #fff; }

/* ── Stats Row ── */
.hero-pro__stats {
  display: flex; align-items: center; flex-wrap: wrap;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 16px; padding: var(--sp-5) var(--sp-6);
}
.hero-pro__stat {
  flex: 1; text-align: center; min-width: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero-pro__stat-num {
  font-family: var(--font-serif); font-size: 1.9rem; line-height: 1; color: #fff; font-weight: 700;
}
.hero-pro__stat-suffix { font-size: 1.1rem; color: #f59e0b; font-weight: 700; margin-left: 1px; }
.hero-pro__stat-label {
  font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 500; line-height: 1.3; margin-top: 3px; text-align: center;
}
.hero-pro__stat-divider {
  width: 1px; height: 40px; background: rgba(255,255,255,.15); margin: 0 var(--sp-3); flex-shrink: 0;
}

/* ── Right: Photo Frame ── */
.hero-pro__right { display: flex; justify-content: center; align-items: center; }

/* Extra padding creates the "canvas" that badges float in, outside the actual photo */
.hero-pro__photo-frame {
  position: relative;
  width: clamp(320px,34vw,430px);
  padding: 46px 52px 40px;  /* space for floating badges */
  box-sizing: border-box;
}

/* Rings sit relative to frame, behind photo */
.hero-pro__ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.10);
  animation: ringPulse 6s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
.hero-pro__ring--1 { inset: 10px; animation-delay: 0s; }
.hero-pro__ring--2 { inset: -8px; border-color: rgba(245,158,11,.10); animation-delay: 1.5s; }
@keyframes ringPulse { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:.9;transform:scale(1.015)} }

/* Photo itself sits in the padded area */
.hero-pro__photo-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 50px rgba(37,99,235,.18);
  animation: float-card 7s ease-in-out infinite;
  z-index: 1;
}
.hero-pro__photo-img {
  width: 100%; height: auto; display: block; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
}
.hero-pro__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,14,31,.97) 0%, rgba(5,14,31,.88) 30%, rgba(5,14,31,.55) 48%, rgba(5,14,31,.15) 62%, transparent 75%);
}

/* Name sits clearly above the tag strip — bottom:90px clears 2-row tags */
.hero-pro__photo-name {
  position: absolute; bottom: 90px; left: 0; right: 0;
  padding: 0 var(--sp-4); color: #fff; text-align: center; z-index: 2;
}
.hero-pro__photo-name strong { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 3px; }
.hero-pro__photo-name span   { font-size: .76rem; color: rgba(255,255,255,.75); }

/* ── Credential Tags ──
   Now INSIDE .hero-pro__photo-wrap — clipped by overflow:hidden, no overflow */
.hero-pro__tags {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; flex-wrap: wrap; gap: .4rem;
  justify-content: center;
  padding: .6rem .75rem .75rem;
  background: linear-gradient(to top, rgba(5,14,31,.9) 65%, transparent);
  z-index: 2;
}
.hero-pro__tag {
  background: rgba(13,148,136,.3); border: 1px solid rgba(13,148,136,.45); color: #5eead4;
  font-size: .7rem; font-weight: 700; padding: .25rem .65rem; border-radius: 50px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-pro__tag--gold { background: rgba(245,158,11,.25); border-color: rgba(245,158,11,.4); color: #fbbf24; }

/* ── Floating Badges — positioned in the padding area, NOT over the photo ── */
.hero-pro__float {
  position: absolute;
  background: rgba(15,30,60,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18); border-radius: 14px;
  padding: .55rem .9rem; display: flex; flex-direction: column; align-items: center; gap: 1px; white-space: nowrap;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Badge positions are within the PADDING zone — they never overlap the photo */
.hero-pro__float--tl { top: 2px;  left: 2px;  animation: float-badge 5s ease-in-out infinite; }
.hero-pro__float--tr { top: 2px;  right: 2px; animation: float-badge 5s ease-in-out infinite .8s; }
.hero-pro__float--bl { bottom: 8px; left: 2px; animation: float-badge 5s ease-in-out infinite 1.6s; }

.hero-pro__float-num   { font-family: var(--font-serif); font-size: 1.3rem; color: #fff; font-weight: 700; line-height: 1; }
.hero-pro__float-stars { color: #f59e0b; font-size: .9rem; letter-spacing: .08em; line-height: 1; }
.hero-pro__float-txt   { font-size: .68rem; color: rgba(255,255,255,.75); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-pro__container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-pro__subtitle  { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-pro__pills, .hero-pro__actions { justify-content: center; }
  .hero-pro__stats     { max-width: 560px; margin: 0 auto; }
  /* Photo stays in natural order (below text) so it requires a scroll to see on mobile */
  /* .hero-pro__right  { order: -1; }  ← removed intentionally */

  /* On tablet: photo takes more width, badges hidden, padding removed */
  .hero-pro__photo-frame {
    width: min(340px, 72vw);
    padding: 0;  /* remove badge padding — badges hidden below */
  }
  .hero-pro__float { display: none; }  /* badges off — too cramped */
  .hero-pro__ring  { display: none; }  /* rings off */
}

@media (max-width: 768px) {
  .hero-pro { padding: 4.5rem 0 5rem; min-height: unset; }
  .hero-pro__title    { font-size: clamp(1.8rem,7vw,2.6rem); }
  .hero-pro__subtitle { font-size: .95rem; }
  .hero-pro__btn      { padding: .75rem 1.4rem; font-size: .88rem; }
  .hero-pro__photo-frame { width: min(280px, 72vw); }
  .hero-pro__stat-num { font-size: 1.5rem; }
  .hero-pro__stat-divider { height: 32px; margin: 0 var(--sp-2); }
}
@media (max-width: 480px) {
  .hero-pro__actions { flex-direction: column; align-items: stretch; }
  .hero-pro__btn     { width: 100%; justify-content: center; }
  .hero-pro__pills   { flex-direction: column; align-items: center; }
  .hero-pro__stat    { min-width: 45%; }
  .hero-pro__stat-divider { display: none; }
  .hero-pro__photo-frame { width: min(260px, 78vw); padding: 0; }
}
