/* assets/css/asesorias.css */

:root{
  --blanco:#ffffff;
  --azul:#0B2545;
  --rojo:#B5121B;
  --amarillo:#FFC800;

  --bg:#F9FAFB;
  --softgray:#F3F4F6;
  --softblue:#E0F2F7;

  --texto:#0f172a;
  --muted:#64748b;

  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow2: 0 22px 55px rgba(15,23,42,.14);
}

/* ✅ Fondo claro tipo mockup */
.agendar-hero{
  position: relative;
  min-height: 100vh;
  padding: 2.8rem 1rem 3.2rem;
  background: var(--bg);
  overflow: hidden;
  color: var(--texto);
}

.agendar-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}

/* blobs sutiles */
.blob{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(22px);
  opacity: .35;
  animation: floaty 12s ease-in-out infinite;
}
.blob-1{
  left: -220px;
  top: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(255,200,0,.55), rgba(255,200,0,0));
}
.blob-2{
  right: -240px;
  bottom: -200px;
  background: radial-gradient(circle at 30% 30%, rgba(181,18,27,.35), rgba(181,18,27,0));
  animation-duration: 14s;
}

.grid-overlay{
  position:absolute;
  inset:0;
  opacity:.22;
  background-image:
    linear-gradient(rgba(2,6,23,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,6,23,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 28%, black 26%, transparent 70%);
}

@keyframes floaty{
  0%,100%{ transform: translateY(0) translateX(0) scale(1); }
  50%{ transform: translateY(16px) translateX(10px) scale(1.02); }
}

.agendar-container{
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.agendar-top{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.2rem;
}

.pill{
  display:inline-block;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--softblue);
  color: var(--azul);
  font-weight: 900;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.agendar-title{
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  color: #0b1220;
  font-weight: 1000;
  letter-spacing: -0.02em;
}
.agendar-title span{ color: var(--azul); }

.agendar-subtitle{
  margin: 0 auto 1.35rem;
  max-width: 720px;
  color: #334155;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 1.65;
  font-weight: 600;
}

.agendar-actions{
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin: 1.3rem 0 .7rem;
}

/* ✅ CTA SOLO TEXTO */
.wa-button{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  background:#25D366 !important;
  color:#fff !important;
  padding: 1.05rem 1.4rem !important;
  border-radius: 999px !important;
  font-size: 1.18rem !important;
  font-weight: 950 !important;
  text-decoration:none !important;
  border:none !important;
  outline:none !important;
  box-shadow: 0 20px 45px rgba(37,211,102,.22) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  min-width: min(520px, 92vw);
}
.wa-button:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 26px 55px rgba(37,211,102,.28) !important;
  filter: brightness(0.98);
}

/* ✅ Subtítulo fuera del botón */
.cta-subtitle{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: .98rem;
}

.ghost-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .85rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  color: #0f172a;
  background: rgba(255,255,255,.75);
  text-decoration:none;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.ghost-button:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.95);
  border-color: rgba(15,23,42,.18);
}

.trust-note{
  margin: .9rem 0 0;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color: var(--muted);
  font-weight: 800;
  font-size: .92rem;
}
.trust-note .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amarillo);
  box-shadow: 0 0 0 6px rgba(255,200,0,.25);
}

/* SECCIONES */
.section-title{
  margin: 0;
  color: #0b1220;
  font-size: 1.7rem;
  font-weight: 1000;
  letter-spacing: -.01em;
}
.section-subtitle{
  margin: .55rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 700;
}

/* PASOS */
.steps-wrap{
  margin: 2.2rem auto 0;
  max-width: 980px;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow);
}

.steps-grid{
  margin-top: 1.35rem;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.step-card{
  text-align:center;
  padding: 1.25rem 1.2rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.step-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,.12);
}

.step-icon{
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  margin: 0 auto .75rem;
  font-weight: 1000;
}
.icon-soft-blue{ background: rgba(224,242,247,.95); color: var(--azul); }
.icon-soft-yellow{ background: rgba(255,204,0,.22); color: #0b1220; }
.icon-soft-red{ background: rgba(181,18,27,.10); color: var(--rojo); }

.step-card h3{
  margin: 0 0 .35rem;
  color: #0b1220;
  font-weight: 1000;
  font-size: 1.05rem;
}
.step-card p{
  margin: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.55;
  font-size: .95rem;
}

/* ✅ FAQ */
.faq-wrap{
  margin: 1.6rem auto 0;
  max-width: 980px;
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow);
}

.faq-list{
  margin-top: 1.15rem;
  display: grid;
  gap: .85rem;
  text-align: left;
}

.faq-item{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.pregunta{
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 1.05rem 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  color: #0b1220;
  font-weight: 950;
  font-size: 1.02rem;
  text-align: left;
}

.pregunta:hover{
  background: rgba(15,23,42,.03);
}

.faq-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: var(--azul);
  background: var(--softblue);
  flex: 0 0 auto;
  transition: transform .18s ease;
}

.pregunta.abierta .faq-icon{
  transform: rotate(45deg);
}

.respuesta{
  display: none;
  padding: 0 1.1rem 1.05rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
  font-size: .98rem;
}

/* DESTACADOS */
.highlight-grid{
  margin: 1.6rem auto 0;
  max-width: 980px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}

.highlight{
  border-radius: 26px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow2);
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
}

.highlight-primary{
  background: #003A55;
  color: #fff;
  border: none;
  position: relative;
  overflow:hidden;
}
.highlight-primary::after{
  content:"";
  position:absolute;
  inset:auto -70px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255,200,0,.12);
}

.highlight-top{
  display:flex;
  align-items: baseline;
  gap: .8rem;
  margin-bottom: .35rem;
}
.big-number{
  font-size: 2.6rem;
  font-weight: 1000;
  color: var(--amarillo);
  letter-spacing: -.03em;
}
.big-caption{
  color: rgba(255,255,255,.85);
  font-weight: 900;
}
.highlight-text{
  margin: .4rem 0 0;
  color: rgba(255,255,255,.86);
  font-weight: 650;
  line-height: 1.6;
}

.stars{
  color: #f59e0b;
  font-weight: 1000;
  letter-spacing: .12em;
  margin-bottom: .7rem;
}
.quote{
  margin: 0 0 1.1rem;
  color: #334155;
  font-weight: 700;
  line-height: 1.65;
  font-style: italic;
}
.author{
  display:flex;
  align-items:center;
  gap: .85rem;
}
.avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e2e8f0;
  display:grid;
  place-items:center;
  font-weight: 1000;
  color: #0f172a;
}
.author strong{ display:block; font-weight: 1000; }
.author small{ display:block; color: var(--muted); font-weight: 800; }

/* ✅ Testimonial carousel */
.testimonial-carousel{
  position: relative;
}

.testimonial-viewport{
  position: relative;
  min-height: 210px;
}

.testimonial-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.testimonial-slide.is-active{
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-dots{
  margin-top: .9rem;
  display: flex;
  gap: .5rem;
  justify-content: center;
}
.testimonial-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(15,23,42,.16);
  transition: transform .15s ease, background .15s ease;
}
.testimonial-dots .dot:hover{
  transform: scale(1.12);
}
.testimonial-dots .dot.is-active{
  background: rgba(11,37,69,.85);
}

/* FRASE FINAL */
.final-cta{
  margin: 1.6rem auto 0;
  max-width: 980px;
}
.final-card{
  background: var(--softgray);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 24px;
  padding: 1.25rem 1.2rem;
  text-align:center;
}
.final-quote{
  margin: 0;
  color: #0b1220;
  font-weight: 1000;
  font-size: 1.05rem;
}
.final-sub{
  margin: .45rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.final-actions{
  margin-top: 1rem;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: .7rem;
}

/* Botón flotante */
.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display:grid;
  place-items:center;
  text-decoration:none;
  box-shadow: 0 18px 40px rgba(15,23,42,.22);
  z-index: 9999;
  transition: transform .18s ease;
}
.wa-float:hover{ transform: scale(1.07); }
.wa-float span{ font-size: 1.35rem; }

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px){
  .steps-grid{ grid-template-columns: 1fr; }
  .highlight-grid{ grid-template-columns: 1fr; }
  .testimonial-viewport{ min-height: 230px; }
}

@media (max-width: 640px){
  .agendar-hero{ padding: 2.2rem 1rem 3rem; }
  .steps-wrap{ padding: 1.6rem 1rem; }
  .wa-button{
    min-width: min(520px, 94vw);
    font-size: 1.05rem !important;
    padding: 1rem 1.2rem !important;
  }
}
