/* Componentes reutilizables: botones, tarjetas, badges, chips, formulario, toast */

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon--lg {
  width: 1.75rem;
  height: 1.75rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--accent {
  background: hsl(var(--accent));
  color: hsl(var(--white));
}

/* Únete: solo atenúa el fondo en hover, sin elevar ni brillar */
.btn--accent-dim:hover {
  background: hsl(var(--accent) / 0.9);
}

/* Conoce el proyecto / Enviar mi interés: se elevan y brillan, sin atenuar el fondo */
.btn--accent-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(var(--accent) / 0.3);
}

.btn--ghost {
  background: transparent;
  border: 1px solid hsl(var(--border) / 0.4);
  color: hsl(var(--foreground));
}

.btn--ghost:hover {
  border-color: hsl(var(--accent) / 0.5);
  color: hsl(var(--accent));
}

.btn--sm {
  padding: 0.5rem 1.25rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--accent));
  transition: gap 0.3s ease;
}

.link-arrow:hover {
  gap: 0.75rem;
}

/* ---------- Badge (hero) ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--foreground) / 0.1);
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.badge__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--accent));
}

.quote {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.7);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 4.5rem;
  line-height: 0.85;
  margin-bottom: 1.5rem;
}

@media (min-width: 40rem) {
  .hero__title {
    font-size: 6rem;
  }
}

@media (min-width: 64rem) {
  .hero__title {
    font-size: 8rem;
  }
}

.hero__text {
  color: hsl(var(--foreground) / 0.7);
  font-size: 1.125rem;
  line-height: 1.625;
  max-width: 32rem;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Stats ---------- */
.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: 0.02em;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 64rem) {
  .stat__value {
    font-size: 3.75rem;
  }
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.5);
}

/* ---------- Tarjeta de cita (misión) ---------- */
.mision__quote-card {
  background: hsl(var(--secondary) / 0.3);
  border: 1px solid hsl(var(--border) / 0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.mision__quote-card blockquote {
  font-family: var(--font-elegant);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.mision__quote-author {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.5);
}

/* ---------- Tarjetas de pilares ---------- */
.pilar-card {
  position: relative;
  background: hsl(var(--secondary) / 0.3);
  border: 1px solid hsl(var(--border) / 0.2);
  border-top: 2px solid transparent;
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.5s ease;
}

.pilar-card:hover {
  transform: translateY(-4px);
  background: hsl(var(--secondary) / 0.5);
  border-top-color: hsl(var(--accent));
}

.pilar-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: 0.02em;
  font-size: 3.5rem;
  color: hsl(var(--foreground) / 0.03);
  user-select: none;
}

.pilar-card .icon {
  color: hsl(var(--foreground) / 0.7);
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.pilar-card:hover .icon {
  color: hsl(var(--accent));
}

.pilar-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pilar-card p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
}

.pilar-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
}

.pilar-card__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
}

.pilar-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--accent));
}

/* ---------- Pasos del proceso ---------- */
.proceso-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border: 1px solid hsl(var(--border) / 0.3);
  border-radius: 50%;
  background: hsl(var(--brand-deep));
  font-family: var(--font-display);
  font-weight: 350;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.5s ease;
}

.proceso-step:hover .proceso-step__num {
  box-shadow: 0 0 24px hsl(var(--brand) / 0.35);
}

.proceso-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.proceso-step p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
  max-width: 14rem;
  margin: 0 auto;
}

/* ---------- Tarjetas de impacto ---------- */
.impacto-card {
  background: hsl(var(--brand-deep));
  padding: 1.75rem;
  transition: background 0.5s ease;
}

.impacto-card:hover {
  background: hsl(var(--secondary) / 0.3);
}

.impacto-card .icon {
  color: hsl(var(--foreground) / 0.6);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.impacto-card:hover .icon {
  color: hsl(var(--accent));
}

.tag {
  display: inline-block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.4);
  border: 1px solid hsl(var(--foreground) / 0.15);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-bottom: 1rem;
}

.impacto-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.impacto-card p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
}

/* ---------- Lista de resultados de impacto ---------- */
.impacto__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.2);
}

.impacto__item:first-child {
  padding-top: 0;
}

.impacto__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.impacto__item strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.35rem;
}

.impacto__item p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
  margin: 0;
}

.impacto__item small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.4);
}

/* ---------- Video con overlay de sonido ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: hsl(var(--brand-deep));
  border-radius: var(--radius);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__mute {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: hsl(var(--brand-deep) / 0.85);
  border: 1px solid hsl(var(--foreground) / 0.2);
  color: hsl(var(--white));
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.video-frame:hover .video-frame__mute,
.video-frame__mute:hover,
.video-frame__mute:focus-visible {
  opacity: 1;
}

.video-frame__mute:hover {
  border-color: hsl(var(--accent) / 0.5);
  color: hsl(var(--accent));
}

.video-frame__mute [data-video-mute-label] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.video-frame__mute .icon--muted {
  display: inline-flex;
}

.video-frame__mute .icon--unmuted {
  display: none;
}

.video-frame__mute[data-muted="false"] .icon--muted {
  display: none;
}

.video-frame__mute[data-muted="false"] .icon--unmuted {
  display: inline-flex;
}

/* ---------- Chips (banner de frases) ---------- */
.chip {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  border: 1px solid hsl(var(--foreground) / 0.15);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  transition: all 0.3s ease;
  cursor: default;
}

.chip:hover {
  background: hsl(var(--accent) / 0.1);
  border-color: hsl(var(--accent) / 0.3);
  color: hsl(var(--foreground));
}

/* ---------- Tarjetas de involúcrate ---------- */
.involucrate-card {
  position: relative;
  background: hsl(var(--secondary) / 0.2);
  border: 1px solid hsl(var(--border) / 0.2);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: all 0.5s ease;
}

.involucrate-card:hover {
  border-color: hsl(var(--accent) / 0.3);
  background: hsl(var(--secondary) / 0.3);
}

.involucrate-card .icon:first-child {
  color: hsl(var(--foreground) / 0.6);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.involucrate-card:hover .icon:first-child {
  color: hsl(var(--accent));
}

.involucrate-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.involucrate-card p {
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.55);
  line-height: 1.6;
  max-width: 90%;
}

.involucrate-card__arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: hsl(var(--foreground) / 0.2);
  transition: all 0.3s ease;
}

.involucrate-card:hover .involucrate-card__arrow {
  color: hsl(var(--accent));
  transform: translate(0.125rem, -0.125rem);
}

/* ---------- Footer ---------- */
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-weight: 350;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--brand));
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-brand p {
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: hsl(var(--foreground) / 0.6);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: var(--radius);
  color: hsl(var(--foreground) / 0.4);
  transition: all 0.3s ease;
}

.social-links a .icon {
  width: 1rem;
  height: 1rem;
}

.social-links a:hover {
  color: hsl(var(--accent));
  border-color: hsl(var(--accent) / 0.4);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.4);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a,
.footer-col__plain {
  font-size: 0.9rem;
  color: hsl(var(--foreground) / 0.6);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: hsl(var(--foreground));
}

.site-footer__bottom-inner p {
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.3);
}

.site-footer__bottom-inner a {
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.3);
  transition: color 0.3s ease;
}

.site-footer__bottom-inner a:hover {
  color: hsl(var(--foreground) / 0.5);
}

