/* =========================================================
   LEGACY TRADERS GROUP — Componentes reutilizables (tarjetas, formularios, planes, FAQ…)
   ========================================================= */
/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio-m); overflow: hidden; }
.pillars li { background: var(--tinta); padding: 1.8rem 1.6rem; }
.pillars svg { width: 30px; height: 30px; fill: none; stroke: var(--oro); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.pillars h3 { font-size: 1.15rem; }
.pillars p { color: var(--texto-suave); font-size: .95rem; margin: 0; }

/* ---------- Ruta ---------- */
.route { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: none; position: relative; }
.route::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: #D8D2C2; }
.route li { position: relative; }
.route__step { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0B0B0B; color: var(--oro); font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1.2rem; position: relative; }
.route p { color: #55524A; font-size: .97rem; }

/* ---------- Filtros y cursos ---------- */

/* ---------- Horario ---------- */
.schedule { background: var(--tinta-2); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 1.8rem; overflow-x: auto; }
.schedule h3 small { font-family: var(--sans); font-size: .8rem; color: var(--texto-suave); font-weight: 400; }
.schedule table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.schedule th { text-align: left; font-weight: 600; color: var(--texto-suave); font-size: .82rem; padding: .6rem .4rem; border-bottom: 1px solid var(--linea); }
.schedule td { padding: .85rem .4rem; border-bottom: 1px solid var(--linea); }
.schedule td:last-child { font-family: var(--serif); color: var(--oro-claro); font-size: 1.1rem; }
.schedule tr:last-child td { border-bottom: 0; }

/* ---------- Checks ---------- */
.checks { margin-top: 1.5rem; display: grid; gap: .7rem; }
.checks li { padding-left: 1.8rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--alza); border-bottom: 2px solid var(--alza); transform: rotate(-45deg); }

/* ---------- Calculadora y formularios ---------- */
.calc, .form { background: var(--tinta-2); border: 1px solid var(--linea); border-radius: var(--radio-m); padding: 2rem; display: grid; gap: 1.1rem; }
.calc h3 { margin-bottom: .2rem; }
label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--texto-suave); }
input, select, textarea {
  font: 400 1rem var(--sans); color: #fff; background: var(--tinta-3);
  border: 1px solid var(--linea); border-radius: var(--radio-s); padding: .75rem .9rem; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--oro); outline: none; box-shadow: 0 0 0 3px rgba(212,169,76,.22); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--baja); }
textarea { resize: vertical; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linea); border-radius: var(--radio-s); overflow: hidden; margin-top: .4rem; }
.calc__out div { background: var(--tinta-3); padding: 1rem; }
.calc__out span { display: block; font-size: .8rem; color: var(--texto-suave); }
.calc__out strong { font-family: var(--serif); font-size: 1.6rem; color: var(--oro-claro); font-weight: 600; }
.calc__note { font-size: .82rem; color: var(--texto-suave); margin: 0; }

.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form { position: relative; }
.err { color: #F09A94; font-size: .82rem; min-height: 1em; }
.err:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: .6rem; }
.consent input { width: auto; margin-top: .25rem; accent-color: var(--oro); }
.form__status { margin: 0; font-size: .92rem; }
.form__status.ok { color: #F1D38A; }
.form__status.bad { color: #F09A94; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Brokers ---------- */
.brokers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.brokers li { display: grid; place-items: center; min-height: 100px; border: 1px solid #E3DED1; border-radius: var(--radio-m); background: #fff; color: #77736A; font-weight: 600; padding: 1rem; }
.brokers img { max-height: 48px; width: auto; filter: grayscale(1); transition: filter .2s; }
.brokers li:hover img { filter: none; }

/* ---------- Planes ---------- */
.plans-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.plans-head .section__lead { margin-inline: auto; margin-bottom: 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: linear-gradient(180deg, #151515, #0B0B0B); border: 1px solid var(--linea);
  border-radius: var(--radio-m); padding: 2.6rem 2rem 2rem; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.plan:hover { border-color: rgba(212,169,76,.6); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.plan--featured {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #1E180B, #0D0B06) padding-box, var(--degradado-oro) border-box;
  box-shadow: 0 20px 50px rgba(212,169,76,.12);
}
.plan__tag {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap;
  background: var(--degradado-oro); color: #0B0B0B; font-size: .75rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px;
}
.plan:not(.plan--featured) .plan__tag { background: #0B0B0B; color: var(--oro-claro); border: 1px solid var(--oro); }
.plan__head { padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--linea); }
.plan__label { margin: 0; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave); }
.plan__head h3 { margin: .2rem 0 0; font-family: var(--marca); font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.plan__price {
  margin: 0; font-family: var(--marca); font-weight: 700; font-size: clamp(3.4rem, 5vw, 4.4rem); line-height: 1;
  background: var(--degradado-oro); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan__currency { font-size: .5em; vertical-align: .75em; margin-right: .05em; }
.plan__period { margin: .5rem 0 .2rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: #fff; }
.plan__permonth { margin: 0 0 1rem; color: var(--texto-suave); font-size: .9rem; }
.plan__save { align-self: center; margin: 0 0 1.2rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(212,169,76,.12); border: 1px solid rgba(212,169,76,.35); color: var(--oro-claro); font-weight: 700; font-size: .85rem; }
.plan__save span { font-weight: 500; color: var(--texto-suave); }
.plan__save--muted { background: transparent; border-color: var(--linea); color: var(--texto-suave); font-weight: 500; }
.plan__summary { color: var(--texto-suave); font-size: .95rem; margin-bottom: 1.4rem; }
.plan__list { display: grid; gap: .65rem; margin: 0 0 1.8rem; text-align: left; flex: 1; }
.plan__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--texto); }
.plan__list svg, .includes svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; }
.plan__list svg circle, .includes svg circle { fill: var(--oro); }
.plan__list svg path, .includes svg path { fill: none; stroke: #0B0B0B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan__more { color: var(--oro-claro) !important; font-weight: 600; padding-left: 1.85rem; }
.plan .btn { width: 100%; text-transform: uppercase; letter-spacing: .06em; }
.plan__cta { display: grid; gap: .6rem; }
.plan__or { margin: 0; font-size: .82rem; color: var(--texto-suave); }
.plan__or a { color: var(--oro-claro); font-weight: 600; }

.includes { margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 2.8rem); border: 1px solid var(--linea); border-radius: var(--radio-m); background: var(--tinta-3); }
.includes h3 { text-align: center; margin-bottom: 2rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.includes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2rem; }
.includes__grid li { display: flex; gap: .8rem; align-items: flex-start; }
.includes__grid strong { display: block; color: #fff; font-weight: 600; }
.includes__grid span { display: block; color: var(--texto-suave); font-size: .88rem; }
.plans-note { text-align: center; color: var(--texto-suave); font-size: .82rem; margin: 1.5rem 0 0; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.quotes figure { margin: 0; border-top: 1px solid var(--oro); padding-top: 1.5rem; }
.quotes blockquote { margin: 0 0 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: #fff; }
.quotes figcaption { font-weight: 600; font-size: .95rem; }
.quotes figcaption span { display: block; font-weight: 400; color: var(--texto-suave); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.6rem; color: var(--oro); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--texto-suave); padding-bottom: 1.3rem; margin: 0; max-width: 65ch; }

/* ---------- Únete ---------- */
.join { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--degradado-oro); color: #0B0B0B; text-align: center; }
.join h2 { color: #0B0B0B; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.join p { font-size: 1.15rem; }
.join__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.join .btn--gold { background: #0B0B0B; color: var(--oro-claro); box-shadow: none; }
.join .btn--gold:hover { background: #1c1c1c; color: #fff; }
.join .btn--ghost { border-color: rgba(11,11,11,.45); color: #0B0B0B; }
.join .btn--ghost:hover { border-color: #0B0B0B; background: rgba(11,11,11,.08); color: #0B0B0B; }

/* ---------- Etiquetas de temas (tarjetas de mentor) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.tags li { font-size: .8rem; border: 1px solid var(--linea); padding: .2rem .6rem; border-radius: var(--radio-s); color: var(--texto-suave); }

.contact-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.contact-list strong { display: block; font-size: .82rem; color: var(--texto-suave); font-weight: 500; }


/* ---------- Llamados a WhatsApp dentro de cada sección ---------- */
.section__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 2rem; }
.section__cta p { margin: 0; color: var(--texto-suave); }
.section--light .section__cta p { color: #55524A; }
.section--light .btn--ghost { color: #141414; border-color: #CFC8B6; }
.section--light .btn--ghost:hover { border-color: var(--oro-oscuro); color: #000; }
.btn--wa::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.6.8-.8 1-.3.2-.5 0a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm4.5 12.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.6.8-.8 1-.3.2-.5 0a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Manifiesto (imagen + frase de la comunidad) ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.manifesto img { width: 100%; height: auto; border-radius: var(--radio-m); border: 1px solid var(--linea); }
.manifesto blockquote { margin: 0 0 1.5rem; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.3; color: #fff; position: relative; padding-top: 3rem; }
.manifesto blockquote::before { content: "\201C"; position: absolute; top: -1rem; left: -.2rem; font-size: 6rem; line-height: 1; background: var(--degradado-oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto cite { display: block; font-style: normal; color: var(--oro); font-weight: 600; margin-bottom: 2rem; }

/* ---------- Redes sociales ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--linea); border-radius: 999px; color: var(--texto); text-decoration: none; font-size: .9rem; font-weight: 600; }
.social-links a:hover { border-color: var(--oro); color: var(--oro-claro); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.join .social-links { justify-content: center; }
.join .social-links a { border-color: rgba(11,11,11,.35); color: #0B0B0B; }
.join .social-links a:hover { background: #0B0B0B; color: var(--oro-claro); border-color: #0B0B0B; }
.join__follow { margin: 1.8rem 0 .8rem; font-weight: 600; }
.contact-title { margin-top: 2rem; font-size: 1.1rem; }
.calc .btn { width: 100%; white-space: normal; text-align: center; }

/* ---------- Pasos de la mentoría (secuencia real) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: paso; margin-top: 2.5rem; }
.steps li { counter-increment: paso; position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radio-m); background: #fff; border: 1px solid #E3DED1; }
.steps li::before { content: counter(paso, decimal-leading-zero); display: block; font-family: var(--marca); font-size: 1.9rem; line-height: 1; margin-bottom: .8rem; background: var(--degradado-oro); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: #55524A; margin: 0; font-size: .95rem; }

/* ---------- Equipo resumido (Sobre nosotros) ---------- */
.team-strip { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.team-strip p { color: var(--texto-suave); max-width: 46ch; }
.avatars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.avatars li { text-align: center; }
.avatars img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radio-m); border: 1px solid var(--linea); background: #000; }
.avatars span { display: block; margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--oro-claro); }

/* ---------- Resultados ---------- */
.stats dd.no-plus::before { content: ""; }
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.result { margin: 0; border: 1px solid var(--linea); border-radius: var(--radio-m); overflow: hidden; background: var(--tinta-2); }
.result img { width: 100%; height: auto; display: block; }
.result figcaption { padding: 1rem 1.2rem; display: grid; gap: .2rem; }
.result span { color: var(--oro-claro); font-weight: 600; }
.result em { color: var(--texto-suave); font-style: normal; font-size: .85rem; }
.results-social { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.4rem); border: 1px solid var(--linea); border-radius: var(--radio-m); background: var(--tinta-2); }
.results-social p { color: var(--texto-suave); margin: 0; }

/* ---------- Accesos rápidos (Contacto) ---------- */
.quick-links { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem 4rem; align-items: center; }
.quick-links h2 { margin: 0; }
.quick-links ul { display: grid; gap: .8rem; }
.quick-links a { display: grid; gap: .15rem; padding: 1.1rem 1.3rem; background: #fff; border: 1px solid #E3DED1; border-radius: var(--radio-m); text-decoration: none; color: #141414; transition: border-color .2s, transform .2s; }
.quick-links a:hover { border-color: var(--oro); transform: translateX(4px); color: #000; }
.quick-links strong::after { content: " →"; color: var(--oro-oscuro); }
.quick-links span { color: #55524A; font-size: .9rem; }

/* ---------- Broker oficial ---------- */
.partner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid #E3DED1; border-radius: var(--radio-m); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.partner__brand { text-align: center; }
.partner__brand img { width: 100%; max-width: 240px; height: auto; margin-inline: auto; border-radius: 22%; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.partner__badge { display: inline-block; margin: 1rem 0 0; padding: .35rem .9rem; border-radius: 999px; background: #0B0B0B; color: var(--oro-claro); font-size: .78rem; font-weight: 700; }
.partner__body h3 { color: #141414; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.partner__list { display: grid; gap: 1rem; margin: 1.2rem 0 1.8rem; }
.partner__list li { display: flex; gap: .8rem; align-items: flex-start; }
.partner__list strong { display: block; color: #141414; }
.partner__list span { color: #55524A; font-size: .93rem; }
.partner__list svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.partner__list svg circle { fill: var(--oro); }
.partner__list svg path { fill: none; stroke: #0B0B0B; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.partner__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.partner__steps-title { margin-top: 3rem; color: #141414; font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
.partner__steps-title + .steps { margin-top: 1.2rem; }
.partner__note { color: #6B675D; text-align: left; margin-top: 1.5rem; }

/* Franja del broker en Inicio */
.broker-strip { background: var(--tinta-2); border-bottom: 1px solid var(--linea); padding: 1.4rem 0; }
.broker-strip__inner { display: flex; align-items: center; gap: 1.2rem 1.6rem; }
.broker-strip img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.broker-strip p { margin: 0; flex: 1; color: var(--texto-suave); }
.broker-strip .eyebrow { display: block; margin-bottom: .15rem; }
.broker-strip strong { color: #fff; }
