/* ================================================================
   NORA — pro-section.css
   Sección "Para profesionales": agencias, promotoras, testimonios
   Usa el mismo sistema de variables de index-home.css
   ================================================================ */

/* ── Hero: segmentos de audiencia ─────────────────────────── */
.hero-audience {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
  animation: heroRise 0.7s 0.04s var(--ease) both;
}
.hero-audience__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-audience__pill--active {
  border-color: var(--gold-border);
  color: var(--navy);
  background: var(--gold-soft);
}
.hero-audience__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-audience__sep {
  width: 1px;
  height: 14px;
  background: var(--line);
}

/* ── Sección pro: wrapper ─────────────────────────────────── */
.pro-section {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.pro-header {
  max-width: 700px;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* ── Franja oscura: lo que deja de pasar ─────────────────── */
.pro-stops {
  background: var(--navy);
  border-radius: 18px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  position: relative;
}
.pro-stops::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,48,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pro-stops__lead {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.pro-stops__eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.pro-stops__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.75rem;
}
.pro-stops__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pro-stop {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateX(-20px);
}
.pro-stop.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.pro-stop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.pro-stop p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}
.pro-stop strong {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-color: rgba(196,154,48,0.6);
}

/* ── Tabs: agencias / promotoras ──────────────────────────── */
.pro-tabs-wrap {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.pro-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 2.5rem;
}
.pro-tab-btn {
  position: relative;
  padding: 0.75rem 1.6rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.22s var(--ease);
  letter-spacing: -0.01em;
}
.pro-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s var(--ease);
}
.pro-tab-btn:hover { color: var(--navy); }
.pro-tab-btn.active {
  color: var(--navy);
}
.pro-tab-btn.active::after {
  transform: scaleX(1);
}
.pro-tab-content {
  display: none;
}
.pro-tab-content.active {
  display: block;
}

/* ── Pro cards ────────────────────────────────────────────── */
.pro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pro-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.3s var(--ease);
  opacity: 0;
  transform: translateY(18px);
}
.pro-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pro-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pro-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  flex-shrink: 0;
}
.pro-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.pro-card__body {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pro-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.22rem 0.6rem;
  border-radius: 4px;
  background: rgba(196,154,48,0.1);
  color: #8a6515;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: auto;
}

/* ── Stats ────────────────────────────────────────────────── */
.pro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 16px 16px;
}
.pro-stat {
  text-align: center;
  padding: 0.5rem;
  opacity: 0;
  transform: translateY(14px);
}
.pro-stat.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pro-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.pro-stat__label {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ── Pro CTA inline ───────────────────────────────────────── */
.pro-cta-inline {
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, var(--navy) 0%, #0e2f5d 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pro-cta-inline.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pro-cta-inline__text {
  flex: 1 1 280px;
}
.pro-cta-inline__eyebrow {
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.45rem;
}
.pro-cta-inline__title {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.pro-cta-inline__sub {
  margin: 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
}
.pro-cta-inline__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Testimonios: 3 cards ─────────────────────────────────── */
.testimonios-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--navy);
}
.testimonios-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testimonios-header .section-eyebrow {
  justify-content: center;
  color: var(--gold);
}
.testimonios-header .section-eyebrow::before {
  background: var(--gold);
}
.testimonios-header h2 {
  color: #fff;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonio-card {
  background: #fff;
  border: 1px solid rgba(0,39,78,0.10);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease),
              border-color 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.testimonio-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.testimonio-card:hover {
  background: #f4f7fb;
  border-color: rgba(0,39,78,0.18);
  box-shadow: 0 8px 28px -8px rgba(0,39,78,0.14);
}
.testimonio-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.testimonio-quote {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.testimonio-quote .qmark {
  color: var(--gold);
  font-size: 1.2em;
  font-style: normal;
}
.testimonio-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,39,78,0.08);
}
.testimonio-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #f0cb6a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}
.testimonio-name {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
}
.testimonio-role {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}
.testimonio-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: rgba(196,154,48,0.15);
  border: 1px solid rgba(196,154,48,0.25);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pro-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .pro-stops__grid { grid-template-columns: 1fr; }
  .pro-cards { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: 1fr; }
  .pro-cta-inline { flex-direction: column; }
}

@media (max-width: 640px) {
  .pro-stats { grid-template-columns: repeat(2, 1fr); }
  .pro-cards { grid-template-columns: 1fr; }
  .pro-tab-btn { font-size: 0.87rem; padding: 0.65rem 1.1rem; }
}

@media (max-width: 480px) {
  .pro-stats { grid-template-columns: 1fr 1fr; }
  .hero-audience { gap: 0.35rem; }
  .hero-audience__sep { display: none; }
}

/* ── Mobile extra ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  .pro-section { padding: 2.5rem 0 !important; }
  .pro-section__header { margin-bottom: 1.5rem; }
  .pro-section .section-title { font-size: 1.3rem !important; }
  .pro-stats { gap: .75rem; }
  .pro-stat__number { font-size: 2rem; }
  .pro-cards { gap: .75rem; }
  .pro-card { padding: 1.25rem 1rem; }
  .pro-card__title { font-size: .95rem; }
  .pro-tab-bar { flex-wrap: wrap; gap: .35rem; }
  .pro-tab-btn { font-size: .82rem; padding: .5rem .85rem; }
  .hero-audience__pill { font-size: .7rem; padding: .22rem .6rem; }
}

@media (max-width: 400px) {
  .pro-stats { grid-template-columns: 1fr; }
  .pro-stat { text-align: center; }
}
